/* ═══════════════════════════════════════════════════════════════
   BRIGHTFIELD — "UNDER THE LIGHT" interior / doc-page BODY system.
   Loaded AFTER brightfield-core.css (which owns ALL shared chrome —
   utility bar, header, nav, footer — so the header/menu/footer are
   byte-identical to the homepage and report pages). This file only
   defines the extra tokens the interior inline-styles reference and
   styles the doc-page body: masthead band, body+rail layout, prose,
   doc TOC, reviewer cards, tables.
═══════════════════════════════════════════════════════════════ */

:root {
  /* Extra short tokens the interior inline-styles reference that core
     does not define (core already provides --paper/--ink/--muted/--line/
     --serif/--grot/--mono/--copper/etc.). */
  --soft: var(--paper-2); --sheet: var(--surface); --page: var(--paper); --dark: var(--field);
  --rule: var(--line-2); --ui: var(--grot);
  --accent: var(--copper-deep); --col-accent: var(--copper-deep); --max: var(--wrap);
}

a { color: var(--accent); }

/* generic section wrapper (override core's vertical-padded .section) */
.section { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* kicker label (core has .eyebrow) */
.kicker { font-family: var(--mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .16em; color: var(--copper-deep); }

/* ════ REPORT HEADER (masthead-lite band) ════ */
.report-header { background: var(--paper-2) !important; border-bottom: 1px solid var(--line); padding: 48px 0 40px !important; }
.report-header .section { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.report-header h1 { font-family: var(--serif); font-size: clamp(34px,5vw,56px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.02; margin-top: 18px; }
.report-header p { font-family: var(--serif); }

/* ════ LAYOUT: reading column + metadata rail ════ */
.report-layout { max-width: var(--max); margin: 0 auto; padding: 56px 32px 90px; display: grid; grid-template-columns: minmax(0,1fr) 252px; gap: 64px; align-items: start; }
.report-layout > * { min-width: 0; }
.report-layout > .report-body, .report-layout > .prose, .report-layout > article { order: 1; }
.report-layout > .report-sidebar, .report-layout > .report-sidebar-sticky, .report-layout > aside { order: 2; position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 116px); overflow-y: auto; scrollbar-width: none; border-left: 1px solid var(--line); padding-left: 24px; }
.report-layout > aside::-webkit-scrollbar { display: none; }
.report-sidebar nav a, .report-sidebar a { font-size: 13px; line-height: 1.4; color: var(--muted); transition: color .14s; }
.report-sidebar a:hover { color: var(--copper-deep); }
.report-sidebar a.active { color: var(--copper-deep); font-weight: 500; }
.report-toc-label { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }

/* ════ READING COLUMN TYPOGRAPHY (editorial, nesting-robust) ════
   Body text is wrapped in <section> elements, so spacing must live on the
   elements themselves (margins), never on `> * + *` (which can't reach nested
   children). Newsreader reading column at a research-publication bar. */
.report-body, .prose { font-family: var(--serif); font-size: 18px; line-height: 1.78; color: var(--ink-2); max-width: 68ch; }

/* section rhythm */
.report-body > section, .prose > section { margin-top: 0; }
.report-body > section + section, .prose > section + section { margin-top: 46px; }

/* paragraphs — bottom margin works at any depth */
.report-body p, .prose p { margin: 0 0 1.15em; color: var(--ink-2); }
.report-body p:last-child, .prose p:last-child { margin-bottom: 0; }
.report-body > p + p, .prose > p + p { margin-top: 0; }

/* headings */
.report-body h2, .prose h2 { font-family: var(--serif); font-size: clamp(25px,2.7vw,32px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.12; color: var(--ink); margin: 0 0 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); scroll-margin-top: 92px; }
.report-body section > h2:first-child, .prose section > h2:first-child { margin-top: 0; }
.report-body h3, .prose h3 { font-family: var(--grot); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--copper-deep); margin: 36px 0 12px; line-height: 1.3; display: flex; align-items: center; gap: 11px; }
.report-body h3::before, .prose h3::before { content: ""; width: 18px; height: 2px; background: var(--copper); flex: none; }
.report-body h3 + p, .prose h3 + p { margin-top: 0; }

/* inline emphasis + links */
.report-body a:not(.btn), .prose a:not(.btn) { color: var(--copper-deep); text-decoration: underline; text-decoration-color: var(--copper-soft); text-underline-offset: 3px; }
.report-body a:hover, .prose a:hover { text-decoration-color: var(--copper); }
.report-body strong, .prose strong { font-weight: 600; color: var(--ink); }
.report-body em, .prose em { font-style: italic; }
.report-body code, .prose code { font-family: var(--mono); font-size: 0.82em; background: var(--paper-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 3px; color: var(--copper-ink); }

/* lists — single-spaced, clean copper markers (inline styles stripped from
   the reading content so these own the layout) */
.report-body ul, .report-body ol, .prose ul, .prose ol { margin: 20px 0; padding-left: 2px; list-style: none; }
.report-body li, .prose li { position: relative; padding-left: 30px; margin: 0 0 11px; line-height: 1.7; }
.report-body li:last-child, .prose li:last-child { margin-bottom: 0; }
.report-body li p, .prose li p { margin: 0; display: inline; }
.report-body ul li::before, .prose ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 50%; border: 1.5px solid var(--copper); }
.report-body ol, .prose ol { counter-reset: li; }
.report-body ol > li::before, .prose ol > li::before { counter-increment: li; content: counter(li,decimal-leading-zero); position: absolute; left: 0; top: 2px; font-family: var(--mono); font-size: 12px; color: var(--copper); font-weight: 500; }

/* blockquote / pullquote */
.report-body blockquote, .prose blockquote { font-family: var(--serif); font-size: clamp(20px,2.4vw,25px); line-height: 1.4; font-weight: 500; color: var(--ink); letter-spacing: -0.012em; border-left: 3px solid var(--copper); padding: 4px 0 4px 26px; margin: 34px 0; }
.report-body blockquote p, .prose blockquote p { margin: 0; }
.report-body hr, .prose hr { height: 1px; background: var(--line); border: 0; margin: 42px 0; }

/* note / callout */
.note { font-family: var(--grot); border-left: 2px solid var(--line-strong); background: var(--paper-2); padding: 18px 22px; border-radius: 0 3px 3px 0; font-size: 15px; line-height: 1.62; color: var(--muted); margin: 28px 0; }
.note p { margin: 0 0 .6em; }
.note p:last-child { margin-bottom: 0; }

/* ════ TABLES ════ */
.table-wrap { border: 1px solid var(--line-2); border-radius: 4px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); margin: 32px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-wrap table { border-collapse: collapse; width: 100%; font-family: var(--grot); font-size: 13.5px; }
.table-wrap th, .table-wrap td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.table-wrap th:last-child, .table-wrap td:last-child { border-right: none; }
.table-wrap tbody tr:last-child td { border-bottom: none; }
.table-wrap thead th { background: var(--field); color: var(--on-dark); font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; font-weight: 500; border-right-color: var(--field-3); border-bottom: none; }
.table-wrap tbody tr:hover { background: var(--paper-2); }

/* ════ REVIEWER / AUTHOR CARDS ════ */
.reviewer-card { border: 1px solid var(--line-2); border-radius: 4px; background: var(--surface); padding: 26px 24px; margin: 20px 0; box-shadow: var(--shadow-sm); }
.reviewer-photo-wrap, .reviewer-photo-placeholder, .reviewer-initials { width: 56px; height: 56px; border-radius: 50%; background: var(--field-2); border: 1px solid var(--field-3); color: var(--copper-bright); display: grid; place-items: center; font-family: var(--mono); font-size: 16px; font-weight: 500; overflow: hidden; }
.reviewer-photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.reviewer-name { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.reviewer-credential, .reviewer-role { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--copper-deep); }
.reviewer-status { font-family: var(--mono); font-size: 11px; color: var(--muted); display: inline-flex; align-items: center; gap: 7px; }
.reviewer-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--copper); }
.reviewer-bio { font-family: var(--serif); font-size: 16px; line-height: 1.65; color: var(--ink-2); margin-top: 10px; }

