/* The Compound Effect in Business brand ("It's About Damn Time" design system):
   black ink on a soft radial ground, one accent (jacket red) for the main action only, near-square corners.
   The arrows keep their colours because they carry meaning; down uses the brand's cardinal, not the jacket red. */
:root {
  --ground: #FFFFFF; --ground-mid: #F7F7F5; --ground-edge: #ECEAE7;
  --paper: #F7F7F5; --sheet: #FFFFFF; --ink: #111111; --muted: #636363; --rule: #DADAD6; --soft: #F0F0EE;
  --btn-bg: #111111; --btn-fg: #FFFFFF;
  --jacket: #E1132E; --jacket-hi: #EC2A40; --jacket-lo: #B80F25; --on-red: #FFFFFF; --shadow-cta: 0 14px 26px -12px rgba(120, 0, 15, .55);
  --up: #1F7A4D; --up-bg: #E3F2EA; --flat: #8A6A12; --flat-bg: #F6EFD9; --down: #A50F1E; --down-bg: #F8E1E3;
  --r: 2px;
  --f-display: "Bebas Neue Pro", "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --f-body: Inter, -apple-system, "Segoe UI", system-ui, sans-serif;
  --f-mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #262626; --ground-mid: #0A0A0A; --ground-edge: #000000;
    --paper: #0A0A0A; --sheet: #161616; --ink: #FFFFFF; --muted: #A3A3A3; --rule: #2E2E2E; --soft: #1E1E1E;
    --btn-bg: #FFFFFF; --btn-fg: #111111;
    --up: #5FC08D; --up-bg: #15281E; --flat: #D9B54F; --flat-bg: #2A2414; --down: #FF4A2B; --down-bg: #2E1512;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: radial-gradient(70% 90% at 30% 45%, var(--ground) 0%, var(--ground-mid) 45%, var(--ground-edge) 100%) fixed var(--paper); color: var(--ink); font-family: var(--f-body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; width: 100%; }
a { color: inherit; }
.wrap { max-width: 1040px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.muted { color: var(--muted); }
.small { font-size: 13px; }

.top { border-bottom: 1px solid var(--rule); background: var(--sheet); }
.top-in { display: flex; justify-content: space-between; align-items: center; padding-block: 12px; gap: 12px; }
.brand { font-family: var(--f-display); font-weight: 400; font-size: 26px; text-transform: uppercase; text-decoration: none; letter-spacing: .01em; }
.top-note { font-family: var(--f-body); font-weight: 600; font-size: 12px; color: var(--muted); }
.foot { border-top: 1px solid var(--rule); font-size: 13px; color: var(--muted); }
.foot .wrap { padding-block: 18px; }

h1, h2, h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; margin: 0; line-height: .92; letter-spacing: .01em; text-wrap: balance; }
h1 { font-size: clamp(44px, 8vw, 96px); line-height: .88; }
h2 { font-size: clamp(30px, 4.6vw, 48px); }
h3 { font-size: 26px; line-height: 1; letter-spacing: .02em; }
.page { padding-block: 36px 64px; display: grid; gap: 24px; }
.lede { font-size: 18px; max-width: 60ch; margin: 0; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
/* The home-page quote: white body text on a dark grey panel, with the brand red bar on the left. */
.quote { font-family: var(--f-body); font-weight: 600; font-size: clamp(17px, 2vw, 20px); line-height: 1.45; color: #FFFFFF; background: #2B2B2B; border-left: 4px solid var(--jacket); border-radius: var(--r); padding: 16px 20px; margin: 0; width: fit-content; max-width: 100%; }

.card { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r); padding: 20px; display: grid; gap: 14px; min-width: 0; }
.card.strong { border-color: var(--ink); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

label.f { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
label.f span.hint { font-weight: 400; color: var(--muted); font-size: 13px; }
input[type="text"], input[type="number"], input[type="email"], textarea {
  width: 100%; font: 15px/1.45 var(--f-body); color: var(--ink); background: var(--paper);
  border: 1px solid var(--rule); border-radius: var(--r); padding: 10px 12px;
}
textarea { resize: vertical; min-height: 64px; }
input:focus, textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }

.btn { font: 700 13px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bg); border-radius: var(--r); padding: 14px 20px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.btn.ghost { background: var(--sheet); color: var(--ink); border-color: var(--rule); }
.btn.small { padding: 10px 14px; font-size: 12px; }
.btn:disabled { opacity: .5; cursor: default; }
.link { font: 500 14px/1 var(--f-body); background: none; border: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 6px 2px; }
.link.danger { color: var(--down); }
.row-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
:is(.btn, .link, .tab, .aseg button, .chip-btn):focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.copybox { display: flex; gap: 8px; align-items: stretch; flex-wrap: wrap; }
.copybox code { flex: 1 1 280px; min-width: 0; font-family: var(--f-mono); font-size: 13px; background: var(--soft); border: 1px solid var(--rule); border-radius: var(--r); padding: 10px 12px; overflow-wrap: anywhere; }

/* Tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--rule); overflow-x: auto; }
.tab { font: 600 15px/1 var(--f-body); background: none; border: 0; border-bottom: 3px solid transparent; padding: 14px 14px 12px; cursor: pointer; color: var(--muted); white-space: nowrap; }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.tab .n { font-family: var(--f-body); font-weight: 600; font-weight: 500; font-size: 12px; margin-right: 6px; }

/* Arrows */
.arrow { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 64px; height: 28px; padding: 0 10px; border-radius: var(--r); font: 600 13px/1 var(--f-body); white-space: nowrap; }
.arrow.up { color: var(--up); background: var(--up-bg); }
.arrow.flat { color: var(--flat); background: var(--flat-bg); }
.arrow.down { color: var(--down); background: var(--down-bg); }
.arrow.none { color: var(--muted); background: var(--soft); }
.aseg { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.aseg button { font: 600 13px/1 var(--f-body); border: 1px solid var(--rule); background: var(--sheet); color: var(--ink); border-radius: var(--r); padding: 9px 13px; cursor: pointer; }
.aseg button[aria-checked="true"][data-a="up"] { color: var(--up); background: var(--up-bg); border-color: var(--up); }
.aseg button[aria-checked="true"][data-a="flat"] { color: var(--flat); background: var(--flat-bg); border-color: var(--flat); }
.aseg button[aria-checked="true"][data-a="down"] { color: var(--down); background: var(--down-bg); border-color: var(--down); }

/* Score form */
.sheet { background: var(--sheet); border: 1px solid var(--ink); border-radius: var(--r); min-width: 0; }
.sheet-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 14px 18px; border-bottom: 1px solid var(--rule); font-weight: 600; }
.sheet-head .muted { font-weight: 400; font-size: 13px; }
.srow { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--rule); align-items: start; }
.srow:last-child { border-bottom: 0; }
.srow .surf { font-family: var(--f-display); font-weight: 400; font-size: 20px; text-transform: uppercase; line-height: 1.1; }
.srow .right { display: grid; gap: 8px; min-width: 0; }
.vibe { font-size: 13px; color: var(--muted); min-height: 1.2em; margin: 0; }
.vibe.warn { color: var(--down); } .vibe.ok { color: var(--up); }
.defs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 16px 18px; }
.leakgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.leakcost { font-family: var(--f-display); font-weight: 400; font-size: 28px; }
.saved { font-size: 13px; color: var(--muted); }

/* Status chips */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r); font: 600 12px/1.2 var(--f-body); background: var(--soft); color: var(--muted); white-space: nowrap; }
.pill.done { background: var(--up-bg); color: var(--up); }
.pill.prog { background: var(--flat-bg); color: var(--flat); }
.pill.gap2 { background: var(--down-bg); color: var(--down); }
.pill.gap1 { background: var(--flat-bg); color: var(--flat); }

