@import url("navbar.css");
:root {
  --bg: #F7F9F8; --panel: #FFFFFF; --ink: #2C3A43; --ink-soft: #46565F; --muted: #8A9AA1;
  --line: #E3EAE6; --line-soft: #EEF4F1;
  --accent: #3E8B77; --accent-soft: #DCEBE5; --accent-ink: #2F6E5E;
  --good: #1E8E5A; --good-bg: #E7F5ED; --good-line: #B7E0C7;
  --warn-bg: #FBF1DE; --warn-line: #EAD3A0; --warn-ink: #B26A00;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141B1F; --panel: #1C252B; --ink: #E7EDEA; --ink-soft: #C0CCC6; --muted: #77878F;
    --line: #2A363C; --line-soft: #1E2A28;
    --accent: #6FBFA8; --accent-soft: #23413A; --accent-ink: #8ED3BF;
    --good: #54C68C; --good-bg: #12271C; --good-line: #25543B;
    --warn-bg: #2A2113; --warn-line: #54401D; --warn-ink: #E0A94A;
  }
}
:root[data-theme="light"] {
  --bg: #F7F9F8; --panel: #FFFFFF; --ink: #2C3A43; --ink-soft: #46565F; --muted: #8A9AA1;
  --line: #E3EAE6; --line-soft: #EEF4F1;
  --accent: #3E8B77; --accent-soft: #DCEBE5; --accent-ink: #2F6E5E;
  --good: #1E8E5A; --good-bg: #E7F5ED; --good-line: #B7E0C7;
  --warn-bg: #FBF1DE; --warn-line: #EAD3A0; --warn-ink: #B26A00;
}
:root[data-theme="dark"] {
  --bg: #141B1F; --panel: #1C252B; --ink: #E7EDEA; --ink-soft: #C0CCC6; --muted: #77878F;
  --line: #2A363C; --line-soft: #1E2A28;
  --accent: #6FBFA8; --accent-soft: #23413A; --accent-ink: #8ED3BF;
  --good: #54C68C; --good-bg: #12271C; --good-line: #25543B;
  --warn-bg: #2A2113; --warn-line: #54401D; --warn-ink: #E0A94A;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg); color: var(--ink); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; padding: 0 20px 80px;
}
#app { max-width: 840px; margin: 0 auto; display: flex; flex-direction: column; gap: 30px; }

