/* Gate Street, the "Wall Street 1979" look (docs/ROADMAP.md, Phase 4; drawn on the "Axonas 1979" canvas).
   Every colour is a variable: the dark theme below only redefines them. It follows the visitor's system setting,
   unless they picked one with the header's button (data-theme on <html>, remembered in their browser). */
:root {
  --ground: #F1F2F0;
  --surface: #FFFFFF;
  --ink: #161B22;
  --text: #2B3139;
  --muted: #59616B;
  --line: #CDD1D4;
  --navy: #1B2A44;
  --on-navy: #E8ECEF;
  --on-navy-muted: #9FB0C4;
  --red: #A3312B;
  --link: #24508F;
  --pass: #2F7D4F;
  --near: #C9962B;
  --fail: #B23A2E;
  --none: #8E949B;
  --on-dark: #FFFFFF;
  --surface-soft: #F7F8F7;
  --line-soft: #E3E6E8;
  --navy-hover: #24375A;
  --navy-line: #2C3D5A;
  --link-hover: #1B2A44;
  --navy-ink: #1B2A44;
  --red-light: #F2B8B2;
  --note-light: #C9D3DE;
  --danger-hover: #6E2018;
  --pass-bg: #DDEBE0; --pass-ink: #1F5A36; --pass-edge: rgba(31,90,54,0.35);
  --near-bg: #F5E8C8; --near-ink: #6B4A0A; --near-edge: rgba(107,74,10,0.35);
  --fail-bg: #F3DCD8; --fail-ink: #87291F; --fail-edge: rgba(135,41,31,0.35);
  --none-bg: #E4E6E9; --none-ink: #474D55; --none-edge: rgba(71,77,85,0.35);
  --info-bg: #E2E8F2; --info-ink: #1B2A44; --info-edge: rgba(27,42,68,0.35);
  --shadow: rgba(27,42,68,0.12);
  /* The landing's board sits on the video: the same colours in both themes. */
  --board: rgba(27,42,68,0.92); --board-edge: rgba(255,255,255,0.14); --board-line: #2C3D5A; --board-head-line: #3A4B68;
  --board-text: #E8ECEF; --board-muted: #9FB0C4;
  --board-pass: #4FA36B; --board-near: #D9A23A; --board-fail: #E0574B; --board-none: #9AA3AD;
  /* The logo's plate (web/templates/_plate.html): the same navy enamel in both themes; the dark theme adds a faint
     edge so the plate stands off the dark ground. The pinstripe is a lighter red than --red: 3.1 to 1 on the navy. */
  --plate: #1B2A44; --plate-frame: #E8ECEF; --plate-stripe: #C84A41; --plate-letters: #FFFFFF; --plate-edge: transparent;
  color-scheme: light;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

/* The dark theme: the system's setting, unless the visitor picked light; or picked dark. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #0F141B;
    --surface: #171E28;
    --surface-soft: #1C2430;
    --ink: #E7EAEE;
    --text: #C8CDD4;
    --muted: #98A0AA;
    --line: #2C3644;
    --line-soft: #252E3A;
    --navy: #22365A;
    --navy-hover: #2C4470;
    --navy-line: #36507A;
    --red: #E5837A;
    --link: #8DB3EC;
    --link-hover: #B5CEF3;
    --navy-ink: #AFC3E4;
    --pass: #4FA873; --near: #D9A94A; --fail: #D9675B; --none: #8E949B;
    --pass-bg: #16301F; --pass-ink: #93D3A9; --pass-edge: rgba(147,211,169,0.3);
    --near-bg: #33280F; --near-ink: #E6C47D; --near-edge: rgba(230,196,125,0.3);
    --fail-bg: #3A1D1A; --fail-ink: #F2A79E; --fail-edge: rgba(242,167,158,0.3);
    --none-bg: #262C35; --none-ink: #B8BEC6; --none-edge: rgba(184,190,198,0.3);
    --info-bg: #1C2943; --info-ink: #BCCDEB; --info-edge: rgba(188,205,235,0.3);
    --danger-hover: #A3312B;
    --shadow: rgba(0,0,0,0.4);
    --plate-edge: #36507A;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: #0F141B;
  --surface: #171E28;
  --surface-soft: #1C2430;
  --ink: #E7EAEE;
  --text: #C8CDD4;
  --muted: #98A0AA;
  --line: #2C3644;
  --line-soft: #252E3A;
  --navy: #22365A;
  --navy-hover: #2C4470;
  --navy-line: #36507A;
  --red: #E5837A;
  --link: #8DB3EC;
  --link-hover: #B5CEF3;
  --navy-ink: #AFC3E4;
  --pass: #4FA873; --near: #D9A94A; --fail: #D9675B; --none: #8E949B;
  --pass-bg: #16301F; --pass-ink: #93D3A9; --pass-edge: rgba(147,211,169,0.3);
  --near-bg: #33280F; --near-ink: #E6C47D; --near-edge: rgba(230,196,125,0.3);
  --fail-bg: #3A1D1A; --fail-ink: #F2A79E; --fail-edge: rgba(242,167,158,0.3);
  --none-bg: #262C35; --none-ink: #B8BEC6; --none-edge: rgba(184,190,198,0.3);
  --info-bg: #1C2943; --info-ink: #BCCDEB; --info-edge: rgba(188,205,235,0.3);
  --danger-hover: #A3312B;
  --shadow: rgba(0,0,0,0.4);
  --plate-edge: #36507A;
  color-scheme: dark;
}
/* The badges' inner glow is for light tints only. */
:root[data-theme="dark"] .badge { box-shadow: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .badge { box-shadow: none; } }
/* The theme button in the header. */
.theme-toggle { font: inherit; font-size: 14px; font-weight: 500; min-height: 40px; padding: 0 12px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.theme-toggle:hover { border-color: var(--ink); }

* { box-sizing: border-box; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
a { color: var(--link); }
a:hover { color: var(--link-hover); }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em; margin: 0; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.mono { font-family: var(--mono); }
.note { font-size: 14px; color: var(--muted); }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); }

.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header__row { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.wordmark { display: inline-flex; padding: 4px 0; line-height: 0; text-decoration: none; }
.wordmark:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }
/* The header plate is about as wide as the old AXONAS wordmark was (up to some 320px; 27 Nov 2026, Luiz). */
.plate { display: block; height: clamp(44px, 5.6vw, 78px); width: auto; aspect-ratio: 4 / 1; }
.plate--small { height: 24px; }   /* the smallest the plate is shown: below it the frame and pinstripe merge */
.plate__body { fill: var(--plate); }
.plate__edge { fill: none; stroke: var(--plate-edge); stroke-width: 1.5; }
.plate__frame { fill: none; stroke: var(--plate-frame); stroke-width: 1.4; }
.plate__stripe { fill: none; stroke: var(--plate-stripe); stroke-width: 1.6; }
.plate__letters { fill: var(--plate-letters); }
.nav { display: flex; flex-wrap: wrap; gap: 4px 26px; align-items: center; font-size: 15px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; padding: 10px 0; }
.nav a:hover { color: var(--link); }

.button { display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; background: var(--navy); color: var(--on-dark); font-weight: 600; text-decoration: none; border: 1px solid var(--navy); }
.button:hover { color: var(--on-dark); background: var(--navy-hover); }
.button--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.button--outline:hover { background: var(--surface); color: var(--ink); }
.nav .button--small { min-height: 44px; padding: 0 18px; color: var(--on-dark); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero { padding-top: 72px; padding-bottom: 80px; }
.hero__inner { display: flex; flex-direction: column; gap: 24px; max-width: 860px; }
.hero h1 { font-size: clamp(44px, 6vw, 80px); line-height: 1.02; letter-spacing: -0.02em; }
.deck { margin: 0; max-width: 560px; font-family: var(--serif); font-size: 22px; line-height: 1.5; color: var(--text); }

/* The landing's hero: the video in its own colours, a light shade on the left only to keep the text readable. */
/* The video and its still frame are shown mirrored (Luiz, 16 Nov 2026): the street runs the other way. */
/* On a wide screen the video grows with the width, and the people walking with it: the hero grows too, so they stay
   below the board. */
.video-hero { position: relative; overflow: hidden; color: var(--on-dark); background: var(--navy); min-height: 37vw; }
.video-hero::before { content: ""; position: absolute; inset: 0; background: url("hero-still.jpg") 50% 100% / cover no-repeat; transform: scaleX(-1); }
.video-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; transform: scaleX(-1); }
.video-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.33) 40%, rgba(0,0,0,0) 65%); }
.video-hero__content { position: relative; padding-top: 48px; padding-bottom: 220px; text-shadow: 0 1px 12px rgba(0,0,0,0.35); }
.video-hero h1 { color: var(--on-dark); }
.video-hero .deck { color: var(--on-navy); }
.kicker--light { color: var(--red-light); }
.note--light { color: var(--note-light); }
.button--light { background: var(--on-dark); color: var(--navy); border-color: var(--on-dark); }
.button--light:hover { background: var(--on-navy); color: var(--navy); }
.button--outline-light { background: transparent; color: var(--on-dark); border-color: var(--on-dark); }
.button--outline-light:hover { background: rgba(255,255,255,0.12); color: var(--on-dark); }
.video-hero__pause { position: absolute; right: 16px; bottom: 16px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 1px solid rgba(255,255,255,0.5); background: rgba(20,31,51,0.6); color: var(--on-dark); cursor: pointer; }
.video-hero__pause[hidden] { display: none; }
.video-hero__pause:hover { background: rgba(20,31,51,0.9); }
.video-hero__pause .icon-play, .video-hero__pause.is-paused .icon-pause { display: none; }
.video-hero__pause.is-paused .icon-play { display: inline; }
.section-head__note { max-width: 560px; }
/* The board: one company's results, on the right of the hero, above the people walking. */
.video-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; align-items: center; }
.hero-board { justify-self: end; width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 14px; background: var(--board); border: 1px solid var(--board-edge); color: var(--board-text); text-shadow: none; }
.hero-board__head { display: flex; flex-direction: column; gap: 2px; padding-bottom: 10px; border-bottom: 1px solid var(--board-head-line); }
.hero-board__listing { font-family: var(--mono); font-size: 12px; color: var(--board-muted); }
.hero-board__name { font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 1.15; color: var(--on-dark); }
.hero-board__rows { list-style: none; margin: 0; padding: 0; font-family: var(--mono); font-size: 12px; }
.hero-board__row { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--board-line); }
.hero-board__n { color: var(--board-muted); text-transform: uppercase; }
.hero-board__gate, .hero-board__result { text-transform: uppercase; letter-spacing: 0.04em; }
.hero-board__result { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.hero-board__dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.hero-board__dot--pass { background: var(--board-pass); }
.hero-board__dot--near { background: var(--board-near); }
.hero-board__dot--fail { background: var(--board-fail); }
.hero-board__dot--none { background: var(--board-none); }
.hero-board__foot { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between; align-items: center; }
.hero-board__foot a { font-weight: 600; font-size: 14px; color: var(--on-dark); text-underline-offset: 4px; padding: 4px 0; }
.hero-board__note { font-size: 12px; color: var(--board-muted); }
@media (max-width: 960px) { .video-hero__grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 560px) {
  .hero-board { padding: 20px 18px 16px; }
  .hero-board__row { grid-template-columns: 60px minmax(0, 1fr); row-gap: 4px; }
  .hero-board__result { grid-column: 2; }
}
@media (max-width: 560px), (prefers-reduced-motion: reduce) {
  .video-hero__video, .video-hero__pause { display: none; }
  .video-hero__content { padding-top: 56px; padding-bottom: 120px; }
}

.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 72px 0; }
.section-head { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; justify-content: space-between; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.05; }
.gates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gate { display: flex; flex-direction: column; gap: 12px; min-height: 176px; border-top: 1px solid var(--ink); border-left: 1px solid var(--line); padding: 20px 22px 24px; }
.gate:nth-child(4n+1) { border-left: 0; padding-left: 0; }
.gate__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.gate__name { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.gate__ask { font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.35; color: var(--text); }
.gate__ai { margin-top: auto; font-size: 12px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 72px; padding-bottom: 72px; }
.step { display: flex; flex-direction: column; gap: 10px; border-top: 2px solid var(--navy-ink); padding-top: 18px; color: var(--text); line-height: 1.6; }
.step__n { font-size: 13px; color: var(--red); }
.step__title { font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.2; color: var(--ink); }

.callout { display: flex; flex-direction: column; gap: 16px; margin-bottom: 80px; padding: 40px clamp(20px, 4vw, 48px); background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--red); }
.callout h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; }
.callout p { margin: 0; max-width: 680px; font-size: 17px; line-height: 1.6; color: var(--text); }

