.head-exam-controls{border:1px solid #cad7c9;background:#fbfcf3;border-radius:14px;padding:23px;margin:6px 0 12px}
.head-exam-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.head-exam-heading .eyebrow{font-size:8px;color:#687f65;letter-spacing:1.3px}
.head-exam-heading h2{font-family:Georgia,serif;font-weight:400;font-size:29px;line-height:1.2;letter-spacing:-.6px;color:#284e40;margin:9px 0 0}
.head-record-badge{font-size:8px!important;letter-spacing:.6px;border:1px solid #baceb1;color:#4d7446!important;background:#e9efdd;padding:7px 9px;border-radius:5px;white-space:nowrap}
.head-record-badge.reference{border-color:#d9bd8c;background:#f8ebd2;color:#8e6533!important}
.head-instruction{font-size:12px;color:#71806b;line-height:1.7;margin:12px 0 19px}
.head-view-row,.head-view-tabs{display:flex;gap:6px;flex-wrap:wrap}
.head-view-row{padding-bottom:17px;border-bottom:1px solid #dce3d4}
.head-view-row button,.head-side button,.head-replay-row button{background:#edf1e3;color:#54744e;border:1px solid #d1dcc7;border-radius:6px;padding:10px 13px;min-height:44px;font-size:10px}
.head-view-row button[aria-pressed=true],.head-side button[aria-pressed=true]{background:#315b4a;color:#f4f4df;border-color:#315b4a}
.head-view-tabs{margin-right:auto}
.head-bench{display:flex;gap:18px;align-items:flex-end;margin:18px 0 13px}
.head-bench label{flex:1;font-size:10px;color:#6c8064;min-width:0}
.head-bench select{font-size:12px;min-height:45px;background:#f7f8ed;border-color:#cdd8c4;color:#395b42;margin-top:5px;width:100%}
.head-side{display:flex;gap:5px;flex-shrink:0}
.head-side button{font-size:10px;white-space:nowrap}
.head-test-tools{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:16px 0}
.head-test-tools button{display:flex;align-items:center;justify-content:center;gap:9px;flex-direction:column;border:1px solid #cbd8c3;background:#f2f5e7;color:#546e4b;border-radius:8px;padding:12px 5px;min-height:77px;font-size:10px;text-align:center}
.head-test-tools button span{font-size:23px;color:inherit}
.head-test-tools button[aria-pressed=true]{border-color:#749672;background:#dfead3;color:#294d37;box-shadow:inset 0 -2px #6e9060}
.head-result{padding:18px 20px;background:#ecf1e2;border-left:3px solid #91b47c;border-radius:0 7px 7px 0;min-height:149px}
.head-result .eyebrow{font-size:8px;letter-spacing:.7px;color:#748760}
.head-result h3{font-family:Georgia,serif;font-size:22px;font-weight:400;color:#375337;margin:8px 0}
.head-result p{font-size:12px;color:#718066;line-height:1.7;margin:7px 0 0}
.head-result .head-finding{font-size:14px;color:#3e5a3c;font-weight:600}
.head-result.unrecorded{background:#f3ecd9;border-color:#c5b278}.head-result.unrecorded .head-finding{color:#816642}
.head-result button{background:#fff9e9;color:#806d44;border:1px solid #d6c59e;border-radius:6px;margin-top:13px;min-height:44px;padding:9px 13px;font-size:11px}
.head-replay-row{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:15px 0 0}
.head-replay-row #head-trace{background:#254f40;color:#f1f3dc;border-color:#254f40;display:flex;gap:25px;align-items:center}
.head-replay-row a{margin-left:auto;color:#749167;font-size:10px;min-height:44px;display:flex;align-items:center}
.head-scale-note{font-size:10px;line-height:1.6;color:#8a967e;margin-top:12px}
.head-structure-inspector{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:15px;padding:15px;margin-top:15px;background:#e6eede;border:1px solid #cbd9be;border-radius:8px;font-size:11px;color:#4a6741}.head-structure-inspector label{font-size:10px}.head-structure-inspector select{font-size:11px;width:100%;margin-top:7px;min-height:44px}.head-structure-inspector p{font-size:11px;line-height:1.7;color:#6c7e5e;margin:0}
.head-part-label{position:absolute;transform:translate(-50%,-100%);font-size:10px;border-radius:5px;background:#f1efd5;color:#2d5141;padding:6px 9px;box-shadow:0 3px 15px #122e3e33;white-space:nowrap}.head-part-label:after{content:'';position:absolute;top:100%;left:50%;height:12px;border-left:1px solid #f1efd5}
.head-scene-labels{position:absolute;inset:0;pointer-events:none;z-index:2}.head-scene-labels[hidden]{display:none}
.head-lens-label{position:absolute;transform:translate(-50%,-50%);background:#153139d9;color:#bdd9cb;padding:5px 8px;border-radius:5px;font-size:9px;white-space:nowrap;text-shadow:0 1px 3px #102d2c}
.head-side-label{font-size:9px;letter-spacing:1.1px;color:#94c3b3;background:transparent}
.head-motion-status{position:absolute;left:50%;bottom:70px;transform:translateX(-50%);padding:9px 13px;border:1px solid #8abf9f77;border-radius:7px;background:#133931e8;color:#d8edd8;font-size:10px;white-space:nowrap}
.head-motion-status.fast{color:#ffe1a0;border-color:#e5c67a99}
.head-context-label{position:absolute;left:27px;top:94px;font-size:7px;letter-spacing:.8px;color:#688777}.head-eye-view .head-context-label{color:#97bfb0}.head-context-label.reference{color:#9a723f}.head-eye-view .head-context-label.reference{color:#f0cc8f}
.head-exam-active .scene-mode{display:none}.head-exam-active .scene-caption{font-size:8px}
.head-exam-active .patient-ident h1{font-size:34px}.head-exam-active .patient-ident p{display:none}
.head-eye-view .patient-ident h1{color:#e0e9d5}.head-eye-view .patient-ident .eyebrow{color:#8db8a7}
.head-eye-view .scene-view-controls button{background:#21443c;color:#bfd7c3;border-color:#436557}
.head-exam-active .anatomy-focus-label,.head-exam-active .anatomy-orientation{display:none}
@media(min-width:851px){body.head-open .patient-stage{position:sticky;top:8px;z-index:5;height:clamp(390px,45vh,580px)}body.head-open .head-exam-controls{scroll-margin-top:calc(45vh + 20px)}}
@media(max-width:1100px){.head-bench{flex-direction:column;align-items:stretch;gap:12px}.head-side button{flex:1}.head-exam-heading{flex-direction:column;gap:10px}.head-exam-heading h2{font-size:26px}.head-replay-row a{margin-left:0}}
@media(max-width:850px){
 body.head-open .patient-stage{position:sticky;top:8px;z-index:6;height:320px;box-shadow:0 8px 25px #1a392f25}
 body.head-open .patient-ident{top:13px;left:14px}body.head-open .patient-ident h1{font-size:25px;margin:5px 0}
 body.head-open .patient-ident .eyebrow{font-size:6px}body.head-open .patient-ident p{display:none}
 body.head-open .scene-view-controls{right:10px;top:12px;bottom:auto;flex-direction:row}body.head-open .scene-view-controls button{font-size:7px;min-height:34px;min-width:30px;padding:4px 6px}
 body.head-open .scene-caption{bottom:10px;left:12px;right:12px;font-size:6px}body.head-open .scene-caption span{display:none}
 .head-motion-status{bottom:32px;font-size:8px;padding:7px 10px}
 .head-context-label{left:14px;top:65px;font-size:6px;letter-spacing:.3px}
 .head-lens-label{font-size:7px;padding:4px 5px}.head-side-label{font-size:7px;letter-spacing:.5px}
 .head-exam-controls{padding:16px 13px;scroll-margin-top:345px}.head-exam-heading h2{font-size:25px}
 .head-view-row{gap:5px}.head-view-tabs{width:100%;margin-bottom:5px}.head-view-tabs button{flex:1}
 .head-view-row button{font-size:10px;padding:9px 10px}.head-view-row>button{flex:1}
 .head-bench{margin-top:14px}.head-test-tools{gap:5px}.head-test-tools button{font-size:9px;min-height:76px}
 .head-test-tools button span{font-size:20px}.head-result{padding:15px 14px}.head-result h3{font-size:20px}
 .head-result .head-finding{font-size:13px}.head-result p{font-size:12px}.head-replay-row button{font-size:10px;padding:10px 11px}
 .head-replay-row a{font-size:10px;min-height:35px}.head-scale-note{font-size:9px}
 .head-structure-inspector{grid-template-columns:1fr;gap:10px;padding:12px}.head-part-label{font-size:8px}
 body.head-open .patient-interaction,body.head-open .exam-toolbar,body.head-open .ward-notebook{scroll-margin-top:343px}
}
@media(max-width:850px) and (max-height:600px){body.head-open .patient-stage{height:220px}.head-motion-status{bottom:22px}.head-lens-label{font-size:6px}body.head-open .scene-caption{display:none}}
