:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page-bg: #eef3f8;
  --surface: #fff;
  --surface-alt: #fbfdff;
  --surface-muted: #f5f9fd;
  --surface-action: #fffdf4;
  --text: #18212f;
  --text-body: #26364b;
  --text-muted: #66758a;
  --text-subtle: #526278;
  --text-heading: #44546a;
  --border: #e1e8f0;
  --border-strong: #cbd5e1;
  --link: #1b62c4;
  --active-bg: #18212f;
  --active-text: #fff;
  --verbatim-border: #8fb5df;
  --action-text: #334155;
  --warning: #9a5a00;
  --error-text: #a33a3a;
  --error-border: #e7b4b4;
  --signal-urgent: #d64545;
  --signal-heads-up: #d98b19;
  --signal-ok: #2f9658;
  color: var(--text);
  background: var(--page-bg);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --page-bg: #10161f;
  --surface: #18212b;
  --surface-alt: #1d2834;
  --surface-muted: #202e3c;
  --surface-action: #2c2a1e;
  --text: #e6edf5;
  --text-body: #d4deea;
  --text-muted: #9eacbc;
  --text-subtle: #b3c1d0;
  --text-heading: #c3cfdd;
  --border: #2d3b4b;
  --border-strong: #405166;
  --link: #85b8ff;
  --active-bg: #e6edf5;
  --active-text: #10161f;
  --verbatim-border: #5d90c2;
  --action-text: #d7dee8;
  --warning: #f5c36b;
  --error-text: #ff9e9e;
  --error-border: #744747;
  --signal-urgent: #ff6b6b;
  --signal-heads-up: #f2ad4c;
  --signal-ok: #58c783;
}

