/* The framing screen and the 54-item question runner.
   Loaded after main.css, which owns every colour as a token. Nothing here may
   hardcode a colour.

   Rewritten from scratch. The inherited file was 343 lines carrying 140 hex
   values, 10 pill radii and an indigo accent, almost all of it for a two-panel
   ".tq-v4" design this view does not render. It also set .tq-intro-main to
   display:flex in ROW direction for a wrapper child that no longer exists, so
   the heading, brief, note, button and legal line laid out as five side-by-side
   columns: the page was broken, not merely unstyled.

   This is the surface a visitor spends twelve minutes on, so the motion law is
   strict: nothing moves except the thing just touched, and press feedback is a
   background-colour step that is complete at t=0, so it is identical for anyone
   who asked for reduced motion. */

/* The sitting has its own type: Outfit, re-pointing --sans and --display within
   the quiz surface so every tq- and q- rule that reads them picks it up, while
   the rest of the site stays on Plus Jakarta Sans. */
body:has(.tq) { background: var(--paper); --sans: var(--sans-quiz); --display: var(--sans-quiz); }

body :focus-visible {
  outline: 3px solid var(--blue); outline-offset: 2px; border-radius: var(--radius);
}

/* ---- framing screen -------------------------------------------------------- */

.tq {
  --tq-frame: 960px;
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column;
  font-family: var(--sans); color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
.tq-intro { display: flex; flex-direction: column; flex: 1; }
.tq-intro-head {
  border-bottom: 1px solid var(--rule);
}
.tq-intro-head-in {
  width: 100%; max-width: var(--tq-frame); margin-inline: auto;
  padding: 12px clamp(20px, 5vw, 44px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px 16px;
}
.tq-brand {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px;
  font: 800 21px/1 var(--display); letter-spacing: -.03em;
  color: var(--ink-2); text-decoration: none;
}
.tq-brand:hover { color: var(--ink-2); text-decoration: none; }
.tq-brand-mark { width: 30px; height: 30px; flex: none; }
.tq-pill {
  font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--rule-strong);
  border-radius: var(--radius-pill); padding: 7px 11px; white-space: nowrap;
}

/* The hero band: deep ink ground, paper type, in the register of the model's
   coloured test-page header, on our own palette. */
.tq-hero { background: var(--ink); }
.tq-hero-inner {
  width: 100%; max-width: var(--tq-frame); margin-inline: auto;
  padding: clamp(30px, 5vw, 54px) clamp(20px, 5vw, 44px);
}
.tq-hero .tq-h1 { color: var(--paper); }
.tq-hero-sub {
  margin-top: 12px; max-width: 60ch;
  font: 400 clamp(15.5px, 1.9vw, 17.5px)/1.6 var(--sans); color: var(--marker);
}

.tq-counter {
  margin: 0 0 20px; padding: 10px 14px;
  background: var(--marker-soft); border: 1px solid var(--marker);
  border-radius: var(--radius);
  font: 400 14.5px/1.5 var(--sans); color: var(--marker-ink);
}
.tq-counter strong { font-family: var(--mono); font-weight: 700; font-variant-numeric: tabular-nums; }
.tq-counter a { color: var(--marker-ink); }

.tq-brief-head {
  font: 600 clamp(20px, 2.6vw, 24px)/1.3 var(--serif); color: var(--ink-2);
}

/* Column, not row. See the header comment. */
.tq-intro-main {
  flex: 1; display: flex; flex-direction: column; align-items: stretch;
  width: 100%; max-width: var(--tq-frame); margin-inline: auto;
  padding: clamp(24px, 5vw, 56px) clamp(20px, 5vw, 44px) 72px;
}
.tq-h1 {
  font: 400 clamp(32px, 4.6vw, 46px)/1.1 var(--display);
  letter-spacing: -.02em; color: var(--ink-2); text-wrap: balance;
}

/* The start contract sits before the long method notes. On a phone this keeps
   time, privacy, price and the primary action inside roughly two viewports
   without hiding any material term behind the expansion below. */
.tq-start {
  padding: clamp(20px, 3.5vw, 28px);
  background: var(--card); border: 1px solid var(--rule-strong);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.tq-start-head {
  font: 600 clamp(22px, 3vw, 28px)/1.25 var(--serif); color: var(--ink-2);
}
.tq-start-facts {
  list-style: none; margin: 18px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0;
}
.tq-start-facts li {
  padding-right: 20px;
  font: 400 14.5px/1.55 var(--sans); color: var(--pencil);
}
.tq-start-facts li + li {
  padding-left: 20px; border-left: 1px solid var(--rule);
}
.tq-start-facts li:last-child { padding-right: 0; }
.tq-start-facts strong {
  display: block; margin-bottom: 4px; font-weight: 700; color: var(--ink-2);
}
@supports (grid-template-rows: subgrid) {
  @media (min-width: 761px) {
    /* Subgrid keeps the descriptions on one optical baseline even when a heading
       wraps at tablet widths. The same relationship holds in the two card grids
       below, without baking copy-specific heights into the layout. */
    .tq-start-facts li {
      display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 4px;
    }
    .tq-start-facts strong { margin-bottom: 0; }
    .tq-brief > li {
      display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0;
    }
    .tq-cred-item {
      display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0;
    }
  }
}
.tq-start-cost {
  margin-top: 22px; padding: 16px 18px;
  background: var(--marker-soft); border: 1px solid var(--marker);
  border-radius: var(--radius);
}
.tq-start-cost h3 {
  font: 600 16px/1.35 var(--serif); color: var(--marker-ink);
}
.tq-start-cost p {
  margin-top: 6px; font: 400 14.5px/1.6 var(--sans); color: var(--ink);
}
.tq-start-limit {
  margin-top: 18px; font: 400 13.5px/1.6 var(--sans); color: var(--muted);
}

.tq-start-actions {
  margin-top: 22px; display: flex; align-items: center; gap: 16px 26px;
}

.tq-more { margin-top: 20px; border-top: 1px solid var(--rule); }
.tq-more summary {
  min-height: 54px; padding: 16px 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  list-style: none; font: 700 15px/1.4 var(--sans); color: var(--ink-2);
}
.tq-more summary::-webkit-details-marker { display: none; }
.tq-more summary::after {
  content: '+'; flex: none;
  font: 400 24px/1 var(--serif); color: var(--muted);
}
.tq-more[open] summary::after { content: '\2212'; }
.tq-more-body { padding: 14px 0 8px; }

.tq-brief {
  list-style: none; margin: 20px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
}
.tq-brief > li {
  background: var(--card); border: 1px solid var(--rule);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 20px 22px;
}
.tq-brief h3 {
  font: 600 17.5px/1.35 var(--serif); color: var(--ink-2);
}
.tq-brief p { margin-top: 8px; font: 400 15px/1.6 var(--sans); color: var(--pencil); }

.tq-note {
  margin-top: 24px; font: 400 15px/1.65 var(--sans); color: var(--muted);
}

.tq-begin {
  display: inline-flex; align-items: center; justify-content: center;
  flex: none; gap: 12px; min-width: 206px; min-height: 54px; padding: 16px 28px;
  background: var(--blue); color: var(--card);
  border: 1px solid var(--blue-deep); border-radius: var(--radius-pill);
  box-shadow: var(--shadow-cta);
  font: 700 17px/1.2 var(--sans); cursor: pointer;
}
.tq-begin:hover { background: var(--blue-hover); }
/* Colour only. No transform, so there is nothing to unwind under reduced motion. */
.tq-begin:active { background: var(--blue-deep); }
.tq-begin[disabled] { opacity: .6; cursor: default; }

.tq-legal {
  font: 400 13.5px/1.65 var(--sans); color: var(--muted); max-width: 68ch;
}
.tq-legal a { color: var(--muted); text-underline-offset: 2px; }
.tq-legal a:hover { color: var(--blue); }

/* The named-reviewer line, in the hero band. On the deep ink ground, so it uses
   the on-dark paper token; --muted would invert wrongly here. Renders only when
   a reviewer is actually named. */
.tq-reviewer {
  margin-top: 16px; font: 400 14px/1.5 var(--sans); color: var(--paper-on-dark);
}
.tq-reviewer strong { font-weight: 700; color: var(--paper); }
.tq-reviewer .reviewer-statement { color: var(--paper); text-decoration: underline; }

/* The credibility panel: the reliability, the margin and the honest
   reliability-assumption, in the warm sand register the rest of the funnel uses
   for its furniture (the counter, the home step cards, the quiz anchor band). */
.tq-cred { margin-top: 40px; }
.tq-cred-head {
  font: 600 clamp(20px, 2.6vw, 24px)/1.3 var(--serif); color: var(--ink-2);
}
.tq-cred-sub {
  margin-top: 8px; max-width: 60ch;
  font: 400 15px/1.6 var(--sans); color: var(--muted);
}
.tq-cred-list {
  list-style: none; margin: 20px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px;
}
.tq-cred-item {
  background: var(--marker-soft); border: 1px solid var(--marker);
  border-radius: var(--radius-lg); padding: 18px 20px;
}
.tq-cred-fig {
  display: flex; align-items: baseline; gap: 7px;
  font: 500 26px/1 var(--mono); font-variant-numeric: tabular-nums; color: var(--marker-ink);
}
.tq-cred-unit {
  font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--marker-ink);
}
.tq-cred-item h3 {
  margin-top: 12px; font: 600 16px/1.35 var(--serif); color: var(--ink-2);
}
.tq-cred-item p { margin-top: 6px; font: 400 14px/1.55 var(--sans); color: var(--pencil); }

@media (max-width: 760px) {
  .tq-start-facts { grid-template-columns: 1fr; }
  .tq-start-facts li { padding-right: 0; }
  .tq-start-facts li + li {
    margin-top: 14px; padding: 14px 0 0; border-top: 1px solid var(--rule); border-left: 0;
  }
  .tq-start-facts strong { display: inline; margin: 0; }
  .tq-start-facts strong::after { content: ' '; }
  .tq-brief { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .tq-intro-head-in { padding-block: 10px; gap: 10px; }
  .tq-brand { gap: 7px; min-height: 42px; font-size: 20px; }
  .tq-brand-mark { width: 27px; height: 27px; }
  .tq-pill { padding: 6px 8px; font-size: 9.5px; letter-spacing: .09em; }
  .tq-hero-inner { padding-block: 26px; }
  .tq-intro-main { padding-top: 20px; }
  .tq-start { padding: 18px; }
  .tq-start-actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .tq-begin { width: 100%; }
}
@media (max-width: 340px) {
  .tq-intro-head-in { gap: 8px; }
  .tq-brand { font-size: 19px; }
  .tq-brand-mark { width: 25px; height: 25px; }
  .tq-pill { padding-inline: 6px; font-size: 9px; letter-spacing: .04em; }
}

/* ---- the question runner ---------------------------------------------------- */
/* Everything below is built by public/js/quiz.js at runtime. Batched pages in
   the register of the products this runner is modelled on: a run of centered
   statements, five equal circles under each, pole words flanking, a sticky
   sand band carrying the five anchors, and one Next control per page. The
   motion law holds: nothing moves except the thing just touched. */

#quiz-root {
  flex: 1; width: 100%; max-width: 760px; margin-inline: auto;
  padding: 0 clamp(16px, 4vw, 24px) 48px;
}

.q-card { display: flex; flex-direction: column; }

/* The sticky head: the thin progress bar, the page and answered labels, the
   scale question and the graduated legend all stay on screen while the taker
   works down the page. */
.q-head {
  position: sticky; top: 0; z-index: 5;
  background: var(--paper); padding: 14px 0 6px;
}
/* A short fade so rows dissolve under the sticky head rather than cutting hard. */
.q-head::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -14px; height: 14px;
  background: linear-gradient(var(--paper), transparent); pointer-events: none;
}