/* ═══════════════════════════════════════════════════════════════
   INTERIOR COMPONENT LAYER (June 2026 polish pass)
   Reusable, token-driven components that replace the ad-hoc inline
   styles on the trust/reference pages (about, methodology, contact,
   faq, glossary). Chrome remains owned by brightfield-core.css.
═══════════════════════════════════════════════════════════════ */

/* ── Doc masthead band (richer than the lite report-header) ── */
.doc-hero { background: var(--paper-2); border-bottom: 1px solid var(--line); padding: 52px 0 44px; position: relative; }
.doc-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, var(--copper) 0 120px, transparent 120px); }
.doc-hero .section { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.doc-breadcrumb { display: flex; gap: 9px; align-items: center; list-style: none; padding: 0; margin: 0 0 18px; font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.doc-breadcrumb li { padding: 4px 0; }
.doc-breadcrumb a { color: var(--muted); transition: color .14s; }
.doc-breadcrumb a:hover { color: var(--copper-deep); }
.doc-breadcrumb [aria-hidden] { opacity: .45; }
.doc-breadcrumb [aria-current] { color: var(--ink); }
.doc-hero h1 { font-family: var(--serif); font-size: clamp(34px, 5vw, 54px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.03; max-width: 16ch; margin-top: 16px; }
.doc-hero .doc-lede { font-family: var(--serif); font-size: clamp(18px, 1.5vw, 20px); line-height: 1.55; color: var(--muted); max-width: 60ch; margin-top: 16px; }
.doc-meta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 18px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.doc-meta span { display: inline-flex; align-items: center; gap: 8px; }
.doc-meta span:not(:last-child)::after { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); margin-left: 18px; }
.doc-meta strong { color: var(--ink-2); font-weight: 500; }

/* ── Sidebar (TOC + rail blocks) — refines the inline rail markup ── */
.rail-label { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 13px; }
.rail-toc { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.rail-toc li { margin: 0; }
.rail-toc a { display: block; font-size: 13px; line-height: 1.4; color: var(--muted); padding: 9px 0 9px 13px; border-left: 2px solid transparent; margin-left: -2px; transition: color .14s, border-color .14s; }
.rail-toc a:hover { color: var(--copper-deep); }
.rail-toc a.active { color: var(--copper-deep); font-weight: 500; border-left-color: var(--copper); }
.rail-block { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.rail-links { display: flex; flex-direction: column; gap: 9px; }
.rail-links a { font-family: var(--mono); font-size: 11px; color: var(--copper-deep); text-transform: uppercase; letter-spacing: .05em; transition: color .14s; display: flex; align-items: center; min-height: 44px; padding: 4px 0; }
.rail-links a:hover { color: var(--copper); }
.rail-facts { display: flex; flex-direction: column; gap: 11px; }
.rail-fact { display: flex; flex-direction: column; gap: 2px; }
.rail-fact .k { font-family: var(--mono); font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.rail-fact .v { font-size: 13.5px; color: var(--ink); }
.rail-fact .v.ok { color: var(--copper-deep); font-weight: 500; }
.rail-card { margin-top: 22px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 4px; padding: 18px; }
.rail-card .rail-label { margin-bottom: 8px; }
.rail-card p { font-size: 12.5px; color: var(--muted); line-height: 1.55; margin-bottom: 10px; }
.rail-card a { font-family: var(--mono); font-size: 11px; color: var(--copper-deep); display: flex; align-items: center; padding: 10px 0; min-height: 44px; }

/* ── Status pills (replace off-palette green/yellow inline colors) ── */
.pill { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; padding: 4px 11px; border-radius: 100px; border: 1px solid var(--line-2); background: var(--surface); color: var(--muted); white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); }
.pill.is-active { color: var(--copper-ink); background: var(--copper-tint); border-color: var(--copper-soft); }
.pill.is-active::before { background: var(--copper); }
.pill.is-pending::before { background: var(--d-gold); }
.pill.is-pending { color: var(--copper-ink); }

/* ── Callout (copper-warm, replaces yellow #FEF9C3 box) ── */
.callout { background: var(--copper-tint); border: 1px solid var(--copper-soft); border-left: 3px solid var(--copper); border-radius: 0 4px 4px 0; padding: 18px 22px; margin: 26px 0; }
.callout .callout-label { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--copper-deep); margin-bottom: 7px; }
.callout p { font-size: 14.5px; line-height: 1.62; color: var(--ink-2); margin: 0; }
.callout p + p { margin-top: 12px; }
.callout.is-muted { background: var(--paper-2); border-color: var(--line); border-left-color: var(--line-strong); }
.callout.is-muted .callout-label { color: var(--muted); }
.callout.is-muted p { color: var(--muted); }

/* ── Definition / spec cards (criteria, output elements) ── */
.spec-list { display: flex; flex-direction: column; gap: 12px; margin: 22px 0; }
.spec { border: 1px solid var(--line-2); border-radius: 4px; background: var(--surface); padding: 16px 18px; transition: border-color .16s, box-shadow .16s; }
.spec:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.spec strong { display: block; font-family: var(--grot); font-size: 14.5px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.spec p { font-family: var(--grot); font-size: 14px; color: var(--muted); line-height: 1.55; margin: 0; }

/* numbered output-format steps */
.step-list { margin: 22px 0; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.step .step-n { font-family: var(--mono); font-size: 13px; color: var(--copper); font-weight: 500; padding-top: 1px; }
.step strong { display: block; font-family: var(--grot); font-size: 14.5px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.step p { font-family: var(--grot); font-size: 14px; color: var(--muted); line-height: 1.55; margin: 0; }

/* ── Stat / status grid ── */
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; margin: 22px 0; }
.stat-grid > div { background: var(--surface); padding: 18px 20px; }
.stat-grid .k { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
.stat-grid .v { font-size: 15px; color: var(--ink); }
.stat-grid .v.ok { color: var(--copper-deep); font-weight: 500; }

/* ── Timeline (publication history) ── */
.timeline { margin: 24px 0 0; padding-left: 22px; border-left: 2px solid var(--line); display: flex; flex-direction: column; gap: 30px; }
.tl-item { position: relative; }
.tl-item::before { content: ""; position: absolute; left: -28px; top: 5px; width: 11px; height: 11px; border-radius: 50%; background: var(--copper); border: 2px solid var(--paper); }
.tl-item.is-future::before { background: var(--surface); border-color: var(--line-strong); }
.tl-phase { font-family: var(--mono); font-size: 11px; color: var(--copper-deep); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 7px; }
.tl-item.is-future .tl-phase { color: var(--muted); }
.tl-item h3 { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; margin: 0 0 8px; display: block; text-transform: none; }
.tl-item h3::before { display: none; }
.tl-item > p { font-size: 14.5px; color: var(--muted); line-height: 1.6; margin: 0; }
.tl-checks { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.tl-check { display: flex; align-items: baseline; gap: 9px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); line-height: 1.4; }
.tl-check .mk { color: var(--copper); flex: none; }
.tl-check.is-todo .mk { color: var(--d-gold); }

/* ── Reviewer card refinements (header row with avatar) ── */
.reviewer-card { display: block; }
.reviewer-head { display: flex; align-items: center; gap: 15px; margin-bottom: 14px; }
.reviewer-head .reviewer-meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.reviewer-card .reviewer-credential { margin-bottom: 0; }
.mini-people { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.mini-person { display: flex; align-items: center; gap: 13px; padding: 12px 15px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--surface); }
.mini-person .mp-av { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--field-2); border: 1px solid var(--field-3); font-family: var(--mono); font-size: 12px; color: var(--copper-bright); flex: none; }
.mini-person .mp-name { display: block; font-size: 14.5px; color: var(--ink); font-weight: 500; }
.mini-person .mp-role { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.mini-person .pill { margin-left: auto; }

/* ── FAQ accordion (JS in brightfield.js already wires .faq-q/.faq-a) ── */
.faq-list { margin: 22px 0 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; text-align: left; background: none; border: 0; cursor: pointer; padding: 20px 4px; font-family: var(--serif); font-size: 19px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); line-height: 1.3; transition: color .14s; }
.faq-q:hover { color: var(--copper-deep); }
.faq-q:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 2px; }
.faq-icon { flex: none; width: 22px; height: 22px; position: relative; margin-top: 4px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--copper); transition: transform .22s cubic-bezier(.2,.7,.2,1), opacity .22s; }
.faq-icon::before { width: 13px; height: 1.8px; transform: translate(-50%, -50%); }
.faq-icon::after { width: 1.8px; height: 13px; transform: translate(-50%, -50%); }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s cubic-bezier(.2,.7,.2,1); }
.faq-a-inner { padding: 0 4px 24px; }
.faq-a-inner p { font-size: 16.5px; line-height: 1.66; color: var(--ink-2); margin: 0 0 .8em; }
.faq-a-inner p:last-child { margin-bottom: 0; }
.faq-a-inner strong { color: var(--ink); font-weight: 600; }
.faq-a-inner a { color: var(--copper-deep); text-decoration: underline; text-decoration-color: var(--copper-soft); text-underline-offset: 3px; }
.faq-a-inner a:hover { text-decoration-color: var(--copper); }
.faq-a-inner code { font-family: var(--mono); font-size: 13px; background: var(--paper-2); padding: 1px 6px; border-radius: 3px; }

/* ── Glossary definition cards ── */
.gloss-group { margin: 0; }
.gloss-group + .gloss-group { margin-top: 46px; }
.gloss-list { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.gloss { border: 1px solid var(--line-2); border-radius: 4px; background: var(--surface); padding: 22px 24px; scroll-margin-top: 92px; transition: border-color .16s, box-shadow .16s; }
.gloss:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.gloss .gterm { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.gloss .gterm h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); margin: 0; text-transform: none; line-height: 1.2; }
.gloss .gterm h3::before { display: none; }
.gloss .gclass { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--copper-deep); background: var(--copper-tint); border: 1px solid var(--copper-soft); padding: 2px 9px; border-radius: 100px; }
.gloss p { font-size: 16px; line-height: 1.62; color: var(--ink-2); margin: 0 0 .85em; }
.gloss p:last-child { margin-bottom: 0; }

/* ── Glossary alphabetical term index (quick-jump) ── */
.gloss-index { border: 1px solid var(--line-2); border-radius: 4px; background: var(--surface); padding: 20px 22px; margin: 0 0 36px; }
.gloss-index .rail-label { margin-bottom: 14px; }
.gloss-index ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 22px; }
.gloss-index li { margin: 0; }
.gloss-index a { display: inline-flex; align-items: baseline; gap: 8px; font-size: 14px; color: var(--ink-2); line-height: 1.35; padding: 7px 0; transition: color .14s; }
.gloss-index a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--copper-soft); flex: none; transform: translateY(-2px); transition: background .14s; }
.gloss-index a:hover { color: var(--copper-deep); }
.gloss-index a:hover::before { background: var(--copper); }
@media (max-width: 760px) { .gloss-index ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .gloss-index ul { grid-template-columns: 1fr; } }

