:root{font-family:Arial,Helvetica,sans-serif;color:#263e35;background:#f6f5ef;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,select,input{font:inherit}button,a,select,input{touch-action:manipulation}button{cursor:pointer;color:inherit;font-size:12px;border:1px solid #d0d8cb;border-radius:6px;background:#fffdf7;padding:10px 13px;min-height:38px}button:hover:not(:disabled){background:#e9eddf}button:disabled{opacity:.4;cursor:default}button[aria-pressed=true]{background:#e2e9da;border-color:#8ca184}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #9a642d;outline-offset:3px}a{color:#355e4c;text-underline-offset:3px}header{max-width:1520px;margin:auto;padding:25px 44px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dedfd3}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;font-size:27px}.brand span{font-size:11px;letter-spacing:.16em;font-weight:bold}nav{display:flex;align-items:center;gap:25px;font-size:11px}.draft{font-size:9px;letter-spacing:.12em;border:1px solid #cbd3c3;border-radius:20px;padding:8px 12px}main{max-width:1520px;margin:auto;padding:32px 44px 24px}.intro{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:28px}.eyebrow{font-size:9px;letter-spacing:.18em;font-weight:bold;color:#657662;margin:0 0 12px}h1{font-family:Georgia,serif;font-weight:400;font-size:43px;line-height:1.07;letter-spacing:-1.2px;margin:0}h1 em{font-weight:400;color:#647b5e}p{line-height:1.6;font-size:13px}.intro>p{font-size:13px;color:#697466;line-height:1.8;margin:0 0 2px;max-width:335px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 285px;border:1px solid #d7dbcd;border-radius:13px;overflow:hidden;background:#fffcf5;box-shadow:0 10px 35px #31432706}.studio{min-width:0;position:relative;background:radial-gradient(ellipse at 50% 42%,#fffefa,#f4f3e8)}.viewbar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:17px 22px}.viewbar>span{font-size:9px;letter-spacing:.13em;color:#657360;display:flex;gap:7px;align-items:center}.viewbar i{width:5px;height:5px;background:#879877;border-radius:50%}.viewbar>div{display:flex;gap:6px}.viewbar button{font-size:10px;min-height:32px;padding:7px 10px}#ear-viewport{position:relative;height:490px;touch-action:none;overflow:hidden}canvas{width:100%;height:100%;display:block}#loading{position:absolute;inset:40% 20px auto;text-align:center;z-index:4}#leaders,#labels-layer{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}#labels-layer button{position:absolute;transform:translate(-50%,-50%);pointer-events:auto;background:#fffdf3eb;border:1px solid #dddccd;border-radius:4px;padding:5px 9px;min-height:26px;white-space:nowrap;font-size:10px;box-shadow:0 2px 8px #4b412409}#labels-layer button[aria-pressed=true]{background:#e2e9da;border-color:#849a7a}#leaders line{stroke:#9d9c8a;stroke-width:1}#leaders circle{fill:#626e53}.gesture{position:absolute;bottom:0;left:0;right:0;text-align:center;pointer-events:none;color:#808572;font-size:10px}.view-footer{display:flex;align-items:center;gap:20px;padding:0 24px}.regions{display:grid;grid-template-columns:1fr .65fr 1fr;flex:1}.regions span{border-top:3px solid #deb5a2;color:#a68e7c;padding:12px 9px 5px;font-size:9px}.regions span:nth-child(2){border-color:#dcc897}.regions span:nth-child(3){border-color:#b4c1a0}.regions b{font-weight:400;font-size:12px;color:#68735c;margin-left:6px}.zoom-tools{display:flex;gap:4px}.zoom-tools button{font-size:19px;min-height:31px;padding:2px 10px}.study-note{font-size:9px;color:#848776;padding:0 24px 10px;margin-top:9px}aside{border-left:1px solid #dedfd1;padding:25px 23px;background:#fcfbf5}h2,h3{font-family:Georgia,serif;font-weight:400;letter-spacing:-.4px}h2{font-size:27px;margin:0 0 12px}#part-description{font-size:12px;color:#687363;min-height:73px;margin-bottom:17px}.part-actions{display:flex;gap:7px}.part-actions button{font-size:11px;padding:8px 11px}.selector-label{display:block;font-size:8px;letter-spacing:.14em;color:#708069;margin:25px 0 9px}select{width:100%;padding:10px 8px;background:#fffdf8;color:#344e3d;border:1px solid #d4daca;border-radius:5px;font-size:12px}.context-toggle{border:0;background:none;padding:8px 0;margin:6px 0 10px;font-size:11px;min-height:28px}.context-toggle[aria-pressed=true]{background:none;border:0}.lesson{border-top:1px solid #dce0d2;padding-top:23px;margin-top:8px}h3{font-size:23px;margin:0 0 9px}#lesson-text{color:#64745f;font-size:12px;min-height:57px}.primary{background:#355b47;border-color:#355b47;color:#fffdf5;width:100%;margin:6px 0 12px}.primary:hover:not(:disabled){background:#294e3b}input[type=range]{width:100%;accent-color:#5b7650;height:18px;margin:0}.animation-note{font-size:9px;color:#7d8574;line-height:1.5;margin:8px 0 0}.steps{display:grid;grid-template-columns:repeat(5,1fr);border:1px solid #d6dbcc;border-radius:8px;overflow:hidden;margin-top:15px}.steps button{background:#f9f9f1;border:0;border-right:1px solid #d6dbcc;border-radius:0;text-align:left;font-size:11px;padding:17px 15px}.steps button:last-child{border:0}.steps button span{font-size:9px;display:inline-block;margin-right:9px;color:#78896c}.steps button[aria-pressed=true]{background:#e1e8d9}.steps button[aria-pressed=true] span{color:#355a43}footer{display:flex;justify-content:space-between;align-items:start;gap:40px;color:#7a8371;margin-top:15px}footer>p,footer details{font-size:10px;margin:0;line-height:1.6}footer details{max-width:580px}footer details p{font-size:11px}summary{cursor:pointer;text-align:right;min-height:30px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(min-width:1450px){#ear-viewport{height:550px}}@media(max-width:1050px){header{padding:20px 24px}main{padding:28px 24px}.workspace{grid-template-columns:minmax(0,1fr) 260px}aside{padding:23px 18px}#ear-viewport{height:450px}.steps button{font-size:10px;padding:14px 10px}.steps button span{display:block;margin-bottom:5px}}@media(max-width:780px){header{padding:17px}.draft{display:none}nav{font-size:10px}.brand span{font-size:9px}main{padding:23px 14px}.intro{display:block;margin-bottom:22px}.intro>p{margin:16px 0 0;font-size:12px}h1{font-size:35px}.workspace{grid-template-columns:1fr}aside{border-left:0;border-top:1px solid #dedfd1;display:grid;grid-template-columns:1fr 1fr;gap:0 20px}aside>.eyebrow,aside>h2,aside>#part-description,aside>.part-actions{grid-column:1}.lesson{grid-column:2;grid-row:1/7;border:0;border-left:1px solid #dedfd1;padding:0 0 0 18px;margin:0}.selector-label,select,.context-toggle{grid-column:1}.selector-label{margin-top:17px}#ear-viewport{height:400px}.steps{grid-template-columns:repeat(5,1fr)}.steps button{font-size:9px;padding:12px 6px}.viewbar{padding:13px}.viewbar>span{font-size:8px}.viewbar button{font-size:9px}.view-footer{padding:0 13px}.regions b{font-size:10px}.regions span{padding-left:3px}.regions span{font-size:8px}.study-note{padding-left:13px}footer{display:block}summary{text-align:left;margin-top:12px}#labels-layer button{font-size:9px;padding:4px 6px}#part-description{min-height:0}h2{font-size:24px}h3{font-size:21px}}@media(max-width:450px){#ear-viewport{height:335px}aside{display:block}.lesson{border:0;border-top:1px solid #dedfd1;padding:20px 0 0;margin-top:18px}.steps button{font-size:8px}.intro>p br{display:none}}
/* Region guides follow the frontal cutaway boundaries in screen space. */
.view-footer{position:relative;min-height:48px}.regions{position:absolute;top:0}.regions[hidden]{display:none}.regions span{padding-left:4px}.regions b{margin-left:4px}.zoom-tools{margin-left:auto;position:relative;z-index:2;background:#f5f4eb;padding-left:4px}@media(max-width:780px){.view-footer{min-height:65px}.zoom-tools{position:absolute;right:13px;bottom:0}.regions b{margin-left:2px}.regions span{padding-left:2px}.regions span:nth-child(2){font-size:0}.regions span:nth-child(2) b{font-size:10px}}
.static-view canvas{display:none}.static-view #ear-fallback{position:absolute;inset:40px 0 25px;width:100%;height:calc(100% - 65px);object-fit:contain}.static-view #loading{inset:5px 20px auto;font-size:11px;background:#f6f4e8;padding:8px;border-radius:4px}.static-view .gesture{font-size:10px}
/* Segmented viewer: retain the Toolkit's ivory/sage shell, increase teaching controls. */
.workspace{grid-template-columns:minmax(0,1fr) 320px}button{font-size:14px;min-height:44px}p,#part-description{font-size:15px}#part-description{min-height:0}aside{padding:24px}.eyebrow{font-size:11px}.intro>p{font-size:15px}.viewbar button{font-size:14px;min-height:44px}.viewbar>span{font-size:10px}#ear-viewport{height:560px}.gesture{font-size:12px}.view-footer{font-size:12px;color:#657360;min-height:52px}.zoom-tools button{min-height:44px;min-width:44px}.study-note{font-size:11px}.animation-note{font-size:12px}#anatomy-drawer{margin-top:22px}#anatomy-drawer summary{text-align:left;font-size:15px;min-height:44px;padding:12px 0;font-weight:600}#structure-list h3{font:600 12px Arial,sans-serif;letter-spacing:.08em;margin:18px 0 8px;text-transform:uppercase;color:#687c62}#structure-list button,.context-details button{width:100%;text-align:left;display:flex;align-items:center;gap:10px;margin:5px 0;padding:10px 12px;line-height:1.3}#structure-list button::before{content:'';width:9px;height:9px;flex-shrink:0;border-radius:50%;background:var(--structure-color)}#structure-list button[aria-pressed=true]::after{content:'✓';margin-left:auto;font-weight:bold}.context-details{margin-top:12px}#anatomy-drawer .context-details summary{font-size:13px;font-weight:400}#hover-label{position:absolute;top:12px;left:50%;transform:translateX(-50%);max-width:90%;padding:9px 14px;background:#fffdf5f2;border:1px solid #cdd6c5;border-radius:6px;font-size:14px;pointer-events:none;text-align:center;box-shadow:0 3px 12px #263e3510}#debug-panel{font:12px/1.6 monospace;white-space:pre-wrap;padding:16px;background:#e9ede4;overflow:auto}canvas:focus-visible{outline:3px solid #9a642d;outline-offset:-4px}.lesson{padding-top:18px}#pathway-status{font-size:14px}footer>p,footer details,footer details p{font-size:12px}@media(max-width:1050px){.workspace{grid-template-columns:minmax(0,1fr) 290px}#ear-viewport{height:510px}}@media(max-width:780px){.workspace{grid-template-columns:1fr}aside{display:block;padding:20px}.lesson{border:0;border-top:1px solid #dedfd1;margin-top:20px;padding:20px 0 0}#ear-viewport{height:420px}.view-footer{padding:0 13px}.zoom-tools{position:static;margin-left:auto}.intro>p{font-size:14px}.viewbar>span{font-size:9px}#part-description{font-size:15px}}@media(max-width:450px){#ear-viewport{height:340px}.view-footer>span{max-width:180px}.viewbar{padding:10px 13px}}
@media(min-width:781px){#structure-list{max-height:355px;overflow-y:auto;padding:0 4px 3px 0;scrollbar-width:thin}.studio{align-self:start;position:sticky;top:12px}.workspace{overflow:visible}.studio{border-radius:13px 0 0 13px}aside{border-radius:0 13px 13px 0}}
/* A lesson cue is separate from the user's selected anatomy. */
#structure-list button[data-cue]{background:#e2e9da;border-color:#8ca184}
#structure-list button[data-cue]::after{content:'→';margin-left:auto}
#loading-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;padding:20px 28px;opacity:.36;filter:saturate(.72);transition:opacity .3s ease;pointer-events:none}#loading-poster.ready{opacity:0}#loading-poster[hidden]{display:none}@media(prefers-reduced-motion:reduce){#loading-poster{transition:none}}
#labels-layer{z-index:2}#leaders{z-index:1;overflow:visible}#labels-layer button{color:#3f5749;font-weight:600;transition:opacity .16s,background .16s;border-color .16s;max-width:150px;overflow:hidden;text-overflow:ellipsis}#labels-layer button[aria-pressed=true]{border-color:#6f8b70;background:#e5eddf}#leaders line{vector-effect:non-scaling-stroke}#leaders circle{r:2.4}.view-footer:has(.regions:not([hidden])) #view-prompt{display:none}.view-footer .regions{left:24px;right:82px;width:auto;grid-template-columns:1.55fr .32fr .58fr}.view-footer .regions span{white-space:nowrap}@media(max-width:600px){#labels-layer,#leaders,.viewbar #labels-toggle{display:none}.view-footer .regions{left:13px;right:70px}.regions span{font-size:0}.regions span b{font-size:10px}}
/* Keep model-switch links readable and tappable alongside the study controls. */
nav a{font-size:13px;min-height:44px;display:inline-flex;align-items:center}
@media(max-width:600px){header{flex-wrap:wrap;gap:10px}nav{width:100%;justify-content:space-between;gap:12px}}
.pressure-proof,.motion-proof{padding:14px 0 18px;border-bottom:1px solid #dce0d2;margin-bottom:18px}.pressure-proof label,.motion-proof label{display:flex;justify-content:space-between;gap:12px;font-weight:600;font-size:14px}.pressure-proof output,.motion-proof output{font-weight:400;color:#63745f;text-align:right}.pressure-proof input,.motion-proof input{margin:12px 0 5px;min-height:32px}.pressure-proof p,.motion-proof p{font-size:12px;line-height:1.5;color:#747d6e;margin:0}.pressure-scale{display:flex;justify-content:space-between;margin:-3px 0 8px;color:#747d6e;font-size:11px}.pressure-actions{display:flex;align-items:start;gap:10px}.pressure-actions p{flex:1}.pressure-actions button{flex:0 0 auto;padding:8px 10px;font-size:12px}.pressure-actions.tm-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.pressure-actions.tm-actions p{grid-column:1/-1}.pressure-actions.tm-actions button{width:100%;min-width:0;padding:8px;font-size:12px;line-height:1.25}.motion-actions{display:flex;gap:8px;margin-top:10px}.motion-actions button{flex:1;padding:8px 9px;font-size:12px}@media(max-width:600px){nav{flex-wrap:wrap;justify-content:flex-start}nav a{margin-right:14px}.pressure-proof label,.motion-proof label{font-size:15px}.motion-actions{display:grid}}
.et-function-actions{display:block}.et-function-actions button{width:100%;margin-top:10px}
.motion-proof label[for="et-patency-control"]{margin-top:18px}
.subcontrol{border-top:1px solid #e3e4da;margin-top:14px;padding-top:14px}.subcontrol p{font-size:12px;line-height:1.5;color:#747d6e;margin:0}
.physiology-reset{width:100%;margin:0 0 18px;border-color:#aeb9a8;background:#f4f5ed;font-weight:600}
@media(max-width:600px){.viewbar{align-items:flex-start;flex-wrap:wrap}.viewbar>div{width:100%;justify-content:flex-end;flex-wrap:wrap}}
@media(max-width:600px){.viewbar>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.viewbar button{width:100%;min-width:0;white-space:normal}.viewbar>span{width:100%}}
.scenario-panel h3{margin:0 0 .4rem;font:700 .94rem/1.2 system-ui,sans-serif;color:var(--ink)}
.scenario-panel>p{margin:0 0 .75rem;color:var(--muted);font-size:.82rem;line-height:1.45}
.scenario-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem}
.scenario-grid button{min-height:2.75rem;padding:.55rem .65rem;text-align:left}
.scenario-explanation{margin:.8rem 0 0!important;padding:.75rem .85rem;background:#f5f5ee;border-left:3px solid #8aa083;color:var(--ink)!important;font-size:.86rem!important;line-height:1.5!important}
.lesson-step{padding:.8rem .9rem;background:#f5f5ee;border-left:3px solid #8aa083;font-size:.9rem;line-height:1.5}
.lesson-step strong{display:block;color:var(--ink);margin-bottom:.35rem}
.lesson-step p{margin:.3rem 0 .45rem}
.lesson-step small{display:block;color:var(--muted);font-size:.83rem}
.lesson-actions{display:flex;gap:.5rem;margin-top:.7rem}
.lesson-actions button{min-height:2.75rem;padding:.55rem .8rem}
.guided-pathway{display:flex;gap:.5rem;margin:.6rem 0}.guided-pathway[hidden]{display:none}.guided-pathway button{flex:1;min-height:44px;white-space:normal}.guided-pathway button:last-child{background:#e6ecdf;border-color:#9cad92;font-weight:600}
#pathway-wording{display:block;width:100%;min-height:44px;margin:0 0 .65rem;text-align:left;font-size:14px}
#pathway-wording[aria-pressed=true]{background:#e2e9da;border-color:#8ca184}
@media(max-width:520px){.scenario-grid{grid-template-columns:1fr}}
.state-summary{margin-top:.9rem;padding:.85rem;border:1px solid var(--line);border-radius:.75rem;background:color-mix(in srgb,var(--paper) 86%,var(--accent) 14%)}
.state-summary h3{margin:.15rem 0 .65rem;font-size:1rem}
.state-chips{display:flex;flex-wrap:wrap;gap:.38rem}
.state-chips span{display:inline-flex;align-items:center;min-height:1.8rem;padding:.28rem .52rem;border-radius:999px;background:var(--paper);border:1px solid var(--line);font-size:.76rem;line-height:1.2}
#labels-layer[hidden],#leaders[hidden]{display:none!important}
#labels-layer button{transition:opacity .16s,background .16s,border-color .16s}
/* The growing review-route list must wrap without widening the page. */
header{align-items:flex-start;gap:24px}
.brand{flex:0 0 auto}
nav{flex:1;justify-content:flex-end;flex-wrap:wrap;gap:8px 18px}
@media(max-width:600px){nav{flex:1 0 100%;width:100%;flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;gap:18px;padding:2px 0 8px;scrollbar-width:thin}nav a{flex:0 0 auto;margin-right:0}}
.review-build header{align-items:center}.review-build header nav{flex:0 0 auto;width:auto;overflow:visible;padding:0}.review-build header nav a{display:none}.review-build .draft{display:inline-flex;align-items:center;min-height:34px}.review-build main{padding-top:26px}@media(max-width:600px){.review-build header{flex-wrap:nowrap}.review-build header nav{flex:0 0 auto}.review-build .draft{display:inline-flex;font-size:8px;padding:7px 9px}.review-build main{padding-top:22px}}
/* Keep the current review prominent and the research routes discoverable. */
nav .research-menu{position:relative;align-self:center}
nav .research-menu summary{cursor:pointer;list-style:none;display:inline-flex;align-items:center;min-height:44px;font-size:13px;color:#355e4c}
nav .research-menu summary::-webkit-details-marker{display:none}
nav .research-menu summary::after{content:'⌄';margin-left:5px}
nav .research-menu>div{position:absolute;right:0;top:42px;z-index:20;min-width:235px;display:grid;gap:1px;padding:9px;background:#fffdf7;border:1px solid #d7dbcd;border-radius:8px;box-shadow:0 12px 25px #263e3520}
nav .research-menu a{min-height:38px;padding:8px 10px;white-space:nowrap}
.review-build header nav a[href='./']{display:inline-flex}
.review-build header nav a[href='./review-findings.html']{display:inline-flex}
.review-build header nav a[href*='mode=review'],.review-build header nav .research-menu{display:none}
@media(max-width:600px){nav .research-menu>div{left:0;right:auto}.review-build header{flex-wrap:wrap}.review-build header nav{gap:10px}}
/* Give all three region labels equal room beside touch-sized zoom controls. */
@media(max-width:600px){.view-footer{gap:8px;padding:0 12px}.view-footer .regions{min-width:0;grid-template-columns:repeat(3,minmax(0,1fr))}.view-footer .regions span{min-width:0;padding:9px 1px 4px;white-space:normal}.view-footer .regions span b{margin:0;font-size:10px}.zoom-tools{flex:0 0 auto}}
.alignment-review-note{margin:0 24px 16px;padding:10px 12px;border-left:3px solid #ae806c;background:#f4eee8;color:#5f594e;font-size:13px;line-height:1.45}.alignment-review-note[hidden]{display:none}.alignment-review-note a{font-weight:600}@media(max-width:600px){.alignment-review-note{margin:0 13px 14px}}

/* The current teaching journey keeps the active controls beside the model. */
.journey-switch{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 22px;margin:0 0 20px;border:1px solid #d1dccb;border-radius:10px;background:#ecf0e6}
.journey-switch .eyebrow{margin-bottom:7px}.journey-switch strong{font:normal 24px Georgia,serif}.journey-switch p:not(.eyebrow){max-width:720px;font-size:14px;margin:7px 0 0;color:#5c6e5e}.journey-switch a{flex-shrink:0;display:flex;align-items:center;min-height:48px;padding:10px 14px;background:#355b47;color:#fff;border-radius:6px;text-decoration:none}
.demonstration-controls{margin:0 22px 14px;padding:16px;border:1px solid #cbd5c3;border-radius:9px;background:#fffdf7}.demonstration-controls label{font-size:16px}.pressure-presets{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0 8px}.pressure-presets button{min-height:44px;font-size:15px}.demonstration-controls .pressure-actions p{font-size:13px}.demonstration-controls .pressure-actions button{min-height:44px;font-size:14px}
.middle-ear-demo .intro{margin-bottom:18px}.middle-ear-demo .intro h1{font-size:36px}.middle-ear-demo #ear-viewport{height:440px}.middle-ear-demo .state-summary{margin-bottom:12px}.middle-ear-demo .motion-proof{margin-top:12px}.middle-ear-demo .viewbar>div{flex-wrap:wrap}.middle-ear-demo .viewbar{flex-wrap:wrap}.middle-ear-demo .studio{position:sticky}
@media(max-width:780px){.journey-switch{display:block;padding:15px}.journey-switch a{margin-top:14px;justify-content:center}.teaching-journey .intro{display:none}.middle-ear-demo #ear-viewport{height:330px}.demonstration-controls{margin:0 12px 14px;padding:12px}.demonstration-controls .pressure-actions{flex-wrap:wrap}.demonstration-controls .pressure-actions p{flex-basis:100%}.middle-ear-demo .viewbar>div{display:flex;flex-wrap:wrap}.middle-ear-demo .viewbar button{width:auto;flex:1 1 42%;font-size:13px}.middle-ear-demo nav{flex-wrap:wrap;overflow:visible;gap:4px 16px}.middle-ear-demo .research-menu>div{left:auto;right:0}}

.middle-ear-demo aside>.demonstration-controls{margin:0 0 22px;padding:14px 0 20px;border:0;border-bottom:1px solid #d0d8cb;border-radius:0;background:transparent}.middle-ear-demo .demonstration-controls label{display:block}.middle-ear-demo .demonstration-controls output{display:block;text-align:left;margin-top:7px}.middle-ear-demo .pressure-presets button{padding:8px 5px;font-size:14px}.middle-ear-demo .demonstration-controls .pressure-actions{display:block}.middle-ear-demo .demonstration-controls .pressure-actions button{width:100%;margin-top:12px}
@media(max-width:780px){.middle-ear-demo .studio{position:static}.middle-ear-demo aside{padding:16px}.middle-ear-demo #ear-viewport{height:300px}}

.attachment-comparison { margin: 1rem 0; padding: 1rem 0; border-top: 1px solid #d9decf; }
.attachment-comparison button { width: 100%; min-height: 44px; }
.attachment-comparison button[aria-pressed="true"] { background: #e3eadb; border-color: #627c59; }
.attachment-comparison p, .attachment-comparison output { display: block; font-size: .9rem; line-height: 1.5; }

.detail-handoff{margin-top:18px;padding:14px;border-left:3px solid #75967d;background:#f0f3eb;border-radius:0 6px 6px 0}
.detail-handoff[hidden]{display:none}
.detail-handoff p{margin:0 0 12px;font-size:14px;line-height:1.5;color:#43594b}
.detail-handoff a{display:inline-flex;align-items:center;min-height:44px;color:#234d38;font-weight:600;text-underline-offset:3px}
.detail-handoff a:focus-visible{outline:3px solid #4c8767;outline-offset:4px}
.detail-handoff button{display:block;min-height:44px;margin:0 0 10px;padding:8px 12px;border:1px solid #93aa95;border-radius:6px;background:#fff;color:#234d38;font-weight:600;text-align:left}
.detail-handoff button:focus-visible{outline:3px solid #4c8767;outline-offset:3px}

/* On phones, put the teacher-paced controls immediately after the 3D view. */
@media(max-width:780px){
  .teaching-journey:not(.middle-ear-demo) .journey-switch{display:flex;align-items:center;gap:12px;padding:10px 12px}
  .teaching-journey:not(.middle-ear-demo) .journey-switch .eyebrow,.teaching-journey:not(.middle-ear-demo) .journey-switch p:not(.eyebrow){display:none}
  .teaching-journey:not(.middle-ear-demo) .journey-switch strong{font-size:17px}
  .teaching-journey:not(.middle-ear-demo) .journey-switch a{min-height:44px;margin:0;padding:8px 10px;font-size:12px;text-align:center}
  .teaching-journey:not(.middle-ear-demo) aside{display:flex;flex-direction:column}
  .teaching-journey:not(.middle-ear-demo) aside>.lesson{order:-1;margin:0 0 20px;padding:0 0 20px;border:0;border-bottom:1px solid #dedfd1}
}

/* One teaching module above the restored whole-ear diagram. */
.teaching-modules{padding:18px 22px;background:#f7f8ef;border-bottom:1px solid #d7dbcd;border-radius:13px 0 0 0}
.module-heading{display:flex;align-items:end;gap:18px;justify-content:space-between}
.module-heading label{display:block;flex:1;max-width:380px;font-size:13px;font-weight:600}
.module-heading select{display:block;margin-top:7px;min-height:44px;font-size:15px;padding:10px 12px}
.module-heading .physiology-reset{width:auto;margin:0;font-size:12px;flex-shrink:0}
.teaching-modules .module-note{font-size:12px;color:#697466;margin:10px 0 0}
.teaching-modules .teaching-module-panel{border:0;margin:12px 0 0;padding:0}
.teaching-modules .teaching-module-panel[hidden]{display:none!important}
.teaching-modules .pressure-actions.tm-actions{grid-template-columns:1fr auto auto;align-items:center}
.teaching-modules .pressure-actions.tm-actions p{grid-column:auto}
.teaching-modules .subcontrol{margin-top:14px}
.teaching-modules .scenario-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.modular-teaching .studio{position:relative;top:auto}
@media(max-width:780px){.teaching-modules{padding:15px 13px;border-radius:13px 13px 0 0}.module-heading{align-items:stretch;gap:10px}.module-heading label{min-width:0}.module-heading .physiology-reset{max-width:115px;align-self:end;padding:7px}.teaching-modules .pressure-actions.tm-actions{grid-template-columns:1fr 1fr}.teaching-modules .pressure-actions.tm-actions p{grid-column:1/-1}.teaching-modules .scenario-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

#structure-list button[hidden],#structure-list section[hidden]{display:none!important}

#beta-et-feedback{margin:8px 20px 14px;padding:12px 16px;border:1px solid #d2d9c9;border-radius:8px;background:#fafbf4;color:#355b47}#beta-et-feedback[hidden]{display:none}#beta-et-feedback strong{font-size:15px}#beta-et-feedback small{font-size:12px}.beta-pull-track{height:8px;background:#e1e6d9;border-radius:8px;margin:9px 0;overflow:hidden}.beta-pull-track span{display:block;height:100%;background:#b26874;border-radius:8px}