.q-progress {
  height: 3px; border-radius: 999px; background: var(--fill); overflow: hidden;
}
.q-progress-fill {
  height: 100%; background: var(--blue);
  transition: width .3s ease;
}
@media (prefers-reduced-motion: reduce) { .q-progress-fill { transition: none; } }

.q-topbar {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  margin-top: 14px;
}
.q-count {
  font: 500 10.5px/1 var(--mono); letter-spacing: .15em; text-transform: uppercase;
  color: var(--blue); font-variant-numeric: tabular-nums;
}
.q-answered-count {
  font: 500 10.5px/1 var(--mono); letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted); font-variant-numeric: tabular-nums;
}

.q-lead {
  margin-top: 14px; text-align: center;
  font: 400 20px/1.3 var(--sans); color: var(--ink); letter-spacing: -.012em;
}

/* The graduated anchor legend: five coloured labels aligned over the five ring
   columns, each with a tick, above a gradient rail. aria-hidden, because every
   option still carries its full anchor text for the accessibility tree. */
.q-anchor-band {
  display: grid; grid-template-columns: repeat(5, 1fr);
  width: 100%; max-width: 600px; margin: 16px auto 0;
  position: relative; padding-bottom: 12px;
}
.q-anchor {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  gap: 7px; min-height: 46px; text-align: center; padding: 0 4px;
  font: 500 14px/1.22 var(--sans); letter-spacing: -.008em;
}
.q-anchor::after { content: ''; width: 1px; height: 7px; opacity: .6; }
.q-anchor:nth-child(1) { color: var(--scale-1-ink); }
.q-anchor:nth-child(1)::after { background: var(--scale-1-ink); }
.q-anchor:nth-child(2) { color: var(--scale-2-ink); }
.q-anchor:nth-child(2)::after { background: var(--scale-2-ink); }
.q-anchor:nth-child(3) { color: var(--scale-3-ink); }
.q-anchor:nth-child(3)::after { background: var(--scale-3-ink); }
.q-anchor:nth-child(4) { color: var(--scale-4-ink); }
.q-anchor:nth-child(4)::after { background: var(--scale-4-ink); }
.q-anchor:nth-child(5) { color: var(--scale-5-ink); }
.q-anchor:nth-child(5)::after { background: var(--scale-5-ink); }
.q-anchor-band::after {
  content: ''; position: absolute; left: 10%; right: 10%; bottom: 0; height: 1px; opacity: .8;
  background: linear-gradient(90deg, var(--scale-1-ink), var(--scale-2-ink),
    var(--scale-3-ink), var(--scale-4-ink), var(--scale-5-ink));
}