/* ── Contact channel table (responsive, no overflow) ── */
.contact-table { width: 100%; border-collapse: collapse; margin: 22px 0; font-family: var(--grot); }
.contact-table th { text-align: left; padding: 11px 14px 11px 0; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); border-bottom: 2px solid var(--line); font-weight: 500; }
.contact-table td { padding: 14px 14px 14px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; vertical-align: top; }
.contact-table td:last-child, .contact-table th:last-child { padding-right: 0; }
.contact-table .ch { font-weight: 500; color: var(--ink); white-space: nowrap; }
.contact-table a { color: var(--copper-deep); text-decoration: underline; text-decoration-color: var(--copper-soft); text-underline-offset: 2px; word-break: break-word; }
.contact-table .pending { color: var(--muted); font-style: italic; }

/* ── Record / org details panel ── */
.record-panel { background: var(--surface); border: 1px solid var(--line-2); border-radius: 4px; padding: 24px; margin: 22px 0; }
.record-panel .rail-label { margin-bottom: 16px; }

/* ── Status list (pill-tagged statements: disclosure status, infra status) ──
   Scoped to override the .report-body/.prose copper list-marker + padding. */
.status-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.report-body .status-list li, .prose .status-list li,
.status-list li { display: grid; grid-template-columns: 76px 1fr; gap: 16px; align-items: start; padding: 13px 0; margin: 0; border-top: 1px solid var(--line); }
.status-list li:first-child { border-top: none; }
.report-body .status-list li::before, .prose .status-list li::before { display: none; }
.status-list li > span:last-child { font-family: var(--grot); font-size: 14px; line-height: 1.58; color: var(--ink-2); }
.status-list .pill { justify-self: start; }