.site-footer { background: var(--surface); border-top: 1px solid var(--line); }
.site-footer__row { display: flex; flex-wrap: wrap; gap: 10px 32px; justify-content: space-between; padding-top: 28px; padding-bottom: 36px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.site-footer__brand { display: inline-flex; align-items: center; gap: 12px; }

@media (max-width: 960px) {
  .gates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gate:nth-child(4n+1) { border-left: 1px solid var(--line); padding-left: 22px; }
  .gate:nth-child(2n+1) { border-left: 0; padding-left: 0; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .gates { grid-template-columns: 1fr; }
  .gate, .gate:nth-child(4n+1) { border-left: 0; padding-left: 0; }
}

/* Results: a soft tint with the word, never colour alone. */
.badge { display: inline-flex; align-items: center; justify-content: center; padding: 3px 9px; border-radius: 4px; border: 1px solid; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.6); font-weight: 800; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.badge--small { padding: 2px 7px; font-size: 11px; }
.badge--tiny { padding: 1px 6px; font-size: 10px; letter-spacing: 0.04em; }
.badge--pass { background: var(--pass-bg); color: var(--pass-ink); border-color: var(--pass-edge); }
.badge--near, .badge--concern-minor { background: var(--near-bg); color: var(--near-ink); border-color: var(--near-edge); }
.badge--fail, .badge--concern-major { background: var(--fail-bg); color: var(--fail-ink); border-color: var(--fail-edge); }
.badge--none, .badge--concern-none { background: var(--none-bg); color: var(--none-ink); border-color: var(--none-edge); }

.page-head { display: flex; flex-direction: column; gap: 12px; padding-top: 44px; padding-bottom: 24px; }
.page-head h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -0.02em; }
.tally { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px 0; margin-top: 6px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.beta-note { margin: 0; }
.panel { background: var(--surface); border: 1px solid var(--line); padding: 26px clamp(16px, 3vw, 30px); }
.panel__head { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.panel__head h2 { font-size: 30px; line-height: 1.1; }
.panel__head a { font-size: 14px; font-weight: 600; }
.table-scroll { overflow-x: auto; }
.num { text-align: right; }
.strong { font-weight: 600; }
.empty { color: var(--muted); }

.list-section { padding-bottom: 72px; }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; }
.company-list { width: 100%; min-width: 900px; border-collapse: collapse; font-size: 15px; }
.company-list th, .company-list td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.company-list thead th { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--ink); }
.company-list tbody th { display: flex; flex-direction: column; gap: 2px; font-weight: 600; }
.company-list tbody th .note { font-size: 12px; font-weight: 400; }
.company-list__gate { text-align: center; }

.company-cols { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 32px; align-items: start; padding-bottom: 72px; }
.company-main, .company-side { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.gate-row { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.gate-row__side { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.gate-row__n { display: flex; align-items: center; justify-content: center; min-height: 64px; font-family: "Abril Fatface", "Playfair Display", Georgia, serif; font-size: 64px; line-height: 1; color: var(--navy-ink); }
.gate-row__n--pass { color: var(--pass-ink); }
.gate-row__n--near { color: var(--near-ink); }
.gate-row__n--fail { color: var(--fail-ink); }
.gate-row__n--none { color: var(--none-ink); }
.forum-empty { margin: 0 0 10px; color: var(--muted); line-height: 1.55; }
.forum-link { font-size: 14px; font-weight: 600; }
.gate-row__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.gate-row__top { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.gate-row__name { font-weight: 600; font-size: 17px; }
.gate-row__reason { margin: 0; color: var(--text); line-height: 1.55; }
.ai-tag { font-family: var(--sans); font-size: 12px; color: var(--muted); white-space: nowrap; cursor: help; }
.ai-label { align-self: flex-start; font-family: var(--mono); font-size: 11px; padding: 2px 6px; border: 1px solid var(--muted); color: var(--muted); }

.analysis summary { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--navy-ink); color: var(--navy-ink); font-weight: 600; font-size: 14px; cursor: pointer; list-style: none; }
.analysis summary::-webkit-details-marker { display: none; }
.analysis summary:hover, .analysis[open] summary { background: var(--navy); color: var(--on-dark); }
.analysis__body { margin-top: 12px; padding: 18px clamp(12px, 2.5vw, 22px); background: var(--surface-soft); border: 1px solid var(--line-soft); border-left: 3px solid var(--navy-ink); display: flex; flex-direction: column; gap: 14px; }
.analysis__body h3 { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy-ink); }
.analysis__body p { margin: 0; line-height: 1.55; }
.analysis__links { display: flex; flex-wrap: wrap; gap: 4px 20px; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: 14px; font-weight: 600; }
.tests { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; background: var(--surface); }
.tests th, .tests td { padding: 8px 10px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.tests th { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--ink); }
.tests .num { text-align: right; white-space: nowrap; }
.tests__note { display: block; margin-top: 2px; font-size: 12px; }
.finding { display: flex; flex-direction: column; gap: 6px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.finding__top { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.finding__topic { font-weight: 700; font-size: 14px; }
.against { padding: 14px 16px; background: var(--surface); border: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 6px; }
.points { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; line-height: 1.55; }

.figures { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; border-top: 2px solid var(--ink); }
.figures th, .figures td { padding: 8px 0 8px 10px; border-bottom: 1px solid var(--line-soft); }
.figures__label { position: sticky; left: 0; background: var(--surface); text-align: left; padding-left: 0 !important; padding-right: 12px !important; font-weight: 500; font-size: 14px; min-width: 190px; }
.figures__group td { background: var(--ground); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy-ink); padding-top: 12px; padding-left: 0; }
/* The cell spans the whole row, so it cannot stick itself; the title inside it stays at the left edge, as the row
   labels do, when the table is scrolled sideways. */
.figures__group-title { position: sticky; left: 0; display: inline-block; }
/* The year so far or the full fiscal years (web/templates/company.html): one table, one set of columns shown. */
.figures-panel[data-view="year-so-far"] .fig-year,
.figures-panel[data-view="years"] .fig-ysf { display: none; }
.figures-panel[data-view="year-so-far"] .figures { min-width: 0; }
/* The one line over the quarterly view's years that says which months they are. */
.fig-ysf__span { text-align: left; font-weight: 500; border-bottom: 1px solid var(--line); }
.fig-switch { margin: 0 0 14px; }
.fig-switch__button { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0; font: inherit; font-size: 14px; font-weight: 500; color: var(--muted); background: none; border: 0; cursor: pointer; }
/* Two sides, both views: the track keeps its colour, the knob and the darker label say which one is shown. */
.fig-switch__track { position: relative; flex: none; width: 36px; height: 20px; border: 1px solid var(--link); border-radius: 10px; background: var(--link); }
.fig-switch__knob { position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); transition: transform 0.15s ease; }
.fig-switch__button[aria-checked="true"] .fig-switch__knob { transform: translateX(16px); }
.fig-switch__button[aria-checked="false"] .fig-switch__side--off,
.fig-switch__button[aria-checked="true"] .fig-switch__side--on { color: var(--ink); font-weight: 600; }
.fig-switch__button:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .fig-switch__track, .fig-switch__knob { transition: none; } }
/* Shown only on a developer's own machine (web/views.py, _on_own_machine), never on the site. */
.local-only { border: 1px dashed var(--muted); padding: 8px 12px; margin: 8px 0; font-size: 13px; }
.local-only p { margin: 4px 0; }
.local-only__head { font-size: 11px; letter-spacing: 0.08em; color: var(--muted); }
.local-only__working { border-collapse: collapse; margin-top: 6px; font-size: 12px; }
.local-only__working th { text-align: left; font-weight: 500; padding: 2px 12px 2px 0; vertical-align: top; white-space: nowrap; }
.local-only__working td { padding: 2px 0; }
.scorecard { background: var(--navy); color: var(--on-navy); padding: 24px; }
.scorecard h2 { color: var(--on-dark); font-size: 24px; }
.scorecard a { color: var(--on-dark); }
.scorecard table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.scorecard th, .scorecard td { padding: 8px 0 8px 6px; border-bottom: 1px solid var(--navy-line); text-align: left; font-weight: 500; }
.scorecard thead th { color: var(--on-navy-muted); border-bottom: 1px solid var(--on-navy-muted); }
.scorecard td { text-align: right; color: var(--on-dark); }
.scorecard .note { color: var(--on-navy-muted); }
.side-box { display: flex; flex-direction: column; gap: 10px; }
.side-box h2 { font-size: 24px; }
.side-box p { margin: 0; line-height: 1.55; }
.side-box--report { border-top: 3px solid var(--red); }

@media (max-width: 960px) { .company-cols { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .gate-row { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; } .gate-row__n { font-size: 48px; min-height: 52px; } .gate-row__side .badge { font-size: 10px; padding: 1px 5px; } }

/* Screener: filters above, results below; one column on a phone. */
.screener { display: flex; flex-direction: column; gap: 24px; padding-bottom: 72px; }
.screener__form { display: flex; flex-direction: column; gap: 22px; }
.screener fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.screener legend { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 10px; font-family: var(--serif); font-size: 24px; font-weight: 600; }
/* The full screener's blocks (27 Nov 2026): attributes, figures, gate results; one rule between each, and every
   block's boxes on the same four columns. */
.screener__block + .screener__block { border-top: 1px solid var(--line); padding-top: 22px; }
.screener__gate-grid, .screener__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 16px; }
/* An attribute's list (web/templates/_screener_attribute.html): a box like a select that opens its values to select
   under it, as many as one likes. */
.multi__box { position: relative; }
.multi__summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 0 10px; font-size: 15px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); cursor: pointer; list-style: none; }
.multi__summary::-webkit-details-marker { display: none; }
.multi__summary::after { content: ""; flex: none; width: 7px; height: 7px; margin: -4px 2px 0 0; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.multi__box[open] > .multi__summary::after { margin-top: 4px; transform: rotate(-135deg); }
.multi__summary:focus-visible { outline: 2px solid var(--link); outline-offset: 1px; }
.multi__chosen { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.multi__panel { position: absolute; left: 0; top: calc(100% + 4px); z-index: 15; width: max(100%, 300px); max-width: 90vw; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 8px 22px var(--shadow); }
.multi .multi__search { display: block; width: 100%; box-sizing: border-box; min-height: 40px; padding: 0 10px; font: inherit; font-size: 15px; border: 0; border-bottom: 1px solid var(--line); background: var(--surface-soft); color: var(--ink); }
.multi .multi__search:focus { outline: 2px solid var(--link); outline-offset: -2px; }
.multi__list { max-height: 300px; overflow-y: auto; padding: 4px 0; }
.multi__group-title { display: block; padding: 10px 12px 4px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.multi__option { display: flex; align-items: center; gap: 10px; padding: 7px 12px; font-size: 15px; cursor: pointer; }
.multi__option:hover { background: var(--surface-soft); }
.multi .multi__option input { padding: 0; border: 0; min-height: 0; flex: none; width: 16px; height: 16px; margin: 0; accent-color: var(--link); }
.multi__name { flex: 1; min-width: 0; }
.multi__count { flex: none; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.multi__clear { display: block; width: 100%; min-height: 40px; padding: 0 12px; font: inherit; font-size: 14px; font-weight: 600; text-align: left; color: var(--link); background: none; border: 0; border-top: 1px solid var(--line); cursor: pointer; }
.multi__clear:hover { text-decoration: underline; }
.multi__clear:focus-visible { outline: 2px solid var(--link); outline-offset: -2px; }
.multi [hidden] { display: none; }
/* A note behind an "i": shown on hover, on focus or on a tap, and hidden by Escape (static/site.js). */
.info { position: relative; display: inline-flex; }
.info__icon { width: 22px; height: 22px; padding: 0; border: 1px solid var(--muted); border-radius: 50%; background: none; color: var(--muted); font: italic 600 14px/1 var(--serif); cursor: help; }
.info__icon:hover, .info__icon:focus-visible { color: var(--ink); border-color: var(--ink); }
.info__icon:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.info__tip { position: absolute; left: 0; top: calc(100% + 8px); z-index: 20; width: min(460px, 80vw); padding: 12px 14px; background: var(--navy); color: var(--on-navy); font: 400 14px/1.55 var(--sans); box-shadow: 0 6px 18px var(--shadow); visibility: hidden; opacity: 0; transition: opacity 0.12s; }
.info:hover .info__tip, .info:focus-within .info__tip { visibility: visible; opacity: 1; }
.info--closed .info__tip { visibility: hidden; opacity: 0; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field__label { font-size: 13px; font-weight: 600; }
.field__label .mono { color: var(--muted); font-weight: 400; margin-right: 4px; }
.field select, .field input { font: inherit; font-size: 15px; min-height: 44px; padding: 0 10px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 0; width: 100%; box-sizing: border-box; }
.field select:focus, .field input:focus { outline: 2px solid var(--link); outline-offset: 1px; }
/* The full screener's figures: figure, comparison, one or two values, remove; the second value shows for "between". */
.conditions { display: flex; flex-direction: column; gap: 14px; }
.condition { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.7fr) minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr) 44px; gap: 12px 14px; align-items: end; }
@media (max-width: 960px) { .condition { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) 44px; } .condition__field, .condition__years { grid-column: span 2; } }
/* The gates' screener: the way to the full one, at the top right of its box. */
.screener__gates { position: relative; }
.screener__results { scroll-margin-top: 16px; }
.screener__to-full { position: absolute; top: 0; right: 0; }
.js-ops .condition:not([data-op="between"]) .condition__and { visibility: hidden; }
.condition__remove { width: 44px; height: 44px; padding: 0; font: inherit; font-size: 22px; line-height: 1; color: var(--muted); background: none; border: 1px solid var(--line); cursor: pointer; }
.condition__remove:hover { color: var(--ink); border-color: var(--ink); }
.condition__remove:focus-visible, .condition__add:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.condition__add { align-self: flex-start; }

button.button { font: inherit; font-weight: 600; cursor: pointer; }
.screener__table thead a { color: inherit; text-decoration: none; }
.screener__table thead a:hover, .screener__table thead a[aria-current] { color: var(--link); text-decoration: underline; }
.screener__table th.num { text-align: right; white-space: normal; min-width: 110px; }
.screener__unit { display: block; font-size: 10px; font-weight: 400; text-transform: none; letter-spacing: 0; }
.screener__table td.num { text-align: right; white-space: nowrap; }
@media (max-width: 960px) { .screener__gate-grid, .screener__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .screener__gate-grid, .screener__grid { grid-template-columns: 1fr; } .screener legend { position: relative; width: 100%; } .screener .info { position: static; } .info__tip { width: auto; right: 0; } .condition { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px; } .condition__field, .condition__years, .condition__op { grid-column: 1 / -1; } .screener__to-full { position: static; align-self: flex-start; } }

/* The landing's method block: the path through the gates, each with its question, its test and how many pass. */
.method { background: var(--surface); border-bottom: 1px solid var(--line); padding: 80px 0; }
.method__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 12px 56px; align-items: end; margin-bottom: 44px; }
.method__head .kicker, .method__head h2 { grid-column: 1; }
.method__head h2 { font-size: clamp(36px, 4.8vw, 60px); line-height: 1.02; letter-spacing: -0.02em; }
.method__lead { grid-column: 2; grid-row: 1 / span 2; margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.5; color: var(--text); }
.method__proofs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 32px; margin: 18px 0 0; padding: 18px 0 0; list-style: none; border-top: 1px solid var(--line); font-size: 15px; color: var(--text); }
.method__proof-n { font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--navy-ink); }
.gate-path { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.gate-card { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 20px; background: var(--ground); border: 1px solid var(--line); border-top: 3px solid var(--navy-ink); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.gate-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px var(--shadow); }
.gate-card { position: relative; }
.gate-card__link { color: inherit; text-decoration: none; }
.gate-card__link::after { content: ""; position: absolute; inset: 0; }
.gate-card__link:focus-visible { outline: none; }
.gate-card:focus-within { outline: 2px solid var(--link); outline-offset: 3px; }
.gate-card:hover .gate-card__ask { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.gate-card__more { font-size: 14px; font-weight: 600; color: var(--link); }
.gate-card--first .gate-card__more { color: var(--on-dark); }
.gate-card--first { background: var(--navy); color: var(--on-dark); border-color: var(--navy-ink); }
.gate-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.gate-card__n { font-family: "Abril Fatface", "Playfair Display", Georgia, serif; font-size: 72px; line-height: 0.9; color: var(--navy-ink); }
.gate-card--first .gate-card__n { color: var(--on-dark); }
.gate-card__by { font-family: var(--mono); font-size: 11px; padding: 3px 7px; border: 1px solid var(--line); color: var(--muted); background: var(--surface); white-space: nowrap; }
.gate-card__by--ai { border-color: var(--navy-ink); color: var(--navy-ink); }
.gate-card--first .gate-card__by { background: transparent; color: var(--on-navy); border-color: var(--on-navy-muted); }
.gate-card__name { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.gate-card--first .gate-card__name { color: var(--on-navy-muted); }
.gate-card__ask { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 23px; line-height: 1.2; letter-spacing: -0.01em; }
.gate-card__rule { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text); flex-grow: 1; }
.gate-card--first .gate-card__rule { color: var(--on-navy); }
.gate-card__stat { display: flex; flex-direction: column; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.gate-card--first .gate-card__stat { border-color: var(--navy-line); }
.gate-card--first .gate-card__stat .note { color: var(--on-navy-muted); }
.gate-card__bar { display: flex; height: 6px; background: var(--none-bg); overflow: hidden; }
.gate-card__bar-pass { background: var(--pass); }
.gate-card__bar-near { background: var(--near); }
.method__foot { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; margin-top: 32px; }
.method__foot .note { margin: 0; max-width: 560px; }
@media (max-width: 960px) {
  .method__head { grid-template-columns: 1fr; }
  .method__lead { grid-column: 1; grid-row: auto; }
  .gate-path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) { .gate-path { grid-template-columns: 1fr; } .method { padding: 56px 0; } }
@media (prefers-reduced-motion: reduce) { .gate-card { transition: none; } .gate-card:hover { transform: none; } }

.gate-card__remaining { font-weight: 600; font-size: 14px; color: var(--ink); }
.gate-card--first .gate-card__remaining { color: var(--on-dark); }
.method__result { display: flex; align-items: center; gap: 18px; max-width: 640px; }
.method__result p { margin: 0; display: flex; flex-direction: column; gap: 4px; line-height: 1.5; }
.method__result strong { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.method__result-n { font-family: "Abril Fatface", "Playfair Display", Georgia, serif; font-size: 96px; line-height: 0.9; color: var(--pass-ink); text-decoration: none; }
.method__result-n:hover { color: var(--navy-ink); }
.screener__rule { margin: 0 0 6px; }
.screener__rule a { font-weight: 600; margin-left: 6px; }
.screener__alone { font-size: 12px; }

/* Pages: methodology, Build with us, pricing. */
.deck--dark { color: var(--text); max-width: 760px; margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.5; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; }
.chip:hover { border-color: var(--navy-ink); color: var(--navy-ink); }
.chip__n { font-family: "Abril Fatface", Georgia, serif; font-size: 20px; color: var(--navy-ink); }
.method-basics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-bottom: 28px; }
.basic h2 { font-size: 20px; margin-bottom: 8px; }
.basic p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text); }
.method-gates { display: flex; flex-direction: column; gap: 20px; padding-bottom: 72px; }
.method-gate { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 28px; scroll-margin-top: 16px; }
.method-gate__side { display: flex; flex-direction: column; align-items: center; gap: 10px; border-right: 1px solid var(--line); padding-right: 20px; }
.method-gate__n { font-family: "Abril Fatface", "Playfair Display", Georgia, serif; font-size: 104px; line-height: 0.9; color: var(--navy-ink); }
.method-gate__by { font-family: var(--mono); font-size: 11px; text-align: center; color: var(--muted); }
.method-gate__body { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.method-gate__body h2 { font-size: 34px; line-height: 1.05; }
.method-gate__ask { margin: 0; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--text); }
.method-gate__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 28px; }
.method-gate__cols h3 { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy-ink); }
.method-gate__cols p { margin: 0; line-height: 1.6; color: var(--text); }
.steps-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; line-height: 1.55; color: var(--text); }
.method-example { margin: 4px 0 14px; padding: 18px 20px; background: var(--surface-soft); border: 1px dashed var(--line); }
.method-example h3 { margin: 0 0 4px; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy-ink); }
.method-example__who { margin: 0 0 10px; font-size: 14px; color: var(--muted); }
.method-example ul { margin: 0 0 12px; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; line-height: 1.55; color: var(--text); font-size: 15px; }
.method-example__result { margin: 0; line-height: 1.55; color: var(--text); font-size: 15px; }
.method-example__result .badge { margin-right: 6px; }
.limits { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14px; }
.limits th, .limits td { padding: 10px 12px 10px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.5; }
.limits thead th { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--ink); }
.limits tbody th { font-weight: 600; width: 30%; }