/* One statement per row, separated by hairlines, centered on a frequency page.
   An answered row quietens so the eye lands on what is left. */
.q-item {
  border: 0; border-bottom: 1px solid var(--rule);
  padding: 0 0 18px; margin: 0; min-width: 0;
}
.q-prompt {
  display: block; padding: 20px 0 0; width: 100%;
  font: 400 clamp(19px, 2.5vw, 23px)/1.32 var(--sans);
  color: var(--ink); letter-spacing: -.014em; text-wrap: pretty;
}
.q-item:has(.q-options-self-report) .q-prompt { text-align: center; max-width: 30ch; margin-inline: auto; }
/* A situation is read, not scanned: it sits left, at reading size, with a
   little more air before the choices. */
.q-item:has(.q-options-scenario) .q-prompt {
  font-size: clamp(18px, 2.2vw, 21px); line-height: 1.42; max-width: 58ch;
}
.q-options-scenario { margin-top: 20px; }
.q-prompt:focus { outline: none; }
.q-answered .q-prompt { color: var(--faint); }

.q-options { margin-top: 16px; }

/* Base option: the card treatment the scenario pages keep, in the same soft
   rounded language as the rest of the rebrand. */
.q-option {
  position: relative; display: flex; align-items: center; gap: 14px;
  min-height: 58px; padding: 15px 18px;
  background: var(--card); border: 1px solid var(--rule-strong);
  border-radius: 16px; box-shadow: var(--shadow); cursor: pointer;
  font: 400 16.5px/1.5 var(--sans); color: var(--ink);
  transition: border-color .12s ease, background .12s ease;
}
.q-option:hover { border-color: var(--blue); background: var(--card-tint); }
@media (prefers-reduced-motion: reduce) { .q-option { transition: none; } }