/* ── Email contact panel (submit-evidence, contact) ── */
.email-panel { background: var(--paper-2); border: 1px solid var(--line); border-left: 3px solid var(--copper); border-radius: 0 4px 4px 0; padding: 20px 24px; margin: 18px 0; text-align: center; }
.email-panel a { font-family: var(--mono); font-size: 16px; color: var(--copper-deep); text-decoration: underline; text-decoration-color: var(--copper-soft); text-underline-offset: 3px; word-break: break-word; }
.email-panel a:hover { text-decoration-color: var(--copper); }
.record-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 28px; }
.record-grid .k { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 5px; }
.record-grid .v { font-size: 14.5px; color: var(--ink); }
.record-grid .v.pending { color: var(--muted); font-style: italic; }
.record-grid a { color: var(--copper-deep); text-decoration: underline; text-decoration-color: var(--copper-soft); text-underline-offset: 2px; word-break: break-word; }

/* ═══════════════════════════════════════════════════════════════
   HUB / INDEX-PAGE COMPONENT LAYER (June 2026 hub polish pass)
   Token-driven components that replace the ad-hoc inline styles on
   the collection/index pages (benchmarks, buyer-guides, capabilities,
   categories, comparisons, llm-info). Chrome stays owned by core.
═══════════════════════════════════════════════════════════════ */

