:root {
  color-scheme: light;
  --paper: #f7f5ef;
  --surface: #fffdf8;
  --ink: #202a31;
  --muted: #5b625f;
  --accent: #9f3e25;
  --accent-soft: #f1e6dd;
  --rule: #d5d8ce;
  --control: #858a82;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #141c22;
    --surface: #1b252c;
    --ink: #eceee7;
    --muted: #b1bbb8;
    --accent: #f2a081;
    --accent-soft: #302925;
    --rule: #36434a;
    --control: #79868a;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #141c22;
  --surface: #1b252c;
  --ink: #eceee7;
  --muted: #b1bbb8;
  --accent: #f2a081;
  --accent-soft: #302925;
  --rule: #36434a;
  --control: #79868a;
}

* { box-sizing: border-box; }
html { font-size: 16px; scrollbar-gutter: stable; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.6; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
p, h1, h2, h3, h4, ul, ol, dl, figure { margin: 0; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.3; }
fieldset { margin: 0; padding: 0; border: 0; min-inline-size: 0; }
legend { padding: 0; }
svg { flex-shrink: 0; }
time, code { overflow-wrap: anywhere; }
[hidden] { display: none !important; }
html:not(.js) .js-only, html:not(.js) .record-review { display: none !important; }
html:not(.js) .review-control { visibility: hidden; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { color: var(--ink); background: var(--accent-soft); }
.container { width: min(1200px, calc(100% - 72px)); margin-inline: auto; }
.icon { width: 20px; height: 20px; vertical-align: middle; }
.mono, .eyebrow, .record-id, .snapshot-date { font-family: var(--mono); }
.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; }
.print-only { display: none; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 16px; padding: 12px 20px; background: var(--ink); color: var(--paper); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); color: var(--paper); }

.masthead-row { display: flex; align-items: center; gap: 28px; padding-block: 26px 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; font-size: 29px; font-weight: 750; letter-spacing: -1.25px; line-height: 1; }
.wire-mark { width: 38px; height: 38px; }
.mark-accent { color: var(--accent); }
.brand-caption { color: var(--muted); font-size: 14px; padding-top: 3px; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; margin-left: auto; padding: 10px 4px 10px 12px; border: 0; background: transparent; color: var(--muted); font-size: 13px; }
.theme-toggle:hover { color: var(--ink); }
.theme-moon { display: none; }
:root[data-appearance="dark"] .theme-moon { display: block; }
:root[data-appearance="dark"] .theme-sun { display: none; }
.masthead-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--rule); }
.primary-nav { display: flex; gap: 30px; }
.primary-nav a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 54px; padding-block: 13px; border-bottom: 2px solid transparent; text-decoration: none; white-space: nowrap; font-size: 16px; color: var(--muted); }
.primary-nav a[aria-current="page"] { color: var(--ink); border-color: var(--accent); }
.primary-nav a:hover { color: var(--ink); }
.snapshot-date { color: var(--muted); font-size: 11.5px; text-align: right; }

