/* MedPanel — calm academic look for the app, a dark video-call room for the interview. */
:root {
  --ink: #15203a;
  --ink-2: #3c4660;
  --ink-3: #6b7388;
  --paper: #f8f6f1;
  --card: #ffffff;
  --line: #e6e1d6;
  --line-2: #d8d1c2;
  --accent: #23656b;        /* deep teal */
  --accent-2: #2f7f86;
  --accent-soft: #e3efee;
  --gold: #a8854c;
  --gold-soft: #f5ecdc;
  --warn: #9a5b12;
  --warn-soft: #fbf0e0;
  --bad: #a23b3b;
  --good: #2c6e49;
  --series-1: #2a78d6;
  --series-2: #eb6834;
  --series-3: #1baf7a;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(21, 32, 58, .06), 0 6px 24px rgba(21, 32, 58, .06);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--sans); color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; min-height: 100dvh; }
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 600; letter-spacing: -.005em; line-height: 1.2; }
h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin: 0 0 .4em; }
h2 { font-size: 1.5rem; margin: 0 0 .6em; }
h3 { font-size: 1.15rem; margin: 0 0 .4em; }
p { margin: 0 0 .9em; }
a { color: var(--accent); }
button, input, textarea, select { font: inherit; color: inherit; }
textarea, input[type=text], input[type=password], input[type=url], select {
  width: 100%; border: 1px solid var(--line-2); border-radius: 10px; padding: .7em .85em; background: #fff; font-size: 16px;
}
textarea:focus, input:focus, select:focus { outline: 2px solid var(--accent-2); outline-offset: 1px; border-color: transparent; }
label.tick { display: flex; gap: .6rem; align-items: flex-start; font-weight: 500; }
label.tick input { margin-top: .3rem; flex: none; accent-color: var(--accent); }
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35em; }
.muted { color: var(--ink-3); }
.small { font-size: .875rem; }
.tiny { font-size: .78rem; }
.hidden { display: none !important; }
.row { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.stack > * + * { margin-top: 1rem; }
.grid { display: grid; gap: 1.1rem; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }

/* ---------- chrome */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(248, 246, 241, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar .in { max-width: 1160px; margin: 0 auto; padding: .7rem 1.2rem; display: flex; align-items: center; gap: 1.2rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand .mark { width: 34px; height: 34px; border-radius: 9px; background: var(--ink); display: grid; place-items: center; }
.brand b { font-family: var(--serif); font-size: 1.22rem; letter-spacing: .01em; }
.brand small { display: block; font-size: .7rem; color: var(--ink-3); margin-top: -3px; letter-spacing: .04em; text-transform: uppercase; }
.nav a { text-decoration: none; color: var(--ink-2); font-weight: 500; padding: .4rem .7rem; border-radius: 8px; font-size: .95rem; }
.nav a.on, .nav a:hover { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
main { max-width: 1160px; margin: 0 auto; padding: 2rem 1.2rem 5rem; }
.foot { max-width: 1160px; margin: 0 auto; padding: 1.5rem 1.2rem 3rem; color: var(--ink-3); font-size: .8rem; border-top: 1px solid var(--line); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); }
.card.flat { box-shadow: none; }
.card.tint { background: var(--accent-soft); border-color: #cfe3e1; }
.card.gold { background: var(--gold-soft); border-color: #ecdcbf; }
.eyebrow { text-transform: uppercase; letter-spacing: .09em; font-size: .74rem; font-weight: 700; color: var(--accent); margin-bottom: .4rem; }
.pill { display: inline-flex; align-items: center; gap: .35em; padding: .15em .65em; border-radius: 999px; font-size: .78rem; font-weight: 600; background: #f0ede6; color: var(--ink-2); white-space: nowrap; }
.pill.teal { background: var(--accent-soft); color: var(--accent); }
.pill.gold { background: var(--gold-soft); color: #7d6131; }
.pill.warn { background: var(--warn-soft); color: var(--warn); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; border: 0; border-radius: 11px; padding: .78em 1.25em; font-weight: 650; cursor: pointer; background: var(--ink); color: #fff; text-decoration: none; min-height: 44px; transition: transform .06s, background .15s; }
.btn:hover { background: #1f2d4f; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.teal { background: var(--accent); } .btn.teal:hover { background: var(--accent-2); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.ghost:hover { background: #fff; }
.btn.small { padding: .45em .85em; min-height: 34px; font-size: .88rem; border-radius: 9px; }
.btn.big { padding: 1em 1.6em; font-size: 1.05rem; }
.linkbtn { background: none; border: 0; color: var(--accent); cursor: pointer; padding: 0; font-weight: 600; }

.notice { border-radius: 12px; padding: .9rem 1.1rem; background: var(--warn-soft); color: #6b4310; border: 1px solid #f0d9b5; font-size: .93rem; }
.notice.info { background: var(--accent-soft); color: #18484c; border-color: #cfe3e1; }
.err { color: var(--bad); font-weight: 600; font-size: .92rem; }

/* ---------- sign in */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: center; min-height: calc(100dvh - 200px); }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; gap: 1.5rem; } }
.hero .lede { font-size: 1.15rem; color: var(--ink-2); max-width: 36em; }
.quote { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--ink-2); border-left: 3px solid var(--gold); padding-left: 1rem; margin: 1.5rem 0; }
.code-input { font-family: var(--mono); letter-spacing: .15em; text-transform: uppercase; font-size: 1.2rem !important; text-align: center; }

/* ---------- dashboard */
.mode { position: relative; cursor: pointer; transition: border-color .15s, transform .1s; display: flex; flex-direction: column; }
.mode:hover { border-color: var(--accent-2); transform: translateY(-2px); }
.mode .mins { font-family: var(--serif); font-size: 2rem; line-height: 1; }
.mode .mins span { font-size: .9rem; font-family: var(--sans); color: var(--ink-3); }
.mode.rec::after { content: "Recommended"; position: absolute; top: 1rem; right: 1rem; font-size: .7rem; font-weight: 700; letter-spacing: .05em; color: #7d6131; background: var(--gold-soft); border-radius: 999px; padding: .2em .6em; }
.hist { width: 100%; border-collapse: collapse; }
.hist td, .hist th { padding: .7rem .5rem; border-bottom: 1px solid var(--line); text-align: left; font-size: .93rem; vertical-align: top; }
.hist th { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); font-weight: 700; }
.hist tr:hover td { background: #fbfaf7; }
.scorechip { display: inline-grid; place-items: center; min-width: 2.6em; height: 2.1em; border-radius: 8px; font-weight: 700; background: var(--accent-soft); color: var(--accent); font-variant-numeric: tabular-nums; }

/* ---------- setup */
.steps { display: flex; gap: .5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.steps span { padding: .35rem .8rem; border-radius: 999px; font-size: .82rem; font-weight: 600; background: #efebe2; color: var(--ink-3); }
.steps span.on { background: var(--ink); color: #fff; }
.steps span.done { background: var(--accent-soft); color: var(--accent); }
.choice { display: grid; gap: .6rem; }
.choice label { display: flex; gap: .8rem; align-items: flex-start; padding: .9rem 1rem; border: 1px solid var(--line-2); border-radius: 12px; cursor: pointer; font-weight: 500; background: #fff; margin: 0; }
.choice label:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); background: #fbfefe; }
.choice input { margin-top: .3rem; accent-color: var(--accent); }
.choice b { display: block; }
.meter { height: 10px; border-radius: 999px; background: #ece7dc; overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), #48a3a8); transition: width .08s; }
.check { display: flex; gap: .7rem; align-items: center; padding: .55rem 0; }
.check .dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #ece7dc; font-size: .75rem; color: #fff; flex: none; }
.check.ok .dot { background: var(--good); }
.check.bad .dot { background: var(--bad); }
.check.wait .dot { background: var(--gold); }

/* ---------- interview room */
body.room { background: #0b111d; color: #e8ecf3; }
body.room .topbar, body.room .foot { display: none; }
body.room main { max-width: none; padding: 0; }
.room-wrap { height: 100dvh; display: grid; grid-template-rows: auto 1fr auto; }
.room-top { display: flex; align-items: center; gap: 1rem; padding: .7rem 1.1rem; background: #0f1726; border-bottom: 1px solid #1c2638; font-size: .9rem; }
.room-top .title { font-weight: 650; }
.room-top .clock { font-family: var(--mono); background: #18233a; border-radius: 8px; padding: .2rem .6rem; font-variant-numeric: tabular-nums; }
.room-top .rec { display: inline-flex; align-items: center; gap: .4rem; color: #ff8c8c; font-weight: 600; }
.room-top .rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff5a5a; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.stage { display: grid; grid-template-columns: 1fr; gap: 1rem; padding: 1rem; min-height: 0; position: relative; }
.stage.sharing { grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr); }
@media (max-width: 900px) { .stage.sharing { grid-template-columns: 1fr; grid-template-rows: auto auto; overflow: auto; } }
.tiles { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 1rem; min-height: 0; }
.stage.sharing .tiles { grid-template-columns: 1fr; grid-template-rows: repeat(3, minmax(110px, 1fr)); }
.tiles .self { grid-column: span 2; max-height: 34vh; justify-self: center; width: min(420px, 100%); }
.stage.sharing .tiles .self { grid-column: auto; width: 100%; max-height: none; }
@media (max-width: 700px) { .tiles { grid-template-columns: 1fr 1fr; } .tiles .self { grid-column: span 2; } }
.tile { position: relative; border-radius: 16px; overflow: hidden; background: radial-gradient(120% 120% at 30% 20%, hsl(var(--h) 35% 26%), hsl(var(--h) 30% 12%) 70%); display: grid; place-items: center; min-height: 150px; border: 2px solid transparent; transition: border-color .2s, box-shadow .2s; }
.tile.speaking { border-color: hsl(var(--h) 70% 62%); box-shadow: 0 0 0 4px hsla(var(--h), 70%, 60%, .18); }
.tile .av { width: clamp(70px, 9vw, 120px); aspect-ratio: 1; border-radius: 50%; background: linear-gradient(145deg, hsl(var(--h) 45% 58%), hsl(var(--h) 40% 38%)); display: grid; place-items: center; font-family: var(--serif); font-size: clamp(1.5rem, 2.8vw, 2.4rem); color: #fff; position: relative; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.tile .av::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 3px solid hsla(var(--h), 80%, 70%, 0); transition: border-color .15s; }
.tile.speaking .av::after { border-color: hsla(var(--h), 80%, 70%, .65); animation: pulse 1.1s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.07); opacity: .55; } }
.tile .name { position: absolute; left: .7rem; bottom: .6rem; background: rgba(5, 9, 16, .6); padding: .25rem .6rem; border-radius: 7px; font-size: .82rem; backdrop-filter: blur(4px); max-width: calc(100% - 1.4rem); }
.tile .name small { display: block; color: #aab3c5; font-size: .72rem; }
.tile.self { --h: 215; background: #121a2a; }
.tile video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); position: absolute; inset: 0; }
.tile .micbar { position: absolute; right: .7rem; bottom: .7rem; display: flex; gap: 3px; align-items: flex-end; height: 22px; }
.tile .micbar i { width: 4px; border-radius: 2px; background: #6ee7b7; height: 4px; transition: height .08s; }
.share { background: #f8f6f1; color: var(--ink); border-radius: 16px; padding: 1.1rem 1.2rem; overflow: auto; min-height: 0; position: relative; }
.share .tag { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--accent); }
.share h3 { margin: .2rem 0 .8rem; }
.share pre { white-space: pre-wrap; font-family: var(--serif); font-size: 1.02rem; line-height: 1.6; margin: 0; }
.share table { border-collapse: collapse; width: 100%; font-size: .93rem; }
.share th, .share td { border-bottom: 1px solid var(--line); padding: .45rem .5rem; text-align: left; }
.share th { background: #efebe2; }
.caption-bar { position: absolute; left: 50%; bottom: 1.2rem; transform: translateX(-50%); width: min(860px, 92%); background: rgba(5, 9, 16, .78); border-radius: 12px; padding: .7rem 1rem; font-size: 1.05rem; line-height: 1.45; text-align: center; backdrop-filter: blur(6px); pointer-events: none; z-index: 3; }
.caption-bar b { color: #9fd3d7; font-weight: 600; margin-right: .3em; }
.dock { display: flex; align-items: center; gap: .8rem; padding: .8rem 1.1rem; background: #0f1726; border-top: 1px solid #1c2638; flex-wrap: wrap; }
.dock .status { display: flex; align-items: center; gap: .6rem; min-width: 0; flex: 1; font-size: .93rem; color: #c4cbd8; }
.dock .status .live { font-size: .85rem; color: #8ea0bb; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 52vw; font-style: italic; }
.ring { width: 34px; height: 34px; flex: none; }
.dock .btn { background: #1c2740; } .dock .btn:hover { background: #26345a; }
.dock .btn.primary { background: #2f7f86; } .dock .btn.primary:hover { background: #379199; }
.dock .btn.danger { background: #5c2330; } .dock .btn.danger:hover { background: #742b3c; }
.dock .btn.on { box-shadow: inset 0 0 0 2px #6fb8bd; }
.kbd { font-family: var(--mono); font-size: .75rem; border: 1px solid #3a4763; border-radius: 5px; padding: 0 .35rem; color: #aab3c5; }
.drawer { position: fixed; right: 1rem; top: 4rem; bottom: 5.5rem; width: min(380px, 92vw); background: #f8f6f1; color: var(--ink); border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,.45); z-index: 10; display: flex; flex-direction: column; overflow: hidden; }
.drawer header { display: flex; align-items: center; padding: .8rem 1rem; border-bottom: 1px solid var(--line); font-weight: 650; gap: .5rem; }
.drawer textarea { flex: 1; border: 0; border-radius: 0; resize: none; font-family: var(--serif); font-size: 1rem; }
.drawer canvas { background: #fff; touch-action: none; cursor: crosshair; flex: 1; width: 100%; }
.overlay { position: fixed; inset: 0; background: rgba(5, 9, 16, .78); display: grid; place-items: center; z-index: 30; padding: 1rem; }
.overlay .card { color: var(--ink); max-width: 560px; width: 100%; }
.thinking-dots { display: inline-flex; gap: 4px; }
.thinking-dots i { width: 6px; height: 6px; border-radius: 50%; background: #8ea0bb; animation: bob 1.2s infinite; }
.thinking-dots i:nth-child(2) { animation-delay: .15s; } .thinking-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes bob { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-4px); opacity: 1; } }
/* in-the-room layout: no self view, interviewers across a table */
.stage.inroom .tiles .self { display: none; }
.stage.inroom .tiles { grid-template-columns: 1fr 1fr; }
.stage.inroom .tile { background: radial-gradient(140% 100% at 50% 0%, hsl(var(--h) 20% 30%), #141b28 75%); }

/* ---------- preread */
.preread { max-width: 760px; margin: 0 auto; }
.preread pre { white-space: pre-wrap; font-family: var(--serif); font-size: 1.08rem; line-height: 1.65; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.3rem 1.4rem; }
.bigclock { font-family: var(--mono); font-size: 2.2rem; font-variant-numeric: tabular-nums; }

/* ---------- report */
.rep-head { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center; }
@media (max-width: 760px) { .rep-head { grid-template-columns: 1fr; } }
.dial { width: 170px; height: 170px; }
.band { font-family: var(--serif); font-size: 1.5rem; }
.crit { display: grid; grid-template-columns: minmax(170px, 260px) 1fr auto; gap: .9rem; align-items: center; padding: .65rem 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.crit:last-child { border-bottom: 0; }
.crit .bar { height: 10px; border-radius: 999px; background: #eeeae1; position: relative; overflow: hidden; }
.crit .bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: var(--accent); }
.crit .bar .prev { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--ink-3); }
.crit .val { font-weight: 700; font-variant-numeric: tabular-nums; min-width: 2.4em; text-align: right; }
.crit.na { opacity: .55; cursor: default; }
.crit-detail { grid-column: 1 / -1; background: #fbfaf7; border-radius: 10px; padding: .9rem 1rem; font-size: .93rem; cursor: auto; }
blockquote.ev { margin: .4rem 0; padding: .35rem .8rem; border-left: 3px solid var(--gold); background: #fff; font-family: var(--serif); font-style: italic; color: var(--ink-2); border-radius: 0 8px 8px 0; }
.topic { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.topic > header { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; cursor: pointer; }
.topic > header:hover { background: #fbfaf7; }
.topic .body { padding: 0 1.2rem 1.2rem; display: none; }
.topic.open .body { display: block; }
.topic .chev { transition: transform .2s; }
.topic.open .chev { transform: rotate(90deg); }
.model { background: var(--accent-soft); border-radius: 12px; padding: 1rem 1.1rem; font-family: var(--serif); font-size: 1.02rem; line-height: 1.65; }
.phr { background: var(--gold-soft); border-radius: 10px; padding: .5rem .8rem; margin: .35rem 0; font-family: var(--serif); }
ul.tight { margin: .3rem 0 .6rem; padding-left: 1.2rem; } ul.tight li { margin: .2rem 0; }
.moment { display: grid; grid-template-columns: auto 1fr; gap: .8rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.moment .k { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: .2em .55em; border-radius: 6px; height: fit-content; white-space: nowrap; }
.k.strength { background: #e3f1e8; color: var(--good); }
.k.recovery { background: var(--accent-soft); color: var(--accent); }
.k.missed_opportunity { background: var(--gold-soft); color: #7d6131; }
.k.error { background: #f6e3e3; color: var(--bad); }
.stat { padding: 1rem 1.1rem; }
.stat .v { font-family: var(--serif); font-size: 1.9rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat .t { font-size: .8rem; color: var(--ink-3); }
.rangebar { position: relative; height: 8px; background: #eeeae1; border-radius: 999px; margin: .6rem 0 .2rem; }
.rangebar .ok { position: absolute; top: 0; bottom: 0; background: #cfe3e1; border-radius: 999px; }
.rangebar .me { position: absolute; top: -4px; width: 4px; height: 16px; border-radius: 2px; background: var(--ink); transform: translateX(-2px); }
.one-change { border: 2px solid var(--accent); }
.transcript .line { padding: .55rem 0; border-bottom: 1px dashed var(--line); display: grid; grid-template-columns: 9.5rem 1fr; gap: .8rem; font-size: .95rem; }
.transcript .who { font-weight: 650; color: var(--ink-2); font-size: .85rem; }
.transcript .cand .who { color: var(--accent); }
.transcript .meta { font-size: .75rem; color: var(--ink-3); }
@media (max-width: 640px) { .transcript .line { grid-template-columns: 1fr; gap: .1rem; } .crit { grid-template-columns: 1fr auto; } .crit .bar { grid-column: 1 / -1; grid-row: 2; } }
.viz { width: 100%; height: auto; display: block; }
.viz text { font-family: var(--sans); fill: var(--ink-2); font-size: 11px; }
.viz .grid line { stroke: #e9e4d9; }
.tooltip { position: fixed; pointer-events: none; background: var(--ink); color: #fff; padding: .35rem .6rem; border-radius: 7px; font-size: .8rem; z-index: 50; white-space: nowrap; }
.disclaimer { font-size: .8rem; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 2rem; }
.spinner { width: 46px; height: 46px; border-radius: 50%; border: 4px solid #e4ded1; border-top-color: var(--accent); animation: spin 1s linear infinite; margin: 0 auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- admin */
.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tbl th, .tbl td { padding: .55rem .5rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tbl th { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.codebox { font-family: var(--mono); font-size: 1.4rem; letter-spacing: .12em; background: var(--gold-soft); padding: .6rem 1rem; border-radius: 10px; display: inline-block; }
details > summary { cursor: pointer; font-weight: 600; }

@media print {
  .topbar, .foot, .noprint, .btn { display: none !important; }
  body { background: #fff; }
  .card { box-shadow: none; break-inside: avoid; }
  .topic .body { display: block !important; }
}

/* ---------- phones */
@media (max-width: 640px) {
  .topbar .in { gap: .4rem .5rem; padding: .55rem .8rem; flex-wrap: wrap; }
  .topbar .spacer { display: none; }
  #who { margin-left: auto; }
  .brand small, #who .nm { display: none; }
  .brand b { font-size: 1.08rem; }
  .nav { flex-wrap: nowrap; }
  .nav a { padding: .3rem .45rem; font-size: .86rem; white-space: nowrap; }
  main { padding: 1.3rem .9rem 4rem; }
  .card { padding: 1.1rem; }
  .dock { gap: .5rem; padding: .6rem; }
  .dock .btn { padding: .5em .7em; }
  .dock .status .live { max-width: 80vw; }
  .tiles { gap: .5rem; }
  .stage { padding: .5rem; gap: .5rem; }
  .tile { min-height: 110px; }
}
