/* Review fixes: task-first hierarchy, visible disclosure, keyboard panels. */
.brand-logo{display:block;width:64px;height:64px;max-width:100%;object-fit:contain}
.profile-identity{display:flex;align-items:center;justify-content:flex-start;min-height:44px;flex:0 0 64px;min-width:64px}
.profile-identity .brand-logo{width:64px;height:64px}
.topbar .icon-btn{flex-shrink:0;width:44px;height:44px}
.profile-top .level-pill{flex-shrink:0;padding-inline:6px}
.profile-top .streak-pill{flex-shrink:0;min-width:44px;min-height:44px}
@media(max-width:760px){.profile-identity{flex-basis:56px;min-width:56px}.profile-identity .brand-logo{width:56px;height:56px}}
@media(max-width:360px){.profile-top{gap:4px;padding-inline:0}}
.anatomy-human .body-base{fill:var(--body-light);stroke:var(--body-edge);stroke-width:.45;pointer-events:none}
.anatomy-human .anatomy-neutral{fill:var(--body-light);stroke:none;pointer-events:none}
.anatomy-human .anatomy-hair{fill:var(--zone-unknown);stroke:none}
.anatomy-human .muscle-zone{stroke:var(--body-edge);stroke-width:.4;stroke-linecap:round;stroke-linejoin:round}
.anatomy-human .muscle-zone.is-selected,.anatomy-human .muscle-zone:focus-visible{stroke:var(--accent);stroke-width:1.5;filter:none;outline:none}
.anatomy-human.anatomy-mini path{stroke:none}
:root:not([data-theme="dark"]) .anatomy-human{--zone-unknown:#b7ccd8;--body-edge:#8da9ba}
:root[data-theme="dark"] .anatomy-human{--zone-unknown:#698494;--body-light:#3f5564;--body-edge:#8aa6b7}
.body-stage:has(.anatomy-human){gap:24px;min-height:0;padding-bottom:8px}
.body-stage:has(.anatomy-human)>figure{flex:1;min-width:0;max-width:170px}
.body-stage .anatomy-human{width:100%;height:auto;aspect-ratio:652/1280;max-height:320px}
.atlas-map-intro{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0 4px}
.atlas-map-intro>strong{font-size:15px;font-weight:650}
.atlas-display-options{max-width:100%;color:var(--text)}
.atlas-display-options>summary,.source-details-disclosure>summary{cursor:pointer;min-height:44px;padding:12px 0;font-size:13px;color:var(--muted)}
.atlas-display-options[open]{flex-basis:100%}
.atlas-display-options .atlas-period-bar{margin:0}
.atlas-display-options .atlas-context{gap:10px;flex-wrap:wrap;padding-bottom:12px}
.atlas-context button{white-space:normal}
.atlas-resume{display:flex;align-items:center;gap:12px;width:100%;text-align:left;min-height:64px;padding:12px 16px;margin-bottom:14px;border:1px solid var(--accent);border-radius:16px;background:var(--accent-dim);color:var(--text)}
.atlas-resume>span{flex:1;min-width:0}
.atlas-resume strong,.atlas-resume small{display:block;overflow-wrap:anywhere}
.atlas-resume strong{font-size:15px}
.atlas-resume small{font-size:12px;color:var(--muted);margin-top:4px}
.body-overview+.discovery-controls{margin-top:10px}
.zone-trace{flex-wrap:wrap;gap:4px}
.zone-trace>span{font-size:12px}
.zone-numbers small{font-size:11px;white-space:normal}
.source-requirements{font-size:13px;color:var(--text);margin:14px 0}
.source-requirements .source-rule-grid{margin-top:0}
.source-details-disclosure{margin:12px 0;border-block:1px solid var(--line)}
.source-details-disclosure>summary{color:var(--text);font-weight:600}
.source-details-disclosure .source-detail{margin-top:0}
/* WebKit leaks a native select's intrinsic width from a flex-column label. */
.al-compare-select label{display:block}
.al-compare-select select{margin-top:7px}
.pro-welcome{padding-top:20px}
.pro-welcome>h2{font-size:24px;line-height:1.2;margin:0 0 10px}
.pro-welcome>p{margin:0 0 18px}
.pro-program-hero{padding:20px}
.pro-program-hero h2{font-size:24px;margin-block:10px}
.pro-program-numbers{margin-top:14px;padding-top:14px}
.pro-next{margin-top:16px}
[role=tabpanel][hidden]{display:none!important}
[data-keyboard-tabs] [role=tab]:focus-visible,[role=tabpanel]:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:600px){
 .atlas-map-intro>strong{font-size:14px}
 .atlas-display-options>summary{font-size:12px}
 .pro-heading h1{font-size:25px}
 .pro-welcome{padding:18px}
 .pro-welcome>h2{font-size:22px}
 .pro-welcome>p{font-size:14px;line-height:1.5}
 .pro-program-hero{padding:16px}
 .pro-program-numbers b{font-size:25px}
}
@media(max-width:360px){
 .pro-hub-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
 .pro-hub-tabs>button{padding-inline:6px;min-width:0;min-height:44px;white-space:normal}
}
/* Owner clarification, 0.9.1: a straight edge behind the raised plus. */
@media(max-width:900px){
 .raised-dock.flat-dock{height:calc(64px + env(safe-area-inset-bottom));background:var(--panel);border-top:0;box-shadow:inset 0 1px 0 var(--line);overflow:visible}
 .raised-dock.flat-dock .dock-items{position:relative;padding:0 8px calc(5px + env(safe-area-inset-bottom))}
 .raised-dock.flat-dock .nav-item{position:relative;min-height:59px;padding:8px 1px 0;justify-content:flex-start}
 .raised-dock.flat-dock .nav-start .nav-symbol{position:absolute!important;top:-7px;left:50%;transform:translateX(-50%)!important;width:50px;height:36px;border-radius:14px;box-shadow:0 3px 7px #006b941c}
 .raised-dock.flat-dock .nav-start .nav-symbol .icon{width:22px;height:22px;fill:none;stroke-width:2.3}
 .raised-dock.flat-dock .nav-start>span:last-child{position:absolute;top:38px;left:0;right:0}
}
