:root{--teal-50:#eef8f6;--teal-100:#d5f1eb;--teal-200:#a8e0d5;--teal-400:#3cb8a8;--teal-500:#21897c;--teal-700:#1a6b62;--teal-900:#0f3d39;--slate-100:#e8eef3;--slate-500:#5b6b7c;--ink:#15202b;--ink-muted:#4a5568;--surface:#fff;--surface-soft:#f4f8f7;--surface-elevated:#fff;--danger:#b42318;--warning:#9a6700;--ok:#1a6b62;--radius:16px;--radius-sm:12px;--shadow:0 8px 28px #0f3d3912;--shadow-soft:0 2px 10px #0f3d390d;--font-display:"Fraunces", Georgia, serif;--font-body:"Source Sans 3", "Segoe UI", sans-serif;--touch:48px;--nav-height:4.25rem;--violet-100:var(--slate-100);--violet-500:var(--teal-500);--violet-700:var(--teal-700);color:var(--ink);font-family:var(--font-body);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;background:radial-gradient(1100px 520px at 8% -12%,#cfece6 0%,#0000 58%),radial-gradient(900px 480px at 100% 0,#d9e6f0 0%,#0000 52%),linear-gradient(#f3faf8 0%,#eef3f6 100%);font-weight:400;line-height:1.5}*,:before,:after{box-sizing:border-box}html,body,#root{min-height:100%}body{min-width:320px;margin:0}h1,h2,h3{font-family:var(--font-display);margin:0 0 .4rem;font-weight:650;line-height:1.2}p{margin:0 0 .75rem}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:var(--teal-700)}.app-shell{max-width:1040px;min-height:100dvh;padding:env(safe-area-inset-top) 1rem 1rem;padding-left:max(1rem, env(safe-area-inset-left));padding-right:max(1rem, env(safe-area-inset-right));flex-direction:column;margin:0 auto;display:flex}.app-shell-with-nav{padding-bottom:calc(var(--nav-height) + .75rem + env(safe-area-inset-bottom))}.app-main{flex:1;padding-top:.75rem}.top-bar{z-index:5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:linear-gradient(#f4fbf9f5,#f4fbf9d9);justify-content:space-between;align-items:center;gap:.75rem;padding:1rem 0 .5rem;display:flex;position:sticky;top:0}.brand{font-family:var(--font-display);color:var(--teal-900);letter-spacing:-.02em;font-size:1.35rem}.offline-banner,.update-banner{border-radius:var(--radius);border:1px solid var(--teal-200);color:var(--ink);background:linear-gradient(#fffdf8 0%,#f3faf8 100%);margin-top:.75rem;padding:.75rem .9rem;font-size:.95rem}.update-banner.deferred{background:linear-gradient(#fff9eb 0%,#f7f3e8 100%);border-color:#e0c989}.install-steps{color:var(--ink-muted);margin:0;padding-left:1.2rem}.install-steps li{margin-bottom:.35rem}.install-control-compact{flex-direction:column;gap:.35rem;display:flex}.install-control-actions{flex-wrap:wrap;align-items:center;gap:.35rem;display:flex}.install-compact-btn{min-height:2.5rem;padding:.35rem .85rem;font-size:.9rem;font-weight:600}.install-how-btn{min-height:2.5rem;padding:.35rem .55rem;font-size:.85rem}.mm-install-control,.profile-install-control{margin:0}.install-control-status{margin:.25rem 0 0;font-size:.9rem}.install-control-steps{font-size:.9rem}.mode-banner{border-radius:999px;flex-wrap:wrap;align-items:center;gap:.5rem;padding:.55rem .75rem;font-size:.85rem;font-weight:600;display:flex}.mode-banner.demo{background:var(--violet-100);color:var(--violet-700)}.mode-banner.study{background:var(--teal-100);color:var(--teal-700)}.scope{color:var(--ink-muted);margin:.35rem 0 .75rem;font-size:.8rem}.main-nav{width:min(1040px,100%);padding:.4rem .35rem calc(.4rem + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);z-index:10;background:#fffffff5;border-top:1px solid #1a6b621f;grid-template-columns:repeat(5,minmax(0,1fr));gap:.15rem;display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%);box-shadow:0 -6px 24px #0f3d390f}.main-nav button{min-height:var(--touch);color:var(--ink-muted);border-radius:var(--radius-sm);letter-spacing:.01em;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:.1rem;padding:.35rem .2rem;font-size:.72rem;font-weight:650;display:flex}.main-nav .nav-label-full{display:none}.main-nav .nav-label-short{display:inline}.main-nav button[aria-current=page]{background:var(--teal-100);color:var(--teal-900)}.main-nav button:hover{color:var(--teal-900)}.btn{min-height:var(--touch);border:2px solid #0000;border-radius:12px;justify-content:center;align-items:center;gap:.4rem;padding:.65rem 1rem;font-weight:600;display:inline-flex}.btn-primary{background:linear-gradient(135deg, var(--teal-500), var(--teal-700));color:#fff;box-shadow:var(--shadow-soft)}.btn-primary:hover{filter:brightness(1.05)}.btn-secondary{background:var(--surface);border-color:var(--teal-200);color:var(--teal-900)}.btn-ghost{color:var(--teal-700);background:0 0;border-color:#0000}.btn:disabled{opacity:.55;cursor:not-allowed}.btn:focus-visible,.option:focus-visible,.main-nav button:focus-visible,.icon-btn:focus-visible,.linkish:focus-visible,.search:focus-visible{outline:3px solid var(--teal-500);outline-offset:2px}.panel{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);border:1px solid #1a6b6214;padding:1rem}.stack{flex-direction:column;gap:.85rem;display:flex}.muted{color:var(--ink-muted)}.hero-title{color:var(--teal-900);font-size:clamp(1.8rem,6vw,2.3rem)}.subtitle{color:var(--ink-muted);font-size:1.05rem}.stat-row{grid-template-columns:repeat(3,1fr);gap:.5rem;display:grid}.stat{background:var(--surface-soft);text-align:center;border-radius:12px;padding:.75rem}.stat strong{color:var(--teal-900);font-size:1.2rem;display:block}.list-button{text-align:left;width:100%;min-height:var(--touch);background:var(--surface);border:1px solid #1a6b621f;border-radius:12px;flex-direction:column;gap:.2rem;padding:.85rem 1rem;display:flex}.list-button:hover{border-color:var(--teal-500)}.search{width:100%;min-height:var(--touch);background:var(--surface);border:1px solid #1a6b6233;border-radius:12px;padding:.65rem .9rem}.chip-row{flex-wrap:wrap;gap:.4rem;display:flex}.chip{background:var(--teal-100);color:var(--teal-900);min-height:var(--touch);border:0;border-radius:999px;padding:.45rem .85rem;font-size:.85rem;font-weight:600}.chip[aria-pressed=true]{background:var(--violet-500);color:#fff}.demo-label{background:var(--violet-100);color:var(--violet-700);letter-spacing:.02em;text-transform:uppercase;border-radius:8px;padding:.3rem .55rem;font-size:.78rem;font-weight:700;display:inline-block}.section-block{border-top:1px solid #1a6b621a;padding-top:.75rem}.section-block summary{min-height:var(--touch);cursor:pointer;align-items:center;font-weight:650;display:flex}.section-block ul{margin:.25rem 0 .5rem;padding-left:1.1rem}.option{text-align:left;width:100%;min-height:var(--touch);background:var(--surface);border:2px solid #1a6b6229;border-radius:12px;align-items:flex-start;gap:.65rem;padding:.85rem 1rem;display:flex}.option[aria-pressed=true]{border-color:var(--violet-500);background:var(--violet-100)}.option.correct{border-color:var(--ok);background:var(--teal-100)}.option.incorrect{border-color:var(--danger);background:#fef3f2}.option .mark{min-width:1.25rem;font-weight:700}.feedback{border-left:4px solid var(--teal-500);background:var(--surface-soft);border-radius:0 12px 12px 0;padding:.65rem .85rem}.confidence{grid-template-columns:repeat(3,1fr);gap:.4rem;display:grid}.empty{text-align:center;padding:1.5rem 1rem}.icon-btn{min-width:var(--touch);min-height:var(--touch);background:var(--surface);border:1px solid #1a6b6226;border-radius:12px}.field{flex-direction:column;gap:.35rem;display:flex}.field input,.field select,.field textarea{min-height:var(--touch);border:1px solid #1a6b6233;border-radius:12px;padding:.5rem .75rem;font-size:16px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.visually-live{width:1px;height:1px;position:absolute;left:-10000px;overflow:hidden}.badge{background:var(--violet-100);color:var(--violet-700);border-radius:999px;align-items:center;gap:.3rem;padding:.2rem .55rem;font-size:.8rem;font-weight:650;display:inline-flex}.due-tag{color:var(--warning);font-size:.8rem;font-weight:700}.error-banner{color:var(--danger);background:#fef3f2;border:1px solid #fecdca;border-radius:12px;padding:.75rem 1rem}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@keyframes softRise{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.rise{animation:.28s ease-out softRise}.level-map-header{flex-direction:column;gap:.45rem;display:flex}.level-path{flex-direction:column;gap:.35rem;margin:0;padding:0;list-style:none;display:flex}.level-node{flex-direction:column;gap:.45rem;display:flex;position:relative}.level-connector{background:#1a6b622e;border-radius:999px;width:3px;height:14px;margin-left:1.35rem}.level-connector.lit{background:linear-gradient(180deg, var(--teal-500), var(--violet-500))}.level-card{text-align:left;width:100%;min-height:var(--touch);background:linear-gradient(135deg, #fffffff2, #f0faf8eb), var(--surface);border:1px solid #1a6b6224;border-radius:16px;grid-template-columns:auto 1fr;align-items:start;gap:.75rem;padding:.85rem .9rem;display:grid;box-shadow:0 6px 18px #0f3d390d}.level-card:hover:not(:disabled){border-color:var(--teal-500)}.level-card:disabled{opacity:.72;cursor:not-allowed;background:var(--surface-soft)}.level-glyph{color:#fff;border-radius:14px;flex-shrink:0;justify-content:center;align-items:center;width:2.75rem;height:2.75rem;font-weight:800;display:inline-flex;box-shadow:inset 0 -2px #0000001f}.level-card-body{flex-direction:column;gap:.25rem;min-width:0;display:flex}.level-card-title{font-family:var(--font-display);color:var(--teal-900);font-size:1.05rem;font-weight:650}.level-card-meta{flex-wrap:wrap;align-items:center;gap:.45rem .75rem;font-size:.82rem;display:flex}.level-card-desc,.level-lock-reason{color:var(--ink-muted);font-size:.9rem}.level-status{letter-spacing:.01em;border-radius:999px;align-items:center;padding:.15rem .5rem;font-size:.75rem;font-weight:700;display:inline-flex}.status-locked{color:#4a5568;background:#eef1f4}.status-available{background:var(--teal-100);color:var(--teal-700)}.status-in_progress{background:var(--violet-100);color:var(--violet-700)}.status-completed{color:var(--ok);background:#d8f3ee}.level-progress-bar{background:#1a6b621f;border-radius:999px;height:6px;margin-top:.35rem;display:block;overflow:hidden}.level-progress-fill{border-radius:inherit;height:100%;transition:width .22s;display:block}.goal-meter{background:#1a6b621f;border-radius:999px;height:10px;display:block;overflow:hidden}.goal-meter-fill{border-radius:inherit;background:linear-gradient(90deg, var(--teal-500), var(--violet-500));height:100%;transition:width .22s;display:block}@media (prefers-reduced-motion:reduce){.goal-meter-fill{transition:none}}.onboarding-tour .tour-dot{background:#1a6b6233;border-radius:999px;width:.65rem;height:.65rem;display:inline-block}.onboarding-tour .tour-dot.done{background:var(--teal-500)}.onboarding-tour .tour-dot.active{background:var(--violet-500);outline-offset:2px;outline:2px solid #6d28d940}.home-screen .home-stat-row .stat strong{word-break:break-word;font-size:.95rem;line-height:1.25}.level-detail{background:var(--surface-soft);border:1px dashed #1a6b622e;border-radius:12px;margin-left:.25rem;padding:.75rem .85rem}.module-list{flex-direction:column;gap:.65rem;margin:0;padding:0;list-style:none;display:flex}.module-row{justify-content:space-between;align-items:flex-start;gap:.75rem;display:flex}.level-node.level-completed .level-card{border-color:#2a9d8f59}.level-node.level-in_progress .level-card{border-color:#7c5cbf59}.level-card:focus-visible{outline:3px solid var(--violet-500);outline-offset:2px}@keyframes mapPulse{0%,to{transform:scale(1)}50%{transform:scale(1.04)}}.level-node.level-in_progress .level-connector+.level-card .level-glyph,.level-node.level-in_progress>.level-card .level-glyph{box-shadow:inset 0 -2px #0000001f,0 0 0 3px #7c5cbf2e}.topic-select-header{flex-direction:column;gap:.4rem;display:flex}.plain-list{flex-direction:column;gap:.25rem;margin:.35rem 0 0;padding-left:1.15rem;display:flex}.topic-path{flex-direction:column;gap:.75rem;margin:0;padding:0;list-style:none;display:flex}.topic-card{background:linear-gradient(135deg, #fffffff2, #f0faf8eb), var(--surface);border:1px solid #1a6b6224;border-radius:16px;flex-direction:column;gap:.75rem;padding:.9rem;display:flex;box-shadow:0 6px 18px #0f3d390d}.topic-card-body{flex-direction:column;gap:.35rem;min-width:0;display:flex}.topic-card-body h2{font-family:var(--font-display);color:var(--teal-900);margin:0;font-size:1.1rem}.topic-card-meta{flex-wrap:wrap;align-items:center;gap:.45rem .75rem;font-size:.82rem;display:flex}.topic-mastery{margin:0;font-size:.85rem}.topic-actions{flex-wrap:wrap;gap:.5rem;display:flex}.topic-node.topic-completed .topic-card{border-color:#2a9d8f59}.topic-node.topic-in_progress .topic-card{border-color:#7c5cbf59}.topic-node.topic-locked .topic-card{opacity:.78;background:var(--surface-soft)}.lesson-card h2{margin:0;font-size:1.05rem}.topic-lesson .lesson-card{animation:.28s ease-out softRise}.eyebrow{letter-spacing:.04em;text-transform:uppercase;color:var(--teal-700);margin:0;font-size:.78rem;font-weight:650}.row-actions{flex-wrap:wrap;gap:.5rem;display:flex}.simulation-header{flex-direction:column;gap:.35rem;display:flex}.sim-patient{margin:0;font-size:.92rem}.isbar-grid{gap:.65rem;margin:.75rem 0 0;display:grid}.isbar-grid div{background:#2a9d8f0f;border:1px solid #1a6b621a;border-radius:10px;padding:.55rem .65rem}.isbar-grid dt{color:var(--teal-900);margin:0 0 .15rem;font-size:.82rem;font-weight:700}.isbar-grid dd{margin:0;font-size:.95rem}.sim-history,.sim-observations ul,.sim-debrief-list{margin:.4rem 0 0;padding-left:1.1rem}.sim-actions{gap:.55rem}.sim-action{text-align:left;white-space:normal;width:100%;min-height:var(--touch)}.sim-feedback{border-color:#7c5cbf47}.sim-feedback:focus{outline:3px solid var(--violet-500);outline-offset:2px}.sim-quality-correct{border-color:#2a9d8f73}.sim-quality-suboptimal{border-color:#9a670066}.sim-quality-unsafe,.sim-quality-critical{border-color:#b4231866}.sim-safety-banner{color:var(--danger);background:#b4231814;border:1px solid #b4231840;border-radius:10px;margin:0;padding:.65rem .75rem;font-weight:600}.simulation-screen .panel,.simulation-debrief .panel{animation:.28s ease-out softRise}.achievement-list,.revision-list{gap:.75rem;margin:0;padding:0;list-style:none;display:grid}.achievement-card,.revision-card{background:linear-gradient(165deg,#ffffffeb,#e8f4f2a6);border:1px solid #1a3d4a1f;border-radius:14px;grid-template-columns:auto 1fr auto;align-items:start;gap:.75rem;min-width:0;padding:.85rem .9rem;display:grid}.achievement-card.locked{opacity:.78;background:#f6f8fae6}.achievement-card-body p,.revision-card-body p{margin:.25rem 0 0;font-size:.92rem}.revision-meta{flex-wrap:wrap;align-items:center;gap:.4rem .75rem;margin-top:.35rem;display:flex}.celebration-banner{background:linear-gradient(120deg,#ede8faf2,#e0f2f1f2);border:1px solid #5a3d9a38;border-radius:14px;justify-content:space-between;align-items:flex-start;gap:.75rem;margin-top:.75rem;padding:.85rem 1rem;animation:.32s ease-out softRise;display:flex}.celebration-banner.celebration-static{animation:none}.celebration-copy{min-width:0}.celebration-copy p{color:var(--ink-muted,#4a5d66);margin:.2rem 0 0;font-size:.92rem}.celebration-dismiss{flex-shrink:0}.simulation-screen .celebration-banner,.quiz-screen .celebration-banner{display:none}@media (width<=360px){.stat-row,.home-stat-row,.confidence{grid-template-columns:1fr}.main-nav button{font-size:.78rem}.module-row{flex-direction:column}.level-card{grid-template-columns:1fr}.level-waypoint{flex-direction:row;align-items:center}.topic-actions{flex-direction:column}.topic-actions .btn{width:100%}.row-actions{flex-direction:column}.row-actions .btn{width:100%}.achievement-card,.revision-card{grid-template-columns:auto 1fr}.achievement-card .level-status,.revision-card .btn{grid-column:1/-1}.celebration-banner{flex-direction:column}.mission-chrome-bar{flex-wrap:wrap}.path-progress{flex-direction:column;align-items:stretch}}.mission-chrome{flex-direction:column;gap:.55rem;min-width:0;display:flex}.mission-chrome-bar{justify-content:space-between;align-items:center;gap:.65rem;min-width:0;display:flex}.mission-chrome-meta{flex-wrap:wrap;justify-content:flex-end;gap:.35rem;min-width:0;display:flex}.mission-kind-pill,.mission-step-pill{letter-spacing:.01em;overflow-wrap:anywhere;border-radius:999px;align-items:center;max-width:100%;padding:.25rem .65rem;font-size:.78rem;font-weight:700;display:inline-flex}.mission-kind-pill{background:var(--teal-100);color:var(--teal-900)}.mission-step-pill{background:var(--violet-100);color:var(--violet-700)}.mission-chrome-note{flex-direction:column;gap:.35rem;min-width:0;display:flex}.mission-chrome-note>*{margin:0}.learning-mission,.progress-screen,.home-screen{max-width:100%;overflow-x:clip}.hospital-adventure-entry-panel{background:linear-gradient(160deg,#2a9d8f1a,#ffffffeb 55%);border-color:#2a9d8f59}.hospital-adventure-entry-panel .btn-primary{justify-content:center;width:100%;min-height:2.75rem}.level-waypoint{flex-direction:column;flex-shrink:0;align-items:center;gap:.35rem;display:flex}.level-index{width:1.35rem;height:1.35rem;color:var(--teal-900);background:#2a9d8f24;border-radius:999px;justify-content:center;align-items:center;font-size:.72rem;font-weight:800;display:inline-flex}.level-node.level-completed .level-index{background:#2a9d8f47}.level-node.level-locked .level-index{color:#64748b;background:#e8edf1}.path-progress{align-items:center;gap:.65rem;min-width:0;display:flex}.path-progress-track{background:#1a6b621f;border-radius:999px;flex:1;min-width:0;height:8px;display:block;overflow:hidden}.path-progress-fill{border-radius:inherit;background:linear-gradient(90deg, var(--teal-500), var(--violet-500));height:100%;transition:width .28s;display:block}.path-progress-label{white-space:nowrap;font-size:.8rem;font-weight:650}.xp-panel .xp-strip{flex-direction:column;gap:.35rem;display:flex}.xp-total{margin:0;font-size:1.05rem}.xp-disclaimer{margin:0;font-size:.85rem}.achievement-glyph{color:#64748b;background:#eef1f4;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:2.25rem;height:2.25rem;font-size:1.1rem;display:inline-flex}.achievement-glyph.is-unlocked{background:linear-gradient(145deg, var(--violet-100), var(--teal-100));color:var(--violet-700);animation:.36s ease-out softRise}.panel-heading-row{justify-content:space-between;align-items:center;gap:.5rem;min-width:0;display:flex}.panel-heading-row h2{margin:0}.goal-chip{background:var(--teal-100);color:var(--teal-700);border-radius:999px;flex-shrink:0;padding:.2rem .55rem;font-size:.75rem;font-weight:700}.goal-chip.goal-met{color:var(--ok);background:#d8f3ee}.recent-achievement-row{align-items:center;gap:.65rem;min-width:0;display:flex}.recent-achievement-row p{overflow-wrap:anywhere}.mission-action{text-align:left;flex-direction:column;align-items:flex-start;gap:.15rem;min-width:0}.mission-action-kind{letter-spacing:.04em;text-transform:uppercase;opacity:.85;font-size:.72rem;font-weight:700}.score-meter{background:#1a6b621f;border-radius:999px;height:10px;display:block;overflow:hidden}.score-meter-fill{border-radius:inherit;background:linear-gradient(90deg, var(--teal-500), var(--violet-500));height:100%;transition:width .28s;display:block}.completion-panel .xp-stat strong{color:var(--violet-700)}.sim-decision-panel{background:#ede7f659;border:1px dashed #7c5cbf47;border-radius:14px;padding:.85rem}.sim-phase-panel{min-width:0}.sim-isbar{border-color:#2a9d8f47}.level-card-title,.level-card-desc,.topic-card-body,.achievement-card-body,.revision-card-body{overflow-wrap:anywhere;min-width:0}.revision-card{grid-template-columns:1fr auto}.home-stat-row .stat,.stat-row .stat{overflow-wrap:anywhere;min-width:0}@keyframes mapWaypointGlow{0%,to{box-shadow:inset 0 -2px #0000001f,0 0 #2a9d8f00}50%{box-shadow:inset 0 -2px #0000001f,0 0 0 4px #2a9d8f2e}}.level-node.level-available .level-glyph{animation:2.4s ease-in-out infinite mapPulse,2.4s ease-in-out infinite mapWaypointGlow}.level-node.level-in_progress .level-card{animation:.32s ease-out softRise}@media (prefers-reduced-motion:reduce){.path-progress-fill,.score-meter-fill,.goal-meter-fill,.level-progress-fill{transition:none!important}.level-node.level-available .level-glyph,.achievement-glyph.is-unlocked,.level-node.level-in_progress .level-card,.learning-mission .panel,.topic-lesson .lesson-card,.simulation-screen .panel,.simulation-debrief .panel{animation:none!important}}.hospital-adventure-screen{gap:.85rem}.adventure-header .muted{margin-bottom:0}.hospital-room{box-shadow:var(--shadow);background:linear-gradient(165deg,#e2f4f0fa,#e8e0f6b8 55%,#d6e8f4e6);border:1px solid #1a6b622e;border-radius:18px;min-width:0;position:relative;overflow:hidden}.hospital-room-immersive{isolation:isolate}.hospital-room-sky{opacity:.95;pointer-events:none;background:radial-gradient(circle at 82% 18%,#ffe496b3,#0000 36%),linear-gradient(#b9daf0 0%,#d7eef7 48%,#e8f5f1 100%);position:absolute;inset:0 0 38%}.hospital-room-sun{background:radial-gradient(circle at 35% 35%,#fff7d1,#ffd56a 62%,#ffb74d33);border-radius:50%;width:42px;height:42px;position:absolute;top:12%;right:16%;box-shadow:0 0 28px #ffd26e8c}.hospital-room-cloud{filter:blur(.2px);background:#ffffff8c;border-radius:999px;height:18px;position:absolute}.hospital-room-cloud-a{width:64px;top:22%;left:18%}.hospital-room-cloud-b{opacity:.7;width:42px;top:30%;left:34%}.hospital-room-stage{isolation:isolate;transform-origin:50% 100%;background:linear-gradient(#dcefe9 0%,#c7e4dc 46%,#b3c4d6 46.4%,#8fa2b5 100%);border-radius:16px;height:clamp(280px,62vw,390px);min-height:300px;margin:.65rem;position:relative;overflow:hidden;transform:perspective(980px)rotateX(10deg);box-shadow:inset 0 0 0 1px #ffffff59,0 18px 28px #0f3d3924}.hospital-room-entered .hospital-room-stage{animation:.56s ease-out roomEnter}.hospital-room-ceiling{pointer-events:none;background:linear-gradient(#edf6f3,#edf6f300);position:absolute;inset:0 0 78%}.hospital-ceiling-light{background:#dce7ef;border-radius:6px;width:8%;height:28%;position:absolute;top:18%;left:46%;box-shadow:0 2px #0f3d391f}.hospital-ceiling-glow{background:radial-gradient(circle,#fff8dc73,#0000 68%);border-radius:50%;width:44%;height:120%;position:absolute;top:42%;left:28%}.hospital-room-wall{background:linear-gradient(90deg,#1a6b620d,#0000 18% 82%,#5a3d9a0d),linear-gradient(#eaf7f3 0%,#d7ece6 100%);border-bottom:2px solid #1a6b6229;position:absolute;inset:0 0 46%}.hospital-room-wainscot{background:repeating-linear-gradient(90deg,#ffffff2e 0 18px,#1a6b6214 18px 20px),linear-gradient(#cfe6df,#bdd9d1);height:28%;position:absolute;bottom:0;left:0;right:0}.hospital-room-window{width:24%;height:56%;position:absolute;top:10%;right:10%}.hospital-window-pane{background:linear-gradient(160deg,#8fc8ff 0%,#cfe9ff 42%,#ffe8b0 100%);border:3px solid #465c7859;border-radius:10px;position:absolute;inset:0 0 14%;box-shadow:inset 0 0 0 2px #fff6,0 8px 16px #0f3d391f}.hospital-window-sill{background:#d9e4ef;border-radius:4px;height:10%;position:absolute;bottom:8%;left:-6%;right:-6%}.hospital-window-curtain{background:linear-gradient(#7c5cbf59,#2a9d8f47);border-radius:0 10px 14px 0;width:34%;height:78%;position:absolute;top:0;right:-10%;transform:skew(-4deg)}.hospital-room-poster{color:var(--violet-700);letter-spacing:.03em;background:#ffffffb8;border:1px solid #7c5cbf40;border-radius:8px;padding:.4rem .55rem;font-size:.72rem;font-weight:700;position:absolute;top:16%;left:9%;box-shadow:0 6px 12px #0f3d3914}.hospital-room-doorframe{opacity:.85;background:linear-gradient(90deg,#8ea0b0,#b7c5d2 70%,#0000);border-radius:0 10px 0 0;width:12%;height:78%;position:absolute;bottom:-8%;left:0}.hospital-room-floor{transform-origin:50% 0;background:linear-gradient(#9eb0c2 0%,#7f92a5 100%);position:absolute;inset:50% 0 0;transform:perspective(420px)rotateX(18deg)}.hospital-floor-tiles{opacity:.85;background:repeating-linear-gradient(90deg,#ffffff1a 0 18px,#0f3d3914 18px 20px),repeating-linear-gradient(0deg,#0000 0 26px,#0f3d3914 26px 28px);position:absolute;inset:0}.hospital-floor-sheen{background:radial-gradient(circle,#ffffff38,#0000 70%);border-radius:50%;height:28%;position:absolute;inset:8% 18% auto}.hospital-prop{pointer-events:none;position:absolute}.hospital-bed{z-index:1;width:50%;height:38%;top:42%;left:26%}.hospital-bed-shadow{filter:blur(4px);background:#0f3d392e;border-radius:50%;height:18%;position:absolute;bottom:2%;left:8%;right:4%}.hospital-bed-headboard{background:linear-gradient(#91a4b4,#607487);border-radius:8px;width:10%;height:58%;position:absolute;top:6%;left:2%}.hospital-bed-frame{background:linear-gradient(#7891a3,#4d6474);border-radius:12px;position:absolute;inset:34% 0 8%;box-shadow:0 10px 18px #0f3d392e}.hospital-bed-mattress{background:linear-gradient(#fff,#eef4fb);border-radius:12px;position:absolute;inset:20% 5% 22% 8%}.hospital-pillow{background:linear-gradient(160deg,#f7faff,#dce7f5);border-radius:12px;width:26%;height:24%;position:absolute;top:10%;left:12%;box-shadow:0 3px #0f3d3914}.hospital-blanket{background:linear-gradient(135deg,#7c5cbfeb,#2a9d8fe6);border-radius:12px 12px 10px 10px;width:58%;height:42%;position:absolute;bottom:18%;right:8%;box-shadow:inset 0 1px #ffffff40}.hospital-bed-rail{background:#c5d2de;border-radius:6px;width:4%;height:42%;position:absolute;top:28%}.hospital-bed-rail-left{left:18%}.hospital-bed-rail-right{right:10%}.hospital-monitor-prop{z-index:2;width:20%;height:32%;top:14%;right:6%}.hospital-monitor-bezel{background:linear-gradient(#2a3944,#172029);border-radius:10px;height:58%;padding:4%;box-shadow:0 8px 14px #0f3d3933}.hospital-monitor-screen{background:linear-gradient(#0d2f34,#0a2428);border-radius:6px;height:100%;position:relative;overflow:hidden}.hospital-monitor-wave{clip-path:polygon(0 50%,12% 20%,24% 70%,36% 35%,48% 60%,60% 25%,72% 55%,84% 40%,100% 50%,100% 100%,0 100%);background:#7dffb3;width:140%;height:2px;animation:2.4s linear infinite monitorWave;position:absolute;top:38%;left:-20%;box-shadow:0 0 8px #7dffb3}.hospital-monitor-readout{color:#9dffc4;letter-spacing:.04em;font-size:.55rem;font-weight:700;position:absolute;bottom:12%;left:10%}.hospital-monitor-arm{background:#5a6f7f;width:10%;height:14%;margin:2% auto 0}.hospital-monitor-stand{background:#4f6574;border-radius:4px;width:34%;height:10%;margin:0 auto}.hospital-chart-prop{z-index:2;width:17%;height:30%;top:24%;left:5%}.hospital-chart-clip{background:#7c5cbf;border-radius:4px;width:44%;height:12%;position:absolute;top:-4%;left:28%}.hospital-chart-board{background:linear-gradient(#fff,#eef3f8);border:2px solid #1a6b6247;border-radius:8px;align-content:center;gap:8%;height:100%;padding:18% 12%;display:grid;transform:rotate(-7deg);box-shadow:0 10px 16px #0f3d391f}.hospital-chart-line{background:#465c7847;height:2px;display:block}.hospital-tray-prop{z-index:2;width:20%;height:18%;bottom:10%;right:12%}.hospital-tray-shadow{filter:blur(3px);background:#0f3d392e;border-radius:50%;position:absolute;inset:58% 4% 0}.hospital-tray{background:linear-gradient(#e8eef5,#c5d0dc);border-radius:10px;position:absolute;inset:42% 0 0;box-shadow:inset 0 1px #ffffffb3}.hospital-cup{background:linear-gradient(#f7ecff,#c9b6ef);border:1px solid #5a3d9a59;border-radius:4px 4px 7px 7px;width:30%;height:52%;position:absolute;top:4%;left:34%}.hospital-cup-label{letter-spacing:.04em;color:var(--violet-700);background:#fffc;border-radius:4px;padding:.05rem .2rem;font-size:.42rem;font-weight:800;position:absolute;bottom:18%;left:18%}.hospital-iv-pole{z-index:1;width:8%;height:42%;top:18%;left:22%}.hospital-iv-pole-mast{background:#9aadb8;width:10%;height:88%;position:absolute;top:0;left:45%}.hospital-iv-pole-hook{border:2px solid #9aadb8;border-bottom:0;border-radius:8px 8px 0 0;width:60%;height:10%;position:absolute;top:4%;left:20%}.hospital-iv-pole-base{background:#7f93a0;border-radius:50%;width:80%;height:8%;position:absolute;bottom:0;left:10%}.hospital-nurse-avatar{z-index:3;width:18%;height:42%;bottom:6%;left:10%}.hospital-patient-avatar{z-index:3;width:20%;height:34%;top:36%;left:40%}.expressive-character{transform-origin:50% 100%;width:100%;height:100%;position:relative}.expressive-size-scene.expressive-mood-idle,.expressive-size-scene.expressive-mood-speak{animation:3.2s ease-in-out infinite characterIdle}.expressive-shadow{filter:blur(2px);background:#0f3d3938;border-radius:50%;height:8%;position:absolute;bottom:0;left:18%;right:18%}.expressive-body{position:absolute;inset:34% 16% 8%}.expressive-torso{background:linear-gradient(#2fafa0,#1a6b62);border-radius:16px 16px 12px 12px;position:absolute;inset:0;box-shadow:inset 0 1px #ffffff40}.expressive-patient .expressive-torso{background:linear-gradient(#f8fbff,#dfe8f4);border-radius:18px 18px 14px 14px}.expressive-badge{background:#ffffff8c;border-radius:4px;width:28%;height:14%;position:absolute;top:18%;left:18%}.expressive-band{background:linear-gradient(90deg,#7c5cbf,#2a9d8f);border-radius:999px;width:34%;height:12%;position:absolute;top:22%;right:10%}.expressive-arm{background:#f0c7a0;border-radius:999px;width:22%;height:48%;position:absolute;top:18%}.expressive-arm-left{left:-18%;transform:rotate(12deg)}.expressive-arm-right{right:-18%;transform:rotate(-12deg)}.expressive-patient .expressive-arm{display:none}.expressive-head{width:56%;height:38%;position:absolute;top:2%;left:22%}.expressive-hair{background:#4b3b2f;border-radius:50% 50% 20% 20%;position:absolute;inset:-8% -6% 48%}.expressive-patient .expressive-hair{background:#6b4f3a;inset:-4% -4% 55%}.expressive-nurse .expressive-hair{background:#2f3d4a}.expressive-face{background:linear-gradient(#f7d7b8,#efc09a);border-radius:50%;position:absolute;inset:10% 8% 0;box-shadow:0 0 0 3px #ffffff73}.expressive-eye{background:#fff;border-radius:50%;width:18%;height:16%;animation:4.8s ease-in-out infinite characterBlink;position:absolute;top:38%;overflow:hidden}.expressive-eye-left{left:22%}.expressive-eye-right{right:22%}.expressive-pupil{background:#2a3340;border-radius:50%;width:48%;height:48%;position:absolute;top:22%;left:28%}.expressive-brow{background:#372a228c;border-radius:999px;width:22%;height:3px;transition:transform .16s,top .16s;position:absolute;top:28%}.expressive-brow-left{left:18%}.expressive-brow-right{right:18%}.expressive-mouth{background:#c97878;border-radius:0 0 12px 12px;width:32%;height:10%;transition:border-radius .16s,height .16s,transform .16s;position:absolute;bottom:22%;left:34%}.expressive-mood-smile .expressive-mouth{background:#c45d6a;border-radius:0 0 16px 16px;height:14%}.expressive-mood-frown .expressive-mouth,.expressive-mood-concern .expressive-mouth{background:#b56b6b;border-radius:12px 12px 0 0;height:8%;bottom:26%}.expressive-mood-concern .expressive-brow-left{top:24%;transform:rotate(-12deg)}.expressive-mood-concern .expressive-brow-right{top:24%;transform:rotate(12deg)}.expressive-mood-frown .expressive-brow-left{transform:rotate(10deg)}.expressive-mood-frown .expressive-brow-right{transform:rotate(-10deg)}.expressive-mood-speak .expressive-mouth,.is-speaking .expressive-mouth{border-radius:10px;height:16%;animation:.42s ease-in-out infinite mouthTalk}.expressive-size-portrait{width:44px;height:52px}.expressive-size-portrait .expressive-shadow{display:none}.hospital-hotspot{min-width:52px;min-height:52px;color:var(--teal-900);z-index:4;background:#ffffffeb;border:0;border-radius:16px;grid-template-columns:auto 1fr auto;align-items:center;gap:.28rem;padding:.35rem .55rem .35rem .45rem;display:grid;position:absolute;transform:translate(-50%,-50%);box-shadow:0 8px 18px #0f3d3929}.hospital-hotspot:focus-visible{outline:3px solid var(--violet-500);outline-offset:2px}.hospital-hotspot-glyph{background:var(--teal-500);border-radius:50%;width:.7rem;height:.7rem;box-shadow:0 0 0 3px #2a9d8f2e}.hospital-hotspot-patient .hospital-hotspot-glyph{background:var(--violet-500)}.hospital-hotspot-monitor .hospital-hotspot-glyph{border-radius:3px}.hospital-hotspot-chart .hospital-hotspot-glyph{border-radius:2px;transform:rotate(12deg)}.hospital-hotspot-equipment .hospital-hotspot-glyph{border-radius:2px 2px 6px 6px}.hospital-hotspot-door .hospital-hotspot-glyph{border-radius:2px;width:.55rem;height:.85rem}.hospital-hotspot-label{text-align:left;max-width:7.5rem;font-size:.72rem;font-weight:700;line-height:1.1}.hospital-hotspot-check{color:var(--teal-700);font-size:.72rem;font-weight:800}.hospital-hotspot-pulse{border-radius:inherit;pointer-events:none;border:2px solid #2a9d8f73;animation:1.8s ease-out infinite hotspotPulse;position:absolute;inset:-7px}.hospital-hotspot-ripple{border-radius:inherit;pointer-events:none;opacity:0;position:absolute;inset:0}.hospital-hotspot.is-pending:hover,.hospital-hotspot.is-pending:focus-visible{transform:translate(-50%,-50%)scale(1.04)}.hospital-hotspot.is-inspected{color:var(--teal-700);background:#d5f1ebf5}.hospital-hotspot.is-inspected .hospital-hotspot-pulse{border-color:#2a9d8f38;animation:none}.hospital-hotspot.is-selected{box-shadow:0 0 0 3px #7c5cbf61,0 10px 20px #0f3d392e}.hospital-hotspot.is-selected .hospital-hotspot-ripple{animation:.52s ease-out hotspotRipple}.hospital-room-atmosphere{margin:0 .85rem .85rem;font-size:.92rem}.patient-dialogue,.adventure-discovery,.adventure-ready,.adventure-feedback{min-width:0}.patient-dialogue-immersive{background:linear-gradient(#fffffff5,#f0f8f6eb);border:1px solid #1a6b6229;border-radius:16px;padding:.85rem .9rem .95rem;box-shadow:0 10px 24px #0f3d3914}.patient-dialogue-header{align-items:center;gap:.75rem;margin-bottom:.55rem;display:flex}.patient-dialogue-meta{flex:1;min-width:0}.adventure-portrait{background:#2a9d8f1f;border-radius:18px;flex:none;place-items:center;width:58px;height:58px;display:grid;position:relative;overflow:hidden}.adventure-portrait.is-live{box-shadow:inset 0 0 0 2px #2a9d8f2e}.portrait-patient-river{background:#7c5cbf24}.portrait-narrator{background:#1a6b621a}.adventure-portrait-face{background:#f3d2b3;border-radius:50%;width:28px;height:28px;box-shadow:inset 0 -6px #0000000f}.adventure-narrator-mark{background:radial-gradient(circle at 50% 40%,#dff3ee 0 35%,#0000 36%),linear-gradient(#2a9d8f,#1a6b62)}.patient-dialogue-speaker{margin:0;font-size:1.15rem}.patient-dialogue-progress{gap:.35rem;margin:.35rem 0 0;padding:0;list-style:none;display:flex}.patient-dialogue-progress li{background:#1a6b622e;border-radius:50%;width:.55rem;height:.55rem}.patient-dialogue-progress li.is-done{background:#2a9d8f8c}.patient-dialogue-progress li.is-current{background:var(--teal-700);box-shadow:0 0 0 3px #2a9d8f2e}.patient-dialogue-bubble{background:#ffffffe6;border:1px solid #1a6b621f;border-radius:14px;margin-bottom:.7rem;padding:.75rem .85rem;position:relative}.patient-dialogue-bubble:before{content:"";background:inherit;border-top:1px solid #1a6b621f;border-left:1px solid #1a6b621f;width:12px;height:12px;position:absolute;top:-7px;left:1.35rem;transform:rotate(45deg)}.patient-dialogue-text{margin:0}.patient-dialogue-reaction{color:var(--violet-700);background:#ede7f68c;border-radius:10px;margin:0 0 .75rem;padding:.55rem .7rem}.patient-dialogue-choices{gap:.55rem;display:grid}.adventure-choice{text-align:left;white-space:normal;height:auto;min-height:var(--touch);border-width:1.5px;padding:.7rem .85rem}.adventure-choice:hover:not(:disabled),.adventure-choice:focus-visible:not(:disabled){border-color:#2a9d8f8c;box-shadow:0 0 0 3px #2a9d8f1f}.adventure-feedback{z-index:2;border-width:2px}.adventure-hint{margin:0}@keyframes roomEnter{0%{opacity:.3;transform:perspective(980px)rotateX(16deg)translateY(14px)}to{opacity:1;transform:perspective(980px)rotateX(10deg)translateY(0)}}@keyframes hotspotPulse{0%{opacity:.85;transform:scale(.92)}70%{opacity:0;transform:scale(1.12)}to{opacity:0;transform:scale(1.12)}}@keyframes hotspotRipple{0%{opacity:.8;box-shadow:0 0 #7c5cbf59}to{opacity:0;box-shadow:0 0 0 16px #7c5cbf00}}@keyframes characterIdle{0%,to{transform:translateY(0)}50%{transform:translateY(-2px)}}@keyframes characterBlink{0%,46%,52%,to{height:16%}49%{height:2%}}@keyframes mouthTalk{0%,to{height:10%}50%{height:18%}}@keyframes monitorWave{0%{transform:translate(0)}to{transform:translate(18%)}}@media (width<=360px){.hospital-room-stage{min-height:250px;transform:none}.hospital-room-floor{transform:none}.hospital-hotspot{min-width:48px;min-height:48px;padding:.28rem .4rem}.hospital-hotspot-label{max-width:5.4rem;font-size:.66rem}.hospital-cup-label{display:none}}.hands-on-panel{border:1px solid color-mix(in srgb, var(--accent,#0f766e) 35%, transparent);background:linear-gradient(160deg,#eefeff,#f1fdfa);gap:.75rem;display:grid}.hands-on-order-hint{color:var(--muted,#475569);margin:0;font-size:.85rem}.hands-on-step-list{gap:.65rem;margin:0;padding:0;list-style:none;display:grid}.hands-on-step{background:#fcfdfe;border:1px solid #94a3b859;border-radius:.75rem;grid-template-columns:1fr auto;align-items:center;gap:.65rem;min-height:3rem;padding:.7rem .75rem;display:grid}.hands-on-step.is-available{border-color:#0f766e73;box-shadow:0 0 0 1px #0f766e2e}.hands-on-step.is-next{background:#e9f6fe;border-color:#0369a18c}.hands-on-step.is-completed{opacity:.95;background:#ecfdf2;border-color:#15803d66}.hands-on-step-label{margin:0;font-size:.95rem;font-weight:650}.hands-on-step-instruction{margin:.2rem 0 0;font-size:.82rem}.hands-on-step-btn{touch-action:manipulation;min-width:5.5rem;min-height:2.75rem}.hands-on-safety-tag{color:#9a3412;text-transform:uppercase;letter-spacing:.03em;margin-left:.35rem;font-size:.72rem;font-weight:700}.hands-on-feedback{background:#fef7d8;border:1px solid #d977064d;border-radius:.65rem;margin:0;padding:.65rem .75rem;font-size:.9rem}.hands-on-assessment-record,.adventure-assessment-strip{gap:.4rem;display:grid}.hands-on-assessment-record h3,.adventure-assessment-strip h2{margin:0;font-size:1rem}.hands-on-assessment-record ul,.adventure-assessment-strip ul{gap:.25rem;margin:0;padding-left:1.1rem;font-size:.88rem;display:grid}.hospital-hotspot.is-hands-on-available{outline:2px dashed #0f766e8c}.hospital-hotspot.is-hands-on-selected{z-index:3;outline:2px solid #0369a1b3}.hospital-hotspot.is-hands-on-completed{outline:2px solid #15803d8c}.hospital-hotspot.is-hands-on-locked{filter:saturate(.7);opacity:.82}.hospital-hotspot-hands-on{color:#fff;background:#0f766e;border-radius:999px;place-items:center;width:1rem;height:1rem;font-size:.55rem;display:grid;position:absolute;top:-.15rem;right:-.15rem;box-shadow:0 1px 2px #0f172a40}@media (width<=360px){.hands-on-step{grid-template-columns:1fr}.hands-on-step-btn{width:100%}}@media (prefers-reduced-motion:reduce){.hospital-room-entered .hospital-room-stage,.hospital-hotspot-pulse,.hospital-hotspot-ripple,.hospital-adventure-screen .rise,.patient-dialogue,.adventure-discovery,.adventure-ready,.adventure-feedback,.hands-on-panel,.expressive-character,.expressive-eye,.expressive-mouth,.hospital-monitor-wave{animation:none!important}.hospital-room-stage,.hospital-room-floor{transform:none}.hospital-hotspot.is-pending:hover,.hospital-hotspot.is-pending:focus-visible{transform:translate(-50%,-50%)}}.medication-mastery-entry-panel,.conditions-library-entry-panel,.learning-pathways-entry-panel,.med-mastery-screen .panel,.conditions-library-screen .panel,.learning-pathways-screen .panel,.pathway-home-screen .panel{border-color:#1a6b6238}.conditions-library-entry-panel,.learning-pathways-entry-panel{background:linear-gradient(160deg,#2a9d8f14,#fffffff0 60%);border-color:#1a6b6247}.learning-pathways-screen .pathway-selector-card h2,.pathway-home-screen h1{margin-bottom:.25rem}.pathway-home-screen .chip-active,.learning-pathways-screen .chip-active{background:var(--teal-100);border-color:var(--teal-500);color:var(--teal-900)}.pathway-topic-row{border:1px solid #1a6b622e;width:100%}.conditions-library-screen .chip-active{background:var(--teal-100);border-color:var(--teal-500);color:var(--teal-900)}.condition-detail-screen .section-block summary{font-weight:650}.condition-quiz-screen .option.is-correct{border-color:var(--ok);background:#1a6b621f}.condition-quiz-screen .option.is-wrong{border-color:var(--danger);background:#b4231814}.option.is-selected{border-color:var(--teal-500);background:var(--teal-100)}.med-mastery-quiz .option{min-height:3rem}.med-mastery-quiz #mm-quiz-title{font-family:var(--font-body);overflow-wrap:break-word;font-size:clamp(1.05rem,3.8vw,1.15rem);font-weight:650;line-height:1.5}.med-mastery-quiz details a{overflow-wrap:anywhere}.med-mastery-list .list-button{width:100%}@media (width<=480px){.med-mastery-screen .chip-row{flex-wrap:wrap;gap:.4rem}.med-mastery-screen .chip,.med-mastery-quiz .confidence .chip{font-size:.82rem}.med-mastery-detail .panel,.med-mastery-quiz .mission-panel{padding:.85rem}.med-mastery-quiz .option{padding:.75rem .85rem}.medication-mastery-entry-panel .btn,.med-mastery-screen .btn{width:100%}}.med-mastery-screen{gap:.75rem}.med-mastery-screen h1{margin-bottom:.15rem;font-size:clamp(1.55rem,6.5vw,1.95rem)}.med-mastery-screen h2{margin:0;font-size:1.05rem}.med-mastery-screen .panel{gap:.65rem;padding:.85rem}.mm-header{flex-direction:column;gap:.15rem;display:flex}.mm-meta{margin:0;font-size:.8rem}.mm-search-field{margin:0}.mm-action-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem;display:grid}.mm-action-card{min-height:var(--touch);border-radius:var(--radius-sm);background:linear-gradient(180deg, #fff 0%, var(--teal-50) 100%);box-shadow:var(--shadow-soft);color:var(--ink);text-align:left;border:1px solid #1a6b6229;flex-direction:column;align-items:flex-start;gap:.15rem;padding:.55rem .6rem;display:flex}.mm-action-card strong{font-size:.82rem;font-weight:700;line-height:1.25}.mm-action-card .muted{margin:0;font-size:.72rem;line-height:1.25}.mm-action-card:hover{background:linear-gradient(180deg, #fff 0%, var(--teal-100) 100%);border-color:#1a6b6252}.mm-action-card:focus-visible{outline:3px solid var(--teal-500);outline-offset:2px}.mm-action-card[aria-pressed=true]{background:linear-gradient(180deg, var(--teal-50) 0%, var(--teal-100) 100%);border-color:#1a6b626b}.med-mastery-screen.mm-library-collapsed{gap:.7rem}.mm-ward-panel{border-radius:var(--radius-sm);background:#ffffffb8;border:1px solid #1a6b6224;padding:0 .7rem}.mm-ward-summary{min-height:var(--touch);cursor:pointer;justify-content:space-between;align-items:center;gap:.5rem;list-style:none;display:flex}.mm-ward-summary::-webkit-details-marker{display:none}.mm-ward-chevron{border-right:2px solid var(--teal-700);border-bottom:2px solid var(--teal-700);flex-shrink:0;width:.55rem;height:.55rem;transition:transform .15s;transform:rotate(45deg)}.mm-ward-panel[open] .mm-ward-chevron{transform:rotate(225deg)}.mm-ward-body{gap:.55rem;padding:0 0 .75rem}.mm-filter-chips{gap:.35rem}.mm-ward-info{font-size:.85rem}.mm-ward-info summary{cursor:pointer;align-items:center;min-height:44px;text-decoration:underline;display:flex}.mm-library-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.5rem;margin-top:.15rem;display:flex}.mm-library-heading>span{font-size:.8rem}.mm-active-filter{margin:0;font-size:.8rem}.mm-class-filter select{border:1px solid var(--teal-500);width:100%;min-width:0;min-height:44px;color:var(--ink);font:inherit;background:#fff;border-radius:12px;padding:.65rem;font-size:.9rem}.med-mastery-screen .search{min-height:48px;font-size:1rem}.med-mastery-screen.mm-search-active{gap:.55rem}.med-mastery-list{background:#fff;border:1px solid #1a6b6238;border-radius:14px;gap:0;overflow:hidden}.med-mastery-list .list-button{min-height:64px;box-shadow:none;text-align:left;border:0;border-radius:0;flex:1;gap:.15rem;min-width:0;padding:.7rem .75rem}.mm-collection-row{border-bottom:1px solid #1a6b6226;min-width:0;display:flex}.mm-collection-row:last-child{border-bottom:0}.mm-collection-select{cursor:pointer;justify-content:center;align-items:center;min-width:44px;display:flex}.mm-collection-select input{width:20px;height:20px;accent-color:var(--teal-700)}.med-mastery-list .list-button:hover{background:var(--teal-100)}.med-mastery-list .list-button:focus-visible{outline:3px solid var(--teal-500);outline-offset:-3px}.mm-row-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.5rem;display:flex}.mm-row-heading strong{overflow-wrap:anywhere;letter-spacing:-.01em;font-size:1.02rem;line-height:1.3}.mm-row-indicators{flex-wrap:wrap;gap:.4rem;display:flex}.mm-high-alert,.mm-saved{white-space:nowrap;font-size:.7rem;font-weight:700}.mm-high-alert{color:#8a4617}.mm-saved{color:var(--teal-900)}.mm-brands{color:var(--teal-900);font-size:.86rem}.mm-drug-class{font-size:.78rem;line-height:1.35}.med-mastery-list>p{padding:.75rem}@media (width<=360px){.mm-action-cards{grid-template-columns:1fr}.mm-action-card{flex-direction:row;justify-content:space-between;align-items:center;gap:.5rem}}.med-mastery-detail h1{overflow-wrap:anywhere;font-size:1.6rem}.med-mastery-detail .panel{gap:.7rem;min-width:0}.med-mastery-detail .section-block summary{cursor:pointer;min-height:44px;padding-block:.65rem}.med-mastery-detail a{overflow-wrap:anywhere}.mm-detail-alert{background:#fff5e9;border-left:3px solid #a35a25;margin:0;padding:.75rem;font-size:.9rem}.hospital-adventure-screen h1{overflow-wrap:break-word;font-size:clamp(1.35rem,6vw,1.8rem)}.adventure-disclaimer{margin:.35rem 0 0;font-size:.85rem}.practice-note{color:var(--ink-muted);border-left:3px solid var(--teal-500);margin:0;padding-left:.6rem;font-size:.85rem}.adventure-sequence{padding:.75rem}.adventure-sequence h2{margin:0;font-size:1rem}.adventure-sequence .panel-heading-row{justify-content:space-between;align-items:baseline;gap:.5rem;display:flex}.adventure-sequence-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:.35rem;margin:.5rem 0 0;padding:0;list-style:none;display:grid}.adventure-sequence-step{background:var(--surface-soft);min-width:0;color:var(--ink-muted);border-radius:10px;align-items:center;gap:.4rem;padding:.35rem .45rem;font-size:.82rem;line-height:1.25;display:flex}.adventure-sequence-index{height:1.5rem;color:var(--ink);background:#e3e9ee;border-radius:50%;flex:0 0 1.5rem;place-items:center;font-size:.75rem;font-weight:800;display:inline-grid}.adventure-sequence-title{overflow-wrap:break-word;min-width:0}.adventure-sequence-step.is-ready,.adventure-sequence-step.is-locked{background:var(--violet-100);color:var(--ink);font-weight:700}.adventure-sequence-step.is-ready .adventure-sequence-index,.adventure-sequence-step.is-locked .adventure-sequence-index{background:var(--violet-500);color:#fff}.adventure-sequence-step.is-complete{color:var(--teal-900);background:var(--teal-50)}.adventure-sequence-step.is-complete .adventure-sequence-index{background:var(--teal-500);color:#fff}.adventure-sequence-step.quality-unsafe .adventure-sequence-index,.adventure-sequence-step.quality-critical .adventure-sequence-index{background:var(--danger)}.adventure-sequence-step.quality-suboptimal .adventure-sequence-index{background:var(--warning)}.adventure-sequence-step.is-stopped{opacity:.6}.adventure-patient-summary summary,.adventure-assessment-strip summary{cursor:pointer;overflow-wrap:anywhere;align-items:center;min-height:44px;font-weight:700;display:flex}.adventure-patient-summary ul,.adventure-assessment-strip ul{margin:.4rem 0;padding-left:1.1rem;font-size:.92rem}.adventure-patient-summary h3{margin:.75rem 0 .25rem;font-size:.95rem}.adventure-isbar{grid-template-columns:1.4rem 1fr;gap:.3rem .5rem;margin:0;font-size:.92rem;display:grid}.adventure-isbar dt{color:var(--violet-700);font-weight:800}.adventure-isbar dd{min-width:0;margin:0}.adventure-stage-decision{border:2px solid #7c5cbf59}.adventure-stage-decision h2{margin:.2rem 0 .4rem;font-size:1.1rem}.adventure-stage-options{gap:.55rem;margin-top:.6rem;display:grid}.adventure-stage-options .adventure-choice{width:100%;min-height:var(--touch);white-space:normal;text-align:left;height:auto;padding:.7rem .85rem;font-size:.95rem;line-height:1.4}.adventure-next-task h2{margin:.2rem 0;font-size:1.05rem}.adventure-missing-checks{margin:.3rem 0 0;padding-left:1.1rem}.adventure-lock-reason{color:var(--warning);font-weight:600}.adventure-checks h2{margin:0 0 .4rem;font-size:1rem}.adventure-check-list{gap:.4rem;margin:0;padding:0;list-style:none;display:grid}.adventure-check-btn{width:100%;min-height:var(--touch);color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:#fff;border:1px solid #1a6b6238;border-radius:12px;justify-content:space-between;align-items:center;gap:.6rem;padding:.55rem .75rem;font-size:.95rem;display:flex}.adventure-check-btn:focus-visible{outline:3px solid var(--violet-500);outline-offset:2px}.adventure-check-label{overflow-wrap:break-word;min-width:0}.adventure-check-state{background:var(--violet-100);color:var(--violet-700);border-radius:999px;flex:none;padding:.2rem .5rem;font-size:.78rem;font-weight:800}.adventure-check-btn.is-completed .adventure-check-state{background:var(--teal-100);color:var(--teal-900)}.adventure-check-btn.is-locked .adventure-check-state{color:var(--ink-muted);background:#eceff2}.adventure-feedback-quality{margin:0}.hands-on-panel h2{overflow-wrap:break-word}.hands-on-step{min-width:0}.hands-on-step-copy{overflow-wrap:break-word;min-width:0}.sim-debrief-reviews{gap:.75rem;padding-left:1.2rem;display:grid}.sim-debrief-reviews p{margin:.15rem 0}.sim-review-best{color:var(--teal-900)}.legacy-demo-notice{border-left:4px solid var(--teal-500)}.hospital-hotspot-label{white-space:nowrap}@media (width<=480px){.hospital-hotspot{gap:.2rem;min-width:44px;min-height:44px;padding:.25rem .4rem}.hospital-hotspot-label{font-size:.66rem}.hospital-hotspot-pulse{inset:-4px}}@media (width<=340px){.adventure-sequence-list{grid-template-columns:1fr}}.hospital-room-poster{white-space:nowrap;padding:.25rem .5rem;font-size:.66rem;top:4%;left:50%;transform:translate(-50%)}@media (width<=480px){.hospital-room-stage{transform:none}}.learning-mission{width:100%;max-width:780px;margin-inline:auto}.quiz-screen #quiz-title{font-family:var(--font-body);margin:0;font-size:clamp(1.05rem,2.5vw,1.2rem);line-height:1.5}.quiz-screen.stack,.quiz-screen .mission-panel.stack{gap:.8rem}.quiz-screen .mission-panel{padding:clamp(.85rem,2vw,1.25rem)}.mode-banner{border-radius:8px;padding:.4rem .65rem;font-weight:400}@media (width>=768px){.app-shell{padding-inline:2rem}.app-shell-with-nav{padding-bottom:1.5rem}.top-bar{padding-top:1.1rem}.main-nav{border-radius:var(--radius);width:100%;box-shadow:var(--shadow-soft);background:#ffffffeb;border:1px solid #1a6b621f;margin:.35rem 0 .5rem;padding:.35rem;position:sticky;top:0;bottom:auto;left:auto;transform:none}.main-nav button{flex-direction:row;gap:.35rem;font-size:.9rem}.main-nav .nav-label-short{display:none}.main-nav .nav-label-full{display:inline}}.hub-screen .hub-card{box-shadow:var(--shadow-soft);border:1px solid #1a6b621a}.hub-link-grid{gap:.55rem;display:grid}.search-hero{box-shadow:var(--shadow-soft);border-width:2px;border-color:#21897c59;font-size:1.02rem}.practice-screen .chip-row,.profile-screen .chip-row{flex-wrap:wrap}.mm-landing-options{gap:.55rem}.mm-landing-options .btn{width:100%;min-height:48px}.class-challenge-quiz .option{text-align:left;min-height:48px;font-size:.95rem}.class-challenge-quiz #cc-quiz-title{font-size:clamp(1.05rem,4.5vw,1.25rem);line-height:1.35}.class-flashcards-screen .panel{gap:.65rem}.class-learn-screen .btn{min-height:48px}@media (width<=480px){.class-challenge-quiz .option{padding:.75rem}}
