@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Merriweather"; font-weight: 400; font-display: swap; src: url("../fonts/merriweather-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Merriweather"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/merriweather-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Merriweather"; font-weight: 700; font-display: swap; src: url("../fonts/merriweather-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Merriweather"; font-weight: 900; font-display: swap; src: url("../fonts/merriweather-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto Mono"; font-weight: 400; font-display: swap; src: url("../fonts/roboto-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto Mono"; font-weight: 500; font-display: swap; src: url("../fonts/roboto-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --c-compliant: #166534;
  --c-provisional: #d97706;
  --c-provisional-ink: #92400e;
  --c-noncompliant: #991b1b;
  --c-bg: #fafaf9;
  --c-surface: #ffffff;
  --c-text: #1c1917;
  --c-muted: #57534e;
  --c-faint: #78716c;
  --c-rule: #e7e5e4;
  --c-accent: #1f3a5f;
  --c-accent-soft: #4b6584;
  --c-accent-tint: #edf1f6;
  --c-link: #1d4ed8;
  --c-tint-compliant: #eef6f0;
  --c-tint-provisional: #fdf4e7;
  --c-tint-noncompliant: #f9eded;
  --font-serif: "Merriweather", Georgia, serif;
  --font-ui: "Inter", system-ui, sans-serif;
  --font-mono: "Roboto Mono", ui-monospace, monospace;
  --max-width: 1440px;
  --gutter: 32px;
}
@media (max-width: 720px) { :root { --gutter: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--c-bg); color: var(--c-text);
  font-family: var(--font-ui); font-size: 15px; line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
a { color: var(--c-link); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--c-link); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 700; line-height: 1.25; margin: 0; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--c-muted); }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.mock-banner {
  background: var(--c-text); color: var(--c-bg); font-size: 12px; text-align: center;
  padding: 4px 16px; letter-spacing: .02em;
}

/* Header and footer */
.site-header { background: var(--c-surface); border-bottom: 3px solid var(--c-accent); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; flex-wrap: wrap; }
.wordmark { font-family: var(--font-serif); font-weight: 900; font-size: clamp(15px, 4.6vw, 20px); white-space: nowrap; color: var(--c-text); text-decoration: none; letter-spacing: -.01em; }
.wordmark span { color: var(--c-muted); font-weight: 400; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; margin-left: auto; }
.nav a, .nav-account { color: var(--c-text); text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 12px; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--c-rule); }
.nav a[aria-current="page"] { border-bottom-color: var(--c-accent); }
.nav-account { border: 1px solid var(--c-text); border-radius: 3px; white-space: nowrap; }
.nav-account:hover { background: var(--c-text); color: var(--c-surface); }
@media (max-width: 720px) {
  .site-header .container { gap: 4px 6px; padding-top: 12px; padding-bottom: 4px; }
  .wordmark { flex-basis: 100%; min-width: 0; }
  .nav { margin-left: -4px; gap: 0; }
  .nav a, .nav-account { font-size: clamp(11px, 3.3vw, 14px); }
  .nav a { padding: 8px 4px; }
  .nav-account { padding: 4px 6px; margin-left: auto; }
}

.site-footer { border-top: 1px solid var(--c-rule); margin-top: 64px; padding: 32px 0 48px; font-size: 13px; color: var(--c-muted); }
.site-footer .container { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--c-text); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .disclaimer { flex-basis: 100%; margin: 0; padding-top: 16px; border-top: 1px solid var(--c-rule); font-size: 12px; color: var(--c-faint); }
.site-footer .disclaimer a { color: var(--c-muted); text-decoration: underline; }

/* Section heads */
.kicker { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c-accent); margin: 0 0 12px; }
.section { padding: 32px 0; border-top: 1px solid var(--c-rule); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.section-head h2 { font-size: 20px; }

/* Hero */
.hero { padding: 48px 0 40px; }
.hero h1 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 900; letter-spacing: -.015em; max-width: 22ch; }
.hero .lede { font-family: var(--font-serif); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.65; color: var(--c-muted); max-width: 62ch; margin: 20px 0 0; }
.notices { list-style: none; display: grid; grid-template-columns: max-content max-content minmax(0, 1fr); gap: 6px 16px; align-items: baseline; max-width: 72ch; margin: 20px 0 0; padding: 2px 0 2px 12px; border-left: 3px solid var(--c-accent); font-size: 13px; color: var(--c-muted); }
.notices li { display: contents; }
.notices strong { color: var(--c-accent); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.notices a { color: var(--c-text); font-weight: 500; }
@media (max-width: 520px) {
  .notices { grid-template-columns: max-content minmax(0, 1fr); gap: 2px 12px; }
  .notices a { grid-column: 1 / -1; margin-bottom: 6px; }
}

/* Scorecard */
.scorecard { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--c-rule); border-bottom: 1px solid var(--c-rule); background: var(--c-surface); }
.card { position: relative; padding: 20px 24px; border-left: 1px solid var(--c-rule); }
.card:first-child { border-left: 0; }
.card-label { font-size: 13px; font-weight: 500; color: var(--c-muted); margin: 0; }
.card-value { font-size: 40px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; margin: 6px 0 2px; }
.card-value small { font-size: 20px; font-weight: 500; color: var(--c-muted); }
.card-sub { font-size: 13px; color: var(--c-muted); margin: 0; }
.card-marker { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.delta { position: absolute; top: 16px; right: 16px; text-align: right; font-size: 12px; line-height: 1.45; }
.delta div { white-space: nowrap; }
.delta .up { color: var(--c-compliant); }
.delta .down { color: var(--c-noncompliant); }
.delta .period { color: var(--c-faint); }
@media (max-width: 960px) {
  .scorecard { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card:nth-child(3) { border-left: 0; }
  .card:nth-child(n+3) { border-top: 1px solid var(--c-rule); }
}
@media (max-width: 520px) {
  .scorecard { grid-template-columns: 1fr; }
  .card { border-left: 0; border-top: 1px solid var(--c-rule); }
  .card:first-child { border-top: 0; }
}

/* Insights */
.insights { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px 40px; }
.insights li { border-left: 3px solid var(--c-accent); padding: 2px 0 2px 16px; }
.insights p { font-family: var(--font-serif); font-size: 16px; line-height: 1.65; margin: 0 0 6px; }
.insights a { font-size: 13px; font-weight: 500; }

/* Chart row */
.chart-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 960px) { .chart-row { grid-template-columns: 1fr; } }
.panel { background: var(--c-surface); border: 1px solid var(--c-rule); padding: 20px; display: flex; flex-direction: column; min-width: 0; }
.panel h3 { font-size: 16px; }
.panel .caption { font-size: 13px; color: var(--c-muted); margin: 4px 0 16px; }
.chart-box { position: relative; height: 240px; }
.legend { list-style: none; margin: 16px 0 0; padding: 0; font-size: 13px; }
.legend li { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.legend .swatch { width: 10px; height: 10px; border-radius: 2px; flex: none; }
.legend .name { flex: 1; }
.legend .num { font-weight: 600; }
.legend .pct { color: var(--c-muted); width: 52px; text-align: right; }
.table-view { margin-top: auto; padding-top: 12px; font-size: 13px; }
.table-view summary { cursor: pointer; color: var(--c-link); }
.table-view table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.table-view th, .table-view td { text-align: left; padding: 4px 0; border-bottom: 1px solid var(--c-rule); }
.table-view td:not(:first-child), .table-view th:not(:first-child) { text-align: right; }


/* Dashboard body: filters + list */
.dash { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 960px) { .dash { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.filters { position: sticky; top: 16px; background: var(--c-surface); border: 1px solid var(--c-rule); padding: 20px; font-size: 14px; }
@media (max-width: 960px) { .filters { position: static; } }
.filters-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.filters-head h2 { font-family: var(--font-ui); font-size: 15px; font-weight: 600; }
.filters-head a { font-size: 13px; }
.field { margin: 0 0 20px; padding: 0; border: 0; }
.field > label:not(.radio), .field legend { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--c-accent); margin-bottom: 8px; padding: 0; }
.input, .select {
  width: 100%; font: inherit; font-size: 14px; color: var(--c-text); background: var(--c-surface);
  border: 1px solid #d6d3d1; border-radius: 3px; padding: 8px 10px;
}
.input:focus, .select:focus { outline: 2px solid var(--c-link); outline-offset: 0; border-color: var(--c-link); }
.radio { display: flex; align-items: center; gap: 8px; padding: 4px 0; cursor: pointer; }
.radio input { accent-color: var(--c-text); margin: 0; }
.radio .count { margin-left: auto; color: var(--c-muted); font-size: 13px; }
.share { display: flex; border: 1px solid #d6d3d1; border-radius: 3px; background: var(--c-bg); }
.share code { flex: 1; min-width: 0; font-family: var(--font-mono); font-size: 12px; padding: 8px 10px; overflow-x: auto; white-space: nowrap; }
.share button { font: inherit; font-size: 13px; font-weight: 500; color: var(--c-link); background: none; border: 0; border-left: 1px solid #d6d3d1; padding: 0 12px; cursor: pointer; }
.updated { border-top: 1px solid var(--c-rule); padding-top: 16px; margin-top: 4px; font-size: 13px; color: var(--c-muted); }
.updated strong { display: block; color: var(--c-text); font-weight: 500; }

.list-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 2px solid var(--c-text); }
.list-head h2 { font-size: 20px; }
.list-head .meta { font-size: 13px; color: var(--c-muted); }
.list-head select { font: inherit; font-size: 13px; border: 1px solid #d6d3d1; border-radius: 3px; padding: 4px 6px; background: var(--c-surface); }

/* Bill segment rows */
.seg { border-bottom: 1px solid var(--c-rule); padding: 16px 0; }
.seg-main { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 4px 16px; align-items: start; }
.seg-id { font-family: var(--font-mono); font-weight: 500; font-size: 15px; color: var(--c-accent); text-decoration: none; padding-top: 1px; }
.seg-id:hover { text-decoration: underline; }
.seg-title { font-family: var(--font-serif); font-size: 16px; line-height: 1.45; margin: 0; }
.seg-title a { color: var(--c-text); text-decoration: none; }
.seg-title a:hover { text-decoration: underline; }
.seg-meta { font-size: 13px; color: var(--c-muted); margin: 2px 0 10px; }
.seg-meta a { color: var(--c-muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 640px) {
  .seg-main { grid-template-columns: 1fr; }
  .seg-main .label { justify-self: start; }
}

.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; padding: 3px 8px; border-radius: 3px; border: 1px solid transparent; cursor: default; }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.chip b { font-weight: 600; }
.chip.met { background: var(--c-tint-compliant); color: var(--c-compliant); }
.chip.met .dot { background: var(--c-compliant); }
.chip.prov { background: var(--c-tint-provisional); color: var(--c-provisional-ink); }
.chip.prov .dot { background: var(--c-provisional); }
.chip.unmet { background: var(--c-tint-noncompliant); color: var(--c-noncompliant); }
.chip.unmet .dot { background: var(--c-noncompliant); }
.chip.na { background: transparent; color: var(--c-muted); border-color: var(--c-rule); }
.chip.na .dot { background: transparent; border: 1.5px solid var(--c-faint); width: 7px; height: 7px; }

.label { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding: 4px 8px; border-radius: 3px; white-space: nowrap; color: #fff; }
.label.compliant { background: var(--c-compliant); }
.label.provisional { background: var(--c-provisional-ink); }
.label.noncompliant { background: var(--c-noncompliant); }
.label.quiet { background: transparent; color: var(--c-muted); border: 1px solid var(--c-rule); }

/* Tooltips */
[data-tip] { position: relative; }
[data-tip]:hover::after, [data-tip]:focus-visible::after {
  content: attr(data-tip); position: absolute; z-index: 20; left: 0; bottom: calc(100% + 8px);
  width: max-content; max-width: min(320px, 80vw); white-space: normal;
  background: var(--c-text); color: var(--c-bg); font-family: var(--font-serif); font-size: 13px; font-weight: 400;
  line-height: 1.55; letter-spacing: 0; text-transform: none; padding: 8px 12px; border-radius: 4px;
  box-shadow: 0 4px 12px rgba(28, 25, 23, .18); pointer-events: none;
}

/* Audit accordion */
.audit { margin: 12px 0 0 92px; }
@media (max-width: 640px) { .audit { margin-left: 0; } }
.audit > summary { cursor: pointer; font-size: 13px; font-weight: 500; color: var(--c-link); list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.audit > summary::-webkit-details-marker { display: none; }
.audit > summary::before { content: ""; width: 0; height: 0; border-left: 5px solid currentColor; border-top: 4px solid transparent; border-bottom: 4px solid transparent; transition: transform .15s; }
.audit[open] > summary::before { transform: rotate(90deg); }
.audit-body { margin-top: 12px; background: var(--c-surface); border: 1px solid var(--c-rule); }
.req { padding: 16px 20px; border-top: 1px solid var(--c-rule); }
.req:first-child { border-top: 0; }
.req-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.req-head h4 { font-family: var(--font-serif); font-size: 15px; margin: 0; }
.req-dates { margin-left: auto; font-size: 12px; color: var(--c-muted); display: flex; gap: 16px; }
.req-detail { font-family: var(--font-serif); font-size: 14px; line-height: 1.6; margin: 8px 0 12px; }
.req-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
@media (max-width: 900px) { .req-cols { grid-template-columns: 1fr; } }
.req-cols h5 { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c-faint); margin: 0 0 8px; }
.steps { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--c-rule); font-size: 13px; }
.steps li { position: relative; padding: 0 0 10px 12px; }
.steps li::before { content: ""; position: absolute; left: -21px; top: 5px; width: 8px; height: 8px; border-radius: 50%; background: var(--c-faint); box-shadow: 0 0 0 2px var(--c-surface); }
.steps li.k-due::before { background: var(--c-text); }
.steps .date { font-family: var(--font-mono); font-size: 12px; color: var(--c-muted); margin-right: 6px; }
.role { display: inline-block; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--c-rule); border-radius: 2px; padding: 0 4px; margin-left: 4px; color: var(--c-muted); vertical-align: 1px; }
.cite { font-size: 12px; white-space: nowrap; border-bottom: 1px dotted var(--c-muted); cursor: help; color: var(--c-text); }
.evidence { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.evidence li { padding: 0 0 10px; }
.evidence .src { font-size: 11px; font-weight: 600; color: var(--c-muted); }
.evidence q { font-family: var(--font-serif); quotes: none; display: block; margin: 2px 0; }
.evidence .absent { color: var(--c-muted); font-style: italic; }
.history { font-size: 13px; padding: 12px 20px; border-top: 1px solid var(--c-rule); background: var(--c-bg); }
.history ol { margin: 4px 0 0; padding-left: 18px; }
.provenance { font-size: 12px; padding: 12px 20px; border-top: 1px solid var(--c-rule); background: var(--c-bg); }
.provenance summary { cursor: pointer; color: var(--c-muted); }
.provenance dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 16px; margin: 8px 0 0; }
.provenance dt { color: var(--c-muted); }
.provenance dd { margin: 0; font-family: var(--font-mono); overflow-wrap: anywhere; }

.pager { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-size: 14px; }
.btn { display: inline-block; font: inherit; font-size: 14px; font-weight: 500; text-decoration: none; padding: 8px 16px; border-radius: 3px; border: 1px solid var(--c-text); background: var(--c-surface); color: var(--c-text); cursor: pointer; }
.btn:hover { background: var(--c-text); color: var(--c-surface); }
.btn.primary { background: var(--c-text); color: var(--c-surface); }
.btn.primary:hover { background: #44403c; }
.btn[aria-disabled="true"] { opacity: .4; pointer-events: none; }
.btn.small { font-size: 13px; padding: 4px 10px; }

/* Narrative pages */
.page-head { padding: 48px 0 24px; border-bottom: 1px solid var(--c-rule); }
.page-head h1 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 900; letter-spacing: -.01em; }
.page-head .dek { font-family: var(--font-serif); font-size: 18px; color: var(--c-muted); line-height: 1.6; max-width: 62ch; margin: 12px 0 0; }
.prose { max-width: 720px; font-family: var(--font-serif); font-size: 17px; line-height: 1.75; }
.prose h2 { font-size: 24px; margin: 40px 0 12px; }
.prose p, .prose ul { margin: 0 0 18px; }
.prose h3 { font-family: var(--font-ui); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--c-accent); margin: 20px 0 6px; }
.release + .release { border-top: 1px solid var(--c-rule); }
.update-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0 24px; padding: 24px 0 4px; }
.update-filters .field:first-child { flex: 1 1 240px; max-width: 360px; }
.update-filters .select { width: auto; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { position: relative; display: inline-flex; align-items: center; font-size: 13px; font-weight: 500; padding: 6px 12px; border: 1px solid #d6d3d1; border-radius: 999px; background: var(--c-surface); cursor: pointer; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill:has(input:checked) { background: var(--c-text); border-color: var(--c-text); color: var(--c-surface); }
.pill:has(input:focus-visible) { outline: 2px solid var(--c-link); outline-offset: 2px; }
.update-list { list-style: none; margin: 0; padding: 0; max-width: 720px; }
.update-list li { padding: 24px 0; border-bottom: 1px solid var(--c-rule); }
.update-list h2 { font-size: 22px; margin: 4px 0 8px; }
.update-list h2 a { color: var(--c-text); text-decoration: none; }
.update-list h2 a:hover { text-decoration: underline; }
.update-list p { font-family: var(--font-serif); line-height: 1.65; margin: 0; }
.update-meta { font-size: 13px; color: var(--c-muted); margin: 12px 0 0; }
.update-list .update-meta { font-family: var(--font-ui); }
.update-meta .kicker { display: inline; margin: 0 8px 0 0; }
.page-head .kicker a { color: inherit; text-decoration: none; }
.update-list .update-source { font-family: var(--font-ui); font-size: 13px; color: var(--c-muted); margin-top: 6px; }
.prose .update-link { font-family: var(--font-ui); font-size: 15px; padding-top: 24px; }
.prose .update-back { font-family: var(--font-ui); font-size: 14px; margin-top: 40px; }
.release-date { font-family: var(--font-ui); font-size: 13px; color: var(--c-muted); }
.prose blockquote { margin: 0 0 18px; padding: 12px 16px; background: var(--c-accent-tint); border-left: 3px solid var(--c-accent); font-size: 15px; }
.prose table { width: 100%; border-collapse: collapse; font-family: var(--font-ui); font-size: 14px; margin: 0 0 24px; }
.prose th, .prose td { text-align: left; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--c-rule); vertical-align: top; }
.prose th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--c-muted); border-bottom: 2px solid var(--c-text); }
.with-toc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; padding-top: 32px; }
@media (max-width: 960px) { .with-toc { grid-template-columns: 1fr; gap: 16px; } }
.toc { position: sticky; top: 16px; font-size: 14px; align-self: start; }
@media (max-width: 960px) { .toc { position: static; } }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--c-rule); }
.toc a { display: block; padding: 4px 0 4px 13px; margin-left: -1px; border-left: 2px solid transparent; color: var(--c-muted); text-decoration: none; }
.toc a[aria-current] { color: var(--c-accent); font-weight: 600; border-left-color: var(--c-accent); }
.toc a:hover { color: var(--c-text); }

