:root {
  color-scheme: light;
  --ink: #171815;
  --muted: #67695f;
  --paper: #f3f0e7;
  --panel: #fbfaf5;
  --rule: #b8b7ae;
  --red: #9f2e27;
  --green: #315f49;
  --amber: #8b5a13;
  font-family: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-underline-offset: 0.18em; }
.topbar { display: flex; justify-content: space-between; gap: 2rem; padding: 1.2rem 3vw; border-bottom: 1px solid var(--ink); font-family: ui-monospace, monospace; font-size: .78rem; letter-spacing: .08em; }
.wordmark { font-weight: 800; text-decoration: none; }
.topbar nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
main { width: min(1380px, 94vw); margin: 0 auto; padding: 4rem 0 6rem; }
.hero { max-width: 900px; padding-bottom: 3rem; }
.eyebrow { margin: 0 0 1rem; color: var(--red); font: 700 .75rem/1.4 ui-monospace, monospace; letter-spacing: .13em; text-transform: uppercase; }
h1 { max-width: 15ch; margin: 0; font-size: clamp(3rem, 8vw, 7.6rem); font-weight: 500; letter-spacing: -.055em; line-height: .92; }
.lede { max-width: 760px; margin: 2rem 0 .4rem; font-size: 1.35rem; line-height: 1.5; }
.translation { color: var(--muted); font-style: italic; }
.control-strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--ink); background: var(--panel); }
.control-strip div { min-height: 7rem; padding: 1.1rem; border-right: 1px solid var(--rule); }
.control-strip div:last-child { border: 0; }
.control-strip span, .control-strip small, .notes-grid span { display: block; color: var(--muted); font: .7rem/1.4 ui-monospace, monospace; text-transform: uppercase; letter-spacing: .08em; }
.control-strip strong { display: block; margin-top: 1rem; font-size: 1.1rem; }
.control-strip .ok { border-top: 5px solid var(--green); }
.control-strip .warn { border-top: 5px solid var(--amber); }
.report-head, .page-title { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin: 5rem 0 1.5rem; border-bottom: 3px double var(--ink); padding-bottom: 1rem; }
.report-head h2, .page-title h1 { margin: 0; font-size: clamp(2rem, 5vw, 4.5rem); font-weight: 500; }
.page-title { display: block; }
.page-title strong { display: block; margin-top: 1rem; font-size: 1.5rem; }
.statements { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.statement { background: var(--panel); border: 1px solid var(--ink); margin-bottom: 1.5rem; overflow-x: auto; }
.statement > header { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem; border-bottom: 1px solid var(--ink); font: 700 .85rem ui-monospace, monospace; text-transform: uppercase; }
.statement header p { margin: 0; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .75rem .9rem; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
th { font-weight: 500; }
th small { display: block; color: var(--muted); font-weight: 400; font-style: italic; }
td:last-child, th:last-child { text-align: right; white-space: nowrap; }
.total th, .total td { border-top: 2px solid var(--ink); border-bottom: 0; font-weight: 700; }
.section-head th, .section-head td { border-top: 1px solid var(--ink); font-weight: 700; }
.section-total th, .section-total td { color: var(--muted); font-weight: 600; }
.guv { margin-top: 1.5rem; }
.disclaimer { margin: 4rem 0 0; padding: 1.5rem; border: 3px double var(--ink); background: #ebe6d8; }
.disclaimer strong { font: 800 .8rem ui-monospace, monospace; letter-spacing: .12em; }
.journal { display: grid; gap: 2rem; }
.journal-entry { background: var(--panel); border: 1px solid var(--ink); }
.journal-entry > header { display: flex; justify-content: space-between; gap: 2rem; padding: 1.2rem; border-bottom: 1px solid var(--ink); }
.journal-entry h2 { margin: .25rem 0; font-size: 1.3rem; }
.journal-entry header span, .journal-entry time, .journal-entry footer { font: .7rem/1.5 ui-monospace, monospace; color: var(--muted); }
.journal-entry header p { margin: 0; color: var(--muted); }
.journal-entry footer { display: flex; flex-wrap: wrap; gap: 1rem; padding: .8rem 1.2rem; border-top: 1px solid var(--rule); }
.adjustment { color: var(--amber); font-weight: 800; }
.pagination { display: flex; justify-content: space-between; margin: 1rem 0 2rem; font: .8rem ui-monospace, monospace; }
.raw-link { font: .7rem ui-monospace, monospace; }
.wide-table { overflow-x: auto; border: 1px solid var(--ink); background: var(--panel); }
.policy-grid, .notes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 2rem; }
.policy-grid article, .notes-grid article { padding: 1.4rem; border: 1px solid var(--ink); background: var(--panel); }
.policy-grid h2 { margin-top: 0; }
.notes-grid strong { display: block; margin: .6rem 0; font-size: 2.4rem; }
.contracts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.contract { padding: 1.4rem; border: 1px solid var(--ink); background: var(--panel); }
.contract.open { border-top: 5px solid var(--amber); }
.contract.completed { border-top: 5px solid var(--green); }
.contract header { display: flex; justify-content: space-between; gap: 1rem; font: .7rem/1.4 ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; }
.contract h2 { margin: 1.4rem 0 1rem; font-size: 1.5rem; }
.contract h2 small { display: block; margin-top: .35rem; color: var(--muted); font-size: .9rem; font-weight: 400; font-style: italic; }
.contract dl { margin-top: 1.5rem; }
.contract dt { margin-top: 1rem; color: var(--red); font: 700 .68rem/1.4 ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; }
.contract dd { margin: .3rem 0 0; line-height: 1.45; }
.economy-strip { margin-top: 2rem; }
.economy-notes { margin-top: 2rem; }
footer { padding: 1.2rem 3vw; border-top: 1px solid var(--ink); color: var(--muted); font: .68rem ui-monospace, monospace; letter-spacing: .08em; text-align: center; }

@media (max-width: 850px) {
  .topbar, .report-head { align-items: flex-start; flex-direction: column; }
  .control-strip { grid-template-columns: 1fr 1fr; }
  .control-strip div:nth-child(2) { border-right: 0; }
  .statements, .policy-grid, .notes-grid, .contracts { grid-template-columns: 1fr; }
  main { padding-top: 2.5rem; }
}