/* The native radio is visually hidden but stays in the tab order and keeps
   working with arrow keys. It is NOT display:none, which would remove it from
   the accessibility tree and from keyboard reach. */
.q-option input[type='radio'] {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* The scenario mark: the same ring language as the frequency pages (one
   stroke, filled with a cream centre dot and a halo when chosen), in the
   scale's cool end, because a situation has no frequency colour of its own. */
.q-mark {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  border: 1.5px solid var(--scale-5); background: var(--paper);
  display: grid; place-items: center;
}
.q-mark::after {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--card); transform: scale(0);
}
.q-option:has(input:checked) { border-color: var(--blue); background: var(--blue-tint); }
.q-option:has(input:checked) .q-mark {
  border-color: var(--blue); background: var(--blue); box-shadow: 0 0 0 3px var(--scale-5-halo);
}
.q-option:has(input:checked) .q-mark::after { transform: scale(1); }
.q-option:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }

.q-option-text { flex: 1; min-width: 0; }

/* The Likert row: five graduated colour rings aligned under the legend columns.
   Each option is a bare ring button; the anchor text is clipped from view and
   left for the accessibility tree, since the sticky legend carries it visually.
   The selected ring fills its scale colour and gains a halo. */
.q-options-self-report {
  display: grid; grid-template-columns: repeat(5, 1fr);
  width: 100%; max-width: 600px; margin: 16px auto 0;
}
.q-options-self-report .q-option {
  min-height: 46px; padding: 9px 0; gap: 0; justify-content: center;
  border: 0; background: none; border-radius: 0;
}
.q-options-self-report .q-option:hover { background: none; }
.q-options-self-report .q-mark {
  width: 28px; height: 28px; border-width: 1.5px; background: var(--paper);
  transition: background .12s ease, box-shadow .12s ease;
}
.q-options-self-report .q-mark::after { width: 9px; height: 9px; background: transparent; transform: none; }
@media (prefers-reduced-motion: reduce) { .q-options-self-report .q-mark { transition: none; } }
.q-options-self-report .q-option:nth-of-type(1) .q-mark { border-color: var(--scale-1); }
.q-options-self-report .q-option:nth-of-type(2) .q-mark { border-color: var(--scale-2); }
.q-options-self-report .q-option:nth-of-type(3) .q-mark { border-color: var(--scale-3); }
.q-options-self-report .q-option:nth-of-type(4) .q-mark { border-color: var(--scale-4); }
.q-options-self-report .q-option:nth-of-type(5) .q-mark { border-color: var(--scale-5); }
@media (hover: hover) {
  .q-options-self-report .q-option:nth-of-type(1):hover .q-mark { box-shadow: 0 0 0 3px var(--scale-1-halo); }
  .q-options-self-report .q-option:nth-of-type(2):hover .q-mark { box-shadow: 0 0 0 3px var(--scale-2-halo); }
  .q-options-self-report .q-option:nth-of-type(3):hover .q-mark { box-shadow: 0 0 0 3px var(--scale-3-halo); }
  .q-options-self-report .q-option:nth-of-type(4):hover .q-mark { box-shadow: 0 0 0 3px var(--scale-4-halo); }
  .q-options-self-report .q-option:nth-of-type(5):hover .q-mark { box-shadow: 0 0 0 3px var(--scale-5-halo); }
}
/* Selection reads from fill, a cream centre dot and a halo, not from size:
   the ring never changes dimension, matching the design's stated intent. */