.hero { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr); gap: 72px; align-items: end; padding-block: 68px 60px; }
.eyebrow { color: var(--muted); font-size: 12px; letter-spacing: .035em; line-height: 1.6; }
.hero h1 { max-width: 18ch; margin-top: 16px; font-family: var(--serif); font-size: clamp(44px, 5.7vw, 76px); font-weight: 400; letter-spacing: -.035em; line-height: 1.04; }
.hero-deck { max-width: 51ch; margin-top: 23px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.hero-note { min-width: 0; border-left: 1px solid var(--rule); padding-left: 28px; padding-bottom: 3px; }
.source-symbol { display: block; width: 40px; height: 32px; color: var(--accent); margin-bottom: 9px; }
.source-status { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 600; text-decoration: none; }
.source-status-detail { color: var(--muted); font-family: var(--mono); font-size: 11.5px; line-height: 1.8; }
.hero-method { color: var(--muted); font-size: 14px; line-height: 1.7; margin-top: 16px; max-width: 34ch; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-bottom: 22px; }
.section-heading h2 { font-size: 21px; font-weight: 600; letter-spacing: -.025em; }
.results-caption { color: var(--muted); font-family: var(--mono); font-size: 12px; text-align: right; }
.wire-view .section-heading { flex-wrap: wrap; align-items: center; }
.sort-toggle { display: flex; margin-left: auto; }
.live-update:empty { display: none; }
.live-update { margin-block: 0 12px; }
.live-update button { min-height: 44px; padding-inline: 16px; border: 1px solid var(--accent); background: var(--surface); color: var(--ink); font: inherit; font-size: 15px; cursor: pointer; }
.live-update button:hover { background: var(--accent); color: var(--surface); }
.sort-toggle a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 14px; border: 1px solid var(--rule); color: var(--muted); font-size: 14px; text-decoration: none; }
.sort-toggle a + a { border-left: 0; }
.sort-toggle a[aria-current="true"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.sort-toggle a:hover { color: var(--ink); }
.section-deck { color: var(--muted); font-size: 14px; margin-top: 10px; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 10px 19px; background: transparent; border: 1px solid var(--control); border-radius: 3px; color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 500; line-height: 1.5; transition: background-color .15s, border-color .15s; }
.button:hover { background: var(--surface); border-color: var(--ink); color: var(--ink); }
.button-accent { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.button-accent:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.text-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 12px; border: 0; border-radius: 0; background: transparent; font-size: 14px; text-underline-offset: 4px; }
.text-button:hover { color: var(--accent); text-decoration: underline; }
.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 3px; background: transparent; }
.icon-button:hover { background: var(--surface); color: var(--accent); }
.filter-form { margin-bottom: 4px; }
.search-line { display: flex; align-items: stretch; gap: 10px; }
.search-field { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; min-height: 50px; padding-inline: 16px 12px; background: var(--surface); border: 1px solid var(--control); border-radius: 3px; }
.search-field > .icon { color: var(--muted); }
.search-field input { width: 100%; min-width: 0; min-height: 48px; padding: 10px 0; border: 0; border-radius: 0; background: transparent; outline: 0; font-size: 16px; line-height: 1.5; }
.search-field input::placeholder { color: var(--muted); opacity: 1; }
.search-field:focus-within { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 2px; }
.search-field kbd { display: grid; place-items: center; min-width: 24px; height: 25px; border: 1px solid var(--rule); border-radius: 2px; color: var(--muted); font-family: var(--mono); font-size: 12px; }
.search-button { padding-inline: 24px; }
.filter-line { margin-top: 14px; }
.category-nav { display: flex; align-items: center; gap: 24px; min-height: 48px; padding-right: 178px; overflow-x: auto; scrollbar-width: none; }
.category-nav::-webkit-scrollbar { display: none; }
.category-nav a { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 48px; padding-block: 10px; border-bottom: 2px solid transparent; font-size: 16px; text-decoration: none; color: var(--muted); white-space: nowrap; }
.category-nav a[aria-current="true"] { border-color: var(--accent); color: var(--ink); }
.category-nav a:hover { color: var(--ink); }
.advanced-filters { margin-top: -48px; pointer-events: none; }
.advanced-filters > summary, .advanced-filters > fieldset { pointer-events: auto; }
summary { display: flex; align-items: center; gap: 9px; min-height: 44px; padding-block: 10px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 500; }
summary::-webkit-details-marker { display: none; }
summary::marker { content: ''; }
.advanced-filters > summary { width: fit-content; min-height: 48px; margin-left: auto; }
.disclosure-icon { width: 16px; height: 16px; transition: transform .15s; }
details[open] > summary .disclosure-icon { transform: rotate(180deg); }
.filter-count { font-family: var(--mono); color: var(--accent); font-size: 12px; }
.filter-count::before { content: '('; }
.filter-count::after { content: ')'; }
.filter-fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 19px 20px; margin-block: 16px 20px; padding: 24px; border: 1px solid var(--rule); background: var(--surface); }
.field { min-width: 0; }
.field > label { display: block; font-size: 14px; margin-bottom: 8px; }
.field select { width: 100%; min-width: 0; min-height: 46px; padding: 9px 30px 9px 12px; background: var(--paper); border: 1px solid var(--control); border-radius: 3px; font-size: 16px; }
.checkbox-field { display: flex; align-items: center; gap: 10px; min-height: 44px; grid-column: 1 / span 2; font-size: 16px; cursor: pointer; }
input[type="checkbox"] { width: 19px; height: 19px; flex-shrink: 0; margin: 0; accent-color: var(--accent); }
.filter-help { align-self: center; grid-column: 3 / -1; color: var(--muted); font-size: 13px; line-height: 1.6; }
.filter-fields > .text-button { justify-self: start; padding-left: 0; }
.active-filter-summary { color: var(--muted); font-size: 14px; padding-block: 11px; overflow-wrap: anywhere; }
.active-filter-summary strong { font-weight: 500; color: var(--ink); }
.feedback { color: var(--muted); font-size: 14px; padding-block: 10px; overflow-wrap: anywhere; }
.feedback:empty { display: none; }
.feedback.is-error { color: var(--accent); }
.feedback button { margin-left: 8px; padding: 8px 4px; color: inherit; }

.wire-list { border-top: 1px solid var(--rule); }
.wire-card { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 26px; padding-block: 27px 23px; border-bottom: 1px solid var(--rule); }
.wire-date { padding-top: 2px; color: var(--muted); font-family: var(--mono); font-size: 12px; line-height: 1.8; }
.wire-body { min-width: 0; }
.wire-kicker, .record-kicker { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px 16px; color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.record-id { font-size: 12.5px; overflow-wrap: anywhere; }
.priority-label { color: var(--accent); font-weight: 600; }
.priority-label::before { content: ''; display: inline-block; width: 7px; height: 10px; margin-right: 7px; border-left: 2px solid var(--accent); transform: skewX(-18deg); vertical-align: -1px; }
.wire-title { max-width: 60ch; margin-block: 7px 7px; font-size: 22px; font-weight: 580; letter-spacing: -.023em; line-height: 1.38; overflow-wrap: anywhere; }
.wire-title a { display: inline-block; min-height: 44px; padding-block: 3px; text-decoration: none; }
.wire-title a:hover { text-decoration: underline; }
.wire-title .icon { width: 17px; height: 17px; margin-left: 9px; color: var(--muted); vertical-align: 0; }
.wire-summary { max-width: 83ch; font-size: 16px; line-height: 1.7; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.date-note { display: block; font-size: 11px; line-height: 1.4; }
@media print { .wire-summary { display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; } }
.wire-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px 20px; margin-top: 12px; }
.wire-source { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 10px; color: var(--muted); font-size: 12.5px; line-height: 1.7; min-width: 0; }
.wire-source a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; overflow-wrap: anywhere; }
.wire-source .icon { width: 13px; height: 13px; }
.origin-label { border-left: 1px solid var(--rule); padding-left: 10px; }
.meta-separator { margin-inline: 4px; color: var(--muted); font-weight: 400; }
.review-control { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding-block: 10px; color: var(--muted); font-size: 12.5px; line-height: 1.5; cursor: pointer; flex-shrink: 0; }
.review-control.is-reviewed { color: var(--accent); }
.review-control:hover { color: var(--ink); }
.wire-ai { display: flex; flex-wrap: wrap; gap: 3px 12px; margin-top: 14px; font-size: 13px; line-height: 1.7; }
.ai-role { font-weight: 600; }
.evidence-qualifier { border-left: 1px solid var(--rule); padding-left: 12px; color: var(--muted); }
.ai-context-note { flex-basis: 100%; color: var(--muted); }
.federal-date { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 5px; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.federal-qualifier { margin-left: 5px; }
.due-attention { color: var(--accent); }
.feed-pagination { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; padding-block: 26px; }
.feed-pagination > p { font-size: 14px; color: var(--muted); }
.pagination-actions { display: flex; align-items: center; gap: 20px; }
.button[aria-disabled="true"] { opacity: .5; cursor: progress; }
.ssr-pagination { display: flex; flex-wrap: wrap; gap: 20px; padding-block: 20px; }
.ssr-pagination a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; }
html.js .ssr-pagination, html:not(.js) .feed-pagination { display: none; }
.wire-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; border-top: 1px solid var(--rule); padding-block: 8px; }
.feed-links, .brief-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.feed-links a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 10px 6px; font-family: var(--mono); font-size: 12px; }
.feed-links a:first-child { padding-left: 0; justify-content: flex-start; }
.brief-actions .text-button:last-child { padding-right: 0; }
.coverage-note, .no-script-note { font-size: 13px; color: var(--muted); line-height: 1.7; }
.coverage-note a { display: inline-block; min-height: 44px; padding-block: 10px; }
.no-script-note { padding-block: 20px; }
.empty-state { border-block: 1px solid var(--rule); padding: 44px 0 40px; }
.empty-state h3 { font-family: var(--serif); font-size: 30px; font-weight: 400; letter-spacing: -.025em; }
.empty-state p { max-width: 62ch; margin-top: 12px; color: var(--muted); font-size: 16px; }
.empty-state .button, .empty-state .text-button { margin-top: 20px; }