/* ── Empty state (replaces the flat gray "nothing published" box) ── */
.empty-state {
  position: relative; overflow: hidden;
  border: 1px solid var(--line-2); border-radius: 5px;
  background: var(--surface);
  padding: 38px 34px; margin: 26px 0 0;
  box-shadow: var(--shadow-sm);
}
.empty-state::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--copper), var(--copper-deep));
}
.empty-state .es-mark {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  border: 1.5px dashed var(--line-strong); display: grid; place-items: center;
  margin-bottom: 18px;
}
.empty-state .es-mark::before {
  content: ""; width: 13px; height: 13px; border-radius: 50%;
  border: 1.5px solid var(--copper);
}
.empty-state .es-label {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: .12em; color: var(--copper-deep); margin-bottom: 10px;
}
.empty-state .es-body { font-family: var(--serif); font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 56ch; margin: 0; }
.empty-state .es-body a { color: var(--copper-deep); text-decoration: underline; text-decoration-color: var(--copper-soft); text-underline-offset: 3px; }
.empty-state .es-body a:hover { text-decoration-color: var(--copper); }
.empty-state .es-actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; }
.empty-state .es-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11.5px; text-transform: uppercase;
  letter-spacing: .06em; color: var(--copper-deep); transition: gap .16s, color .16s;
}
.empty-state .es-cta::after { content: "\2192"; transition: transform .16s; }
.empty-state .es-cta:hover { color: var(--copper); }
.empty-state .es-cta:hover::after { transform: translateX(3px); }