/* Forms and account pages */
.narrow { max-width: 520px; margin: 0 auto; padding: 56px 0; }
.form-card { background: var(--c-surface); border: 1px solid var(--c-rule); padding: 32px; }
.form-card h1 { font-size: 28px; }
.form-card .dek { font-family: var(--font-serif); color: var(--c-muted); margin: 8px 0 24px; line-height: 1.6; }
.check { display: grid; grid-template-columns: 18px 1fr; gap: 10px; padding: 8px 0; font-size: 14px; cursor: pointer; }
.check input { accent-color: var(--c-text); margin: 3px 0 0; width: 16px; height: 16px; }
.check small { display: block; color: var(--c-muted); font-size: 13px; }
.form-note { font-size: 13px; color: var(--c-muted); margin: 16px 0 0; }
.check-group { border: 0; margin: 0 0 24px; padding: 0; }
.check-group legend { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--c-accent); margin-bottom: 4px; padding: 0; }

.account { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; padding-top: 32px; }
@media (max-width: 960px) { .account { grid-template-columns: minmax(0, 1fr); } }
.block { background: var(--c-surface); border: 1px solid var(--c-rule); padding: 24px; margin-bottom: 24px; }
.block h2 { font-size: 18px; margin-bottom: 4px; }
.block .dek { font-size: 13px; color: var(--c-muted); margin: 0 0 16px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--c-muted); padding: 8px 12px 8px 0; border-bottom: 2px solid var(--c-text); }
.data-table td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--c-rule); vertical-align: top; }
.data-table .toggles { display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.data-table .toggles label { display: inline-flex; gap: 4px; align-items: center; }
.data-table input { accent-color: var(--c-text); }
.table-scroll { overflow-x: auto; }
.snippet { font-family: var(--font-mono); font-size: 12px; background: var(--c-bg); border: 1px solid #d6d3d1; border-radius: 3px; padding: 10px; overflow-x: auto; white-space: pre; margin: 12px 0; }
.download { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--c-rule); }
.download:last-child { border-bottom: 0; }
.download small { display: block; color: var(--c-muted); font-size: 12px; }

/* Bill permalink */
.bill-head { padding: 40px 0 24px; }
.bill-head .bill-id { font-family: var(--font-mono); font-size: 15px; font-weight: 500; color: var(--c-muted); }
.bill-head h1 { font-size: clamp(26px, 3vw, 36px); margin: 6px 0 12px; max-width: 30ch; }
.bill-head .actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.bill-summary { font-family: var(--font-serif); font-size: 16px; line-height: 1.6; max-width: 70ch; color: var(--c-muted); margin: 0; }
.seg-card { border-top: 2px solid var(--c-text); padding-top: 16px; margin-top: 32px; }
.seg-card .audit { margin-left: 0; }

.strip-wrap { margin: 8px 0 4px; }
.strip { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--font-ui); }
.strip .axis line { stroke: var(--c-rule); stroke-width: 1; }
.strip .axis text { fill: var(--c-faint); font-size: 10px; text-anchor: middle; font-variant-numeric: tabular-nums; }
.strip .median line { stroke: var(--c-faint); stroke-width: 1; stroke-dasharray: 2 3; }
.strip .median text { fill: var(--c-muted); font-size: 10px; text-anchor: middle; }
.strip .dot { fill: var(--c-accent-soft); stroke: var(--c-surface); stroke-width: 2; }
.strip .hit { fill: transparent; }
.strip g[tabindex]:hover .dot, .strip g[tabindex]:focus .dot { fill: var(--c-accent); }
.strip g[tabindex]:focus { outline: none; }
.strip g[tabindex]:focus .dot { stroke: var(--c-link); }
.strip .selected .dot { fill: var(--c-link); }

