/* V2: one device workspace, with the patient's controls always alongside it. */
:root{--ink:#15212b;--muted:#657079;--line:#d9dedf;--blue:#345bd7;--accent:#345bd7;--accent-soft:#edf1ff;--paper:#f7f7f2;--teal:#345bd7;color:var(--ink);background:var(--paper);font-family:'DM Sans',Arial,sans-serif}
body{margin:0;-webkit-font-smoothing:antialiased}button{font-weight:600;transition:background .16s,color .16s,box-shadow .16s;border-radius:6px}button:hover{background:#e9edf5}button:active{transform:none}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px}button:disabled{cursor:default}a{color:var(--blue)}[hidden]{display:none!important}.primary{background:var(--accent);border-color:var(--accent);color:#fff}.primary:hover{background:#2848b0}.eyebrow,.field-label{font:700 10px/1.5 'DM Sans',sans-serif;letter-spacing:1.5px;color:var(--muted)}.field-label{display:block}.quiet-button{background:transparent;border:0}.site-header{height:82px;max-width:1600px;margin:auto;display:flex;align-items:center;padding:0 5%;gap:22px}.wordmark{display:flex;gap:7px;align-items:center;font-size:17px;letter-spacing:-.6px;text-decoration:none;font-weight:800;color:var(--ink)}.wordmark>span:last-child{font-weight:400}.wordmark-icon{height:33px;width:27px;display:grid;place-items:center;border-radius:5px;background:var(--ink);color:#dced87;font-size:27px;margin-right:5px}.site-edition{font-size:9px;letter-spacing:1.4px;color:var(--muted);margin-left:auto;display:flex;align-items:center;gap:24px}.site-edition b{padding:6px 8px;border:1px solid #cfd5d7;color:var(--ink);font-size:10px;font-weight:500}.site-header button{font-size:12px}
.launcher{max-width:1600px;min-height:calc(100svh - 145px);display:grid;grid-template-columns:1fr 1fr;gap:5%;margin:0 auto;padding:24px 5% 36px}.welcome{padding:22px 0 0;align-self:center;max-width:610px}.welcome>.eyebrow{font-size:10px;color:var(--ink);letter-spacing:1.7px;margin-bottom:22px}.welcome h1{font-size:clamp(58px,6.7vw,102px);font-weight:650;line-height:.99;letter-spacing:-5px;margin:0 0 24px;font-family:Manrope,Arial,sans-serif}.welcome h1 em{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-5px}.welcome-copy{font-size:16px;line-height:1.6;color:var(--muted);margin:0 0 31px}.choose-device{margin-bottom:26px}.model-switch{display:flex;gap:9px;margin:10px 0 8px}.model-switch button{display:flex;align-items:center;gap:7px;flex:1;text-align:left;min-height:55px;padding:13px 16px;border:1px solid #c5cbce;background:transparent;color:var(--ink);font-size:12px;font-weight:500;letter-spacing:.1px}.model-switch button b{font-size:22px;line-height:1;font-weight:650}.model-switch button span{margin-left:auto;visibility:hidden;font-size:13px;color:var(--blue)}.model-switch button.selected,.model-switch button[aria-pressed=true]{background:#fff;border-color:var(--ink);box-shadow:inset 0 0 0 .5px var(--ink)}.model-switch button.selected span,.model-switch button[aria-pressed=true] span{visibility:visible}.choose-device>p{font-size:12px;margin:0;color:var(--muted)}.path-options{display:grid;gap:10px;margin-top:10px}.path-option{width:100%;display:flex;align-items:center;gap:15px;padding:16px 18px;text-align:left;border-radius:7px;min-height:78px}.path-number{font-size:11px;display:grid;place-items:center;width:29px;height:29px;border:1px solid #c9d4ff;color:var(--blue);border-radius:50%;flex-shrink:0}.path-option strong{display:block;font-size:17px;letter-spacing:-.3px;margin-bottom:4px}.path-option small{display:block;font-size:12px;font-weight:400}.path-arrow{margin-left:auto;font-size:23px;font-weight:400}.practice-path{background:#fff;border-color:#d0d6da;color:var(--ink)}.practice-path small{color:var(--muted)}.competency-path{background:#172b35;color:#fff;border-color:#172b35}.competency-path:hover{background:#254550}.competency-path small{color:#c5d2d6}.competency-path .path-number{background:#e1eea0;border-color:#e1eea0;color:#172b35}.welcome-support{font-size:11px;line-height:1.6;color:var(--muted);margin:17px 0 0}
.device-showcase{position:relative;overflow:hidden;min-width:0;min-height:590px;border-radius:3px;background:#d9e1e6;display:flex;flex-direction:column;justify-content:space-between;padding:28px 30px;isolation:isolate}.device-showcase:after{content:'';position:absolute;inset:0;z-index:-1;opacity:.35;background-image:linear-gradient(#a9b7bf44 1px,transparent 1px),linear-gradient(90deg,#a9b7bf44 1px,transparent 1px);background-size:60px 60px;mask-image:linear-gradient(transparent 15%,black 100%)}.showcase-top{display:flex;align-items:center;justify-content:space-between;font-size:9px;letter-spacing:1.3px;color:#50616a;position:relative;z-index:2}.showcase-top span:last-child{color:var(--ink);font-weight:700}.showcase-number{position:absolute;right:-3%;top:4%;font:650 clamp(190px,24vw,370px)/1 Manrope,Arial,sans-serif;letter-spacing:-27px;color:#bdcbd5;z-index:-1}.device-showcase img{position:absolute;top:50%;left:50%;transform:translate(-50%,-48%) rotate(-5deg);width:110%;max-height:84%;object-fit:contain;mix-blend-mode:multiply;filter:drop-shadow(0 26px 13px #182f4229);pointer-events:none;transition:opacity .2s}.showcase-bottom{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-top:auto;position:relative;z-index:2}.showcase-bottom>span:first-child{font-size:26px;line-height:1.2;letter-spacing:-1px;font-weight:500}.showcase-caption{font-size:9px;line-height:1.7;letter-spacing:1.4px;text-align:right;color:#50616a}.landing-footer{max-width:1440px;padding:16px 0 22px;margin:0 5%;display:flex;justify-content:space-between;border-top:1px solid var(--line);font-size:10px;color:var(--muted)}.landing-footer button{font-size:11px;color:var(--muted);background:none;border:0;padding:0}.rotate-hint{display:none}
/* The session fills the visible viewport. Page content never moves while a device is used. */
body.session-active{overflow:hidden;background:#e8ecee;--accent:#345bd7;--accent-soft:#edf1ff}body.assessment-mode{--accent:#9e641c;--accent-soft:#fbf1df}body.session-active>.site-header,body.session-active>.landing-footer{display:none}.session{height:100svh;height:100dvh;display:flex;flex-direction:column;min-width:0;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);overflow:hidden}.session-header{min-height:62px;flex-shrink:0;background:#182931;color:#fff;padding:0 24px;display:flex;align-items:center;gap:22px;border-bottom:1px solid #ffffff15}.session-header button{background:none;color:#dce6e9;border:0;padding:8px 10px;min-height:40px;font-size:12px}.session-header button:hover{background:#ffffff12}.session-header .back-button{padding-left:0;display:flex;align-items:center;gap:9px;font-size:20px}.back-button>span{font-size:12px}.session-identity{display:flex;align-items:center;gap:16px}.session-identity>strong{font-size:17px;letter-spacing:.4px}.mode-badge{font-size:10px;font-weight:700;letter-spacing:1.2px;line-height:1;padding:8px 10px;background:#365cad;color:#fff;border-radius:4px;white-space:nowrap}.assessment-mode .mode-badge{background:#e9bc71;color:#382407}.session-tools{margin-left:auto;display:flex;align-items:center;gap:5px}.session-tools .help-button{background:#fff;color:#20313b;padding:8px 15px;display:flex;align-items:center;gap:15px}.help-button span{font-size:12px;border:1px solid #7d8a92;display:grid;place-items:center;border-radius:50%;width:16px;height:16px}.session-navigation{height:61px;display:flex;align-items:stretch;justify-content:space-between;flex-shrink:0;background:#fff;padding:0 24px;border-bottom:1px solid #d4dbdd;gap:20px}#scenarios{display:flex;gap:0;align-items:stretch;min-width:0}#scenarios .scenario{width:auto;display:flex;align-items:center;gap:10px;padding:0 23px;background:transparent;border:0;border-bottom:3px solid transparent;border-radius:0;color:#77828a;white-space:nowrap}#scenarios .scenario:first-child{padding-left:0}#scenarios .scenario strong{font-size:14px;margin:0;font-weight:500}#scenarios .scenario .scenario-symbol{font-size:12px;min-width:22px;width:22px;height:22px;display:grid;place-items:center;border:1px solid #d6dcdf;border-radius:50%;color:#788991}#scenarios .scenario small{display:none}#scenarios .scenario.selected{border-bottom-color:var(--accent);color:var(--ink)}#scenarios .scenario.selected strong{font-weight:700}#scenarios .scenario.selected .scenario-symbol{background:var(--accent);color:#fff;border-color:var(--accent)}#scenarios .scenario .done{font-size:13px;color:#2e7569}.session-progress{margin-left:auto;display:flex;gap:8px;align-items:center;border:0;background:transparent;border-left:1px solid #e2e7e9;border-radius:0;padding:0 0 0 23px;font-size:11px;color:#64727a;white-space:nowrap}.session-progress strong{font-size:18px;color:var(--ink);font-weight:600}.session-progress>span:last-child{font-size:21px;color:var(--ink);margin-left:10px}
.simulation{min-height:0;flex:1;display:flex;flex-direction:column;padding:16px 24px 0;gap:12px}.task-strip{position:static;box-shadow:none;flex-shrink:0;min-height:68px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:20px;padding:12px 18px;margin:0;border:1px solid #d0d8e9;border-left:3px solid var(--accent);border-radius:5px;background:var(--accent-soft)}.assessment-mode .task-strip{border-color:#e5d9be;border-left-color:var(--accent)}.task-target{display:block;flex-shrink:0}.task-target>span{display:block;font-size:9px;letter-spacing:1.3px;line-height:1.3;color:var(--accent);margin-bottom:5px}.task-target strong{display:block;font-size:18px;line-height:1.2;color:var(--ink);font-weight:650;letter-spacing:-.3px}.task-next{display:flex;align-items:center;gap:14px;justify-content:flex-end;min-height:0;font-size:13px;color:#405267}.task-next>span{max-width:350px;line-height:1.4}.task-next>button{min-height:40px;padding:9px 14px;font-size:12px;white-space:nowrap;border:1px solid #c0cbde;color:#203e7f;background:#fff}.assessment-mode .task-next>button{color:#6d4718;border-color:#d9c49b}.device-interaction{min-height:0;flex:1;display:grid;grid-template-columns:minmax(0,1fr) 224px;gap:12px}.device-stage{display:flex;flex-direction:column;min-width:0;min-height:0;background:#fff;border:1px solid #d8e0e3;border-radius:6px;overflow:hidden}.stage-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;flex-shrink:0;border-bottom:1px solid #ebeeef;padding:5px 13px;color:#74818a;font-size:11px}.zoom-controls{display:flex;gap:3px;align-items:center}.zoom-controls button{font-size:11px;padding:6px 10px;min-height:32px;border:0;background:transparent;color:#65747c}.zoom-controls button[aria-pressed=true]{background:#edf0f3;color:var(--ink)}.zoom-controls #zoom-in{font-size:19px;line-height:1;width:32px;padding:3px}.device-viewport{position:relative;flex:1;min-height:0;min-width:0;max-height:none;overflow:auto;border:0!important;border-radius:0;overscroll-behavior:contain;touch-action:pan-x pan-y pinch-zoom;background:#fff;scrollbar-width:thin;scrollbar-color:#a7b4bd #f3f5f6}.device-viewport:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.device-mat{display:flex;align-items:center;justify-content:center;min-width:100%;min-height:100%;width:max-content;padding:16px}.device-viewport .device.photo-panel,.device-viewport.enlarged .device.photo-panel{width:var(--device-width,700px);min-width:0;flex:none;margin:0}.photo-panel button{scroll-margin:8px}.device-viewport.enlarged{cursor:grab}.device-viewport.dragging{cursor:grabbing;user-select:none}.device-viewport button{cursor:pointer}.photo-panel button.next-control,.photo-panel button.located-control{outline:3px solid #04dbef!important;box-shadow:0 0 0 4px #102f6399!important;background:#11c4ff22!important}.stage-bottom{min-height:29px;flex-shrink:0;display:flex;align-items:center;gap:15px;padding:6px 13px;border-top:1px solid #edf0f1;font-size:10px;color:#73818a}.stage-bottom .pan-hint{margin-left:auto;color:#375baa}
.bedside-rail{min-height:0;overflow:auto;overscroll-behavior:contain;padding:20px 16px 12px;background:#f7f8f7;border:1px solid #d6dcde;border-radius:6px;display:flex;flex-direction:column;scrollbar-width:thin}.actions-heading{display:block;margin:0 0 18px}.actions-heading .field-label{font-size:9px;letter-spacing:1.2px;color:#737f83;margin-bottom:5px}.actions-heading h3{font-size:18px;letter-spacing:-.4px;font-weight:650;margin:0}.actions-heading p{font-size:11px;color:#74808a;margin:4px 0 0}.bedside-actions{display:flex;flex-direction:column;gap:8px}.bedside-actions button{position:relative;width:100%;min-height:47px;text-align:left;padding:10px 13px 10px 35px;font-size:12px;line-height:1.3;border-radius:6px;background:#fff;border:1px solid #c6d1d7;color:#293e4a;font-weight:550}.bedside-actions button:before{content:'';position:absolute;left:13px;top:50%;transform:translateY(-50%);width:10px;height:10px;border:1px solid #aebfc9;border-radius:50%}.bedside-actions button.done{background:#eaf2ed;border-color:#c2d4c8;color:#386952}.bedside-actions button.done:before{content:'✓';border:0;font-size:11px;font-weight:700;width:12px;height:15px}.bedside-actions button.next-control{outline:2px solid var(--accent)!important;outline-offset:1px;background:var(--accent-soft)}.bedside-actions button:disabled{opacity:.75}.bedside-rail .feedback{font-size:12px;line-height:1.5;padding:12px 0 0;margin-top:14px;border:0;border-top:1px solid #d9e0e1;background:transparent;color:#62727b;border-radius:0;min-height:0;overflow-wrap:anywhere}.bedside-rail .feedback.warning{background:#fff1db;border:1px solid #e1be85;padding:10px;border-radius:5px;color:#774c14}.rail-help{margin-top:auto;padding:18px 0 0;align-self:flex-start;text-align:left;font-size:11px;border:0;background:none;color:#456397}.session-footer{flex-shrink:0;min-height:37px;margin:0;padding:9px 24px;display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#6b7880}.session-footer button{font-size:10px;background:none;border:0;padding:0;color:#5a6870}.session-footer>span:before{content:'';display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--accent);margin-right:7px}
/* Secondary detail is available on demand. */
dialog{padding:26px;border:1px solid #d8dfe0;border-radius:12px;max-height:calc(100dvh - 28px);background:#fcfcf9;width:min(560px,calc(100% - 28px));color:var(--ink);box-shadow:0 24px 100px #10262e55}dialog::backdrop{background:#11232dc4;backdrop-filter:blur(7px)}.dialog-heading{margin-bottom:18px}.dialog-heading h2{font-size:26px;letter-spacing:-1px}.dialog-heading button{width:36px;height:36px;padding:0;display:grid;place-items:center;border:0;background:#e9edef;border-radius:50%;font-size:22px;flex-shrink:0}dialog p,dialog li{font-size:14px;line-height:1.6}dialog details{border-top:1px solid var(--line);padding:15px 0;font-size:13px}dialog summary{font-weight:550}dialog details summary>span{float:right;font-size:11px;color:var(--muted)}.next-step-guide{border:1px solid #c7d2ef;background:#edf2ff;padding:16px;border-radius:7px;margin:18px 0}.next-step-guide h3{font-size:21px;letter-spacing:-.5px;line-height:1.3;margin:7px 0 8px}.next-step-guide p{font-size:14px;line-height:1.6;margin:0 0 15px}.next-step-guide button{background:#fff;border:1px solid #b6c5e5;color:#284ca8;font-size:13px;padding:10px 14px;min-height:42px}.next-step-guide .field-label{color:#42629d}.reference-button{border:0;background:none;color:#426093;font-size:12px;padding:12px 0}.help-dialog .log{margin:0}.help-dialog .milestones{margin:18px 0 0;gap:15px}.help-dialog .vitals{margin:12px 0}.help-dialog #dial-help{color:#61717a;font-size:13px;background:transparent;padding:0}.option-section{padding:18px 0;border-bottom:1px solid var(--line)}.option-section p{font-size:12px;color:var(--muted);margin:10px 0 0}.mode-options{display:flex;gap:7px;margin-top:10px}.mode-options button{flex:1;padding:12px 8px;font-size:13px}.mode-options button.selected{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.optional-lessons{display:grid;gap:8px;margin-top:10px}.optional-lessons button{display:flex;justify-content:space-between;min-height:45px;background:#fff;padding:12px;font-size:13px}.option-restart{padding:12px 0;margin-top:15px;border:0;background:none;font-size:13px;color:#687780}.case-complete{margin:0;padding:0;background:none;border:0;font-size:15px;line-height:1.6}.case-complete strong{display:block;font-family:Manrope,Arial,sans-serif;font-size:30px;line-height:1.2;letter-spacing:-1px;margin:10px 0 14px}.case-complete .primary{width:100%;margin:24px 0 10px;min-height:48px}.case-complete br{display:none}#practice-another{width:100%;font-size:13px}#help-overview p{color:var(--muted)}#help-overview>.primary{width:100%}#report-dialog{width:min(620px,calc(100% - 24px))}.completion-reassurance{font-size:12px;padding:12px;background:#eef2ee;line-height:1.5}#report-form input,#report-form textarea{font-size:16px}#report-form .primary{min-height:46px}#report-status{font-weight:600}.result-row{padding:12px;align-items:center;font-size:12px;line-height:1.4}.result-row b{white-space:normal;text-align:right}.report-completion-note{font-size:13px;color:var(--muted)}
@media(min-width:1600px){.landing-footer{margin-left:auto;margin-right:auto}.device-showcase{min-height:660px}.simulation{padding-left:36px;padding-right:36px}.device-interaction{grid-template-columns:minmax(0,1fr) 250px}.session-header,.session-navigation{padding-left:36px;padding-right:36px}.bedside-rail{padding:25px 20px}.bedside-actions button{font-size:14px;min-height:54px}}
@media(max-width:1100px){.welcome h1{font-size:72px}.welcome-copy{font-size:14px}.launcher{gap:4%;padding-left:4%;padding-right:4%}.device-showcase{padding:23px;min-height:570px}.path-option{padding:14px 13px;gap:10px}.path-option strong{font-size:15px}.path-option small{font-size:11px}.showcase-bottom>span:first-child{font-size:23px}.showcase-caption{font-size:8px}.task-next>span{max-width:260px}.device-interaction{grid-template-columns:minmax(0,1fr) 198px}.bedside-rail{padding:15px 12px}.bedside-actions button{font-size:12px;padding-left:30px}.bedside-actions button:before{left:10px}.task-target strong{font-size:16px}#scenarios .scenario{padding:0 15px}.session-progress>span:not(:last-child){max-width:90px;white-space:normal;line-height:1.3}}
/* Phone portrait: a compact touch workspace with patient actions immediately under the device. */
@media(max-width:650px){.site-header{height:66px;padding:0 22px}.wordmark{font-size:16px}.site-edition{display:none}.site-header #home-results{margin-left:auto;padding:8px 0}.launcher{display:flex;flex-direction:column;gap:0;min-height:0;padding:14px 22px 22px}.welcome{max-width:none;width:100%;padding:8px 0 0}.welcome>.eyebrow{font-size:8px;letter-spacing:1.3px;margin-bottom:20px}.welcome h1{font-size:62px;line-height:1;letter-spacing:-3px;margin-bottom:18px}.welcome h1 em{letter-spacing:-3px}.welcome-copy{font-size:14px;margin-bottom:25px;line-height:1.5}.choose-device{margin-bottom:23px}.model-switch button{min-height:52px;padding:12px}.field-label{font-size:9px}.path-option{min-height:78px;padding:14px 12px}.path-option strong{font-size:16px}.path-option small{font-size:11px;line-height:1.4;max-width:245px}.path-number{width:25px;height:25px}.path-arrow{font-size:20px}.welcome-support{font-size:11px;margin-top:15px}.device-showcase{display:none}.landing-footer{margin:0 22px;padding:15px 0 20px;display:flex;flex-direction:column;gap:12px;font-size:9px;align-items:flex-start}.landing-footer button{font-size:11px}.rotate-hint{display:flex;align-items:center;gap:9px;border-radius:4px;background:#e9eef8;color:#345181;font-size:11px;line-height:1.4;padding:9px 12px;margin-top:19px}.rotate-hint>span{font-size:22px;line-height:1}.session-header{min-height:54px;padding:0 12px;gap:10px}.session-header .back-button{font-size:21px;min-width:26px}.back-button>span{display:none}.session-identity{gap:5px;flex-direction:column;align-items:flex-start}.session-identity>strong{font-size:12px;letter-spacing:0}.mode-badge{font-size:8px;letter-spacing:.7px;padding:3px 6px;border-radius:3px}.session-tools{gap:2px}.session-header .session-tools button{font-size:11px;padding:7px;min-height:36px}.session-header .session-tools .help-button{padding:7px 11px}.help-button span{display:none}#sound{display:none}.session-navigation{height:45px;padding:0 12px;gap:6px}#scenarios{flex:1}#scenarios .scenario,#scenarios .scenario:first-child{flex:1;justify-content:center;padding:0 8px;gap:4px}#scenarios .scenario strong{font-size:11px}#scenarios .scenario .scenario-symbol{display:none}#scenarios .scenario .done{font-size:10px}.session-progress{padding-left:8px;gap:4px}.session-progress strong{font-size:14px}.session-progress>span:not(:last-child){display:none}.session-progress>span:last-child{font-size:17px;margin-left:0}.simulation{padding:8px 8px 0;gap:7px}.task-strip{padding:9px 10px;min-height:76px;gap:7px;display:flex;flex-direction:column;align-items:stretch}.task-target{display:flex;gap:8px;align-items:baseline}.task-target>span{font-size:8px;white-space:nowrap;letter-spacing:.4px;margin:0}.task-target strong{font-size:13px;letter-spacing:-.2px}.task-next{justify-content:space-between;font-size:11px;gap:8px;min-height:32px}.task-next>span{max-width:none;line-height:1.3}.task-next>button{min-height:32px;padding:6px 10px;font-size:11px}.session-rotate{margin:0;min-height:23px;padding:4px 8px;font-size:10px;justify-content:center;background:none}.session-rotate>span{font-size:16px}.device-interaction{display:flex;flex-direction:column;gap:7px}.device-stage{min-height:140px;flex:1}.stage-toolbar{min-height:35px;padding:2px 7px;font-size:9px;gap:2px}.zoom-controls{gap:1px}.zoom-controls button{font-size:10px;padding:4px 8px;min-height:29px}.zoom-controls #zoom-in{width:28px;font-size:18px}.stage-bottom{min-height:22px;padding:4px 8px;font-size:8px;gap:8px}.stage-bottom #sense-label{display:none}.bedside-rail{flex:none;min-height:0;max-height:42%;padding:9px 10px;display:grid;grid-template-columns:1fr;gap:0;overflow:auto}.actions-heading{display:flex;align-items:center;gap:8px;margin:0 0 7px}.actions-heading .field-label{font-size:8px;margin:0}.actions-heading h3{font-size:12px;font-weight:600;letter-spacing:0}.actions-heading p{margin:0 0 0 auto;font-size:9px}.bedside-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}.bedside-actions button{min-height:40px;padding:8px 8px 8px 26px;font-size:11px}.bedside-actions button:before{left:9px;width:9px;height:9px}.bedside-rail .feedback{font-size:10px;line-height:1.35;margin:7px 0 0;padding:7px 0 0}.bedside-rail .feedback.warning{padding:7px}.rail-help{display:none}.session-footer{min-height:27px;padding:6px 10px;font-size:8px}.session-footer button{font-size:9px}.session-footer>span:before{width:4px;height:4px;margin-right:4px}dialog{padding:20px;max-height:calc(100dvh - 16px);border-radius:10px}.dialog-heading h2{font-size:24px}.dialog-heading{margin-bottom:12px}.case-complete strong{font-size:26px}.result-row{font-size:11px}.result-row b{max-width:45%}}
/* Short landscape phones use a console layout: fixed controls, scrollable photograph. */
@media(max-height:550px) and (orientation:landscape){.site-header{height:55px}.launcher{padding-top:8px}.welcome h1{font-size:52px;letter-spacing:-3px}.welcome h1 br{display:none}.welcome h1 em{letter-spacing:-3px}.welcome>.eyebrow{margin-bottom:12px;font-size:8px}.welcome-copy{margin-bottom:18px;font-size:13px}.device-showcase{min-height:500px}.choose-device{margin-bottom:18px}.path-option{min-height:69px}.session-header{min-height:43px;padding:0 12px;gap:14px}.session-identity{flex-direction:row;gap:12px}.session-identity>strong{font-size:13px}.mode-badge{font-size:8px;padding:5px 7px}.session-header button{min-height:32px;padding:5px 8px;font-size:11px}.session-tools .help-button{padding:6px 12px}.session-navigation{height:39px;padding:0 12px}.session-progress{padding-left:14px;font-size:10px}.session-progress strong{font-size:15px}.session-progress>span:last-child{font-size:18px}#scenarios .scenario,#scenarios .scenario:first-child{padding:0 15px;gap:7px}#scenarios .scenario:first-child{padding-left:0}#scenarios .scenario strong{font-size:12px}#scenarios .scenario .scenario-symbol{width:18px;height:18px;min-width:18px;font-size:10px}.simulation{padding:6px 9px 0;gap:6px}.task-strip{min-height:48px;padding:5px 10px;gap:12px;flex-direction:row;align-items:center}.task-target{display:block}.task-target>span{font-size:7px;margin-bottom:3px;letter-spacing:1px}.task-target strong{font-size:13px}.task-next{font-size:11px;gap:9px}.task-next>span{max-width:280px;line-height:1.25}.task-next>button{min-height:32px;padding:6px 10px;font-size:11px}.session-rotate{display:none}.device-interaction{display:grid;grid-template-columns:minmax(0,1fr) 178px;gap:7px}.device-stage{min-height:0}.stage-toolbar{min-height:32px;padding:2px 8px;font-size:9px}.zoom-controls button{min-height:27px;padding:4px 8px;font-size:10px}.zoom-controls #zoom-in{width:28px;font-size:17px}.stage-bottom{min-height:19px;font-size:8px;padding:3px 8px}.bedside-rail{padding:9px;max-height:none;display:flex;overflow:auto}.actions-heading{display:block;margin:0 0 8px}.actions-heading .field-label{font-size:7px;letter-spacing:1px;margin-bottom:3px}.actions-heading h3{font-size:13px;letter-spacing:0}.actions-heading p{display:none}.bedside-actions{display:flex;gap:5px}.bedside-actions button{min-height:37px;padding:8px 7px 8px 27px;font-size:10px;line-height:1.2}.bedside-actions button:before{left:9px;width:9px;height:9px}.bedside-rail .feedback{font-size:10px;line-height:1.35;margin-top:9px;padding-top:9px}.rail-help{display:none}.session-footer{min-height:23px;font-size:8px;padding:5px 10px}.session-footer button{font-size:9px}}
@media(prefers-reduced-motion:no-preference){.welcome{animation:arrive .5s both}.device-showcase{animation:arrive .6s .08s both}.session:not([hidden]){animation:arrive .2s both}dialog[open]{animation:dialog-in .18s both}@keyframes arrive{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}@keyframes dialog-in{from{opacity:0;transform:translateY(7px) scale(.99)}to{opacity:1;transform:none}}}
/* Keep both entry paths visible on typical laptop screens. */
@media(min-width:651px) and (max-height:850px){.site-header{height:64px}.launcher{padding-top:12px;padding-bottom:20px;min-height:calc(100svh - 116px)}.welcome{padding:0}.welcome>.eyebrow{margin-bottom:16px}.welcome h1{font-size:clamp(58px,5.8vw,78px);line-height:.96;margin-bottom:16px}.welcome-copy{font-size:14px;margin-bottom:20px;line-height:1.5}.choose-device{margin-bottom:18px}.path-option{min-height:66px;padding:12px 16px}.path-option strong{font-size:16px}.welcome-support{margin-top:12px}.device-showcase{min-height:530px}.landing-footer{padding-top:13px;padding-bottom:15px}}
/* On a phone in landscape, give the photograph the height that repeated status text used. */
@media(max-width:950px) and (max-height:550px) and (orientation:landscape){.session-footer,.stage-bottom{display:none}.simulation{padding-bottom:7px}.stage-toolbar{min-height:29px}.device-interaction{grid-template-columns:minmax(0,1fr) 202px}.bedside-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}.bedside-actions button{min-height:44px;padding:8px 6px 8px 23px;font-size:10px}.bedside-actions button:before{left:7px;width:8px;height:8px}.actions-heading{display:flex;align-items:center;gap:8px;margin-bottom:8px}.actions-heading .field-label{display:none}.actions-heading h3{font-size:12px}.bedside-rail .feedback{font-size:10px;margin-top:8px;padding-top:8px}}
.option-sound{margin:18px 14px 0 0;font-size:13px;min-height:40px}.option-sound[aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent)}
@media(max-width:650px) and (orientation:portrait){.bedside-rail{max-height:55%;grid-auto-rows:max-content}.bedside-rail .feedback{min-height:min-content}.stage-toolbar #stage-caption{max-width:150px;line-height:1.25}}
@media(max-width:650px) and (max-height:700px) and (orientation:portrait){.session-footer,.stage-bottom{display:none}.simulation{padding-bottom:8px}.session-header{min-height:52px}.session-navigation{height:43px}.session-rotate{min-height:20px;padding:2px 8px}.task-strip{min-height:72px}}

/* Independent edition disclosure and reporting states. */
.privacy-disclosure{font-size:11px;line-height:1.55;color:#52636b;padding:12px 14px;background:#eaf0f2;border-left:3px solid #758d99;border-radius:0 6px 6px 0;margin:0 0 18px}.privacy-disclosure strong{display:block;color:#253944;margin-bottom:3px}.recording-status{position:fixed;bottom:10px;left:50%;transform:translateX(-50%);z-index:10;width:min(650px,calc(100% - 24px));margin:0;padding:10px 14px;font-size:12px;line-height:1.45;background:#fff3d8;border:1px solid #d1b675;border-radius:8px;color:#5a4115;box-shadow:0 5px 20px #13232d1c}.result-row small{display:block;margin-top:4px;color:#56746a;font-weight:400}.email-copy{margin:20px 0!important}.email-copy input{width:auto;margin:0;accent-color:var(--accent)}#report-status{font-size:13px;line-height:1.6;color:#36525f}#download-report{margin-top:12px}#report-form input:disabled,#report-form textarea:disabled{opacity:.78;background:#f2f4f4}
@media(min-width:651px) and (max-height:850px){.launcher{padding-top:8px}.welcome h1{font-size:clamp(50px,5.3vw,70px);margin-bottom:14px}.welcome-copy{margin-bottom:15px}.choose-device{margin-bottom:14px}.privacy-disclosure{margin-bottom:13px;padding:9px 12px}.device-showcase{min-height:540px}.path-option{min-height:65px}.welcome-support{margin-top:10px}}
@media(max-width:650px){.privacy-disclosure{font-size:12px}.result-row{flex-direction:column;gap:6px}.result-row b{white-space:normal}.recording-status{font-size:11px}}

.mail-fallback{margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}.mail-report{display:inline-block;padding:11px 14px;border:1px solid #bbc9d4;border-radius:6px;text-decoration:none;font-size:13px;font-weight:600;background:#edf1f8;color:#243d58}.mail-report:hover{background:#e0e8f5}.mail-fallback .form-note{font-size:12px;margin:9px 0 0}.mail-fallback label{margin-top:0}.mail-fallback input{margin-bottom:12px}
