/* Septris. One deliberate theme: deep-navy glass (the logo tile's colour)
   floating over a bright 3D ward, set in a readable serif. Colours are tokens.

   Layout (desktop):  header (brand · sections · add)  /  time bar
                      left column: examples, tally     right: detail panel
                      bottom-left: colour key   bottom-centre: command bar   bottom-right: view icons
   Every overlay is drawn at 90% so the 3D ward gets the room. */
:root {
  color-scheme: dark;
  --bg: #06141d;
  --glass: rgba(6, 22, 32, 0.84);
  --glass-2: rgba(14, 36, 50, 0.92);
  --line: rgba(160, 205, 225, 0.16);
  --line-2: rgba(160, 205, 225, 0.28);
  --fg: #eef5f7;
  --muted: #9db3bb;
  --accent: #4fb3ff;
  --cyan: #19d3c5;
  --good: #3ccf8e;
  --warn: #f5b84b;
  --bad: #ff6b5e;
  --grey: #7f9097;
  --font-ui: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --font-data: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --r: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  --gutter: max(18px, env(safe-area-inset-left, 0px));
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; margin: 0; }
body { background: var(--bg); color: var(--fg); font: 15px/1.5 var(--font-ui); overflow: hidden; -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

#app { position: fixed; inset: 0; }
#stage { position: absolute; inset: 0; isolation: isolate; }
#stage canvas { display: block; }

/* everything that floats over the ward is drawn at 90% */
.hud, .leftcol, .leftfoot, .panel, .command, .corner, .note, .tour, .page, .modal, .splash, .skipintro, .disclaimer { zoom: 0.9; }

/* ---------- shared pieces ---------- */
.card { background: var(--glass); border: 1px solid var(--line); border-radius: var(--r); backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: var(--shadow); }
.btn { background: var(--glass-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 14px; cursor: pointer;
  white-space: nowrap; transition: background .15s, border-color .15s, color .15s; font-weight: 500; }
.btn:hover { border-color: var(--accent); }
.btn.ghost { background: var(--glass); }
.btn.on, .btn[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #031320; font-weight: 600; }
.btn.add { background: linear-gradient(135deg, #15c9e6, #1fd6a6); border: 0; color: #032029; font-weight: 700; padding: 8px 16px; }
.btn.add:hover { filter: brightness(1.08); }
.eyebrow { font: 600 11.5px var(--font-ui); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.dot.good { background: var(--good); } .dot.miss { background: var(--bad); } .dot.false { background: var(--grey); }

/* ---------- header ---------- */
.hud { position: absolute; top: env(safe-area-inset-top, 0px); left: 0; right: 0; padding: 14px var(--gutter) 10px;
  display: grid; gap: 10px; pointer-events: none;
  background: linear-gradient(rgba(4, 14, 20, 0.92), rgba(4, 14, 20, 0.55) 70%, rgba(4, 14, 20, 0)); }
.hud > * { pointer-events: auto; }
.hud-top { display: flex; align-items: center; gap: 22px; min-width: 0; }
.brand { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: inherit; flex: none; }
.brand img { height: 34px; width: auto; display: block; }
.brand-tag { color: var(--muted); font-size: 13px; font-style: italic; }
.pages { display: flex; gap: 2px; background: var(--glass); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.pg { background: none; border: 0; border-radius: 999px; padding: 6px 16px; cursor: pointer; color: var(--muted); font-weight: 500; }
.pg:hover { color: var(--fg); }
.pg.on { background: var(--fg); color: #06141d; font-weight: 600; }
.hud-top .add { margin-left: auto; }
.timebar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.clock { display: grid; line-height: 1.15; padding: 6px 14px; border-radius: 12px; background: var(--glass); border: 1px solid var(--line); margin-right: 6px; }
.clock b { font: 600 16px var(--font-data); }
.clock small { color: var(--muted); font-size: 12px; }
.chips { display: flex; gap: 4px; }
.chip { font: 13px var(--font-data); padding: 5px 11px; border-radius: 10px; background: var(--glass); border: 1px solid var(--line);
  cursor: pointer; line-height: 1.2; text-align: left; }
.chip b { display: block; font: 600 11.5px var(--font-ui); color: var(--muted); }
.chip:hover { border-color: var(--line-2); }
.chip.on { border-color: var(--accent); background: rgba(79, 179, 255, 0.16); }
.chip.on b { color: var(--accent); }

/* ---------- left column ---------- */
.leftcol { position: absolute; left: var(--gutter); top: 142px; width: 250px; display: grid; gap: 12px; align-content: start; }
.examples { padding: 12px; display: grid; gap: 6px; }
.examples .eyebrow { padding: 0 4px 2px; }
.ex { display: flex; gap: 10px; align-items: center; text-align: left; background: transparent; border: 1px solid transparent;
  border-radius: 10px; padding: 7px 8px; cursor: pointer; }
.ex:hover { background: rgba(255, 255, 255, 0.06); border-color: var(--line); }
.tally { padding: 12px 14px; font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.tally b { display: block; font: 700 26px/1.1 var(--font-ui); color: var(--good); margin-bottom: 2px; }

.leftfoot { position: absolute; left: var(--gutter); bottom: calc(52px + env(safe-area-inset-bottom, 0px)); width: 250px; display: grid; gap: 10px; }
.legendbox { padding: 10px 14px; font-size: 13.5px; display: grid; gap: 4px; }
.legendbox .eyebrow { margin-bottom: 2px; }
.sw { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 9px; vertical-align: -1px; border: 3px solid var(--good); }
.sw.pick { border-color: var(--accent); } .sw.high { border-color: var(--bad); } .sw.med { border-color: var(--warn); }
.sw.low { border-color: var(--good); } .sw.snooze { border-color: var(--grey); }

/* ---------- right panel ---------- */
.panel { position: absolute; right: max(18px, env(safe-area-inset-right, 0px)); top: 142px; bottom: calc(52px + env(safe-area-inset-bottom, 0px));
  width: min(410px, 38vw); display: flex; flex-direction: column; overflow: hidden;
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--r); backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: var(--shadow); }
.tabs { display: flex; padding: 6px; gap: 4px; border-bottom: 1px solid var(--line); }
.tab { flex: 1; background: none; border: 0; border-radius: 10px; padding: 8px 6px; cursor: pointer; color: var(--muted); font-weight: 500; white-space: nowrap; }
.tab:hover { color: var(--fg); }
.tab.on { color: var(--fg); background: rgba(255, 255, 255, 0.08); font-weight: 600; }
.tabbody { padding: 16px 18px 20px; overflow-y: auto; flex: 1; min-height: 0; }
.tabbody h2 { font: 700 23px/1.2 var(--font-ui); margin: 2px 0 8px; text-wrap: balance; }
.tabbody h3 { font: 600 16px var(--font-ui); margin: 18px 0 6px; }
.tabbody p { margin: 6px 0; }
.tabbody ul { margin: 4px 0; padding-left: 18px; }
.tabbody li { margin: 2px 0; }
.pick-title { color: var(--accent); }
.verdict { border-radius: 12px; padding: 10px 12px; margin: 10px 0; border: 1px solid var(--line); background: var(--glass-2); }
.verdict b { font-size: 16px; }
.verdict.good b { color: var(--good); } .verdict.warn b { color: var(--warn); } .verdict.bad b { color: var(--bad); } .verdict.grey b { color: var(--muted); }
.key { border: 1px dashed var(--warn); border-radius: 12px; padding: 10px 12px; margin-top: 14px; }
.hero-hit { border: 1px solid rgba(60, 207, 142, 0.6); background: linear-gradient(135deg, rgba(15, 70, 50, 0.9), rgba(10, 45, 34, 0.9));
  border-radius: 14px; padding: 12px 14px; margin: 12px 0; }
.hero-hit .big { font: 700 20px/1.25 var(--font-ui); color: var(--good); }
.hero-hit .big b { font-size: 30px; }
.hero-hit .star { display: inline-block; margin-top: 8px; font: 600 12.5px var(--font-ui); color: #032018; background: var(--good); border-radius: 999px; padding: 3px 11px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 10px 0; }
.facts div { background: var(--glass-2); border: 1px solid var(--line); border-radius: 10px; padding: 7px 9px; min-width: 0; }
.facts span { display: block; font-size: 12px; color: var(--muted); }
.facts b { font: 600 14px var(--font-data); }
.score { display: grid; grid-template-columns: 96px 1fr 34px; gap: 6px 8px; align-items: center; margin-top: 8px; }
.bar { height: 10px; background: rgba(255, 255, 255, 0.08); border-radius: 6px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 6px; }
.bar i.pick { background: var(--accent); } .bar i.high { background: var(--bad); } .bar i.med { background: var(--warn); }
.bar i.low { background: var(--good); } .bar i.snooze { background: var(--grey); }
.num { font: 600 13px var(--font-data); text-align: right; font-variant-numeric: tabular-nums; }
canvas.chart { width: 100%; height: 260px; display: block; margin-top: 8px; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.legend i { display: inline-block; width: 12px; height: 3px; vertical-align: middle; margin-right: 4px; }
table.res { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 6px; }
table.res th, table.res td { text-align: left; padding: 6px 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.res td.n { text-align: right; font-family: var(--font-data); font-variant-numeric: tabular-nums; white-space: nowrap; }
table.vit td { padding: 5px 4px; }
table.vit td:last-child { width: 36%; color: var(--muted); font-size: 13px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; margin: 4px 0 8px; }
.seg .btn { padding: 5px 11px; font-size: 13.5px; }
.pill { display: inline-block; font: 600 12px var(--font-ui); padding: 2px 10px; border-radius: 999px; vertical-align: middle;
  border: 1px solid var(--line-2); white-space: nowrap; }
.pill.pick { background: var(--accent); border-color: var(--accent); color: #031320; }
.pill.high { color: var(--bad); border-color: var(--bad); } .pill.med { color: var(--warn); border-color: var(--warn); }
.pill.low { color: var(--good); border-color: rgba(60, 207, 142, 0.55); } .pill.snooze { color: var(--muted); }
.twobars, .rbars { display: grid; grid-template-columns: minmax(0, 1.25fr) 1fr 34px; gap: 6px 10px; align-items: center; font-size: 13.5px; margin: 6px 0; }
.queue, .qmini { display: grid; gap: 5px; margin: 8px 0; }
.qrow { display: grid; grid-template-columns: 22px 58px minmax(0, 1fr) 30px 92px; gap: 8px; align-items: center; text-align: left;
  background: var(--glass-2); border: 1px solid var(--line); border-radius: 10px; padding: 7px 9px; cursor: pointer; }
.qmini .qrow { grid-template-columns: 58px minmax(0, 1fr) 30px; }
.qrow:hover { border-color: var(--accent); }
.qrow.top { border-color: var(--accent); background: rgba(79, 179, 255, 0.14); }
.qrow .rank { font: 600 12px var(--font-data); color: var(--muted); }
.qrow .pill { justify-self: end; }
.entered { border: 1px solid var(--accent); border-radius: 12px; padding: 8px 10px; margin: 6px 0; font-size: 14px; }
.entered .row { display: flex; gap: 8px; margin-top: 6px; }

/* ---------- bed labels in the 3D view: just the number until it matters ---------- */
.bed-label { font: 600 12.5px var(--font-ui); padding: 2px 9px; border-radius: 999px; background: rgba(6, 22, 32, 0.82);
  border: 1px solid var(--line-2); white-space: nowrap; cursor: pointer; text-align: center; line-height: 1.25; color: var(--fg);
  transform: translateY(-6px); user-select: none; transition: background .15s; }
.bed-label .long { display: none; }
.bed-label small { display: none; font: 11.5px var(--font-data); color: var(--muted); }
.bed-label:hover, .bed-label.sel, .bed-label.pick, .bed-label.hit { padding: 4px 11px; border-radius: 12px; z-index: 9999 !important; }
.bed-label:hover .long, .bed-label.sel .long, .bed-label.pick .long, .bed-label.hit .long { display: inline; }
.bed-label:hover small, .bed-label.sel small, .bed-label.pick small, .bed-label.hit small { display: block; }
.bed-label small.warn { display: block; color: var(--bad); font-weight: 600; }
.bed-label.pick { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 14px rgba(79, 179, 255, 0.45); }
.bed-label.sel { background: rgba(16, 50, 74, 0.95); }
.bed-label.snooze { opacity: .6; }
.bed-label.hit { border-color: var(--good); color: var(--fg); background: rgba(10, 45, 34, 0.95); box-shadow: 0 0 18px rgba(60, 207, 142, 0.5); }
.bed-label .hitbig { display: block; color: var(--good); font: 700 12.5px var(--font-ui); letter-spacing: .03em; }
.bed-label .ok { color: var(--good); }
.bed-label .entered-tag { color: var(--accent); }
#stage.far .bed-label small:not(.warn):not(.keep) { display: none; }
#stage.far .bed-label .hitbig { font-size: 12px; }

/* ---------- command bar, notes, tour ---------- */
.command { position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(40px + env(safe-area-inset-bottom, 0px));
  width: min(560px, calc(100% - 760px)); min-width: 360px; display: flex; gap: 8px; align-items: center; padding: 6px;
  background: var(--glass); border: 1px solid var(--line); border-radius: 999px; backdrop-filter: blur(14px); box-shadow: var(--shadow); }
.command input { flex: 1; min-width: 0; background: none; border: 0; color: var(--fg); font: 15px var(--font-ui); padding: 6px 4px; }
.command input::placeholder { color: var(--muted); font-style: italic; }
.command input:focus { outline: none; }
.mic { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--glass-2); cursor: pointer; display: grid; place-items: center; flex: none; }
.mic.listening { background: var(--bad); border-color: var(--bad); animation: pulse 1s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(255, 107, 94, 0.2); } }
.cmd-echo { position: absolute; left: 18px; bottom: 100%; margin-bottom: 6px; font-size: 13px; color: var(--muted); }

/* notes appear in the clear space between the left column and the panel */
.note { position: absolute; top: 142px; left: 290px; right: 460px; margin-inline: auto; width: fit-content; max-width: 520px; z-index: 4;
  background: var(--glass-2); border: 1px solid var(--accent); border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow); }
.note.hit { border-color: var(--good); }
.note.hit b { color: var(--good); }
.tour { position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(100px + env(safe-area-inset-bottom, 0px));
  width: min(560px, calc(100% - 32px)); background: var(--glass-2); border: 1px solid var(--accent); border-radius: var(--r);
  padding: 16px 18px; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5); backdrop-filter: blur(14px); z-index: 5; }
.tour h2 { font: 700 21px var(--font-ui); margin: 4px 0 6px; }
.tour .steps { display: flex; gap: 4px; }
.tour .steps i { flex: 1; height: 4px; border-radius: 2px; background: var(--line-2); }
.tour .steps i.on { background: var(--accent); }
.tour .row { display: flex; justify-content: space-between; margin-top: 12px; gap: 8px; }

/* bottom-right view icons */
.corner { position: absolute; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(6px + env(safe-area-inset-bottom, 0px)); z-index: 6;
  display: flex; gap: 6px; }
.icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; padding: 0;
  background: var(--glass); border: 1px solid var(--line-2); backdrop-filter: blur(10px); }
.icon:hover { border-color: var(--accent); color: var(--accent); }
.icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.loading { position: absolute; inset: 0; display: grid; place-items: center; font: 600 16px var(--font-data); color: var(--muted); background: var(--bg); }
.disclaimer { position: absolute; bottom: env(safe-area-inset-bottom, 0px); left: 0; right: 0; text-align: center; font-size: 12px; font-style: italic;
  color: rgba(238, 245, 247, 0.7); padding: 8px 200px 10px; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); pointer-events: none; }
.skipintro { position: absolute; right: 24px; bottom: 90px; z-index: 61; }

/* ---------- section pages (Results, How it works, FAQ) ---------- */
.page { position: absolute; inset: 92px 0 0 0; background: rgba(5, 16, 23, 0.96); backdrop-filter: blur(10px); overflow-y: auto; z-index: 5;
  padding: 26px var(--gutter) 80px; }
.pagebody { max-width: 780px; margin: 0 auto; font-size: 17px; line-height: 1.65; }
.pagebody h2 { font: 700 34px/1.15 var(--font-ui); margin: 6px 0 12px; text-wrap: balance; }
.pagebody h3 { font: 600 21px var(--font-ui); margin: 30px 0 8px; }
.pagebody p, .pagebody li { color: #d6e3e7; }
.pagebody .rbars { grid-template-columns: minmax(0, 260px) 1fr 44px; font-size: 15px; gap: 8px 12px; }
.pagebody .bar { height: 14px; }
.pagebody table.res { font-size: 15px; }
.pagebody .small { font-size: 14.5px; }
.pageclose { position: sticky; top: 0; float: right; z-index: 1; }

/* ---------- add-a-patient dialog ---------- */
.modal { position: absolute; inset: 0; background: rgba(3, 10, 14, 0.7); z-index: 8; display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.modalbox { width: min(640px, 100%); background: #0b2030; border: 1px solid var(--line-2); border-radius: 16px; padding: 22px 24px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); }
.modalbox h2 { font: 700 26px var(--font-ui); margin: 2px 0 6px; }
.fgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 8px 0 16px; }
.fgrid label { display: grid; gap: 4px; font-size: 13.5px; color: var(--muted); min-width: 0; }
.fgrid input, .fgrid select { width: 100%; background: #061620; border: 1px solid var(--line-2); border-radius: 9px; color: var(--fg); font: 14px var(--font-data); padding: 8px 9px; }
.fgrid input:focus, .fgrid select:focus { outline: 2px solid var(--accent); outline-offset: 0; }
.fgrid label span { color: #7f979f; }
.exrow { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0; }
.estimate { border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 12px; margin-bottom: 12px; background: #061620; }
.estimate b { font: 700 22px var(--font-ui); }
.estimate.high b { color: var(--bad); } .estimate.med b { color: var(--warn); } .estimate.low b { color: var(--good); }
.error { color: var(--bad); margin-bottom: 8px; }
.modalbox .row { display: flex; gap: 8px; justify-content: flex-end; }

/* ---------- first visit: splash inside the elevator ---------- */
.splash { position: fixed; inset: 0; z-index: 60; display: grid; place-items: end center; padding: 16px 16px 4vh;
  background: linear-gradient(rgba(3, 10, 14, 0) 45%, rgba(3, 10, 14, 0.75)); }
.splash-card { max-width: 470px; text-align: center; display: grid; gap: 12px; justify-items: center; padding: 26px 30px 22px; border-radius: 20px;
  background: rgba(6, 22, 32, 0.86); border: 1px solid var(--line-2); backdrop-filter: blur(12px); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
.splash-logo { width: 200px; height: auto; }
.splash-card p { margin: 0; line-height: 1.55; color: #d6e3e7; font-size: 16px; }
.splash-card small { color: var(--muted); font-style: italic; }
.btn.big { font-size: 18px; padding: 12px 26px; }

/* ---------- opening shot: hide the interface ---------- */
.hud, .panel, .leftcol, .leftfoot, .command, .corner, .disclaimer { transition: opacity .6s; }
body.intro .hud, body.intro .panel, body.intro .leftcol, body.intro .leftfoot, body.intro .command, body.intro .corner,
body.intro .bed-label, body.intro .note, body.intro .disclaimer { opacity: 0; pointer-events: none; }
body.intro .modal { display: none; }

/* ---------- narrower windows ---------- */
@media (max-width: 1180px) {
  .brand-tag { display: none; }
  .legendbox { display: none; }
  .leftfoot { width: 220px; }
  .note { left: 290px; right: 440px; }
  .command { width: min(520px, calc(100% - 330px)); min-width: 0; left: calc(50% - 160px); }
}
@media (max-width: 860px) {
  .hud-top { flex-wrap: wrap; gap: 10px; }
  .hud-top .add { margin-left: 0; }
  .leftcol { top: auto; bottom: calc(46vh + 80px); left: var(--gutter); right: var(--gutter); width: auto; }
  .examples { display: flex; flex-wrap: wrap; }
  .examples .eyebrow { width: 100%; }
  .tally, .leftfoot { display: none; }
  .panel { top: auto; left: var(--gutter); right: var(--gutter); width: auto; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); height: 44vh; }
  .command { width: calc(100% - 32px); left: 50%; }
  .note { left: 16px; right: 16px; top: 190px; }
  .page { inset: 170px 0 0 0; }
  .disclaimer { padding-inline: 16px; }
  .corner { bottom: auto; top: calc(14px + env(safe-area-inset-top, 0px)); }
}
@media (max-width: 560px) { .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* on Results / How it works / FAQ the ward and its time controls step back */
body.paged .hud { background: var(--bg); }
body.paged .timebar, body.paged .leftcol, body.paged .leftfoot, body.paged .panel, body.paged .command, body.paged .bed-label { display: none; }

/* ---------- v6: labelled view buttons, first-person views, logo proportions ---------- */
.brand { align-items: flex-start; }
.brand img { height: 34px; width: auto; max-width: none; object-fit: contain; flex: none; align-self: flex-start; }
.hud-top .add { margin-left: 0; }
.viewbar { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
.vb { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; cursor: pointer; white-space: nowrap;
  background: var(--glass); border: 1px solid var(--line); font-size: 14px; }
.vb:hover { border-color: var(--accent); }
.vb.on { background: var(--accent); border-color: var(--accent); color: #031320; font-weight: 600; }
.vb svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.viewhint { position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(100px + env(safe-area-inset-bottom, 0px)); zoom: 0.9;
  max-width: min(640px, calc(100% - 32px)); text-align: center; padding: 9px 16px; border-radius: 12px; background: var(--glass-2);
  border: 1px solid var(--accent); box-shadow: var(--shadow); font-size: 14.5px; z-index: 4; }
.viewhint b { color: var(--accent); }
.viewhint kbd { font: 600 12px var(--font-data); border: 1px solid var(--line-2); border-radius: 5px; padding: 1px 5px; }
body.walking .leftcol, body.walking .leftfoot, body.nursing .leftcol, body.nursing .leftfoot { opacity: 0; pointer-events: none; }
body.walking #stage canvas { cursor: grab; }
body.walking #stage canvas:active { cursor: grabbing; }
body.intro .viewhint { display: none; }
@media (max-width: 1320px) { .vb { padding: 6px 9px; font-size: 13px; } .brand-tag { display: none; } }
@media (max-width: 1180px) { .hud-top { flex-wrap: wrap; } .viewbar { order: 3; width: 100%; justify-content: flex-start; margin-left: 0; } }

/* ---------- the paper chart that flies in when you are the nurse ---------- */
body.nursing .panel { opacity: 0; pointer-events: none; }
.paper { position: absolute; right: max(22px, env(safe-area-inset-right, 0px)); top: 150px; bottom: calc(60px + env(safe-area-inset-bottom, 0px)); zoom: 0.9;
  width: min(430px, 40vw); overflow-y: auto; z-index: 5; padding: 30px 24px 22px; color: #20282c; font-size: 14.5px; line-height: 1.45;
  background: #fbf8f1; border-radius: 6px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.06);
  background-image: repeating-linear-gradient(#fbf8f1 0 27px, #ece6d8 27px 28px); transform-origin: 80% 0; }
.paper.fly { animation: paperIn .7s cubic-bezier(.2, .9, .25, 1.15) both; }
@keyframes paperIn { from { transform: translate(110%, -40px) rotate(14deg); opacity: 0; } to { transform: rotate(-0.6deg); opacity: 1; } }
.paper .clip { position: sticky; top: -30px; margin: -30px auto 10px; width: 120px; height: 22px; border-radius: 0 0 10px 10px; z-index: 1;
  background: linear-gradient(#c9ced1, #8d969b); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); }
.paper .pclose { position: absolute; top: 8px; right: 10px; border: 0; background: none; font-size: 18px; color: #6d675c; cursor: pointer; }
.paper h2 { font: 700 30px/1.1 var(--font-ui); margin: 2px 0 2px; color: #142024; }
.paper h3 { font: 700 13px var(--font-ui); text-transform: uppercase; letter-spacing: .08em; color: #6d675c; margin: 16px 0 6px; }
.phead { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.pk { font: 600 11px var(--font-ui); text-transform: uppercase; letter-spacing: .09em; color: #8a8478; }
.pwho { color: #4b5559; }
.prisk { text-align: center; border: 2px solid; border-radius: 12px; padding: 6px 12px; min-width: 92px; background: #fff; }
.prisk b { display: block; font: 700 32px/1 var(--font-data); }
.prisk span { font-size: 11.5px; color: #6d675c; }
.prisk em { display: block; font: 700 12px var(--font-ui); font-style: normal; text-transform: uppercase; letter-spacing: .08em; }
.prisk.t0 { border-color: #1f9e66; color: #1f9e66; } .prisk.t1 { border-color: #c47f0c; color: #c47f0c; } .prisk.t2 { border-color: #d63a2f; color: #d63a2f; }
.pflag { background: #e3f0fb; border-left: 4px solid #1f78c8; padding: 6px 10px; margin: 12px 0 0; border-radius: 4px; }
.pnote { color: #4b5559; margin: 10px 0 0; }
.preasons { margin: 0; padding-left: 18px; }
.pups { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.pups li { text-align: center; background: #fff; border: 1px solid #e3dccb; border-radius: 8px; padding: 4px 2px; }
.pups span { display: block; font-size: 11px; color: #8a8478; }
.pups b { display: block; font: 700 16px var(--font-data); }
.pups i { display: block; font: 600 11px var(--font-data); font-style: normal; color: #8a8478; min-height: 14px; }
.pups i.up { color: #d63a2f; } .pups i.down { color: #1f9e66; }
.pvit { width: 100%; border-collapse: collapse; }
.pvit td { padding: 4px 2px; border-bottom: 1px dashed #ddd5c4; }
.pvit td.n { font: 600 14px var(--font-data); text-align: right; white-space: nowrap; }
.pvit td.n small { font-size: 11px; color: #8a8478; }
.pvit td.when { color: #8a8478; font-size: 12.5px; text-align: right; white-space: nowrap; }
.pchart { width: 100%; height: 210px; display: block; background: #fff; border: 1px solid #e3dccb; border-radius: 8px; }
.plegend { display: flex; gap: 12px; font-size: 12px; color: #6d675c; margin-top: 4px; }
.plegend span::before { content: ""; display: inline-block; width: 12px; height: 3px; margin-right: 5px; vertical-align: middle; }
.plegend .r::before { background: #1f78c8; } .plegend .h::before { background: #3b4a52; } .plegend .m::before { background: #c47f0c; }
.pdec { display: grid; gap: 6px; }
.pdec label { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid #e3dccb; border-radius: 8px; padding: 7px 10px; cursor: pointer; }
.pdec input { width: 18px; height: 18px; margin-top: 1px; accent-color: #1f78c8; flex: none; }
.pdec[data-done] label { cursor: default; opacity: .85; }
.psign { justify-self: end; margin-top: 4px; }
.pverdict { margin-top: 12px; background: #fff; border: 2px solid #1f78c8; border-radius: 10px; padding: 10px 12px; }
.pverdict b { color: #142024; }
.ptally { margin-top: 12px; font-size: 13px; color: #6d675c; border-top: 1px solid #e3dccb; padding-top: 8px; }
body.intro .paper { display: none; }
@media (max-width: 860px) { .paper { left: 16px; right: 16px; width: auto; top: auto; height: 50vh; } }

/* ---------- v7: tool-first left column ---------- */
.nextcard { padding: 14px; display: grid; gap: 8px; border-color: rgba(79, 179, 255, 0.45); }
.nc-main { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.nc-main b { font: 700 34px/1 var(--font-ui); color: var(--accent); }
.nc-score { font: 600 14px var(--font-data); color: var(--muted); }
.nc-score i { font-style: normal; font-size: 20px; color: var(--fg); }
.nc-why { margin: 0; font-size: 13.5px; color: #d6e3e7; line-height: 1.35; }
.btn.wide { width: 100%; text-align: center; }
.nc-then { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.nc-then span { margin-right: 2px; }
.nc-then button { background: var(--glass-2); border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; cursor: pointer; font-size: 12.5px; }
.nc-then button:hover { border-color: var(--accent); }
.nc-then i { font-style: normal; font-family: var(--font-data); color: var(--muted); }
.admitcard { padding: 14px; display: grid; gap: 8px; border-color: rgba(31, 214, 166, 0.45);
  background: linear-gradient(160deg, rgba(14, 60, 58, 0.88), rgba(6, 22, 32, 0.86)); }
.admitcard p { margin: 0; font-size: 13.5px; line-height: 1.4; color: #d6e3e7; }
.examples { padding: 10px 12px; }
.exrow2 { display: flex; flex-wrap: wrap; gap: 4px; }
.exrow2 .ex { padding: 4px 9px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; gap: 6px; }
.leftcol { gap: 10px; }
.hero-hit .big { font-size: 24px; }
.hero-hit .big b { font-size: 34px; }
@media (max-height: 820px) { .tally { display: none; } }

/* ---------- first-person mode bar ---------- */
.viewhint { text-align: left; padding: 10px 14px; max-width: min(760px, calc(100% - 32px)); }
.fpm { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.fpm-title { font: 700 13px var(--font-ui); text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.seg2 { display: inline-flex; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; }
.seg2 button { border: 0; background: none; border-radius: 999px; padding: 5px 14px; cursor: pointer; color: var(--muted); font-weight: 600; }
.seg2 button.on { background: var(--accent); color: #031320; }
.fpm-exit { margin-left: auto; background: none; border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 10px; cursor: pointer; }
.fpm-text { font-size: 14px; line-height: 1.45; }
.fpm-text b { color: var(--fg); }
.viewhint kbd { margin: 0 1px; }

/* ---------- the clipboard (first-person chart) ---------- */
.paper { left: 50%; right: auto; top: auto; bottom: calc(-2vh); width: min(600px, 52vw); height: 76vh; padding: 0; overflow: visible;
  background: none; box-shadow: none; transform: translateX(-50%) perspective(1400px) rotateX(9deg) rotate(-1.5deg); transform-origin: 50% 100%; z-index: 7; }
.paper.fly { animation: lift .65s cubic-bezier(.2, .9, .25, 1.08) both; }
@keyframes lift { from { transform: translateX(-50%) translateY(85%) perspective(1400px) rotateX(35deg) rotate(4deg); opacity: .4; }
  to { transform: translateX(-50%) perspective(1400px) rotateX(9deg) rotate(-1.5deg); opacity: 1; } }
.paper .board { position: relative; height: 100%; border-radius: 16px; padding: 46px 22px 22px;
  background: radial-gradient(circle at 30% 20%, #c8996a, #a87a4c 60%, #946a40); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), inset 0 0 0 2px rgba(0, 0, 0, 0.12); }
.paper .clip { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 170px; height: 40px; margin: 0; border-radius: 8px 8px 14px 14px;
  background: linear-gradient(#e9edef, #9aa3a8 55%, #7d868b); box-shadow: 0 3px 6px rgba(0, 0, 0, 0.35); z-index: 3; }
.paper .clip::after { content: ""; position: absolute; left: 50%; top: -9px; transform: translateX(-50%); width: 40px; height: 16px; border: 4px solid #8d969b; border-bottom: 0; border-radius: 12px 12px 0 0; }
.paper .pen { position: absolute; z-index: 4; top: 64px; right: -18px; width: 210px; height: 12px; border-radius: 6px; transform: rotate(-58deg);
  background: linear-gradient(90deg, #1f2f6b 0 16px, #e8eaf2 16px 88%, #9aa3c4 88% 94%, #1f2f6b 94%); box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); }
.paper .sheet { position: relative; height: 100%; overflow-y: auto; background: #fdfdfb; border-radius: 3px; padding: 22px 22px 18px; color: #20282c;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); }
.paper .pclose { top: 8px; right: 10px; z-index: 2; }
.pcaught { font: 700 22px/1.2 var(--font-ui); color: #fff; background: #1f9e66; border-radius: 10px; padding: 10px 14px; margin-bottom: 12px; text-align: center; }
.pfoot { margin-top: 12px; font-size: 12.5px; color: #8a8478; font-style: italic; }
body.nursing .leftcol { opacity: 0; pointer-events: none; }
@media (max-width: 860px) { .paper { width: calc(100% - 24px); height: 62vh; } }
body.nursing .viewhint { bottom: auto; top: 142px; }
body.nursing .command { opacity: 0; pointer-events: none; }
.rbars.rhead span:last-child { white-space: nowrap; justify-self: end; }

/* ---------- v8: bigger clipboard, nurse's checklist, page layering, voice ---------- */
.paper { width: min(1120px, 88vw); height: 86vh; bottom: 1vh; transform: translateX(-50%) perspective(1600px) rotateX(3deg); }
.paper.fly { animation: lift2 .6s cubic-bezier(.2, .9, .25, 1.08) both; }
@keyframes lift2 { from { transform: translateX(-50%) translateY(85%) perspective(1600px) rotateX(30deg); opacity: .4; }
  to { transform: translateX(-50%) perspective(1600px) rotateX(3deg); opacity: 1; } }
.paper .board { padding: 44px 18px 18px; }
.paper .pen { top: 40px; right: -10px; width: 180px; }
.paper .sheet { padding: 18px 24px; }
.pcols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; }
.pcol { min-width: 0; }
.pcol h3:first-child { margin-top: 2px; }
.paper .pchart { height: 230px; }
.pacts { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pacts li { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid #e3dccb; border-radius: 8px; padding: 7px 10px;
  opacity: .35; transition: opacity .3s, border-color .3s, background .3s; }
.pacts li small { display: block; color: #8a8478; font-size: 12px; }
.pacts .tick { flex: none; width: 20px; height: 20px; border: 2px solid #b9b1a0; border-radius: 4px; position: relative; margin-top: 1px; }
.pacts li.shown { opacity: 1; }
.pacts li.shown.do { border-color: #1f9e66; background: #f1faf5; }
.pacts li.shown.do .tick { border-color: #1f9e66; }
.pacts li.shown.do .tick::after { content: ""; position: absolute; left: 5px; top: 0; width: 6px; height: 12px; border: solid #1f9e66;
  border-width: 0 3px 3px 0; transform: rotate(45deg) scale(0); transform-origin: 50% 80%; animation: tickIn .35s ease-out forwards; }
@keyframes tickIn { to { transform: rotate(45deg) scale(1); } }
.pacts li.shown.skip { opacity: .5; }
.pacts li.shown.skip span::after { content: " · not needed now"; color: #a39c8e; font-size: 12px; }
@media (max-width: 980px) { .pcols { grid-template-columns: 1fr; } }

/* pages sit under the header and cover the ward completely */
.hud { z-index: 6; }
.page { inset: 0; padding-top: 150px; z-index: 5; background: #050f16; }
body.paged .viewbar, body.paged .paper, body.paged .viewhint { display: none !important; }

/* first-person card: no modes, one clear description */
.fpm-state { font-size: 13px; color: var(--muted); font-style: italic; }

/* voice: words appear live while you speak */
.cmd-echo { color: #cfe6ee; font-size: 14px; }
.cmd-echo.live { color: #6ff0ff; font-weight: 600; font-size: 16px; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8); }
.tally { padding: 8px 12px; font-size: 12.5px; }
.tally b { font-size: 20px; display: inline; margin-right: 6px; }
/* in first person the card sits where the left column was, clear of the clipboard */
body.nursing .viewhint { top: 142px; bottom: auto; left: max(18px, env(safe-area-inset-left, 0px)); transform: none; width: 250px; max-width: 250px; }
body.nursing .viewhint .fpm { flex-direction: column; align-items: flex-start; gap: 4px; }
body.nursing .viewhint .fpm-exit { margin-left: 0; }
.paper { width: min(1040px, 74vw); }
@media (max-width: 1100px) { body.nursing .viewhint { top: auto; bottom: 8px; width: auto; max-width: none; right: 16px; } }
.exrow2 { flex-wrap: nowrap; }
.exrow2 .ex { padding: 3px 8px; font-size: 12px; white-space: nowrap; }
@media (max-height: 940px) {
  .legendbox { grid-template-columns: 1fr 1fr; column-gap: 10px; font-size: 12px; padding: 8px 12px; }
  .legendbox .eyebrow { grid-column: 1 / -1; }
  .nextcard { gap: 6px; padding: 12px; }
  .nc-main b { font-size: 28px; }
}
@media (max-height: 760px) { .legendbox, .examples { display: none; } }

/* ---------- editorial reading pages (Results, How it works, Questions) ---------- */
.page .pagebody { max-width: 1240px; font-size: 17px; }
.ed { color: #dfe8ec; }
.ed-mast { text-align: center; margin-bottom: 34px; }
.ed-rule { display: flex; justify-content: space-between; border-top: 3px solid #e9f1f4; border-bottom: 1px solid var(--line-2); padding: 10px 0;
  font: 500 13px var(--font-data); letter-spacing: .22em; text-transform: uppercase; color: #b9c9cf; }
.ed-mast h1 { font: 800 clamp(56px, 8vw, 116px)/1 var(--font-ui); letter-spacing: -0.02em; margin: 26px 0 18px; color: #eef4f7; font-optical-sizing: auto; }
.ed-stand { font: italic 400 clamp(19px, 2vw, 25px)/1.45 var(--font-ui); color: #b9c9cf; max-width: 640px; margin: 0 auto 30px; text-wrap: balance; }
.ed-ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ed-track { display: inline-flex; gap: 26px; white-space: nowrap; animation: tick 46s linear infinite; }
.ed-track span { font: 600 17px var(--font-ui); letter-spacing: .14em; text-transform: uppercase; font-variant: small-caps; color: #dfe8ec; }
.ed-track i { color: var(--cyan); font-style: normal; }
@keyframes tick { to { transform: translateX(-50%); } }
.ed-sec { border-top: 1px solid var(--line); padding: 30px 0 10px; display: flow-root; }
.ed-sec > h2 { font: 700 clamp(30px, 3.4vw, 46px)/1.08 var(--font-ui); letter-spacing: -0.01em; margin: 0 0 22px; max-width: 900px; color: #eef4f7; }
.ed p { margin: 0 0 16px; line-height: 1.7; font-size: 18px; }
.ed-cols { columns: 3 260px; column-gap: 34px; column-rule: 1px solid var(--line); }
.ed-cols p { break-inside: avoid-column; }
.ed-drop::first-letter { float: left; font: 700 84px/0.78 var(--font-ui); color: var(--cyan); margin: 8px 12px 0 0; }
/* figures float so the text wraps around them */
.ed-fig { float: right; width: min(48%, 560px); margin: 4px 0 18px 34px; padding: 0; }
.ed-fig.left { float: left; margin: 4px 34px 18px 0; }
.ed-fig figcaption { font: 500 16px var(--font-ui); margin-bottom: 12px; color: #cfdde2; }
.ed-fig figcaption b { color: #fff; }
.ed-note { font-size: 14px !important; line-height: 1.5 !important; color: #9fb3ba; margin: 10px 0 0 !important; font-style: italic; }
.ed-bars { display: grid; grid-template-columns: minmax(0, 190px) 1fr 58px; gap: 8px 12px; align-items: center; }
.ed-bars .lab { font-size: 14.5px; text-align: right; color: #cfdde2; }
.ed-bars .track { height: 18px; border-left: 1px solid var(--line-2); }
.ed-bars .track i { display: block; height: 100%; border-radius: 0 5px 5px 0; }
.ed-bars b { font: 600 14px var(--font-data); }
.ed-bars i.sb { background: var(--cyan); } .ed-bars i.sb2 { background: #2f8fb8; } .ed-bars i.base { background: #7d8fa0; }
.ed-bars i.sirs { background: #e8a95a; } .ed-bars i.rnd { background: #4d5c63; }
.ed-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ed-table th { text-align: left; font-weight: 600; color: #9fb3ba; border-bottom: 1px solid var(--line-2); padding: 6px 6px; }
.ed-table td { padding: 8px 6px; border-bottom: 1px solid var(--line); font-family: var(--font-data); font-size: 13.5px; }
.ed-table td:first-child { font-family: var(--font-ui); font-size: 14.5px; }
.ed-table b { color: #fff; }
.ed-flow { display: grid; gap: 8px; }
.ed-step { display: flex; gap: 12px; align-items: flex-start; background: rgba(14, 36, 50, 0.9); border: 1px solid var(--line-2); border-radius: 10px; padding: 9px 12px; position: relative; }
.ed-flow > .ed-step:not(:last-child)::after, .ed-split::after { content: "↓"; position: absolute; left: 22px; bottom: -17px; color: var(--cyan); font-size: 15px; z-index: 1; }
.ed-split { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: relative; }
.ed-split .ed-step::after { display: none; }
.ed-step > b { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--cyan); color: #032029; display: grid; place-items: center; font: 700 12px var(--font-data); }
.ed-step strong { display: block; font-size: 15px; }
.ed-step span { display: block; font-size: 13.5px; color: #9fb3ba; line-height: 1.35; }
.ed-cards { clear: both; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; padding-top: 8px; }
.ed-card { background: rgba(14, 36, 66, 0.55); border: 1px solid var(--line-2); border-radius: 14px; padding: 18px 22px; }
.ed-card h3 { font: 700 22px var(--font-ui); margin: 0 0 12px; }
.ed-card dl { display: grid; grid-template-columns: 110px 1fr; gap: 10px 16px; margin: 0; }
.ed-card dt { color: #9fb3ba; font-size: 15px; }
.ed-card dd { margin: 0; font-weight: 600; font-size: 15px; }
.ed-splitbar { display: flex; height: 38px; border-radius: 8px; overflow: hidden; font: 600 13px var(--font-data); }
.ed-splitbar i { display: grid; place-items: center; font-style: normal; color: #032029; }
.ed-splitbar i:nth-child(1) { background: #7d8fa0; } .ed-splitbar i:nth-child(2) { background: #e8a95a; } .ed-splitbar i:nth-child(3) { background: var(--cyan); }
.ed-list { margin: 0; padding-left: 20px; line-height: 1.65; font-size: 17.5px; }
.ed-list li { margin-bottom: 8px; }
.ed-list.two { columns: 2 320px; column-gap: 40px; }
.ed-list.two li { break-inside: avoid; }
.ed-key { display: grid; gap: 8px; font-size: 15px; background: rgba(14, 36, 50, 0.9); border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; }
.ed-q { font: 700 22px var(--font-ui); margin: 22px 0 6px; color: #eef4f7; }
.ed-sec .ed-q:first-of-type { margin-top: 0; }
.ed-credit { font-size: 14px !important; color: #9fb3ba; font-style: italic; clear: both; }
.ed-refs { border-top: 3px solid #e9f1f4; margin-top: 26px; padding-top: 16px; clear: both; }
.ed-refs h2 { font: 700 26px var(--font-ui); margin: 0 0 12px; }
.ed-refs ol { list-style: none; padding: 0; margin: 0; columns: 2 420px; column-gap: 40px; }
.ed-refs li { padding-left: 2em; text-indent: -2em; margin-bottom: 12px; font-size: 14.5px; line-height: 1.55; color: #c7d5da; break-inside: avoid; }
.ed-refs a { color: var(--accent); word-break: break-all; }
@media (max-width: 860px) { .ed-fig, .ed-fig.left { float: none; width: 100%; margin: 0 0 18px; } .ed-bars { grid-template-columns: minmax(0, 130px) 1fr 52px; } }
@media (prefers-reduced-motion: reduce) { .ed-track { animation: none; } }
body.paged .tour, body.paged .note { display: none !important; }
.ed .ed-stand { margin: 0 auto 30px; }
.ed-track i { font-size: 20px; line-height: 1; align-self: center; }
.ed-pull { clear: none; background: rgba(14, 36, 50, 0.9); border-left: 4px solid var(--warn); border-radius: 8px; padding: 14px 18px; margin: 6px 0 18px; }
.ed-pull .eyebrow { color: var(--warn); margin-bottom: 6px; }
.ed-pull p { margin: 0 !important; font-size: 16.5px !important; }