/* Markers, swatches and spacing as classes: the CSP allows no inline styles. */
.card-marker.noncompliant { background: var(--c-noncompliant); }
.card-marker.provisional { background: var(--c-provisional); }
.swatch.compliant { background: var(--c-compliant); }
.swatch.provisional { background: var(--c-provisional); }
.swatch.noncompliant { background: var(--c-noncompliant); }
.legend a.name { color: var(--c-text); text-decoration: none; }
.legend a.name:hover { text-decoration: underline; }
.chart-box.pie { height: 200px; }
.section.flush { border-top: 0; }
.section-head .aside { font-size: 13px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--c-surface); padding: 8px 12px; z-index: 10; }
.skip-link:focus { left: 8px; }
.crumbs { margin: 24px 0 0; font-size: 13px; }
.seg-note { font-size: 13px; color: var(--c-muted); margin: 8px 0 0; }
.seg-meta .ext { color: var(--c-muted); }
.audit-fallback { font-size: 13px; padding: 12px 0 0; margin: 0; }
.notice { background: var(--c-tint-provisional); color: var(--c-provisional-ink); padding: 8px 12px; font-size: 13px; margin: 8px 0; }
.empty { padding: 32px 0; color: var(--c-muted); }
.form-narrow { max-width: 640px; }
.form-errors { border-left: 3px solid var(--c-noncompliant); background: var(--c-tint-noncompliant); padding: 8px 16px; margin-bottom: 16px; font-size: 14px; }
.form-errors ul { margin: 0; padding-left: 18px; }
textarea.input { resize: vertical; font-family: var(--font-ui); }
.field.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.data-table td.num, .data-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.updated span { display: block; color: var(--c-muted); }
.seg { scroll-margin-top: 16px; }
.btn.wide { width: 100%; }
.watch { display: inline-flex; gap: 8px; align-items: center; margin: 0; }
.watch .muted { font-size: 13px; }
#share .watch { margin-top: 12px; }
.watch-sub { font-size: 13px; }
.watch-labels { display: flex; gap: 6px; flex-wrap: wrap; }
.inline-form { display: inline; margin: 0; }
.link-button { font: inherit; color: var(--c-link); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
.saved { font-size: 13px; color: var(--c-compliant); margin: 0 0 16px; }
.download > div { min-width: 0; }
.download .btn { flex: none; }
.download .mono { overflow-wrap: anywhere; }
.key-form { display: flex; gap: 8px; margin-top: 12px; }
.key-form .input { flex: 1; min-width: 0; }
#api-keys .notice p { margin: 0 0 8px; }
#api-keys .data-table td:last-child { text-align: right; }
.preview-head { margin-top: 24px; }
.embed-preview { display: block; border: 0; max-width: 100%; margin-top: 8px; }

/* Step diagrams */
.flow { margin: 8px 0 32px; font-family: var(--font-ui); }
.flow ol { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.flow ol > li { position: relative; padding: 20px 16px 0 0; border-top: 2px solid var(--c-accent-soft); }
.flow ol > li:last-child { border-top-color: transparent; }
.flow ol > li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 3px var(--c-bg); }
.flow .flow-step { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--c-accent); margin: 0 0 4px; }
.flow p { font-size: 14px; line-height: 1.5; color: var(--c-muted); margin: 0 0 10px; }
.flow ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.flow ul li { background: var(--c-accent-tint); border-left: 3px solid var(--c-accent); padding: 6px 8px; font-size: 13px; line-height: 1.4; }
.flow ul strong { display: block; }
.flow figcaption { font-size: 13px; line-height: 1.5; color: var(--c-muted); margin-top: 16px; }
@media (max-width: 640px) {
  .flow ol { grid-auto-flow: row; }
  .flow ol > li { border-top: 0; border-left: 2px solid var(--c-accent-soft); padding: 0 0 20px 20px; }
  .flow ol > li:last-child { border-left-color: transparent; padding-bottom: 0; }
  .flow ol > li::before { top: 3px; left: -7px; }
}