.stack-panel { padding-block: 18px 22px; margin-bottom: 24px; border-block: 1px solid var(--rule); }
.stack-summary { font-size: 17px; line-height: 1.6; }
.stack-configuration { margin-top: 8px; }
.stack-configuration summary { font-size: 15px; width: fit-content; }
.stack-configuration fieldset { margin-top: 14px; }
.stack-configuration legend { font-size: 14px; font-weight: 500; margin-bottom: 16px; }
.stack-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; }
.stack-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-block: 14px 6px; }
.stack-tools input[type="search"] { flex: 1 1 260px; min-height: 44px; padding: 0 12px; border: 1px solid var(--rule); background: var(--surface); color: var(--ink); font: inherit; font-size: 16px; }
.stack-sort { display: flex; }
.segment { min-height: 44px; padding-inline: 14px; border: 1px solid var(--rule); background: transparent; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; }
.segment + .segment { border-left: 0; }
.segment[aria-pressed="true"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.stack-count { margin-left: auto; color: var(--muted); font-family: var(--mono); font-size: 12px; }
.stack-option.is-selected { font-weight: 600; }
.stack-more { margin-top: 10px; }
.stack-option { display: flex; align-items: center; gap: 10px; min-height: 48px; padding-block: 11px; border-bottom: 1px solid var(--rule); font-size: 16px; line-height: 1.5; cursor: pointer; overflow-wrap: anywhere; }
.stack-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding-block: 24px 8px; }
.stack-caveat { max-width: 90ch; font-size: 13px; color: var(--muted); margin-top: 11px; }
.ai-context { margin-block: 0 26px; padding: 3px 0 3px 20px; border-left: 2px solid var(--accent); }
.ai-context > p:first-child { font-size: 17px; }
.ai-context-caption { color: var(--muted); font-size: 14px; margin-top: 6px; max-width: 80ch; }
.trend-disclosure { margin-top: 12px; }
.trend-disclosure > summary { width: fit-content; }
.trend-body { margin-top: 12px; padding: 24px; border: 1px solid var(--rule); background: var(--surface); }
.trend-body h3 { font-family: var(--serif); font-size: 25px; font-weight: 400; letter-spacing: -.02em; }
.trend-body > p { margin-top: 12px; color: var(--muted); font-size: 14px; }
.trend-figure { margin-top: 26px; }
.trend-figure figcaption { margin-bottom: 16px; color: var(--muted); font-size: 12.5px; }
.chart-list { display: grid; gap: 12px; list-style: none; padding: 0; }
.trend-row { display: grid; grid-template-columns: 85px minmax(0, 1fr) 42px; gap: 16px; align-items: center; font-family: var(--mono); font-size: 12px; line-height: 1.6; }
.trend-row svg { display: block; width: 100%; height: 13px; }
.trend-row .chart-bar { fill: var(--accent); }
.trend-row .chart-track { fill: var(--rule); }
.trend-row .chart-count { text-align: right; }
.chart-table-disclosure { margin-top: 22px; }
.data-table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 16px; }
.data-table caption { text-align: left; color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.data-table th, .data-table td { padding: 12px 8px 12px 0; border-bottom: 1px solid var(--rule); text-align: left; }
.data-table th { font-weight: 500; }
.data-table td:last-child, .data-table th:last-child { text-align: right; }
.data-table td:last-child { font-family: var(--mono); font-size: 13px; }
.trend-source { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; margin-top: 14px; color: var(--muted); font-size: 12.5px; }
.trend-source a { min-height: 44px; padding-block: 10px; overflow-wrap: anywhere; }

.source-list { list-style: none; padding: 0; border-top: 1px solid var(--rule); }
.source-coverage { color: var(--muted); font-size: 16px; line-height: 1.75; margin-bottom: 24px; max-width: 90ch; }
.source-card { padding-block: 28px; border-bottom: 1px solid var(--rule); }
.source-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.source-head h3 { min-width: 0; font-size: 21px; letter-spacing: -.02em; }
.source-head h3 a { display: inline-block; min-height: 44px; padding-block: 4px; }
.source-status-label { font-family: var(--mono); font-size: 12.5px; flex-shrink: 0; color: var(--muted); }
.source-status-label.status-unavailable, .source-status-label.status-pending { color: var(--accent); }
.source-category { color: var(--muted); font-family: var(--mono); font-size: 11.5px; margin-top: 2px; }
.source-timing { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 24px; margin-block: 22px; }
.source-timing dt { color: var(--muted); font-size: 12px; margin-bottom: 7px; }
.source-timing dd { margin: 0; font-family: var(--mono); font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.source-notes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.source-notes h4 { font-family: var(--mono); font-size: 12px; font-weight: 400; margin-bottom: 8px; color: var(--muted); }
.source-notes p { font-size: 16px; line-height: 1.7; overflow-wrap: anywhere; }
.source-error { margin-top: 16px; padding: 0 16px; border: 1px solid var(--rule); }
.source-error summary { font-size: 13px; color: var(--accent); }
.source-error p { font-family: var(--mono); font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; padding-block: 4px 16px; }
.source-technical { margin-top: 14px; }
.source-detail-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 30px; padding-block: 12px; }
.source-detail-facts dt { font-size: 13px; color: var(--muted); }
.source-detail-facts dd { font-family: var(--mono); font-size: 12px; margin: 5px 0 0; }
.source-endpoints { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; font-size: 13px; }
.source-endpoints a { min-height: 44px; display: inline-flex; align-items: center; overflow-wrap: anywhere; }
.methodology { margin-top: 58px; border-top: 1px solid var(--rule); padding-top: 32px; }
.methodology > h2 { font-family: var(--serif); font-size: 38px; font-weight: 400; letter-spacing: -.025em; margin-top: 11px; }
.method-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 60px; margin-block: 34px; }
.method-grid h3 { font-size: 18px; margin-bottom: 12px; letter-spacing: -.015em; }
.method-grid p { font-size: 16px; line-height: 1.75; margin-top: 10px; color: var(--muted); }
.status-definitions { border-top: 1px solid var(--rule); padding-top: 8px; }
.status-definitions dl { margin-block: 16px; }
.status-definitions dl > div { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 24px; padding-block: 14px; border-bottom: 1px solid var(--rule); }
.status-definitions dt { font-weight: 500; font-size: 16px; }
.status-definitions dt .mono { color: var(--muted); font-size: 12px; font-weight: 400; }
.status-definitions dd { font-size: 16px; color: var(--muted); margin: 0; }
.data-access { margin-top: 36px; padding-block: 28px; border-top: 1px solid var(--rule); }
.data-access h2 { font-family: var(--serif); font-size: 30px; font-weight: 400; letter-spacing: -.02em; }
.data-access > p { max-width: 80ch; font-size: 16px; color: var(--muted); margin-block: 14px 22px; }
.data-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 30px; }
.data-links a { padding-block: 14px; min-height: 48px; border-bottom: 1px solid var(--rule); font-size: 15px; overflow-wrap: anywhere; }
.site-footer { display: flex; align-items: center; gap: 18px 28px; border-top: 1px solid var(--rule); padding-block: 25px 34px; margin-top: 64px; font-size: 13px; color: var(--muted); }
.site-footer a { min-height: 44px; display: inline-flex; align-items: center; }
.footer-brand { font-size: 19px; font-weight: 700; letter-spacing: -.75px; color: var(--ink); text-decoration: none; }
.site-footer > a:last-child { margin-left: auto; }

