/* SecondSpeaker shared styles: screen (dark stage), presenter, ask (light, mobile first), landing. */

:root {
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang HK", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --stage-bg: #0b0f17;
  --stage-fg: #f4f6fa;
  --stage-muted: #a9b2c3;
  --stage-accent: #ffd166;
  --stage-accent-2: #6ee7b7;
  --stage-card: #141a26;
  --ink: #111827;
  --ink-muted: #5b6475;
  --paper: #ffffff;
  --paper-2: #f3f5f9;
  --line: #dfe3ea;
  --brand: #1f4fd8;
  --brand-ink: #ffffff;
  --ok: #1a9c5b;
  --warn: #c77700;
  --bad: #c2362f;
  --pres-bg: #101419;
  --pres-panel: #171d25;
  --pres-fg: #eef1f6;
  --pres-muted: #94a0b4;
  --pres-line: #2a3340;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--font); -webkit-font-smoothing: antialiased; }
button { font-family: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: 0.5; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ======================================================================
   Stage: 1920 x 1080 design space, scaled by JS to fit its box.
   ====================================================================== */
.stage-box { position: relative; overflow: hidden; background: var(--stage-bg); }
.stage {
  position: absolute; top: 0; left: 0; width: 1920px; height: 1080px;
  transform-origin: top left; background: var(--stage-bg); color: var(--stage-fg);
  font-size: 48px; line-height: 1.35; overflow: hidden;
}
.slide { position: absolute; inset: 0; }
.slide-inner { position: absolute; inset: 0; padding: 100px 420px 120px 140px; /* right padding keeps text clear of the QR card */ display: flex; flex-direction: column; justify-content: center; gap: 0.25em; }
.slide p { margin: 0.35em 0; }
.slide h1 { font-size: 120px; line-height: 1.1; margin: 0 0 0.2em 0; letter-spacing: -0.01em; }
.slide h2 { font-size: 72px; line-height: 1.15; margin: 0 0 0.3em 0; }
.slide strong { color: var(--stage-accent); font-weight: 700; }
.slide .sub { font-size: 56px; color: var(--stage-muted); }
.slide .meta { font-size: 34px; color: var(--stage-muted); margin-top: 1.2em; }
.slide .kicker { font-size: 48px; color: var(--stage-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.2em; }
.slide .big { font-size: 1.33em; line-height: 1.25; }
.slide .cite { font-size: 30px; color: var(--stage-muted); margin-top: 0.6em; }
.slide .corner { position: absolute; right: 60px; bottom: 40px; font-size: 32px; color: var(--stage-muted); }
.slide .fragment { opacity: 0; transform: translateY(12px); transition: opacity 0.45s ease, transform 0.45s ease; }
.slide .fragment.on { opacity: 1; transform: none; }
.slide .tag { position: absolute; top: 40px; left: 140px; font-size: 28px; color: var(--stage-bg); background: var(--stage-accent); padding: 6px 18px; border-radius: 8px; font-weight: 700; letter-spacing: 0.05em; }

.slide.kind-title .slide-inner, .slide.kind-part .slide-inner { align-items: center; text-align: center; padding-left: 200px; padding-right: 200px; }
.slide.kind-part h1 { font-size: 150px; color: var(--stage-accent); }
.slide.kind-quote .slide-inner { padding-left: 200px; }
.slide.kind-quote blockquote { margin: 0.3em 0; font-size: 1.125em; line-height: 1.35; padding-left: 0.7em; border-left: 10px solid var(--stage-accent); }
.slide.kind-vote .slide-inner { align-items: center; text-align: center; }
.slide.kind-vote .opts { display: flex; gap: 60px; justify-content: center; align-items: center; flex-wrap: wrap; }
.slide.kind-vote .opts span { font-size: 96px; font-weight: 800; padding: 0.2em 0.5em; border: 8px solid var(--stage-accent); border-radius: 28px; white-space: nowrap; }
.slide.kind-vote .big { font-size: 84px; }
.slide .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.slide .cols h2 { color: var(--stage-accent); }
.slide .tiles { list-style: none; margin: 0.4em 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.slide .tiles li { font-size: 34px; line-height: 1.2; padding: 22px 26px; border-radius: 16px; background: var(--stage-card); border: 3px solid var(--pres-line); color: var(--stage-muted); min-height: 120px; display: flex; align-items: center; }
.slide .tiles li.done { color: var(--stage-fg); border-color: var(--stage-accent-2); }
.slide .tiles li.done::before { content: "✓ "; color: var(--stage-accent-2); font-weight: 800; margin-right: 0.3em; }
.slide.kind-map .slide-inner { padding-right: 420px; }
.slide.kind-vote .slide-inner { padding-right: 420px; padding-bottom: 160px; }
.slide.kind-map h2 { font-size: 56px; }

/* qa slide */
.slide.kind-qa .slide-inner { justify-content: flex-start; padding-top: 90px; padding-right: 500px; }
.slide.kind-qa h1 { font-size: 96px; }
.qa-panel { margin-top: 0.2em; }
.qa-empty { font-size: 44px; color: var(--stage-muted); }
.qa-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.qa-list li { display: flex; align-items: center; gap: 28px; font-size: 50px; line-height: 1.2; padding: 18px 28px; border-radius: 18px; background: var(--stage-card); }
.qa-list li .tick { width: 64px; height: 64px; flex: 0 0 64px; border-radius: 50%; border: 4px solid var(--stage-muted); display: flex; align-items: center; justify-content: center; font-size: 40px; color: var(--stage-bg); }
.qa-list li.answered .tick { background: var(--stage-accent-2); border-color: var(--stage-accent-2); }
.qa-list li.answered .head { color: var(--stage-muted); }
.qa-list li .cnt { margin-left: auto; font-size: 34px; color: var(--stage-muted); background: var(--stage-bg); padding: 4px 18px; border-radius: 999px; }

/* qr slide */
.slide.kind-qr .slide-inner { flex-direction: row; align-items: center; gap: 90px; padding-right: 440px; padding-bottom: 110px; }
.slide.kind-qr .base { flex: 1 1 50%; }
.slide.kind-qr h2 { font-size: 64px; }
.qr-big { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.qr-big .qr-box { width: 560px; height: 560px; background: #fff; border-radius: 28px; padding: 24px; }
.qr-big .qr-box svg { width: 100%; height: 100%; display: block; }
.qr-big .qr-url { font-size: 40px; color: var(--stage-accent); word-break: break-all; max-width: 700px; text-align: center; }

/* black screen */
.stage.black .slide, .stage.black .ask-card { visibility: hidden; }

/* ======================================================================
   Screen: floating card
   ====================================================================== */
.ask-card {
  position: absolute; right: 40px; bottom: 40px; width: 340px;
  background: #ffffff; color: #111; border-radius: 24px; padding: 22px 22px 18px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.45); font-size: 28px; line-height: 1.2; text-align: center;
}
.ask-card .qr { width: 296px; height: 296px; }
.ask-card .qr svg { width: 100%; height: 100%; display: block; }
.ask-card .url { font-size: 22px; font-weight: 700; color: #1f2937; overflow-wrap: anywhere; line-height: 1.15; }
.ask-card .hint { font-size: 26px; color: #374151; }
.ask-card .count { font-size: 28px; color: #111; font-weight: 700; min-height: 1.2em; display: flex; align-items: center; justify-content: center; gap: 10px; }
.ask-card .count .dot { width: 16px; height: 16px; border-radius: 50%; background: #9ca3af; display: inline-block; }
.stage.on-qa .ask-card { width: 400px; }
.stage.on-qa .ask-card .qr { width: 356px; height: 356px; }
.content-missing { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--stage-muted); font-size: 44px; }

/* screen page shell */
body.screen { background: #000; overflow: hidden; }
body.screen .stage-box { position: fixed; inset: 0; background: #000; }
body.screen:fullscreen { cursor: none; }

/* ======================================================================
   Presenter
   ====================================================================== */
body.presenter { background: var(--pres-bg); color: var(--pres-fg); font-size: 16px; height: 100vh; overflow: hidden; }
.pres-wrap { display: grid; grid-template-columns: 2fr 1fr; height: 100vh; }
.pres-left { display: flex; flex-direction: column; min-width: 0; border-right: 1px solid var(--pres-line); }
.pres-top { display: flex; gap: 16px; padding: 14px 16px; align-items: stretch; border-bottom: 1px solid var(--pres-line); }
.pres-preview { flex: 0 0 40%; }
.pres-preview .stage-box { width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; border: 1px solid var(--pres-line); }
.pres-meta { flex: 1; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pres-title { font-size: 14px; color: var(--pres-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.pres-slide-id { font-size: 26px; font-weight: 700; }
.pres-slide-id small { color: var(--pres-muted); font-weight: 400; font-size: 15px; margin-left: 8px; }
.pres-times { display: flex; gap: 20px; align-items: baseline; flex-wrap: wrap; }
.pres-times .planned { font-size: 16px; color: var(--pres-muted); }
.pres-times .planned b { color: var(--pres-fg); font-family: var(--mono); font-size: 22px; }
.pres-times .elapsed { font-family: var(--mono); font-size: 38px; font-weight: 700; letter-spacing: 0.02em; }
.pres-times .elapsed.over { color: var(--warn); }
.pres-timer-btns { display: flex; gap: 8px; }
.pres-next { font-size: 15px; color: var(--pres-muted); }
.pres-next b { color: var(--pres-fg); }
.pres-notes { flex: 1; overflow: auto; padding: 22px 28px; font-size: 26px; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; }
.pres-notes.empty { color: var(--pres-muted); font-style: italic; }
.pres-controls { display: flex; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--pres-line); align-items: center; flex-wrap: wrap; }
.pres-controls select { max-width: 360px; }
.pres-qrurl { display: flex; gap: 8px; align-items: center; padding: 10px 16px; border-top: 1px solid var(--pres-line); background: #1b2330; }
.pres-qrurl input { flex: 1; }
.pres-qrurl label { font-size: 14px; color: var(--pres-muted); white-space: nowrap; }

.btn { background: #26303d; color: var(--pres-fg); border: 1px solid var(--pres-line); border-radius: 8px; padding: 10px 14px; font-size: 15px; line-height: 1; }
.btn:hover { background: #2f3b4b; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.big { font-size: 18px; padding: 14px 22px; }
.btn.danger { border-color: var(--bad); color: #ff9b93; }
.btn.small { padding: 6px 10px; font-size: 13px; }
.btn.ghost { background: transparent; }
select, input[type="text"], input[type="url"] { font-family: inherit; font-size: 15px; padding: 9px 10px; border-radius: 8px; border: 1px solid var(--pres-line); background: #0d1117; color: var(--pres-fg); }

.pres-right { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.pres-right-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--pres-line); flex-wrap: wrap; }
.tabs { display: flex; gap: 4px; }
.tab { background: transparent; border: 1px solid transparent; color: var(--pres-muted); padding: 8px 12px; border-radius: 8px; font-size: 15px; }
.tab.active { background: #26303d; color: var(--pres-fg); border-color: var(--pres-line); }
.tab .badge { display: inline-block; min-width: 20px; padding: 1px 6px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12px; margin-left: 6px; text-align: center; }
.pres-right-head .spacer { flex: 1; }
.status-badge { font-size: 12px; padding: 4px 8px; border-radius: 999px; background: #1f3d2a; color: #7ee2a8; border: 1px solid #2c5a3c; }
.status-badge.off { background: #3d1f1f; color: #ff9b93; border-color: #5a2c2c; }
.status-badge.mock { background: #3a3420; color: #ffd166; border-color: #5a5030; }
.pane { flex: 1; overflow: auto; padding: 10px 12px; display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.pane-tools { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--pres-muted); flex-wrap: wrap; }
.pane-empty { color: var(--pres-muted); font-size: 14px; padding: 20px 0; text-align: center; }
.item { background: var(--pres-panel); border: 1px solid var(--pres-line); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.item.hidden-item { opacity: 0.45; }
.item .row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.item .sid { font-family: var(--mono); font-size: 12px; background: #0d1117; padding: 2px 6px; border-radius: 4px; color: var(--pres-muted); }
.item .kind { font-size: 12px; padding: 2px 8px; border-radius: 999px; font-weight: 600; }
.kind.answered { background: #1f3d2a; color: #7ee2a8; }
.kind.recorded { background: #3a3420; color: #ffd166; }
.kind.noted { background: #25303d; color: #9fb7d9; }
.item .time { font-size: 12px; color: var(--pres-muted); margin-left: auto; }
.item .text { font-size: 16px; line-height: 1.4; }
.item .reply { font-size: 14px; line-height: 1.4; color: var(--pres-muted); border-left: 3px solid var(--pres-line); padding-left: 8px; }
.item .actions { display: flex; gap: 6px; flex-wrap: wrap; }
.cluster .headline { font-size: 18px; font-weight: 700; }
.cluster.answered .headline { color: var(--pres-muted); text-decoration: line-through; }
.cluster .question { font-size: 15px; line-height: 1.4; }
.cluster .meta { font-size: 12px; color: var(--pres-muted); }
.cluster .answer { font-size: 15px; line-height: 1.45; background: #0d1117; border-radius: 8px; padding: 8px 10px; }
.cluster .answer b { color: var(--stage-accent); }
.cluster .backing { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.cluster .backing li { font-size: 13px; color: var(--pres-muted); line-height: 1.35; }
.cluster .backing li b { color: var(--pres-fg); font-weight: 600; }
.pres-foot { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--pres-line); align-items: center; flex-wrap: wrap; }
.pres-foot .spacer { flex: 1; }
.toast { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); background: #26303d; color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px; box-shadow: 0 6px 24px rgba(0,0,0,0.4); opacity: 0; transition: opacity 0.2s; pointer-events: none; z-index: 50; }
.toast.show { opacity: 1; }
.pres-missing { padding: 40px; font-size: 18px; color: var(--pres-muted); }

/* ======================================================================
   Ask page (mobile first, light)
   ====================================================================== */
body.ask { background: var(--paper-2); color: var(--ink); font-size: 17px; line-height: 1.45; }
.ask-wrap { max-width: 560px; margin: 0 auto; padding: 14px 16px 40px; }
.ask-head { display: flex; align-items: center; gap: 12px; padding: 6px 0 10px; }
.ask-head img { height: 30px; width: auto; display: block; }
.ask-head .title { font-size: 18px; font-weight: 700; line-height: 1.25; }
.ask-privacy { font-size: 13px; color: var(--ink-muted); margin: 0 0 14px; }
.ask-card-form { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 2px 10px rgba(17,24,39,0.04); }
.ask-card-form label { font-size: 13px; color: var(--ink-muted); font-weight: 600; }
.ask-card-form select, .ask-card-form textarea {
  width: 100%; font-family: inherit; font-size: 16px; color: var(--ink); background: #fff;
  border: 1px solid #c9cfda; border-radius: 10px; padding: 10px 12px;
}
.ask-card-form select { appearance: auto; }
.ask-card-form select:focus, .ask-card-form textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.ask-card-form textarea { min-height: 110px; resize: vertical; line-height: 1.4; }
.ask-card-form .follow { font-size: 12px; color: var(--ink-muted); }
.ask-card-form .follow.live::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-right: 6px; }
.ask-row { display: flex; align-items: center; gap: 10px; }
.ask-row .counter { font-size: 12px; color: var(--ink-muted); margin-left: auto; }
.ask-send { background: var(--brand); color: var(--brand-ink); border: none; border-radius: 12px; padding: 13px 18px; font-size: 17px; font-weight: 700; width: 100%; }
.ask-send:active { transform: translateY(1px); }
.ask-status { font-size: 14px; color: var(--ink-muted); min-height: 1.2em; }
.ask-status.err { color: var(--bad); }
.ask-status.thinking::before { content: ""; display: inline-block; width: 12px; height: 12px; border: 2px solid #c9cfda; border-top-color: var(--brand); border-radius: 50%; margin-right: 8px; vertical-align: -2px; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.reply-card { border-radius: 14px; padding: 14px; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; gap: 8px; }
.reply-card.answered { border-color: #bfe3cd; background: #f2fbf5; }
.reply-card.recorded { border-color: #f1ddb0; background: #fffaf0; }
.reply-card.noted { border-color: #cfdcf5; background: #f3f7ff; }
.reply-card .q { font-size: 13px; color: var(--ink-muted); }
.reply-card .q b { color: var(--ink); font-weight: 600; }
.reply-card .a { font-size: 16px; line-height: 1.45; }
.reply-card .label { font-size: 12px; color: var(--ink-muted); }
.ask-history h2 { font-size: 14px; color: var(--ink-muted); margin: 18px 0 8px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.ask-history .list { display: flex; flex-direction: column; gap: 8px; }
.ask-offline { background: #fff4f2; border: 1px solid #f3c3be; color: #8a2a24; border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.ask-foot { margin-top: 24px; font-size: 12px; color: var(--ink-muted); text-align: center; }

/* ======================================================================
   Landing
   ====================================================================== */
body.landing { background: var(--paper-2); color: var(--ink); font-size: 17px; line-height: 1.5; }
.land-wrap { max-width: 720px; margin: 0 auto; padding: 40px 20px 60px; }
.land-wrap h1 { font-size: 30px; margin: 0 0 6px; }
.land-wrap .lead { color: var(--ink-muted); margin: 0 0 28px; }
.land-session { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin-bottom: 16px; }
.land-session h2 { margin: 0 0 4px; font-size: 20px; }
.land-session .when { color: var(--ink-muted); font-size: 14px; margin: 0 0 12px; }
.land-links { display: flex; gap: 10px; flex-wrap: wrap; }
.land-links a { display: inline-block; padding: 10px 14px; border-radius: 10px; background: var(--brand); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }
.land-links a.alt { background: #fff; color: var(--brand); border: 1px solid var(--brand); }
.land-note { font-size: 13px; color: var(--ink-muted); margin-top: 10px; }
.land-wrap code { font-family: var(--mono); font-size: 13px; background: #e9edf5; padding: 2px 6px; border-radius: 4px; }

/* ======================================================================
   Content markup from event/hkugac-0826/content (Lane C conventions).
   Added at integration so the canonical JSON renders without edits.
   ====================================================================== */
/* vote: three options as a list */
.slide.kind-vote ul.options { list-style: none; margin: 0; padding: 0; display: flex; gap: 60px; justify-content: center; align-items: center; flex-wrap: wrap; }
.slide.kind-vote ul.options li { font-size: 96px; font-weight: 800; padding: 0.2em 0.5em; border: 8px solid var(--stage-accent); border-radius: 28px; white-space: nowrap; }
/* vote: single question lines (E10, W21) */
.slide.kind-vote .question { font-size: 72px; line-height: 1.25; margin: 0.15em 0; }
.slide.kind-vote .question strong { color: var(--stage-fg); }
/* quote: blockquote with cite */
.slide.kind-quote blockquote p { font-size: 1em; }
.slide.kind-quote blockquote cite { display: block; font-style: normal; font-size: 32px; color: var(--stage-muted); margin-top: 0.5em; }
/* map (E20): ul.tiles.done has the ticks in the text already, ul.tiles.next the arrows */
.slide .tiles li::before { content: none; }
.slide ul.tiles.done li { color: var(--stage-fg); border-color: var(--stage-accent-2); }
.slide ul.tiles.next li { color: var(--stage-muted); }
.slide.kind-map .tiles { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.slide.kind-map .tiles li { font-size: 30px; min-height: 96px; padding: 14px 20px; }
.slide.kind-map p { font-size: 36px; }
/* cold screen (W1) */
.slide .corner { position: absolute; right: 80px; bottom: 60px; font-size: 40px; color: var(--stage-muted); }
/* placeholders left in the canonical text (images and QR to be added) */
.slide .placeholder { color: var(--stage-muted); border: 3px dashed var(--pres-line); border-radius: 16px; padding: 0.4em 0.8em; font-size: 34px; display: inline-block; }
/* W5 two column rows */
.slide .row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; font-size: 44px; }
.slide .row.head { border-bottom: 4px solid var(--pres-line); padding-bottom: 0.2em; margin-bottom: 0.2em; }
.slide .row .l, .slide .row .r { display: block; }
/* W6 the brief: smaller text, labels light up the matching sentences */
.slide blockquote.brief { font-size: 30px; line-height: 1.4; margin: 0.2em 0; padding-left: 0.7em; border-left: 8px solid var(--stage-accent); }
.slide blockquote.brief p { margin: 0.3em 0; }
.slide blockquote.brief ul { margin: 0.2em 0 0.2em 1.2em; padding: 0; }
.slide .q { transition: background 0.4s ease, color 0.4s ease; border-radius: 6px; padding: 0 4px; }
.slide .hl { position: absolute; left: 140px; bottom: 70px; font-size: 44px; font-weight: 800; padding: 0.15em 0.7em; border-radius: 12px; background: var(--stage-accent); color: var(--stage-bg); }
.slide .hl.fragment { transform: none; }
.slide .hl-user { background: #93c5fd; }
.slide .hl-benefit { background: #6ee7b7; }
.slide .hl-picture { background: #fca5a5; }
.slide .hl-boundaries { background: #fdba74; }
.slide .hl-done { background: #c4b5fd; }
.slide .hl-delivery { background: #f9a8d4; }
.slide:has(.hl-change.on) .q.change, .slide:has(.fragment.on .hl-change) .q.change { background: var(--stage-accent); color: var(--stage-bg); }
.slide:has(.hl-user.on) .q.user, .slide:has(.fragment.on .hl-user) .q.user { background: #93c5fd; color: var(--stage-bg); }
.slide:has(.hl-benefit.on) .q.benefit, .slide:has(.fragment.on .hl-benefit) .q.benefit { background: #6ee7b7; color: var(--stage-bg); }
.slide:has(.hl-picture.on) .q.picture, .slide:has(.fragment.on .hl-picture) .q.picture { background: #fca5a5; color: var(--stage-bg); }
.slide:has(.hl-boundaries.on) .q.boundaries, .slide:has(.fragment.on .hl-boundaries) .q.boundaries { background: #fdba74; color: var(--stage-bg); }
.slide:has(.hl-done.on) .q.done, .slide:has(.fragment.on .hl-done) .q.done { background: #c4b5fd; color: var(--stage-bg); }
.slide:has(.hl-delivery.on) .q.delivery, .slide:has(.fragment.on .hl-delivery) .q.delivery { background: #f9a8d4; color: var(--stage-bg); }
/* label badges sit in a row along the bottom (each label is its own fragment paragraph) */
.slide .hl-change { left: 140px; }
.slide .hl-user { left: 380px; }
.slide .hl-benefit { left: 570px; }
.slide .hl-picture { left: 820px; }
.slide .hl-boundaries { left: 1060px; }
.slide .hl-done { left: 1390px; }
.slide .hl-delivery { left: 1570px; }
/* W7 question zero */
.slide .q0 { color: var(--stage-muted); }
/* W15 steps, W19 copy line */
.slide ul.steps { list-style: none; margin: 0.3em 0; padding: 0; display: flex; flex-direction: column; gap: 0.4em; }
.slide ul.steps li { font-size: 52px; }
.slide .copy { font-family: var(--mono); font-size: 32px; line-height: 1.4; background: var(--stage-card); border-radius: 16px; padding: 0.6em 0.9em; }
/* generic lists in content slides */
.slide ul { margin: 0.3em 0; padding-left: 1.1em; }
.slide li { margin: 0.15em 0; }
/* backup slide (W25) */
.slide.kind-backup .slide-inner { align-items: center; text-align: center; }