* { box-sizing: border-box; }
body { max-width: 1680px; margin: 0 auto; padding: 2.75rem clamp(1rem, 3vw, 3.5rem); background: var(--page-bg); color: var(--text); }
.topbar { display: flex; justify-content: space-between; gap: 2rem; align-items: flex-end; padding-bottom: 2.25rem; }
.eyebrow { margin: 0 0 .35rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 700; }
h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -.04em; }
.subtitle { margin: .55rem 0 0; color: var(--text-subtle); font-size: 1.05rem; }
h2 { margin-top: 2rem; font-size: 1.2rem; }
.muted { color: var(--text-muted); }
.controls { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; justify-content: flex-end; }
select, input, button { border: 1px solid var(--border-strong); border-radius: .55rem; background: var(--surface); padding: .55rem .75rem; color: var(--text); font: inherit; }
button { cursor: pointer; }
button:focus-visible, select:focus-visible, input:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
button.active { background: var(--active-bg); color: var(--active-text); border-color: var(--active-bg); }
nav { display: flex; gap: .45rem; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 2.55rem; height: 2.55rem; padding: .55rem; color: var(--text); text-decoration: none; }
.icon-button:hover { border-color: var(--link); }
.button-icon { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme-icon { display: none; }
:root[data-theme="dark"] .theme-icon-sun { display: block; }
:root:not([data-theme="dark"]) .theme-icon-moon { display: block; }
a { color: var(--link); }
a.icon-button { color: var(--text); }
.intake-health { margin-bottom: 1rem; }
#intake-health { margin-bottom: 1rem; }
.intake-banner { padding: 1rem 1.1rem; border: 1px solid var(--border); border-left: 4px solid var(--signal-urgent); border-radius: .8rem; background: var(--surface-muted); color: var(--text); }
.intake-banner.needs-review, .intake-banner.no-runs { border-left-color: var(--signal-heads-up); }
.intake-banner strong { display: block; font-size: 1rem; }
.intake-banner p { margin: .25rem 0 0; color: var(--text-subtle); line-height: 1.45; }
.intake-link { display: inline; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--link); font-weight: 700; text-decoration: underline; }
.intake-link:hover { background: transparent; color: var(--link); }
.coverage-summary { display: grid; gap: .7rem; padding: 1rem 1.1rem; border: 1px solid var(--border); border-left: 4px solid var(--signal-heads-up); border-radius: .8rem; background: var(--surface-muted); }
.coverage-summary.coverage-available { border-left-color: var(--signal-ok); }
.coverage-summary.coverage-unavailable, .coverage-summary.coverage-partial { border-left-color: var(--signal-urgent); }
.coverage-summary.coverage-manual, .coverage-summary.coverage-no_match, .coverage-summary.coverage-no-runs { border-left-color: var(--signal-heads-up); }
.coverage-header { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }
.coverage-header strong { font-size: 1rem; }
.coverage-confidence { display: inline-flex; width: max-content; padding: .22rem .5rem; border: 1px solid var(--border-strong); border-radius: 999px; color: var(--text-subtle); font-size: .75rem; font-weight: 800; white-space: nowrap; }
.coverage-summary p { margin: 0; color: var(--text-subtle); line-height: 1.45; }
.coverage-states { display: flex; gap: .45rem; flex-wrap: wrap; }
.coverage-state { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .45rem; border: 1px solid var(--border); border-radius: .45rem; background: var(--surface); color: var(--text-subtle); font-size: .76rem; }
.coverage-badge { display: inline-flex; width: max-content; padding: .2rem .4rem; border: 1px solid var(--border-strong); border-radius: .35rem; color: var(--text-subtle); font-size: .75rem; font-weight: 800; white-space: nowrap; }
.coverage-badge.coverage-available { border-color: var(--signal-ok); color: var(--signal-ok); }
.coverage-badge.coverage-partial, .coverage-badge.coverage-manual, .coverage-badge.coverage-no_match { border-color: var(--signal-heads-up); color: var(--warning); }
.coverage-badge.coverage-unavailable { border-color: var(--signal-urgent); color: var(--error-text); }
.coverage-provenance-note { max-width: 900px; color: var(--text-subtle); line-height: 1.5; }
.provenance-table-wrap { max-width: 100%; overflow-x: auto; }
.provenance-table { min-width: 1100px; }
.five-second-view { margin-bottom: 1rem; padding: 1.1rem; border: 1px solid var(--border); border-radius: .9rem; background: var(--surface); }
.five-second-header { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: .9rem; }
.five-second-title .eyebrow { margin-bottom: .2rem; }
.five-second-title h2 { margin: 0; font-size: 1.2rem; }
.five-second-scope { color: var(--text-subtle); font-size: .8rem; font-weight: 800; }
.five-second-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(15rem, 1fr); gap: .8rem; }
.five-second-card { min-width: 0; padding: 1rem; border: 1px solid var(--border); border-radius: .7rem; background: var(--surface-muted); }
.five-second-priority { border-left: 4px solid var(--signal-heads-up); }
.five-second-priority.five-second-urgent { border-left-color: var(--signal-urgent); }
.five-second-priority.five-second-ok { border-left-color: var(--signal-ok); }
.five-second-label { display: block; color: var(--text-subtle); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.five-second-signal { display: flex; align-items: center; gap: .55rem; margin-top: .5rem; color: var(--text); }
.five-second-card h3 { margin: .65rem 0 .35rem; font-size: 1rem; line-height: 1.35; }
.five-second-context, .five-second-age, .five-second-source, .five-second-queue-copy, .five-second-empty { margin: .35rem 0 0; color: var(--text-subtle); line-height: 1.45; }
.five-second-context { color: var(--text-body); font-size: .86rem; font-weight: 700; }
.five-second-age { font-size: .82rem; }
.five-second-source { overflow-wrap: anywhere; font-size: .84rem; }
.five-second-source > span:first-child { color: var(--text-subtle); font-weight: 700; }
.five-second-queue-heading { display: flex; align-items: baseline; justify-content: space-between; gap: .7rem; }
.five-second-count { color: var(--text); font-size: 1.8rem; line-height: 1; }
.five-second-stats { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .8rem; }
.five-second-stat { padding: .25rem .45rem; border: 1px solid var(--border-strong); border-radius: .4rem; color: var(--text-subtle); font-size: .76rem; font-weight: 800; }
.five-second-link { display: inline-block; margin-top: .9rem; font-size: .84rem; font-weight: 800; }
.five-second-attention { margin: .8rem 0 0; color: var(--warning); font-size: .82rem; font-weight: 800; line-height: 1.45; }
.attention-queue { margin-bottom: 1rem; padding: 1.1rem; border: 1px solid var(--border); border-left: 4px solid var(--signal-urgent); border-radius: .9rem; background: var(--surface); }
.attention-queue h2 { margin-bottom: .75rem; }
.attention-heading-meta { display: flex; align-items: center; gap: .7rem; }
.attention-count { color: var(--signal-urgent); font-size: .85rem; font-weight: 800; }
.attention-queue-note { max-width: 900px; margin: -.2rem 0 1rem; color: var(--text-subtle); line-height: 1.5; }
.attention-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.attention-card { min-width: 0; padding: 1rem; border: 1px solid var(--border); border-radius: .7rem; background: var(--surface-muted); }
.attention-card.stale { opacity: .72; }
.attention-card-heading { display: flex; align-items: center; justify-content: space-between; gap: .7rem; }
.attention-id-line { display: flex; align-items: center; gap: .55rem; min-width: 0; }
.attention-id-line .signal-dot { flex: 0 0 auto; }
.attention-intent { max-width: 100%; padding: .2rem .4rem; border: 1px solid var(--border-strong); border-radius: .35rem; color: var(--text-subtle); font-size: .72rem; font-weight: 800; overflow-wrap: anywhere; }
.attention-age { flex: 0 0 auto; color: var(--text-muted); font-size: .8rem; }
.attention-title { margin: .7rem 0 .8rem; font-size: .98rem; line-height: 1.4; }
.attention-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; padding: .7rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.attention-detail { min-width: 0; }
.attention-value { display: block; overflow-wrap: anywhere; }
.attention-action { margin-top: .8rem; color: var(--action-text); }
.attention-action p { margin: .25rem 0 0; line-height: 1.45; }
.attention-source { margin: .8rem 0 0; color: var(--text-subtle); font-size: .82rem; overflow-wrap: anywhere; }
.attention-source > span { font-weight: 700; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.metric-scope { grid-column: 1 / -1; margin: 0; color: var(--text-subtle); font-size: .8rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.metric, .intelligence-item, table { background: var(--surface); border: 1px solid var(--border); border-radius: .8rem; }
.metric { padding: 1rem; }
.metric strong { display: block; font-size: 1.8rem; }
.metric span { color: var(--text-muted); font-size: .9rem; }
.item-list { list-style: none; padding: 0; display: grid; gap: .75rem; }
.intelligence-item { padding: 1rem; }
.intelligence-item p { margin: .35rem 0 0; }
.findings-table { table-layout: fixed; min-width: 1200px; border-radius: 1rem; }
.findings-table th:nth-child(1) { width: 15%; }
.findings-table th:nth-child(2) { width: 43%; }
.findings-table th:nth-child(3) { width: 14%; }
.findings-table th:nth-child(4) { width: 28%; }
.findings-table th { position: sticky; top: 0; z-index: 1; padding: 1rem; color: var(--text-heading); text-transform: uppercase; letter-spacing: .05em; font-size: .72rem; }
.findings-table td { padding: 1.1rem 1rem; line-height: 1.45; }
.findings-table tbody tr { background: var(--surface); }
.findings-table tbody td { background: inherit; }
.findings-table tr.stale td { background: var(--surface); }
.findings-table tr.stale .finding-title,
.findings-table tr.stale .finding-body,
.findings-table tr.stale .type-cell,
.findings-table tr.stale .action-cell { color: var(--text-muted); }
.reference-date-cell > .date-stack { margin-top: .55rem; }
.archive-date { display: block; margin-top: .55rem; color: var(--text-subtle); font-size: .8rem; font-weight: 600; }
.reference-cell { color: var(--link); font-weight: 800; white-space: nowrap; }
.date-stack { display: grid; gap: .35rem; }
.source-entry { display: flex; align-items: baseline; gap: .35rem; min-width: 0; }
.date-stack, .source-meta { color: var(--text-muted); font-size: .85rem; }
.item-age { color: var(--text-subtle); font-weight: 700; }
.finding-cell, .action-cell { overflow-wrap: anywhere; }
.finding-title { display: block; }
.reference-id-row { display: flex; align-items: center; gap: .55rem; }
.reference-id-row .signal-dot { flex: 0 0 auto; }
.field-label { display: block; margin-bottom: .3rem; color: var(--text-subtle); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.verbatim-block { margin: .8rem 0; padding: .8rem .9rem; border-left: 3px solid var(--verbatim-border); background: var(--surface-muted); }
.finding-body { margin: .25rem 0 0; white-space: pre-line; color: var(--text-body); }
.no-verbatim { margin: .8rem 0; color: var(--text-muted); font-size: .85rem; font-style: italic; }
.source-list { display: grid; gap: .55rem; margin-top: .9rem; padding-top: .75rem; border-top: 1px solid var(--border); }
.source-list a { font-size: .83rem; }
.source-label { flex: 0 0 auto; color: var(--text-subtle); font-size: .83rem; font-weight: 700; }
.source-entry a, .source-entry .source-meta { min-width: 0; overflow-wrap: anywhere; }
.type-cell { font-weight: 700; }
.action-cell { color: var(--action-text); background: inherit; }
.action-cell p { margin: 0 0 .7rem; }
.action-buttons { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-top: .75rem; }
.asana-button { padding: .4rem .6rem; border-color: var(--link); color: var(--link); font-size: .8rem; font-weight: 700; }
.asana-button:hover { background: var(--surface-alt); }
.asana-button.copy-success { border-color: var(--signal-ok); color: var(--signal-ok); }
.asana-button.copy-failed { border-color: var(--signal-urgent); color: var(--error-text); }
.archive-button, .restore-button { padding: .4rem .6rem; font-size: .8rem; }
.archive-button:hover, .restore-button:hover { background: var(--surface-alt); }
.archive-note { margin: -.2rem 0 1rem; color: var(--text-muted); font-size: .85rem; }
.intelligence-item a { display: inline-block; margin-top: .7rem; color: var(--link); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.section-heading h2 { margin-bottom: .75rem; }
.heading-meta { display: grid; gap: .7rem; justify-items: end; max-width: 100%; }
.freshness-meta { display: flex; justify-content: flex-end; gap: .2rem .9rem; flex-wrap: wrap; color: var(--text-muted); font-size: .78rem; text-align: right; }
.filter-groups { display: flex; align-items: center; justify-content: flex-end; gap: .55rem 1rem; flex-wrap: wrap; width: 100%; padding-top: .65rem; border-top: 1px solid var(--border); }
.filter-group { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.filter-group-label { color: var(--text-subtle); font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.filter-options { display: flex; justify-content: flex-end; gap: .3rem; flex-wrap: wrap; }
.signal-filter, .clear-filters { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .35rem; border: 1px solid transparent; border-radius: .4rem; background: transparent; color: var(--text-muted); font-size: .8rem; }
.signal-filter:hover, .signal-filter.selected, .clear-filters:hover { border-color: var(--border); background: var(--surface-alt); color: var(--text); }
.signal-filter.selected { font-weight: 700; }
.clear-filters { justify-self: end; border-color: var(--border-strong); color: var(--link); font-weight: 700; }
.review-badge { display: inline-flex; width: max-content; margin-top: .45rem; padding: .22rem .45rem; border: 1px solid var(--border-strong); border-radius: .35rem; background: var(--surface-muted); color: var(--text-subtle); font-size: .7rem; font-weight: 800; letter-spacing: .03em; }
.review-badge.review-new { border-color: var(--signal-ok); color: var(--signal-ok); }
.review-badge.review-updated { border-style: dashed; }
.review-badge.review-recurred { border-color: var(--signal-heads-up); color: var(--warning); }
.signal-dot { display: inline-block; width: .78rem; height: .78rem; border: 2px solid var(--surface); border-radius: 50%; box-shadow: 0 0 0 1px var(--border-strong); }
.signal-dot.urgent { background: var(--signal-urgent); border-radius: .15rem; transform: rotate(45deg); }
.signal-dot.heads-up { background: var(--signal-heads-up); border-radius: 0; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.signal-dot.ok { background: var(--signal-ok); }
.empty, .error { padding: 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: .8rem; }
.error { color: var(--error-text); border-color: var(--error-border); }
.confidentiality-marker { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--border-strong); color: var(--text-subtle); font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; }
th, td { text-align: left; padding: .75rem; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--page-bg); font-size: .85rem; }
tr:last-child td { border-bottom: 0; }
body.readme-page { max-width: 1180px; }
.readme-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.readme-header h1 { max-width: 760px; }
.readme-header .subtitle { max-width: 720px; }
.back-link { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; font-weight: 700; }
.readme-content { display: grid; gap: 2rem; padding: 2rem 0 3rem; }
.readme-intro, .readme-card, .readme-section { background: var(--surface); border: 1px solid var(--border); border-radius: .9rem; }
.readme-intro { padding: 1.25rem 1.4rem; background: var(--surface-muted); }
.readme-intro p { max-width: 880px; margin: 0; font-size: 1.05rem; line-height: 1.65; }
.readme-section { padding: 1.35rem 1.4rem; }
.readme-section h2 { margin: 0 0 .85rem; }
.readme-section p { max-width: 900px; line-height: 1.6; }
.readme-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.readme-card { padding: 1.15rem; }
.readme-card h3 { margin: 0 0 .45rem; font-size: 1rem; }
.readme-card p { margin: 0; color: var(--text-subtle); line-height: 1.55; }
.readme-table-wrap { overflow-x: auto; }
.readme-table { min-width: 760px; }
.readme-table th { color: var(--text-heading); }
.readme-table td, .readme-table th { line-height: 1.45; }
.readme-list, .readme-checklist { display: grid; gap: .65rem; margin: .6rem 0 0; padding-left: 1.35rem; line-height: 1.55; }
.readme-note { margin: 1rem 0 0; padding: .8rem 1rem; border-left: 3px solid var(--verbatim-border); background: var(--surface-muted); color: var(--text-subtle); }
.readme-page code { padding: .12rem .3rem; border-radius: .3rem; background: var(--surface-muted); color: var(--text-body); font-size: .9em; }
.readme-footer { color: var(--text-muted); font-size: .85rem; }
.system-check-summary { display: flex; align-items: flex-start; gap: .8rem; margin-top: 1rem; padding: 1rem; background: var(--surface-muted); border: 1px solid var(--border); border-left: 3px solid var(--text-muted); border-radius: .65rem; }
.system-check-summary.status-ok { border-left-color: var(--signal-ok); }
.system-check-summary.status-attention { border-left-color: var(--signal-heads-up); }
.system-check-summary.status-error { border-left-color: var(--signal-urgent); }
.system-check-summary h3 { margin: 0 0 .2rem; font-size: 1rem; }
.system-check-summary p { margin: 0; color: var(--text-subtle); line-height: 1.45; }
.system-status { display: inline-flex; align-items: center; gap: .4rem; flex: 0 0 auto; padding: .25rem .5rem; border: 1px solid var(--border); border-radius: 999px; color: var(--text-subtle); font-size: .75rem; font-weight: 800; white-space: nowrap; }
.system-status-dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--text-muted); }
.system-status.status-ok .system-status-dot { background: var(--signal-ok); }
.system-status.status-attention .system-status-dot { background: var(--signal-heads-up); }
.system-status.status-error .system-status-dot { background: var(--signal-urgent); }
.system-status.status-info .system-status-dot { background: var(--text-muted); }
.system-check-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; margin-top: 1rem; }
.system-check-card { min-height: 9rem; padding: 1rem; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--text-muted); border-radius: .7rem; }
.system-check-card.status-ok { border-left-color: var(--signal-ok); }
.system-check-card.status-attention { border-left-color: var(--signal-heads-up); }
.system-check-card.status-error { border-left-color: var(--signal-urgent); }
.system-check-card h3 { margin: .7rem 0 .35rem; font-size: .95rem; }
.system-check-card p { margin: 0; color: var(--text-subtle); font-size: .86rem; line-height: 1.5; }
@media (max-width: 760px) {
  body { padding: 1rem; }
  .topbar { align-items: flex-start; flex-direction: column; }
  .controls { justify-content: flex-start; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .five-second-header { align-items: flex-start; flex-direction: column; }
  .five-second-grid { grid-template-columns: 1fr; }
  .attention-list { grid-template-columns: 1fr; }
  .attention-heading-meta { align-items: flex-start; flex-direction: column; gap: .3rem; }
  .attention-card-heading { align-items: flex-start; flex-direction: column; gap: .35rem; }
  .attention-id-line { flex-wrap: wrap; }
  .attention-intent { flex: 0 1 auto; }
  .attention-age { margin-left: 1.35rem; }
  table { display: block; overflow-x: auto; white-space: nowrap; }
  .provenance-table { min-width: 0; width: 100%; }
  .findings-table { display: block; width: 100%; min-width: 0; overflow: visible; border: 0; background: transparent; table-layout: auto; white-space: normal; }
  .findings-table thead { display: none; }
  .findings-table tbody { display: grid; width: 100%; gap: 1rem; }
  .findings-table tbody tr,
  .findings-table tbody tr:nth-child(even) { display: grid; grid-template-columns: 1fr; width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: .8rem; overflow: hidden; }
  .findings-table tbody td { display: block; padding: 1rem; border-bottom: 0; background: inherit; white-space: normal; }
  .findings-table tbody td + td { border-top: 1px solid var(--border); }
  .findings-table tbody td::before { display: block; margin-bottom: .45rem; color: var(--text-subtle); font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
  .findings-table tbody td:nth-child(1)::before { content: "ID and dates"; }
  .findings-table tbody td:nth-child(2)::before { content: "What was found and source"; }
  .findings-table tbody td:nth-child(3)::before { content: "Type"; }
  .findings-table tbody td:nth-child(4)::before { content: "Suggested action"; }
.findings-table .source-entry a { white-space: normal; }
.mentions-table { table-layout: fixed; min-width: 980px; }
.mentions-table th:nth-child(1) { width: 14%; }
.mentions-table th:nth-child(2) { width: 36%; }
.mentions-table th:nth-child(3) { width: 18%; }
.mentions-table th:nth-child(4) { width: 17%; }
.mentions-table th:nth-child(5) { width: 15%; }
.mentions-table th { color: var(--text-heading); text-transform: uppercase; letter-spacing: .05em; font-size: .72rem; }
.mentions-table td { line-height: 1.45; }
.mention-type-cell, .mention-signal-cell, .mention-collection-cell { display: grid; gap: .25rem; }
.mention-subtext { display: block; color: var(--text-muted); font-size: .8rem; }
.mention-parent { display: block; color: var(--text-subtle); font-size: .82rem; font-weight: 700; }
.mention-excerpt { margin: .45rem 0; color: var(--text-body); white-space: pre-line; overflow-wrap: anywhere; }
.mention-signal { display: inline-flex; width: max-content; padding: .18rem .4rem; border: 1px solid var(--border-strong); border-radius: .35rem; font-size: .78rem; font-weight: 800; }
.mention-signal.urgent { border-color: var(--signal-urgent); color: var(--signal-urgent); }
.mention-signal.heads-up { border-color: var(--signal-heads-up); color: var(--warning); }
.mention-signal.ok { border-color: var(--signal-ok); color: var(--signal-ok); }
.mention-signal.unknown { color: var(--text-muted); }
.mention-filters { display: flex; justify-content: flex-end; align-items: end; gap: .65rem .8rem; flex-wrap: wrap; width: 100%; padding-top: .65rem; border-top: 1px solid var(--border); }
.mention-filter { display: grid; gap: .25rem; color: var(--text-subtle); font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.mention-filter select, .mention-filter input { min-width: 8.5rem; padding: .35rem .5rem; font-size: .8rem; text-transform: none; letter-spacing: normal; font-weight: 500; }
.mention-date-filter input { min-width: 9.5rem; }
  .findings-table tr.stale td { background: var(--surface); }
  .readme-header { align-items: flex-start; flex-direction: column; }
  .mentions-table { display: block; width: 100%; min-width: 0; overflow: visible; table-layout: auto; white-space: normal; border: 0; background: transparent; }
  .mentions-table thead { display: none; }
  .mentions-table tbody { display: grid; width: 100%; gap: 1rem; }
  .mentions-table tbody tr { display: grid; grid-template-columns: 1fr; width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: .8rem; overflow: hidden; }
  .mentions-table tbody td { display: block; padding: 1rem; border-bottom: 0; background: inherit; white-space: normal; }
  .mentions-table tbody td + td { border-top: 1px solid var(--border); }
  .mentions-table tbody td::before { display: block; margin-bottom: .45rem; color: var(--text-subtle); font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
  .mentions-table tbody td:nth-child(1)::before { content: "Platform, type and date"; }
  .mentions-table tbody td:nth-child(2)::before { content: "Verbatim evidence"; }
  .mentions-table tbody td:nth-child(3)::before { content: "Keyword and classification"; }
  .mentions-table tbody td:nth-child(4)::before { content: "Collection"; }
  .mentions-table tbody td:nth-child(5)::before { content: "Original link"; }
  .mention-filters { justify-content: flex-start; }
  .mention-filter select, .mention-filter input { min-width: 9rem; }
  .readme-grid { grid-template-columns: 1fr; }
  .system-check-grid { grid-template-columns: 1fr; }
  .heading-meta { justify-items: start; width: 100%; }
  .freshness-meta { justify-content: flex-start; text-align: left; }
  .filter-groups { justify-content: flex-start; }
  .filter-options { justify-content: flex-start; }
  .clear-filters { justify-self: start; }
  body.readme-page { padding: 1rem; }
}
@media print {
  .confidentiality-marker { color: #000; border-top-color: #000; }
}