.channels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-bottom: 28px; }
.channel { display: flex; flex-direction: column; gap: 10px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--navy-ink); color: var(--ink); text-decoration: none; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.channel:hover { transform: translateY(-3px); box-shadow: 0 10px 24px var(--shadow); color: var(--ink); }
.channel__icon { font-family: "Abril Fatface", Georgia, serif; font-size: 40px; line-height: 1; color: var(--navy-ink); }
.channel__title { font-family: var(--serif); font-weight: 600; font-size: 22px; }
.channel__text { font-size: 14px; line-height: 1.55; color: var(--text); flex-grow: 1; }
.channel__who { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.how, .board, .faq, .form-section { padding-bottom: 28px; }
.how h2, .board h2, .faq h2 { font-size: 28px; margin-bottom: 14px; }
.how__steps { margin: 0 0 14px; padding-left: 20px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; line-height: 1.55; color: var(--text); }
.how__steps strong { display: block; color: var(--ink); }
.board { padding-bottom: 72px; }
.board__list { list-style: none; margin: 0; padding: 0; }
.board__item { display: flex; flex-direction: column; gap: 6px; padding: 14px 0; border-top: 1px solid var(--line); }
.board__top { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.board__subject { font-weight: 600; }
.board__answer { margin: 0; color: var(--text); }
.badge--status-review { background: var(--none-bg); color: var(--none-ink); border-color: var(--none-edge); }
.badge--status-planned, .badge--status-progress { background: var(--info-bg); color: var(--info-ink); border-color: var(--info-edge); }
.badge--status-done { background: var(--pass-bg); color: var(--pass-ink); border-color: var(--pass-edge); }
.badge--status-declined { background: var(--fail-bg); color: var(--fail-ink); border-color: var(--fail-edge); }
.message-form { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.message-form textarea { font: inherit; font-size: 15px; padding: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); width: 100%; box-sizing: border-box; }
.message-form input[type=text], .message-form input[type=email] { font: inherit; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.check input { width: 20px; height: 20px; margin-top: 2px; }
.check__note { margin: -8px 0 0 30px; }
.field__error, .form-alert { color: var(--fail-ink); font-size: 14px; }
.form-alert { margin: 0; padding: 10px 12px; background: var(--fail-bg); border: 1px solid var(--fail-edge); }

.beta-plan { padding-bottom: 28px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 26px; background: var(--surface); border: 1px solid var(--line); }
.plan--beta { background: var(--navy); color: var(--on-dark); border-color: var(--navy-ink); }
.plan--beta .plan__list, .plan--beta .note { color: var(--on-navy); }
.plan--main { border: 2px solid var(--navy-ink); }
.plan__tag { position: absolute; top: -12px; left: 22px; padding: 3px 10px; background: var(--navy); color: var(--on-dark); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.plan__head { display: flex; flex-direction: column; gap: 4px; }
.plan__name { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.plan__price { font-family: var(--serif); font-weight: 600; font-size: 44px; line-height: 1.05; }
.plan__price small { font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--muted); }
.plan__list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; line-height: 1.5; color: var(--text); flex-grow: 1; }
.plan__no { color: var(--muted); }
.plans { padding-bottom: 28px; }
.plans h2 { font-size: 30px; margin-bottom: 18px; }
.plans__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plans__note { margin-top: 14px; }
.faq { padding-bottom: 72px; }
.faq__list { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 12px 28px; }
.faq__list dt { font-weight: 600; }
.faq__list dd { margin: 0; color: var(--text); line-height: 1.55; }
.screener__all { max-width: calc((100% - 48px) / 4); min-width: 240px; padding-bottom: 8px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }

@media (max-width: 960px) {
  .method-basics, .channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method-gate__cols, .plans__grid, .faq__list { grid-template-columns: 1fr; }
  .how__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .method-basics, .channels, .how__steps { grid-template-columns: 1fr; }
  .method-gate { grid-template-columns: 1fr; }
  .method-gate__side { flex-direction: row; border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 12px; }
  .method-gate__n { font-size: 72px; }
}
@media (prefers-reduced-motion: reduce) { .channel { transition: none; } .channel:hover { transform: none; } }
.plan__strip { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid var(--on-navy-muted); color: var(--on-dark); font-size: 14px; font-weight: 600; text-decoration: none; }
.plan__strip:hover { background: rgba(255,255,255,0.1); color: var(--on-dark); }

/* Build with us: the topics on the left, the company vote on the right. */
.build-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 24px; align-items: start; padding-bottom: 28px; }
.build-layout .channels { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 0; }
.vote { display: flex; flex-direction: column; gap: 12px; padding: 26px; background: var(--navy); color: var(--on-navy); }
.vote h2 { color: var(--on-dark); font-size: 28px; line-height: 1.15; }
.vote__lead { margin: 0; line-height: 1.55; }
.vote__note { margin: 0; padding: 8px 12px; background: rgba(255,255,255,0.1); border-left: 3px solid var(--red-light); color: var(--on-dark); }
.vote__label { font-size: 13px; font-weight: 600; color: var(--on-dark); }
.vote__search { display: flex; flex-direction: column; gap: 6px; }
.vote__row { display: flex; gap: 8px; }
.vote__row input { flex: 1 1 auto; min-width: 0; min-height: 44px; padding: 0 12px; font: inherit; font-size: 15px; border: 1px solid var(--on-dark); background: var(--surface); color: var(--ink); }
.vote__go, .vote__button { font: inherit; font-weight: 600; min-height: 44px; padding: 0 16px; border: 1px solid var(--on-dark); background: transparent; color: var(--on-dark); cursor: pointer; }
.vote__go:hover, .vote__button:hover { background: var(--on-dark); color: var(--navy); }
.vote__button { min-height: 36px; padding: 0 12px; font-size: 14px; }
.vote__results, .vote__ranking, .vote__done { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.vote__results li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--navy-line); }
.vote__name { display: flex; flex-direction: column; gap: 2px; color: var(--on-dark); font-weight: 600; font-size: 15px; min-width: 0; }
.vote__name .mono { font-weight: 400; font-size: 12px; color: var(--on-navy-muted); }
.vote__read, .vote__done a { color: var(--on-dark); font-size: 14px; }
.vote__empty { color: var(--on-navy-muted); padding: 8px 0; }
.vote__h3 { margin: 10px 0 0; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-navy-muted); }
.vote__ranking li { display: flex; flex-direction: column; gap: 4px; padding: 8px 0; border-bottom: 1px solid var(--navy-line); }
.vote__line { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.vote__count { font-family: var(--mono); color: var(--on-dark); }
.vote__bar { height: 4px; background: var(--navy-line); }
.vote__bar span { display: block; height: 100%; background: var(--red-light); }
.vote__tonight { font-size: 12px; color: var(--red-light); }
.vote__done li { padding: 6px 0; display: flex; justify-content: space-between; gap: 10px; }
.vote__done .mono { font-size: 12px; color: var(--on-navy-muted); }
.vote__small { margin: 6px 0 0; font-size: 12px; color: var(--on-navy-muted); }
@media (max-width: 1100px) { .build-layout .channels { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .build-layout { grid-template-columns: 1fr; } }

/* Flagged figures (docs/FRONTEND.md): the word, never the number; notes under the table. */
.fig-flagged { color: var(--near-ink); font-family: var(--sans) !important; font-size: 12px; font-weight: 600; }
.scorecard .fig-flagged { color: var(--red-light); }
.fig-mark { font-size: 10px; margin-left: 2px; }
.fig-mark a { text-decoration: none; }
.fig-notes { margin: 6px 0 0; padding-left: 22px; font-size: 13px; line-height: 1.55; color: var(--text); }
.fig-notes li { padding: 2px 0; }
.panel__links { display: inline-flex; gap: 18px; flex-wrap: wrap; }

/* One figure's page: our figure, the reconciliation from the reported one, its filing. */
.figure-page { display: flex; flex-direction: column; gap: 16px; padding-bottom: 72px; max-width: 900px; }
.figure-page h2 { font-size: 22px; margin-bottom: 10px; }
.figure-page__ours { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; }
.figure-page__value { font-family: var(--serif); font-weight: 600; font-size: 40px; line-height: 1.1; }
.figure-page__recon { min-width: 0; }
.figure-page__recon td { text-align: right; white-space: nowrap; }
.figure-page__total th, .figure-page__total td { font-weight: 700; border-top: 2px solid var(--ink); }
.figure-page__parts, .figure-page__facts, .figure-page__notes { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 10px; line-height: 1.5; }
.figure-page__facts .note { display: block; }
.figure-page__links { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; font-weight: 600; margin: 0; }
.fig-link { color: inherit; text-decoration: none; border-bottom: 1px dotted var(--line); }
.fig-link:hover { color: var(--link); border-bottom-color: var(--link); }
/* Sign-in, the account page and the legal pages. */
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0 !important; border-radius: 50%; background: var(--navy); color: var(--on-dark) !important; font-size: 13px; font-weight: 600; text-decoration: none; }
.auth { padding-top: 48px; padding-bottom: 72px; }
.auth__panel { max-width: 520px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.auth__panel h1 { font-size: 34px; line-height: 1.1; }
.auth__panel h2 { font-size: 20px; }
.auth__lead { margin: 0; color: var(--text); line-height: 1.55; }
.auth__switch { margin: 0; }
.auth__messages { list-style: none; margin: 0; padding: 10px 12px; background: var(--info-bg); border-left: 3px solid var(--navy-ink); font-size: 14px; }
.auth__panel form, .auth__form { display: flex; flex-direction: column; gap: 12px; }
.auth__panel p, .auth__form p { margin: 0; }
.auth__panel label, .auth__form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.auth__panel input[type=email], .auth__panel input[type=text], .auth__panel input[type=password],
.auth__form input[type=email], .auth__form input[type=text] { width: 100%; box-sizing: border-box; min-height: 44px; padding: 0 12px; font: inherit; font-size: 16px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.auth__panel input[type=checkbox] { width: 18px; height: 18px; margin-right: 8px; vertical-align: -3px; }
.auth__panel .helptext, .auth__form .helptext { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.auth__panel .errorlist, .auth__form .errorlist { margin: 4px 0 0; padding: 0; list-style: none; color: var(--fail-ink); font-size: 13px; }
.auth__panel button { font: inherit; font-weight: 600; min-height: 48px; padding: 0 22px; border: 1px solid var(--navy); background: var(--navy); color: var(--on-dark); cursor: pointer; align-self: flex-start; }
.auth__panel button:hover { background: var(--navy-hover); }
.auth__panel hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.auth__panel .socialaccount_providers, .auth__panel ul { padding-left: 0; list-style: none; }
.auth__panel a.socialaccount_provider, .auth__panel .socialaccount_providers a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--ink); color: var(--ink); font-weight: 600; text-decoration: none; }
.account { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-bottom: 72px; }
.account h2 { font-size: 22px; margin-bottom: 10px; }
.account__links, .account__list { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.account__danger { border-top: 3px solid var(--fail-ink); }
.button--danger { background: var(--fail-ink); border-color: var(--fail-ink); color: var(--on-dark); font: inherit; font-weight: 600; cursor: pointer; }
.button--danger:hover { background: var(--danger-hover); color: var(--on-dark); }
.draft-note { margin: 0; padding: 8px 12px; background: var(--near-bg); color: var(--near-ink); border-left: 3px solid var(--near); font-size: 14px; }
.legal { max-width: 820px; margin-bottom: 72px; line-height: 1.65; color: var(--text); }
.legal h2 { font-size: 22px; margin: 22px 0 8px; color: var(--ink); }
.legal h2:first-child { margin-top: 0; }
.site-footer__links a { color: var(--muted); }
@media (max-width: 760px) { .account { grid-template-columns: 1fr; } }

/* Members' lists. */
/* On a company page, at the right of its name: the form, then the lists it is in under it. */
.page-head__title { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; }
.page-head__title h1 { flex: 1 1 320px; min-width: 0; }
.add-list { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; text-align: right; }
@media (max-width: 760px) { .add-list { align-items: flex-start; text-align: left; } }
.add-list__form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.add-list__form select, .add-list__form input { font: inherit; font-size: 15px; min-height: 44px; padding: 0 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.add-list__form .button { min-height: 44px; }
.lists { display: flex; flex-direction: column; gap: 20px; padding-bottom: 72px; }
.lists form { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* The forum. */
.forum-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: 24px; align-items: start; padding-bottom: 72px; }
.thread-list { list-style: none; margin: 0 0 14px; padding: 0; }
.thread-list li { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-top: 1px solid var(--line); }
.thread-list__title { font-family: var(--serif); font-weight: 600; font-size: 20px; color: var(--ink); text-decoration: none; }
.thread-list__title:hover { color: var(--link); }
.thread-list__opening { color: var(--text); line-height: 1.5; }
.new-thread { display: flex; flex-direction: column; gap: 12px; }
.new-thread input, .new-thread textarea, .thread__reply textarea { font: inherit; font-size: 15px; padding: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); width: 100%; box-sizing: border-box; }
.new-thread .button, .thread__reply .button { align-self: flex-start; font: inherit; font-weight: 600; cursor: pointer; }
.forum-start { margin: 12px 0; }
.forum-start summary { list-style: none; cursor: pointer; display: inline-flex; }
.forum-start summary::-webkit-details-marker { display: none; }
.forum-start[open] summary { margin-bottom: 12px; }
.thread { padding-bottom: 72px; max-width: 900px; }
.thread-title { font-size: clamp(30px, 4vw, 46px) !important; }
.post { display: flex; flex-direction: column; gap: 8px; padding: 16px 0; border-top: 1px solid var(--line); }
.post:first-child { border-top: 0; }
.post--hidden { opacity: 0.7; }
.post__top { display: flex; gap: 12px; align-items: center; }
.post__avatar { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--on-dark); font-weight: 600; font-size: 14px; flex: 0 0 auto; }
.post__who { display: flex; flex-direction: column; }
.post__name { font-weight: 600; }
.post__body { margin: 0; line-height: 1.6; color: var(--text); }
.post__waiting { margin: 0; padding: 6px 10px; background: var(--near-bg); color: var(--near-ink); font-size: 13px; }
.post__actions { display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: center; }
.post__actions form { margin: 0; }
.btn--static { cursor: default; }
.post__report summary { list-style: none; display: inline-flex; }
.post__report summary::-webkit-details-marker { display: none; }
.post__report form { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.post__report input { font: inherit; font-size: 14px; min-height: 40px; padding: 0 10px; border: 1px solid var(--line); }
.thread__reply { padding-top: 16px; border-top: 2px solid var(--ink); }
.thread__reply form { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 860px) { .forum-layout { grid-template-columns: 1fr; } }
/* The forum's buttons under a post: plain words, as in a social feed. */
.btn { font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); background: none; border: 0; padding: 4px 0; min-height: 32px; cursor: pointer; }
.btn:hover { color: var(--link); }
.btn[aria-pressed="true"] { color: var(--link); }
.post__actions--small { gap: 0 14px; }
.post__actions--small .btn { font-size: 13px; min-height: 28px; }
img.post__avatar { object-fit: cover; background: var(--line); }
.post__avatar--small { width: 32px; height: 32px; font-size: 12px; }
.avatar { position: relative; }
/* The account menu: the member's picture opens it. */
.profile-menu { position: relative; }
.profile-menu summary { list-style: none; cursor: pointer; }
.profile-menu summary::-webkit-details-marker { display: none; }
.profile-menu summary:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }
.profile-menu__list { position: absolute; z-index: 30; right: 0; top: calc(100% + 8px); min-width: 200px; display: flex; flex-direction: column; padding: 6px 0; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 6px 18px var(--line); }
.profile-menu__list--left { right: auto; left: 0; }
.profile-menu__name { padding: 8px 16px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.nav .profile-menu__list a, .profile-menu__list button { display: block; width: 100%; padding: 10px 16px; text-align: left; font: inherit; font-size: 15px; color: var(--ink); background: none; border: 0; cursor: pointer; text-decoration: none; }
.nav .profile-menu__list a:hover, .profile-menu__list button:hover { background: var(--info-bg); color: var(--info-ink); }
.profile-menu__list form { margin: 0; border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }
/* A company's forum, for a visitor: how to join. */
.members-only { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; margin-bottom: 14px; background: var(--surface-soft); border: 1px solid var(--line); border-left: 3px solid var(--navy); }
.members-only p { margin: 0; }
.members-only__lead { font-weight: 600; color: var(--ink); }
.members-only__actions { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.avatar--picture img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; display: block; }
.avatar__count { position: absolute; top: -4px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--fail-ink); color: var(--surface); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; box-sizing: border-box; }
.mention { font-weight: 600; color: var(--link); }
mark { background: var(--near-bg); color: var(--near-ink); padding: 0 2px; }
/* Search. */
.forum-search { display: flex; gap: 8px; max-width: 640px; margin-top: 16px; }
.forum-search input { flex: 1; min-width: 0; font: inherit; font-size: 15px; min-height: 48px; padding: 0 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.forum-search .button { min-height: 48px; font: inherit; font-weight: 600; cursor: pointer; }
.forum-main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.results { list-style: none; margin: 0; padding: 0; }
.results li { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-top: 1px solid var(--line); }
/* A company's page: posts with their replies folded under them. */
.write { display: flex; flex-direction: column; gap: 10px; padding-bottom: 18px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.write__row { display: flex; gap: 12px; align-items: flex-start; }
.write textarea, .reply--write textarea { flex: 1; min-width: 0; font: inherit; font-size: 15px; padding: 10px 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); resize: vertical; box-sizing: border-box; }
.write textarea { border-radius: 8px; min-height: 64px; }
.write__foot { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; padding-left: 52px; }
.write__foot .note { margin: 0; }
.write__foot .button { font: inherit; font-weight: 600; cursor: pointer; min-height: 44px; flex: 0 0 auto; }
.comment { padding: 16px 0; border-top: 1px solid var(--line); }
.write + .comment, .auth__messages + .comment { border-top: 0; }
.comment__main { display: flex; gap: 12px; align-items: flex-start; }
.comment__content { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.comment__who .note { text-decoration: none; }
.comment__title { margin: 0; font-weight: 600; }
.comment__replies { margin: 2px 0 0 52px; }
.comment__toggle { list-style: none; cursor: pointer; display: inline-flex; font-size: 14px; font-weight: 600; color: var(--link); padding: 4px 0; }
.comment__toggle::-webkit-details-marker { display: none; }
.comment__hide, .comment__replies[open] .comment__show { display: none; }
.comment__replies[open] .comment__hide { display: inline; }
.reply { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; }
.reply__content { flex: 1; min-width: 0; }
.reply__bubble { display: inline-block; max-width: 100%; padding: 8px 12px; border-radius: 14px; background: var(--surface-soft); border: 1px solid var(--line); line-height: 1.5; color: var(--text); overflow-wrap: anywhere; }
.reply__bubble .post__name { margin-right: 4px; }
.reply__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0 14px; padding-left: 12px; font-size: 13px; }
.reply__meta .note { font-size: 13px; }
.reply--write { align-items: center; }
.reply--write textarea { border-radius: 18px; min-height: 40px; padding: 8px 14px; }
.reply--write .button { min-height: 40px; padding: 0 16px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.forum-more { display: block; margin: 0 0 12px; padding: 14px 0 0; border-top: 1px solid var(--line); font-weight: 600; }
.forum-more[aria-busy="true"] { opacity: 0.6; cursor: progress; }
.comment:focus { outline: none; }
/* The list of names under a post box, after @. */
.mention-host { position: relative; }
.mention-list { position: absolute; z-index: 20; left: 52px; top: 100%; margin: 4px 0 0; padding: 4px 0; list-style: none; min-width: 220px; max-width: 320px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 6px 18px var(--line); }
.field .mention-list, .reply--write .mention-list { left: 0; }
.mention-list li { display: flex; align-items: center; gap: 8px; padding: 8px 12px; cursor: pointer; font-size: 14px; }
.mention-list li[aria-selected="true"], .mention-list li:hover { background: var(--info-bg); color: var(--info-ink); }
.mention-list img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
/* The account page: the picture. */
.picture-edit { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.picture-edit .note { margin: 0; }
.picture-edit__face .post__avatar { width: 72px; height: 72px; font-size: 22px; }
.picture-edit__form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 10px; }
.picture-edit__form .button, .account__setting .button, #picture form .button { font: inherit; font-weight: 600; cursor: pointer; }
.account__setting { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.account__setting .button { min-height: 40px; padding: 0 16px; }
@media (max-width: 640px) {
  .write__foot { flex-direction: column; padding-left: 0; }
  .comment__replies { margin-left: 0; }
  .forum-search { flex-direction: column; }
}

/* The figures' definitions and the corrections log. */
.method-fields { padding-bottom: 72px; }
.field-list { margin: 16px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 0 32px; }
.field-list__item { padding: 14px 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.field-list__item:target { outline: 2px solid var(--link); outline-offset: 4px; }
.field-list dt { font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--ink); margin-bottom: 4px; }
.field-list dd { margin: 0; line-height: 1.55; color: var(--text); }
.field-list__differs { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }
.corrections { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 24px; align-items: start; padding-bottom: 72px; }
.corrections__list, .corrections__reports { list-style: none; margin: 0; padding: 0; }
.corrections__list li, .corrections__reports li { padding: 16px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.corrections__list h3 { margin: 2px 0; font-family: var(--serif); font-size: 21px; color: var(--ink); }
.corrections__list p, .corrections__reports p { margin: 0; line-height: 1.55; color: var(--text); }
.corrections__effect { color: var(--muted) !important; }
@media (max-width: 860px) { .corrections { grid-template-columns: 1fr; } }
.fig-def { color: inherit; text-decoration: none; border-bottom: 1px dotted var(--muted); }
.fig-def:hover { color: var(--link); }

/* The company cards: About under the name; Debt and equity, events and shareholders beside the gates. */
.about { max-width: 860px; display: flex; flex-direction: column; gap: 8px; margin: 4px 0 12px; }
.about__text { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.55; color: var(--text); }
.overview__text { margin: 0; font-family: var(--serif); font-size: 18px; line-height: 1.6; color: var(--text); max-width: 68ch; }
.overview__sources { margin: 12px 0 0; }
.overview--folded .overview__text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.overview--folded .overview__sources { display: none; }
.overview__more { margin-top: 10px; padding: 0; border: 0; background: none; font: 600 14px var(--sans); color: var(--link); cursor: pointer; }
.overview__more:hover { text-decoration: underline; }
.about__text + .note { margin: 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.about__facts summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--link); }
.about__facts dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px 24px; margin: 10px 0 6px; }
.about__facts dt { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.about__facts dd { margin: 0; font-size: 15px; overflow-wrap: anywhere; }
.debt-bar { display: flex; height: 10px; background: var(--none-bg); overflow: hidden; }
.debt-bar__debt { background: var(--fail); }
.debt-bar__equity { background: var(--pass); }
.debt-bar__key { margin: 0; word-spacing: 2px; }
.debt-key { display: inline-block; width: 10px; height: 10px; margin-right: 4px; vertical-align: -1px; }
.debt-key--debt { background: var(--fail); }
.debt-key--equity { background: var(--pass); }
.debt-card__lines { width: 100%; border-collapse: collapse; font-size: 14px; }
.debt-card__lines th, .debt-card__lines td { padding: 7px 0; border-bottom: 1px solid var(--line-soft); text-align: left; font-weight: 500; }
.debt-card__lines td { text-align: right; }
.debt-card__part th { padding-left: 14px; font-weight: 400; color: var(--muted); }
.debt-card__part td { color: var(--muted); }
.events, .holders { list-style: none; margin: 0; padding: 0; }
.events li { display: flex; flex-direction: column; gap: 0; padding: 8px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.events li a { color: var(--ink); text-decoration: none; }
.events li a:hover { color: var(--link); text-decoration: underline; }
.holders li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.holders li .note { grid-column: 1 / -1; font-size: 13px; }
.holders__name { font-weight: 600; }
.holders__pct { font-weight: 600; }

/* The board: what became of each message. */
.board__history { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 13px; }
.board__history li + li::before { content: "→"; margin: 0 8px; color: var(--muted); }
.board__confirmed, .board__rule { margin: 4px 0 0; }
.corrections__list li:target { outline: 2px solid var(--link); outline-offset: 4px; }
.board__item:target { outline: 2px solid var(--link); outline-offset: 4px; }

/* From the desktop click-through (16 Nov 2026). */
body { min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
.button--compact { min-height: 36px; padding: 0 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.auth__form .button { align-self: flex-start; width: auto; }
.auth__check { display: flex; gap: 10px; align-items: flex-start; }
.auth__check input { margin-top: 4px; width: 18px; height: 18px; flex: 0 0 auto; }
.auth__check label { font-weight: 500; }
.auth__or { display: flex; align-items: center; gap: 12px; margin: 20px 0 12px; color: var(--muted); font-size: 14px; }
.auth__or::before, .auth__or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.auth__social { width: 100%; justify-content: center; gap: 12px; font: inherit; font-weight: 600; cursor: pointer; }
/* Google's G keeps its own colours on a light disc, so it reads the same in both themes. */
.auth__social-logo { flex: none; box-sizing: content-box; padding: 3px; border-radius: 50%; background: var(--on-dark); }
.auth__panel .auth__social { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.auth__panel .auth__social:hover { background: var(--surface-soft); }

/* The header's search: every listed company, by name or code (web/search.py). */
.header-search { position: relative; flex: 1 1 220px; max-width: 340px; }
.header-search input { font: inherit; font-size: 15px; width: 100%; min-height: 44px; padding: 0 12px 0 36px; box-sizing: border-box; background: var(--surface) no-repeat 12px center; color: var(--ink); border: 1px solid var(--line); border-radius: 0; }
.header-search input::placeholder { color: var(--muted); }
.header-search input:focus { outline: 2px solid var(--link); outline-offset: -1px; border-color: var(--link); }
.header-search::before { content: ""; position: absolute; left: 13px; top: 14px; width: 11px; height: 11px; border: 2px solid var(--muted); border-radius: 50%; pointer-events: none; }
.header-search::after { content: ""; position: absolute; left: 25px; top: 27px; width: 6px; height: 2px; background: var(--muted); transform: rotate(45deg); pointer-events: none; }
.header-search__list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); min-width: 300px; margin: 0; padding: 4px 0; list-style: none; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 8px 24px var(--shadow); }
.header-search__list a { display: flex; flex-direction: column; gap: 2px; padding: 8px 14px; color: var(--ink); text-decoration: none; }
.header-search__list [aria-selected="true"] a, .header-search__list a:hover { background: var(--info-bg); }
.header-search__name { font-weight: 600; font-size: 15px; }
.header-search__meta { font-family: var(--mono); font-size: 12px; color: var(--pass-ink); }
.header-search__meta--later { color: var(--muted); }
.header-search__all { border-top: 1px solid var(--line-soft); margin-top: 4px; }
.header-search__all a { color: var(--link); font-size: 14px; }
@media (max-width: 760px) { .header-search { order: 3; flex-basis: 100%; max-width: none; } }

.search-page__form { display: flex; gap: 8px; max-width: 640px; }
.search-page__form input { flex: 1; font: inherit; font-size: 16px; min-height: 52px; padding: 0 14px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 0; }
.search-results { list-style: none; margin: 0; padding: 0; }
.search-result { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; padding: 14px clamp(16px, 3vw, 30px); border-bottom: 1px solid var(--line-soft); }
.search-result:last-child { border-bottom: 0; }
.search-result__name { display: flex; flex-direction: column; gap: 2px; font-weight: 600; color: var(--ink); }
.search-result__name .note { font-weight: 400; font-size: 12px; }
.search-result__go { font-weight: 600; white-space: nowrap; }
.search-result__ask { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.search-result__asked { font-size: 14px; color: var(--pass-ink); }
.button--small-outline { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; font: inherit; font-size: 14px; font-weight: 600; background: transparent; color: var(--ink); border: 1px solid var(--ink); text-decoration: none; cursor: pointer; }
.button--small-outline:hover { background: var(--navy); color: var(--on-dark); border-color: var(--navy); }
@media (max-width: 560px) { .search-result__ask { align-items: flex-start; text-align: left; } }
.ask { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