/* ── Definition cards (left-rule blocks: "what X covers" panels) ── */
.def-list { display: flex; flex-direction: column; gap: 14px; margin: 24px 0; }
.def-card {
  border: 1px solid var(--line-2); border-left: 3px solid var(--copper);
  border-radius: 0 5px 5px 0; background: var(--surface);
  padding: 20px 24px; transition: border-color .16s, box-shadow .16s, transform .16s;
}
.def-card:hover { box-shadow: var(--shadow-sm); transform: translateX(2px); }
.def-card .dc-label {
  font-family: var(--mono); font-size: 11px; font-weight: 500; text-transform: uppercase;
  letter-spacing: .08em; color: var(--copper-deep); margin: 0 0 8px; line-height: 1.3;
  display: block;
}
.def-card h3.dc-label::before { display: none; }
.def-card p { font-family: var(--grot); font-size: 14.5px; line-height: 1.62; color: var(--ink-2); margin: 0; }

/* ── Output-type collection cards (capabilities page) ── */
.col-list { display: flex; flex-direction: column; gap: 14px; margin: 26px 0 0; }
.col-card {
  display: block; border: 1px solid var(--line-2); border-radius: 5px;
  background: var(--surface); padding: 22px 24px;
  transition: border-color .16s, box-shadow .16s, transform .16s;
}
.col-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.col-card .cc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.col-card .cc-title { font-family: var(--serif); font-size: 21px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); line-height: 1.15; margin: 0; text-transform: none; display: block; }
.col-card h3.cc-title::before { display: none; }
.col-card .cc-link {
  flex: none; font-family: var(--mono); font-size: 10.5px; text-transform: uppercase;
  letter-spacing: .06em; color: var(--copper-deep); display: inline-flex; align-items: center; gap: 6px;
  transition: gap .16s;
}
.col-card .cc-link::after { content: "\2192"; transition: transform .16s; }
.col-card:hover .cc-link::after { transform: translateX(3px); }
.col-card p { font-family: var(--grot); font-size: 14.5px; line-height: 1.62; color: var(--muted); margin: 0; }

/* ── Entity / key-value definition table (llm-info, replaces inline tables) ── */
.kv-table { width: 100%; border-collapse: collapse; font-family: var(--grot); margin: 22px 0 0; }
.kv-table caption { display: none; }
.kv-table th {
  text-align: left; padding: 11px 14px; font-family: var(--mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: .08em; color: var(--on-dark);
  background: var(--field); font-weight: 500;
}
.kv-table th:first-child { border-top-left-radius: 5px; }
.kv-table th:last-child { border-top-right-radius: 5px; }
.kv-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink); vertical-align: top; }
.kv-table tbody tr:last-child td { border-bottom: none; }
.kv-table tbody tr:nth-child(even) td { background: var(--paper-2); }
.kv-table tbody tr:hover td { background: var(--copper-tint); }
.kv-table .k { font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.kv-table .strong { font-weight: 600; color: var(--ink); }
.kv-table a { color: var(--copper-deep); text-decoration: underline; text-decoration-color: var(--copper-soft); text-underline-offset: 2px; word-break: break-word; }
.kv-table a:hover { text-decoration-color: var(--copper); }
.kv-wrap { border: 1px solid var(--line-2); border-radius: 5px; overflow: hidden; overflow-x: auto; -webkit-overflow-scrolling: touch; box-shadow: var(--shadow-sm); margin: 22px 0 0; }
.kv-wrap .kv-table { margin: 0; }
.kv-wrap .kv-table th:first-child, .kv-wrap .kv-table th:last-child { border-radius: 0; }

/* ── Citation-format block (llm-info) ── */
.cite-block { background: var(--field); color: var(--on-dark); border-radius: 5px; padding: 22px 24px; margin: 18px 0 0; box-shadow: var(--shadow-sm); }
.cite-block .cite-row { padding: 12px 0; border-bottom: 1px solid var(--field-3); }
.cite-block .cite-row:first-child { padding-top: 0; }
.cite-block .cite-row:last-child { padding-bottom: 0; border-bottom: none; }
.cite-block .cite-k { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--copper-bright); margin-bottom: 7px; }
.cite-block .cite-v { font-family: var(--mono); font-size: 12.5px; line-height: 1.6; color: var(--on-dark); word-break: break-word; }

