@font-face {
  font-family: Suite;
  src: url("/brand/SUITE-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Suite;
  src: url("/brand/SUITE-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ink: #f2f6fa;
  --copy: #c3d3e2;
  --quiet: #a1b6cd;
  --mint: #94e6df;
  --border: #385770;
  --field: #0b2440;
  --light: #54d8ff;
  --halo: #54d8ff38;
  --landing-navy: #021442;
  font: 400 16px/1.65 Suite, "Malgun Gothic", sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: #0b2038; }
body {
  min-height: 100svh; margin: 0; color: var(--ink); word-break: keep-all;
  background: radial-gradient(ellipse 72rem 66rem at 50% 26%, #102a46, #0d233c 60%, #0b2038 100%);
  isolation: isolate;
  display: flex; flex-direction: column;
}
.wrap { width: min(100%, 72rem); padding-inline: clamp(1.2rem, 4vw, 3rem); margin-inline: auto; }
body > header { background: transparent; }
html:has(#start:not([hidden]) #form[data-current="1"]),
body:has(#start:not([hidden]) #form[data-current="1"]) { background: var(--landing-navy); }
body:has(#start:not([hidden]) #form[data-current="1"]) > footer { border-top-color: transparent; }
.bar { display: flex; justify-content: space-between; align-items: center; min-height: 76px; border-bottom: 1px solid transparent; }
.brand { display: flex; flex-direction: column; align-items: center; gap: 5px; padding-block: 10px; }
.brand img { display: block; width: auto; }
.brand img:first-child { height: 25px; }
.brand img:last-child { height: 9px; }
.headerLabel { font-weight: 550; color: var(--mint); }
main.wrap { flex: 1; }
button, input, select, textarea { font: inherit; }
button, .consult { cursor: pointer; min-height: 46px; padding: .65rem 1.15rem; border: 1px solid transparent; border-radius: 7px; font-weight: 500; }
button:disabled { opacity: .55; cursor: default; }
.primary, .consult { color: #062932; background: var(--mint); }
.primary:hover, .consult:hover { background: #b2f6ed; }
.back, .option { color: var(--ink); background: #112c48; border-color: var(--border); }
.back:hover,.option:hover { background: #1e3c57; }
a { color: inherit; text-underline-offset: .22em; }
:where(a,button,summary,input):focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
h1, h2, p { margin: 0; }
h1, h2 { line-height: 1.22; letter-spacing: -.025em; font-weight: 500; }
h2, .receipt h1 { font-size: clamp(1.75rem, 3.25vw, 2.55rem); }
.card { max-width: 660px; margin: clamp(1.7rem, 5vw, 4rem) auto; padding: clamp(20px, 3.6vw, 43px); border-radius: 16px; border: 1px solid #34516d; background: linear-gradient(145deg, #0b2945ed, #091b34e8); }
#form[data-current="1"] { max-width: 780px; margin: 0 auto; background: none; border: 0; padding: 0; }
#form[data-current="1"] .steps { display: none; }
.landing { text-align: center; padding: clamp(5px, 1.8vw, 24px) 0 clamp(28px, 5vh, 58px); }
#diagnosis-orb { mix-blend-mode: screen; position: relative; width: min(100%, 768px, 85svh); margin: 0 auto; }
.watson-stage {
  position: relative; width: 92%; margin-inline: auto; aspect-ratio: 1.6; overflow: hidden;
  mask-image: radial-gradient(ellipse 50% 50% at center, #000 75%, transparent 100%);
}
.watson-stage canvas { display: block; width: 100%; height: 100%; filter: brightness(1.8) saturate(1.12); }
.watson-stage:has(.watson-fallback:not([hidden])) canvas { visibility: hidden; }
/* The original 510 × 377 still starts at (85, 15) on its 680 × 425 stage. */
.watson-fallback {
  position: absolute; left: 50%; top: 3.529412%; height: 88.705882%; width: auto;
  transform: translateX(-50%);
  mask-image: linear-gradient(to right, transparent, #000 12% 88%, transparent),
    linear-gradient(to bottom, transparent, #000 10% 94%, transparent);
  mask-composite: intersect;
}
.wave-toggle { position: absolute; bottom: 4%; right: 21%; width: 44px; height: 44px; min-height: 44px; background: transparent; padding: 0; border: 0; }
.wave-toggle::before { content: ""; position: absolute; inset: 8px; border: 1px solid #65839b; border-radius: 50%; }
.wave-toggle span { display: block; height: 10px; width: 8px; margin: auto; border-inline: 2px solid #bddde1; }
.wave-toggle[aria-pressed="false"] span { width: 0; height: 0; border: 0; border-block: 5px solid transparent; border-left: 8px solid #bddde1; }
.wave-toggle:disabled { display: none; }
.landing h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); line-height: 1.18; text-wrap: balance; }
.landing .landing-caption { color: var(--copy); margin: 12px auto 0; font-size: clamp(.88rem, 2.6vw, 1.03rem); line-height:1.5; }
.mobile-break { display: none; }
.launch { max-width: 540px; margin: clamp(20px, 3.5vh, 36px) auto 0; text-align: left; }
.launch label { color: var(--mint); margin-top: 0; }
.launch-entry { display: flex; align-items: stretch; border: 1px solid #587993; border-radius: 8px; background: #092039; padding: 3px; }
.launch-entry input#hospital { border: 0; background: none; flex: 1; min-width: 0; padding-left: 13px; }
.launch-entry .primary { white-space: nowrap; background: #173954; color: #ecfffc; border-color: #365870; }
.launch-entry .primary:hover { background: #22516a; }
.steps, .statusTrack { display: flex; gap: 8px; margin: 0 0 25px; }
.steps span, .statusTrack span { flex: 1; color: var(--quiet); border-top: 2px solid #35516a; padding-top: 8px; font-size: .88rem; }
.steps .current, .statusTrack [aria-current] { color: var(--mint); border-color: var(--mint); font-weight: 700; }
.statusTrack .done { border-color: #558c92; }
label, legend { display: block; font-weight: 650; margin: 16px 0 5px; }
small { color: var(--quiet); font-weight: 450; font-size: .83rem; margin-left: .25rem; }
input:not([type="checkbox"]):not([type="radio"]) { color: var(--ink); width: 100%; min-height: 48px; border-radius: 6px; border: 1px solid #53718b; background: var(--field); padding: 10px 13px; }
input::placeholder { color: #a7bacd; }
#hospital::placeholder { color: #96aabe; opacity: 1; }
fieldset { border: 0; padding: 0; margin: 18px 0 0; }
legend { margin: 0 0 4px; padding: 0; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.pair label { margin-top: 0; font-size: .9rem; color: var(--copy); }
#hospitalChoice, #sendInfo, #statusMessage, #verifyMessage { margin: 10px 0 22px; color: var(--copy); }
.actions, .toolbar { display: flex; flex-wrap: wrap; gap: 8px; }
.actions { margin-top: 24px; }
details { border-top: 1px solid var(--border); padding-top: 16px; margin-top: 24px; color: var(--copy); }
summary { cursor: pointer; }
details p { margin-top: 8px; font-size: .93rem; }
.check { display: flex; align-items: center; gap: 9px; font-weight: 500; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--mint); }
.option { display: block; text-align: left; margin: 8px 0; }
dl { display: grid; grid-template-columns: max-content minmax(0,1fr); gap: 10px 18px; padding-block: 16px; margin: 0; border-block: 1px solid var(--border); }
dt { color: var(--quiet); } dd { margin: 0; overflow-wrap: anywhere; }
.footnote { margin-top: 12px; color: var(--quiet); font-size: .9rem; }
.alert { color: #ffe7a5; max-width: 660px; margin: 0 auto 18px; }
.alert:empty { display: none; }
.reportActions { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin: 26px 0 15px; }
.reportActions h1 { font-size: clamp(1.55rem, 3vw, 2.25rem); }
iframe { width: 100%; height: clamp(490px, 80svh, 1200px); border: 1px solid var(--border); border-radius: 8px; background: #051228; }
.consult { display: block; width: fit-content; margin: 16px auto 30px; text-decoration: none; text-align: center; }
footer.wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 5px 16px; color: var(--quiet); border-top: 1px solid #22395170; padding-block: 12px; font-size: .88rem; }
footer a { display: inline-flex; align-items: center; min-height: 44px; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
@media(min-width:601px) {
  .pair { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:650px) {
  #diagnosis-orb { width: min(calc(100% + 24px), 100vw, 420px, 53svh); left: 50%; margin-inline: 0; transform: translateX(-50%); }
  .watson-stage { aspect-ratio: 1.05; }
  .wave-toggle { right: 8%; }
}
@media(max-width:600px) {
  .bar { min-height: 62px; }
  .brand img:first-child { height: 21px; }
  .brand img:last-child { height: 8px; }
  .headerLabel { font-size: .9rem; }
  .mobile-break { display: inline; }
  .landing { padding-top: 8px; }
  .launch-entry .primary { font-size: .93rem; padding-inline: 12px; }
  .card { padding: 22px 16px; margin: 22px auto; }
  .actions .primary { flex: 1; }
  .steps, .statusTrack { margin-bottom: 20px; }
  .toolbar button { min-height: 44px; }
}
@media(max-width:368px) { .launch-entry .primary { padding-inline: 11px; } }
@media (hover:hover) {
  :is(a,summary,button:not(:disabled)):hover { text-shadow: 0 0 10px var(--light); }
  .brand:hover img { filter: drop-shadow(0 0 5px var(--light)); }
  :is(.launch-entry .primary,.primary,.back,.option,.consult):hover { color: var(--ink); background: #173854; border-color: var(--light); box-shadow: 0 0 16px var(--halo); }
  .wave-toggle:not(:disabled):hover::before { background: #173854; border-color: var(--light); box-shadow: 0 0 16px var(--halo); }
  input:not([type="checkbox"]):not([type="radio"]):hover,.launch-entry:hover { border-color: var(--light); }
}
:is(a,summary,button:not(:disabled)):is(:active,:focus-visible,.is-pressed) { text-shadow: 0 0 10px var(--light); }
.brand:is(:active,:focus-visible,.is-pressed) img { filter: drop-shadow(0 0 5px var(--light)); }
:is(.launch-entry .primary,.primary,.back,.option,.consult):is(:active,:focus-visible,.is-pressed) { color: var(--ink); background: #173854; border-color: var(--light); box-shadow: 0 0 16px var(--halo); }
.wave-toggle:not(:disabled):is(:active,:focus-visible,.is-pressed)::before { background: #173854; border-color: var(--light); box-shadow: 0 0 16px var(--halo); }
.wave-toggle span { position: relative; }
.launch-entry:focus-within { border-color: var(--light); box-shadow: 0 0 16px var(--halo); }

#hospitalChoice{margin:.5rem 0 1.1rem;font-size:1.14rem;color:var(--mint)}
#searchStatus,.receiptNote{margin:.9rem 0;color:var(--copy)}
#searchStatus:empty{display:none}
.addressOption{display:flex;align-items:center;gap:.75rem;margin:.4rem 0;padding:.7rem .9rem;min-height:48px;background:#0a2038;border:1px solid var(--border);border-radius:8px;cursor:pointer}
.addressOption:has(:checked){border-color:var(--mint);background:#10394b}
.addressOption input{flex:none;width:18px;height:18px;margin:0;accent-color:var(--mint)}
.addressOption span span,.addressOption strong{display:block}
.addressOption strong{font-weight:500}
.addressOption span span{color:var(--copy);font-size:.94rem}
#detailsFields .pair{gap:.5rem}
#dataSource{font-size:.83rem;color:var(--quiet);margin:1.1rem 0 0}
#treatmentEvidence{border:0;margin:10px 0 0;padding:0;font-size:.88rem;color:var(--quiet)}
#treatmentEvidence summary{width:fit-content}
#treatmentEvidence p,#treatmentCounts{font-size:inherit;margin:6px 0}
#treatmentCounts{padding-inline-start:1.2rem}
#more{margin-top:.4rem}

/* Selected brand orb and blue action buttons. */
#diagnosis-orb .watson-fallback{inset:0;margin:auto;height:100%;width:auto;max-width:none;aspect-ratio:1;object-fit:contain;transform:none;mask-image:radial-gradient(circle closest-side,#000 65%,transparent 100%);mask-composite:add;mix-blend-mode:screen}
:is(.primary,.launch-entry .primary){background:#265a9a;border-color:#5684be;color:white}
:is(.back,.option,.consult){background:#123253;border-color:#305171;color:#eff6ff}
:is(.primary,.launch-entry .primary,.back,.option,.consult):is(:active,:focus-visible){background:#1a4268;border-color:#75c0f3;color:white;box-shadow:0 0 16px #54d8ff42}
@media(hover:hover){
 :is(.primary,.launch-entry .primary):hover{background:#3067aa;color:white;border-color:#79a1d4;box-shadow:0 0 16px #54d8ff42}
 #diagnosis-orb .watson-stage:hover{filter:brightness(1.18)}
}