.record-page:empty { display: none; }
body:has(#recordPage:not([hidden]) .record-detail) #hero, body:has(#recordPage:not([hidden]) .record-detail) #mainViews { display: none; }
.record-page .record-detail { max-width: 960px; margin-inline: auto; }
.record-detail { min-width: 0; padding-bottom: 16px; }
.record-utility { display: flex; align-items: center; justify-content: space-between; gap: 10px 24px; border-bottom: 1px solid var(--rule); padding-block: 18px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding-block: 10px; text-decoration: none; font-size: 14px; }
.record-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 16px; }
.record-tools a, .record-tools button { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 0; border: 0; background: transparent; font-size: 13px; line-height: 1.5; }
.record-tools button:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.record-header { padding-block: 34px 8px; }
.record-title { max-width: 28ch; font-family: var(--serif); font-size: clamp(28px, 3.6vw, 46px); font-weight: 400; letter-spacing: -.03em; line-height: 1.13; margin-top: 18px; overflow-wrap: anywhere; }
.record-deck { max-width: 68ch; font-size: 18px; line-height: 1.65; margin-top: 18px; color: var(--muted); overflow-wrap: anywhere; }
.record-dateline { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-block: 24px 14px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.source-button { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding-block: 10px; border-bottom: 1px solid var(--accent); color: var(--accent); text-decoration: none; font-size: 16px; font-weight: 500; line-height: 1.6; overflow-wrap: anywhere; }
.source-button:hover { color: var(--ink); border-color: var(--ink); }
.ai-evidence { margin-top: 30px; padding: 21px 24px; border: 1px solid var(--rule); border-left: 2px solid var(--control); background: var(--surface); }
.ai-evidence.has-evidence { border-left-color: var(--accent); }
.evidence-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.evidence-heading h2 { font-size: 14px; font-weight: 500; }
.evidence-status { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.ai-evidence .attribution-title { font-size: 20px; font-weight: 550; letter-spacing: -.02em; margin-top: 12px; }
.ai-evidence > p { font-size: 16px; line-height: 1.75; margin-top: 8px; max-width: 78ch; overflow-wrap: anywhere; }
.ai-evidence .evidence-caveat { font-size: 13px; color: var(--muted); }
.record-section { margin-top: 38px; }
.record-section > h2, .federal-section h2 { font-size: 21px; letter-spacing: -.025em; margin-bottom: 16px; }
.record-section > p { max-width: 70ch; font-size: 17px; line-height: 1.75; margin-top: 14px; overflow-wrap: anywhere; }
.record-section > .evidence-caveat, .evidence-caveat { font-size: 13px; line-height: 1.75; color: var(--muted); }
.metric-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-block: 1px solid var(--rule); }
.metric-block { padding: 24px 28px 24px 0; min-width: 0; }
.metric-block + .metric-block { border-left: 1px solid var(--rule); padding-left: 28px; padding-right: 0; }
.metric-block h3 { font-size: 14px; font-weight: 500; }
.metric-value { font-family: var(--serif); font-size: 40px; line-height: 1.15; letter-spacing: -.025em; padding-block: 14px 6px; }
.metric-value.metric-missing { font-family: var(--sans); font-size: 22px; font-weight: 500; padding-block: 17px 9px; }
.metric-block > p:not(.metric-value) { margin-top: 10px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.metric-block > .metric-date { font-family: var(--mono); font-size: 11.5px !important; }
.metric-vector code { font-family: var(--mono); font-size: 11.5px; overflow-wrap: anywhere; }
.metric-block > .metric-explainer { font-size: 13px !important; }
.metric-block .text-link { font-size: 13px; }
.exploitation-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-block: 22px 6px; }
.exploitation-facts dt { color: var(--muted); font-size: 13px; }
.exploitation-facts dd { font-size: 16px; margin: 8px 0 0; }
.federal-section { margin-top: 28px; padding: 24px; border: 1px solid var(--rule); border-left: 2px solid var(--accent); }
.federal-section > p { max-width: 80ch; font-size: 16px; line-height: 1.75; margin-top: 14px; overflow-wrap: anywhere; }
.federal-section > .federal-deadline { font-family: var(--serif); font-size: 26px; line-height: 1.5; }
.due-label { display: inline-block; margin-left: 16px; font-family: var(--sans); font-size: 13px; }
.federal-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.technology-links { display: flex; flex-wrap: wrap; gap: 0 20px; list-style: none; padding: 0; }
.technology-links a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 10px; font-size: 16px; }
.provenance-note { color: var(--muted); font-size: 14px !important; }
.citation-list { padding-left: 24px; margin-top: 18px; }
.citation-list li { padding: 20px 0 20px 7px; border-bottom: 1px solid var(--rule); }
.citation-list li::marker { color: var(--accent); font-family: var(--mono); font-size: 12px; }
.citation-type { color: var(--muted); font-family: var(--mono); font-size: 11.5px; margin-bottom: 6px; }
.citation-list h3 { font-size: 18px; line-height: 1.5; font-weight: 550; }
.citation-list h3 a { display: inline-block; min-height: 44px; padding-block: 6px; }
.citation-list h3 .icon { width: 15px; height: 15px; margin-left: 8px; }
.citation-list p { margin-top: 8px; font-size: 15px; line-height: 1.75; overflow-wrap: anywhere; }
.citation-url { display: block; min-height: 44px; padding-block: 12px; font-family: var(--mono); font-size: 11.5px; line-height: 1.8; overflow-wrap: anywhere; }
.citation-list .citation-dates { display: flex; flex-wrap: wrap; gap: 5px 20px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.citation-disclosure { margin-top: 16px; }
.citation-text { max-width: 100%; padding: 20px; margin: 12px 0 0; border: 1px solid var(--rule); font-family: var(--mono); font-size: 12px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
.record-review { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; border-top: 1px solid var(--rule); padding-top: 18px; margin-top: 36px; }
.record-review > div { max-width: 65ch; }
.record-review p { color: var(--muted); font-size: 13px; line-height: 1.7; }
.record-review .text-link { flex-shrink: 0; }
.trust-warning { color: var(--accent); font-size: 14px; margin-top: 12px; }
.standalone-record-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; max-width: 960px; border-top: 1px solid var(--rule); margin: 28px auto 0; padding-top: 12px; }
.standalone-record-nav > span { font-family: var(--mono); font-size: 11.5px; color: var(--muted); text-align: center; }

.dialog-open { overflow: hidden; }
.record-dialog { width: min(960px, calc(100% - 48px)); max-height: calc(100dvh - 48px); margin: auto; padding: 0; border: 1px solid var(--rule); border-radius: 5px; color: var(--ink); background: var(--paper); }
.record-dialog[open] { display: flex; flex-direction: column; }
.record-dialog::backdrop { background: rgb(8 15 21 / 65%); }
.dialog-bar { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; gap: 10px; padding: 8px 18px 8px 26px; min-height: 64px; border-bottom: 1px solid var(--rule); background: var(--paper); }
.dialog-position { font-family: var(--mono); font-size: 11.5px; color: var(--muted); overflow-wrap: anywhere; }
.dialog-navigation { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }
.dialog-close { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; margin-left: 12px; padding: 10px 8px; border: 0; background: transparent; font-size: 13px; }
.dialog-close:hover { color: var(--accent); }
.dialog-content { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-gutter: stable; padding: 0 34px 34px; }
.dialog-content .record-utility { justify-content: flex-end; padding-block: 8px; }
.dialog-content .back-link { display: none; }
.dialog-content .record-title { font-size: clamp(32px, 4vw, 48px); max-width: 28ch; }
.dialog-content .record-header { padding-top: 26px; }
.record-loading, .record-error { padding-block: 42px; }
.record-loading p, .record-error p { color: var(--muted); font-size: 16px; margin-block: 12px; }
.record-error h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; }
.record-error a { display: inline-block; min-height: 44px; padding-block: 10px; }
.app-toast { position: fixed; z-index: 20; bottom: 24px; right: 24px; width: fit-content; max-width: min(480px, calc(100% - 32px)); padding: 16px 20px; background: var(--ink); color: var(--paper); border: 1px solid var(--ink); border-left: 3px solid var(--accent); border-radius: 3px; font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.app-toast:empty { display: none; }
.record-dialog .app-toast { position: absolute; bottom: 16px; right: 16px; }
.app-toast label { display: block; margin-block: 12px 6px; font-size: 13px; }
.app-toast textarea { display: block; width: 100%; min-height: 100px; max-height: 240px; padding: 12px; border: 1px solid var(--control); border-radius: 2px; background: var(--paper); color: var(--ink); font-family: var(--mono); font-size: 12px; line-height: 1.6; resize: vertical; }
.app-toast button { color: var(--paper); padding-left: 0; }

@media (max-width: 1000px) {
  .hero { gap: 42px; }
  .snapshot-date { max-width: 270px; }
  .filter-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checkbox-field { grid-column: 1 / -1; }
  .filter-help { grid-column: 1 / -1; }
  .stack-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wire-footer { flex-wrap: wrap; }
  .wire-source { flex-basis: 100%; }
  .review-control { padding-block: 8px; }
}

@media (max-width: 768px) {
  .container { width: calc(100% - 40px); }
  .brand-caption { display: none; }
  .snapshot-date { display: none; }
  .hero { padding-block: 48px 40px; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 30px; }
  .hero-note { padding-left: 20px; }
  .hero h1 { font-size: 54px; }
  .hero-deck { font-size: 17px; }
  .wire-card { grid-template-columns: 92px minmax(0, 1fr); gap: 22px; }
  .wire-title { font-size: 21px; }
  .source-timing { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .source-notes { gap: 24px; }
  .method-grid { gap: 28px 32px; }
  .data-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stack-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .record-utility { flex-wrap: wrap; gap: 0; }
  .record-tools { width: 100%; justify-content: flex-start; }
}

@media (max-width: 620px) {
  .masthead-row { padding-block: 20px 14px; }
  .primary-nav { width: 100%; justify-content: space-between; gap: 16px; }
  .primary-nav a { min-height: 52px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-block: 30px 28px; }
  .hero h1 { font-size: clamp(42px, 10vw, 59px); max-width: 16ch; margin-top: 13px; }
  .hero-deck { margin-top: 18px; }
  .hero-note { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; border-left: 0; border-top: 1px solid var(--rule); padding: 18px 0 0; }
  .source-symbol { grid-row: 1 / 3; margin: 5px 0 0; }
  .source-status { grid-column: 2; min-height: 44px; font-size: 15px; }
  .source-status-detail { grid-column: 2; }
  .hero-method { display: none; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 7px; padding-bottom: 18px; }
  .results-caption { text-align: left; }
  .category-nav { padding-right: 0; justify-content: flex-start; gap: 21px; }
  .advanced-filters { margin-top: 0; }
  .advanced-filters > summary { margin-left: 0; }
  .filter-fields { padding: 20px; margin-top: 8px; }
  .wire-card { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-block: 24px 20px; }
  .wire-date { padding-top: 0; }
  .wire-title { font-size: 21px; margin-top: 5px; }
  .wire-footer { margin-top: 10px; gap: 2px; }
  .wire-source { gap: 3px 9px; }
  .wire-ai { margin-top: 12px; }
  .federal-date { margin-top: 8px; }
  .federal-qualifier { flex-basis: 100%; margin-left: 0; }
  .feed-pagination { flex-wrap: wrap; padding-block: 22px; }
  .wire-actions { align-items: flex-start; flex-wrap: wrap; gap: 0; }
  .brief-actions { margin-left: auto; }
  .brief-actions .text-button { padding-inline: 8px; }
  .source-head { align-items: flex-start; }
  .source-head h3 { font-size: 19px; }
  .source-status-label { padding-top: 6px; }
  .source-notes, .method-grid { grid-template-columns: minmax(0, 1fr); }
  .methodology { margin-top: 38px; padding-top: 26px; }
  .methodology > h2 { font-size: 32px; }
  .status-definitions dl > div { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .site-footer { flex-wrap: wrap; gap: 0 20px; margin-top: 40px; }
  .site-footer > a:last-child { margin-left: 0; flex-basis: 100%; }
  .metric-grid { grid-template-columns: minmax(0, 1fr); }
  .metric-block { padding: 22px 0; }
  .metric-block + .metric-block { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; }
  .exploitation-facts { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .record-deck { font-size: 18px; }
  .record-dateline { margin-top: 20px; }
  .record-review { flex-direction: column; gap: 12px; }
  .federal-section, .ai-evidence { padding: 20px; }
  .due-label { display: block; margin: 4px 0 0; }
  .record-dialog { width: 100%; height: 100dvh; max-height: 100dvh; max-width: 100%; border: 0; border-radius: 0; margin: 0; }
  .dialog-bar { padding-inline: 20px 12px; }
  .dialog-content { padding: 0 22px 28px; }
  .dialog-content .record-tools { justify-content: flex-end; }
  .dialog-position { max-width: 135px; }
  .dialog-close { margin-left: 4px; }
  .standalone-record-nav { flex-wrap: wrap; gap: 0 12px; }
  .standalone-record-nav > span { order: 3; width: 100%; text-align: left; padding: 12px; }
  .standalone-record-nav > button:last-child { margin-left: auto; }
  .app-toast { right: 16px; bottom: 16px; }
}

@media (max-width: 400px) {
  .container { width: calc(100% - 32px); }
  .brand { font-size: 27px; gap: 9px; }
  .wire-mark { width: 34px; height: 34px; }
  .theme-toggle { width: 44px; padding-inline: 0; }
  .theme-toggle span { display: none; }
  .primary-nav { gap: 10px; }
  .primary-nav a { font-size: 16px; }
  .hero h1 { font-size: 40px; }
  .hero-deck { font-size: 17px; }
  .search-field { padding-inline: 12px 10px; gap: 8px; }
  .search-field > .icon { width: 18px; height: 18px; }
  .search-field kbd { display: none; }
  .search-field input { font-size: 16px; }
  .search-button { padding-inline: 14px; }
  .category-nav { gap: 16px; }
  .category-nav a { font-size: 16px; }
  .filter-fields { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .checkbox-field, .filter-help { grid-column: 1; }
  .wire-title { font-size: 20px; }
  .wire-kicker { gap: 5px 12px; }
  .origin-label { flex-basis: 100%; border-left: 0; padding-left: 0; }
  .stack-options { grid-template-columns: minmax(0, 1fr); }
  .trend-body { padding: 18px 16px; }
  .trend-row { grid-template-columns: 76px minmax(0, 1fr) 34px; gap: 10px; font-size: 11.5px; }
  .data-links { grid-template-columns: minmax(0, 1fr); }
  .source-timing { gap: 18px 16px; }
  .source-head { flex-wrap: wrap; gap: 0; }
  .source-status-label { padding-block: 0 6px; flex-basis: 100%; }
  .record-tools { gap: 2px 14px; }
  .record-title { font-size: 36px; }
  .dialog-content { padding-inline: 16px; }
  .dialog-bar { padding-inline: 16px 8px; }
  .dialog-position { max-width: 112px; font-size: 10.5px; }
  .dialog-close { gap: 5px; padding-inline: 6px; }
  .ai-evidence, .federal-section { padding: 18px 16px; }
  .citation-list { padding-left: 18px; }
  .citation-list li { padding-left: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

@media print {
  :root, :root[data-theme="dark"] { color-scheme: light; --paper: #fff; --surface: #fff; --ink: #111; --muted: #444; --accent: #74311d; --rule: #ccc; --control: #777; }
  html, body { overflow: visible !important; height: auto !important; background: #fff; color: #111; font-size: 11pt; }
  .container { width: 100%; max-width: none; }
  .masthead, .hero, .site-footer, .filter-form, .wire-actions, .feed-pagination, .ssr-pagination, .coverage-note, .no-script-note, .feedback, .app-toast, .dialog-bar, .record-utility, .source-button, .standalone-record-nav, .stack-configuration, .ai-context, #reloadSources, .active-filter-summary { display: none !important; }
  .print-only { display: block; }
  .print-heading { margin-bottom: 24px; border-bottom: 1px solid #777; padding-bottom: 18px; }
  .print-heading > p { font-size: 10pt; line-height: 1.6; margin-top: 8px; }
  .print-heading h1 { font-family: var(--serif); font-size: 26pt; font-weight: 400; margin-top: 8px; }
  body:has(#recordPage:not([hidden]) .record-detail) .print-heading { display: none; }
  .section-heading { padding-bottom: 12px; }
  .wire-card { padding-block: 18px; break-inside: avoid; }
  .wire-title { font-size: 16pt; }
  .wire-title a { min-height: 0; padding: 0; }
  .wire-summary { font-size: 11pt; }
  .wire-source a { display: inline; min-height: 0; }
  .wire-source a::after { content: ' (' attr(href) ')'; font-size: 8pt; overflow-wrap: anywhere; }
  .wire-footer { align-items: baseline; gap: 10px; }
  .review-control input, .review-control > [data-review-label] { display: none; }
  .review-control .review-print { display: inline; color: #444; }
  .review-control { min-height: 0; padding: 0; font-size: 9pt; }
  .record-review { display: block; padding-top: 14px; margin-top: 20px; }
  .record-review > a { display: none; }
  .icon, .source-symbol { display: none; }
  .record-title, .dialog-content .record-title { font-size: 30pt; max-width: none; }
  .record-deck { font-size: 13pt; }
  .record-header { padding-top: 16px; }
  .record-detail, .record-page .record-detail { max-width: none; height: auto; overflow: visible; padding: 0; }
  .record-section { margin-top: 24px; }
  .record-section > p, .ai-evidence > p, .federal-section > p { font-size: 11pt; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-block + .metric-block { border-top: 0; border-left: 1px solid #ccc; padding-left: 24px; }
  .metric-block { break-inside: avoid; }
  .ai-evidence, .federal-section { background: #fff; break-inside: avoid; }
  .exploitation-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .citation-list li { break-inside: avoid; }
  .citation-url { font-size: 8.5pt; min-height: 0; padding-block: 8px; }
  .citation-text { overflow: visible; white-space: pre-wrap; font-size: 8pt; }
  details > :not(summary) { display: block !important; }
  details::details-content { content-visibility: visible !important; }
  details > summary { min-height: 0; padding-block: 10px; }
  .data-table, .data-table td { font-size: 10pt; }
  .trend-figure { display: none; }
  .trend-body { break-inside: auto; padding: 18px; }
  .source-card { break-inside: avoid; }
  .source-timing { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .source-notes, .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .methodology { margin-top: 32px; }
  .data-access { display: none; }
  body[data-print="record"] #mainContent { display: none !important; }
  #recordDialog, #recordDialog[open] { display: none !important; }
  #recordDialog::backdrop { display: none; }
  .dialog-content { display: block; padding: 0; height: auto; max-height: none; overflow: visible; }
  #dialogStatus { display: none; }
  @page { margin: 16mm; }
}

/* Account, suggestions, source toggles, citations, agents */
.account-button { min-height: 44px; padding: 0 14px; border: 1px solid var(--rule); background: transparent; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; max-width: 16ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-button:hover { border-color: var(--ink); }
.side-dialog { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 24px; border: 1px solid var(--rule); background: var(--surface); color: var(--ink); overflow: auto; }
.side-dialog::backdrop { background: rgb(0 0 0 / .45); }
.side-dialog-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.side-dialog-bar h2 { font-size: 21px; }
.side-dialog p { line-height: 1.6; margin-bottom: 12px; }
.account-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-block: 14px; }
.account-create { display: grid; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rule); }
.account-create h3, .account-alerts h3 { font-size: 16px; }
.account-alerts { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rule); }
.feedback-form { display: grid; gap: 8px; }
.feedback-form select, .feedback-form textarea, .feedback-form input, .account-create input { min-height: 44px; padding: 10px 12px; border: 1px solid var(--rule); background: var(--paper, var(--surface)); color: var(--ink); font: inherit; font-size: 16px; }
.feedback-form button[type="submit"] { justify-self: start; margin-top: 6px; }
.feedback-context { color: var(--muted); font-family: var(--mono); font-size: 12px; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.source-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-block: 4px; font-size: 15px; cursor: pointer; }
.source-card.is-hidden { opacity: .6; }
.source-count { color: var(--muted); font-family: var(--mono); font-size: 12px; }
.site-footer .text-button { margin-left: 0; }
.cite-formats { display: grid; gap: 10px; margin-top: 12px; }
.cite-formats div { padding: 12px; border: 1px solid var(--rule); background: var(--surface); }
.cite-formats h3 { font-size: 13px; color: var(--muted); font-family: var(--mono); font-weight: 400; margin-bottom: 6px; }
.cite-formats p { font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
.agents-section pre { overflow-x: auto; padding: 12px; border: 1px solid var(--rule); background: var(--surface); font-size: 13px; line-height: 1.5; }
.agents-section dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin-block: 12px; }
.agents-section dt { font-weight: 600; }
.agents-section dd { overflow-wrap: anywhere; }
.stack-brief { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-block: 10px 4px; font-size: 15px; }
.stack-brief strong { font-family: var(--mono); }
@media (max-width: 560px) { .agents-section dl { grid-template-columns: 1fr; } .account-button { max-width: 11ch; } }

/* Friendlier record page, loading feedback, small-screen fixes */
.glance { margin-top: 28px; }
.glance dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; border: 1px solid var(--rule); background: var(--rule); }
.glance dl > div { padding: 14px 16px; background: var(--surface); }
.glance dt { color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .02em; text-transform: uppercase; }
.glance dd { margin: 6px 0 0; font-size: 16px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.glance dl > div { min-width: 0; }
.glance .glance-alert dd { color: var(--accent); }
.action-section { padding: 20px; border-left: 3px solid var(--accent); background: var(--surface); }
.action-section > h2 { margin-bottom: 4px; }
.action-section .source-button { margin-top: 16px; }
.story-section > p:first-of-type { margin-top: 4px; }
.story-more > summary { margin-top: 14px; cursor: pointer; color: var(--accent); font-weight: 600; }
.story-more[open] > summary { display: none; }
.story-more > p { max-width: 70ch; font-size: 17px; line-height: 1.75; margin-top: 14px; overflow-wrap: anywhere; }
details.record-section > summary { cursor: pointer; list-style: none; }
details.record-section > summary::-webkit-details-marker { display: none; }
details.record-section > summary h2 { display: inline; font-size: 18px; }
details.record-section > summary::after { content: ' +'; color: var(--muted); }
details.record-section[open] > summary::after { content: ' \2212'; }
.about-data p { font-size: 14px; line-height: 1.7; color: var(--muted); margin-top: 10px; max-width: 70ch; }
.record-tools { gap: 2px 14px; }
.record-tools a, .record-tools button { font-size: 14px; }

/* Loading: a thin progress bar and a dimmed list while the next view loads. */
.loading-bar { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 50; pointer-events: none; opacity: 0; transition: opacity .15s; overflow: hidden; }
.loading-bar::before { content: ''; position: absolute; inset: 0; width: 40%; background: var(--accent); animation: loading-slide 1.1s ease-in-out infinite; }
html.is-loading .loading-bar { opacity: 1; }
@keyframes loading-slide { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
#feedList[aria-busy="true"], #recordPage[aria-busy="true"], #sourceList[aria-busy="true"] { opacity: .45; transition: opacity .15s; }
.feed-status:not(.sr-only):not(:empty) { margin-block: 8px 12px; padding: 10px 14px; border: 1px solid var(--rule); background: var(--surface); font-size: 15px; line-height: 1.5; }
@media (prefers-reduced-motion: reduce) { .loading-bar::before { animation: none; width: 100%; opacity: .6; } }

@media (max-width: 620px) {
  .hero { padding-block: 26px 22px; gap: 18px; }
  .hero h1 { font-size: 34px; margin-top: 8px; }
  .hero-deck { font-size: 16px; margin-top: 10px; }
  .hero-note { padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--rule); }
  .hero-method { display: none; }
  .wire-view .section-heading { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 12px; }
  .wire-view .section-heading h2 { grid-column: 1 / -1; }
  .sort-toggle { margin-left: 0; }
  .results-caption { text-align: right; }
  .wire-kicker { flex-wrap: wrap; row-gap: 4px; }
  .sort-toggle a { white-space: nowrap; padding-inline: 10px; font-size: 13px; }
  .wire-footer .origin-label { display: none; }
  .glance dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glance dl > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .record-title { font-size: 26px; line-height: 1.2; }
  .glance dd { font-size: 15px; }
  .action-section { padding: 16px; }
  .record-utility { flex-direction: column; align-items: flex-start; gap: 4px; }
}