.q-options-self-report .q-option:has(input:checked) { background: none; border: 0; }
.q-options-self-report .q-option:has(input:checked) .q-mark::after { background: var(--paper); transform: none; }
.q-options-self-report .q-option:nth-of-type(1):has(input:checked) .q-mark { background: var(--scale-1); border-color: var(--scale-1); box-shadow: 0 0 0 3px var(--scale-1-halo); }
.q-options-self-report .q-option:nth-of-type(2):has(input:checked) .q-mark { background: var(--scale-2); border-color: var(--scale-2); box-shadow: 0 0 0 3px var(--scale-2-halo); }
.q-options-self-report .q-option:nth-of-type(3):has(input:checked) .q-mark { background: var(--scale-3); border-color: var(--scale-3); box-shadow: 0 0 0 3px var(--scale-3-halo); }
.q-options-self-report .q-option:nth-of-type(4):has(input:checked) .q-mark { background: var(--scale-4); border-color: var(--scale-4); box-shadow: 0 0 0 3px var(--scale-4-halo); }
.q-options-self-report .q-option:nth-of-type(5):has(input:checked) .q-mark { background: var(--scale-5); border-color: var(--scale-5); box-shadow: 0 0 0 3px var(--scale-5-halo); }
.q-options-self-report .q-option:has(input:focus-visible) { outline: 0; }
.q-options-self-report .q-option:has(input:focus-visible) .q-mark { outline: 3px solid var(--blue); outline-offset: 3px; }
.q-options-self-report .q-option-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
/* The per-row pole words are gone: the sticky graduated legend carries the five
   anchors now, and each option keeps its full anchor text for assistive tech. */
