/* virtual-hospital.css */
:root{--vh-ink:#172b3d;--vh-quiet:#597082;--vh-sky:#e9f2f8;--vh-border:#dce6ed;--vh-surface:#fff;--vh-bg:#f6f9fb;--vh-teal:#097768;--vh-blue:#183f66;--vh-amber:#a56723;--vh-radius:18px;--vh-shadow:0 12px 36px rgba(27,57,78,.055)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;background:var(--vh-bg);color:var(--vh-ink);font-size:15px;line-height:1.55}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:var(--vh-blue)}.vh-skip{position:absolute;z-index:20;transform:translateY(-150%);padding:10px;background:#fff}.vh-skip:focus{transform:translateY(0)}:focus-visible{outline:3px solid #008c9a;outline-offset:3px}.vh-shell{max-width:1280px;margin:0 auto;padding:0 27px}.vh-header{border-bottom:1px solid var(--vh-border);background:#fff;position:relative;z-index:2}.vh-header-inside{height:76px;display:flex;align-items:center;justify-content:space-between;gap:22px}.vh-brand{display:flex;align-items:center;gap:17px;text-decoration:none;color:var(--vh-ink);min-width:0}.vh-brand img{width:132px;height:43px;object-fit:contain}.vh-brand-divider{height:28px;border-left:1px solid var(--vh-border)}.vh-brand-name{font-size:17px;font-weight:800;letter-spacing:-.03em;display:flex;gap:10px;align-items:center;white-space:nowrap}.vh-beta{font-size:10px;color:#087060;background:#e4f5f1;border-radius:30px;padding:3px 7px;letter-spacing:.08em}.vh-topnav{display:flex;gap:16px;font-weight:650;font-size:13px}.vh-topnav a{text-decoration:none;color:#4a687b}.vh-topnav a:hover{text-decoration:underline}.vh-loading{text-align:center;margin:12vh auto;padding:50px 15px;max-width:460px}.vh-loading h1{font-size:24px}.vh-loading p{color:var(--vh-quiet)}.vh-spinner{width:36px;height:36px;border:3px solid #d9e8f3;border-top-color:#0b8a80;border-radius:100%;margin:auto;animation:vh-spin .8s linear infinite}@keyframes vh-spin{to{transform:rotate(360deg)}}.vh-toast{position:fixed;right:24px;top:88px;max-width:400px;z-index:10;background:#fff;border:1px solid var(--vh-border);box-shadow:var(--vh-shadow);padding:16px 20px;border-radius:12px;font-weight:650}.vh-toast.is-error{border-left:5px solid #bd4250}.vh-footer{border-top:1px solid var(--vh-border);display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-top:55px;padding:22px 0 35px;color:#7890a0;font-size:12px}.vh-eyebrow{font-size:11px;font-weight:850;letter-spacing:.13em;text-transform:uppercase;color:#218477}.vh-hero{margin:29px 0 18px;border-radius:24px;background:radial-gradient(ellipse 650px 300px at 88% -18%,rgba(85,195,176,.29),transparent 65%),linear-gradient(115deg,#132e49,#17506a);color:#fff;padding:42px;display:flex;align-items:center;justify-content:space-between;gap:28px;overflow:hidden;position:relative}.vh-hero h1{font-size:clamp(30px,3.4vw,45px);letter-spacing:-.055em;line-height:1.12;margin:10px 0 12px;font-weight:800;max-width:640px}.vh-hero p{max-width:610px;color:#d2e6ef;font-size:15px;margin:0}.vh-hero .vh-eyebrow{color:#9fe5d9}.vh-hero-art{width:155px;flex-shrink:0;height:155px;border:1px solid rgba(255,255,255,.15);border-radius:32px;display:grid;place-items:center;font-size:75px;background:rgba(255,255,255,.065);transform:rotate(-6deg);box-shadow:0 20px 45px rgba(0,0,0,.12)}.vh-pill{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:750;border-radius:30px;padding:4px 10px;background:#e7f7f1;color:#0c7563;white-space:nowrap}.vh-pill.vh-outline{background:#edf3fa;color:#315879}.vh-pill.vh-warm{color:#8b641d;background:#fff3da}.vh-subtitle{font-weight:800;font-size:21px;letter-spacing:-.035em;margin:0 0 4px}.vh-muted{color:var(--vh-quiet)}.vh-subhead{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin:27px 0 14px}.vh-subhead p{margin:0;color:var(--vh-quiet);font-size:13px}.vh-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.vh-stat{background:#fff;border:1px solid var(--vh-border);border-radius:15px;padding:18px 20px}.vh-stat small{color:var(--vh-quiet);display:block;font-size:12px}.vh-stat strong{font-weight:800;font-size:28px;letter-spacing:-.055em;display:block;line-height:1.3;margin-top:5px}.vh-stat em{font-size:12px;font-style:normal;color:#4c8d85;font-weight:600}.vh-card{background:#fff;border:1px solid var(--vh-border);border-radius:var(--vh-radius);box-shadow:var(--vh-shadow)}.vh-config{margin:18px 0 0;display:flex;gap:20px;flex-wrap:wrap;align-items:flex-end;padding:17px 20px}.vh-config label{display:grid;gap:5px;font-size:12px;font-weight:700;color:#39546b;flex:1;min-width:170px}.vh-config select{padding:10px 12px;border:1px solid #cfdae3;border-radius:10px;background:#fff;color:#203d52;width:100%;min-height:44px}.vh-case-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.vh-case{display:flex;flex-direction:column;overflow:hidden}.vh-case-head{padding:22px 22px 6px;display:flex;align-items:center;justify-content:space-between;gap:8px}.vh-case-symbol{width:53px;height:53px;border-radius:16px;background:#e7f0f7;display:grid;place-items:center;font-size:25px}.vh-case[data-area="maternal"] .vh-case-symbol{background:#fcebf1}.vh-case[data-area="pediatric"] .vh-case-symbol{background:#fff2df}.vh-case[data-area="metabolic"] .vh-case-symbol{background:#eaf6ef}.vh-case[data-area="fundamentals"] .vh-case-symbol{background:#f4efff}.vh-case-body{padding:8px 22px 15px;flex:1}.vh-case-body h3{font-size:18px;line-height:1.26;letter-spacing:-.03em;margin:11px 0}.vh-case-body p{color:var(--vh-quiet);font-size:13px;margin:0 0 17px;min-height:58px}.vh-case-meta{display:flex;gap:7px;flex-wrap:wrap}.vh-case-meta span{font-size:11px;background:#f1f6f8;color:#547083;border-radius:5px;padding:4px 7px}.vh-case-footer{padding:14px 22px 20px;border-top:1px solid #edf1f4;display:flex;justify-content:space-between;align-items:center;gap:10px}.vh-btn{border:0;border-radius:10px;min-height:42px;padding:10px 15px;font-weight:750;font-size:13px;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:transform .12s ease,background .12s}.vh-btn:not(:disabled):active{transform:translateY(1px)}.vh-btn-primary{background:#116b63;color:#fff}.vh-btn-primary:hover:not(:disabled){background:#095d55}.vh-btn-secondary{border:1px solid #c9d9e1;background:#fff;color:#254961}.vh-btn-secondary:hover:not(:disabled){background:#f2f7f8}.vh-btn-soft{background:#e8f3f6;color:#1b6172}.vh-btn-ghost{background:transparent;color:#426174}.vh-btn-full{width:100%}.vh-sidegrid{display:grid;grid-template-columns:1.3fr 1fr;gap:16px;margin-top:22px}.vh-sidegrid .vh-card{padding:20px}.vh-master-row{display:flex;align-items:center;justify-content:space-between;font-size:13px;margin:12px 0 4px}.vh-progress-track{height:7px;background:#eaf0f3;overflow:hidden;border-radius:20px}.vh-progress-bar{height:100%;background:linear-gradient(90deg,#147e74,#56b1a7);border-radius:20px}.vh-recent{display:flex;flex-direction:column;gap:8px}.vh-recent-row{padding:10px 0;border-bottom:1px solid #e8eef2;display:flex;justify-content:space-between;gap:12px;align-items:center}.vh-recent-row:last-child{border:0}.vh-recent-row small{display:block;color:var(--vh-quiet)}.vh-disclaimer{background:#fffdf6;border:1px solid #eddfbf;border-radius:13px;color:#685b42;padding:13px 16px;font-size:12px;margin-top:22px}.vh-case-crumb{margin:26px 0 16px;color:#647e90;display:flex;gap:8px;align-items:center;font-size:12px}.vh-case-crumb button{border:0;background:transparent;color:#276a78;font-weight:750;padding:0}.vh-patient-bar{display:flex;align-items:center;gap:16px;padding:22px}.vh-patient-avatar{display:grid;place-items:center;width:68px;height:68px;background:#e4edf4;color:#225278;border-radius:18px;font-size:23px;font-weight:800;flex-shrink:0}.vh-patient-bar h1{font-size:26px;letter-spacing:-.045em;margin:0 0 5px}.vh-patient-bar p{color:var(--vh-quiet);margin:0;font-size:13px}.vh-patient-progress{margin-left:auto;min-width:125px;text-align:right}.vh-patient-progress strong{font-size:16px}.vh-patient-progress small{display:block;font-size:11px;color:var(--vh-quiet)}.vh-grid-session{display:grid;grid-template-columns:minmax(0,1fr) minmax(305px,.78fr);gap:16px}.vh-step-panel{padding:26px}.vh-step-panel h2{font-size:24px;letter-spacing:-.04em;margin:10px 0}.vh-step-panel .vh-intro{color:var(--vh-quiet);margin:0 0 18px;font-size:14px}.vh-step-divider{height:1px;background:#e7eef3;margin:18px 0}.vh-step-panel h3{font-size:17px;margin:0 0 8px}.vh-step-prompt{color:#2c4960;font-size:15px;margin:0 0 17px}.vh-choice{position:relative;display:flex;gap:12px;align-items:flex-start;border:1px solid #dce7ec;border-radius:12px;padding:15px 15px;margin:9px 0;background:#fff;cursor:pointer;font-size:13px}.vh-choice:hover{background:#f7fbfc;border-color:#8bb2bb}.vh-choice:has(input:checked){background:#eaf7f4;border-color:#0c8a77}.vh-choice input{accent-color:#117f72;margin-top:2px;flex-shrink:0}.vh-hint{border-left:3px solid #0e9a87;padding:10px 14px;background:#f0faf6;font-size:13px;color:#316358;margin:15px 0;border-radius:0 10px 10px 0}.vh-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:21px}.vh-actions small{color:#6a808d}.vh-chart-panel{display:grid;gap:16px;align-content:start}.vh-chart{padding:20px}.vh-chart h3{font-size:15px;margin:0 0 10px}.vh-vital-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.vh-vital{background:#f2f7fa;border:1px solid #e7eef3;padding:12px;border-radius:10px}.vh-vital small{color:#667f90;display:block;font-size:11px}.vh-vital strong{font-size:16px;line-height:1.35;display:block;overflow-wrap:anywhere}.vh-chart-list{padding:0 0 0 17px;margin:8px 0;color:#405e70;font-size:13px}.vh-chart-list li{margin:6px 0}.vh-info-row{font-size:13px;color:#536c7e;margin:8px 0}.vh-info-row strong{color:#29465a}.vh-feedback{background:#effbf6;border:1px solid #bfe4d4;padding:18px;border-radius:13px;margin-top:18px}.vh-feedback.is-warning{background:#fff9ee;border-color:#e9d7b3}.vh-feedback strong{display:block;font-size:14px}.vh-feedback p{font-size:13px;margin:6px 0}.vh-ai{padding:20px;border:1px solid #c8dfeb;background:linear-gradient(140deg,#f3faff,#fff);border-radius:16px}.vh-ai h3{font-size:16px;margin:0}.vh-ai p{color:#5e798b;font-size:12px;margin:5px 0 13px}.vh-ai textarea{resize:vertical;width:100%;min-height:76px;max-height:240px;border:1px solid #cbdde7;border-radius:10px;padding:11px;background:#fff;color:var(--vh-ink);font-size:13px}.vh-ai-answer{white-space:pre-wrap;background:#fff;border:1px solid #d9e5ec;border-radius:11px;padding:14px;margin-top:14px;font-size:13px;line-height:1.6}.vh-ai-counter{font-size:11px;color:#688092;margin:9px 0}.vh-report-top{padding:34px;display:flex;justify-content:space-between;align-items:center;gap:18px}.vh-report-top h1{font-size:30px;margin:6px 0}.vh-score{border:8px solid #deeee8;width:140px;height:140px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;flex-shrink:0;color:#116c63}.vh-score strong{font-size:35px;letter-spacing:-.06em}.vh-score span{font-size:11px;font-weight:700}.vh-report-body{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.vh-report-body .vh-card{padding:23px}.vh-report-body h2{font-size:19px;margin:0 0 11px}.vh-review-row{padding:12px 0;border-bottom:1px solid #e8eff2}.vh-review-row:last-child{border:0}.vh-review-row strong{font-size:13px}.vh-review-row p{color:#637d8e;font-size:12px;margin:4px 0}.vh-action-right{margin-left:auto}.vh-locked{padding:16px;border-radius:12px;background:#f0f5f8;color:#426074;font-size:13px}.vh-error-page{text-align:center;max-width:540px;margin:100px auto;padding:40px}.vh-error-page h1{font-size:27px;margin:0 0 10px}.vh-error-page p{color:var(--vh-quiet)}.vh-steps{display:flex;gap:4px;margin:12px 0 22px}.vh-step-dot{height:6px;border-radius:6px;background:#deebef;flex:1}.vh-step-dot.done{background:#128578}.vh-step-dot.current{background:#f1aa54}.vh-empty{color:#6d8190;font-size:13px;padding:20px 4px}
@media(max-width:1050px){.vh-case-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.vh-grid-session{grid-template-columns:1fr}.vh-chart-panel{grid-template-columns:1fr 1fr}.vh-ai{grid-column:1/-1}}
@media(max-width:750px){.vh-shell{padding:0 15px}.vh-header-inside{height:66px}.vh-brand img{width:97px;height:33px}.vh-brand-divider{height:22px}.vh-brand-name{font-size:13px;gap:6px}.vh-beta{font-size:9px}.vh-topnav{gap:9px}.vh-topnav a{font-size:11px}.vh-topnav a:last-child{display:none}.vh-hero{padding:26px;min-height:205px}.vh-hero-art{display:none}.vh-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.vh-stat{padding:14px}.vh-stat strong{font-size:24px}.vh-case-grid,.vh-sidegrid,.vh-report-body,.vh-chart-panel{grid-template-columns:1fr}.vh-config{gap:10px}.vh-config label{min-width:130px}.vh-patient-bar{padding:15px;flex-wrap:wrap}.vh-patient-avatar{height:52px;width:52px;font-size:17px}.vh-patient-bar h1{font-size:22px}.vh-patient-progress{margin-left:0;text-align:left;width:100%;padding-left:4px}.vh-step-panel{padding:18px}.vh-report-top{padding:23px}.vh-report-top h1{font-size:23px}.vh-score{width:100px;height:100px;border-width:6px}.vh-score strong{font-size:28px}}
@media(max-width:420px){.vh-brand-name{font-size:12px}.vh-topnav a{font-size:10px}.vh-header-inside{gap:6px}.vh-brand{gap:8px}.vh-hero h1{font-size:29px}.vh-case-grid{grid-template-columns:1fr}.vh-footer{display:block}.vh-footer span{display:block;margin-bottom:6px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.001s!important;transition-duration:.001s!important}}

/* v19.2.1 — progressive simulations and patient interviews */
.vh-config-explain{flex:1 1 225px;align-self:center;font-size:12px;line-height:1.65;color:#587789;padding:5px 0}
.vh-level-expectation{background:#f1f8fa;color:#385a68;border-left:3px solid #418c98;padding:11px 14px;margin:10px 0 15px;font-size:12px;line-height:1.6;border-radius:0 8px 8px 0}
.vh-scene{padding:15px 17px;margin:16px 0 18px;background:#f1f7fa;border:1px solid #d9e7ed;border-radius:12px}
.vh-scene strong{font-size:12px;color:#245f72}.vh-scene p{font-size:13px;color:#405b6e;margin:5px 0 0;line-height:1.55}
.vh-reflection{display:block;padding:13px 15px;margin:18px 0 4px;background:#f7f9fc;border:1px solid #dce6ed;border-radius:12px;font-size:12px}
.vh-reflection strong,.vh-reflection span{display:block;margin-bottom:7px}.vh-reflection span{font-weight:400;color:#536f7e;line-height:1.5}
.vh-reflection textarea{display:block;box-sizing:border-box;width:100%;min-height:84px;resize:vertical;max-height:200px;border:1px solid #becfd9;border-radius:9px;padding:10px;background:#fff;font:inherit;font-size:13px;color:#23495b}
.vh-interview{padding:20px}.vh-interview h3{font-size:16px;margin:7px 0 5px}.vh-interview p{font-size:12px;line-height:1.5}.vh-interview label{display:block;font-weight:700;font-size:12px;color:#365669;margin:10px 0 5px}
.vh-interview select{box-sizing:border-box;width:100%;max-width:100%;padding:10px 12px;margin-bottom:10px;border:1px solid #c7dbe2;border-radius:9px;background:white;color:#23495b;font-size:12px}
.vh-interview-log{max-height:290px;overflow-y:auto;display:grid;gap:9px;margin:12px 0}.vh-interview-turn{border:1px solid #e0eaf0;border-radius:10px;padding:11px;background:#f7fbfc;font-size:12px;line-height:1.55}.vh-interview-turn p{margin:5px 0 0}
.vh-ai-patient{background:linear-gradient(135deg,#f3f9fc,#f4f9f6)}
.vh-next-learning{padding:23px;margin-top:16px}.vh-next-learning h2{font-size:19px;margin:0 0 9px}.vh-next-learning h3{font-size:15px;margin:18px 0 0}
.vh-patient-bar h1{overflow-wrap:anywhere}
@media(max-width:750px){.vh-config-explain{flex-basis:100%}.vh-interview{padding:16px}.vh-next-learning{padding:17px}}


/* theme-contrast-v1922.css */
/* Grade Helper v19.2.2 — theme consistency and contrast hotfix.
   Scope all changes to the existing data-theme="dark" preference.
   Historic components used .theme-dark (not set by the current theme engine).
   No billing, AI, simulation, or authentication behavior is changed. */

/* First-use cards and welcome panels in the Nursing Workspace, account and public pages. */
html[data-theme="dark"] :is(.gh188-first-account,.gh188-workspace-start,.gh188-home-try,.gh188-support-example) {
  background:linear-gradient(135deg,var(--gh-dark-panel,#222b35),var(--gh-dark-card,#2b3642))!important;
  border-color:var(--gh-dark-border,#465563)!important;
  color:var(--gh-dark-ink,#f2f5f8)!important;
}
html[data-theme="dark"] :is(.gh188-first-account,.gh188-workspace-start,.gh188-home-try,.gh188-support-example) :is(h1,h2,h3,h4,strong) {
  color:var(--gh-dark-ink,#f2f5f8)!important;
}
html[data-theme="dark"] :is(.gh188-first-account,.gh188-workspace-start,.gh188-home-try,.gh188-support-example) :is(p,small) {
  color:var(--gh-dark-muted,#b3c1cf)!important;
}
html[data-theme="dark"] .gh188-workspace-start .gh188-workspace-head p,
html[data-theme="dark"] .gh188-first-account p,
html[data-theme="dark"] .gh188-home-try p {
  color:var(--gh-dark-muted,#b3c1cf)!important;
}
html[data-theme="dark"] .gh188-try-grid > :is(a,button) {
  background:var(--gh-dark-card,#2b3642)!important;
  color:var(--gh-dark-ink,#f2f5f8)!important;
  border-color:var(--gh-dark-border,#465563)!important;
  box-shadow:0 5px 20px rgba(5,12,20,.12)!important;
}
html[data-theme="dark"] .gh188-try-grid > :is(a,button):is(:hover,:focus-visible) {
  background:var(--gh-dark-raised,#334250)!important;
  border-color:var(--gh-dark-blue,#80b8ef)!important;
}
html[data-theme="dark"] .gh188-try-grid strong {color:var(--gh-dark-ink,#f2f5f8)!important}
html[data-theme="dark"] .gh188-try-grid small {color:var(--gh-dark-muted,#b3c1cf)!important}
html[data-theme="dark"] .gh188-try-grid span {color:var(--gh-dark-blue,#80b8ef)!important}

/* Quick-access toolbar appeared white with pale labels in dark mode. */
html[data-theme="dark"] .gh187-quick-nav {
  background:var(--gh-dark-panel,#222b35)!important;
  border-color:var(--gh-dark-border,#465563)!important;
  color:var(--gh-dark-ink,#f2f5f8)!important;
}
html[data-theme="dark"] .gh187-quick-nav .gh187-quick-label {color:var(--gh-dark-muted,#b3c1cf)!important;opacity:1}
html[data-theme="dark"] .gh187-quick-nav :is(button,a) {
  background:var(--gh-dark-card,#2b3642)!important;
  color:var(--gh-dark-ink,#f2f5f8)!important;
  border-color:var(--gh-dark-border,#465563)!important;
}
html[data-theme="dark"] .gh187-quick-nav :is(button,a):is(:hover,:focus-visible) {
  background:var(--gh-dark-raised,#334250)!important;
  border-color:var(--gh-dark-blue,#80b8ef)!important;
}

/* Registration, onboarding and service-status components. */
html[data-theme="dark"] :is(.gh188-auth-choice,.gh188-account-tabs) {
  background:var(--gh-dark-card,#2b3642)!important;
  border:1px solid var(--gh-dark-border,#465563)!important;
}
html[data-theme="dark"] :is(.gh188-auth-choice,.gh188-account-tabs) button {
  color:var(--gh-dark-soft,#d5dfe8)!important;
  background:transparent!important;
}
html[data-theme="dark"] .gh188-auth-choice button[aria-pressed="true"],
html[data-theme="dark"] .gh188-account-tabs button[aria-current="page"] {
  background:var(--gh-dark-raised,#334250)!important;
  color:var(--gh-dark-ink,#f2f5f8)!important;
  box-shadow:inset 0 0 0 1px var(--gh-dark-blue,#80b8ef)!important;
}
html[data-theme="dark"] .gh188-form-hint,
html[data-theme="dark"] .gh188-reference-notice {color:var(--gh-dark-muted,#b3c1cf)!important}
html[data-theme="dark"] .gh188-plan-status {
  background:#3c3526!important;
  border-color:#ad8b55!important;
  color:#ffe3b0!important;
}
html[data-theme="dark"] .gh188-credit-note,
html[data-theme="dark"] .gh188-service-trust {
  background:var(--gh-dark-card,#2b3642)!important;
  color:var(--gh-dark-soft,#d5dfe8)!important;
  border-color:var(--gh-dark-border,#465563)!important;
}

/* Account information that relied on the unused legacy .theme-dark class. */
html[data-theme="dark"] :is(.account-onboarding,.account-command-card,.account-recent-item,.account-onboarding-step,.account-notification-group-head,.account-security-grid>div) {
  background:var(--gh-dark-card,#2b3642)!important;
  border-color:var(--gh-dark-border,#465563)!important;
  color:var(--gh-dark-ink,#f2f5f8)!important;
}
html[data-theme="dark"] :is(.account-google-button,.account-otp-form input,.account-profile-form input) {
  background:var(--gh-dark-input,#1c2630)!important;
  border-color:var(--gh-dark-border,#465563)!important;
  color:var(--gh-dark-ink,#f2f5f8)!important;
}
html[data-theme="dark"] :is(.account-email-readiness,.account-email-sent,.account-switch-notice,.account-auth-note) {
  background:var(--gh-dark-card,#2b3642)!important;
  border-color:var(--gh-dark-border,#465563)!important;
  color:var(--gh-dark-soft,#d5dfe8)!important;
}
html[data-theme="dark"] :is(.account-recent-item,.account-onboarding-step,.account-command-card) :is(p,small,span) {
  color:var(--gh-dark-muted,#b3c1cf)!important;
}

/* Navigation and compare cards on mobile were also written for the old class. */
@media(max-width:640px) {
  html[data-theme="dark"] .gh1881-mobile-quicklinks {
    background:var(--gh-dark-panel,#222b35)!important;
    border-color:var(--gh-dark-border,#465563)!important;
  }
  html[data-theme="dark"] .gh1881-mobile-quicklinks a,
  html[data-theme="dark"] .gh1881-mobile-compare-list button {
    background:var(--gh-dark-card,#2b3642)!important;
    color:var(--gh-dark-ink,#f2f5f8)!important;
    border-color:var(--gh-dark-border,#465563)!important;
  }
  html[data-theme="dark"] .gh1881-mobile-explore,
  html[data-theme="dark"] .nav-more-panel .gh1881-nav-details summary {
    background:var(--gh-dark-card,#2b3642)!important;
    color:var(--gh-dark-ink,#f2f5f8)!important;
    border-color:var(--gh-dark-border,#465563)!important;
  }
  html[data-theme="dark"] .gh1881-mobile-explore :is(strong,small),
  html[data-theme="dark"] .gh1881-mobile-compare-title {
    color:var(--gh-dark-ink,#f2f5f8)!important;
  }
  html[data-theme="dark"] .gh1881-swipe-hint {color:var(--gh-dark-muted,#b3c1cf)!important}
}

/* Virtual Hospital: share the current saved theme without changing clinical logic. */
html[data-theme="dark"] {
  --vh-bg:var(--gh-dark-bg,#171d24);
  --vh-surface:var(--gh-dark-panel,#222b35);
  --vh-border:var(--gh-dark-border,#465563);
  --vh-ink:var(--gh-dark-ink,#f2f5f8);
  --vh-quiet:var(--gh-dark-muted,#b3c1cf);
  --vh-sky:var(--gh-dark-card,#2b3642);
  --vh-blue:var(--gh-dark-blue,#80b8ef);
  --vh-teal:var(--gh-dark-teal,#75cebe);
  color-scheme:dark;
}
html[data-theme="dark"] .vh-page {background:var(--vh-bg);color:var(--vh-ink)}
html[data-theme="dark"] .vh-page :is(.vh-header,.vh-card,.vh-stat,.vh-toast,.vh-step-panel,.vh-chart,.vh-interview,.vh-report-top,.vh-next-learning) {
  background:var(--vh-surface)!important;
  color:var(--vh-ink)!important;
  border-color:var(--vh-border)!important;
}
html[data-theme="dark"] .vh-page .vh-header {border-bottom:1px solid var(--vh-border)!important}
html[data-theme="dark"] .vh-page :is(.vh-brand,.vh-brand-name,.vh-subtitle,.vh-step-panel h2,.vh-step-panel h3,.vh-case-body h3,.vh-chart h3,.vh-interview h3,.vh-report-body h2,.vh-patient-bar h1) {color:var(--vh-ink)!important}
html[data-theme="dark"] .vh-page :is(.vh-topnav a,.vh-muted,.vh-case-body p,.vh-review-row p,.vh-recent-row small,.vh-config label,.vh-interview label,.vh-reflection span,.vh-ai p,.vh-ai-counter,.vh-chart-list,.vh-footer,.vh-case-crumb,.vh-step-prompt,.vh-scene p,.vh-locked,.vh-config-explain) {color:var(--vh-quiet)!important}
html[data-theme="dark"] .vh-page :is(.vh-choice,.vh-vital,.vh-case-meta span,.vh-scene,.vh-reflection,.vh-interview-turn,.vh-ai,.vh-ai-answer,.vh-locked,.vh-case-symbol,.vh-progress-track) {
  background:var(--gh-dark-card,#2b3642)!important;
  color:var(--vh-ink)!important;
  border-color:var(--vh-border)!important;
}
html[data-theme="dark"] .vh-page .vh-choice:has(input:checked) {background:#204b43!important;border-color:#75cebe!important}
html[data-theme="dark"] .vh-page .vh-choice:hover {background:var(--gh-dark-raised,#334250)!important}
html[data-theme="dark"] .vh-page :is(.vh-config select,.vh-interview select,.vh-reflection textarea,.vh-ai textarea) {
  background:var(--gh-dark-input,#1c2630)!important;
  color:var(--vh-ink)!important;
  border-color:var(--vh-border)!important;
}
html[data-theme="dark"] .vh-page :is(.vh-btn-secondary,.vh-btn-ghost,.vh-btn-soft) {
  background:var(--gh-dark-card,#2b3642)!important;
  color:var(--vh-ink)!important;
  border-color:var(--vh-border)!important;
}
html[data-theme="dark"] .vh-page :is(.vh-btn-secondary,.vh-btn-ghost,.vh-btn-soft):hover:not(:disabled) {background:var(--gh-dark-raised,#334250)!important}
html[data-theme="dark"] .vh-page .vh-btn-primary {background:#1f8a78!important;color:#fff!important}
html[data-theme="dark"] .vh-page .vh-ai-patient {background:var(--gh-dark-card,#2b3642)!important}
html[data-theme="dark"] .vh-page .vh-hint,
html[data-theme="dark"] .vh-page .vh-feedback {
  background:#204137!important;border-color:#37836d!important;color:#d3f5e7!important;
}
html[data-theme="dark"] .vh-page .vh-feedback.is-warning,
html[data-theme="dark"] .vh-page .vh-disclaimer {
  background:#3c3526!important;border-color:#ad8b55!important;color:#ffe3b0!important;
}
html[data-theme="dark"] .vh-page .vh-scene strong {color:#9dd4ff!important}
html[data-theme="dark"] .vh-page .vh-hero {color:#fff!important}
html[data-theme="dark"] .vh-page .vh-hero p {color:#d2e6ef!important}
html[data-theme="dark"] .vh-page .vh-hero .vh-eyebrow {color:#9fe5d9!important}
html[data-theme="dark"] .vh-page .vh-case-footer,
html[data-theme="dark"] .vh-page .vh-review-row,
html[data-theme="dark"] .vh-page .vh-recent-row {border-color:var(--vh-border)!important}
html[data-theme="dark"] .vh-page .vh-step-divider {background:var(--vh-border)!important}
html[data-theme="dark"] .vh-page .vh-beta {background:#21463e;color:#a3efdb}
html[data-theme="dark"] .vh-page .vh-pill {background:#21463e;color:#a3efdb}
html[data-theme="dark"] .vh-page .vh-pill.vh-outline {background:#273e58;color:#c2e1ff}
html[data-theme="dark"] .vh-page .vh-pill.vh-warm {background:#413627;color:#ffe3b0}
html[data-theme="dark"] .vh-page .vh-vital small {color:var(--vh-quiet)!important}
html[data-theme="dark"] .vh-page .vh-vital strong {color:var(--vh-ink)!important}
html[data-theme="dark"] .vh-page .vh-patient-avatar {background:#2c4861;color:#c7e5ff}
html[data-theme="dark"] .vh-page .vh-skip {background:var(--vh-surface);color:var(--vh-ink)}

/* Virtual Hospital header controls appear in both themes; compact on phones. */
.vh-page .vh-topnav :is(.vh-theme-toggle,.comfort-toggle) {
  min-height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  padding:7px 10px;
  border:1px solid var(--vh-border,#dce6ed);
  border-radius:10px;
  background:var(--vh-surface,#fff);
  color:var(--vh-ink,#172b3d);
  white-space:nowrap;
  font-size:12px;
  font-weight:700;
}
.vh-page .vh-topnav :is(.vh-theme-toggle,.comfort-toggle):focus-visible {outline:3px solid #9dd4ff;outline-offset:2px}
@media(max-width:750px) {
  .vh-page .vh-topnav :is(.vh-theme-toggle,.comfort-toggle) {min-width:36px;padding:7px;font-size:11px}
  .vh-page .vh-topnav :is(.vh-theme-toggle,.comfort-toggle) [data-theme-label],
  .vh-page .vh-topnav .comfort-toggle [data-comfort-label] {display:none}
  .vh-page .vh-topnav {gap:5px}
}
/* Keep the full header usable after adding appearance controls. */
@media(max-width:750px) {
  .vh-page .vh-topnav a[href="account.html"] {display:none}
}
@media(max-width:600px) {
  .vh-page .vh-header-inside {gap:8px}
  .vh-page .vh-brand {gap:0}
  .vh-page .vh-brand img {width:94px;height:35px}
  .vh-page .vh-brand-divider,.vh-page .vh-brand-name {display:none}
  .vh-page .vh-topnav {gap:4px}
}


/* platform-trust-v1924.css */
/* Grade Helper v19.2.4: accessible software-first paths and honest availability. */
[data-gh1924-consult-only][hidden],.gh1924-hidden[hidden]{display:none!important}
.gh1924-trustbar{border-top:1px solid #d8e7f0;border-bottom:1px solid #d8e7f0;background:#f0f8fc;color:#244359}
.gh1924-trustbar>.container{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-top:18px;padding-bottom:18px}
.gh1924-trustbar h2{font-size:1rem;color:#16394d;margin:0 0 5px;line-height:1.35}
.gh1924-trustbar p{margin:0;color:#496478;font-size:.89rem;line-height:1.55;max-width:850px}
.gh1924-trustbar a{color:#075f81;text-decoration:underline;text-underline-offset:3px;font-weight:700;white-space:nowrap}
.gh1924-alert{margin:15px 0 22px;padding:15px 18px;border-radius:13px;border:1px solid #c9dce8;background:#edf6fb;color:#234a61;line-height:1.6;font-size:.92rem}
.gh1924-alert strong{color:#153d58}.gh1924-alert a{color:#095c84;text-decoration:underline;font-weight:750}
.gh1924-help-wrap{max-width:1120px;margin:auto;padding:54px 20px 80px}
.gh1924-help-wrap h1{font-size:clamp(2rem,4vw,3.1rem);line-height:1.1;margin:10px 0 12px;color:#16394d}
.gh1924-help-intro{max-width:740px;color:#476579;line-height:1.7}
.gh1924-help-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-top:28px}
.gh1924-help-card{padding:27px 24px;border:1px solid #d5e5ef;border-radius:18px;background:#fff;box-shadow:0 12px 35px rgba(21,50,74,.05)}
.gh1924-help-card h2{font-size:1.12rem;color:#183b53;margin:0 0 10px}.gh1924-help-card p{color:#4b6579;font-size:.94rem;line-height:1.65}
.gh1924-help-card a{color:#0c6588;font-weight:750;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.gh1924-help-foot{max-width:960px;margin-top:26px}
.vh-review-notice{margin:18px 0;padding:16px 19px;border-radius:14px;background:#eff7fb;border:1px solid #bdd8e7;color:#20465b;font-size:.92rem;line-height:1.6}
.vh-review-notice strong{color:#16405c}
html[data-theme="dark"] .gh1924-trustbar{background:#172b3d;border-color:#355568;color:#e5eff7}
html[data-theme="dark"] .gh1924-trustbar h2,html[data-theme="dark"] .gh1924-help-wrap h1,html[data-theme="dark"] .gh1924-help-card h2{color:#f1f7ff}
html[data-theme="dark"] .gh1924-trustbar p,html[data-theme="dark"] .gh1924-help-intro,html[data-theme="dark"] .gh1924-help-card p{color:#c2d8e5}
html[data-theme="dark"] .gh1924-trustbar a,html[data-theme="dark"] .gh1924-help-card a{color:#9dddff}
html[data-theme="dark"] .gh1924-alert,html[data-theme="dark"] .vh-review-notice{background:#1c364a;border-color:#3a5d74;color:#d9eaf4}
html[data-theme="dark"] .gh1924-alert strong,html[data-theme="dark"] .vh-review-notice strong{color:#f1f7ff}
html[data-theme="dark"] .gh1924-alert a{color:#91ddff}
html[data-theme="dark"] .gh1924-help-card{background:#21374c;border-color:#425a6c;box-shadow:none}
/* Maintain clear keyboard focus and safe target sizes on the public paths. */
.gh1924-help-card a:focus-visible,.gh1924-trustbar a:focus-visible,.gh1924-alert a:focus-visible,[data-gh1924-consult-only] a:focus-visible{outline:3px solid #e8b85f;outline-offset:4px;border-radius:3px}
@media (max-width:800px){.gh1924-help-grid{grid-template-columns:1fr 1fr}.gh1924-trustbar>.container{align-items:flex-start;flex-direction:column;gap:10px}}
@media (max-width:540px){.gh1924-help-grid{grid-template-columns:1fr}.gh1924-help-wrap{padding:36px 18px 60px}.gh1924-help-card{padding:22px}.gh1924-trustbar a{white-space:normal}}
@media (prefers-reduced-motion:reduce){.gh1924-help-wrap *,.gh1924-trustbar *{scroll-behavior:auto!important;transition-duration:0s!important;animation-duration:0s!important}}

/* Keep the dedicated Help Center footer compact instead of inheriting stacked links. */
.gh1924-help-page .footer-bottom{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 20px;padding:28px 0}
.gh1924-help-page .footer-bottom span{display:inline-flex;align-items:center;flex-wrap:wrap;gap:7px;line-height:1.6}
.gh1924-help-page .footer-bottom a{display:inline!important;margin:0!important;padding:0!important;white-space:nowrap}
@media(max-width:600px){.gh1924-help-page .footer-bottom{align-items:flex-start;flex-direction:column;gap:10px}}

/* v19.2.4 review: preserve legibility of the original dark-logo artwork
   against the Virtual Hospital dark header at narrow and wide widths. */
html[data-theme="dark"] .vh-page .vh-brand img{background:#f5fafc;border-radius:6px;padding:2px 4px;object-fit:contain}