.banner {
  margin-top: 28px; padding: 12px 16px; border-radius: 10px; font-size: 13.5px;
  background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-ink);
}
.banner.error { background: #FBEAE7; border-color: #EEC3BC; color: #C0392B; }

.portal-head { padding-top: 40px; display: flex; flex-direction: column; gap: 8px; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.portal-title { font-family: "Iowan Old Style", Georgia, serif; font-size: 30px; letter-spacing: -.01em; font-weight: 600; text-wrap: balance; }
.portal-sub { font-size: 16px; color: var(--muted); }

.queue-section { display: flex; flex-direction: column; gap: 12px; }
.section-head { display: flex; align-items: baseline; gap: 10px; }
.section-title { font-size: 15px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
.section-count {
  font-size: 12px; font-weight: 800; color: var(--accent); background: var(--accent-soft);
  border-radius: 999px; padding: 2px 9px; font-variant-numeric: tabular-nums;
}
.section-blurb { font-size: 13.5px; color: var(--muted); margin-top: -4px; }

.card-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 20px; display: flex; flex-direction: column; gap: 10px;
}
.card-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.card-title { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.card-preview { font-size: 14px; color: var(--ink-soft); }
.card-drip { font-size: 13px; color: var(--muted); }
.drip-label { font-weight: 700; color: var(--ink-soft); }

/* Fix instructions: what we found, the steps, the exact text to paste. */
.card-pack { display: flex; flex-direction: column; gap: 10px; }
.card-found { font-size: 13.5px; color: var(--ink-soft); }
.card-found-label { font-weight: 700; }
.card-steps {
  margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px;
}
.card-step { font-size: 14px; color: var(--ink); line-height: 1.5; }
.card-snippet {
  border: 1px solid var(--line); border-radius: 10px; background: var(--line-soft);
  overflow: hidden;
}
.snippet-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 6px 10px; border-bottom: 1px solid var(--line);
}
.snippet-label {
  font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  color: var(--muted);
}
.snippet-copy {
  font: inherit; font-size: 12px; font-weight: 700; cursor: pointer;
  background: none; color: var(--accent-ink); border: 1px solid var(--line);
  border-radius: 8px; padding: 3px 10px;
}
.snippet-copy:hover { background: var(--accent-soft); }
.snippet-copy:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 2px; }
/* Snippets are exact text (robots.txt blocks, sitemap lines): never wrap or
   re-flow them — a broken line is a broken paste. Scroll instead. */
.snippet-text {
  margin: 0; padding: 10px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px; line-height: 1.55; color: var(--ink);
  white-space: pre; overflow-x: auto;
}

.state-pill {
  font-size: 11px; font-weight: 800; letter-spacing: .02em; padding: 3px 9px;
  border-radius: 999px; white-space: nowrap;
}
.state-pill.approved { color: var(--good); background: var(--good-bg); border: 1px solid var(--good-line); }

.card-actions { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.btn-approve {
  font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
  background: var(--accent); color: #fff; border: none; border-radius: 10px; padding: 10px 18px;
}
.btn-approve:hover { filter: brightness(1.05); }
.btn-approve:disabled { opacity: .6; cursor: default; }
.btn-approve:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 2px; }
/* The quiet counterpart to btn-approve — used for Decline. It had no styles
   at all (raw browser button) until 2026-08-25. */
.btn-decline {
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  background: transparent; color: var(--muted);
  border: 1px solid var(--line); border-radius: 10px; padding: 9px 16px;
  transition: color .12s, border-color .12s;
}
.btn-decline:hover, .btn-decline:focus-visible {
  color: var(--bad, #c43d3d); border-color: var(--bad, #c43d3d);
}
.btn-decline:disabled { opacity: .6; cursor: default; }
.err { font-size: 13px; color: #C0392B; }

/* ── Subscribe page ─────────────────────────────────────────────────────── */
.plan-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  padding: 26px 24px; display: flex; flex-direction: column; gap: 18px;
}
.plan-top { display: flex; align-items: center; gap: 10px; }
.plan-name { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.plan-badge {
  font-size: 11px; font-weight: 800; letter-spacing: .02em; padding: 3px 9px;
  border-radius: 999px; cursor: default;
  color: var(--accent-ink); background: var(--accent-soft); border: 1px solid var(--accent-soft);
}

.bill-toggle { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px;
  background: var(--line-soft); align-self: flex-start; }
.bill-opt {
  font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; color: var(--muted);
  background: transparent; border: none; border-radius: 999px; padding: 7px 14px;
}
.bill-opt.on { background: var(--panel); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.bill-opt:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 2px; }

.price-row { display: flex; align-items: baseline; gap: 6px; }
.price { font-size: 44px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price-per { font-size: 16px; color: var(--muted); font-weight: 600; }

.plan-includes { list-style: none; display: flex; flex-direction: column; gap: 10px;
  border-top: 1px solid var(--line-soft); padding-top: 16px; }
.plan-includes li { display: flex; align-items: baseline; gap: 10px; }
.inc-value { min-width: 34px; font-weight: 800; color: var(--accent-ink);
  font-variant-numeric: tabular-nums; }
.inc-label { color: var(--ink-soft); }

.plan-card .btn-approve { align-self: stretch; text-align: center; padding: 14px; font-size: 15px; }

/* ── Dashboard home ─────────────────────────────────────────────────────── */
.dash-section { display: flex; flex-direction: column; gap: 12px; }

.score-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.score-tile {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 20px; display: flex; flex-direction: column; gap: 8px;
}
.score-name { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.score-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.score-value { font-size: 40px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.score-max { font-size: 14px; color: var(--muted); font-weight: 600; }
.score-note { font-size: 12.5px; color: var(--muted); }

.delta {
  font-size: 11px; font-weight: 800; letter-spacing: .02em; padding: 3px 9px;
  border-radius: 999px; white-space: nowrap; font-variant-numeric: tabular-nums;
}
.delta.up { color: var(--good); background: var(--good-bg); border: 1px solid var(--good-line); }
.delta.down { color: var(--warn-ink); background: var(--warn-bg); border: 1px solid var(--warn-line); }
.delta.flat { color: var(--muted); background: var(--line-soft); border: 1px solid var(--line); }

.city-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.city-row {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 18px; display: flex; flex-direction: column; gap: 4px;
}
.city-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
/* Coverage rows are a name + one quiet remove control on the right. The old
   markup used a class with no styles at all, so Remove rendered as a raw
   browser button (founder flagged it 2026-08-25). */
.city-row:has(.city-remove) { flex-direction: row; align-items: center;
  justify-content: space-between; }
.city-remove {
  flex: 0 0 auto; width: 28px; height: 28px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--muted);
  font: 600 13px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  cursor: pointer; display: inline-flex; align-items: center;
  justify-content: center; transition: color .12s, border-color .12s,
  background .12s;
}
.city-remove:hover, .city-remove:focus-visible {
  color: var(--bad, #c43d3d); border-color: var(--bad, #c43d3d);
  background: var(--bad-bg, rgba(196, 61, 61, .08));
}
.city-name { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.city-pill {
  font-size: 11px; font-weight: 800; letter-spacing: .02em; padding: 3px 9px;
  border-radius: 999px; white-space: nowrap;
}
.city-pill.winnable { color: var(--good); background: var(--good-bg); border: 1px solid var(--good-line); }
.city-pill.capped { color: var(--warn-ink); background: var(--warn-bg); border: 1px solid var(--warn-line); }
.city-detail { font-size: 13.5px; color: var(--ink-soft); }

.win-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.win-row {
  background: var(--good-bg); border: 1px solid var(--good-line); border-radius: 14px;
  padding: 14px 18px; display: flex; flex-direction: column; gap: 4px;
}
.win-line { font-size: 14px; color: var(--ink); }
.win-date { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

.excerpt-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 20px; display: flex; flex-direction: column; gap: 10px;
}
.excerpt-question { font-size: 13.5px; font-weight: 700; color: var(--ink-soft); }
.excerpt-quote {
  font-size: 15px; color: var(--ink); border-left: 3px solid var(--accent);
  padding: 2px 0 2px 14px; font-style: italic;
}
.excerpt-status { font-size: 13.5px; font-weight: 700; color: var(--accent-ink); }
.fineprint { font-size: 12px; color: var(--muted); }

@media (max-width: 520px) {
  .portal-title { font-size: 26px; font-weight: 600; } .price { font-size: 36px; }
  .score-grid { grid-template-columns: 1fr; } .score-value { font-size: 34px; }
}

@media (max-width: 520px) { .portal-title { font-size: 26px; font-weight: 600; } .price { font-size: 36px; } }

/* ── Admin console ──────────────────────────────────────────────────────── */
#app.admin { max-width: 860px; }

.customer-row { flex-direction: row; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; }
.customer-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.btn-secondary { background: var(--accent-soft); color: var(--accent-ink); }
.offer-pill { color: var(--accent-ink); background: var(--accent-soft); border: 1px solid var(--line); }

.offer-editor {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  padding: 24px; display: flex; flex-direction: column; gap: 12px;
}
.offer-form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 5px; font-size: 14px; }
.field-label { font-size: 12px; font-weight: 800; letter-spacing: .05em;
  text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--accent-soft); outline-offset: 1px; border-color: var(--accent);
}
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.field-hint { font-size: 12px; color: var(--muted); }
.field-err { font-size: 12.5px; color: #C0392B; font-weight: 600; }
.field-err:empty { display: none; }

.check-field { flex-direction: row; align-items: baseline; gap: 9px; flex-wrap: wrap; color: var(--ink-soft); }
.check-field input { accent-color: var(--accent); }
.deep-signoff { padding: 10px 14px; border-radius: 10px;
  background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-ink); }

.offer-totals { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.save-status { font-size: 13px; color: var(--muted); align-self: center; }

/* ── Question picker ────────────────────────────────────────────────────── */
.qp-meters { display: flex; gap: 8px; flex-wrap: wrap; }
.slot-meter {
  font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums;
  color: var(--accent-ink); background: var(--accent-soft);
  border-radius: 999px; padding: 6px 14px;
}
.qp-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.qp-row {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 16px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
}
.qp-row.checked { border-color: var(--accent); }
.qp-row.disabled { opacity: .55; }
.qp-hit { display: flex; align-items: baseline; gap: 10px; cursor: pointer; flex: 1; min-width: 220px; }
.qp-row.disabled .qp-hit { cursor: default; }
.qp-row input { accent-color: var(--accent); }
.qp-label { font-size: 14.5px; color: var(--ink); }
.qp-pill {
  font-size: 11px; font-weight: 800; letter-spacing: .02em; padding: 3px 9px;
  border-radius: 999px; white-space: nowrap;
}
.qp-pill.rec { color: var(--accent-ink); background: var(--accent-soft); border: 1px solid var(--accent-soft); }
.qp-pill.scored { color: var(--good); background: var(--good-bg); border: 1px solid var(--good-line); }
.qp-pill.extra { color: var(--muted); background: var(--line-soft); border: 1px solid var(--line); }
.qp-pill.paused { color: var(--warn-ink); background: var(--warn-bg); border: 1px solid var(--warn-line); }
.qp-note { font-size: 12px; color: var(--muted); flex-basis: 100%; }
.qp-save-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* ── shared portal navigation (QA fix: cross-screen movement) ───────────── */
/* The one topbar — same physical bar as the landing and server pages:
   sticky, full-bleed, blurred, 1040px inner width. */

/* Tier chooser (self-serve mode — rendered only when the offer payload
   carries available_tiers; tailored-offer deploys never show it) */
.tier-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tier-pick {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 10px; cursor: pointer; display: flex; flex-direction: column;
  gap: 3px; align-items: center; font-family: inherit; color: var(--ink);
}
.tier-pick:hover { border-color: var(--accent); }
.tier-pick.on { border-color: var(--accent); box-shadow: 0 0 0 1.5px var(--accent); cursor: default; }
.tier-pick-name { font-weight: 700; font-size: 14px; }
.tier-pick-price { font-size: 13px; color: var(--accent-ink); font-weight: 600; }
.tier-pick-meta { font-size: 11.5px; color: var(--muted); }
@media (max-width: 560px) { .tier-row { grid-template-columns: 1fr 1fr; } }

/* Trades stepper (self-serve mode, shown with the tier chooser) */
.trade-row { display: flex; align-items: center; gap: 10px; margin-top: 10px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 14px; font-size: 13.5px; }
.trade-label { font-size: 14px; font-weight: 600; }
.trade-btn { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--panel); color: var(--ink); font-size: 16px; cursor: pointer; }
.trade-btn:hover:not(:disabled) { border-color: var(--accent); }
.trade-btn:disabled { opacity: .35; cursor: default; }
.trade-note { color: var(--muted); font-size: 12px; margin-left: auto; }
.trade-preview { font-size: 12.5px; color: var(--accent-ink); text-decoration: none; }
.portal-nav .brand { font-family: "Iowan Old Style", Georgia, serif; font-weight: 700;
  font-size: 22px; letter-spacing: -.01em; color: var(--ink) !important;
  text-decoration: none; margin-right: 4px; }
.portal-nav .brand span { color: var(--accent); }

/* Question picker meters: pinned while the bank scrolls — a budget you can
   see while spending it. */
.qp-meters { position: sticky; top: 0; z-index: 10;
  background: var(--bg); padding: 10px 0; border-bottom: 1px solid var(--line);
  display: flex; gap: 18px; flex-wrap: wrap; }

/* Run-now (targeted ask-now: one question, one city) */
.qp-run { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }
.qp-city { font: 12px -apple-system, sans-serif; padding: 4px 6px; border: 1px solid var(--line);
  border-radius: 7px; background: var(--panel); color: var(--ink); }
.qp-run-btn { font: 600 12px -apple-system, sans-serif; padding: 5px 10px; border-radius: 7px;
  border: 1px solid var(--accent); background: var(--accent-soft); color: var(--accent-ink); cursor: pointer; }
.qp-run-status { font-size: 11.5px; color: var(--muted); }

/* Per-question geography scope chips */
.qp-geo { display: inline-flex; gap: 5px; margin-left: auto; flex-wrap: wrap; }
.qp-chip { font: 11.5px -apple-system, sans-serif; padding: 3px 10px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--panel); color: var(--muted); cursor: pointer; }
.qp-chip.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); }

/* Question-coverage-by-city card */
.coverage-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.coverage-row { display: flex; align-items: center; gap: 12px; background: var(--panel);
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font-size: 13.5px; }
.coverage-row.gap { border-color: var(--warn-line); background: var(--warn-bg); }
.coverage-city { font-weight: 700; min-width: 110px; }
.coverage-count { color: var(--muted); }
.coverage-fix { margin-left: auto; font-size: 12.5px; color: var(--accent-ink); font-weight: 600; }

/* Ask-your-own question input */
.qp-own { display: flex; gap: 8px; margin: 6px 0 4px; }
.qp-own-input { flex: 1; font: 13.5px -apple-system, sans-serif; padding: 10px 14px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--ink); }
.qp-own-btn { font: 600 13px -apple-system, sans-serif; padding: 10px 16px; border-radius: 10px;
  border: 1px solid var(--accent); background: var(--accent-soft); color: var(--accent-ink); cursor: pointer; }

/* Subscribe configurator: city picker box */
.cfg-box { background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; margin-top: 10px; display: flex; flex-direction: column; gap: 9px; }
.cfg-label { font-size: 13px; font-weight: 600; }
.cfg-chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* The substituted-city token inside question labels — visibly a placeholder
   ("asked with each city's real name"), not question wording. */
.qp-city-token { color: var(--accent-ink); background: var(--accent-soft);
  border-radius: 6px; padding: 0 6px; font-style: italic; white-space: nowrap; }

/* Collapsible explainer boxes — one calm line until opened. */
.info-fold { margin: 10px 0; border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 12px; background: var(--panel); font-size: 13px; }
.info-fold summary { cursor: pointer; color: var(--muted); font-size: 13px; }
.info-fold[open] summary { color: var(--ink); margin-bottom: 6px; }
.info-fold .hint { margin: 4px 0 2px; }

/* Plugin install flow — numbered steps, each carrying its own action. */
.install-steps { list-style: none; display: flex; flex-direction: column;
  gap: 14px; padding: 0; }
.install-step { display: flex; gap: 14px; background: var(--panel);
  border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.step-num { flex: none; width: 28px; height: 28px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-ink);
  font: 700 14px/28px -apple-system, sans-serif; text-align: center; }
.step-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.step-title { font-size: 15.5px; font-weight: 650; margin: 2px 0 0; }
.key-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.key-row .license-key { overflow-wrap: anywhere; }
.install-step .btn { align-self: flex-start; }
.sub-steps { margin: 2px 0 0; padding-left: 18px; display: flex;
  flex-direction: column; gap: 5px; }
.sub-steps li { font-size: 13px; color: var(--muted); }
.setup-choice { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.choice-btn { flex: 1; min-width: 150px; background: var(--panel);
  border: 1px solid var(--line); border-radius: 11px; padding: 11px 14px;
  font: 600 13.5px -apple-system, sans-serif; color: var(--muted);
  cursor: pointer; text-align: center; }
.choice-btn.on { background: var(--accent-soft); color: var(--accent-ink);
  border-color: var(--accent); }
.choice-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Visibility heat map — per-market colored pins on the deep dive. */
.vis-map { height: 320px; border-radius: 14px; border: 1px solid var(--line);
  margin-top: 12px; background: var(--panel); }
.vis-legend { list-style: none; display: flex; flex-wrap: wrap;
  gap: 6px 18px; padding: 0; margin: 10px 2px 0; }
.vis-legend-item { display: flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--muted); }
.vis-dot { flex: none; width: 10px; height: 10px; border-radius: 999px;
  display: inline-block; }
.vis-map-pop { font: 600 13px -apple-system, sans-serif; }
.ev-group { display: flex; flex-direction: column; gap: 6px; }
.ev-group-title { font-size: 12px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-soft); }
.ev-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ev-chip { font: 600 13.5px -apple-system, sans-serif; border-radius: 999px;
  padding: 7px 14px; border: 1px solid var(--line); background: var(--panel);
  color: var(--ink); }
.ev-chip.act { cursor: pointer; border-color: var(--warn-line);
  background: var(--warn-bg); color: var(--warn-ink); }
.ev-chip.act:hover { filter: brightness(.97); }
.ev-chip.act:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ev-chip.ok { border-color: var(--good-line); background: var(--good-bg);
  color: var(--good); }
