/* Isolated Human Mode stage UI; reuses existing panel/button styling. */
.c7-human-stage{border:1px solid rgba(110,231,247,.26);border-radius:16px;padding:18px;background:rgba(11,26,48,.6)}
.c7-human-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.c7-human-grid label{display:flex;flex-direction:column;gap:6px}
.c7-human-stage textarea{width:100%;min-height:115px}
.c7-human-stage .c7-human-output{min-height:245px;white-space:pre-wrap}
.c7-human-panel{margin-top:16px;border-top:1px solid rgba(110,231,247,.2);padding-top:16px}
.c7-human-panel[hidden]{display:none}
.c7-human-intro{font-size:.9rem;color:var(--muted);line-height:1.5}
.c7-human-grid input,.c7-human-grid select{width:100%}
@media(max-width:650px){.c7-human-grid{grid-template-columns:1fr}.c7-human-stage{padding:12px}}

/* Agenda controls stay in document flow beneath inputs, with room for navigation. */
#view-human{padding-bottom:calc(110px + env(safe-area-inset-bottom));min-width:0}
#view-human .page-head{padding-top:18px;align-items:flex-start}
#view-human .page-head h1{font-size:clamp(1.65rem,5vw,2.5rem);line-height:1.15;margin:8px 0}
#view-human .page-head p{margin:8px 0;line-height:1.5}
#view-human .c7-human-stage{padding:clamp(12px,3vw,22px)}
#view-human .c7-human-stage [hidden]{display:none!important}
#view-human label{line-height:1.5;margin-top:12px;overflow-wrap:anywhere}
#view-human input,#view-human select,#view-human textarea{font-size:1rem;max-width:100%;min-width:0;scroll-margin-block:110px 140px}
#view-human select{appearance:auto;min-height:46px;color:var(--text);background:#102039;border:1px solid #60748c;border-radius:12px;padding:10px;color-scheme:dark}
#view-human option{background:#102039;color:#f6f8fc}
#view-human textarea{min-height:84px;resize:vertical;line-height:1.5}
#view-human .c7-human-output{min-height:280px}
#view-human .action-row{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}
#view-human .btn{min-height:46px;white-space:normal;overflow-wrap:anywhere;line-height:1.4;max-width:100%}
#view-human .micro{font-size:.82rem;line-height:1.55}
#view-human .c7-help{margin:14px 0;padding:12px;border:1px solid var(--line);border-radius:12px}
#view-human summary{cursor:pointer;min-height:36px;line-height:1.5}
#view-human :focus-visible{outline:3px solid #a8d8ff;outline-offset:3px}
html{scroll-padding-block:100px 140px}
@media(max-width:650px){
 #view-human .action-row>.btn{flex:1 1 150px}
 #view-human .page-head{gap:10px}
 body:has(#view-human.active) .topbar{position:relative}
 body:has(#view-human.active) .bottom-nav{position:relative;left:auto;bottom:auto;transform:none;margin:16px auto;width:100%;flex-wrap:wrap}
 #view-human{padding-bottom:24px}
}
@media(prefers-reduced-motion:reduce){#view-human{animation:none}}
