@font-face {
  font-family: "Neue Montreal";
  src: url("/fonts/NeueMontreal-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Neue Montreal";
  src: url("/fonts/NeueMontreal-Bold.woff2") format("woff2");
  font-weight: 600 800;
  font-display: swap;
}
:root {
  --paper: #f7f2e7;
  --ink: #24281d;
  --muted: #615c4e;
  --line: #d5cdbd;
  --accent: #4c5940;
  --accent-deep: #212719;
  --on-accent: #f7f2e7;
  --wash: #ede8db;
  --rust: #a45c32;
  --moss: #667253;
  --ochre: #d2a478;
  --sans: "Neue Montreal", system-ui, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.55 var(--sans); }
a { color: var(--accent); text-underline-offset: .16em; }
a:hover { text-decoration-thickness: 2px; }
button, input, select { font: inherit; color: inherit; }
button, select { cursor: pointer; }
button:disabled { opacity: .55; cursor: default; }
:focus-visible { outline: 2px solid #9d582c; outline-offset: 3px; }
p, h1, h2, h3, dl, dd { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; }
h2 { font-size: clamp(1.55rem, 2.45vw, 2.65rem); line-height: 1.08; }
small { display: block; color: var(--muted); font-size: .83em; line-height: 1.35; }
.shell { width: min(1320px, calc(100% - 96px)); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: absolute; top: 6px; left: 6px; z-index: 3; padding: 6px 10px; background: var(--paper); }
.site-header { background: var(--accent-deep); color: var(--on-accent); }
.masthead { min-height: 64px; display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: inherit; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; text-decoration: none; }
.orbital-mark { position: relative; width: 23px; height: 23px; border: 1.5px solid currentColor; border-radius: 50%; flex: none; }
.orbital-mark::before { position: absolute; top: 10px; left: -1px; width: 22px; height: 4px; border-bottom: 1px solid currentColor; border-radius: 50%; transform: rotate(-19deg); content: ""; }
.orbital-mark::after { position: absolute; top: -3px; right: 2px; width: 6px; height: 6px; background: var(--ochre); border-radius: 50%; content: ""; }
.masthead nav { display: flex; align-items: center; gap: 28px; }
.masthead nav a { padding: 20px 2px 19px; color: #e2dece; text-decoration: none; border-bottom: 2px solid transparent; font-size: .88rem; }
.masthead nav a:hover, .masthead nav a[aria-current="page"] { color: var(--on-accent); border-color: var(--ochre); }
.masthead nav a[aria-current="page"] { font-weight: 700; }
.subscribe, .button { display: inline-flex; align-items: center; gap: 10px; padding: 7px 13px; background: transparent; border: 1px solid var(--line); border-radius: 2px; color: var(--ink); text-decoration: none; font-size: .87rem; white-space: nowrap; }
.subscribe { color: var(--on-accent); border-color: #66694f; }
.subscribe:hover { border-color: var(--ochre); }
.button:hover:not(:disabled) { background: var(--wash); border-color: var(--accent); }
.button.primary { background: var(--accent-deep); color: var(--on-accent); border-color: var(--accent-deep); font-weight: 700; }
.button.primary:hover { background: var(--accent); }
.page-intro { position: relative; padding: 43px 0 31px; border-bottom: 1px solid var(--line); }
.page-intro h1 { max-width: 22ch; margin-bottom: 9px; font-size: clamp(2.6rem, 6.6vw, 6.05rem); line-height: 1.01; }
.page-intro > p:not(.eyebrow), .page-intro > div > p:not(.eyebrow) { max-width: 71ch; color: var(--muted); font-size: 1.05rem; }
.eyebrow { margin-bottom: 10px; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .115em; font-size: .74rem; }
.brief-edition { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; border-bottom: 1px solid var(--line); padding: 20px 0 10px; }
.brief-edition .eyebrow { margin: 0; }
.data-date { color: var(--muted); font-size: .79rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.brief-opening { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(310px, 1fr); border-bottom: 1px solid var(--line); }
.brief-lead { padding: clamp(29px, 5.4vw, 75px) clamp(23px, 5vw, 75px) 28px 0; }
.brief-lead h1 { max-width: 13ch; margin-bottom: 16px; font-size: clamp(3.5rem, 6.45vw, 6.45rem); line-height: .95; }
.brief-lead p { max-width: 48ch; font-size: clamp(1.07rem, 1.65vw, 1.33rem); line-height: 1.45; color: var(--muted); }
.brief-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 17px; margin-top: 21px; font-size: .9rem; }
.research-link { font-weight: 700; }
.metric-panel { border-left: 1px solid var(--line); padding: 32px 0 27px 30px; min-width: 0; }
.metric-panel h2 { font: 700 1rem/1.3 var(--sans); letter-spacing: normal; }
.metric-value { display: inline-flex; align-items: baseline; gap: 8px; margin: 6px 0 1px; color: var(--ink); font: 400 clamp(4.5rem, 8.3vw, 8rem)/.95 var(--serif); letter-spacing: -.08em; text-decoration: none; white-space: nowrap; }
.metric-value:hover { color: var(--accent); }
.metric-value span { letter-spacing: 0; font: 700 .24em/1 var(--sans); }
.metric-value .metric-arrow { align-self: flex-start; margin-top: 13px; color: var(--accent); font-size: .2em; }
.metric-count, .metric-note { font-size: .84rem; }
.metric-count a { font-weight: 700; }
.volume-composition { display: flex; gap: 3px; min-height: 14px; margin-top: 17px; }
.segment { min-width: 5px; background: var(--moss); }
.segment.conditional, .split-item.conditional dt span { background: var(--rust); }
.segment.conditions-met, .split-item.conditions-met dt span { background: #3e6149; }
.segment:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.metric-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 11px 0; }
.split-item dt { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .76rem; }
.split-item dt span { width: 8px; height: 8px; border-radius: 50%; background: var(--moss); flex: none; }
.split-item dd a { display: inline-flex; align-items: baseline; gap: 4px; text-decoration: none; font: 400 clamp(1.4rem, 3.05vw, 2.65rem)/1.15 var(--serif); letter-spacing: -.04em; color: var(--ink); }
.split-item dd a:hover { text-decoration: underline; }
.split-item dd a small, .split-item dd a span { display: inline; font: 700 .78rem/1 var(--sans); letter-spacing: normal; color: var(--accent); }
.metric-note { color: var(--muted); max-width: 53ch; }
.brief-evidence { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); gap: 25px; padding: 26px 0 30px; border-bottom: 1px solid var(--line); }
.brief-changes { border-left: 1px solid var(--line); padding-left: 24px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 0 0 8px; }
.section-heading h2 { font: 400 clamp(1.65rem, 2.8vw, 2.5rem)/1.12 var(--serif); letter-spacing: -.04em; }
.section-heading > a { white-space: nowrap; font-weight: 700; font-size: .83rem; }
.brief-research { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(230px, 1fr); gap: 22px; padding: 27px 0 36px; }
.brief-research p { margin-top: 8px; max-width: 55ch; color: var(--muted); }
.brief-research ul { margin: 0; padding: 0; list-style: none; }
.brief-research li { border-top: 1px solid var(--line); }
.brief-research li a { padding: 9px 0; display: flex; justify-content: space-between; gap: 8px; text-decoration: none; font-weight: 700; font-size: .92rem; }
.brief-research li a:hover { text-decoration: underline; }
table { width: 100%; border-collapse: collapse; text-align: left; }
td, th { border-bottom: 1px solid var(--line); padding: 9px 12px 9px 0; vertical-align: top; }
thead th { color: var(--muted); font-size: .76rem; font-weight: 700; }
tbody th { font-weight: 700; }
tbody th small { font-weight: 400; margin-top: 3px; }
tbody tr:last-child > * { border-bottom: 0; }
td:last-child, th:last-child { padding-right: 0; }
.brief-table table { font-size: .87rem; line-height: 1.28; }
.brief-table th[scope="row"] a { font: 700 1.02rem/1.2 var(--serif); text-decoration: none; color: var(--ink); }
.brief-table th[scope="row"] a:hover { text-decoration: underline; }
.brief-table td:first-of-type { width: 19%; }
.number { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 700; }
.change-list, .source-list, .directory { list-style: none; padding: 0; margin: 0; }
.change-list li { display: grid; grid-template-columns: minmax(96px, .19fr) minmax(0, 1fr); gap: 14px; border-top: 1px solid var(--line); padding: 13px 0; }
.change-list time, .source-list time { color: var(--muted); font-variant-numeric: tabular-nums; font-size: .85rem; }
.change-list h3 { font-size: 1rem; line-height: 1.3; margin: 0 0 4px; }
.change-list p { font-size: .91rem; color: var(--muted); margin-bottom: 3px; }
.change-list li > div > a { font-size: .85rem; }
.brief-changes li { display: block; padding: 10px 0; }
.brief-changes li time { display: block; margin-bottom: 4px; font-size: .76rem; }
.brief-changes li h3 a { color: var(--accent-deep); }
.brief-changes li p { font-size: .84rem; line-height: 1.4; }
.workspace-intro { display: flex; justify-content: space-between; gap: 18px; align-items: end; padding-top: 32px; padding-bottom: 20px; }
.workspace-intro h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
#ledger-context { color: var(--accent); font-weight: 700; }
.workspace-actions [data-copy] { background: var(--accent-deep); color: var(--on-accent); border-color: var(--accent-deep); }
.workspace-actions [data-copy]:hover:not(:disabled) { background: var(--accent); }
.workspace-actions, .dossier-tools { display: flex; align-items: center; gap: 13px; }
.workspace-actions a, .dossier-tools a { font-size: .87rem; white-space: nowrap; }
.controls { display: grid; grid-template-columns: minmax(160px, 1.4fr) repeat(3, minmax(0, 1fr)) auto; align-items: end; gap: 12px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.controls label, .dossier-tools label { display: grid; gap: 4px; font-size: .81rem; font-weight: 700; }
input, select { padding: 8px 10px; background: #fcfbf6; border: 1px solid #bab6a7; min-width: 0; width: 100%; border-radius: 3px; font-size: .88rem; }
.text-button { border: 0; background: transparent; color: var(--accent); padding: 9px 1px; text-decoration: underline; font-size: .86rem; }
.result-summary { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 15px 0; font-size: .89rem; }
.result-summary p { font-weight: 700; }
.notice { background: #ede1d3; padding: 8px 12px; font-size: .88rem; }
.workspace-table { margin-bottom: 36px; font-size: .93rem; }
.workspace-table thead { background: var(--accent-deep); }
.workspace-table thead th { color: var(--on-accent); }
.workspace-table tbody tr:nth-child(even) { background: #f1ecdf; }
.workspace-table tbody th a { font: 700 1.04rem/1.22 var(--serif); color: var(--ink); }
.workspace-table th, .workspace-table td { padding: 11px 12px; }
.workspace-table tbody tr:hover { background: #f0eee4; }
.workspace-table th:first-child { width: 38%; }
.workspace-table small { margin-top: 3px; }
.evidence-grade { border: 1px solid var(--line); padding: 0 5px; color: var(--accent); font-weight: 700; }
.empty-result { color: var(--muted); }
.dossier-tools { padding-top: 19px; justify-content: space-between; }
.dossier-tools label { width: min(40vw, 310px); }
.dossier-tools input { width: min(42vw, 320px); }
.dossier-grid { display: grid; grid-template-columns: minmax(235px, .34fr) minmax(0, 1fr); align-items: start; gap: 34px; padding: 27px 0 40px; }
.fact-panel { padding: 20px; background: var(--wash); }
.fact-panel h2 { margin-bottom: 12px; font-size: 1.8rem; }
.fact-panel dl div { padding: 9px 0; border-top: 1px solid var(--line); font-size: .93rem; }
.fact-panel dt { font-size: .76rem; color: var(--muted); }
.fact-panel dd { font-weight: 700; }
.dossier-evidence section + section { margin-top: 24px; }
.dossier-sections { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-bottom: 10px; margin-bottom: 13px; border-bottom: 1px solid var(--line); font-size: .87rem; font-weight: 700; }
.dossier-sections span { font-size: .72rem; color: var(--muted); }
.dossier-evidence section[id] { scroll-margin-top: 12px; }
.dossier-evidence .change-list li { border-top: 1px solid var(--line); }
.dossier-evidence h2 { margin-bottom: 11px; }
.dossier-evidence section > p { max-width: 82ch; margin-bottom: 9px; }
.source-list li { display: grid; grid-template-columns: 80px minmax(0, 1fr); align-items: baseline; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.source-kind { color: var(--accent); font-size: .79rem; font-weight: 700; }
.source-list small { margin-top: 3px; }
.source-list small time { font-size: inherit; }
.directory { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 22px; padding: 15px 0 35px; }
.directory li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.site-footer { border-top: 1px solid var(--line); padding: 15px 0 20px; color: var(--muted); font-size: .84rem; }
.site-footer .shell { display: flex; flex-wrap: wrap; gap: 18px; }

@media (max-width: 1000px) {
  .shell { width: calc(100% - 52px); }
  .metric-panel { padding: 23px 0 23px 22px; }
  .brief-evidence { gap: 17px; }
  .brief-changes { padding-left: 16px; }
  .brief-table td:first-of-type { width: auto; }
  .controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ledger-search { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .shell { width: calc(100% - 30px); }
  .masthead { gap: 1px 8px; flex-wrap: wrap; padding-top: 8px; }
  .masthead nav { order: 2; width: 100%; justify-content: space-between; gap: 8px; }
  .masthead nav a { padding: 8px 0; }
  .page-intro { padding: 27px 0 20px; }
  .page-intro h1 { overflow-wrap: anywhere; }
  .brief-opening, .brief-evidence, .brief-research, .dossier-grid { grid-template-columns: 1fr; gap: 15px; }
  .brief-lead { padding: 22px 0 7px; }
  .brief-lead h1 { font-size: clamp(2.75rem, 10vw, 4.2rem); }
  .brief-actions { margin-top: 14px; }
  .brief-edition { flex-wrap: wrap; padding: 12px 0 8px; }
  .metric-panel { padding: 16px 0 18px; border-left: 0; border-top: 1px solid var(--line); }
  .metric-value { font-size: 4.7rem; }
  .brief-evidence, .brief-research, .dossier-grid { padding: 18px 0 22px; }
  .brief-changes { padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .section-heading { flex-wrap: wrap; gap: 4px 12px; }
  .brief-table table { font-size: .77rem; }
  .brief-table th[scope="row"] a { font-size: .9rem; }
  .brief-table .number { white-space: normal; }
  .brief-table td, .brief-table th { padding-right: 5px; }
  .workspace-intro { flex-wrap: wrap; gap: 8px; }
  .controls { gap: 9px; }
  .result-summary { font-size: .82rem; }
  .result-summary a { flex-shrink: 0; }
  .workspace-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .workspace-table tbody tr:nth-child(even) { background: transparent; }
  .workspace-table tr { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); padding: 9px 0; border-top: 1px solid var(--line); gap: 7px 11px; }
  .workspace-table th, .workspace-table td { border: 0; padding: 0; min-width: 0; }
  .workspace-table th:first-child, .workspace-table .empty-result { width: auto; grid-column: 1 / -1; }
  .workspace-table td[data-label]::before { content: attr(data-label); display: block; font-size: .72rem; color: var(--muted); font-weight: 400; }
  .dossier-tools { flex-wrap: wrap; gap: 9px; }
  .dossier-tools label { order: 3; width: 100%; }
  .dossier-tools button { margin-left: auto; }
  .directory { grid-template-columns: 1fr; }
}

.watch-note { background: var(--wash); padding: 12px 16px; border-left: 3px solid var(--accent); }
.watch-note h2 { font-size: 1.35rem; margin-bottom: 4px; }
.watch-note > p { margin-bottom: 0 !important; }

.conditional-terms { color: #844925; font-weight: 700; }
