:root{color-scheme:light dark;--human-bg:#f2f6f4;--human-panel:#fff;--human-subtle:#e8efec;--human-text:#182c26;--human-muted:#4b6259;--human-line:#b9c9c2;--human-accent:#176c51;--human-active:#d4eee2;--human-warning:#75552a;--human-fail:#923c2c;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--panel:var(--human-panel);--line:var(--human-line);--accent:var(--human-accent);--light:var(--human-text);--muted:var(--human-muted)}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--human-bg:#0b1419;--human-panel:#142129;--human-subtle:#1b2d35;--human-text:#e7f0ed;--human-muted:#afc3bb;--human-line:#40564e;--human-accent:#91e7c4;--human-active:#244c3e;--human-warning:#e0ca9f;--human-fail:#ffb5a5}}
:root[data-theme=dark]{color-scheme:dark;--human-bg:#0b1419;--human-panel:#142129;--human-subtle:#1b2d35;--human-text:#e7f0ed;--human-muted:#afc3bb;--human-line:#40564e;--human-accent:#91e7c4;--human-active:#244c3e;--human-warning:#e0ca9f;--human-fail:#ffb5a5}
:root[data-theme=light]{color-scheme:light}
html[data-human-route],html[data-human-route] body{background:var(--human-bg);color:var(--human-text)}
.human-header,.human-header *{box-sizing:border-box}
.human-header{display:flex;flex-wrap:wrap;align-items:center;gap:.8rem 1.7rem;max-width:1440px;min-height:80px;margin:auto;padding:.8rem clamp(1rem,4vw,3rem);border:0;border-bottom:1px solid var(--human-line);background:var(--human-bg);color:var(--human-text)}
.human-brand{font-size:1.2rem;font-weight:700;letter-spacing:-.025em;text-decoration:none;color:var(--human-text)}
.human-header .human-nav{display:flex;align-items:center;flex-wrap:wrap;gap:.2rem .55rem;margin:0 auto 0 0}
.human-nav a{display:inline-flex;align-items:center;min-height:44px;padding:.4rem .65rem;border:1px solid transparent;border-radius:.45rem;text-decoration:none;color:var(--human-muted);font-size:.9rem;font-weight:500;white-space:nowrap}
.human-nav a:hover{background:var(--human-subtle);color:var(--human-text)}
.human-nav a[aria-current=page]{background:var(--human-active);border-color:var(--human-accent);color:var(--human-text);font-weight:650}
.human-header .human-theme{display:flex;align-items:center;gap:.4rem;margin:0;font-size:.8rem;color:var(--human-muted)}
.human-theme select{width:auto;min-height:44px;margin:0;padding:.4rem .6rem;font:inherit;color:var(--human-text);background:var(--human-panel);border:1px solid var(--human-line);border-radius:.45rem;appearance:auto;background-image:none}
.human-header :focus-visible,.human-skip:focus-visible{outline:3px solid var(--human-accent);outline-offset:3px}
.human-skip{position:fixed;top:-6rem;left:1rem;z-index:20;padding:.7rem 1rem;background:var(--human-active);color:var(--human-text)}.human-skip:focus{top:.75rem}
html[data-human-route] main{max-width:1440px;margin:auto;padding-inline:clamp(1rem,4vw,3rem)}
html[data-human-route] a{color:var(--human-accent)}
html[data-human-route] .human-brand,html[data-human-route] .human-nav a[aria-current=page]{color:var(--human-text)}
html[data-human-route] button,html[data-human-route] input,html[data-human-route] select{color:var(--human-text);background-color:var(--human-panel);border-color:var(--human-line)}
html[data-human-route] button:hover{background:var(--human-subtle);border-color:var(--human-accent)}
html[data-human-route] button[aria-pressed=true],html[data-human-route] button.primary{color:var(--human-text);background:var(--human-active);border-color:var(--human-accent)}
html[data-human-route] :is(button,input,select,a,summary,canvas):focus-visible{outline:3px solid var(--human-accent);outline-offset:3px}
html[data-human-route=anatomy] .controls,html[data-human-route=morph] #controls{background:var(--human-panel);border:1px solid var(--human-line);border-radius:.8rem;padding:1rem}
html[data-human-route=anatomy] .notice{background:var(--human-subtle);border-color:var(--human-warning)}
html[data-human-route=anatomy] .muted,html[data-human-route=morph] .human-description{color:var(--human-muted)}
html[data-human-route=anatomy] h1,html[data-human-route=morph] h1{font-size:clamp(2rem,4.5vw,3.3rem);letter-spacing:-.04em;line-height:1.15;margin:1.6rem 0 .7rem}
html[data-human-route=morph] main{padding-top:.1rem;padding-bottom:2rem;line-height:1.5}
html[data-human-route=morph] main>p{max-width:80ch}
html[data-human-route=morph] #controls button{border:1px solid var(--human-line);border-radius:.5rem;padding:.55rem .8rem;min-height:44px}
html[data-human-route=morph] #controls label{font-size:.9rem;margin:.8rem 0 .3rem}
html[data-human-route=morph] #controls select,html[data-human-route=morph] #controls input[type=file]{border:1px solid var(--human-line);border-radius:.45rem;padding:.45rem;min-height:44px}
html[data-human-route=morph] #controls input[type=range]{accent-color:var(--human-accent)}
html[data-human-route=morph] #status{font-size:.88rem;color:var(--human-muted);min-height:2rem}
html[data-human-route=motion] :is(.clip-panel,.filters,.card,.clip-list){background:var(--human-panel)}
html[data-human-route=motion] :is(.clip-list button:hover,.clip-list button[aria-pressed=true]){background:var(--human-active);color:var(--human-text)}
html[data-human-route=motion] :is(label,.lede,.badge,.clip-meta,summary,.provenance dt,.measurements dt,footer .brand){color:var(--human-muted)}
html[data-human-route=motion] :is(.qualifications span,.study-limit,.contact-note){color:var(--human-warning)}
html[data-human-route=motion] :is(.qualifications .fail,.study-limit.fail,.contact-note.fail,.status[data-state=error]){color:var(--human-fail)}
html[data-human-route=motion] .qualifications .pass{color:var(--human-accent)}
.frame-note{border-left:3px solid var(--human-accent);padding:.45rem .65rem;margin:.5rem 0;font-size:.85rem;color:var(--human-muted)}
@media(max-width:700px){.human-header{gap:.4rem .7rem;padding:.6rem 1rem}.human-brand{font-size:1.05rem}.human-header .human-theme{margin-left:auto}.human-header .human-nav{order:3;flex:1 1 100%;gap:.25rem;margin:0}.human-nav a{flex:1;justify-content:center;padding:.3rem .35rem;font-size:.83rem}.human-header .human-theme select{min-height:40px}.human-header .human-nav a{min-height:44px}html[data-human-route] main{padding-inline:1rem}}
@media(max-height:550px) and (min-width:741px){.human-header{min-height:56px;padding:.25rem .75rem;gap:.5rem}.human-nav a{min-height:40px}html[data-human-route=anatomy] h1{margin:.3rem 0;font-size:1.4rem}}
@media(prefers-reduced-motion:reduce){html[data-human-route] *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* R263 size-class defaults for the source-preserving human demo shell. */
@media(min-width:1500px){
 .human-header{max-width:none;min-height:64px;padding-inline:clamp(1rem,1.8vw,3rem)}
 html[data-human-route=morph] main,html[data-human-route=anatomy] main{max-width:none;padding-inline:clamp(1rem,1.8vw,3rem)}
 html[data-human-route=morph] h1,html[data-human-route=anatomy] h1{margin:.65rem 0 .4rem}
}
@media(max-width:500px){html[data-human-route=morph] main{padding-inline:.8rem}html[data-human-route=morph] #controls{min-width:0}}
@media(hover:none) and (pointer:coarse){html[data-human-route=morph] #controls :is(button,select,input[type=file]){min-height:44px}}
