/* AdmitTest - "exam paper", retuned for parents (23.10.2026; from the engine's direction B of 14.10.2026).
   A printed test booklet: warm off-white paper, a calm deep-blue ink for text and buttons, hairline rules, a serif
   for headlines, sans for body and controls, monospace for the form line and the clock. Softer 6px corners and a
   little more air than the engine it came from: calm and trustworthy rather than urgent. No gradients, no shadows. LIGHT ONLY, on purpose: one finished look rather than a half-working dark one
   (question figures are drawn in currentColor, so a "night desk" variant is a stylesheet job for later).
   Mobile first; no framework; system fonts only (no font file, no third-party request). */
:root {
  --paper: #FBF8F1;
  --paper-2: #F4EFE3;        /* a second sheet: alternate bands, table heads */
  --sheet: #FFFDF8;          /* a card lying on the paper */
  --rule: #D9CFBA;
  --rule-2: #E4DCCB;
  --ink: #1C3557;            /* calm deep blue: 11.6:1 on the paper */
  --text: #33342F;
  --muted: #6B6150;          /* the mockup's #7A6F5A, one step darker: 5.6:1 on the paper for small print */
  --accent: #B25E09;         /* the one accent for marks: clock, bars, rules, charts (4.40:1 on paper: not for small text) */
  --accent-text: #9A5208;    /* the accent as TEXT: 5.52:1 on paper, 5.11 on the tinted sections, 5.76 on a card (WCAG AA) */
  --accent-soft: #F6E7CC;
  --ok: #1E6B43;
  --ok-bg: #E4EFE2;
  --bad: #A3271F;
  --bad-bg: #F6E2DC;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --r: 6px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--paper); }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.18; color: var(--ink); font-weight: 700; letter-spacing: -0.005em; }
h1, h2 { text-wrap: balance; }
h1 { font-size: clamp(29px, 6.4vw, 46px); margin: 0 0 14px; }
h2 { font-size: clamp(23px, 4.7vw, 31px); margin: 0 0 12px; }
h3 { font-size: 19px; margin: 20px 0 8px; }
p { margin: 0 0 14px; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 76px; }
.wrap { max-width: 1040px; margin: 0 auto; padding-inline: 18px; }
.narrow { max-width: 760px; }
/* On the selling pages every block starts at the same left edge: a narrow block keeps its reading width
   but sits in the full wrap, so headings do not zigzag from section to section. */
.section > .wrap.narrow { max-width: 1040px; }
.section > .wrap.narrow > * { max-width: 760px; }
.section > .wrap > p { max-width: 68ch; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.45; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.noscript { background: var(--accent-soft); border-bottom: 1px solid var(--accent); margin: 0; padding: 10px 18px; font-size: 15px; }
/* The form line: "Practice form A · 50 questions · 15 min", as printed at the top of a test booklet. */
.eyebrow, .form-line { display: block; font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.form-line { text-transform: none; letter-spacing: 0.02em; font-size: 13px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 16px; }
ul.plain { list-style: none; padding: 0; margin: 0 0 12px; }
ul.plain li { padding: 4px 0; }
code { font-family: var(--mono); font-size: 0.92em; }

/* Header: the top edge of the sheet, with a printed double rule */
.site-header { background: var(--paper); color: var(--ink); position: sticky; top: 0; z-index: 20; border-bottom: 2px solid var(--ink); box-shadow: 0 3px 0 var(--paper), 0 4px 0 var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; }
.logo { font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; white-space: nowrap; }
.logo span { color: var(--accent-text); }
.nav { display: flex; align-items: center; gap: 20px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; white-space: nowrap; padding: 12px 0; }
.nav a:hover { text-decoration: underline; }
/* A phone keeps the two links a new visitor needs (the free tests, the prices) next to Sign in. */
@media (max-width: 760px) { .nav .nav-wide { display: none; } .nav { gap: 14px; } .nav a { font-size: 14.5px; } .logo { font-size: 21px; } }
@media (max-width: 339px) { .nav .nav-tests { display: none; } }   /* "All tests" stays from 340 px up (checked at 360 by tests/buyer_check.py) */
body.in-test .site-header, body.in-test .site-footer { display: none; }

/* Buttons: ink on paper, squared */
.btn {
  display: inline-block; background: var(--ink); color: var(--paper); font: inherit; font-weight: 700; text-decoration: none; text-align: center;
  border: 1.5px solid var(--ink); border-radius: var(--r); padding: 13px 22px; cursor: pointer; line-height: 1.25;
}
.btn:hover { background: #13263F; border-color: #13263F; }
.btn.small { padding: 7px 14px; font-size: 15px; }
.btn.wide { display: block; width: 100%; }
.btn.big { font-size: 19px; padding: 16px 26px; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--paper-2); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.btn.is-busy { opacity: 0.6; pointer-events: none; }
.link-btn { background: none; border: 0; padding: 4px 0; font: inherit; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.buy-note { color: var(--bad); font-size: 14px; margin: 8px 0 0; }
.buy-note:empty { display: none; }

/* Hero: the cover of the booklet */
.hero { background: var(--paper); color: var(--text); padding-block: 30px 34px; border-bottom: 1px solid var(--rule); }
.hero h1 { color: var(--ink); }
.hero .eyebrow { color: var(--muted); }
.hero .lede { font-size: 19px; color: var(--text); max-width: 640px; }
.hero-cta { margin: 0 0 10px; }
.hero-note { font-size: 15px; color: var(--muted); margin: 0; }
@media (max-width: 619px) { .hero-cta .btn { display: block; } }
.hero-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .hero { padding-block: 52px 56px; } .hero-grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 48px; } }

/* Start panel on a test landing page: the instruction box on the first page of a test */
.start { background: var(--sheet); color: var(--text); border: 1.5px solid var(--ink); border-radius: var(--r); padding: 20px; }
.start-clock { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
.t-clock { font-family: var(--mono); font-variant-numeric: tabular-nums; font-weight: 700; font-size: 20px; letter-spacing: 0.01em; color: var(--ink); }
.t-clock.big { font-size: 46px; line-height: 1; }
.t-clock.is-low { color: var(--bad); }
.start ul { margin: 14px 0 0; padding: 12px 0 0 20px; font-size: 15px; border-top: 1px solid var(--rule); }
.start li { margin: 2px 0; }
.start .small { margin: 8px 0 0; }
/* Test pages on a phone: the Start button follows the reader once the Start box is out of sight. */
.start-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 18; background: var(--paper); border-top: 2px solid var(--ink); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); }
body.has-start-bar { padding-bottom: 76px; }
/* Hidden on a tablet or desktop, but not on a phone held sideways (844x390: the Start box is below the fold). */
@media (min-width: 760px) and (min-height: 540px) { .start-bar { display: none !important; } body.has-start-bar { padding-bottom: 0; } }
@media (max-width: 619px) { .start-wide { display: block; width: 100%; } }
.start-last { margin: 22px 0 0; }
#last-result { background: var(--accent-soft); border-left: 3px solid var(--accent); border-radius: 0; padding: 10px 14px; margin: 0 0 14px; font-size: 15px; color: var(--text); }

/* Sections */
.section { padding-block: 36px; }
.section.tight { padding-top: 22px; }
.section.alt { background: var(--paper-2); border-block: 1px solid var(--rule); }
.cards { display: grid; gap: 14px; grid-template-columns: 1fr; margin: 0 0 16px; }
@media (min-width: 620px) { .cards { grid-template-columns: 1fr 1fr; } }
/* The test picker: four equal cards in one row on a desktop; a long name wraps to two lines and the buttons stay aligned at the bottom. */
@media (min-width: 980px) { .cards.four { grid-template-columns: repeat(4, 1fr); } .cards.three { grid-template-columns: repeat(3, 1fr); } }
.cards.one { grid-template-columns: 1fr; margin: 0; align-content: start; }
.card { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r); padding: 18px; margin: 0 0 14px; }
.card > :last-child, .plan > :last-child { margin-bottom: 0; }
.cards .card { margin: 0; }
.card h2 { font-size: 22px; padding-bottom: 8px; border-bottom: 1px solid var(--rule-2); }
.card h3 { margin-top: 0; }
a.card { display: block; text-decoration: none; color: var(--text); }
a.card:hover { border-color: var(--ink); }
a.card.pick { display: flex; flex-direction: column; align-items: flex-start; border-top: 3px solid var(--ink); }
.pick .pick-name { font-family: var(--serif); font-size: 21px; line-height: 1.2; font-weight: 700; color: var(--ink); display: block; }
.pick .pick-meta { font-family: var(--mono); color: var(--muted); font-size: 13px; line-height: 1.4; display: block; margin: 4px 0 14px; }
/* The call of a picker card looks like the button it is (the whole card is the link). */
.pick .pick-go { margin-top: auto; font-weight: 700; font-size: 15px; color: var(--ink); border: 1.5px solid var(--ink); border-radius: var(--r); padding: 7px 12px; white-space: nowrap; }
a.card.pick:hover .pick-go { background: var(--ink); color: var(--paper); }
@media (min-width: 980px) { .pick .pick-meta { white-space: nowrap; } .pick .pick-go { align-self: stretch; text-align: center; } }
.pick-more { font-size: 15px; margin: 0; }
.facts { display: grid; gap: 0; grid-template-columns: 1fr; margin: 0 0 16px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--sheet); }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.fact { padding: 12px 14px; border-bottom: 1px solid var(--rule-2); }
.fact:last-child { border-bottom: 0; }
@media (min-width: 760px) { .fact { border-bottom: 0; border-right: 1px solid var(--rule-2); } .fact:last-child { border-right: 0; } }
.fact b { display: block; font-family: var(--mono); font-size: 23px; line-height: 1.2; color: var(--ink); margin-bottom: 2px; }
.fact span { display: block; font-size: 14px; line-height: 1.4; color: var(--muted); }
/* The sample report next to what it shows */
.report-row { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .report-row { grid-template-columns: minmax(0, 460px) 1fr; gap: 28px; align-items: start; } }
.report-col { min-width: 0; }
.sample-report { background: var(--paper-2); border: 1.5px dashed var(--ink); border-radius: var(--r); padding: 12px; }
.sample-report .sample-tag { border-bottom: 0; padding-bottom: 0; color: var(--accent-text); }
/* The preview ends after the first two "should have skipped" rows (assets/result.js sets the height) and fades out. */
.sample-clip { max-height: 560px; overflow: hidden; position: relative; }
.sample-clip::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40px; background: linear-gradient(to bottom, rgba(244, 239, 227, 0), var(--paper-2)); pointer-events: none; }
.sample-clip.is-open { max-height: none; }
.sample-clip.is-open::after { display: none; }
.sample-result { max-width: none; padding: 0; }
.sample-result > :last-child { margin-bottom: 0; }
.sample-more { margin-top: 6px; font-weight: 700; }
.sample-cap { margin: 8px 0 0; }
.link-list { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.link-list a { display: block; padding: 11px 2px; border-bottom: 1px solid var(--rule); text-decoration: none; font-weight: 600; }
.link-list a:hover { text-decoration: underline; }
details.fold > summary { font-family: var(--serif); font-size: 21px; font-weight: 700; color: var(--ink); cursor: pointer; padding: 6px 0; }
details.fold[open] > summary { margin-bottom: 10px; }
.want-send { margin: 14px 0 12px; }
.ticks { list-style: none; padding: 0; margin: 0 0 14px; }
.ticks li { padding: 4px 0 4px 26px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 11px; height: 6px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.helper select, .r-role-pick select, .plan select, input[type="email"], input[type="text"], input[type="date"] {
  font: inherit; padding: 10px 12px; border: 1.5px solid var(--ink); border-radius: var(--r); background: var(--sheet); color: var(--text); width: 100%; max-width: 420px;
}
.helper label { display: block; font-weight: 600; margin: 12px 0 4px; }
.helper [data-helper-out] { margin-top: 16px; }
.helper-two .btn { margin: 0 6px 8px 0; }
.source-table { width: 100%; border-collapse: collapse; font-size: 15.5px; border-top: 2px solid var(--ink); }
.source-table th, .source-table td { text-align: left; vertical-align: top; padding: 9px 10px 9px 0; border-bottom: 1px solid var(--rule); }
.source-table th { width: 30%; font-weight: 600; color: var(--ink); }
.source-table .src { display: block; font-size: 13.5px; line-height: 1.4; color: var(--muted); margin-top: 3px; }
@media (max-width: 619px) {
  .source-table, .source-table tbody, .source-table tr, .source-table th, .source-table td { display: block; width: auto; }
  .source-table th { border-bottom: 0; padding: 10px 0 0; font-family: var(--mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
  .source-table td { padding: 2px 0 10px; }
}
.mix { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 0 22px; grid-template-columns: 1fr; border-top: 2px solid var(--ink); }
@media (min-width: 620px) { .mix { grid-template-columns: 1fr 1fr; } }
.mix li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--rule); padding: 5px 0; }
.mix li span:last-child { font-family: var(--mono); color: var(--ink); }
details.faq { border-bottom: 1px solid var(--rule); }
details.faq:first-of-type { border-top: 2px solid var(--ink); }
details.faq { padding: 0; }
/* The whole line is the tap target, and a question of two lines keeps its second line under the first. */
details.faq summary { font-weight: 700; cursor: pointer; color: var(--ink); list-style: none; position: relative; padding: 13px 0 13px 24px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::before { content: ""; position: absolute; left: 4px; top: 20px; border: 5px solid transparent; border-left: 7px solid var(--ink); border-right: 0; }
details.faq[open] summary::before { transform: rotate(90deg); }
details.faq p { margin: 0 0 14px 24px; }
.faq-sub { font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 26px 0 8px; }
.faq-sub + details.faq { border-top: 2px solid var(--ink); }

/* Plans: two order forms side by side */
.plans { display: grid; gap: 14px; grid-template-columns: 1fr; margin: 16px 0; }
@media (min-width: 700px) { .plans { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.plans.one { grid-template-columns: 1fr; max-width: 440px; }
/* Two cards of one height, with the buy buttons on one line. */
.plan { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r); padding: 18px; position: relative; display: flex; flex-direction: column; }
.plan > .btn { margin-top: auto; }
.plan .buy-note { order: 9; }
.plan.is-best { border: 1.5px solid var(--ink); border-top-width: 4px; }
.plan h3 { margin: 0 0 4px; font-size: 21px; }
.plan-flag { display: inline-block; font-family: var(--mono); background: transparent; color: var(--accent-text); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; border: 0; padding: 0; margin: 0 0 8px; }
.plan-price { margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1px solid var(--rule-2); }
.price { font-family: var(--serif); font-size: 36px; font-weight: 700; color: var(--ink); }
.price-was { color: var(--muted); font-size: 0.6em; font-weight: 400; }
.price-code { font-family: var(--mono); font-size: 13px; color: var(--ok); font-weight: 700; }
.code-note { font-size: 15px; border-left: 3px solid var(--bad); background: var(--bad-bg); padding: 8px 12px; margin: 0 0 12px; }
.code-note.is-ok { border-left-color: var(--ok); background: var(--ok-bg); }
.code-note:empty { display: none; }
.plan .ticks { font-size: 15.5px; }
.exam-pick-row { margin: 14px 0 0; font-weight: 600; }
.exam-pick-row select { font: inherit; padding: 9px 12px; border: 1.5px solid var(--ink); border-radius: var(--r); background: var(--sheet); color: var(--text); margin-left: 6px; max-width: 100%; }
@media (max-width: 619px) { .exam-pick-row select { display: block; width: 100%; margin: 6px 0 0; } }
.r-terms { font-size: 15.5px; }
.free-line { font-size: 15.5px; margin: 0 0 10px; }
.ticks.terms { font-size: 15.5px; margin: 0 0 10px; }
.pay-note { font-size: 14.5px; color: var(--muted); margin: 0 0 6px; }
/* Free against the two plans: a table from tablet width up (on a phone the cards and the "Free" line say it). */
.compare { display: none; margin: 18px 0 0; }
@media (min-width: 700px) { .compare { display: block; } }
.compare table { width: 100%; border-collapse: collapse; font-size: 15px; border-top: 2px solid var(--ink); background: var(--sheet); }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 8px 12px; border-bottom: 1px solid var(--rule); }
.compare thead th { font-family: var(--serif); font-size: 16px; color: var(--ink); background: var(--paper-2); }
.compare tbody th { font-weight: 600; color: var(--ink); width: 34%; }
.compare .is-no { color: var(--muted); }
.compare .is-yes { color: var(--ok); font-weight: 700; }
.owned { border-left: 3px solid var(--ok); max-width: 560px; }
.r-offer.is-single .coupon, .others .coupon { font-size: 15.5px; }

/* Article pages: a printed handout */
.article { padding-block: 26px 40px; }
.crumbs { font-family: var(--mono); font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.crumbs a { color: var(--muted); display: inline-block; padding: 10px 0; }
.scroll-hint { font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin: 0 0 4px; }
.article .lede { font-size: 19px; color: var(--text); }
.article .updated { font-family: var(--mono); font-size: 13px; color: var(--muted); padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.article h2 { margin-top: 34px; padding-top: 14px; border-top: 1px solid var(--rule); }
.article table { border-collapse: collapse; width: 100%; font-size: 15.5px; min-width: 480px; border-top: 2px solid var(--ink); }
.article th, .article td { border-bottom: 1px solid var(--rule); border-right: 1px solid var(--rule-2); padding: 8px 10px; text-align: left; vertical-align: top; background: var(--sheet); }
.article thead th { background: var(--paper-2); color: var(--ink); }
/* phones: tables wrap inside the column instead of scrolling sideways (dates guide, 23.10.2026) */
@media (max-width: 600px) { .article table { min-width: 0; table-layout: auto; } .article th, .article td { overflow-wrap: anywhere; word-break: normal; white-space: normal; } }
.article li { margin: 4px 0; }
.note { background: var(--accent-soft); border-left: 3px solid var(--accent); border-radius: 0; padding: 12px 14px; margin: 0 0 16px; }
.note p:last-child, .keyfacts ul { margin-bottom: 0; }
.keyfacts { background: var(--sheet); border: 1px solid var(--rule); border-top: 3px solid var(--ink); border-radius: var(--r); padding: 14px 16px 14px 6px; margin: 0 0 18px; }
.cta-box { background: var(--paper-2); color: var(--text); border: 1.5px solid var(--ink); border-radius: var(--r); padding: 18px; margin: 22px 0; }
.cta-box p { color: var(--text); margin: 0 0 12px; }
.cta-box strong { color: var(--ink); }
.cta-box .btn { margin: 0 8px 8px 0; }
.sample { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r); padding: 16px; margin: 0 0 18px; }
.sample-tag { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 8px; padding-bottom: 8px; border-bottom: 1px solid var(--rule-2); }
.related { list-style: none; padding: 0; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.related a { display: block; border-bottom: 1px solid var(--rule); padding: 10px 2px; text-decoration: none; font-weight: 600; }
.related a:hover { text-decoration: underline; }
.guide-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
@media (min-width: 700px) { .guide-list { grid-template-columns: 1fr 1fr; } }
.guide-list a { display: block; height: 100%; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r); padding: 12px 14px; text-decoration: none; color: var(--text); }
.guide-list a:hover { border-color: var(--ink); }
.guide-list b { display: block; font-family: var(--serif); font-size: 18px; color: var(--ink); }
.guide-list span { font-size: 14.5px; color: var(--muted); }

/* Footer: the small print at the bottom of the sheet */
.site-footer { background: var(--paper-2); color: var(--text); padding-block: 26px 32px; font-size: 14.5px; margin-top: 30px; border-top: 2px solid var(--ink); }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-cols { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; margin-bottom: 18px; }
@media (min-width: 760px) { .foot-cols { grid-template-columns: repeat(3, 1fr); } }
.foot-h { font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin: 0 0 2px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.foot-cols ul { list-style: none; padding: 0; margin: 0; }
.foot-cols li a { display: block; padding: 9px 0; line-height: 1.35; }
.foot-feedback { margin: 0 0 12px; color: var(--text); }
.foot-feedback a { text-decoration: underline; }
.disclaimer { border-top: 1px solid var(--rule); padding-top: 14px; margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }

/* ---------- The question (player, review, drills, samples) ---------- */
.q-card { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r); padding: 16px; }
.q-text { white-space: pre-line; font-size: 18px; line-height: 1.5; margin: 0 0 12px; overflow-wrap: anywhere; color: var(--ink); }
.fig-stem { margin: 4px 0 14px; color: var(--ink); max-width: 100%; }
.fig-stem svg, .opt-fig svg { display: block; width: 100%; height: auto; }
.fig-matrix { width: 72%; max-width: 260px; }
.fig-target { width: 34%; max-width: 120px; min-width: 96px; }
.fig-wide { width: 100%; max-width: 520px; }
.fig-analogy { width: 76%; max-width: 300px; }
.fig-fold { width: 100%; max-width: 400px; }
.pairs { margin: 0 0 14px; font-family: var(--mono); font-size: 15.5px; color: var(--ink); }
.pair { display: grid; grid-template-columns: 22px 1fr 1fr; gap: 4px 12px; padding: 7px 8px; border: 1px solid var(--rule); border-bottom-width: 0; align-items: baseline; background: var(--sheet); }
.pair:last-child { border-bottom-width: 1px; }
.pair-n { color: var(--muted); font-size: 13px; }
.pair-l, .pair-r { white-space: nowrap; }
/* A pair that does not fit on one line is stacked, left over right, never wrapped (bank SPEC, section 3).
   The longest strings in the bank are 38 characters; the font shrinks just enough for them to fit the
   narrowest phone (monospace: 0.6 em a character; 84 px is everything around the text). */
@media (max-width: 620px) {
  .pair { grid-template-columns: 16px 1fr; gap: 2px 6px; padding: 6px; }
  .pair-r { grid-column: 2; }
  /* sized for the longest string of THIS question (--ch, set by core.js pairTable), not of the whole bank */
  .pairs { font-size: min(15.5px, calc((100vw - 84px) / (var(--ch, 38) * 0.61))); }
  .q-card { padding: 14px 12px; }
}
.data-table { border-collapse: collapse; margin: 0 0 4px; font-family: var(--mono); font-size: 15px; font-variant-numeric: tabular-nums; border-top: 2px solid var(--ink); color: var(--ink); }
.data-table th, .data-table td { border-bottom: 1px solid var(--rule); border-right: 1px solid var(--rule-2); padding: 6px 12px; text-align: right; white-space: nowrap; }
.data-table th:first-child { text-align: left; }
.data-table thead th { background: var(--paper-2); }

/* Answer options: the bubbles of an answer sheet. Picked = filled in, like a pencil mark. */
.opts { display: grid; gap: 8px; }
.opt {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; font: inherit; color: var(--ink); background: var(--sheet);
  border: 1px solid var(--rule); border-radius: var(--r); padding: 11px 14px; cursor: pointer; min-height: 52px; position: relative;
}
.opt:hover:not([disabled]) { border-color: var(--ink); }
.opt-key { flex: none; width: 30px; height: 30px; border-radius: 50%; background: transparent; border: 1.5px solid var(--ink); font-family: var(--mono); font-weight: 700; font-size: 14px; display: grid; place-items: center; color: var(--ink); }
.opt-label { overflow-wrap: anywhere; }
.opt.is-picked { border-color: var(--ink); border-width: 1.5px; background: var(--paper-2); }
.opt.is-picked .opt-key { background: var(--ink); color: var(--paper); }
.opt[disabled] { cursor: default; opacity: 1; color: var(--ink); }
.opt.is-right { border-color: var(--ok); border-width: 1.5px; background: var(--ok-bg); }
.opt.is-right .opt-key { background: var(--ok); border-color: var(--ok); color: #fff; }
.opt.is-wrong { border-color: var(--bad); border-width: 1.5px; background: var(--bad-bg); }
.opt.is-wrong .opt-key { background: var(--bad); border-color: var(--bad); color: #fff; }
.opt-mark { margin-left: auto; font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.is-right .opt-mark { color: var(--ok); } .is-wrong .opt-mark { color: var(--bad); }
/* Figure options: 3 per row on a phone (four options and "2col" items: 2 x 2), one row from 480 px up. */
.opts-fig { grid-template-columns: repeat(3, 1fr); }
.opts-fig.opts-n4, .opts-fig.opts-n2, .opts-fig.opts-2col { grid-template-columns: repeat(2, 1fr); }
.opts-fig.opts-2col .opt-fig { max-width: 170px; }
.opts-fig .opt { flex-direction: column; gap: 6px; padding: 8px 8px 10px; align-items: center; }
.opts-fig .opt-fig { width: 100%; max-width: 124px; }
.opts-fig .opt-mark { margin: 0; }
@media (max-width: 400px) { .opts-fig { gap: 6px; } .opts-fig .opt { padding: 6px 4px 8px; } .opts-fig .opt-key { width: 26px; height: 26px; } }
@media (min-width: 480px) {
  .opts-fig.opts-n5 { grid-template-columns: repeat(5, 1fr); }
  .opts-fig.opts-n4 { grid-template-columns: repeat(4, 1fr); }
  .opts-fig.opts-n3 { grid-template-columns: repeat(3, 1fr); max-width: 420px; }
}
.explain { background: var(--paper-2); border-left: 3px solid var(--ink); border-radius: 0; padding: 12px 14px; margin: 12px 0 0; font-size: 16px; }
.explain.is-ok { background: var(--ok-bg); border-left-color: var(--ok); }
.explain.is-bad { background: var(--bad-bg); border-left-color: var(--bad); }

/* ---------- The test: the clock is the hero of the screen ---------- */
.test { max-width: 760px; margin: 0 auto; padding: 0 12px 96px; }
.t-top { position: sticky; top: 0; z-index: 15; background: var(--paper); padding: 10px 2px 8px; border-bottom: 2px solid var(--ink); margin-bottom: 12px; }
.t-form-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.t-form { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.03em; color: var(--muted); margin: 0 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.t-leave { flex: none; font-size: 13px; color: var(--muted); padding: 10px 0 10px 14px; margin: -10px 0; }
.t-top-in { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.t-top .t-clock { font-size: 42px; line-height: 1.05; color: var(--ink); }
@media (min-width: 760px) { .t-top .t-clock { font-size: 56px; } .t-count { font-size: 15px; } }
/* A phone held sideways: the question gets the height (visual audit 15.10, 4). */
@media (max-height: 500px) { .t-top { padding: 4px 2px; margin-bottom: 6px; } .t-top .t-clock { font-size: 30px; } .t-foot { padding-top: 6px; padding-bottom: calc(6px + env(safe-area-inset-bottom)); } .t-foot .btn { padding-block: 9px; } }
.t-top .t-clock.is-low { color: var(--bad); }
.t-count { font-family: var(--mono); font-size: 14px; color: var(--muted); font-weight: 600; }
.t-bar { height: 4px; background: var(--rule-2); border-radius: 0; margin-top: 6px; overflow: hidden; }
.t-bar-fill { display: block; height: 100%; width: 0; background: var(--ink); transition: width 0.2s; }
.t-stage { padding-top: 2px; }
/* The answer button is always reachable: it sticks to the bottom of the screen. */
.t-foot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; background: var(--paper); border-top: 1px solid var(--rule);
  padding: 10px max(12px, calc((100vw - 736px) / 2)) calc(10px + env(safe-area-inset-bottom)); display: flex; gap: 10px; align-items: center; justify-content: flex-end; }
.t-foot .t-next { flex: 1 1 auto; max-width: 340px; }
.t-foot .t-hint { flex: 1 1 0; min-width: 0; }
.t-next.is-skip { background: var(--sheet); border-color: var(--ink); color: var(--ink); }
@media (max-width: 520px) { .t-foot .t-hint { display: none; } .t-foot .t-next { max-width: none; } .test[data-nav="free"] .t-foot .btn { padding-inline: 8px; flex: 1 1 auto; font-size: 15.5px; white-space: nowrap; } }
.t-wait { text-align: center; padding: 60px 10px; }
.t-grid-title { font-size: 21px; }
.t-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 0 0 12px; }
@media (min-width: 520px) { .t-grid { grid-template-columns: repeat(10, 1fr); } }
.t-cell { font-family: var(--mono); font-size: 15px; font-weight: 700; padding: 10px 0; border-radius: var(--r); border: 1px solid var(--rule); background: var(--sheet); color: var(--ink); cursor: pointer; min-height: 44px; }
.t-cell.is-seen { border-color: var(--ink); }
.t-cell.is-done { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.t-cell.is-cur { outline: 3px solid var(--accent); outline-offset: 1px; }
.t-confirm { position: fixed; inset: 0; z-index: 40; background: rgba(31, 42, 68, 0.55); display: grid; place-items: center; padding: 16px; }
.t-confirm-in { background: var(--paper); border: 1.5px solid var(--ink); border-radius: var(--r); padding: 22px; max-width: 440px; width: 100%; }
.t-confirm-in label { display: block; font-weight: 600; margin: 8px 0 4px; }
.t-confirm-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.t-confirm-btns .btn { flex: 1 1 150px; white-space: nowrap; }
@media (max-width: 479px) { .t-confirm-btns .btn { flex-basis: 100%; } .t-confirm-in { padding: 18px; } }
.pace-bar { position: relative; height: 10px; background: var(--rule-2); border-radius: 0; margin-top: 6px; overflow: hidden; }
.pace-you { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ok); }
.pace-you.is-behind { background: var(--accent); }
.pace-even { position: absolute; top: 0; bottom: 0; width: 3px; background: var(--ink); z-index: 2; }
.pace-note { font-family: var(--mono); font-size: 13.5px; font-weight: 600; margin: 0 2px 10px; min-height: 22px; color: var(--ink); }

/* ---------- Result: a score report ---------- */
#stage:not([hidden]) { padding-block: 10px 30px; }
.result { max-width: 760px; margin: 0 auto; padding: 12px 14px 20px; }
.r-head { background: var(--sheet); color: var(--text); border: 1.5px solid var(--ink); border-top-width: 5px; border-radius: var(--r); padding: 18px 18px 16px; margin: 0 0 14px; }
.r-head .eyebrow { color: var(--muted); padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
.r-score { display: flex; align-items: baseline; gap: 12px; margin: 6px 0 6px; }
.r-raw { font-family: var(--serif); font-size: 76px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; color: var(--ink); }
.r-of { font-family: var(--mono); font-size: 20px; color: var(--muted); font-weight: 600; }
.small-score .r-raw { font-size: 50px; }
.r-line { color: var(--text); margin: 0 0 14px; }
.r-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 2px solid var(--ink); }
@media (min-width: 560px) { .r-tiles { grid-template-columns: repeat(4, 1fr); } }
.r-tile { background: transparent; border-radius: 0; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); }
.r-tile-v { font-family: var(--mono); font-size: 21px; font-weight: 700; color: var(--ink); }
.r-tile-l { font-size: 13.5px; color: var(--muted); line-height: 1.3; }
.r-tile-s { font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.r-jump { margin: 14px 0 0; }
.r-repeat { margin: 16px 0 14px; padding: 12px 14px; border-left: 3px solid var(--ink); background: var(--paper-2); font-size: 16px; }
.r-block { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r); padding: 18px 16px; margin: 0 0 14px; }
.r-block h2 { font-size: 23px; padding-bottom: 8px; border-bottom: 1px solid var(--rule-2); }
.r-rank { padding-left: 20px; margin: 0 0 12px; }
.r-pct { font-size: 18px; }
.pct-bar { position: relative; height: 12px; background: var(--paper-2); border: 1px solid var(--rule); border-radius: 0; margin: 24px 0 12px; }
.pct-fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--rule); }
.pct-mid { position: absolute; left: 50%; top: -4px; bottom: -4px; width: 1px; background: var(--muted); }
.pct-you { position: absolute; top: -24px; transform: translateX(-50%); font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--ink); }
.pct-you::after { content: ""; position: absolute; left: 50%; top: 20px; width: 3px; height: 20px; margin-left: -1.5px; background: var(--ink); }
.r-role-pick { display: block; font-weight: 600; margin: 0 0 12px; }
.r-role-pick select { display: block; margin-top: 4px; }
.r-role-verdict { border-radius: 0; padding: 10px 12px; border-left: 3px solid var(--ink); }
.r-role-verdict.is-under { background: var(--bad-bg); border-left-color: var(--bad); }
.r-role-verdict.is-in { background: var(--ok-bg); border-left-color: var(--ok); }
.r-role-list { columns: 2; column-gap: 20px; padding-left: 18px; font-size: 15px; margin: 0 0 12px; }
@media (max-width: 480px) { .r-role-list { columns: 1; } }
.r-role-more summary { cursor: pointer; color: var(--ink); text-decoration: underline; margin: 0 0 8px; }
.r-skip { border-left: 3px solid var(--accent); }
.r-skip-list { list-style: none; padding: 0; margin: 0 0 10px; border-top: 2px solid var(--ink); }
.r-skip-list li { display: grid; grid-template-columns: 44px 1fr auto auto; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--rule); font-size: 15.5px; align-items: baseline; }
.r-skip-q { font-family: var(--mono); font-weight: 700; color: var(--ink); }
.r-skip-ms { font-family: var(--mono); font-variant-numeric: tabular-nums; font-weight: 700; color: var(--accent-text); }
.r-skip-o { color: var(--muted); font-size: 14px; }
.r-skip-ms, .r-skip-o { white-space: nowrap; }
@media (max-width: 359px) {
  .r-skip-list li { grid-template-columns: 36px 1fr auto; }
  .r-skip-o { grid-column: 2; grid-row: 2; }
  .r-types { font-size: 14px; table-layout: fixed; }
  .r-types td .muted { display: none; }       /* "/ target" goes; the note under the table still explains the column */
}
.chart { margin: 6px 0 14px; }
.chart svg { display: block; width: 100%; height: auto; max-width: 560px; }
.chart svg.strip { height: 70px; max-width: none; }
.chart .ax { stroke: var(--rule); stroke-width: 1; }
.chart .even { stroke: var(--ink); stroke-width: 1.2; stroke-dasharray: 4 3; fill: none; }
.chart .you { stroke: var(--accent); stroke-width: 2.5; fill: none; stroke-linejoin: round; }
.chart .you-dot { fill: var(--accent); }
.chart .lbl { font-size: 10px; fill: var(--muted); font-family: var(--mono); }
/* Dashboard "Your scores": one row per test on a 0..n scale (chart options variant 1, 15.10.2026). */
.sc-holder { margin: 6px 0 4px; }
.sc-more { display: block; margin: 0 0 4px auto; font-size: 14px; }
.sc-rows { position: relative; margin: 0 0 6px; --lab: 70px; --val: 38px; }
.sc-top { height: 18px; }
.sc-row { display: grid; grid-template-columns: var(--lab) 1fr var(--val); align-items: center; gap: 0 8px; padding: 5px 0; border-bottom: 1px solid var(--rule-2); }
.sc-lab { line-height: 1.15; min-width: 0; }
.sc-lab b { display: block; color: var(--ink); font-size: 14.5px; }
.sc-lab i { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--muted); white-space: nowrap; }
.sc-track { position: relative; height: 20px; }
.sc-reach { position: absolute; left: 0; top: 3px; bottom: 3px; background: var(--accent-soft); border: 1px solid #E3C79A; border-left: 0; }
.sc-right { position: absolute; left: 0; top: 3px; bottom: 3px; background: var(--accent); }
.sc-val { font-family: var(--mono); font-weight: 700; color: var(--ink); font-size: 16px; text-align: right; }
.sc-row.again .sc-lab b { color: var(--muted); font-weight: 600; }
.sc-row.again .sc-reach { background: transparent; border-color: var(--rule); }
.sc-row.again .sc-right { background: repeating-linear-gradient(135deg, #B9AE98 0 3px, transparent 3px 6px); border: 1px solid #B9AE98; }
.sc-row.again .sc-val { color: var(--muted); font-weight: 400; }
.sc-tag { display: inline-block; font-family: var(--mono); font-size: 10.5px; font-weight: 600; background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--r); padding: 0 4px; color: var(--muted); vertical-align: 1px; white-space: nowrap; }
.sc-row.next { border-top: 1.5px solid var(--rule); border-bottom: 0; }
.sc-row.next .sc-band { position: absolute; top: 1px; bottom: 1px; border: 1.5px dashed var(--accent); background: repeating-linear-gradient(135deg, var(--accent-soft) 0 4px, var(--sheet) 4px 8px); }
.sc-row.next .sc-mid { position: absolute; top: -1px; bottom: -1px; width: 3px; margin-left: -1.5px; background: var(--accent); }
.sc-row.next .sc-val { color: var(--accent-text); }
.sc-axis { display: grid; grid-template-columns: var(--lab) 1fr var(--val); gap: 0 8px; height: 16px; }
.sc-ticks { position: relative; font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.sc-ticks span { position: absolute; transform: translateX(-50%); top: 0; line-height: 16px; }
.sc-ticks span:first-child { transform: none; }
.sc-ticks span:last-child { transform: translateX(-100%); }
.sc-avg { position: absolute; top: 18px; bottom: 16px; left: calc(var(--lab) + 8px); right: calc(var(--val) + 8px); pointer-events: none; }
.sc-avg-line { position: absolute; top: 0; bottom: 0; border-left: 1.5px dashed var(--ink); }
.sc-avg-lab { position: absolute; top: -18px; transform: translateX(-50%); font-family: var(--mono); font-size: 10.5px; font-weight: 700; line-height: 16px; color: var(--ink); white-space: nowrap; background: var(--sheet); padding: 0 3px; }
.sc-key { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--muted); margin: 6px 0 10px; line-height: 1.3; }
.sc-key span { white-space: nowrap; }
.sc-key .k { display: inline-block; width: 14px; height: 10px; vertical-align: -1px; margin-right: 5px; }
.sc-key .k-right { background: var(--accent); }
.sc-key .k-reach { background: var(--accent-soft); border: 1px solid #E3C79A; }
.sc-key .k-avg { width: 0; height: 12px; border-left: 1.5px dashed var(--ink); margin-right: 7px; margin-left: 4px; }
.sc-key .k-again { background: repeating-linear-gradient(135deg, #B9AE98 0 3px, transparent 3px 6px); border: 1px solid #B9AE98; }
.sc-key .k-next { border: 1.5px dashed var(--accent); background: var(--accent-soft); }
.sc-pace { background: var(--paper-2); border-left: 3px solid var(--accent); padding: 8px 12px; font-size: 14.5px; line-height: 1.45; margin: 4px 0 10px; }
@media (min-width: 600px) { .sc-rows { --lab: 96px; --val: 44px; } .sc-lab b { display: inline; margin-right: 6px; } }
.s-ok { fill: var(--ok); } .s-bad { fill: var(--bad); } .s-blank { fill: #9C917B; } .s-none { fill: var(--rule-2); }
.chart-key span[class^="key-"] { display: inline-block; width: 12px; height: 12px; border-radius: 0; vertical-align: -1px; margin-left: 6px; }
.key-you { background: var(--accent); } .key-even { background: var(--ink); } .key-ok { background: var(--ok); } .key-bad { background: var(--bad); } .key-blank { background: #9C917B; }
.r-types { width: 100%; border-collapse: collapse; font-size: 15.5px; border-top: 2px solid var(--ink); margin: 0 0 12px; }
.r-type-name { display: block; }
.r-type-rest { display: block; font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--muted); }
.r-types td { white-space: nowrap; }
.r-buyer { margin: 0 0 14px; }
.r-types th, .r-types td { text-align: left; padding: 8px 8px 8px 0; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.r-types thead th { font-family: var(--mono); font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.r-types tbody th { font-weight: 600; color: var(--ink); }
.r-types td { font-family: var(--mono); font-size: 14.5px; }
.frac.is-low { color: var(--bad); font-weight: 700; }
.mini { display: block; height: 4px; width: 64px; background: var(--bad-bg); border-radius: 0; margin-top: 3px; overflow: hidden; }
.mini-fill { display: block; height: 100%; background: var(--ok); }
.is-slow { color: var(--accent-text); font-weight: 700; }
.r-sections { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-family: var(--mono); background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--r); padding: 2px 10px; font-size: 13px; color: var(--ink); }
.r-offer { background: var(--sheet); border: 1.5px solid var(--ink); border-top-width: 5px; border-radius: var(--r); padding: 20px 16px; margin: 0 0 14px; }
.r-offer h2 { font-size: 25px; }
.r-learn { font-size: 15.5px; margin: 4px 0 12px; }
.r-learn a { font-weight: 600; }
.r-diag {padding-left: 20px; margin: 0 0 12px; font-weight: 600; color: var(--ink); }
.r-offer-lede { font-size: 17px; }
.rv-list { border-top: 2px solid var(--ink); }
.rv { border-bottom: 1px solid var(--rule); }
/* Cells placed by name, so a row with the "locked" tag and a row without it keep the same columns (visual audit 15.10, 1). */
.rv summary { display: grid; grid-template-columns: 40px 1fr 92px 56px 58px; gap: 8px; padding: 10px 0; cursor: pointer; font-size: 15.5px; align-items: baseline; list-style: none; }
.rv-n { grid-column: 1; } .rv-t { grid-column: 2; min-width: 0; } .rv-s { grid-column: 3; } .rv-ms { grid-column: 4; } .rv-lock { grid-column: 5; justify-self: start; }
.rv-s, .rv-ms, .rv-lock { white-space: nowrap; }
@media (max-width: 399px) {
  /* a phone: type and time on the first line, right/wrong and the lock under them; fixed widths keep every row in line */
  .rv summary { grid-template-columns: 34px 1fr 66px; gap: 0 8px; }
  .rv-n { grid-row: 1 / span 2; } .rv-t { grid-column: 2; grid-row: 1; } .rv-ms { grid-column: 3; grid-row: 1; }
  .rv-s { grid-column: 2; grid-row: 2; } .rv-lock { grid-column: 3; grid-row: 2; justify-self: end; }
}
.rv summary::-webkit-details-marker { display: none; }
.rv-n { font-family: var(--mono); font-weight: 700; color: var(--ink); }
.rv-s { font-family: var(--mono); font-weight: 700; font-size: 13px; }
.rv-ok .rv-s { color: var(--ok); } .rv-bad .rv-s { color: var(--bad); } .rv-blank .rv-s, .rv-none .rv-s { color: var(--muted); }
.rv-ms { font-family: var(--mono); font-variant-numeric: tabular-nums; color: var(--muted); font-size: 13px; min-width: 42px; text-align: right; }
.rv-lock { font-family: var(--mono); font-size: 11.5px; background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--r); padding: 0 6px; color: var(--muted); }
.rv-body { padding: 4px 0 16px; }
.rv-locked { background: var(--accent-soft); border-left: 3px solid var(--accent); border-radius: 0; padding: 10px 12px; margin: 10px 0 0; font-size: 15.5px; }
.r-actions { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin: 18px 0; }

/* ---------- Dashboard: the candidate's folder ---------- */
.app-main { max-width: 760px; margin: 0 auto; padding: 16px 14px 40px; min-height: 60vh; }
.app-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); margin-bottom: 12px; }
.app-head h1 { font-size: 29px; margin-bottom: 4px; }
.app-out { white-space: nowrap; flex: none; }
.app-head .muted { overflow-wrap: anywhere; }
.app-head .muted { font-family: var(--mono); font-size: 12.5px; margin: 0; }
.app-back { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; margin: 0 0 12px; }
.app-back h1 { font-size: 25px; margin: 0; flex: 1 1 100%; }
.tabs { display: flex; gap: 0; overflow-x: auto; margin: 6px 0 14px; border-bottom: 1px solid var(--rule); }
.tab { font: inherit; font-weight: 700; font-size: 15px; white-space: nowrap; padding: 8px 14px; border-radius: var(--r) var(--r) 0 0; border: 1px solid transparent; border-bottom: 0; background: transparent; color: var(--muted); cursor: pointer; margin-bottom: -1px; }
.tab.is-on { background: var(--sheet); border-color: var(--rule); border-top: 3px solid var(--ink); color: var(--ink); }
.tests { list-style: none; padding: 0; margin: 0 0 8px; }
.tests li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.tests-name { font-weight: 700; color: var(--ink); }
.tests-score { grid-column: 1; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.tests-btns { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 12px; align-items: center; }
.forecast { font-size: 19px; }
.tr-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid var(--rule); padding: 10px 0; }
.tr-row h3 { margin: 0 0 2px; }
.tr-row p { margin: 0; }
.ladder { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.ladder li { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.ladder-name { font-weight: 600; color: var(--ink); }
.ladder-btns { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.ladder-none { grid-column: 2; text-align: right; }
.ladder li.is-thin .ladder-none { grid-column: 1 / -1; text-align: left; }
.ladder-drill { padding: 9px 0; }
/* One pip per level that has a test, with its number: passed = filled, the one to take = ringed. */
.pips { display: inline-flex; gap: 4px; }
.pip { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--ink); display: grid; place-items: center; }
.pip.is-on { background: var(--ink); color: var(--paper); }
.pip.is-cur { box-shadow: 0 0 0 2px var(--accent); }
.others-list { list-style: none; padding: 0; margin: 0 0 10px; border-top: 1px solid var(--rule); }
.others-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.choose-list { display: grid; gap: 10px; margin: 0 0 14px; max-width: 420px; }
.upgrade .r-offer { margin: 0 0 14px; }
.plan-list { list-style: none; padding: 0; margin: 0 0 8px; }
.plan-list li { padding: 5px 0; }
.plan-list input { width: 18px; height: 18px; vertical-align: -3px; accent-color: var(--ink); }
.row input[type="date"] { max-width: 200px; display: block; margin-top: 4px; }
.code { font-family: var(--mono); font-size: 19px; letter-spacing: 1px; background: var(--accent-soft); border: 1px dashed var(--ink); border-radius: var(--r); padding: 2px 10px; white-space: nowrap; color: var(--ink); }
.app-drill .t-foot .btn { max-width: 340px; flex: 1 1 auto; }
.app-drill { padding-bottom: 90px; }

/* Cheat sheet: one printed page */
.sheet { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r); padding: 22px; font-size: 15px; line-height: 1.45; }
.sheet h1 { font-size: 25px; margin-bottom: 8px; }
.sheet h2 { font-size: 17px; margin: 14px 0 6px; border-bottom: 2px solid var(--ink); padding-bottom: 2px; }
.sheet h3 { font-size: 15px; margin: 10px 0 4px; }
.sheet p, .sheet ul { margin: 0 0 8px; }
.sheet ul { padding-left: 18px; }
.sheet li { margin: 1px 0; }
.sheet table { border-collapse: collapse; width: 100%; margin: 0 0 8px; }
.sheet th, .sheet td { border: 1px solid var(--rule); padding: 3px 7px; text-align: left; vertical-align: top; }
.sheet-foot { display: none; font-size: 12px; color: var(--muted); margin-top: 10px; }    /* on screen the site footer says it; printed below */
@media print {
  @page { margin: 9mm 10mm; }
  html, body { background: #fff; font-size: 10.5pt; color: #000; }
  .site-header, .site-footer, .no-print { display: none !important; }
  .app-main { padding: 0; max-width: none; }
  .sheet { border: 0; padding: 0; font-size: 9.6pt; line-height: 1.28; background: #fff; }
  .sheet h1 { font-size: 15pt; } .sheet h2 { font-size: 11pt; margin-top: 7pt; border-color: #000; } .sheet h3 { font-size: 10pt; }
  .sheet th, .sheet td { border-color: #777; }
  .sheet-foot { display: block; font-size: 8pt; margin-top: 3pt; line-height: 1.25; }
}

/* Feedback, "not listed" */
.feedback-line { margin: 18px 0 6px; }
.want-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.want-opt { display: inline-flex; align-items: center; gap: 8px; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r); padding: 7px 12px; font-size: 15.5px; cursor: pointer; min-height: 44px; color: var(--ink); }
.want-opt input { width: 18px; height: 18px; accent-color: var(--ink); }
.want label[for], .helper-ask label { display: block; font-weight: 600; margin: 8px 0 4px; }
.helper-ask { margin-top: 14px; }
.helper-ask input { margin: 0 8px 8px 0; }
.install { border-left: 3px solid var(--ink); }

/* Simple pages: sign-in, welcome, restore */
.box-page { max-width: 520px; margin: 0 auto; padding: 28px 16px 40px; min-height: 55vh; }
.box-page label { display: block; font-weight: 600; margin: 12px 0 4px; }
.box-page input { max-width: none; }
.box-page .btn { margin-top: 14px; }
.msg { border-radius: 0; padding: 10px 12px; margin: 12px 0 0; border-left: 3px solid var(--ink); }
.msg:empty { display: none; }
.msg.ok { background: var(--ok-bg); border-left-color: var(--ok); } .msg.no { background: var(--bad-bg); border-left-color: var(--bad); }
.sample-result .r-tiles { grid-template-columns: 1fr 1fr; }
/* A test page on a phone: the Start button and the price line belong on the first screen. */
@media (max-width: 619px) { .hero { padding-block: 20px 26px; } .hero-grid { gap: 16px; } .start { padding: 16px; } .hero .lede { margin-bottom: 4px; } }

/* ---------- "All tests" catalogue (/tests): grouped by publisher, one card per test (scripts/pages.py tests_page) ---------- */
.cat-help { font-size: 15.5px; }
.cat-group h2 { margin-top: 30px; }
.cat-groups { display: grid; grid-template-columns: 1fr; column-gap: 14px; }
.cat-group { display: flex; flex-direction: column; }
.cat-list { display: grid; gap: 14px; grid-template-columns: 1fr; flex: 1; }
@media (min-width: 760px) { .cat-groups { grid-template-columns: 1fr 1fr; } .cat-group.is-wide { grid-column: 1 / -1; } .cat-group.is-wide .cat-list { grid-template-columns: 1fr 1fr; } }
.cat-card { background: var(--sheet); border: 1px solid var(--rule); border-top: 3px solid var(--ink); border-radius: var(--r); padding: 16px 18px; display: flex; flex-direction: column; }
.cat-card[data-status="requested"], .cat-card[data-status="guide"] { border-top-color: var(--rule); }
.cat-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.cat-head h3 { margin: 0; font-size: 21px; }
.cat-head h3 a { text-decoration: none; }
.cat-head h3 a:hover { text-decoration: underline; }
.badge { font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; border: 1px solid currentColor; border-radius: var(--r); padding: 1px 7px; white-space: nowrap; }
.badge.is-available { color: var(--ok); }
.badge.is-guide, .badge.is-requested { color: var(--muted); white-space: normal; }
.cat-sub { color: var(--muted); font-size: 14.5px; line-height: 1.4; margin: 4px 0 12px; }
.cat-format { font-family: var(--mono); font-size: 13px; color: var(--text); margin: 0 0 8px; }
.cat-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: auto 0 0; }
.cat-links .btn { padding-block: 9px; }
/* an available test (catalogue cards redesign, 16.10.2026): name, format chips, what each price gets, buttons */
.cat-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 14px; }
.cat-facts li { font-family: var(--mono); font-size: 12.5px; line-height: 1.3; color: var(--ink); background: var(--paper-2); border: 1px solid var(--rule-2); border-radius: var(--r); padding: 4px 8px; margin: 0; white-space: nowrap; }
.cat-facts li:nth-child(-n+2) { font-weight: 700; }
.cat-note { font-size: 14.5px; line-height: 1.45; color: var(--text); border-left: 3px solid var(--accent); padding: 2px 0 2px 10px; margin: -2px 0 14px; }
.cat-get { margin: 0 0 16px; border-top: 1px solid var(--rule); }
.cat-get > div { display: grid; grid-template-columns: 3.4em 1fr; gap: 10px; align-items: baseline; padding: 7px 0; border-bottom: 1px solid var(--rule-2); }
.cat-get dt { font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--ink); line-height: 1.2; }
.cat-get .is-free dt { color: var(--ok); }
.cat-get dd { margin: 0; font-size: 15px; line-height: 1.4; }
.cat-owned { margin: 0 0 16px; padding: 10px 12px; background: var(--ok-bg); border-left: 3px solid var(--ok); font-size: 15px; }
.cat-card.is-owned .cat-get { display: none; }
.cat-card.is-owned .cat-actions { grid-template-columns: 1fr; }
.cat-card.is-owned .cat-dash { background: var(--ink); color: var(--paper); }
.cat-actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cat-actions .btn { padding: 10px 12px; }
.cat-more { margin: 10px 0 0; font-size: 15px; text-align: center; }
.cat-more a { display: inline-block; padding: 6px 4px; }
.cat-aka { font-size: 13px; line-height: 1.4; color: var(--muted); margin: 10px 0 0; padding-top: 8px; border-top: 1px solid var(--rule-2); }
.cat-card[data-status="available"] .cat-aka { margin: -6px 0 16px; padding: 0; border: 0; }
.cat-aka span { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; text-transform: uppercase; margin-right: 4px; }
@media (max-width: 339px) { .cat-actions { grid-template-columns: 1fr; } }
.cat-need { font-size: 15px; }
.catalogue .want { margin-top: 34px; padding-top: 6px; border-top: 2px solid var(--ink); }
.catalogue .want h2 { border-top: 0; margin-top: 10px; padding-top: 0; }
.not-listed-line { margin: 14px 0 0; }
.pick-more .all-tests { font-weight: 700; white-space: nowrap; }

/* Guide index: by question type */
.type-index { list-style: none; padding: 0; margin: 0 0 20px; border-top: 2px solid var(--ink); display: grid; grid-template-columns: 1fr; }
@media (min-width: 700px) { .type-index { grid-template-columns: 1fr 1fr; column-gap: 28px; } }
.type-index li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; padding: 4px 2px; border-bottom: 1px solid var(--rule); margin: 0; }
.type-index b { font-weight: 600; color: var(--ink); padding: 6px 0; }
.type-index span { font-size: 15px; }
.type-index a { display: inline-block; padding: 6px 2px; }

/* Sample-question pages: an ad landing as well, so the first phone screen says what it is and has the button */
.sample-cta { margin: 4px 0 18px; }
.sample-cta .btn { margin-bottom: 8px; }
.sample-cta p { margin: 0; }
@media (max-width: 619px) { .sample-cta .btn { display: block; text-align: center; } }
.toc { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r); padding: 12px 16px; margin: 18px 0 0; }
.toc-h { font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
.toc ol { margin: 0; padding-left: 22px; columns: 2 200px; column-gap: 24px; font-size: 15.5px; }
.toc li { margin: 0; break-inside: avoid; }
.toc a { display: inline-block; padding: 3px 0; }
.sample-page h3 { margin-top: 26px; }
.sample-answer { margin: 10px 0 0; padding-top: 8px; border-top: 1px solid var(--rule-2); font-size: 15.5px; }

/* A calm one-line clarification under a landing lede */
.hero-aside { font-size: 15px; color: var(--muted); margin: 0; }
.hero .crumbs { margin-bottom: 4px; }
.hero .crumbs a { padding: 6px 0; }

/* ---- pre-launch round (15.10.2026) ---- */
/* the choice of test above the plan cards: one box, visible with the first card on a phone */
.plan-box { margin: 16px 0 0; }
.exam-pick-row { background: var(--sheet); border: 1.5px solid var(--ink); border-radius: var(--r); padding: 12px 14px; margin: 0 0 4px; }
.exam-pick-row .pick-hint { margin: 6px 0 0; font-weight: 400; }
.exam-pick-row.is-asking, .bundle-pick.is-asking { outline: 3px solid var(--accent); outline-offset: 2px; }
.bundle-pick { margin: 6px 0 10px; font-weight: 600; font-size: 15.5px; }
.bundle-pick select { display: block; width: 100%; margin: 6px 0 0; font: inherit; font-weight: 400; padding: 9px 12px; border: 1.5px solid var(--ink); border-radius: var(--r); background: var(--sheet); color: var(--text); }
.plans .btn[data-need] { background: var(--sheet); color: var(--ink); border: 1.5px dashed var(--ink); }
/* guide tables of 3+ columns: a card per row on a phone (scripts/pages.py stack_table) */
@media (max-width: 619px) {
  .table-stack table, .table-stack tbody, .table-stack tr, .table-stack td, .table-stack th { display: block; width: auto; }
  .table-stack thead { display: none; }
  .table-stack tr { border: 1px solid var(--rule); border-radius: var(--r); padding: 8px 12px; margin: 0 0 10px; background: var(--sheet); }
  .table-stack td, .table-stack tbody th { border: 0; padding: 3px 0; text-align: left; }
  .table-stack td[data-label]::before, .table-stack th[data-label]::before { content: attr(data-label) ": "; font-weight: 600; color: var(--ink); }
  .table-stack .stack-head { font-weight: 700; color: var(--ink); }
  .table-stack table { min-width: 0; }
}
/* guides: a comfortable line length on wide screens */
.article p, .article li { max-width: 68ch; }
/* /tests: buttons line up at the bottom of each card */
.cat-card .cat-links { margin-top: auto; }
/* the landing's Start box on a tablet: not a stretched phone layout */
@media (min-width: 620px) and (max-width: 899px) { .start { max-width: 520px; } }
/* desktop landing hero: both columns start at the top */
@media (min-width: 900px) { .hero-grid { align-items: start; } }
/* tap targets */
.btn, .reveal { min-height: 44px; }
.chip-link { display: inline-block; padding: 6px 8px; margin: 0 2px 4px 0; border: 1px solid var(--rule); border-radius: var(--r); background: var(--sheet); }
.nowrap { white-space: nowrap; }
@media (max-width: 759px) { .wide-phone { display: block; width: 100%; text-align: center; } }
.conventions { margin: 0 0 12px; }
.how-levels { margin: 0 0 12px; }
.how-levels summary { cursor: pointer; font-size: 15px; color: var(--ink); }

/* ---- journeys and visual audits of 15.10.2026 ---- */
/* D (owner, 16.10.2026): one gap between a button and the explanation under it, everywhere (cards, plans, upgrade
   cards, Start boxes, result offers). */
.btn + p, .btn + .small, .btn + .muted, .btn + .buy-note + p, .r-actions + p { margin-top: 12px; }
.plan > .btn + p, .r-offer > .btn + p, .card > .btn + p, .start .btn + p, .start .btn + .small { margin-top: 12px; }
p:has(> .btn:only-child) + p.small, p:has(> .btn:only-child) + p.muted { margin-top: 12px; }
/* drill and level summaries: two equal buttons in one row, stacked full width on a phone (visual audit 14) */
.app-drill-done .r-actions, .app-pace-done .r-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 479px) { .app-drill-done .r-actions, .app-pace-done .r-actions { grid-template-columns: 1fr; } }
/* the address of a purchase may be long: it wraps anywhere rather than overflowing */
.app-addr, .addr { overflow-wrap: anywhere; }
.under { margin: 0 0 12px; }
.txn-box { background: var(--sheet); border: 1px solid var(--rule); border-left: 3px solid var(--ink); border-radius: var(--r); padding: 12px 14px; margin: 0 0 14px; }
.txn-box p { margin: 0; }
.txn-box p + p { margin-top: 6px; }
.txn-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.txn { font-family: var(--mono); font-size: 15px; overflow-wrap: anywhere; color: var(--ink); }
.box-page .txn-box .btn { margin-top: 0; }
.box-page .coupon { background: var(--accent-soft); border: 1px dashed var(--ink); border-radius: var(--r); padding: 12px 14px; margin: 0 0 14px; }
.box-page .coupon p { margin: 0; }
.box-page .coupon p + p { margin-top: 8px; }
.box-page .msg p { margin: 0; }
.box-page .msg p + p { margin-top: 8px; }
.box-page .msg .btn { margin-top: 0; }
.box-page .msg { margin-bottom: 14px; }
.device-keys .others-list li { flex-wrap: wrap; }
.sign-in-all { margin: 8px 0 0; }
.general-note { margin: 10px 0 12px; max-width: 68ch; }
.install .r-actions { flex-wrap: nowrap; }
.article .table-two table { min-width: 0; }
.article .table-two td:last-child { white-space: normal; }
.device-keys .others-list { border-top: 0; }
/* the narrowest phones: a buy button with the short name and its price stays on one line (visual audit 15.10, 5) */
@media (max-width: 359px) { .r-offer { padding: 18px 10px; } .plan { padding: 14px 12px; } .plan .btn { padding-inline: 8px; font-size: 16px; } }

/* ---- the pitch under a free result's score ("next step", owner's choice 20.10.2026; assets/result.js pitch()) ---- */
.np { background: var(--sheet); border: 1.5px solid var(--ink); border-top-width: 5px; border-radius: var(--r); padding: 18px 16px; margin: 0 0 14px; }
.np h2 { font-size: 24px; margin: 0 0 10px; }
.np p { margin: 0 0 10px; }
.np-trend { background: var(--accent-soft); padding: 8px 12px; border-radius: var(--r); }
.np-locked { padding: 8px 12px; border-left: 3px solid var(--ink); background: var(--paper-2); }
.np-buy { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 8px; }
.np-buy .btn { flex: 1 1 220px; text-align: center; }
.np-terms { color: var(--muted); margin: 0 !important; }
.np-terms a { color: var(--muted); }
.np-fold { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r); margin: 0 0 14px; }
.np-fold > summary { cursor: pointer; padding: 14px 16px; font-weight: 600; color: var(--ink); }
.np-fold > .r-block { border: 0; margin: 0; }
.np-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 18; background: var(--paper); border-top: 2px solid var(--ink); padding: 8px 14px calc(8px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 10px; }
.np-bar[hidden] { display: none; }
.np-bar-t { flex: 1; font-size: 14.5px; line-height: 1.3; color: var(--ink); }
.np-bar .btn { white-space: nowrap; padding: 10px 14px; }
body.has-np-bar { padding-bottom: 64px; }
@media (min-width: 760px) { .np-bar { display: none !important; } body.has-np-bar { padding-bottom: 0; } .np { padding: 22px 22px; } }

/* Reading passages (IBEW reading comprehension, 23.10.2026): open above the question, foldable, scrolls on its own
   so the question and the options stay close on a phone. */
.q-passage { border: 1px solid var(--rule); border-left: 4px solid var(--ink); background: var(--paper-2); border-radius: 4px; margin: 0 0 16px; padding: 10px 14px; }
.q-passage-title { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); cursor: pointer; }
.q-passage-text { max-height: 46vh; overflow-y: auto; margin-top: 8px; padding-right: 6px; }
.q-passage-text p { margin: 0 0 12px; font-size: 16.5px; line-height: 1.6; color: var(--text); }
@media (min-width: 900px) { .q-passage-text { max-height: 52vh; } }
.t-break { text-align: left; max-width: 560px; }
.t-part { font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 520px) { .q-passage-text { max-height: 38vh; } .q-passage { padding: 8px 10px; } }

/* ---------- AdmitTest (HSPT) blocks, 23.10.2026 ---------- */
/* Home hero: the five sections and the next dates beside the direct answer */
.hero-side { min-width: 0; }
.sec-mini { width: 100%; border-collapse: collapse; background: var(--sheet); border: 1.5px solid var(--ink); border-radius: var(--r); font-size: 15.5px; margin: 0 0 6px; }
.sec-mini caption { text-align: left; font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding: 0 0 6px; }
.sec-mini th, .sec-mini td { text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--rule-2); }
.sec-mini td { font-family: var(--mono); font-size: 14px; color: var(--ink); white-space: nowrap; }
.sec-mini th { font-weight: 600; color: var(--ink); }
.sec-mini .tot th, .sec-mini .tot td { border-bottom: 0; border-top: 2px solid var(--ink); font-weight: 700; }
.src-line { margin: 0 0 14px; }
.src-line a { color: var(--muted); }
.next-dates { background: var(--accent-soft); border-left: 3px solid var(--accent); padding: 10px 14px; margin: 0; }
.next-dates .next-h { font-family: var(--mono); font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 6px; }
.next-dates ul { list-style: none; padding: 0; margin: 0 0 8px; }
.next-dates li { display: grid; grid-template-columns: 9.5em 1fr; gap: 2px 10px; padding: 3px 0; font-size: 15px; }
.next-dates li b { color: var(--ink); white-space: nowrap; }
@media (max-width: 420px) { .next-dates li { grid-template-columns: 1fr; } }
.next-dates p { margin: 0; }
.article .next-dates { margin: 0 0 16px; }
.note-line { font-size: 15.5px; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r); padding: 10px 14px; margin: 16px 0 0; max-width: 68ch; }
/* Test page: one clock per section in the Start box */
.sec-clocks { list-style: none; margin: 0 0 14px !important; padding: 0 0 10px !important; border-top: 0 !important; border-bottom: 1px solid var(--rule); font-size: 15px; }
.sec-clocks li { display: grid; grid-template-columns: 1fr auto 7.5em; gap: 10px; align-items: baseline; padding: 3px 0; margin: 0; }
.sec-clocks .t-clock { font-size: 18px; }
.sec-clocks .muted { font-size: 13.5px; text-align: right; }
.upgrade-line { margin: 0 0 10px; }
.foot-later { margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.foot-later a { text-decoration: underline; }
#other-tests .want { border-top: 2px solid var(--ink); padding-top: 8px; }
/* paragraph numbers in reading passages (questions say "paragraph 5") */
.q-para { white-space: pre-line; padding-left: 26px; position: relative; }
.q-para-n { position: absolute; left: 0; top: 0.1em; font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--muted); }