.q-pole { display: none; }

/* Four long scenario sentences always stack, at every width. */
.q-options-scenario { display: flex; flex-direction: column; gap: 10px; }
.q-options-scenario .q-option { align-items: flex-start; }

/* Per-item lock during that item's round trip. quiz.js additionally disables
   the item's radios, because pointer-events does nothing for a keyboard user
   and arrow keys would otherwise move the selection mid-flight. */
.q-item[aria-busy='true'] .q-options { pointer-events: none; }
.q-item[aria-busy='true'] .q-option { cursor: progress; }

.q-item-error {
  margin-top: 10px; text-align: center;
  font: 500 13.5px/1.5 var(--sans); color: var(--bad);
}

/* The tally and the primary control. The button is a muted pill until every
   statement on the page is answered, then it fills the accent colour. */
.q-tally {
  margin-top: 0; padding-top: 28px;
  text-align: center;
  font: 500 10.5px/1 var(--mono); letter-spacing: .13em; text-transform: uppercase;
  color: var(--muted);
}
.q-tally.is-complete { color: var(--blue); }

.q-next-wrap { display: flex; justify-content: center; padding: 16px 0 8px; }
.q-next {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; min-width: 260px; padding: 17px 34px;
  background: var(--fill); color: var(--muted);
  border: 0; border-radius: var(--radius-pill);
  font: 500 16px/1.2 var(--sans); letter-spacing: .005em; cursor: default;
}
.q-next.is-ready {
  background: var(--blue); color: var(--card);
  box-shadow: var(--shadow-cta); cursor: pointer;
}
.q-next.is-ready:hover { background: var(--blue-hover); }
.q-next.is-ready:active { background: var(--blue-deep); }

.q-error {
  background: var(--bad-tint); border: 1px solid var(--bad-border);
  border-left: 3px solid var(--bad); border-radius: var(--radius);
  padding: 12px 14px; font: 500 15px/1.55 var(--sans); color: var(--ink);
}
.q-retry {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; margin-top: 16px; padding: 11px 22px;
  background: var(--blue); color: var(--card);
  border: 1px solid var(--blue-deep); border-radius: var(--radius-pill);
  box-shadow: var(--shadow-cta);
  font: 700 15px/1 var(--sans); cursor: pointer;
}
.q-retry:hover { background: var(--blue-hover); }

.q-finishing {
  font: 400 17px/1.6 var(--sans); color: var(--muted); padding: 40px 0;
}
