/* Vistomi check flow and results. Direction A «Подсветка»: source of truth design/DESIGN.md, tokens design/tokens.css (copied here, as in landing/site.css).
   One accent: the marker, only ever behind text. No shadows, no gradients. Two motions only: the marker sweep and the typing caret. */
:root {
  --paper: #FFFFFF; --mist: #F1F2F4; --ink: #15171A; --ink-2: #3D424A; --muted: #5D636D; --line: #DADDE2;
  --marker: #FFE14A; --marker-ink: #15171A; --you: #15171A; --them: #C4C8CF; --ci: #E7E9EC;
  --link: #2B47D9; --up: #13795B; --down: #B4322A; --panel: #15171A; --panel-ink: #FFFFFF;
  --font-display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-quote: "Newsreader", Georgia, "Times New Roman", serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #111214; --mist: #1A1C1F; --ink: #F3F4F5; --ink-2: #CDD0D5; --muted: #9AA0A9; --line: #2D3036;
    --you: #F3F4F5; --them: #4A4F57; --ci: #2A2D32; --link: #9DB0FF; --up: #4CC38A; --down: #F08A80; --panel: #000000;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--paper); color: var(--ink);
  font-family: var(--font-display); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
a { color: var(--link); }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
h1, h2, h3 { margin: 0; text-wrap: balance; letter-spacing: -0.025em; }
p, ol, ul { margin: 0; }
button { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.band { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.wrap { max-width: 1200px; margin: 0 auto; width: 100%; }
.narrow { max-width: 760px; }
main { flex: 1; }

/* Marker */
.mark {
  color: var(--marker-ink);
  background-image: linear-gradient(var(--marker), var(--marker));
  background-repeat: no-repeat; background-position: 0 72%; background-size: 100% 80%;
  padding: 0 0.14em; margin: 0 -0.04em; border-radius: 0.14em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.mark.sweep { animation: sweep 0.9s cubic-bezier(.2,.7,.2,1) 0.2s both; }
@keyframes sweep { from { background-size: 0% 80%; } to { background-size: 100% 80%; } }
.caret { display: inline-block; width: 2px; height: 1em; margin-left: 3px; background: var(--ink); vertical-align: -0.14em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid transparent; }
.top.scrolled { border-bottom-color: var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex: none; }
.logo span { font-weight: 800; font-size: 22px; letter-spacing: -0.04em; }
.top-slot { display: flex; align-items: center; gap: 4px; min-width: 0; }
.top-row .top-slot { margin-left: auto; }
.account { position: relative; flex: none; }
.avatar { width: 44px; height: 44px; border-radius: 999px; border: 0; background: var(--marker); color: var(--marker-ink); font: inherit; font-weight: 700; font-size: 18px; cursor: pointer; }
.avatar:focus-visible, .account-menu a:focus-visible, .account-menu button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.account-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; min-width: 220px; max-width: min(320px, calc(100vw - 32px)); padding: 8px; border: 2px solid var(--ink); border-radius: 14px; background: var(--paper); box-shadow: 0 8px 24px rgb(0 0 0 / 12%); }
.account-menu[hidden] { display: none; }
.account-menu p { margin: 0; padding: 8px 10px 10px; border-bottom: 1px solid var(--line); }
.account-email { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.account-menu a, .account-menu button { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 0 10px; border: 0; border-radius: 8px; background: none; color: var(--ink); font: inherit; font-size: 16px; font-weight: 500; text-decoration: none; text-align: left; cursor: pointer; }
.account-menu a:hover, .account-menu button:hover { background: var(--mist); }
.my-checks { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.my-check { display: flex; flex-direction: column; gap: 8px; color: var(--ink); text-decoration: none; padding: 18px 20px; }
.my-check:hover { border-color: var(--ink); }
.my-check-name { font-size: 20px; font-weight: 700; }
.my-check-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.chip.done { background: var(--marker); color: var(--marker-ink); }
.account-note { margin-top: 28px; }
.q-count { margin: 28px 0 0; }
.q-count:empty { display: none; }
.q-preview .q { opacity: 0.75; }
.q-preview .q label { grid-template-columns: 36px minmax(0, 1fr); cursor: default; }
.q-preview .q.new { animation: q-in 0.4s ease-out both; }
@keyframes q-in { from { opacity: 0; transform: translateY(4px); } }
.journey { padding-bottom: 12px; }
.journey[hidden] { display: none; }
.journey-steps { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 6px; list-style: none; padding: 0; margin: 0; }
.journey-steps li { border-top: 4px solid var(--line); padding-top: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.journey-steps li.done { border-color: var(--ink-2); color: var(--ink-2); }
.journey-steps li.done .journey-label::after { content: " ✓"; }
.journey-steps li.now { border-color: var(--marker); color: var(--ink); font-weight: 600; }
.journey-label { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.journey-text { display: none; margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.journey-text b { color: var(--ink); font-weight: 600; }
.signin-box { display: grid; gap: 20px; margin-top: 28px; }
.consent { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 15px; color: var(--muted); }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--ink); }
.signin-foot { margin-top: 16px; }
.signin-foot a { color: inherit; }
.account-emails { display: grid; gap: 12px; margin: 8px 0 24px; padding: 18px 20px; }
.account-emails h2 { margin: 0; }
.offer-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 20px; font-weight: 600; }
.offer-applied { margin-bottom: 28px; padding: 16px 20px; border: 2px solid var(--marker); }
.offer-applied p { margin: 0; }
.offer-applied p + p { margin-top: 4px; }
.signin-note { margin-top: 14px; }
.signin-note .link-btn { font-size: inherit; }
.share-actions { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.top-slot .share-actions { flex-wrap: nowrap; }
.btn.compact { min-height: 44px; padding: 0 12px; font-size: 15px; white-space: nowrap; }
.share-dialog { width: min(440px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 24px; border: 2px solid var(--ink); border-radius: 18px; background: var(--paper); color: var(--ink); overflow-y: auto; }
.share-dialog::backdrop { background: rgb(0 0 0 / 60%); }
.share-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; }
.share-heading h2 { font-size: 26px; }
.share-close { min-width: 44px; min-height: 44px; font-size: 30px; text-decoration: none; }
.share-qr { display: block; width: min(100%, 320px); height: auto; aspect-ratio: 1; margin: 20px auto; background: #fff; image-rendering: pixelated; }
.share-link { width: 100%; min-width: 0; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); font: inherit; font-size: 14px; }
.share-dialog .actions-row { margin-top: 18px; gap: 10px; }
.share-dialog .btn { min-height: 44px; padding: 0 14px; font-size: 15px; }
.nav { display: flex; gap: 2px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); background: var(--mist); }

/* Shared bits */
.screen { padding-block: clamp(28px, 6vw, 72px) clamp(56px, 8vw, 96px); display: flex; flex-direction: column; gap: 28px; }
.eyebrow { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.h1 { font-size: clamp(36px, 5.2vw, 64px); line-height: 1.02; font-weight: 800; letter-spacing: -0.04em; }
.lead { font-size: 19px; color: var(--ink-2); max-width: 56ch; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.tag { display: inline-flex; align-items: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); padding: 2px 7px; border: 1px solid var(--line); border-radius: 6px; white-space: nowrap; }
.tag.marker { background: var(--marker); color: var(--marker-ink); border-color: var(--marker); }
.tag.mist { background: var(--mist); color: var(--ink-2); border-color: var(--mist); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; background: var(--mist); border-radius: 999px; font-size: 15px; color: var(--ink-2); }
.chip.off { text-decoration: line-through; color: var(--muted); background: transparent; border: 1px dashed var(--line); }
button.chip { border: 1px solid transparent; cursor: pointer; min-height: 36px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border-radius: 10px; border: 2px solid var(--ink);
  font-size: 17px; font-weight: 700; text-decoration: none; cursor: pointer;
  background: var(--marker); color: var(--marker-ink);
}
.btn:hover { filter: brightness(0.97); }
.btn[disabled] { cursor: default; opacity: 0.45; filter: none; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.big { min-height: 60px; font-size: 19px; padding: 0 30px; }
.link-btn { background: none; border: 0; padding: 10px 4px; min-height: 44px; color: var(--ink-2); font-size: 16px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); cursor: pointer; }
.link-btn:hover { color: var(--ink); text-decoration-color: var(--ink); }
.actions-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

.card { border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 3vw, 32px); background: var(--paper); }
.card.strong { border: 2px solid var(--ink); }
.panel { background: var(--mist); border-radius: 18px; padding: clamp(20px, 3vw, 32px); }

/* Live feed: what we are doing and what we found */
.feed { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 2px; max-width: 720px; }
.feed li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; padding: 6px 0; font-size: 17px; color: var(--muted); }
.feed li::before { content: "·"; text-align: center; color: var(--muted); }
.feed li.found { color: var(--ink); font-weight: 600; }
.feed li.found::before { content: "●"; color: var(--up); font-size: 12px; line-height: 27px; }
.feed li.now { color: var(--ink); }
.feed li .t { min-width: 0; overflow-wrap: anywhere; }

/* Business confirmation */
.biz { display: flex; flex-direction: column; gap: 22px; }
.biz-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.biz-name h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.biz-name a { font-family: var(--font-mono); font-size: 15px; color: var(--muted); }
.facts { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 14px 20px; margin: 0; }
.facts dt { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.facts dd { margin: 0; color: var(--ink); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field input, .field select { min-height: 52px; padding: 10px 14px; font: inherit; font-size: 18px; color: var(--ink); background: var(--paper); border: 2px solid var(--ink); border-radius: 10px; width: 100%; min-width: 0; }
.market-fields { display: flex; flex-direction: column; gap: 22px; }
.field[hidden] { display: none; }
.field-hint { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0; }
.language-choices .language-choice { min-height: 44px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.language-choices .language-choice[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Questions */
.q-groups { display: flex; flex-direction: column; gap: 28px; }
.q-group h3 { display: flex; align-items: baseline; gap: 10px; font-size: 20px; font-weight: 700; padding-bottom: 6px; }
.q-list { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.q { border-bottom: 1px solid var(--line); }
.q label { display: grid; grid-template-columns: 28px 36px minmax(0, 1fr); gap: 10px; align-items: start; padding: 14px 0; cursor: pointer; }
.q input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); cursor: pointer; }
.q .lang { font-family: var(--font-mono); font-size: 13px; color: var(--muted); text-transform: uppercase; padding-top: 3px; }
.q .text { font-size: 17px; }
.q .sub { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.q.off .text { color: var(--muted); text-decoration: line-through; }
.dock { position: sticky; bottom: 0; z-index: 5; background: var(--paper); border-top: 1px solid var(--line); padding: 14px 0 max(14px, env(safe-area-inset-bottom)); margin-top: 8px; }
.dock .actions-row { justify-content: space-between; }

/* Measuring */
.meter { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.count { font-family: var(--font-mono); font-size: clamp(40px, 6vw, 64px); font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
.count span { color: var(--muted); font-size: 0.5em; }
.progress { height: 10px; background: var(--mist); border-radius: 5px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--ink); border-radius: 5px; }
.tally { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 16px; }
.live { list-style: none; padding: 0; max-width: 820px; border-top: 1px solid var(--line); }
.live li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.live .q-text { font-size: 16px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.live .who { font-size: 14px; color: var(--muted); text-align: right; max-width: 240px; }

.st { font-weight: 700; }
.st.yes { color: var(--up); }
.st.cond { color: var(--up); }
.st.no { color: var(--down); }
.st.meh { color: var(--muted); }

/* Results */
.results { padding-block: clamp(20px, 4vw, 48px) clamp(56px, 8vw, 96px); display: flex; flex-direction: column; gap: clamp(48px, 7vw, 88px); }
.r-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 20px; }
.r-head h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.r-head .meta { font-size: 15px; color: var(--muted); margin-top: 6px; }
.section { display: flex; flex-direction: column; gap: 22px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; }
.h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }

.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.headline { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; font-weight: 800; letter-spacing: -0.03em; }
.headline .mark { white-space: nowrap; }
.big-stat { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.big-stat .pct { font-family: var(--font-mono); font-size: 44px; font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
.big-stat .range { font-family: var(--font-mono); font-size: 15px; color: var(--muted); }
.note { font-size: 14px; color: var(--muted); max-width: 52ch; }

.bars { display: flex; flex-direction: column; gap: 12px; }
.bar { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr) 64px; gap: 12px; align-items: center; font-size: 15px; color: var(--ink-2); }
.bar .who { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar.you .who { font-weight: 700; color: var(--ink); }
.track { position: relative; height: 16px; }
.track .ci { position: absolute; top: 4px; height: 8px; background: var(--ci); border-radius: 4px; }
.track .fill { position: absolute; left: 0; top: 0; height: 16px; border-radius: 3px; background: var(--them); min-width: 2px; }
.bar.you .fill { background: var(--you); }
.bar .val { font-family: var(--font-mono); font-size: 14px; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.bars-cap { font-size: 14px; color: var(--muted); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 32px); }
.seg h3 { font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.seg .bar { grid-template-columns: minmax(0, 1fr) 120px 64px; }
.seg .bar .who { white-space: normal; }
.seg .fill { background: var(--you) !important; }

/* Plan */
.plan { display: flex; flex-direction: column; gap: 14px; }
.act { border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.act.done { background: var(--mist); }
.act.done .act-title { color: var(--muted); text-decoration: line-through; }
.act-main { padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.act-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.act-top .grow { flex: 1; }
.act-title { font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.act-why { color: var(--ink-2); font-size: 16px; }
.proof { font-size: 15px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.proof q { font-weight: 600; color: var(--ink); quotes: "“" "”"; background: var(--mist); padding: 1px 6px; border-radius: 6px; }
.proof a, .proof span.src { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.act-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; }
.affects { font-size: 14px; color: var(--muted); }
.affects b { font-family: var(--font-mono); font-weight: 500; color: var(--ink); }
.toggle { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; min-height: 44px; padding: 0 2px; font-size: 15px; font-weight: 600; color: var(--ink); }
.toggle::after { content: "+"; font-weight: 400; font-size: 20px; color: var(--muted); line-height: 1; }
.toggle[aria-expanded="true"]::after { content: "–"; }
.done-box { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); cursor: pointer; min-height: 44px; }
.done-box input { width: 20px; height: 20px; accent-color: var(--ink); cursor: pointer; }
.act-more { border-top: 1px solid var(--line); padding: 18px 22px 22px; display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 14px 20px; font-size: 16px; color: var(--ink-2); }
.act-more dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.act-more dd { margin: 0; }
.act-more ol, .act-more ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.act-more .proofs li { list-style: none; margin-left: -20px; }

.loading-card { border: 1px dashed var(--line); border-radius: 16px; padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 14px; }
.loading-card h3 { font-size: 21px; font-weight: 700; }
.ghost-row { height: 64px; border-radius: 12px; background: var(--mist); }
.extra { border-top: 1px solid var(--line); }
.extra summary { list-style: none; cursor: pointer; padding: 16px 32px 16px 0; position: relative; font-weight: 700; font-size: 17px; }
.extra summary::-webkit-details-marker { display: none; }
.extra summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 24px; font-weight: 400; color: var(--muted); }
.extra[open] summary::after { content: "–"; }
.extra ul { padding: 0 0 18px 20px; display: flex; flex-direction: column; gap: 8px; color: var(--ink-2); font-size: 16px; }

/* Answers */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.pill[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pill .mono { font-weight: 400; margin-left: 4px; }
.answers { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.answers > li { border-bottom: 1px solid var(--line); }
.a-row { width: 100%; display: grid; grid-template-columns: 24px 36px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 14px 0; background: none; border: 0; text-align: left; cursor: pointer; }
.a-row:hover .a-q { color: var(--ink); }
.a-row .a-q { font-size: 16px; color: var(--ink-2); }
.a-row .lang { font-family: var(--font-mono); font-size: 13px; color: var(--muted); text-transform: uppercase; }
.a-row .pos { font-size: 14px; color: var(--muted); white-space: nowrap; }
.a-row .pos .mark { font-weight: 700; }
.a-open { padding: 4px 0 24px 34px; display: flex; flex-direction: column; gap: 14px; }
.quote { background: var(--mist); border-radius: 18px; padding: clamp(18px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 12px; }
.quote-q { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.quote-body { font-family: var(--font-quote); font-style: italic; font-size: 19px; line-height: 1.5; color: var(--ink); max-height: 460px; overflow: hidden; position: relative; }
.quote-body.full { max-height: none; }

.quote-body > * + * { margin-top: 0.7em; }
.quote-body h1, .quote-body h2, .quote-body h3, .quote-body h4 { font-family: var(--font-display); font-style: normal; font-size: 17px; font-weight: 700; letter-spacing: 0; }
.quote-body ul, .quote-body ol { padding-left: 1.3em; }
.quote-body li + li { margin-top: 0.3em; }
.quote-body hr { border: 0; border-top: 1px solid var(--line); }
.quote-body strong { font-weight: 500; }
.quote-body .mark { font-style: normal; font-family: var(--font-display); font-weight: 700; font-size: 0.88em; }
.quote-body table { border-collapse: collapse; font-size: 15px; font-style: normal; font-family: var(--font-display); display: block; overflow-x: auto; }
.quote-body td, .quote-body th { border-bottom: 1px solid var(--line); padding: 6px 10px 6px 0; text-align: left; vertical-align: top; }
.cite { font-family: var(--font-mono); font-style: normal; font-size: 12px; color: var(--muted); background: var(--paper); border-radius: 999px; padding: 1px 8px; white-space: nowrap; text-decoration: none; }
.quote-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: center; }
.quote-foot .chip { background: var(--paper); font-size: 14px; }

/* Sources */
.source-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 18px; }
.source-controls label { font-size: 14px; color: var(--muted); }
.source-controls select { width: auto; max-width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; background: var(--paper); color: var(--ink); font: inherit; font-size: 15px; }
.source-card { padding-bottom: 12px; }
.source-site { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.source-site a { overflow-wrap: anywhere; color: var(--ink); text-underline-offset: 3px; }
.source-type { color: var(--muted); background: var(--mist); border-radius: 5px; padding: 2px 7px; font-size: 12px; line-height: 1.4; }
.src { width: 100%; border-collapse: collapse; font-size: 16px; }
.src th { text-align: left; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 400; padding: 0 12px 10px 0; }
.src td { border-top: 1px solid var(--line); padding: 12px 12px 12px 0; vertical-align: top; }
.src td:last-child, .src th:last-child { padding-right: 0; }
.src .state { white-space: normal; display: inline-block; max-width: 12ch; }
.src td.n { font-family: var(--font-mono); font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.state { font-size: 14px; font-weight: 600; white-space: nowrap; }
.state.yes { color: var(--up); }
.state.no { color: var(--muted); }

.center { text-align: center; align-items: center; }
.err { border: 2px solid var(--down); border-radius: 14px; padding: 18px 20px; color: var(--ink); }

footer.foot { padding-block: 28px 36px; border-top: 1px solid var(--line); }
footer.foot small { display: block; max-width: 70ch; font-size: 13px; color: var(--muted); line-height: 1.5; }
footer.foot small + small { margin-top: 8px; }
footer.foot a, .account-note a { color: inherit; }

@media (max-width: 900px) {
  .hero, .split { grid-template-columns: minmax(0, 1fr); }
  .nav { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 17px; }
  .top-slot .btn.compact { padding-inline: 9px; font-size: 14px; }
  .top-slot .share-actions { gap: 6px; }
  .facts, .act-more { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .facts dd, .act-more dd { margin-bottom: 12px; }
  .bar { grid-template-columns: minmax(0, 104px) minmax(0, 1fr) 52px; }
  .seg .bar { grid-template-columns: minmax(0, 1fr) 72px 52px; }
  .live li { grid-template-columns: 22px minmax(0, 1fr); }
  .live .who { grid-column: 2; text-align: left; max-width: none; }
  .a-row { grid-template-columns: 22px minmax(0, 1fr) auto; }
  .a-row .lang { display: none; }
  .a-open { padding-left: 0; }
  .dock .btn { width: 100%; }
  .btn.big { width: 100%; }
  .src .hide-s { display: none; }
}
@media (max-width: 620px) {
  .journey-label { display: none; }
  .journey-text { display: block; }
}
@media (max-width: 420px) {
  .top-slot .qr-verb { display: none; }
}
@media (max-width: 350px) {
  .top .logo span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mark.sweep { animation: none; }
  .caret { animation: none; }
  .q-preview .q.new { animation: none; }
}