/* note modifier: tighter top margin (replaces a one-off inline style) */
.note.tight-top { margin-top: 18px; }

/* ── Accuracy / note footer panel (llm-info) ── */
.info-note { background: var(--paper-2); border: 1px solid var(--line); border-radius: 5px; padding: 20px 22px; margin: 44px 0 0; }
.info-note p { font-family: var(--grot); font-size: 13px; line-height: 1.6; color: var(--muted); margin: 0; }
.info-note strong { color: var(--ink-2); }

/* ── llm-info header meta chip ── */
.doc-hero .hero-files { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.file-chip {
  font-family: var(--mono); font-size: 11px; color: var(--copper-deep);
  background: var(--surface); border: 1px solid var(--copper-soft); border-radius: 100px;
  padding: 4px 12px; transition: background .14s, border-color .14s;
}
.file-chip:hover { background: var(--copper-tint); border-color: var(--copper); }

/* ═══════════════════════════════════════════════════════════════
   PROFILE / PEOPLE PAGE COMPONENT LAYER (June 2026 profile pass)
   Shared, token-driven component for the person-profile pattern used
   across reviewer + author pages (masthead identity block, profile
   rail facts, expertise/credential lists, disclosure card) so every
   people page is visually consistent. Chrome stays owned by core.
═══════════════════════════════════════════════════════════════ */

/* ── Profile masthead: identity block inside the .doc-hero band ── */
.profile-id { display: flex; align-items: flex-start; gap: 26px; margin-top: 4px; }
.profile-avatar {
  width: 84px; height: 84px; flex: none; border-radius: 50%;
  background: var(--field-2); border: 1px solid var(--field-3);
  display: grid; place-items: center; overflow: hidden;
  box-shadow: var(--shadow-sm); position: relative;
}
.profile-avatar::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(217,139,58,0.18);
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar .mono {
  font-family: var(--mono); font-size: 26px; font-weight: 500;
  color: var(--copper-bright); letter-spacing: 0.02em; line-height: 1;
}
.profile-id-text { min-width: 0; }
.profile-id-text .eyebrow { margin-bottom: 14px; }
.profile-id-text h1 {
  font-family: var(--serif); font-size: clamp(30px, 4.4vw, 50px); font-weight: 500;
  letter-spacing: -0.025em; line-height: 1.04; color: var(--ink); margin: 0; max-width: 18ch;
}
.profile-affil {
  margin-top: 14px; font-family: var(--mono); font-size: 12px; line-height: 1.7;
  color: var(--muted); letter-spacing: 0.02em;
}
.profile-affil span { display: block; }
.profile-affil span:first-child { color: var(--ink-2); }
.profile-status {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--copper-ink); background: var(--copper-tint); border: 1px solid var(--copper-soft);
  border-radius: 100px; padding: 5px 13px;
}
.profile-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--copper); flex: none; }
.profile-status.is-pending { color: var(--copper-ink); background: var(--surface); border-color: var(--line-2); }
.profile-status.is-pending::before { background: var(--d-gold); }

/* ── Profile rail (sidebar): structured facts + tag chips ── */
.profile-rail .rail-label { margin-bottom: 13px; }
.profile-facts { display: flex; flex-direction: column; gap: 13px; }
.profile-facts .pf { display: flex; flex-direction: column; gap: 3px; }
.profile-facts .pf .k {
  font-family: var(--mono); font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--muted);
}
.profile-facts .pf .v { font-size: 13.5px; color: var(--ink); line-height: 1.45; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.profile-tag {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.02em;
  color: var(--copper-ink); background: var(--copper-tint); border: 1px solid var(--copper-soft);
  border-radius: 100px; padding: 4px 11px; line-height: 1.3;
}
.profile-pubs { display: flex; flex-direction: column; gap: 7px; }
.profile-pubs span { font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); line-height: 1.4; }

/* ── Disclosure card (replaces ad-hoc bordered box) ── */
.disclosure-card {
  border: 1px solid var(--line-2); border-left: 3px solid var(--copper);
  border-radius: 0 5px 5px 0; background: var(--surface);
  padding: 22px 26px; margin: 4px 0 0;
}
.disclosure-card .dc-label {
  font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--copper-deep); margin-bottom: 11px;
}
.disclosure-card p { font-family: var(--grot); font-size: 14.5px; line-height: 1.64; color: var(--ink-2); margin: 0; }

