
:root {
  --paper: #f6f7f9; --sheet: #fff; --ink: #15192b; --muted: #5b6275; --line: #d5d9e3; --wire: #eceef3;
  --accent: #2747c9; --accent-soft: #e6ebfb;
  --corr: #9a5c00; --corr-soft: #fff2db; --rest: #6b3fc4; --rest-soft: #efe8fb; --ai: #096b66; --ai-soft: #dff3f1;
  --bad: #b4232c; --bad-soft: #fde8e9; --good: #1d7a3a;
  --f-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  --f-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --panel-w: 420px;
  --gbtn: #fff; --gbtn-ink: #1f1f1f; --gbtn-line: #747775; --mbtn: #fff; --mbtn-ink: #5e5e5e; --mbtn-line: #8c8c8c;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0f1220; --sheet: #171b2c; --ink: #e7e9f2; --muted: #a0a7bb; --line: #2d3349; --wire: #22273b;
    --accent: #8aa2ff; --accent-soft: #232c55;
    --corr: #f0b04a; --corr-soft: #3a2c12; --rest: #b99bff; --rest-soft: #2e2349; --ai: #4fd1c5; --ai-soft: #123634;
    --bad: #ff7b84; --bad-soft: #3a1619; --good: #5fd38a; color-scheme: dark;
    --gbtn: #131314; --gbtn-ink: #e3e3e3; --gbtn-line: #8e918f; --mbtn: #2f2f2f; --mbtn-ink: #fff; --mbtn-line: #2f2f2f;
  }
}
:root[data-theme="dark"] {
  --paper: #0f1220; --sheet: #171b2c; --ink: #e7e9f2; --muted: #a0a7bb; --line: #2d3349; --wire: #22273b;
  --accent: #8aa2ff; --accent-soft: #232c55;
  --corr: #f0b04a; --corr-soft: #3a2c12; --rest: #b99bff; --rest-soft: #2e2349; --ai: #4fd1c5; --ai-soft: #123634;
  --bad: #ff7b84; --bad-soft: #3a1619; --good: #5fd38a; color-scheme: dark;
  --gbtn: #131314; --gbtn-ink: #e3e3e3; --gbtn-line: #8e918f; --mbtn: #2f2f2f; --mbtn-ink: #fff; --mbtn-line: #2f2f2f;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--paper); color: var(--ink); font: 15px/1.5 var(--f-body); -webkit-text-size-adjust: 100%; }
a { color: var(--accent); text-underline-offset: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3, h4 { line-height: 1.2; text-wrap: balance; margin: 0 0 .4em; }
h1 { font: 600 clamp(24px, 3.4vw, 34px)/1.15 var(--f-display); }
h2 { font-size: 18px; }
h3 { font-size: 15px; }
h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-top: 12px; }
p { margin: .4em 0; }
code, pre { font-family: var(--f-mono); font-size: 12.5px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--sheet); padding: 6px 10px; z-index: 10; }
.skip:focus { left: 8px; }
.muted, .hint { color: var(--muted); }
.hint { font-size: 13px; }
.small { font-size: 12.5px; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.top { background: var(--sheet); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.top-in { max-width: 1280px; margin: 0 auto; padding: 10px 20px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.logo { font-weight: 750; letter-spacing: -.02em; font-size: 18px; color: var(--ink); text-decoration: none; }
.logo span { color: var(--accent); }
#nav { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; }
#nav a { color: var(--muted); text-decoration: none; padding: 6px 10px; border-radius: 6px; font-size: 14px; }
#nav a:hover { color: var(--ink); background: var(--wire); }
#nav a[aria-current="page"] { color: var(--ink); font-weight: 600; background: var(--wire); }
.pill { display: inline-flex; gap: 6px; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; font-size: 12.5px; white-space: nowrap; color: var(--ink); text-decoration: none; }
.pill.on { border-color: var(--good); }
.linkish { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; font-size: 12.5px; cursor: pointer; text-decoration: underline; }
.layout { max-width: 1280px; margin: 0 auto; padding: 20px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; min-height: 70vh; }
main:focus { outline: none; }
body.panel-open .layout { grid-template-columns: minmax(0, 1fr) var(--panel-w); }
.panel { background: var(--sheet); border: 1px solid var(--line); border-radius: 10px; position: sticky; top: 72px; max-height: calc(100vh - 92px); overflow: auto; overscroll-behavior: contain; }
.panel-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--sheet); z-index: 1; }
.panel-head h2 { margin: 0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.panel-head h2:focus { outline: none; }
.panel-body { padding: 14px 16px 18px; }
@media (max-width: 1100px) {
  body.panel-open .layout { grid-template-columns: minmax(0, 1fr); }
  .panel { position: fixed; inset: auto 0 0 0; top: 56px; max-height: none; border-radius: 14px 14px 0 0; z-index: 8; box-shadow: 0 -8px 30px rgb(0 0 0 / .25); }
}
.btn { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--ink); border-radius: 6px; padding: 6px 12px; font: 600 13px var(--f-body); background: var(--sheet); color: var(--ink); cursor: pointer; text-decoration: none; white-space: nowrap; min-height: 34px; }
.btn:hover { background: var(--wire); }
.btn.pri { background: var(--ink); color: var(--sheet); }
.btn.pri:hover { opacity: .9; }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.small { padding: 3px 9px; font-size: 12px; min-height: 28px; }
.btn:disabled { opacity: .55; cursor: default; }
input[type="search"], input[type="text"], input[type="password"], input[type="date"] { font: 15px var(--f-body); color: var(--ink); background: var(--sheet); border: 1.5px solid var(--line); border-radius: 6px; padding: 7px 10px; min-height: 36px; }
input:focus { border-color: var(--accent); }
input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field > label, .field .label { font-size: 12px; color: var(--muted); font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .04em; }
.field.check { flex-direction: row; align-items: center; gap: 6px; flex-wrap: wrap; }
.field.check label { font: 600 14px var(--f-body); text-transform: none; letter-spacing: 0; color: var(--ink); }
.field.check .hint { width: 100%; }
.seg { display: inline-flex; border: 1.5px solid var(--ink); border-radius: 6px; overflow: hidden; }
.seg button { border: 0; background: var(--sheet); color: var(--ink); font: 13px var(--f-body); padding: 6px 11px; cursor: pointer; min-height: 32px; }
.seg button + button { border-left: 1px solid var(--line); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--sheet); font-weight: 600; }
.timebar { display: flex; gap: 16px 22px; align-items: flex-end; flex-wrap: wrap; }
.fin-controls { display: flex; gap: 16px; align-items: flex-end; flex-wrap: wrap; margin: 4px 0 14px; }
.hero { max-width: 760px; margin: 28px auto 34px; }
.hero h1 { font-size: clamp(28px, 4.4vw, 42px); }
.lede { font-size: 17px; color: var(--muted); max-width: 64ch; }
.search { margin: 18px 0 6px; }
.search-row { display: flex; gap: 8px; }
.search-row input { flex: 1; min-width: 0; font-size: 17px; padding: 10px 14px; border-color: var(--ink); }
.search-row .btn { min-height: 46px; padding: 0 18px; }
.search-opts { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 8px; font-size: 13px; color: var(--muted); }
.search-opts input { padding: 4px 8px; min-height: 32px; font-size: 13px; }
.try { font-size: 13px; color: var(--muted); }
.try-about { float: right; }
.latest { max-width: 760px; margin: 0 auto 30px; }
.latest-head { display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; flex-wrap: wrap; margin-bottom: 6px; }
.latest-head h2 { margin: 0; }
.latest-title { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; }
.latest-all { font-weight: 500; }
.latest-all[aria-pressed="true"] { background: var(--ink); color: var(--sheet); font-weight: 600; }
.latest-all[aria-pressed="true"]:hover { opacity: .9; }
.latest-hint { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.latest-asof { font-size: 13px; color: var(--muted); }
.latest-asof input { padding: 4px 8px; min-height: 32px; font-size: 13px; }
.latest-list { list-style: none; margin: 0; padding: 0; background: var(--sheet); border: 1px solid var(--line); border-radius: 10px; }
.latest-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 9px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.latest-row:last-child { border-bottom: 0; }
.latest-co { flex: 1 1 220px; min-width: 0; overflow-wrap: anywhere; }
.latest-main { font-weight: 600; }
.latest-others { color: var(--muted); font-size: 13px; }
.latest-form { font: 13px var(--f-mono); }
.latest-row time { color: var(--muted); font: 13px var(--f-mono); }
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--sheet); border: 1px solid var(--line); border-radius: 10px; padding: 18px; }
.card h2 { font-size: 16px; }
pre.mini { background: var(--wire); border-radius: 6px; padding: 8px 10px; overflow-x: auto; margin: 8px 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.search-page { max-width: 860px; }
.result-list { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 8px; }
.result { display: grid; gap: 2px; background: var(--sheet); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; text-decoration: none; color: var(--ink); }
.result:hover { border-color: var(--accent); }
.r-name { font-weight: 650; font-size: 16px; }
.r-meta, .r-former { font-size: 13px; color: var(--muted); }
.result .tag { justify-self: start; margin-top: 4px; }
.empty { color: var(--muted); padding: 18px 0; }
.tag { display: inline-block; font: 11.5px var(--f-mono); padding: 1px 7px; border-radius: 4px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; vertical-align: middle; }
.t-corr { background: var(--corr-soft); color: var(--corr); border-color: transparent; }
.t-rest { background: var(--rest-soft); color: var(--rest); border-color: transparent; }
.t-ai { background: var(--ai-soft); color: var(--ai); border-color: transparent; }
.t-acc { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.mark { font-family: var(--f-body); font-variant-emoji: text; margin-left: 3px; font-size: .9em; }
.m-version { color: var(--rest); }
.m-corrected { color: var(--corr); }
.m-derived { color: var(--ai); font-style: italic; }
.m-pending, .m-none, .m-withheld { color: var(--muted); }
.m-flagged { color: var(--bad); }
.m-warning { color: var(--corr); }
.notices { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 6px; }
.notices li, .banner, .callout { background: var(--accent-soft); border-radius: 6px; padding: 8px 12px; font-size: 13.5px; }
.banner.pending { background: var(--wire); margin: 0 0 10px; }
.callout.warn { background: var(--corr-soft); }
.gate { background: var(--sheet); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 8px; padding: 14px 18px; margin: 14px 0; max-width: 72ch; }
.gate h2 { font-size: 17px; margin: 0 0 6px; }
.gate p { margin: 6px 0; }
.gate-actions { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.gate-line { margin: 6px 0 0; font-size: 13.5px; }
.sample { margin: 6px 0 18px; }
.sample h2 { font-size: 16px; margin: 0 0 4px; }
.sample-above, .sample-under { max-width: 72ch; font-size: 13.5px; color: var(--muted); }
.sample-under { margin-top: 10px; }
.sample-wrap { position: relative; }
.col-date { font-weight: 400; color: var(--muted); font-size: 12px; }
.source-box { background: var(--sheet); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px rgb(0 0 0 / .18); padding: 12px 16px; margin-top: 8px; width: min(380px, 100%); z-index: 6; font-size: 14px; }
.source-box h2 { font-size: 15px; margin: 0 0 6px; }
.source-box h2:focus { outline: none; }
.source-box p { margin: 6px 0; }
.src-value { font: 600 15px var(--f-mono); font-variant-numeric: tabular-nums; }
.src-state { color: var(--muted); }
.src-acc code { font: 13px var(--f-mono); overflow-wrap: anywhere; }
.src-signin { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 10px !important; }
button.cell[aria-expanded="true"] { anchor-name: --ft-source; }
@supports (anchor-name: --a) {
  @media (min-width: 640px) {
    .source-box { position: fixed; position-anchor: --ft-source; top: anchor(bottom); left: anchor(left); margin: 6px 0 0; position-try-fallbacks: flip-inline, flip-block, flip-block flip-inline; }
  }
}
@media (max-width: 639px) {
  .source-box { position: fixed; inset: auto 0 0 0; width: auto; max-height: 80vh; overflow: auto; border-radius: 14px 14px 0 0; margin: 0; padding-bottom: 18px; box-shadow: 0 -8px 30px rgb(0 0 0 / .25); }
  .source-box .gate-actions { flex-direction: column; align-items: stretch; }
  .source-box .gate-actions .btn { min-height: 44px; }
  .gate .gate-actions .btn { min-height: 44px; }
}
.problem { background: var(--sheet); border: 1px solid var(--line); border-left: 4px solid var(--bad); border-radius: 8px; padding: 14px 18px; margin: 12px 0; }
.problem h2 { font-size: 16px; }
.problem .remedy { font-weight: 500; }
.problem pre { white-space: pre-wrap; font-size: 11.5px; }
.loading { display: flex; gap: 10px; align-items: center; color: var(--muted); padding: 18px 0; }
.spinner { width: 14px; height: 14px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }
.company-head { display: flex; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; align-items: flex-end; }
.identity { min-width: 0; flex: 1 1 380px; }
.identity h1 { overflow-wrap: anywhere; }
.facts { color: var(--ink); font-size: 14px; }
.former { color: var(--muted); font-size: 13.5px; }
.tickers { font-size: 13px; color: var(--muted); }
.tickers ul { margin: 4px 0; padding-left: 18px; }
.trust { display: flex; flex-wrap: wrap; gap: 4px 16px; background: var(--sheet); border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; font-size: 13.5px; margin: 12px 0; }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin: 16px 0; overflow-x: auto; scrollbar-width: none; }
.tabs a { padding: 9px 13px; color: var(--muted); text-decoration: none; white-space: nowrap; font-size: 14px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a[aria-current="page"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }
.kpis { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-bottom: 22px; }
.kpi { display: block; background: var(--sheet); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; color: var(--ink); text-decoration: none; }
a.kpi:hover { border-color: var(--accent); }
.kpi .lbl, .stat .lbl { font-size: 12px; color: var(--muted); }
.kpi .val, .stat .val { font: 600 22px var(--f-mono); font-variant-numeric: tabular-nums; margin: 2px 0; }
.kpi .sub { font-size: 12.5px; color: var(--muted); }
.spark { display: flex; align-items: flex-end; gap: 2px; height: 30px; margin-top: 10px; }
.spark-bar { flex: 1; max-width: 18px; background: color-mix(in srgb, var(--accent) 35%, transparent); border-radius: 2px 2px 0 0; min-height: 2px; }
.spark-bar:last-child { background: var(--accent); }
.spark-bar.nil { background: transparent; }
.spark-bar.b1 { height: 10%; }
.spark-bar.b2 { height: 20%; }
.spark-bar.b3 { height: 30%; }
.spark-bar.b4 { height: 40%; }
.spark-bar.b5 { height: 50%; }
.spark-bar.b6 { height: 60%; }
.spark-bar.b7 { height: 70%; }
.spark-bar.b8 { height: 80%; }
.spark-bar.b9 { height: 90%; }
.spark-bar.b10 { height: 100%; }
.recent h2 { margin-top: 6px; }
.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-size: 13.5px; }
th, td { text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font: 500 11.5px var(--f-mono); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); white-space: nowrap; }
.num { text-align: right; font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
table.filings td { white-space: nowrap; }
.more { margin: 12px 0; }
a.ext { overflow-wrap: anywhere; }
.fin-scroll { background: var(--sheet); border: 1px solid var(--line); border-radius: 10px; width: fit-content; max-width: 100%; }
table.fin { width: auto; }
.fin-scroll + .fin-scroll { margin-top: 14px; }
.later-notes { margin: 10px 0; display: grid; gap: 6px; justify-items: start; }
table.fin td { min-width: 96px; }
table.fin td, table.fin thead th { padding: 0; }
table.fin thead th { padding: 9px 10px; position: sticky; top: 0; background: var(--sheet); }
.metric-col { position: sticky; left: 0; background: var(--sheet); z-index: 1; min-width: 220px; max-width: 280px; padding: 6px 10px !important; }
th.metric-col { font-weight: 500; }
.m-label { display: block; font: 500 13.5px var(--f-body); color: var(--ink); text-transform: none; letter-spacing: 0; }
.m-unit { display: block; font-size: 11.5px; color: var(--muted); font-family: var(--f-body); text-transform: none; letter-spacing: 0; }
tr.section th { background: var(--wire); font: 600 11.5px var(--f-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 6px 10px; position: sticky; left: 0; }
button.cell { display: block; width: 100%; text-align: right; background: none; border: 0; padding: 9px 10px; font: 13.5px var(--f-mono); font-variant-numeric: tabular-nums; color: var(--ink); cursor: pointer; white-space: nowrap; }
button.cell:hover { background: var(--accent-soft); }
button.cell[aria-expanded="true"] { background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--accent); }
.v.after, .mark.m-withheld.after { text-decoration: underline dotted var(--corr); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.nil { display: block; text-align: right; padding: 9px 10px; color: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.eyebrow { font: 12px var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 4px; }
.headline { font: 600 24px var(--f-mono); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.marks-long { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 6px; font-size: 13px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.boxes { display: grid; gap: 10px; margin: 12px 0; }
.box { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.box h3 { font: 600 12px var(--f-mono); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 4px; }
.box.explain { border-color: var(--ai); background: color-mix(in srgb, var(--ai-soft) 50%, transparent); margin: 10px 0; }
.box.warnings { border-color: var(--corr); margin: 10px 0; }
.box.corrected { border-color: var(--corr); background: color-mix(in srgb, var(--corr-soft) 55%, transparent); }
.big { font: 600 17px var(--f-mono); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 3px 12px; font-size: 13px; margin: 8px 0 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
code.wrap { overflow-wrap: anywhere; font-size: 12px; }
.plain { list-style: none; padding: 0; margin: 4px 0; display: grid; gap: 6px; font-size: 13px; }
.evidence q { color: var(--muted); font-style: italic; }
.why p { margin: 2px 0; }
.decided { font: 12px var(--f-mono); color: var(--muted); overflow-wrap: anywhere; }
.disclaimer { font-size: 12.5px; color: var(--ai); }
.history { list-style: none; padding: 0 0 0 14px; margin: 6px 0; border-left: 2px solid var(--line); display: grid; gap: 10px; font-size: 13px; }
.history li { position: relative; }
.history li::before { content: ""; position: absolute; left: -20px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--sheet); border: 2px solid var(--muted); }
.history li.on::before { background: var(--accent); border-color: var(--accent); }
.copy-row { margin-top: 12px; }
.xcheck { border-left: 3px solid var(--ai); padding: 2px 0 2px 10px; margin: 8px 0 4px; font-size: 13.5px; }
.xcheck.x-look { border-left-color: var(--corr); background: color-mix(in srgb, var(--corr-soft) 45%, transparent); }
.xcheck.x-look .xcheck-head strong, .xcheck-look { color: var(--corr); }
.box.note { border-color: var(--rest); background: color-mix(in srgb, var(--rest-soft) 40%, transparent); margin: 10px 0; }
.box.note p { margin: 2px 0; }
.note-line { margin: 3px 0 0; overflow-wrap: anywhere; }
.box.processed.withheld { border-style: dashed; }
.withheld-raw { font-size: 13px; color: var(--muted); margin: 4px 0 0; }
.fix.withheld { border-style: dashed; }
.fix-line { font-size: 13.5px; margin: 4px 0 0; }
.t-withheld { background: var(--wire); color: var(--ink); border-color: transparent; }
.qstats { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-bottom: 14px; }
.stat { background: var(--sheet); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.stat .val { font-size: 18px; }
.stat .sub { font-size: 12.5px; color: var(--muted); }
.fixes { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); }
.fix { background: var(--sheet); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; min-width: 0; }
.fix header { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.fix h3 { margin: 0; }
.fix.flagged { border-style: dashed; }
.fix-co { font-size: 13px; margin: 2px 0; }
.fix-values { font-family: var(--f-mono); font-size: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.proposed strong, strong.proposed { color: var(--rest); text-decoration: underline dashed 1px; text-underline-offset: 3px; }
.proposed-box { border: 1px dashed var(--rest); border-radius: 6px; padding: 6px 8px; margin: 6px 0 0; font-size: 13px; }
.proposed-box p { margin: 2px 0 0; }
.nowrap { white-space: nowrap; }
.ledger .timebar { margin: 12px 0; }
.developers { max-width: 860px; }
.dev-step { background: var(--sheet); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; margin: 14px 0; }
.step { display: inline-flex; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--sheet); font: 600 12px var(--f-mono); align-items: center; justify-content: center; margin-right: 8px; }
.code { position: relative; margin: 8px 0; }
.code pre { background: var(--wire); border-radius: 8px; padding: 12px 14px; padding-right: 76px; overflow-x: auto; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.code .btn { position: absolute; top: 6px; right: 6px; }
.tools { display: grid; grid-template-columns: max-content 1fr; gap: 8px 14px; font-size: 14px; }
.tools dd { margin: 0; color: var(--muted); }
@media (max-width: 560px) {
  .tools { grid-template-columns: 1fr; } .tools dd { margin-bottom: 6px; }
  .code pre { padding-right: 14px; } .code .btn { position: static; margin-top: 6px; }
}
.keyfield { font-family: var(--f-mono) !important; font-size: 13px !important; flex: 1 1 280px; min-width: 0; }
.keybox { margin: 10px 0; }
.paste { margin-top: 10px; font-size: 14px; }
.paste summary { cursor: pointer; color: var(--accent); }
.foot { max-width: 1280px; margin: 30px auto 0; padding: 18px 20px 30px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.foot .row { justify-content: space-between; }
.foot-links { margin: 6px 0; }
.prose { max-width: 72ch; }
.prose h2 { margin-top: 26px; scroll-margin-top: 100px; }
.prose h2:focus { outline: none; }
.about dl.start { margin: 8px 0; }
.about dl.start dt { font-weight: 600; margin-top: 14px; }
.about dl.start dd { margin: 4px 0 0; }
.legal .note { background: var(--corr-soft); border-radius: 8px; padding: 10px 14px; margin: 10px 0 18px; }
.legal .placeholder { color: var(--muted); font-style: italic; }
@media (max-width: 560px) {
  .layout { padding: 14px; }
  .top-in { padding: 8px 14px; gap: 8px 12px; }
  #nav { order: 3; flex-basis: 100%; }
  .key-status { margin-left: auto; }
  .search-row .btn { padding: 0 12px; }
  .kpi .val { font-size: 19px; }
  .metric-col { min-width: 140px; max-width: 160px; }
  .try-about { float: none; display: block; margin-top: 6px; }
  .panel { top: 0; border-radius: 0; }
}
.key-status { display: flex; gap: 10px; align-items: center; }
.acct-link { font-size: 14px; text-decoration: none; white-space: nowrap; }
.acct-link:hover { text-decoration: underline; }
.narrow-only { display: none !important; }
@media (max-width: 639px) { .wide-only { display: none !important; } .narrow-only { display: revert !important; } }
.status-line { background: var(--accent-soft); border-radius: 6px; padding: 8px 12px; font-size: 14px; margin: 0 0 12px; max-width: 72ch; }
.status-line:focus { outline: 2px solid var(--accent); }
.auth { max-width: 1040px; }
.auth.narrow { max-width: 36rem; }
.auth.signup { display: grid; grid-template-columns: minmax(0, 36rem) minmax(0, 20rem); gap: 20px 48px; align-items: start; }
.auth p, .account p { max-width: 72ch; }
.auth-side { background: var(--sheet); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; font-size: 14px; }
.auth-side h2 { font-size: 15px; }
.auth-side ul, .gives ul { padding-left: 18px; margin: 6px 0; }
.gives { margin: 8px 0 14px; }
.gives summary { cursor: pointer; color: var(--accent); }
@media (max-width: 899px) { .auth.signup { grid-template-columns: minmax(0, 1fr); } .auth-side { display: none; } .gives.narrow-only { display: block !important; } }
.aform { display: grid; gap: 14px; margin: 14px 0; max-width: 36rem; }
.ffield { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ffield > label { font-weight: 600; font-size: 14px; }
.ffield .hint { margin: 0; }
.ffield input, .ffield select { font: 15px var(--f-body); color: var(--ink); background: var(--sheet); border: 1.5px solid var(--line); border-radius: 6px; padding: 8px 10px; min-height: 40px; width: 100%; max-width: 30rem; }
.ffield input[type="email"] { min-width: 0; }
.ffield input[aria-invalid="true"], .ffield select[aria-invalid="true"] { border-color: var(--bad); }
.with-show { display: flex; gap: 6px; max-width: 30rem; }
.with-show input { flex: 1; min-width: 0; }
.field-error { color: var(--bad); font-weight: 600; font-size: 14px; margin: 0; }
.fcheck-row { display: flex; gap: 10px; align-items: flex-start; }
.fcheck-row input { margin-top: 2px; flex: none; }
.fcheck-row label { font-size: 14px; }
.fcheck .hint { margin: 2px 0 0 28px; }
.terms-change { margin: -6px 0 0 28px; }
.terms-change ul { margin: 2px 0; padding-left: 18px; }
.error-summary { border: 2px solid var(--bad); border-radius: 8px; padding: 12px 14px; background: var(--sheet); }
.error-summary h2 { font-size: 16px; color: var(--bad); }
.error-summary ul { margin: 4px 0; padding-left: 18px; }
.error-summary:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.forgot { margin: -6px 0 0; font-size: 14px; }
.linkish.resend, .linkish.inline { font-size: inherit; }
.account { max-width: 1100px; }
.acct-grid { display: grid; grid-template-columns: 11rem minmax(0, 46rem); gap: 24px 36px; align-items: start; margin-top: 14px; }
.acct-nav { position: sticky; top: 76px; font-size: 14px; }
.acct-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.acct-nav a { text-decoration: none; }
.acct-nav a:hover { text-decoration: underline; }
@media (max-width: 899px) { .acct-grid { grid-template-columns: minmax(0, 1fr); } .acct-nav { display: none !important; } }
.acct-sec { background: var(--sheet); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; margin: 0 0 14px; scroll-margin-top: 80px; }
.acct-sec h2:focus, .acct-sec h3:focus, .auth h1:focus, .account h1:focus { outline: none; }
.acct-sec .aform { margin: 8px 0; }
.field-row { align-items: flex-end; }
.field-row .ffield { flex: 1 1 16rem; }
table.keys caption { text-align: left; font-weight: 600; padding: 4px 0 8px; }
table.keys th[scope="row"] { font-weight: 600; overflow-wrap: anywhere; }
table.keys .key-actions { white-space: nowrap; text-align: right; }
.cell-label { display: none; }
.disclosure > summary { cursor: pointer; color: var(--accent); font-weight: 600; font-size: 14px; display: inline-block; padding: 4px 0; }
.row-action { display: inline-block; margin-left: 10px; text-align: left; white-space: normal; }
.disclosure-panel { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; margin: 8px 0; background: var(--paper); }
.key-actions .disclosure-panel { min-width: 18rem; }
.key-created { border: 2px solid var(--accent); border-radius: 10px; padding: 14px 16px; margin: 12px 0; }
.key-created h3:focus { outline: none; }
.usage-row { margin: 10px 0 14px; }
.usage-row p { margin: 2px 0; }
.usage-label { font-weight: 600; }
meter { width: 100%; max-width: 24rem; height: 14px; }
.method { border-top: 1px solid var(--line); padding: 10px 0; }
.method:first-of-type { border-top: 0; }
.method p { margin: 2px 0; }
.method-name { font-weight: 600; }
.acct-kv { margin-bottom: 8px; }
.hint.block { display: block; }
.delete-page h1 { margin-bottom: 10px; }
.prov-list { display: grid; gap: 10px; max-width: 30rem; margin: 14px 0 6px; }
.btn.prov { gap: 12px; justify-content: center; min-height: 40px; padding: 8px 14px; border-width: 1px; font: 500 14px var(--f-body); }
.btn.prov svg { flex: none; }
.btn.prov:hover { box-shadow: 0 1px 3px rgba(0, 0, 0, .3); background: var(--gbtn); }
.prov-google, .btn.prov-google:hover { background: var(--gbtn); color: var(--gbtn-ink); border-color: var(--gbtn-line); }
.prov-microsoft, .btn.prov-microsoft:hover { background: var(--mbtn); color: var(--mbtn-ink); border-color: var(--mbtn-line); font-weight: 600; }
.prov-block .or-rule { display: flex; align-items: center; gap: 10px; max-width: 30rem; margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.or-rule::before, .or-rule::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.method .btn.prov { margin-top: 6px; }
.confirm-you { border: 2px solid var(--accent); border-radius: 8px; padding: 12px 14px; margin: 8px 0; }
@media (max-width: 639px) {
  .aform .btn, .acct-sec .btn, .auth .btn, .with-show .btn.show { min-height: 44px; }
  .aform .btn.wide, .acct-sec .btn:not(.show):not(.small), .auth p > .btn { width: 100%; justify-content: center; }
  .ffield input, .ffield select { min-height: 44px; max-width: none; }
  .with-show { max-width: none; }
  .key-created .keyfield { min-height: 44px; width: 100%; flex-basis: 100%; }
  .stack-narrow { flex-direction: column; align-items: stretch; }
  table.keys, table.keys tbody, table.keys tr, table.keys th, table.keys td { display: block; width: 100%; }
  table.keys caption { display: block; width: 100%; }
  table.keys thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.keys tr { border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; margin: 0 0 10px; }
  table.keys th, table.keys td { border: 0; padding: 3px 0; }
  table.keys th[scope="row"] { font-size: 15px; }
  table.keys td { display: grid; grid-template-columns: 6.5rem 1fr; gap: 8px; }
  .cell-label { display: inline; color: var(--muted); }
  table.keys .key-actions { display: block; text-align: left; white-space: normal; }
  .row-action { display: block; margin: 4px 0 0; }
  .key-actions .disclosure-panel { min-width: 0; }
}
@media (forced-colors: active) {
  .mark { forced-color-adjust: auto; }
  button.cell[aria-expanded="true"] { outline: 2px solid; }
}
