/* Evidence study: the editorial palette (paper, Fraunces, Public Sans) with day/night pairs
   taken from the approved night theme. System colour scheme only in this study. */
:root {
  color-scheme: light dark;
  --paper: light-dark(#f8f6f0, #111a20);
  --raised: light-dark(#ffffff, #18232a);
  --sunk: light-dark(#f0eee6, #0d151a);
  --ink: light-dark(#262b24, #e6e9df);
  --muted: light-dark(#5c6356, #b4bdb6);
  --faint: light-dark(#5e6359, #a5afa9);
  --line: light-dark(#dedfd8, #2a363d);
  --line-strong: light-dark(#bfc8b8, #3d4a51);
  --accent: light-dark(#3d5140, #a9c4a6);
  --primary: light-dark(#282f25, #d9e3cf);
  --on-primary: light-dark(#ffffff, #111a20);
  --mark: light-dark(#f3e6b8, #4d4520);
  --mark-ink: light-dark(#262b24, #f3ecd2);
  --t-commitment: light-dark(#796029, #dcc58a);
  --t-allegation: light-dark(#8b4e40, #e3a99a);
  --t-proceeding: light-dark(#7a4a66, #d9a9c6);
  --t-established_outcome: light-dark(#2f6660, #8fcfc6);
  --t-independent_assessment: light-dark(#5d5078, #c2b4e3);
  --t-unknown: light-dark(#696d63, #aab1aa);
  --warn: light-dark(#9a3b22, #f0a58c);
  --correction: light-dark(#fbf3dc, #2a2614);
  --response: light-dark(#eef2f6, #17222c);
  --radius: 6px;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Public Sans', system-ui, sans-serif;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  background: var(--paper);
  color: var(--ink);
  accent-color: var(--accent);
}
* { box-sizing: border-box; }
body { margin: 0; font-variant-numeric: tabular-nums; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; line-height: 1.2; margin: 0; text-wrap: balance; }
h4 { margin: 0; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
dl, dd { margin: 0; }
mark { background: var(--mark); color: var(--mark-ink); padding: .05em .15em; border-radius: 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.icon { width: 15px; height: 15px; flex: none; vertical-align: -2px; }
.visually-hidden:where(:not(:focus-within, :active)) { position: absolute !important; clip-path: inset(50%) !important; overflow: hidden !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; border: 0 !important; white-space: nowrap !important; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--primary); color: var(--on-primary); padding: 8px 12px; z-index: 20; border-radius: 4px; }
.skip-link:focus { top: 52px; }

/* Prototype chrome: deliberately different from the product. */
.proto-bar { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 7px 20px; background: #20262b; color: #e9ecef; font-size: 12px; }
.proto-bar a { color: #e9ecef; text-decoration: none; }
.proto-home { font-weight: 650; }
.proto-bar ul { display: flex; gap: 4px; list-style: none; }
.proto-bar nav a { display: block; padding: 4px 10px; border-radius: 4px; }
.proto-bar nav a:hover { background: #343c43; }
.proto-bar nav a[aria-current="page"] { background: #e9ecef; color: #20262b; font-weight: 650; }
.proto-fail { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.proto-note { color: #aeb6bd; }

.site-header { max-width: 1240px; margin: auto; padding: 20px 32px; display: flex; align-items: center; justify-content: space-between; }
.brand { font-weight: 650; font-size: 19px; letter-spacing: -.6px; text-decoration: none; }
.brand span { color: var(--accent); }
.site-header nav { display: flex; gap: 22px; font-size: 13px; }
.site-header nav a { text-decoration: none; }
main { max-width: 1240px; margin: auto; padding: 0 32px 64px; }
main:focus { outline: none; }
.site-footer { border-top: 1px solid var(--line); max-width: 1240px; margin: auto; padding: 24px 32px 48px; font-size: 13px; color: var(--muted); display: grid; gap: 6px; }
.site-footer .fiction { font-size: 12px; }

/* Shared research pieces */
.crumbs { font-size: 13px; color: var(--muted); margin: 8px 0 18px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--faint); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.company-head { display: grid; gap: 12px; padding: 10px 0 26px; border-bottom: 1px solid var(--line); }
.company-head h1 { font-size: clamp(36px, 4.4vw, 56px); }
.company-head .lede { font-size: 17px; color: var(--muted); max-width: 62ch; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: 13px; }
.facts div { display: flex; gap: 6px; }
.facts dt { color: var(--faint); }
.counts { font-size: 13px; color: var(--muted); max-width: 80ch; }
.counts strong { color: var(--ink); font-weight: 600; }

.type { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--tc); white-space: nowrap; letter-spacing: .01em; }
.type.small { font-size: 11px; font-weight: 550; }
.type-mark { width: 8px; height: 8px; background: currentColor; flex: none; }
.type-commitment { --tc: var(--t-commitment); } .type-commitment .type-mark { background: transparent; border: 1.6px solid currentColor; border-radius: 50%; }
.type-allegation { --tc: var(--t-allegation); } .type-allegation .type-mark { background: transparent; border: 1.6px dashed currentColor; transform: rotate(45deg); width: 7px; height: 7px; }
.type-proceeding { --tc: var(--t-proceeding); } .type-proceeding .type-mark { transform: rotate(45deg); width: 7px; height: 7px; }
.type-established_outcome { --tc: var(--t-established_outcome); } .type-established_outcome .type-mark { border-radius: 1px; }
.type-independent_assessment { --tc: var(--t-independent_assessment); } .type-independent_assessment .type-mark { border-radius: 50%; }
.type-unknown { --tc: var(--t-unknown); } .type-unknown .type-mark { height: 1.6px; width: 9px; }
.procedural { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 3px; padding: 0 5px; }

.lens-summary { list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--raised); }
.lens-summary li + li { border-left: 1px solid var(--line); }
.lens-summary a { display: grid; gap: 6px; padding: 12px 14px; text-decoration: none; height: 100%; }
.lens-summary a:hover { background: var(--sunk); }
.lens-name { font-size: 13px; font-weight: 600; }
.lens-types { display: grid; gap: 3px; }
@media (max-width: 980px) {
  .lens-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lens-summary li + li { border-left: 0; }
  .lens-summary li { border-top: 1px solid var(--line); }
  .lens-summary li:nth-child(-n+2) { border-top: 0; }
  .lens-summary li:nth-child(even) { border-left: 1px solid var(--line); }
}

.scope { display: grid; grid-template-columns: max-content 1fr; gap: 2px 14px; font-size: 13px; }
.scope dt { color: var(--faint); }
.limitations { font-size: 13px; color: var(--muted); }
.limitations strong { color: var(--ink); font-weight: 600; }
.corroboration { font-size: 13px; color: var(--muted); border-left: 2px solid var(--line-strong); padding-left: 10px; }

.source-title { font-size: 14px; font-weight: 600; font-family: var(--sans); letter-spacing: 0; line-height: 1.4; }
.source-meta, .source-capture { font-size: 12px; color: var(--muted); }
.source-capture { font-size: 11px; color: var(--faint); }
.source-flags { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.indep, .note-tag { font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 10px; background: var(--sunk); color: var(--muted); border: 1px solid var(--line); display: inline-flex; align-items: center; gap: 4px; }
.indep-official { color: var(--t-established_outcome); }
.indep-independent { color: var(--t-independent_assessment); }
.indep-company { color: var(--t-commitment); }
.note-tag.warn { color: var(--warn); }
.source-note { font-size: 12px; color: var(--warn); margin-bottom: 6px; }
.passage { margin: 8px 0; padding: 10px 14px; background: var(--sunk); border-left: 3px solid var(--line-strong); border-radius: 0 var(--radius) var(--radius) 0; font-size: 14px; }
.passage blockquote { margin: 0; }
.passage .context { color: var(--faint); font-size: 13px; }
.passage .context:first-child { margin-bottom: 4px; }
.passage blockquote + .context { margin-top: 4px; }
.passage figcaption { font-size: 11px; color: var(--faint); margin-top: 6px; text-transform: uppercase; letter-spacing: .05em; }
.source-links { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; margin: 4px 0 2px; }
.source-links a { display: inline-flex; align-items: center; gap: 5px; }
.dead { color: var(--faint); text-decoration: line-through; }

.correction { background: var(--correction); border-radius: var(--radius); padding: 10px 14px; font-size: 13px; display: grid; gap: 4px; }
.correction .was { color: var(--muted); }
.response { background: var(--response); border-radius: var(--radius); padding: 10px 14px; font-size: 13px; display: grid; gap: 4px; }
.response-label { font-weight: 600; }
.response blockquote { margin: 0; font-size: 14px; }
.response-meta { font-size: 12px; color: var(--muted); }
.history { list-style: none; display: grid; gap: 4px; font-size: 13px; }
.history li { display: grid; grid-template-columns: 96px 1fr; gap: 10px; }
.history time { color: var(--faint); }
.history-corrected span { font-weight: 600; }

.btn { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 8px 16px; border-radius: 5px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--sunk); }
.btn.primary { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.btn.primary:hover { filter: brightness(1.15); }
.btn[disabled] { opacity: .6; cursor: progress; }
.text-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 4px 0; font: inherit; font-size: 13px; color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); min-height: 32px; }
.text-btn:hover { color: var(--ink); }

/* Report form (Modern Web Guidance: forms, required-field-feedback) */
.report-form { display: grid; gap: 16px; max-width: 640px; }
.report-title { font-size: 22px; }
.report-intro { font-size: 13px; color: var(--muted); }
.report-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.report-form legend { font-weight: 600; font-size: 14px; margin-bottom: 6px; padding: 0; }
.reason { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; }
.reason input { margin: 4px 0 0; width: 16px; height: 16px; flex: none; }
.field { display: grid; gap: 4px; }
.field label { font-weight: 600; font-size: 14px; }
.field .hint { font-size: 12px; color: var(--muted); }
.req, .opt { font-weight: 400; color: var(--faint); font-size: 12px; }
.field input[type="text"], .field input[type="url"], .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--raised); border: 1px solid var(--line-strong); border-radius: 5px; padding: 9px 11px; }
.field textarea { resize: vertical; min-height: 104px; }
.field.check { grid-template-columns: auto 1fr; align-items: start; column-gap: 9px; }
.field.check input { margin: 4px 0 0; width: 16px; height: 16px; }
.field.check label { font-weight: 400; font-size: 14px; }
.field.check .field-error { grid-column: 1 / -1; }
.field-error { display: none; align-items: center; gap: 6px; color: var(--warn); font-size: 13px; font-weight: 600; }
.field :user-invalid { border-color: var(--warn); }
.field input:user-invalid ~ .field-error, .field textarea:user-invalid ~ .field-error, .reasons:has(input:user-invalid) .field-error { display: flex; }
.signed-in { font-size: 12px; color: var(--muted); }
.sim { color: var(--faint); }
.form-actions { display: flex; gap: 10px; align-items: center; }
.report-status:empty { display: none; }
.report-status { font-size: 14px; border-radius: var(--radius); padding: 12px 14px; background: var(--sunk); }
.report-status.error { color: var(--warn); border: 1px solid currentColor; background: transparent; }
.receipt { display: grid; gap: 10px; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 18px; background: var(--raised); }
.receipt h3 { font-size: 20px; }
.receipt ol { padding-left: 20px; display: grid; gap: 4px; font-size: 14px; }
.receipt .ref { font-family: ui-monospace, monospace; font-size: 13px; }

/* Dialog (option A) */
dialog.report-dialog { border: 0; border-radius: 10px; padding: 0; width: min(680px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); background: var(--raised); color: var(--ink); box-shadow: 0 24px 64px rgb(0 0 0 / .28); }
dialog.report-dialog::backdrop { background: light-dark(rgb(36 41 36 / 38%), rgb(5 9 13 / 66%)); }
.dialog-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; padding: 20px 22px 0; }
.dialog-head p { font-size: 13px; color: var(--muted); margin-top: 6px; }
.dialog-body { padding: 16px 22px 24px; }
.close { width: 40px; height: 40px; flex: none; border-radius: 6px; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 20px; cursor: pointer; }

/* SEO annotation */
.seo-panel { margin-top: 18px; border: 1px dashed #8a949c; border-radius: var(--radius); background: light-dark(#f2f4f5, #161d22); color: var(--ink); }
.seo-panel summary { cursor: pointer; padding: 10px 14px; font-weight: 600; font-size: 13px; }
.seo-panel summary span { font-weight: 400; color: var(--muted); }
.seo-inner { padding: 0 14px 16px; display: grid; gap: 14px; }
.serp { background: light-dark(#fff, #202124); border-radius: 8px; padding: 14px 16px; max-width: 640px; font-family: Arial, sans-serif; }
.serp-site { font-size: 14px; color: light-dark(#202124, #dadce0); }
.serp-url { font-size: 12px; color: light-dark(#4d5156, #bdc1c6); }
.serp-title { font-size: 20px; color: light-dark(#1a0dab, #99c3ff); line-height: 1.3; margin-top: 4px; }
.serp-desc { font-size: 14px; color: light-dark(#4d5156, #bdc1c6); margin-top: 4px; }
.seo-facts { display: grid; gap: 6px; font-size: 13px; }
.seo-facts div { display: grid; grid-template-columns: 140px 1fr; gap: 10px; }
.seo-facts dt { color: var(--muted); }
.seo-label { font-size: 12px; color: var(--muted); }
.seo-panel pre { max-height: 360px; overflow: auto; background: var(--raised); border: 1px solid var(--line); border-radius: 5px; padding: 12px; font-size: 11.5px; line-height: 1.5; margin: 0; }

@media (max-width: 700px) {
  .site-header, main, .site-footer { padding-left: 18px; padding-right: 18px; }
  .proto-bar { padding: 7px 12px; gap: 10px; }
  .proto-fail { margin-left: 0; }
  .proto-note { display: none; }
  .seo-facts div { grid-template-columns: 1fr; gap: 0; }
  .history li { grid-template-columns: 1fr; gap: 0; }
}

/* Shared finding pieces */
.claim-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.when { font-size: 12px; color: var(--muted); }
.claim-text { font-size: 16px; max-width: 70ch; }
.published { font-size: 12px; color: var(--faint); }
.section-note { font-size: 13px; color: var(--muted); }
.key { border: 1px solid var(--line); border-radius: var(--radius); background: var(--raised); margin: 16px 0 0; }
.key summary { padding: 10px 14px; cursor: pointer; font-size: 13px; font-weight: 600; }
.key dl { display: grid; gap: 8px; padding: 0 14px 14px; }
.key dl div { display: grid; grid-template-columns: 190px 1fr; gap: 12px; font-size: 13px; }
.key dd { color: var(--muted); }
.gap { border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 14px 16px; display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.gap strong { color: var(--ink); }
.gap.big { padding: 28px; max-width: 640px; margin-top: 24px; justify-items: start; gap: 10px; }
.gap.big h2 { font-size: 26px; color: var(--ink); }

/* Option A: Dossier */
.dossier { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 48px; }
.toc { position: sticky; top: 18px; align-self: start; font-size: 13px; padding-top: 14px; }
.toc-title { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin-bottom: 8px; }
.toc ol { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 4px 12px; text-decoration: none; color: var(--muted); margin-left: -1px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--ink); border-left-color: var(--line-strong); }
.report { max-width: 780px; display: grid; gap: 22px; min-width: 0; }
.report .lens-summary { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.report .lens-summary li { border-left: 0 !important; border-top: 1px solid var(--line) !important; }
.report .lens-summary li:nth-child(-n+4) { border-top: 0 !important; }
.report .lens-summary li:not(:nth-child(4n+1)) { border-left: 1px solid var(--line) !important; }
.lens-section { display: grid; gap: 18px; padding-top: 22px; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.lens-section h2 { font-size: 28px; }
.claim { display: grid; gap: 8px; scroll-margin-top: 16px; }
.claim h3 { font-size: 20px; }
.claim h3 .self { text-decoration: none; }
.claim h3 .self:hover { text-decoration: underline; }
.claim:target h3 { background: var(--mark); }
.cite { font-size: 11px; vertical-align: super; line-height: 0; margin-left: 2px; text-decoration: none; color: var(--accent); font-weight: 600; padding: 0 1px; }
.cite:hover { text-decoration: underline; }
.evidence-inline { border-left: 2px solid var(--line); padding-left: 14px; }
.evidence-inline summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--accent); padding: 4px 0; }
.evidence-inline summary span { font-weight: 400; color: var(--muted); }
.evidence-inline-body { display: grid; gap: 10px; padding: 8px 0 4px; }
.inline-sources { padding-left: 22px; display: grid; gap: 14px; }
.inline-sources li::marker { font-size: 12px; color: var(--faint); }
.claim-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; }
.cross-ref { display: grid; gap: 4px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; }
.cross-home, .why { color: var(--muted); font-size: 13px; }
.sources ol { padding-left: 26px; display: grid; gap: 18px; margin-top: 12px; }
.sources > ol > li { scroll-margin-top: 16px; padding: 4px 0 4px 6px; border-radius: 4px; }
.sources > ol > li:target { background: var(--sunk); outline: 2px solid var(--mark); outline-offset: 4px; }
.sources h2, .changes h2 { font-size: 28px; }
.sources h3 { font-size: 15px; }
.cited-by { font-size: 12px; color: var(--muted); }
.changes { display: grid; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.changes .history li { grid-template-columns: 110px 1fr; }
.standalone-report { max-width: 700px; display: grid; gap: 12px; }
.about-finding { font-family: var(--serif); font-size: 22px; }
@media (max-width: 900px) {
  .dossier { grid-template-columns: 1fr; gap: 0; }
  .toc { display: none; }
  .report .lens-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report .lens-summary li:nth-child(-n+4) { border-top: 1px solid var(--line) !important; }
  .report .lens-summary li:nth-child(-n+2) { border-top: 0 !important; }
  .report .lens-summary li:not(:nth-child(4n+1)) { border-left: 0 !important; }
  .report .lens-summary li:nth-child(even) { border-left: 1px solid var(--line) !important; }
}

/* Option B: Ledger */
.opt-b .lens-summary { margin-top: 22px; }
.ledger-section { margin-top: 34px; display: grid; gap: 12px; scroll-margin-top: 16px; }
.ledger-section h2 { font-size: 26px; }
.ledger { width: 100%; border-collapse: collapse; font-size: 13px; }
.ledger th, .ledger td { text-align: left; vertical-align: top; padding: 11px 12px; border-bottom: 1px solid var(--line); }
.ledger thead th { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); border-bottom: 1px solid var(--line-strong); }
.ledger tbody th { font-weight: 500; font-size: 15px; width: 40%; }
.ledger tbody th a { text-decoration-color: var(--line-strong); }
.ledger tbody tr:hover { background: var(--raised); }
.ledger td:nth-child(2) { white-space: nowrap; }
.ledger .procedural { margin-top: 4px; display: inline-block; }
.row-note { display: block; font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 3px; }
.kinds { display: block; font-size: 12px; color: var(--muted); }
@media (max-width: 760px) {
  .ledger thead { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  .ledger, .ledger tbody, .ledger tr, .ledger th, .ledger td { display: block; width: auto !important; }
  .ledger tr { border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 2px; margin-bottom: 10px; background: var(--raised); }
  .ledger th, .ledger td { border: 0; padding: 4px 12px; }
  .ledger td { display: grid; grid-template-columns: 76px 1fr; gap: 10px; }
  .ledger td::before { content: attr(data-label); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--faint); padding-top: 2px; }
  .ledger td:nth-child(2) { white-space: normal; }
}
.finding-page { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.finding-main { display: grid; gap: 26px; max-width: 760px; min-width: 0; }
.finding-head { display: grid; gap: 12px; }
.finding-head h1 { font-size: clamp(30px, 3.4vw, 42px); }
.finding-lead { font-size: 18px; line-height: 1.55; }
.finding-block { display: grid; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.finding-block > h2 { font-size: 22px; }
.finding-block .count { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-left: 6px; }
.source-cards { list-style: none; display: grid; gap: 14px; }
.source-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--raised); padding: 14px 16px; }
.lens-links { list-style: none; display: grid; gap: 6px; font-size: 14px; }
.lens-links li { display: grid; gap: 1px; }
.lens-links span { color: var(--muted); font-size: 13px; }
.report-block { background: var(--raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.finding-aside { position: sticky; top: 18px; display: grid; gap: 14px; }
.aside-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: grid; gap: 10px; font-size: 13px; background: var(--raised); justify-items: start; }
.aside-title { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); }
.check-list, .other-findings { list-style: none; display: grid; gap: 8px; width: 100%; }
.check-list li { display: grid; }
.check-list a { display: inline-flex; gap: 5px; align-items: center; font-weight: 600; }
.check-list span { color: var(--muted); font-size: 12px; }
.other-findings li { display: grid; gap: 2px; }
@media (max-width: 960px) { .finding-page { grid-template-columns: 1fr; } .finding-aside { position: static; } }

/* Option C: Inspector */
.company-head.compact { padding-bottom: 18px; border: 0; gap: 8px; }
.company-name { font-size: 14px; font-weight: 600; color: var(--muted); }
.company-head.compact h1 { font-size: clamp(32px, 3.6vw, 46px); }
.lens-tabs { border-bottom: 1px solid var(--line-strong); margin-bottom: 26px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.lens-tabs ul { list-style: none; display: flex; gap: 2px; min-width: max-content; }
.lens-tabs a { display: grid; gap: 1px; padding: 10px 14px 9px; text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; font-size: 14px; font-weight: 600; }
.lens-tabs a:hover { background: var(--sunk); }
.lens-tabs a[aria-current="page"] { border-bottom-color: var(--ink); }
.tab-count { font-size: 11px; font-weight: 400; color: var(--muted); }
.inspector { display: grid; gap: 34px; }
.inspect { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--raised); overflow: clip; scroll-margin-top: 16px; }
.inspect:target { outline: 2px solid var(--accent); outline-offset: 3px; }
.inspect-claim { padding: 22px 24px; display: grid; gap: 12px; align-content: start; border-right: 1px solid var(--line); }
.inspect-claim h2 { font-size: 24px; }
.inspect-evidence { padding: 22px 24px; display: grid; gap: 16px; align-content: start; background: var(--sunk); }
.evidence-label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); }
.doc { margin: 0; display: grid; gap: 8px; }
.doc-head { display: grid; gap: 2px; }
.doc-title { font-weight: 600; font-size: 14px; }
.doc-meta { font-size: 12px; color: var(--muted); }
.doc-head .source-flags { margin: 4px 0 0; }
.doc-page { background: var(--raised); border: 1px solid var(--line); border-radius: 4px; padding: 16px 18px; font-family: 'Literata', Georgia, serif; font-size: 14.5px; line-height: 1.65; box-shadow: 0 1px 0 var(--line); display: grid; gap: 8px; }
.doc-page blockquote { margin: 0; }
.doc-page .context { color: var(--faint); }
.gap-line { letter-spacing: .3em; }
.locator { font-family: var(--sans); font-size: 11px; color: var(--faint); text-transform: uppercase; letter-spacing: .05em; }
.hash { font-size: 11px; color: var(--faint); }
.verify { display: grid; gap: 10px; border-top: 1px solid var(--line-strong); padding-top: 14px; }
.verify-q { font-weight: 600; font-size: 14px; }
.flag summary { list-style: none; width: fit-content; }
.flag summary::-webkit-details-marker { display: none; }
.flag[open] summary { background: var(--raised); }
.flag-body { margin-top: 14px; background: var(--raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.mini-history summary { cursor: pointer; font-size: 13px; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.mini-history .history { margin-top: 8px; }
.lens-directory { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 16px; }
.lens-directory > li { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: var(--raised); display: grid; gap: 10px; align-content: start; }
.lens-directory h2 { font-size: 20px; }
.lens-directory ul { list-style: none; display: grid; gap: 8px; font-size: 14px; }
.lens-directory ul li { display: grid; gap: 1px; }
.gap-inline { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) {
  .inspect { grid-template-columns: 1fr; }
  .inspect-claim { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* Study index */
.study-index main { max-width: 1180px; padding-top: 40px; }
.study-head { display: grid; gap: 14px; max-width: 820px; }
.eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); }
.study-head h1 { font-size: clamp(34px, 4vw, 52px); }
.study-head .lede { font-size: 16px; color: var(--muted); }
.option-cards { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.option-card { border: 1px solid var(--line); border-radius: 10px; background: var(--raised); padding: 22px; display: grid; gap: 14px; align-content: start; justify-items: start; }
.option-letter { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); }
.option-card h2 { font-size: 30px; }
.option-card h2 a { text-decoration: none; }
.option-card > p { font-size: 14px; }
.tradeoffs { display: grid; gap: 12px; font-size: 13px; }
.tradeoffs h3 { font-family: var(--sans); font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.tradeoffs ul { padding-left: 18px; display: grid; gap: 3px; }
.option-urls { font-size: 13px; color: var(--muted); }
.study-foot { margin-top: 28px; font-size: 13px; color: var(--muted); }
@media (max-width: 960px) { .option-cards { grid-template-columns: 1fr; } }
.ledger { table-layout: fixed; }
.ledger thead th:nth-child(1) { width: 38%; } .ledger thead th:nth-child(2) { width: 17%; } .ledger thead th:nth-child(3) { width: 13%; } .ledger thead th:nth-child(4) { width: 16%; } .ledger thead th:nth-child(5) { width: 16%; }
.ledger td:nth-child(2) { white-space: normal; }
.inspect-claim { position: sticky; top: 0; align-self: start; }
@media (max-width: 900px) { .inspect-claim { position: static; } }
.ledger .cell { display: block; min-width: 0; }
.site-footer > *, .seo-inner > * { min-width: 0; }
.seo-facts code, .serp-url { overflow-wrap: anywhere; }
@media (max-width: 520px) { .key dl div { grid-template-columns: 1fr; gap: 2px; } .changes .history li { grid-template-columns: 1fr; } }

/* Option B at scale */
.opt-bs .lens-summary { margin-top: 22px; }
.lens-count { font-size: 12px; color: var(--muted); }
.order-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.section-head p { font-size: 13px; color: var(--muted); }
.all-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; justify-self: start; min-height: 32px; }
.status { font-size: 12px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid currentColor; }
.status.open { color: var(--t-allegation); }
.status.open::before { background: currentColor; }
.ledger.matters thead th:nth-child(1) { width: 40%; } .ledger.matters thead th:nth-child(2) { width: 18%; } .ledger.matters thead th:nth-child(3) { width: 13%; } .ledger.matters thead th:nth-child(4) { width: 17%; } .ledger.matters thead th:nth-child(5) { width: 12%; }
.timeline-toggle { margin-top: 6px; }
.timeline-toggle summary { cursor: pointer; font-size: 12px; font-weight: 600; color: var(--accent); width: fit-content; }
.timeline { list-style: none; display: grid; gap: 8px; margin: 8px 0 2px; padding-left: 12px; border-left: 1px solid var(--line-strong); font-weight: 400; }
.timeline li { display: grid; gap: 2px; font-size: 13px; }
.timeline time { font-size: 11px; color: var(--faint); }
.timeline a { text-decoration-color: var(--line-strong); }
.year-row th { font-family: var(--sans); font-size: 12px !important; font-weight: 650 !important; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--sunk); padding: 6px 12px !important; }
.filters { display: block; margin: 0 0 14px; }
.filters form { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 14px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--raised); }
.filter-field { display: grid; gap: 4px; min-width: 150px; }
.filter-field.grow { flex: 1 1 260px; }
.filter-field label { font-size: 12px; font-weight: 600; color: var(--muted); }
.filter-field input, .filter-field select, .field select { font: inherit; font-size: 15px; color: var(--ink); background: var(--raised); border: 1px solid var(--line-strong); border-radius: 5px; padding: 8px 10px; min-height: 40px; width: 100%; }
.filter-actions { display: flex; align-items: center; gap: 12px; }
.result-summary { font-size: 13px; color: var(--muted); margin: 6px 0 10px; }
.older { margin-top: 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.older > summary { cursor: pointer; padding: 12px 14px; font-weight: 600; font-size: 14px; }
.older > summary span { font-weight: 400; color: var(--muted); }
.older .ledger { margin: 0; }
.older .ledger thead { display: none; }
.matter-timeline { list-style: none; display: grid; gap: 0; border-left: 2px solid var(--line-strong); margin-left: 6px; }
.matter-event { position: relative; padding: 4px 0 18px 20px; display: grid; gap: 6px; scroll-margin-top: 16px; }
.matter-event::before { content: ""; position: absolute; left: -7px; top: 9px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line-strong); }
.matter-event:target { background: var(--sunk); border-radius: 0 var(--radius) var(--radius) 0; }
.matter-event time { font-size: 13px; font-weight: 600; }
.event-text { font-size: 16px; max-width: 68ch; }
.event-sources { list-style: none; display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.event-sources a { display: inline-flex; gap: 4px; align-items: center; }
.event-actions { display: flex; gap: 16px; }
@media (max-width: 760px) {
  .year-row { display: block; }
  .year-row th { display: block; border-radius: 4px; margin-bottom: 8px; }
  .ledger.matters td { grid-template-columns: 86px 1fr; }
  .filter-field { flex: 1 1 100%; }
}
.filters form { align-items: end; }
.more-filters { flex: 1 1 100%; }
.more-filters > summary { cursor: pointer; font-size: 13px; font-weight: 600; width: fit-content; }
.more-filters > summary span { font-weight: 400; color: var(--muted); }
.more-filters-body { display: flex; flex-wrap: wrap; gap: 12px 14px; padding-top: 12px; }
.more-filters-body .filter-field { flex: 1 1 180px; }
.company-search { display: block; margin-top: 22px; }
.company-search form { display: grid; gap: 6px; max-width: 720px; }
.company-search label { font-size: 13px; font-weight: 600; }
.company-search-row { display: flex; gap: 10px; }
.company-search input { flex: 1; min-width: 0; font: inherit; font-size: 16px; color: var(--ink); background: var(--raised); border: 1px solid var(--line-strong); border-radius: 5px; padding: 9px 12px; min-height: 44px; }
.search-elsewhere { font-size: 13px; color: var(--muted); margin: -4px 0 12px; }
.lens-facets { margin: 0 0 14px; display: grid; gap: 6px; }
.lens-facets[hidden] { display: none; }
.facet-label { font-size: 12px; font-weight: 600; color: var(--muted); }
.lens-facets ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.lens-facets a { display: inline-flex; gap: 4px; align-items: center; min-height: 32px; padding: 4px 12px; border: 1px solid var(--line-strong); border-radius: 16px; font-size: 13px; text-decoration: none; background: var(--raised); }
.lens-facets a:hover { background: var(--sunk); }
.facet-count { color: var(--muted); }

/* Round 3: sources policy and contributions */
.head-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.policy { max-width: 880px; display: grid; gap: 30px; }
.policy-head { display: grid; gap: 14px; }
.policy-head h1 { font-size: clamp(36px, 4.2vw, 52px); }
.policy-head .lede { font-size: 17px; color: var(--muted); }
.how { padding-left: 20px; display: grid; gap: 6px; font-size: 15px; }
.draft-note { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 10px 12px; }
.policy-block { display: grid; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.policy-block > h2 { font-size: 26px; }
.support-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.support-table th, .support-table td { padding: 10px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: top; }
.support-table thead th { vertical-align: bottom; }
.support-table thead th .type { white-space: normal; justify-content: center; }
.support-table tbody th { text-align: left; width: 34%; }
.cat-name { display: block; font-weight: 600; font-size: 14px; }
.cat-who { display: block; font-weight: 400; color: var(--muted); font-size: 12px; margin-top: 2px; }
.yes { color: var(--t-established_outcome); display: inline-flex; }
.yes .icon { width: 18px; height: 18px; }
.no { color: var(--faint); }
.cat-notes { padding-left: 18px; display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.cat-notes strong { color: var(--ink); }
.list-filter { max-width: 360px; }
.list-filter input { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--raised); border: 1px solid var(--line-strong); border-radius: 5px; padding: 8px 10px; min-height: 40px; }
.domain-group { display: grid; gap: 8px; }
.domain-group[hidden] { display: none; }
.domain-group h3 { font-family: var(--sans); font-size: 15px; font-weight: 650; }
.domain-group .count { font-weight: 400; color: var(--muted); font-size: 13px; }
.domains { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 6px 18px; }
.domains li { display: grid; gap: 0; font-size: 13px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.domains code { font-size: 13px; font-weight: 600; }
.domains span { color: var(--muted); font-size: 12px; }
.fictional { font-style: normal; font-size: 11px; color: var(--faint); border: 1px solid var(--line-strong); border-radius: 3px; padding: 0 4px; }
.plain-list { list-style: none; display: grid; gap: 6px; font-size: 14px; }
.plain-list span { color: var(--muted); }
.ledger.not-accepted thead th:nth-child(1) { width: 22%; }
.history li span strong { font-weight: 600; }
.source-result:empty { display: none; }
.source-result { border-radius: var(--radius); padding: 10px 12px; display: grid; gap: 4px; font-size: 14px; border: 1px solid var(--line-strong); background: var(--raised); }
.src-title { display: flex; gap: 8px; align-items: flex-start; font-weight: 600; }
.src-title .icon { margin-top: 3px; }
.src-sub { font-size: 13px; color: var(--muted); }
.source-result.accepted .src-title { color: var(--t-established_outcome); }
.source-result.company .src-title { color: var(--t-commitment); }
.source-result.unlisted .src-title { color: var(--ink); }
.source-result.excluded .src-title, .source-result.not-accepted .src-title, .source-result.invalid .src-title { color: var(--warn); }
.source-result.excluded, .source-result.not-accepted, .source-result.invalid { border-color: var(--warn); }
.contribute-page { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.contribute-form { max-width: 700px; }
.contribute-form h1 { font-size: clamp(30px, 3.4vw, 42px); }
.no-link > summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--accent); width: fit-content; }
.no-link .more-filters-body .field { flex: 1 1 220px; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field input[list] { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--raised); border: 1px solid var(--line-strong); border-radius: 5px; padding: 9px 11px; }
.lens-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 6px 16px; }
.contribute-aside { position: sticky; top: 18px; display: grid; gap: 14px; }
.steps { padding-left: 18px; display: grid; gap: 6px; }
@media (max-width: 960px) { .contribute-page { grid-template-columns: 1fr; } .contribute-aside { position: static; } }
@media (max-width: 600px) { .field-pair { grid-template-columns: 1fr; }
  .support-table thead { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  .support-table, .support-table tbody, .support-table tr, .support-table th, .support-table td { display: block; width: auto !important; text-align: left; }
  .support-table tr { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; padding: 8px 4px; background: var(--raised); }
  .support-table th, .support-table td { border: 0; padding: 3px 10px; }
  .support-table td { display: flex; justify-content: space-between; }
  .support-table td::before { content: attr(data-label); color: var(--muted); }
}
.support-table thead th:first-child { text-align: left; }
.support-table thead th .type { align-items: flex-start; text-align: left; }
.support-table thead th .type-mark { margin-top: 4px; }
.company-search form, .company-search form > * { min-width: 0; }
.company-search .btn { flex: none; }
[hidden] { display: none !important; }
.ledger.matters .c-matter { width: 40%; } .ledger.matters .c-latest { width: 18%; } .ledger.matters .c-updated { width: 13%; } .ledger.matters .c-products { width: 17%; } .ledger.matters .c-status { width: 12%; }
@media (max-width: 760px) { .ledger.matters colgroup { display: none; } }

/* Round 4: senior-editor queue (the board itself is styled in board.css) */
.dup { font-size: 13px; border-top: 1px solid var(--line); padding-top: 6px; margin-top: 2px; }
.role-note { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--t-commitment); border: 1px dashed currentColor; border-radius: var(--radius); padding: 8px 12px; margin-bottom: 18px; }
.queue-h { font-size: 22px; margin: 26px 0 10px; }
.queue-h span { font-family: var(--sans); font-size: 14px; color: var(--muted); }
.review-item { border: 1px solid var(--line); border-radius: 10px; background: var(--raised); margin-bottom: 12px; }
.review-item > summary { cursor: pointer; padding: 14px 16px; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.rv-title { font-weight: 600; }
.rv-meta { font-size: 12px; color: var(--muted); width: 100%; }
.review-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; padding: 0 16px 18px; border-top: 1px solid var(--line); padding-top: 16px; }
.review-evidence, .review-decide { display: grid; gap: 10px; align-content: start; min-width: 0; }
.rv-passages { list-style: none; display: grid; gap: 10px; }
.rv-passages blockquote { margin: 0 0 2px; padding: 8px 12px; border-left: 3px solid var(--line-strong); background: var(--sunk); font-size: 14px; }
.rv-downs { padding-left: 18px; font-size: 13px; color: var(--muted); }
.ratify-form, .decline-form { display: grid; gap: 12px; }
.ratify-form h3, .decline-form h3 { font-size: 18px; }
.decline-form { border-top: 1px solid var(--line); padding-top: 14px; }
.types { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.types legend { font-weight: 600; font-size: 14px; margin-bottom: 4px; padding: 0; }
.types input:disabled + label { opacity: .55; }
.why-disabled { font-size: 12px; color: var(--muted); }
.field textarea[name="finding"], .field textarea[name="reason"], .field input[name="newMatter"] { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--raised); border: 1px solid var(--line-strong); border-radius: 5px; padding: 8px 10px; }
@media (max-width: 900px) { .review-body { grid-template-columns: 1fr; } }
.site-review { display: grid; gap: 10px; border: 1px dashed var(--t-commitment); border-radius: var(--radius); padding: 14px; }
.site-review h3 { font-size: 18px; }
.site-review select, .site-review input { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--raised); border: 1px solid var(--line-strong); border-radius: 5px; padding: 8px 10px; min-height: 40px; }
.site-status { font-size: 13px; color: var(--t-established_outcome); }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
