:root{color:var(--text);background:var(--page-bg);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--page-bg:#eef4f7;--page-gradient:linear-gradient(180deg, #14395214, #14395200 240px);--text:#182033;--heading:#0e1728;--muted:#3f485c;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px;line-height:1.45}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--page-bg:#0b111a;--page-gradient:linear-gradient(180deg, #1f6f8b29, #0b111a00 260px);--text:#e8eef6;--heading:#f6f9fc;--muted:#b8c5d6}*{box-sizing:border-box}body{background:var(--page-gradient), var(--page-bg);min-width:320px;margin:0}h1,h2,h3,p{margin:0}h1{color:var(--heading);font-size:2rem;line-height:1.05}h2{color:var(--heading);font-size:1.46rem;line-height:1.15}p{color:var(--muted)}.app-shell{width:min(100%,980px);min-height:100svh;margin:0 auto;padding:18px 14px 32px}.topbar,.flight-briefing,.mission-header,.feedback-heading,.history-row{justify-content:space-between;align-items:center;gap:16px;display:flex}.topbar{align-items:flex-start;margin-bottom:16px}.top-actions,.run-controls,.panel-heading{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.panel-heading{justify-content:space-between;align-items:flex-start}.eyebrow{color:#607087;letter-spacing:.08em;text-transform:uppercase;font-size:.74rem;font-weight:900}button{color:#122033;min-height:44px;font:inherit;cursor:pointer;background:#fff;border:1px solid #b9c6d5;border-radius:8px;padding:0 14px;font-weight:850}button:hover{background:#f5fbfd;border-color:#1f6f8b}button:disabled{cursor:not-allowed;opacity:.58}button:focus-visible,.answer-option:focus-visible,.glossary-term:focus-visible{outline-offset:3px;outline:3px solid #2f80ed}.topbar button,.feedback button,.actions button:first-child{color:#fff;background:#1f6f8b;border-color:#1f6f8b}.topbar button:hover,.feedback button:hover,.actions button:first-child:hover{background:#18576d;border-color:#18576d}.theme-toggle{background:#f8fbfd;place-items:center;width:44px;min-width:44px;padding:0;font-size:1.2rem;line-height:1;display:inline-grid}.topbar .theme-toggle{color:#122033;background:#f8fbfd;border-color:#b9c6d5}.icon-button{border-radius:999px;place-items:center;width:36px;min-width:36px;min-height:36px;padding:0;font-size:1.25rem;line-height:1;display:inline-grid}.icon-button:hover,.topbar .theme-toggle:hover{color:#122033;background:#e7f5f8;border-color:#1f6f8b}.flight-briefing{z-index:2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#eff5f9f0;border-block:1px solid #8b9bb047;margin:0 -14px 14px;padding:10px 14px;position:sticky;top:0}.flight-briefing span,.mission-title span,.stat span,.history-row span,.feedback-heading span,time{color:#66778d;font-size:.78rem;font-weight:800;display:block}.exam-note{color:#5d6b7f;margin:-3px 0 14px;font-size:.84rem;font-weight:700;line-height:1.4}.mode-tabs{background:#ffffffb3;border:1px solid #95a4b861;border-radius:10px;grid-template-columns:repeat(3,minmax(92px,1fr));gap:3px;margin-bottom:16px;padding:3px;display:inline-grid}.mode-tabs button{background:0 0;border-color:#0000;border-radius:8px;min-height:38px}.mode-tabs button[aria-current=page]{color:#145469;background:#e7f5f8;border-color:#1f6f8b2e;box-shadow:0 4px 14px #1d304914}.practice-shell,.exam-home{gap:16px;display:grid}.onboarding-panel,.rank-panel,.practice-section,.mission-picker,.scenario-panel{background:#fff;border:1px solid #95a4b85c;border-radius:8px;gap:12px;padding:16px;display:grid;box-shadow:0 16px 40px #1d304914}.onboarding-panel{box-shadow:none;grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:12px 14px}.practice-hero{background:radial-gradient(circle at 88% 14%,#1f6f8b29,#0000 30%),linear-gradient(135deg,#1f6f8b1a,#2f9b8f14),#fff;border:1px solid #1f6f8b3d;border-radius:16px;gap:18px;padding:22px;display:grid;position:relative;overflow:hidden;box-shadow:0 18px 46px #1d30491c}.practice-hero:after{content:"";opacity:.28;pointer-events:none;background:linear-gradient(90deg,#0000 48%,#1f6f8b5c 50%,#0000 52%),repeating-radial-gradient(circle,#0000 0 18px,#1f6f8b3d 19px 20px);width:190px;height:96px;position:absolute;inset:14px 16px auto auto}.hero-copy{z-index:1;align-items:center;gap:14px;display:flex;position:relative}.rank-insignia{color:#fff;background:#1f6f8b;border-radius:14px;place-items:center;width:48px;height:48px;font-weight:950;display:inline-grid}.hero-progress,.hero-actions{z-index:1;gap:10px;display:grid;position:relative}.hero-meta{color:#526278;flex-wrap:wrap;gap:8px 14px;font-size:.86rem;font-weight:850;display:flex}.hero-actions{grid-template-columns:auto minmax(0,1fr);align-items:center}.hero-actions p{font-size:.82rem;font-weight:650}.rank-meter{background:#dfe8f1;border-radius:999px;height:12px;overflow:hidden}.rank-meter span{border-radius:inherit;background:linear-gradient(90deg,#1f6f8b,#d99b24);height:100%;display:block}.training-section{gap:12px;display:grid}.section-heading{justify-content:space-between;align-items:flex-end;gap:14px;display:flex}.mode-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:12px;display:grid}.mode-card{text-align:left;background:#fff;border:1px solid #95a4b85c;border-radius:12px;grid-template-columns:auto minmax(0,1fr);align-content:start;gap:10px 12px;width:100%;min-height:142px;padding:14px;display:grid;box-shadow:0 8px 22px #1d30490f}.mode-card:hover{transform:translateY(-1px);box-shadow:0 14px 28px #1d30491a}.mode-card.featured{background:#f2fafb;border-color:#1f6f8b57}.mode-icon{color:#1f6f8b;background:#e7f5f8;border-radius:10px;place-items:center;width:36px;height:36px;font-weight:950;display:inline-grid}.mode-card-copy{gap:4px;min-width:0;display:grid}.mode-card h3{color:#122033;margin:0;font-size:1.06rem}.mode-card-copy span,.mode-card-footer span,.mission-button span,.topic-training-button span,.topic-training-button small{color:#66778d;font-size:.82rem;font-weight:800}.mode-card p{font-size:.9rem}.mode-card-footer{grid-column:1/-1;justify-content:space-between;align-items:center;gap:10px;display:flex}.mode-card-footer span{max-width:58%}.mode-card-footer strong{color:#1f6f8b;min-width:max-content;font-size:.86rem}.mission-list,.topic-training-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;display:grid}.mission-dialog-backdrop{z-index:20;background:#070d156b;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.mission-dialog{background:#fff;border:1px solid #95a4b85c;border-radius:16px;gap:16px;width:min(760px,100%);max-height:min(760px,100svh - 36px);padding:18px;display:grid;overflow:auto;box-shadow:0 26px 80px #070d1547}.mission-option-list{gap:6px;display:grid}.mission-option{text-align:left;background:0 0;border-color:#0000;border-radius:10px;grid-template-columns:34px minmax(0,1fr) auto;gap:4px 10px;min-height:78px;padding:10px 12px;display:grid}.mission-option>span{color:#1f6f8b;background:#e7f5f8;border-radius:999px;grid-row:span 3;place-items:center;width:30px;height:30px;display:inline-grid}.mission-option small{color:#66778d;font-weight:850}.mission-option p{grid-column:2/-1}.mission-option[aria-pressed=true]{background:#eef7f8;box-shadow:inset 3px 0 #1f6f8b}.mission-dialog-actions{border-top:1px solid #e4ebf2;justify-content:space-between;align-items:center;gap:14px;padding-top:14px;display:flex}.mission-dialog-actions div{gap:3px;display:grid}.mission-dialog-actions span{color:#66778d;font-size:.84rem;font-weight:800}.mission-button,.topic-training-button{text-align:left;gap:6px;height:auto;min-height:104px;padding:14px;display:grid}.mission-button p{font-weight:650}.quiz-card,.results-card,.history-panel{background:#fff;border:1px solid #95a4b85c;border-radius:8px;box-shadow:0 16px 40px #1d304914}.quiz-card,.results-card{gap:16px;padding:14px;display:grid}.quiz-card{border-top:5px solid var(--topic-accent,#1f6f8b)}.mission-title{gap:3px;display:grid}.timer-display{text-align:right;background:#f7fafc;border:1px solid #d9e2eb;border-radius:8px;min-width:146px;padding:10px 12px}.timer-display strong{color:#122033;font-variant-numeric:tabular-nums;margin-top:3px;font-size:1.24rem;line-height:1.1;display:block}.timer-display.warning{background:#fff8e8;border-color:#d9a541}.timer-display.warning span,.timer-display.urgent span{color:#63451a}.timer-display.urgent{background:#fff0eb;border-color:#c35e45}.lives-display{background:#f7fafc;border:1px solid #d9e2eb;border-radius:8px;align-items:center;gap:7px;min-height:44px;padding:9px 12px;display:flex}.lives-display span{background:#e7edf3;border:2px solid #9aacbf;border-radius:6px 6px 9px 9px;width:20px;height:26px;display:block}.lives-display span.active{background:#2f9b8f;border-color:#1f6f8b}.mission-progress{background:#dfe8f1;border-radius:999px;height:12px;overflow:hidden}.mission-progress span{border-radius:inherit;background:linear-gradient(90deg,#1f6f8b,#2f9b8f);height:100%;transition:width .18s;display:block}.exam-status,.summary-grid,.feedback-stats,.topic-extremes{grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:10px;display:grid}.stat{background:#f8fbfd;border:1px solid #dce5ee;border-radius:8px;min-width:0;padding:10px 12px}.stat strong{overflow-wrap:anywhere;color:#122033;font-size:1.05rem;display:block}.stat.warm{background:#fff8e8;border-color:#dfb157}.question-panel{gap:18px;padding-top:2px;display:grid}.question-panel h2{max-width:44rem}.question-meta{gap:10px;display:grid}.topic-badge{border:1px solid color-mix(in srgb, var(--topic-accent,#1f6f8b) 42%, #fff);background:color-mix(in srgb, var(--topic-accent,#1f6f8b) 10%, #fff);width:fit-content;color:var(--topic-accent,#1f6f8b);border-radius:999px;align-items:center;gap:8px;padding:5px 10px;font-size:.78rem;font-weight:900;display:inline-flex}.topic-badge span{background:var(--topic-accent,#1f6f8b);color:#fff;border-radius:999px;place-items:center;min-width:24px;height:24px;font-size:.68rem;display:inline-grid}.answer-list{gap:10px;display:grid}.answer-option{color:#1f2937;text-align:left;background:#fff;border:1px solid #cdd8e4;border-radius:8px;grid-template-columns:36px minmax(0,1fr);align-items:start;gap:12px;width:100%;min-height:60px;padding:14px;display:grid}.answer-option:hover{background:#f3fafc;border-color:#1f6f8b}.answer-marker{color:#26384d;background:#eaf1f7;border-radius:999px;place-items:center;width:32px;height:32px;font-size:.88rem;font-weight:950;display:inline-grid}.answer-option strong{align-self:center;line-height:1.42}.answer-option.selected:not(.correct):not(.wrong){border-color:#1f6f8b;box-shadow:inset 0 0 0 2px #1f6f8b}.answer-option.selected .answer-marker{color:#fff;background:#1f6f8b}.answer-option.correct{background:#eef8f2;border-color:#2f855a}.answer-option.correct .answer-marker{color:#fff;background:#2f855a}.answer-option.wrong{background:#fff0eb;border-color:#b85a42}.answer-option.wrong .answer-marker{color:#fff;background:#b85a42}.glossary-wrapper{display:inline;position:relative}.glossary-term{min-height:0;color:inherit;font:inherit;font-weight:inherit;text-align:inherit;background:0 0;border:0;border-bottom:1px dotted;border-radius:0;padding:0;text-decoration:none}.glossary-popover{z-index:5;color:#182033;background:#fff;border:1px solid #b8c4d2;border-radius:8px;gap:4px;width:min(280px,100vw - 36px);padding:10px;font-size:.88rem;font-weight:600;line-height:1.35;display:grid;position:absolute;top:calc(100% + 6px);left:0;box-shadow:0 16px 40px #18203329}.glossary-popover strong{font-size:.92rem}.glossary-popover span{display:block}.feedback{border:1px solid;border-radius:8px;gap:12px;min-height:170px;padding:14px;display:grid}.feedback.good{background:#f0faf3;border-color:#8bc9a2}.feedback.bad{background:#fff2ee;border-color:#e5a08f}.feedback-heading{align-items:flex-start}.feedback-heading strong{font-size:1.1rem}.feedback-layer,.relevance-card,.reference-details{background:#ffffff9e;border:1px solid #95a4b84d;border-radius:8px;gap:6px;padding:12px;display:grid}.relevance-card strong{color:#122033}.reference-details summary{color:#26384d;cursor:pointer;min-height:32px;font-weight:900}.choice-rationales{gap:8px;display:grid}.choice-rationales div{border-top:1px solid #1820331f;grid-template-columns:28px minmax(0,1fr);gap:8px;padding-top:8px;display:grid}.choice-rationales b{color:#26384d;background:#e9f1f7;border-radius:999px;place-items:center;width:24px;height:24px;font-size:.78rem;display:inline-grid}.source-block{border-left:3px solid var(--topic-accent,#1f6f8b);background:0 0;gap:3px;padding:2px 0 2px 10px;display:grid}.source-block span{color:var(--topic-accent,#1f6f8b);letter-spacing:.04em;text-transform:uppercase;font-size:.74rem;font-weight:900}.source-block strong{color:#26384d}.source-block p{font-size:.86rem}.source-block.compact{width:fit-content}.source-block.compact summary{width:fit-content;min-height:30px;color:var(--topic-accent,#1f6f8b);cursor:pointer;font-size:.78rem;font-weight:900}.source-block.compact strong,.source-block.compact p{max-width:34rem;display:block}.figure-panel{gap:6px;margin:0;display:grid}.figure-preview-button{background:#fff;border:1px solid #dce5ee;border-radius:8px;width:100%;min-height:0;padding:0;position:relative;overflow:hidden}.figure-preview-button img{object-fit:contain;width:100%;max-height:52svh}.figure-preview-button span{color:#fff;background:#122033e0;border-radius:999px;padding:7px 10px;font-size:.78rem;font-weight:900;position:absolute;bottom:10px;right:10px}.figure-panel figcaption{color:#66778d;font-size:.78rem;font-weight:800}.figure-viewer-backdrop{z-index:30;background:#070d15ad;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.figure-viewer{background:#fff;border:1px solid #95a4b85c;border-radius:14px;grid-template-rows:auto minmax(0,1fr);width:min(1100px,100%);max-height:calc(100svh - 32px);display:grid;overflow:hidden;box-shadow:0 28px 90px #070d1557}.figure-viewer-toolbar{border-bottom:1px solid #e4ebf2;justify-content:space-between;align-items:flex-start;gap:12px;padding:14px;display:flex}.figure-viewer-scroll{background:#edf2f7;padding:12px;overflow:auto}.figure-viewer-scroll img{background:#fff;border:1px solid #cdd8e4;border-radius:8px;width:max(980px,100%);max-width:none;margin:0 auto;display:block}.debrief-hero{background:linear-gradient(135deg,#f7fafc,#edf6f7);border:1px solid #d7e0ea;border-radius:8px;gap:8px;padding:18px;display:grid}.debrief-hero.passed{background:linear-gradient(135deg,#f1fbf4,#edf7f8);border-color:#9dcaaf}.history-panel{box-shadow:none;gap:12px;padding:14px;display:grid}.history-list{gap:9px;display:grid}.history-row{border-bottom:1px solid #e4ebf2;align-items:center;padding-bottom:9px}.history-row:last-child{border-bottom:0;padding-bottom:0}.history-row b{color:#122033}.achievement-list{flex-wrap:wrap;gap:8px;display:flex}.achievement-badge{color:#4f3915;background:#fff8e8;border:1px solid #dfb157;border-radius:999px;align-items:center;gap:8px;padding:8px 11px;font-size:.86rem;display:inline-flex}.achievement-badge span{color:#fff;background:#d99b24;border-radius:999px;place-items:center;width:20px;height:20px;display:inline-grid}.achievement-badge.locked{color:#66778d;background:#f8fbfd;border-color:#d9e2eb}.achievement-badge.locked span{background:#9aacbf}.actions{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;display:grid}.ghost-button{background:0 0}.compact-grid{grid-template-columns:repeat(auto-fit,minmax(112px,1fr))}:root[data-theme=dark] .eyebrow,:root[data-theme=dark] .flight-briefing span,:root[data-theme=dark] .mission-title span,:root[data-theme=dark] .stat span,:root[data-theme=dark] .history-row span,:root[data-theme=dark] .feedback-heading span,:root[data-theme=dark] .mode-card-copy span,:root[data-theme=dark] .mode-card-footer span,:root[data-theme=dark] .mission-button span,:root[data-theme=dark] .mission-option small,:root[data-theme=dark] .mission-dialog-actions span,:root[data-theme=dark] .topic-training-button span,:root[data-theme=dark] .topic-training-button small,:root[data-theme=dark] .figure-panel figcaption,:root[data-theme=dark] time{color:#9fb0c5}:root[data-theme=dark] button,:root[data-theme=dark] .theme-toggle,:root[data-theme=dark] .icon-button,:root[data-theme=dark] .mode-tabs button,:root[data-theme=dark] .answer-option,:root[data-theme=dark] .mission-button,:root[data-theme=dark] .topic-training-button{color:#e8eef6;background:#111a27;border-color:#314155}:root[data-theme=dark] button:hover,:root[data-theme=dark] .answer-option:hover{color:#e8eef6;background:#142434;border-color:#48a5bf}:root[data-theme=dark] .topbar button:not(.theme-toggle),:root[data-theme=dark] .feedback button,:root[data-theme=dark] .actions button:first-child{color:#061018;background:#2b8faa;border-color:#2b8faa}:root[data-theme=dark] .topbar .theme-toggle,:root[data-theme=dark] .topbar .theme-toggle:hover{color:#f6f9fc;background:#111a27;border-color:#314155}:root[data-theme=dark] .topbar .theme-toggle:hover{background:#142434;border-color:#48a5bf}:root[data-theme=dark] .icon-button:hover{color:#f6f9fc;background:#142434;border-color:#48a5bf}:root[data-theme=dark] .mode-tabs button[aria-current=page]{color:#d5f5ff;background:#173142;border-color:#48a5bf}:root[data-theme=dark] .mode-tabs{background:#080e17b8;border-color:#8fabc957;gap:2px;box-shadow:inset 0 0 0 1px #ffffff08,0 8px 24px #0003}:root[data-theme=dark] .mode-tabs button{color:#c9d5e5;box-shadow:none;background:0 0;border-color:#0000}:root[data-theme=dark] .mode-tabs button:hover{color:#f6f9fc;background:#48a5bf1a;border-color:#48a5bf38}:root[data-theme=dark] .mode-tabs button[aria-current=page]{color:#f6fbff;background:linear-gradient(#24677bc7,#173e52c7);border-color:#5abed857;box-shadow:inset 0 1px #ffffff1f,0 5px 14px #040c163d}:root[data-theme=dark] .flight-briefing{background:#0d1621f0;border-color:#748ba647}:root[data-theme=dark] .onboarding-panel,:root[data-theme=dark] .practice-hero,:root[data-theme=dark] .practice-section,:root[data-theme=dark] .scenario-panel,:root[data-theme=dark] .mode-card,:root[data-theme=dark] .mission-dialog,:root[data-theme=dark] .quiz-card,:root[data-theme=dark] .results-card,:root[data-theme=dark] .history-panel{background:#0f1724;border-color:#7e94ae47;box-shadow:0 18px 46px #00000052}:root[data-theme=dark] .practice-hero{background:radial-gradient(circle at 88% 14%,#2f9b8f33,#0000 30%),linear-gradient(135deg,#2f9b8f24,#d99b2414),#0f1724}:root[data-theme=dark] .mode-card.featured,:root[data-theme=dark] .mission-option[aria-pressed=true]{background:#142434;border-color:#48a5bf70}:root[data-theme=dark] .mode-icon,:root[data-theme=dark] .mission-option>span{color:#d5f5ff;background:#173142}:root[data-theme=dark] .hero-meta,:root[data-theme=dark] .mode-card-footer strong{color:#9bd8e7}:root[data-theme=dark] .mode-card h3,:root[data-theme=dark] .timer-display strong,:root[data-theme=dark] .stat strong,:root[data-theme=dark] .answer-option,:root[data-theme=dark] .relevance-card strong,:root[data-theme=dark] .reference-details summary,:root[data-theme=dark] .source-block strong,:root[data-theme=dark] .history-row b,:root[data-theme=dark] .glossary-popover,:root[data-theme=dark] .mission-dialog-actions strong,:root[data-theme=dark] h3{color:#f6f9fc}:root[data-theme=dark] .timer-display,:root[data-theme=dark] .lives-display,:root[data-theme=dark] .stat,:root[data-theme=dark] .glossary-popover,:root[data-theme=dark] .feedback-layer,:root[data-theme=dark] .relevance-card,:root[data-theme=dark] .reference-details{background:#111d2b;border-color:#314155}:root[data-theme=dark] .mission-progress,:root[data-theme=dark] .rank-meter{background:#223044}:root[data-theme=dark] .answer-marker,:root[data-theme=dark] .choice-rationales b{color:#dbe7f5;background:#223044}:root[data-theme=dark] .answer-option.correct{background:#10271c;border-color:#4fb477}:root[data-theme=dark] .answer-option.wrong{background:#321811;border-color:#d2765f}:root[data-theme=dark] .feedback.good{background:#10271c;border-color:#4fb477}:root[data-theme=dark] .feedback.bad{background:#321811;border-color:#d2765f}:root[data-theme=dark] .timer-display.warning,:root[data-theme=dark] .stat.warm,:root[data-theme=dark] .achievement-badge{color:#ffe5a8;background:#2d240f;border-color:#d9a541}:root[data-theme=dark] .timer-display.urgent{background:#321811;border-color:#d2765f}:root[data-theme=dark] .timer-display.warning span,:root[data-theme=dark] .timer-display.urgent span{color:#ffe5a8}:root[data-theme=dark] .topic-badge{border-color:color-mix(in srgb, var(--topic-accent,#48a5bf) 56%, #0f1724);background:color-mix(in srgb, var(--topic-accent,#48a5bf) 20%, #0f1724);color:#e8eef6}:root[data-theme=dark] .figure-preview-button{background:#0b111a;border-color:#314155}:root[data-theme=dark] .figure-viewer{background:#0f1724;border-color:#7e94ae47}:root[data-theme=dark] .figure-viewer-toolbar{border-bottom-color:#253449}:root[data-theme=dark] .figure-viewer-scroll{background:#0b111a}:root[data-theme=dark] .figure-viewer-scroll img{border-color:#314155}:root[data-theme=dark] .debrief-hero{background:linear-gradient(135deg,#111d2b,#0f1724);border-color:#314155}:root[data-theme=dark] .debrief-hero.passed{background:linear-gradient(135deg,#10271c,#0f1724);border-color:#4fb477}:root[data-theme=dark] .history-row{border-bottom-color:#253449}:root[data-theme=dark] .mission-dialog-actions{border-top-color:#253449}:root[data-theme=dark] .achievement-badge.locked{color:#9fb0c5;background:#111d2b;border-color:#314155}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}.mode-card:hover{transform:none}}@media (width>=720px){.app-shell{padding:28px 22px 44px}.quiz-card,.results-card{padding:20px}.question-meta{grid-template-columns:auto minmax(0,1fr);align-items:center}}@media (width<=620px){.app-shell{padding:14px 14px 28px}.topbar{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px;margin-bottom:12px;display:grid}.topbar h1{font-size:clamp(2.25rem,12vw,3.35rem);line-height:.98}.top-actions{justify-content:end}.topbar .theme-toggle{border-radius:14px;width:54px;min-width:54px;min-height:54px;font-size:1.55rem}.mode-tabs{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;margin-bottom:14px;display:grid}.mode-tabs button{min-height:42px;padding:0 8px;font-size:.92rem}.app-shell.in-session{padding:8px 8px 18px}.app-shell.in-session .topbar{flex-direction:row;align-items:center;gap:8px;margin-bottom:6px}.app-shell.in-session .topbar .eyebrow{display:none}.app-shell.in-session .topbar h1{font-size:1rem;line-height:1.1}.app-shell.in-session .top-actions button{min-width:34px;min-height:34px;padding:0 9px}.app-shell.in-session .mode-tabs{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;margin-bottom:6px;padding:2px}.app-shell.in-session .mode-tabs button{border-radius:6px;min-height:30px;padding:0 6px;font-size:.78rem}.mission-header,.feedback-heading,.flight-briefing,.onboarding-panel,.panel-heading{flex-direction:column;align-items:stretch}.onboarding-panel{grid-template-columns:1fr}.app-shell.in-session .quiz-card{border-top-width:3px;gap:8px;padding:9px}.app-shell.in-session .mission-header{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;display:grid}.app-shell.in-session .mission-title{gap:1px;min-width:0}.app-shell.in-session .mission-title .eyebrow{display:none}.app-shell.in-session .mission-title h2{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:1rem;line-height:1.15;overflow:hidden}.app-shell.in-session .mission-title span{color:#66778d;font-size:.78rem;font-weight:850}.app-shell.in-session .run-controls{flex-wrap:nowrap;gap:5px}.app-shell.in-session .run-controls .ghost-button{min-height:32px;padding:0 9px;font-size:.76rem}.app-shell.in-session .timer-display,.app-shell.in-session .lives-display{text-align:center;width:auto;min-width:0;min-height:32px;padding:5px 8px}.app-shell.in-session .timer-display span{display:none}.app-shell.in-session .timer-display strong{margin:0;font-size:.92rem}.app-shell.in-session .lives-display span{width:14px;height:18px}.app-shell.in-session .scenario-panel{gap:4px;padding:9px}.app-shell.in-session .scenario-panel p:not(.eyebrow){-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.86rem;display:-webkit-box;overflow:hidden}.app-shell.in-session .mission-progress{height:6px}.app-shell.in-session .exam-status{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.app-shell.in-session .exam-status .stat{min-height:0;padding:5px 6px}.app-shell.in-session .exam-status .stat span{text-overflow:ellipsis;white-space:nowrap;font-size:.62rem;font-weight:900;line-height:1.15;display:block;overflow:hidden}.app-shell.in-session .exam-status .stat strong{margin-top:1px;font-size:.86rem;line-height:1.1}.app-shell.in-session .question-panel{gap:8px;padding-top:0}.app-shell.in-session .question-meta{justify-content:space-between;align-items:center;gap:8px;display:flex}.app-shell.in-session .topic-badge{gap:5px;padding:3px 7px;font-size:.7rem}.app-shell.in-session .topic-badge span{min-width:18px;height:18px;font-size:.58rem}.app-shell.in-session .source-block.compact{border-left-width:0;padding:0}.app-shell.in-session .source-block.compact summary{min-height:24px;font-size:.68rem}.app-shell.in-session .source-block.compact strong,.app-shell.in-session .source-block.compact p{max-width:min(84vw,26rem);font-size:.74rem}.app-shell.in-session .question-panel h2{max-width:none;font-size:1.24rem;line-height:1.18}.app-shell.in-session .figure-panel{gap:4px}.app-shell.in-session .figure-preview-button img{max-height:34svh}.app-shell.in-session .answer-list{gap:8px}.hero-actions{grid-template-columns:1fr}.practice-hero{padding:18px}.mission-dialog-backdrop{align-items:end;padding:10px}.mission-dialog{border-radius:16px 16px 10px 10px;width:100%;max-height:calc(100svh - 20px)}.mission-option{grid-template-columns:30px minmax(0,1fr)}.mission-option small,.mission-option p{grid-column:2}.mission-dialog-actions{flex-direction:column;align-items:stretch}.timer-display{text-align:left;width:100%}.actions{grid-template-columns:1fr}.answer-option{grid-template-columns:34px minmax(0,1fr);padding:13px}.figure-viewer-backdrop{padding:8px}.figure-viewer{border-radius:12px;max-height:calc(100svh - 16px)}.figure-viewer-toolbar{flex-direction:column;align-items:stretch}.figure-viewer-scroll img{width:max(820px,100%)}}