/* ── Verification checklist (reviewer roster page) ── */
.verify-list { margin: 26px 0 0; display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.verify-item { display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.verify-item .vn { font-family: var(--mono); font-size: 14px; font-weight: 500; color: var(--copper); padding-top: 1px; }
.verify-item strong { display: block; font-family: var(--grot); font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 5px; }
.verify-item p { font-family: var(--grot); font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ── People cards (team / roster on index pages) ── */
.people-list { display: flex; flex-direction: column; gap: 14px; margin: 26px 0 0; }
.people-card {
  display: grid; grid-template-columns: 54px 1fr; gap: 20px; align-items: start;
  border: 1px solid var(--line-2); border-radius: 5px; background: var(--surface);
  padding: 24px 26px; transition: border-color .16s, box-shadow .16s, transform .16s;
}
.people-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.people-card .pc-av {
  width: 54px; height: 54px; border-radius: 50%; background: var(--field-2);
  border: 1px solid var(--field-3); display: grid; place-items: center;
  font-family: var(--mono); font-size: 16px; font-weight: 500; color: var(--copper-bright); flex: none;
}
.people-card .pc-role { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--copper-deep); margin-bottom: 5px; }
.people-card .pc-name { font-family: var(--serif); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); margin: 0 0 9px; line-height: 1.15; }
.people-card .pc-name a { color: var(--ink); }
.people-card .pc-name a:hover { color: var(--copper-deep); }
.people-card p { font-family: var(--grot); font-size: 14px; line-height: 1.58; color: var(--muted); margin: 0 0 11px; }
.people-card .pc-link {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--copper-deep); display: inline-flex; align-items: center; gap: 6px;
  min-height: 32px; transition: gap .16s, color .16s;
}
.people-card .pc-link::after { content: "\2192"; transition: transform .16s; }
.people-card .pc-link:hover { color: var(--copper); }
.people-card .pc-link:hover::after { transform: translateX(3px); }

/* ── Open-role cards (contributors page) ── */
.role-list { display: flex; flex-direction: column; gap: 14px; margin: 24px 0 0; }
.role-card { border: 1px solid var(--line-2); border-radius: 5px; background: var(--surface); padding: 22px 24px; transition: border-color .16s, box-shadow .16s; }
.role-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.role-card .rc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 11px; }
.role-card .rc-eyebrow { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--copper-deep); margin-bottom: 5px; }
.role-card .rc-title { font-family: var(--serif); font-size: 21px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); margin: 0; line-height: 1.15; }
.role-card p { font-family: var(--grot); font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ── Roster table reuses .table-wrap; status pills reuse .pill ── */

/* ════ RESPONSIVE ════ */
@media (max-width: 920px) {
  .report-layout { grid-template-columns: 1fr; gap: 0; padding: 40px 24px 70px; }
  .report-layout > .report-sidebar, .report-layout > .report-sidebar-sticky, .report-layout > aside { position: static; max-height: none; border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 30px; order: 3; }
  .rail-toc { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 2px 16px; }
}
@media (max-width: 560px) {
  .section, .report-header .section, .doc-hero .section { padding: 0 20px; }
  .report-body, .prose { font-size: 17.5px; }
  .doc-hero { padding: 38px 0 32px; }
  .stat-grid, .record-grid { grid-template-columns: 1fr; }
  .faq-q { font-size: 17px; }
  .gloss .gterm h3 { font-size: 19px; }
  .step { grid-template-columns: 32px 1fr; gap: 11px; }
  .mini-person { flex-wrap: wrap; }
  .mini-person .pill { margin-left: 0; }
  .empty-state { padding: 28px 22px; }
  .col-card .cc-head { flex-direction: column; gap: 8px; }
  .col-card .cc-title { font-size: 19px; }
  .def-card { padding: 18px 20px; }
  .profile-id { gap: 18px; }
  .profile-avatar { width: 64px; height: 64px; }
  .profile-avatar .mono { font-size: 20px; }
  .verify-item { grid-template-columns: 32px 1fr; gap: 12px; }
  .people-card { grid-template-columns: 44px 1fr; gap: 15px; padding: 20px 22px; }
  .people-card .pc-av { width: 44px; height: 44px; font-size: 13px; }
  .people-card .pc-link { min-height: 44px; padding: 6px 0; margin-bottom: -6px; }
}
@media (max-width: 420px) {
  .profile-id { flex-direction: column; gap: 16px; }
}

/* Respect reduced-motion for hub-component transitions/transforms */
@media (prefers-reduced-motion: reduce) {
  .empty-state, .def-card, .col-card, .people-card, .role-card,
  .es-cta, .es-cta::after, .col-card .cc-link::after, .file-chip,
  .people-card .pc-link::after {
    transition: none !important;
  }
  .def-card:hover, .col-card:hover, .people-card:hover { transform: none !important; }
  .col-card:hover .cc-link::after, .es-cta:hover::after,
  .people-card:hover .pc-link::after { transform: none !important; }
}
