/* Desktop and touch are independent; primary tasks never depend on hover. */
body.expert-validation #guidedSimulation button {cursor:pointer}
body.expert-validation #guidedSimulation button:disabled {cursor:not-allowed;opacity:.55}
body.expert-validation #guidedSimulation button:focus-visible {outline:3px solid #a8c4ff!important;outline-offset:4px}
body.expert-validation #guidedSimulation button:hover:not(:disabled) {border-color:#a8c4ff!important}
body.expert-validation #guidedSimulation [data-interaction-state="selected"] {border:2px solid #a8c4ff!important;box-shadow:inset 4px 0 #a8c4ff}
body.expert-validation #guidedSimulation [data-interaction-state="completed"] {border-color:#59dcc6!important}
body.expert-validation #simFeedback {font-size:16px!important;line-height:1.4!important;min-height:46px;padding:10px 18px!important;white-space:normal!important}
body.expert-validation #simFeedback[data-kind="pitfall"],body.expert-validation #simFeedback[data-kind="hold"] {color:#ffd8bd!important;border-left:5px solid #eea985;background:#30221f!important}
body.expert-validation .expert-task-question {font-size:16px;margin:4px 0 12px;color:#c1d2d2}
body.expert-validation .expert-instruments {display:grid;grid-template-columns:1fr 1fr;gap:10px}
body.expert-validation .expert-cvs {display:grid;gap:12px}
body.expert-validation .expert-cvs label {display:flex;align-items:start;gap:10px;font-size:16px;line-height:1.4;padding:10px;border:1px solid #435c65}
body.expert-validation .expert-cvs input {width:22px;height:22px;flex-shrink:0;accent-color:#61dfca}
body.expert-validation .expert-location {display:grid;gap:10px;font-size:16px;line-height:1.4}
body.expert-validation .expert-location input {width:100%;min-height:40px;accent-color:#61dfca}
body.expert-validation .expert-spatial-field [data-expert-target] {cursor:crosshair;pointer-events:stroke}
body.expert-validation .expert-spatial-field [data-expert-target]:is(:hover,:focus-visible) {stroke:#adc5ed44;outline:none}
body.expert-validation .expert-spatial-field .pilot-mobile-leader {display:none!important}
body.expert-validation .expert-sequence-feedback {font-size:16px;line-height:1.5;color:#c5e5de}
body.expert-validation .division-controls:has(.expert-instruments) {display:grid!important;gap:12px!important;min-height:0!important}
body.expert-validation .division-controls:has(.expert-instruments)>:is(p,details) {margin:0}
body.expert-validation .expert-spatial-field>span {display:none!important}
body.expert-validation [data-expert-port-token] {cursor:grab!important;touch-action:none;padding:12px;border:2px solid #a8c4ff}
body.expert-validation [data-expert-port-token].is-dragging {cursor:grabbing!important;background:#284b55!important}
body.expert-validation .expert-gesture-help {font-size:16px;line-height:1.5}
body.expert-validation .hardening-closure-field .expert-edge-start,body.expert-validation .hardening-closure-field .expert-edge-end {position:absolute;top:50%;bottom:auto;transform:translate(-50%,-50%);border:2px solid #e2ed76;border-radius:50%;width:64px;height:64px;display:grid;place-items:center;background:#0d1b21;color:#f0f4bc;font:700 12px var(--mono);z-index:9;pointer-events:none}
body.expert-validation .hardening-closure-field .expert-edge-end {border-style:dashed;background:#122329b8}
body.expert-validation .expert-reverse .closure-skin .trace-line {left:auto;right:13%}
@media (min-width:1000px) {
 body.expert-validation #guidedSimulation {--ucf-field:calc(100svh - 285px)}
 body.expert-validation #guidedSimulation .sim-chapter {max-width:1800px!important;min-height:0!important;padding:0!important}
 body.expert-validation #guidedSimulation .sim-chapter h1 {font-size:clamp(30px,2.6vw,44px)!important;line-height:1.12!important}
 body.expert-validation #guidedSimulation .sim-chapter :is(p,button,summary) {font-size:16px!important;line-height:1.4!important}
 body.expert-validation #guidedSimulation .sim-chapter :is(small,caption,.source-note) {font-size:13px!important;line-height:1.4!important}
 body.expert-validation #guidedSimulation .sim-chapter :is(button span,button b,button strong,.credible-current-action b) {font-size:16px!important;line-height:1.3!important}
 body.expert-validation #guidedSimulation .sim-chapter h2 {font-size:22px!important;line-height:1.25!important}
 body.expert-validation #guidedSimulation .sim-chapter button {min-height:44px}
 body.expert-validation #guidedSimulation .sim-timeline button {font-size:14px!important;min-height:44px}
 body.expert-validation #guidedSimulation .sim-timeline button small {font-size:12px!important}
 body.expert-validation #guidedSimulation :is(.dissect-work,.division-work,.hardening-closure-layout) {display:grid!important;grid-template-columns:minmax(0,1fr) minmax(320px,360px)!important;gap:24px!important;align-items:start!important}
 body.expert-validation #guidedSimulation .pilot-connected-field {width:100%!important;max-height:calc(100svh - 260px);min-height:340px!important}
 body.expert-validation #guidedSimulation .dissect-instruments button {min-height:110px!important;padding:12px!important}
 body.expert-validation #guidedSimulation .compression-instrument-label {margin:0!important}
 body.expert-validation #guidedSimulation .credible-room-layout.expert-verify {grid-template-columns:minmax(0,1fr) 360px!important;gap:20px}
 body.expert-validation #guidedSimulation .credible-room-scene {height:calc(100svh - 345px)!important;min-height:350px!important}
 body.expert-validation #guidedSimulation .credible-room-person small,body.expert-validation #guidedSimulation .credible-room-action small {display:none!important}
 body.expert-validation #guidedSimulation :is(.credible-room-person b,.credible-room-monitor b,.credible-compass span,.credible-readiness-strip span,.hardening-anatomy-hotspot) {font-size:14px!important;line-height:1.3!important}
 body.expert-validation #guidedSimulation .credible-loadout small {display:none!important}
 body.expert-validation #guidedSimulation .credible-room-action span {display:none!important}
 body.expert-validation #guidedSimulation .credible-decision:not(.current):not(.done) {display:none!important}
 body.expert-validation #guidedSimulation .credible-position-world {height:calc(100svh - 310px)!important;min-height:340px!important}
 body.expert-validation #guidedSimulation :is(.hardening-keyboard,.fidelity-keyboard-map,.hardening-port-status,.hardening-port-progress) {display:none!important}
 body.expert-validation #guidedSimulation .hardening-ports {height:auto!important;min-height:0!important}
 body.expert-validation #guidedSimulation .hardening-port-workspace {grid-template-columns:minmax(0,1fr) 340px!important;gap:20px!important}
 body.expert-validation #guidedSimulation .hardening-abdomen {height:calc(100svh - 345px)!important;min-height:330px!important}
 body.expert-validation #guidedSimulation .hardening-port-controls {min-height:0!important;display:grid!important;gap:12px}
 body.expert-validation #guidedSimulation .hardening-port-controls svg {max-height:240px!important}
 body.expert-validation #guidedSimulation .hardening-port-site.current {width:64px!important;height:64px!important}
 body.expert-validation #guidedSimulation .hardening-port-site span {display:none!important}
 body.expert-validation #guidedSimulation .hardening-port-now :is(b,small) {font-size:16px!important}
 body.expert-validation #guidedSimulation .access-rehearsal-layout {grid-template-columns:minmax(0,1fr) 350px!important;height:calc(100svh - 310px)!important;min-height:360px!important}
 body.expert-validation #guidedSimulation :is(.access-world,.access-action-rail) {height:100%!important;min-height:0!important}
 body.expert-validation #guidedSimulation .fidelity-camera-work {grid-template-columns:minmax(0,1fr) minmax(0,1.5fr)!important}
 body.expert-validation #guidedSimulation :is(.fidelity-camera-external,.fidelity-laparoscopic-view) {height:calc(100svh - 350px)!important;min-height:320px!important}
 body.expert-validation #guidedSimulation .hardening-anatomy-stage {height:calc(100svh - 300px)!important;min-height:380px!important}
 body.expert-validation #guidedSimulation .expert-verify .credible-room-sidebar {display:grid!important;gap:12px}
 body.expert-validation #guidedSimulation .expert-verify .credible-pref-brief {display:block!important;max-height:none;overflow:visible}
 body.expert-validation #guidedSimulation .expert-verify .credible-loadout {position:static!important;transform:none!important;width:100%!important;min-height:56px!important;opacity:1!important;pointer-events:auto!important}
 body.expert-validation #guidedSimulation .expert-verify .credible-pref-brief :is(p,b,summary) {font-size:16px!important}
 body.expert-validation #guidedSimulation .hardening-closure-field {height:calc(100svh - 290px)!important;min-height:380px!important}
 body.expert-validation #guidedSimulation .closure-fascia {height:42%}
 body.expert-validation #guidedSimulation .closure-material-grid {grid-template-columns:1fr!important}
 body.expert-validation #guidedSimulation .closure-port-grid {grid-template-columns:1fr!important}
}
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
 body.expert-validation .dissect-instruments button {transition:transform .14s ease,box-shadow .14s ease;transform-origin:center}
 body.expert-validation .dissect-instruments button:is(:hover,:focus-visible) {transform:scale(1.04);z-index:3;box-shadow:0 8px 24px #0008}
}
@media(max-width:999px) {
 body.expert-validation #guidedSimulation .sim-chapter :is(button,p,summary) {font-size:16px!important}
 body.expert-validation #guidedSimulation .expert-verify .credible-room-sidebar {display:block!important}
 body.expert-validation #guidedSimulation .expert-verify .credible-loadout {position:static!important;transform:none!important;min-height:48px;width:100%}
 body.expert-validation #simFeedback {font-size:14px!important}
}