/* Roster */
.roster { width: 100%; border-collapse: collapse; }
.roster th, .roster td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--rule); font-size: 15px; vertical-align: top; }
.roster th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.tablewrap { overflow-x: auto; }

/* Gap board */
.gap { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r); padding: 16px 18px; display: grid; gap: 12px; }
.gap.big { border-color: var(--down); }
.gap-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: center; }
.gap-head .surf { font-family: var(--f-display); font-weight: 400; font-size: 24px; text-transform: uppercase; }
.voices { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.voice { border-left: 3px solid var(--rule); padding-left: 12px; display: grid; gap: 6px; min-width: 0; }
.voice.owner { border-left-color: var(--ink); }
.voice .who { font-size: 13px; color: var(--muted); }
.voice .arrow { justify-self: start; }
.voice .ev { font-family: var(--f-body); font-size: 16px; }
.locked { background: var(--sheet); border: 1px dashed var(--muted); border-radius: var(--r); padding: 28px; display: grid; gap: 14px; justify-items: start; }

.tally { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tile { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r); padding: 14px 16px; }
.tile .n { font-family: var(--f-display); font-weight: 400; font-size: 40px; line-height: 1; font-variant-numeric: tabular-nums; }
.tile .l { font-size: 13px; color: var(--muted); }
.tile.up .n { color: var(--up); } .tile.flat .n { color: var(--flat); } .tile.down .n { color: var(--down); }

.ai-out { display: grid; gap: 10px; }
.ai-out .k { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ai-out .pumpline { font-family: var(--f-body); font-weight: 600; font-size: 22px; line-height: 1.3; max-width: 50ch; }
.ai-out ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.ai-out p { margin: 0; }
.chip-btn { font: 500 14px/1 var(--f-body); border: 1px solid var(--rule); background: var(--sheet); color: var(--ink); border-radius: var(--r); padding: 9px 13px; cursor: pointer; }
.chip-btn[aria-pressed="true"] { border-color: var(--ink); background: var(--soft); }
pre.formula { margin: 0; font-family: var(--f-mono); font-size: 12.5px; white-space: pre-wrap; word-break: break-word; background: var(--soft); border: 1px solid var(--rule); border-radius: var(--r); padding: 14px; max-height: 300px; overflow: auto; }
details > summary { cursor: pointer; font-weight: 500; font-size: 14px; }
details[open] > summary { margin-bottom: 10px; }

.summary h2 { font-size: 36px; }
.summary .big { font-family: var(--f-body); font-weight: 600; font-size: 20px; margin: 0; }
.leaklist { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.banner { background: var(--flat-bg); color: var(--ink); border: 1px solid var(--flat); border-radius: var(--r); padding: 10px 14px; font-size: 14px; }

.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); background: var(--btn-bg); color: var(--btn-fg); font-weight: 600; font-size: 14px; padding: 12px 18px; border-radius: var(--r); z-index: 20; max-width: calc(100vw - 32px); text-align: center; }

@media (max-width: 760px) {
  .grid2, .grid3, .defs { grid-template-columns: minmax(0, 1fr); }
  .srow { grid-template-columns: minmax(0, 1fr); }
  .tally { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .leakgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media print {
  .top, .foot, .tabs, .row-actions, .no-print, .toast { display: none !important; }
  body { background: #fff; color: #000; }
  .card, .gap, .sheet { break-inside: avoid; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn, .aseg button, .tab { transition: background-color .15s, color .15s, border-color .15s; }
}

/* Meeting report */.report { display: grid; gap: 22px; }
.r-cover { border-bottom: 2px solid var(--ink); padding-bottom: 18px; display: grid; gap: 8px; }
.r-cover h2 { font-size: clamp(36px, 6vw, 64px); }
.r-eyebrow, .r-k { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.r-who { margin: 0; font-size: 14px; color: var(--muted); }
.r-decision { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; background: var(--sheet); border: 1px solid var(--ink); border-radius: var(--r); padding: 20px; }
.r-big { font-family: var(--f-body); font-weight: 600; font-size: 20px; line-height: 1.35; margin: 4px 0 0; }
.r-owner { margin: 10px 0 0; font-size: 15px; }
.r-tally { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.r-sec { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r); padding: 20px; display: grid; gap: 12px; }
.r-sec p { margin: 0; }
.r-note { color: var(--muted); font-size: 14px; }
.r-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.r-list { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.r-table { width: 100%; border-collapse: collapse; }
.r-table th, .r-table td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--rule); font-size: 15px; }
.r-table th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.r-voice { display: flex; gap: 8px; align-items: center; margin-bottom: 4px; }
.r-math { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.r-surface { border-top: 1px solid var(--rule); padding-top: 12px; display: grid; gap: 10px; }
.r-surface:first-of-type { border-top: 0; padding-top: 0; }
.r-shead { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 17px; }
.r-quote { border-left: 3px solid var(--rule); padding-left: 12px; display: grid; gap: 4px; justify-items: start; }
.r-quote p { font-family: var(--f-body); font-size: 16px; }
.r-qwho { font-size: 13px; color: var(--muted); }
.r-check { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.r-closer { font-family: var(--f-body); font-style: italic; font-size: 18px; }
.r-foot { font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .r-decision, .r-grid2 { grid-template-columns: minmax(0, 1fr); } .r-tally { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media print { .r-sec, .r-decision, .r-surface { break-inside: avoid; } }

/* Guided meeting */
.mtg-wrap { display: grid; gap: 18px; }
.steps { display: flex; flex-wrap: wrap; gap: 6px; }
.step { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--rule); background: var(--sheet); color: var(--ink); border-radius: var(--r); padding: 6px 12px 6px 6px; font: 600 14px var(--f-body); cursor: pointer; }
.step .n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: var(--r); background: var(--soft); font-size: 12px; }
.step[aria-current="step"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.step[aria-current="step"] .n { background: var(--paper); color: var(--ink); }
.step:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.mtg-meta { min-height: 1em; }
.mtg { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.coach { position: sticky; top: 16px; display: grid; gap: 12px; background: var(--soft); border: 1px solid var(--rule); border-radius: var(--r); padding: 16px; }
.coach .say { display: grid; gap: 6px; background: var(--sheet); border-left: 3px solid var(--ink); padding: 10px 12px; border-radius: var(--r); }
.coach .say p { margin: 0; font-family: var(--f-body); font-size: 16px; }
.coach .k, .k-label { font-family: var(--f-body); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); display: block; margin-bottom: 4px; }
.coach .tip p { margin: 0; font-size: 14px; }
.coach .src { font-family: var(--f-body); font-weight: 600; font-size: 11px; color: var(--muted); }
.big-line { font-family: var(--f-body); font-weight: 600; font-size: 20px; margin: 0; }
.rules { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.tight { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.checks { display: grid; gap: 6px; }
.gap-pager { display: flex; flex-wrap: wrap; gap: 6px; }
.aseg.room { flex-wrap: wrap; }
.aseg.room button[aria-checked="true"][data-a="split"] { background: var(--ink); color: var(--paper); }
.park-row { display: grid; grid-template-columns: 2fr 1fr auto; gap: 8px; align-items: center; }
.pick { display: grid; gap: 6px; }
.pick-row { display: flex; gap: 10px; align-items: flex-start; }
.pick-row input { margin-top: 5px; }
.feed-head { display: flex; gap: 8px; align-items: center; }
.h3.q, h3.q { font-size: 20px; }
.causemap { display: grid; gap: 8px; }
.cause { display: grid; grid-template-columns: 36px 1fr; gap: 2px 10px; text-align: left; border: 1px solid var(--rule); background: var(--sheet); color: var(--ink); border-radius: var(--r); padding: 10px 12px; cursor: pointer; font: inherit; }
.cause .count { grid-row: span 2; font: 400 26px var(--f-display); }
.cause.hit { border-color: var(--down); background: var(--down-bg); }
.cause:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.r-room { border-left: 3px solid var(--ink); padding-left: 10px; }
@media (max-width: 900px) {
  .mtg { grid-template-columns: 1fr; }
  .coach { position: static; }
  .park-row { grid-template-columns: 1fr; }
}
@media print { .coach, .steps, .mtg-nav { display: none; } }

/* Shared screen: what the room sees */
body.presenting .top, body.presenting .foot { display: none; }
body.presenting #app { max-width: none; padding: 0; }
.pres { min-height: 100vh; display: grid; grid-template-rows: auto auto 1fr; gap: clamp(16px, 2.5vw, 32px); padding: clamp(20px, 4vw, 56px); position: relative; }
.pres-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: baseline; font-family: var(--f-body); font-weight: 600; font-size: clamp(11px, 1vw, 14px); color: var(--muted); text-transform: uppercase; letter-spacing: .16em; }
.pres-co { color: var(--ink); font-weight: 500; }
.pres-steps { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.pres-steps .on { color: var(--ink); border-bottom: 2px solid var(--ink); }
.pres-h { font-size: clamp(40px, 6.5vw, 96px); line-height: .9; }
.pres-body { display: grid; gap: clamp(14px, 2vw, 28px); align-content: start; font-size: clamp(17px, 1.7vw, 26px); }
.pres-body p { margin: 0; }
.pres-purpose { font-family: var(--f-body); font-weight: 600; font-size: clamp(22px, 2.6vw, 40px); line-height: 1.3; max-width: 34ch; }
.pres-agenda, .pres-rules { margin: 0; padding-left: 1.4em; display: grid; gap: .35em; }
.pres-agenda { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(22px, 2.4vw, 36px); }
.pres-quiet { color: var(--muted); font-size: .8em; }
.pres-voices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(14px, 2vw, 28px); }
.pres-voice { border-left: 4px solid var(--rule); padding-left: 16px; display: grid; gap: 8px; align-content: start; }
.pres-voice.owner { border-left-color: var(--ink); }
.pres-voice p { font-family: var(--f-body); font-size: 1.1em; line-height: 1.35; }
.pres-voice .arrow { justify-self: start; font-size: .8em; }
.pres-who { color: var(--muted); font-size: .8em; }
.pres-card { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r); padding: clamp(14px, 1.6vw, 24px); display: grid; gap: 10px; align-content: start; }
.pres-card.agreed { border: 2px solid var(--ink); }
.pres-k { font-family: var(--f-body); font-weight: 600; font-size: clamp(11px, .9vw, 14px); text-transform: uppercase; letter-spacing: .18em; color: var(--muted); }
.pres-room { border-left: 4px solid var(--ink); padding-left: 12px; }
.pres-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(14px, 2vw, 24px); }
.pres-grid.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); }
.pres-list { margin: 0; padding-left: 1.2em; display: grid; gap: .4em; }
.pres-list li.picked { font-weight: 600; }
.pres-list li.picked::marker { content: "→ "; }
.pres-money { font: 400 clamp(32px, 4vw, 60px)/1 var(--f-display); }
.pres-big { font: 400 clamp(28px, 3.4vw, 52px)/1 var(--f-display); text-transform: uppercase; }
.pres-cause { display: flex; gap: 14px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid var(--rule); }
.pres-cause .count { font: 400 1.6em/1 var(--f-display); min-width: 1.2em; }
.pres-cause.hit { color: var(--down); }
.pres-table { width: 100%; border-collapse: collapse; }
.pres-table th, .pres-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.pres-table th { font-family: var(--f-body); font-weight: 600; font-size: .6em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.pres-full { position: absolute; right: 16px; bottom: 16px; font: 500 12px var(--f-body); background: transparent; color: var(--muted); border: 1px solid var(--rule); border-radius: var(--r); padding: 6px 12px; cursor: pointer; }
.pres-full[hidden] { display: none; }
.pres-card .arrow, .pres-room .arrow { justify-self: start; width: max-content; }
.pres { grid-template-rows: auto auto 1fr auto; }
.pres-steps button { font: inherit; text-transform: inherit; letter-spacing: inherit; color: var(--muted); background: none; border: 0; border-bottom: 2px solid transparent; padding: 2px 0; cursor: pointer; }
.pres-steps button:hover { color: var(--ink); }
.pres-steps button.on { color: var(--ink); border-bottom-color: var(--ink); }
.pres-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--rule); }
.pres-spacer { flex: 1; }
.pres-nav { font: 600 clamp(14px, 1.2vw, 18px) var(--f-body); background: var(--btn-bg); color: var(--btn-fg); border: 0; border-radius: var(--r); padding: 10px 20px; cursor: pointer; }
.pres-nav[data-dir="-1"] { background: transparent; color: var(--ink); border: 1px solid var(--rule); }
.pres-nav:disabled { opacity: .35; cursor: default; }
.pres-full { position: static; }
.pres-steps button:focus-visible, .pres-nav:focus-visible, .pres-full:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Branding card */
.card.brand > summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 10px; }
.card.brand > summary::-webkit-details-marker { display: none; }
.card.brand[open] { display: grid; gap: 14px; }
.brand-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.brand-logo { min-height: 64px; display: grid; place-items: center start; padding: 8px; border: 1px dashed var(--rule); border-radius: var(--r); background: #fff; }
.brand-logo img { max-height: 56px; max-width: 220px; }
.brand-color { display: flex; gap: 8px; align-items: center; }
.brand-color input[type="color"] { width: 44px; height: 38px; padding: 2px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--sheet); }
@media (max-width: 760px) { .brand-row { grid-template-columns: 1fr; } }

/* The all-seven board and the surface cards */
.board { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 14px; }
.gcard { text-align: left; font: inherit; color: inherit; width: 100%; box-shadow: 0 1px 2px rgba(17, 19, 21, .05); }
button.gcard { cursor: pointer; }
button.gcard:hover { border-color: var(--ink); }
button.gcard:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.gcard .voices { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.gcard .gtags { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.board-card .gap-head .surf { font-size: 22px; }
.board-card .voice .ev { font-size: 15px; }
.focus-card { padding: 22px 24px; }
.focus-card .gap-head .surf { font-size: 30px; }
.focus-card .voice .ev { font-size: 18px; }
/* Room view: the same cards, scaled for a projector */
.pres .gcard { background: var(--sheet); }
.pres .board-card .voice .ev { font-size: clamp(14px, 1.15vw, 18px); }
.pres .board-card .gap-head .surf { font-size: clamp(20px, 1.8vw, 28px); }
.pres .focus-card { padding: clamp(18px, 2vw, 32px); }
.pres .focus-card .gap-head .surf { font-size: clamp(26px, 2.6vw, 40px); }
.pres .focus-card .voice .who { font-size: clamp(13px, 1.1vw, 17px); }
.pres .focus-card .voice .ev { font-size: clamp(19px, 1.9vw, 30px); line-height: 1.35; }
.pres .focus-card .voices { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(14px, 2vw, 28px); }
/* Their branding on the room view */
.pres.branded { border-top: 8px solid var(--brand); }
.pres-co { display: inline-flex; align-items: center; gap: 12px; }
.pres-logo { height: clamp(28px, 3vw, 44px); width: auto; max-width: 220px; object-fit: contain; background: #fff; border-radius: var(--r); padding: 2px; }
.step .step-min { font-weight: 500; font-size: 12px; opacity: .65; }
.joincode { font-family: var(--f-mono); letter-spacing: .08em; }

/* Sign-in */
[hidden] { display: none !important; }
.stack { display: grid; gap: 12px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#who { display: flex; gap: 10px; align-items: center; font-size: 13px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; cursor: pointer; }
.check input { margin-top: 3px; flex: none; }
.btn.danger { background: var(--down); border-color: var(--down); color: var(--paper); }

/* The one accent: the main action on a page. Never a background for anything bigger than a button. */
.btn.cta { background: linear-gradient(180deg, var(--jacket-hi), var(--jacket) 45%, var(--jacket-lo)); border-color: var(--jacket-lo); color: var(--on-red); box-shadow: var(--shadow-cta); }
.btn.cta:hover { filter: brightness(1.05); }
.btn.small { letter-spacing: .1em; }
/* Narrow screens: the wordmark stays on one line; the signed-in email gives way to "Sign out". */
.brand { white-space: nowrap; }
@media (max-width: 560px) {
  .brand { font-size: 22px; }
  #who .muted { display: none; }
}
/* Invite-by-email rows: email, name, surface. Stacks on phones. */
.inv-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr) minmax(0, 1.2fr); gap: 8px; }
.inv-row select { font: 15px/1.45 var(--f-body); color: var(--ink); background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r); padding: 10px 8px; min-width: 0; }
@media (max-width: 640px) { .inv-row { grid-template-columns: 1fr; padding-bottom: 8px; border-bottom: 1px solid var(--rule); } }
