:root {
  --paper: #f1efe7;
  --paper-high: #fbfaf6;
  --paper-deep: #e5e2d7;
  --ink: #11130f;
  --ink-soft: #343930;
  --muted: #696e65;
  --line: #c8c6ba;
  --line-dark: #9d9c91;
  --lime: #c9ff4f;
  --green: #26704b;
  --green-soft: #e5edcf;
  --amber: #855a16;
  --amber-soft: #eee4c9;
  --red: #913d2d;
  --red-soft: #f0e2da;
  --sans: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 25px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); text-rendering: optimizeLegibility; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
button, input { font: inherit; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
p { margin: 0 0 15px; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 600; }
code, pre { font-family: var(--mono); }
code { font-size: .8em; overflow-wrap: anywhere; }
pre { margin: 15px 0; padding: 17px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper-deep); white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; line-height: 1.7; }
pre code { font-size: 1em; }
ul { margin: 16px 0 0; padding-left: 19px; }
li + li { margin-top: 7px; }
figure { margin: 30px 0; }
figcaption { margin-top: 14px; color: var(--muted); font-size: 12px; line-height: 1.6; }
h1, h2, h3, h4 { font-weight: 500; line-height: 1.13; margin: 0 0 17px; }
h1 { font-size: clamp(46px, 5.65vw, 84px); letter-spacing: -.058em; }
h2 { font-size: clamp(30px, 3.35vw, 48px); letter-spacing: -.043em; }
h3 { font-size: 23px; letter-spacing: -.03em; }
h4 { font-size: 16px; letter-spacing: -.015em; }
h1 em, h2 em { font-style: normal; color: var(--muted); }
.skip { position: fixed; top: 12px; left: 15px; z-index: 10; padding: 12px 20px; background: var(--lime); transform: translateY(-180%); }
.skip:focus { transform: translateY(0); }
.status-bar { padding: 10px 3vw; background: var(--ink); color: var(--paper); display: flex; justify-content: space-between; gap: 20px; font: 10px/1.5 var(--mono); letter-spacing: .04em; }
.status-bar span:first-child { color: var(--lime); }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 24px 3vw; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 43px; height: 43px; background: var(--ink); color: var(--lime); font: 600 17px var(--sans); letter-spacing: -.06em; flex: 0 0 auto; }
.brand-mark.small { width: 29px; height: 29px; font-size: 12px; background: var(--lime); color: var(--ink); }
.brand strong { display: block; font-size: 19px; letter-spacing: -.035em; line-height: 1.2; }
.brand small { display: block; color: var(--muted); font-size: 10px; margin-top: 4px; }
.site-header nav { display: flex; align-items: center; gap: 24px; font-size: 12px; }
.report-layout { max-width: 1740px; margin: auto; padding: 0 3vw; display: grid; grid-template-columns: 222px minmax(0, 1fr); gap: 4vw; }
.sidebar { position: sticky; top: 26px; align-self: start; padding-top: 43px; }
.sidebar nav { display: grid; }
.sidebar nav a { padding: 11px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 12px; }
.sidebar nav a:hover { color: var(--green); }
.sidebar nav a span { font: 10px var(--mono); color: var(--muted); margin-right: 8px; }
.sidebar-note { margin-top: 30px; padding-top: 21px; border-top: 1px solid var(--line-dark); font-size: 11px; }
.sidebar-note p { margin: 10px 0 15px; color: var(--muted); line-height: 1.8; }
.sidebar-note code { font-size: 11px; }
.square-dot { display: inline-block; width: 7px; height: 7px; background: var(--green); margin-right: 7px; }
main { min-width: 0; }
.section { min-width: 0; padding: 72px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 25px; }
.eyebrow { display: block; font: 10px/1.55 var(--mono); letter-spacing: .12em; color: var(--muted); margin-bottom: 22px; }
.hero { padding-top: 50px; }
.hero-topline { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 29px; }
.hero-topline .stamp { font: 10px/1.6 var(--mono); color: var(--muted); }
.lead { max-width: 900px; font-size: 21px; line-height: 1.55; margin-top: 28px; }
.hero-bottomline { color: var(--muted); max-width: 850px; font-size: 15px; }
.hero-bottomline strong { color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 11px; margin: 29px 0 38px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; padding: 12px 17px; border: 1px solid var(--line-dark); border-radius: 4px; font-size: 12px; text-decoration: none; line-height: 1.4; }
.button:hover { background: var(--paper-deep); }
.button.primary { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.button.primary:hover { background: #30352a; }
.button.compact { font-size: 11px; padding: 9px 12px; }
.badge { display: inline-block; width: fit-content; padding: 5px 7px; border: 1px solid var(--line-dark); border-radius: 3px; font: 9px/1.35 var(--mono); letter-spacing: .02em; white-space: normal; }
.badge.proven { border-color: #8c9b69; background: var(--green-soft); color: #304420; }
.badge.partial { border-color: #b7a16e; background: var(--amber-soft); color: #67470d; }
.badge.missing { border-color: #bda294; background: var(--red-soft); color: #723728; }
.badge.candidate { border-color: var(--line-dark); background: var(--paper-deep); color: var(--ink-soft); }
.panel pre { max-width: 100%; overflow-x: auto; font-size: 11px; }
.panel code { overflow-wrap: anywhere; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 32px 0; border: 1px solid var(--line-dark); border-radius: 5px; overflow: hidden; }
.metric { padding: 23px 20px; border-right: 1px solid var(--line); }
.metric:last-child { border: 0; }
.metric .eyebrow { font-size: 9px; margin-bottom: 18px; }
.metric > strong { display: block; font-size: 50px; font-weight: 500; line-height: 1.05; letter-spacing: -.055em; margin-bottom: 19px; overflow-wrap: anywhere; }
.metric strong small { font-size: 21px; letter-spacing: -.03em; }
.metric p, .metric a { font-size: 12px; line-height: 1.65; }
.metric p { color: var(--muted); }
.metric .verdict-code { font: 10px/1.6 var(--mono); color: var(--ink); overflow-wrap: anywhere; margin-bottom: 7px; }
.metric.dark { background: var(--ink); color: var(--lime); }
.metric.dark .eyebrow, .metric.dark p { color: var(--paper); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.panel { background: var(--paper-high); border: 1px solid var(--line); border-radius: 5px; padding: 25px; min-width: 0; }
.panel .badge { margin-bottom: 21px; }
.panel h3 { font-size: 22px; }
.panel p, .panel ul { font-size: 14px; color: var(--ink-soft); }
.panel p code { font-size: 11px; }
.panel.dashed { background: transparent; border-style: dashed; border-color: var(--line-dark); }
.source-line { font-size: 11px; line-height: 1.8; color: var(--muted); margin-top: 22px; overflow-wrap: anywhere; }
.source-line code { font-size: 10px; }
.section-intro { color: var(--ink-soft); font-size: 17px; line-height: 1.65; max-width: 950px; margin-bottom: 30px; }
.product-frame { margin: 32px 0 24px; border: 1px solid var(--line-dark); border-radius: 6px; overflow: hidden; }
.product-title { background: var(--ink); color: var(--paper); display: flex; align-items: center; gap: 14px; padding: 18px 20px; }
.product-title > strong { font: 12px var(--mono); letter-spacing: .1em; }
.product-title > span:last-child { margin-left: auto; font-size: 11px; color: #c1c6b9; }
.machine-chain { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--line); gap: 1px; }
.machine { padding: 22px 20px; background: var(--paper-high); text-decoration: none; position: relative; }
.machine:hover { background: #f5f7eb; }
.machine > small { color: var(--muted); font: 9px/1.5 var(--mono); letter-spacing: .06em; }
.machine h3 { margin: 17px 0 12px; font-size: 21px; letter-spacing: -.025em; }
.machine p { font-size: 13px; color: var(--ink-soft); }
.machine::after { content: '→'; position: absolute; top: 20px; right: 18px; color: var(--muted); }
.machine:last-child::after { content: '↺'; }
.ops-rail { padding: 20px; display: flex; align-items: center; gap: 24px; background: var(--lime); }
.ops-rail > strong { font: 600 18px var(--sans); white-space: nowrap; }
.ops-rail p { margin: 0; font-size: 12px; }
.ops-rail a { margin-left: auto; font-size: 11px; white-space: nowrap; }
.timing-rail { display: flex; align-items: baseline; gap: 20px; background: var(--paper-deep); border-top: 1px solid var(--line); padding: 14px 20px; font-size: 11px; }
.timing-rail strong { font: 11px var(--mono); white-space: nowrap; }
.callout { border-left: 3px solid var(--ink); background: var(--paper-deep); padding: 20px 23px; margin: 25px 0 0; font-size: 14px; }
.callout > strong { font-size: 15px; }
.callout p { margin-top: 9px; color: var(--ink-soft); }
.callout.warning { border-color: var(--amber); background: #eee6d4; }
.axis-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.axis { background: var(--paper-high); padding: 24px; display: flex; gap: 21px; }
.axis-number { font: 500 46px/1 var(--sans); letter-spacing: -.06em; color: #a3a897; }
.axis .eyebrow { margin: 0 0 12px; font-size: 9px; }
.axis h3 { font-size: 20px; margin-bottom: 12px; }
.axis p:last-child { font-size: 13px; color: var(--ink-soft); }
.contract-diagram { overflow-x: auto; padding-bottom: 4px; }
.contract-diagram svg { display: block; width: 100%; min-width: 780px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 5px; margin: 28px 0 0; }
table { width: 100%; border-collapse: collapse; background: var(--paper-high); text-align: left; font-size: 12px; }
caption { text-align: left; padding: 19px 18px; font-size: 14px; font-weight: 500; background: var(--paper-deep); }
th, td { padding: 16px 14px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); vertical-align: top; }
th:last-child, td:last-child { border-right: 0; }
thead th { background: #eeece3; color: var(--muted); font: 10px/1.6 var(--mono); }
tbody th { font-weight: 500; min-width: 138px; }
td small { display: block; line-height: 1.65; margin-top: 9px; color: var(--muted); font-size: 10px; }
.matrix { min-width: 820px; }
.matrix th, .matrix td { padding: 16px 12px; }
.identity-strip { display: flex; align-items: center; gap: 25px; border: 1px solid var(--line-dark); margin-top: 24px; padding: 23px; }
.identity-strip strong { font-size: 27px; letter-spacing: -.04em; white-space: nowrap; }
.identity-strip p { font-size: 13px; color: var(--ink-soft); }
.grade-key { display: flex; flex-wrap: wrap; gap: 13px 25px; margin: 22px 0 26px; font-size: 11px; color: var(--muted); }
.grade-key b { color: var(--ink); font-size: 10px; }
.grade-key i, .cost-items i { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border: 1px solid var(--line-dark); }
.key-proven { background: var(--green-soft); }
.key-partial { background: var(--amber-soft); }
.key-missing { background: var(--red-soft); }
.ledger { border-top: 1px solid var(--line-dark); }
details { scroll-margin-top: 25px; }
.ledger details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; }
.ledger summary { padding: 22px 0; display: grid; grid-template-columns: 145px minmax(0, 1fr) auto 18px; align-items: start; gap: 16px; list-style: none; }
.ledger summary::-webkit-details-marker, .archive-note summary::-webkit-details-marker { display: none; }
.ledger summary::after, .archive-note summary::after { content: '+'; color: var(--muted); font: 20px/1 var(--sans); text-align: right; }
.ledger details[open] > summary::after, .archive-note[open] > summary::after { content: '−'; }
.ledger-label { font: 10px/1.7 var(--mono); color: var(--muted); padding-top: 3px; }
.ledger summary strong { display: block; font-size: 16px; font-weight: 500; line-height: 1.4; }
.ledger summary small { display: block; font-size: 11px; color: var(--muted); margin-top: 7px; }
.detail-body { font-size: 13px; color: var(--ink-soft); padding: 0 0 24px; }
.ledger .detail-body { padding: 0 0 24px 161px; }
.detail-body h4 { margin-top: 3px; }
.detail-body code { font-size: 11px; }
.detail-body pre code { font-size: 11px; }
.detail-body .split { gap: 28px; }
.archive-note { border: 1px solid var(--line); border-radius: 4px; margin-top: 24px; background: var(--paper-high); }
.archive-note summary { display: grid; grid-template-columns: minmax(0, 1fr) 18px; align-items: center; gap: 17px; list-style: none; padding: 18px 21px; font-size: 13px; font-weight: 500; }
.archive-note .detail-body { padding: 3px 21px 22px; }
.pipeline-list { padding: 0; margin: 30px 0 0; list-style: none; border-top: 1px solid var(--line-dark); }
.pipeline-list > li { display: grid; grid-template-columns: 46px minmax(0, 1fr) 190px; gap: 24px; margin: 0; padding: 27px 0; border-bottom: 1px solid var(--line); }
.step-number { font: 500 35px/1 var(--sans); color: #8e9386; letter-spacing: -.06em; }
.step-main .eyebrow { font-size: 9px; margin: 0 0 11px; }
.step-main h3 { font-size: 21px; margin-bottom: 10px; }
.step-main p { font-size: 13px; color: var(--ink-soft); }
.step-main > code { font-size: 10px; display: block; color: var(--muted); }
.step-proof { border-left: 1px solid var(--line); padding-left: 20px; }
.step-proof p { font-size: 11px; color: var(--muted); margin-top: 13px; }
.step-proof code { font-size: 10px; }
.pipeline-list > .boundary-step { background: var(--paper-deep); margin: 0 -15px; padding-left: 15px; padding-right: 15px; border-top: 2px solid var(--ink); }
.boundary-step .step-number { color: var(--ink); }
.tx-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--ink); color: var(--paper); padding: 28px; border-radius: 6px 6px 0 0; margin-top: 30px; }
.tx-header .eyebrow { color: #b4be9d; font-size: 9px; margin-bottom: 15px; }
.tx-header strong { font-size: 48px; font-weight: 500; line-height: 1.1; letter-spacing: -.05em; }
.tx-header strong small { font-size: 20px; letter-spacing: -.03em; }
.tx-header strong > span { color: #8d957e; margin: 0 13px; }
.tx-header p { margin-top: 13px; font-size: 12px; color: #d5d9cf; }
.tx-exploded { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(220px, .8fr); border: 1px solid var(--line-dark); border-top: 0; border-radius: 0 0 6px 6px; overflow: hidden; }
.instructions { padding: 0; margin: 0; list-style: none; }
.instructions li { display: grid; grid-template-columns: 27px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 23px 22px; margin: 0; background: var(--paper-high); border-bottom: 1px solid var(--line); }
.instructions li:last-child { border: 0; }
.instructions li > span { font: 11px var(--mono); color: var(--muted); }
.instructions h3 { font-size: 18px; margin-bottom: 7px; }
.instructions p { font-size: 12px; color: var(--muted); }
.instructions li > code { font-size: 9px; color: var(--muted); }
.instructions li.instruction-focus { background: #eaf0d9; }
.tx-notes { background: var(--paper-deep); padding: 26px; border-left: 1px solid var(--line-dark); }
.tx-notes .eyebrow { font-size: 9px; }
.tx-notes h3 { font-size: 25px; }
.tx-notes dl { margin: 24px 0 0; }
.tx-notes dl > div { padding-top: 14px; margin-top: 14px; border-top: 1px solid var(--line); }
.tx-notes dt { font-size: 11px; color: var(--muted); margin-bottom: 4px; }
.tx-notes dd { font-size: 12px; margin: 0; }
.cost-panel { padding: 27px; border: 1px solid var(--line-dark); border-radius: 5px; margin-top: 24px; }
.cost-title { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.cost-title .eyebrow { font-size: 9px; margin-bottom: 12px; }
.cost-title h3 { font-size: 23px; }
.cost-title > strong { font-size: 28px; letter-spacing: -.04em; text-align: right; white-space: nowrap; font-weight: 500; }
.cost-title > strong small { display: block; font: 10px var(--mono); color: var(--muted); margin-top: 6px; }
.cost-bar { display: flex; height: 26px; margin: 18px 0 22px; border: 1px solid var(--line-dark); }
.cost-buy { width: 12.47%; background: var(--lime); }
.cost-accounts { flex: 1; background: var(--ink); border-left: 3px solid var(--paper); }
.cost-fee { width: .125%; min-width: 3px; background: var(--amber); }
.cost-items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cost-items strong { font-size: 20px; font-weight: 500; letter-spacing: -.04em; }
.cost-items span { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; }
.key-lime { background: var(--lime); }
.key-ink { background: var(--ink); }
.key-fee { background: var(--amber); }
.cost-real { border-left: 1px solid var(--line); padding-left: 20px; }
.cost-real strong { font-size: 29px; line-height: 1; }
.cost-panel > p { color: var(--muted); font-size: 11px; margin-top: 22px; }
.tribunal-banner { margin: 31px 0 20px; background: var(--lime); padding: 25px; display: flex; align-items: center; justify-content: space-between; gap: 25px; border-radius: 5px; }
.tribunal-banner .eyebrow { color: #3d4c26; margin-bottom: 10px; font-size: 9px; }
.tribunal-banner strong { font: 500 clamp(20px, 2.3vw, 31px)/1.3 var(--mono); letter-spacing: -.04em; overflow-wrap: anywhere; }
.tribunal-banner .button { flex-shrink: 0; border-color: #6b7b43; }
#tribunal > p:not(.eyebrow) { font-size: 13px; color: var(--muted); }
.gate-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 25px 0; background: var(--line); border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.gate-grid article { padding: 23px 20px; background: var(--paper-high); }
.gate-grid article > span { font: 12px var(--mono); color: var(--muted); }
.gate-grid h3 { font-size: 18px; margin: 18px 0 11px; }
.gate-grid p { font-size: 12px; color: var(--ink-soft); }
.gate-grid small { display: block; font-size: 10px; line-height: 1.6; color: var(--muted); }
.risk-fix { margin-top: 28px; padding: 28px; border: 1px solid var(--line-dark); border-left: 4px solid var(--green); background: var(--paper-high); border-radius: 4px; }
.risk-fix-header { display: flex; align-items: center; gap: 12px; margin-bottom: 23px; }
.risk-fix > h3 { font-size: 29px; }
.risk-fix .split { margin-top: 27px; font-size: 13px; }
.risk-fix .split .eyebrow { margin-bottom: 10px; }
.risk-sequence { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin: 23px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 11px; }
.risk-sequence strong { padding: 5px 7px; background: var(--lime); }
.risk-sequence b { color: var(--muted); }
.timing-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
.timing-cards h3 { font-size: 20px; }
.timing-cards p { font-size: 12px; }
.big-figure { display: block; font-size: 48px; font-weight: 500; letter-spacing: -.06em; line-height: 1.3; margin: 21px 0; }
.big-figure small { font-size: 16px; letter-spacing: -.035em; }
.muted, .panel .muted { color: var(--muted); }
.causality-figure { padding: 24px; border: 1px solid var(--line); border-radius: 4px; }
.causality-line { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 27px; position: relative; }
.causal-node { padding: 0 0 20px; border-bottom: 3px solid var(--green); position: relative; }
.causal-node::after { content: '→'; position: absolute; bottom: -15px; right: -21px; background: var(--paper); font-size: 23px; color: var(--muted); }
.causal-node:last-child::after { display: none; }
.causal-node.unknown { border-bottom-style: dashed; border-color: var(--line-dark); }
.causal-node.execution { border-color: var(--ink); }
.causal-node .eyebrow { min-height: 25px; margin: 0; padding-top: 6px; font-size: 9px; }
.causal-node h4 { margin: 18px 0 10px; font-size: 18px; }
.causal-node p { font-size: 12px; color: var(--muted); }
.timeline { padding: 0; margin: 35px 0 0; list-style: none; }
.timeline > li { display: grid; grid-template-columns: 172px minmax(0, 1fr); gap: 26px; padding: 0 0 33px; margin: 0; }
.timeline-date { font: 10px/1.8 var(--mono); color: var(--muted); padding-top: 4px; }
.timeline > li > div:last-child { border-left: 1px solid var(--line-dark); padding: 0 0 5px 26px; position: relative; }
.timeline > li > div:last-child::before { content: ''; position: absolute; top: 8px; left: -4px; width: 7px; height: 7px; background: var(--ink); }
.timeline .badge { margin-bottom: 14px; }
.timeline h3 { font-size: 23px; margin-bottom: 11px; }
.timeline p { font-size: 13px; }
.timeline p.muted { font-size: 12px; }
.timeline li:last-child { padding-bottom: 0; }
.role-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 23px; margin: 35px 0; }
.role-grid article { border-top: 2px solid var(--ink); padding-top: 19px; }
.role-grid .eyebrow { font-size: 9px; margin-bottom: 17px; }
.role-grid h3 { font-size: 21px; }
.role-grid p:not(.eyebrow) { font-size: 12px; }
.role-grid article > span { font-size: 11px; color: var(--muted); display: block; border-top: 1px solid var(--line); padding-top: 13px; }
.message-log { display: grid; gap: 14px; }
.source-scope { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 21px; margin: 24px 0; padding: 24px; border: 1px solid var(--line); background: var(--paper-high); border-radius: 5px; }
.source-scope > .eyebrow { grid-column: 1 / -1; margin-bottom: 0; font-size: 9px; }
.source-scope > div strong { display: block; font-size: 33px; line-height: 1.2; font-weight: 500; letter-spacing: -.05em; }
.source-scope > div span { display: block; font-size: 11px; color: var(--muted); margin-top: 9px; }
.source-scope > p:last-child { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 16px; font-size: 11px; color: var(--muted); }
.secondary-sources { margin-top: 25px; border-top: 1px solid var(--line); padding-top: 22px; font-size: 13px; }
.secondary-sources p { font-size: 12px; color: var(--muted); margin: 11px 0; }
.secondary-sources a { display: inline-block; font-size: 12px; margin: 5px 22px 0 0; }
.message-log article { padding: 24px; border: 1px solid var(--line); border-radius: 5px; background: var(--paper-high); }
.message-meta { display: flex; justify-content: space-between; gap: 20px; font: 9px/1.6 var(--mono); color: var(--muted); margin-bottom: 16px; }
.message-log h3 { font-size: 22px; }
.message-log p { font-size: 13px; }
.message-log small { font-size: 11px; line-height: 1.6; color: var(--muted); }
.subheading { margin-top: 38px; }
.correction-list { border-top: 1px solid var(--line-dark); }
.correction-list article { display: flex; gap: 23px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.correction-list article > span { font: 11px var(--mono); color: var(--red); padding-top: 3px; }
.correction-list h4 { font-size: 17px; margin-bottom: 10px; }
.correction-list p { font-size: 13px; }
.bwam-warning { padding: 20px 23px; background: var(--paper-deep); border: 1px solid var(--line); border-radius: 5px; margin: 30px 0 20px; }
.bwam-warning p { font-size: 13px; margin-top: 12px; }
.bwam-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.bwam-card { padding: 27px; background: var(--paper-high); border: 1px solid var(--line-dark); border-radius: 5px; }
.bwam-card .eyebrow { font-size: 10px; }
.bwam-card > div { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; border-top: 1px solid var(--line); padding: 19px 0; }
.bwam-card > div span { font-size: 12px; color: var(--muted); }
.bwam-card > div strong { font-size: 39px; letter-spacing: -.05em; line-height: 1; font-weight: 500; white-space: nowrap; }
.bwam-card > p:last-child { padding-top: 15px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.comparison-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin: 33px 0; }
.comparison-grid article { padding-top: 17px; border-top: 1px solid var(--line-dark); }
.comparison-symbol { font-size: 40px; color: var(--muted); line-height: 1; display: block; margin-bottom: 17px; }
.comparison-grid h3 { font-size: 20px; }
.comparison-grid p { font-size: 12px; color: var(--ink-soft); }
.now-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 30px 0; }
.now-grid article { padding: 23px; border: 1px solid var(--line); border-radius: 5px; background: var(--paper-high); }
.now-grid .badge { margin-bottom: 22px; }
.now-grid h3 { font-size: 22px; }
.now-grid p { font-size: 12px; color: var(--ink-soft); }
.now-grid code { font-size: 11px; }
.next-loop { background: var(--lime); padding: 35px; border-radius: 6px; margin-top: 29px; }
.next-loop .eyebrow { color: #42522b; }
.next-loop h3 { font-size: clamp(26px, 2.7vw, 38px); letter-spacing: -.04em; }
.next-loop > p:not(.eyebrow) { font-size: 14px; }
.next-loop-footer { border-top: 1px solid #99b851; padding-top: 23px; margin-top: 27px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.next-loop-footer > strong { font-size: 13px; }
.report-footer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; padding: 38px 0 60px; font-size: 12px; }
.report-footer > div strong { font-size: 20px; letter-spacing: -.04em; }
.report-footer p { color: var(--muted); margin-top: 9px; }
.report-footer nav { display: flex; gap: 23px; align-items: baseline; flex-wrap: wrap; }
.report-footer .footer-note { grid-column: 1 / -1; font-size: 10px; }
@media (min-width: 1600px) {
  .machine-chain { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .machine { padding: 21px 14px; }
  .machine h3 { font-size: 18px; }
  .machine::after { right: 10px; top: 13px; font-size: 12px; }
  .machine > small { font-size: 8px; }
}
@media (max-width: 1200px) {
  .report-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 28px; }
  .sidebar nav a { font-size: 11px; }
  .sidebar .eyebrow { font-size: 9px; }
  .site-header nav { gap: 16px; font-size: 11px; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .metric > strong { font-size: 48px; }
  .gate-grid, .role-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ledger summary { grid-template-columns: 115px minmax(0, 1fr) auto 15px; gap: 12px; }
  .ledger-label { font-size: 9px; }
  .ledger .detail-body { padding-left: 127px; }
  .ledger .detail-body .split { grid-template-columns: 1fr; gap: 13px; }
  .pipeline-list > li { grid-template-columns: 36px minmax(0, 1fr) 155px; gap: 16px; }
  .step-proof { padding-left: 14px; }
  .tx-exploded { grid-template-columns: minmax(0, 1fr) 230px; }
  .instructions li { grid-template-columns: 23px minmax(0, 1fr); gap: 10px; padding: 22px 17px; }
  .instructions li > code { grid-column: 2; }
  .tx-header { padding: 24px; }
  .tx-header strong { font-size: 39px; }
  .tx-header strong small { font-size: 17px; }
  .timing-cards { gap: 12px; }
  .timing-cards .panel { padding: 20px; }
  .big-figure { font-size: 39px; }
  .timing-cards h3 { font-size: 18px; }
  .now-grid { grid-template-columns: 1fr; gap: 12px; }
  .now-grid article { padding: 24px; }
  .now-grid .badge { margin-bottom: 15px; }
  .bwam-card { padding: 21px; }
  .bwam-card > div { display: block; }
  .bwam-card > div strong { display: block; margin-top: 11px; }
  .tribunal-banner { align-items: start; }
  .tribunal-banner .button { max-width: 145px; flex-shrink: 1; text-align: center; }
}
@media (max-width: 900px) {
  .report-layout { display: block; padding: 0 25px; }
  .sidebar { position: static; padding: 18px 0 0; }
  .sidebar > .eyebrow, .sidebar-note { display: none; }
  .sidebar nav { display: flex; overflow-x: auto; gap: 20px; padding: 0 0 8px; }
  .sidebar nav a { white-space: nowrap; border: 0; padding: 5px 0; font-size: 11px; }
  .sidebar nav a span { margin-right: 3px; }
  .site-header { flex-wrap: wrap; padding: 20px 25px; }
  .site-header nav { margin-left: auto; }
  .section { padding: 55px 0; }
  .hero { padding-top: 36px; }
  h1 { font-size: clamp(48px, 7.3vw, 68px); }
  h2 { font-size: 38px; }
  .report-footer { grid-template-columns: 1fr; }
  .identity-strip { gap: 20px; }
  .contract-diagram svg { min-width: 740px; }
  .timeline > li { grid-template-columns: 145px minmax(0, 1fr); }
}
@media (max-width: 620px) {
  body { font-size: 15px; }
  .status-bar { padding: 9px 18px; font-size: 8px; gap: 15px; }
  .status-bar span:last-child { text-align: right; max-width: 144px; }
  .site-header { padding: 20px; gap: 20px; }
  .brand strong { font-size: 20px; }
  .brand small { font-size: 10px; }
  .site-header nav { width: 100%; margin: 0; gap: 16px; flex-wrap: wrap; font-size: 10px; }
  .site-header nav .button { font-size: 10px; padding: 8px 10px; }
  .report-layout { padding: 0 20px; }
  .section { padding: 42px 0; }
  .hero { padding-top: 30px; }
  .eyebrow { font-size: 9px; margin-bottom: 19px; }
  h1 { font-size: clamp(40px, 10.5vw, 61px); letter-spacing: -.06em; }
  h2 { font-size: 32px; }
  .hero-topline { gap: 11px; margin-bottom: 24px; }
  .hero-topline .stamp { font-size: 9px; }
  .lead { font-size: 18px; margin-top: 23px; }
  .hero-bottomline { font-size: 13px; }
  .actions { gap: 9px; margin: 25px 0; }
  .button { padding: 11px 13px; font-size: 11px; }
  .metric { padding: 18px 15px; }
  .metric .eyebrow { font-size: 8px; letter-spacing: .05em; }
  .metric > strong { font-size: 43px; }
  .metric p, .metric a { font-size: 11px; }
  .metric .verdict-code { font-size: 9px; }
  .split, .axis-grid, .timing-cards, .bwam-grid, .comparison-grid { grid-template-columns: 1fr; }
  .split { gap: 13px; }
  .panel { padding: 23px; }
  .panel h3 { font-size: 21px; }
  .panel p, .panel ul { font-size: 13px; }
  .section-intro { font-size: 15px; }
  .product-title { padding: 17px; gap: 11px; flex-wrap: wrap; }
  .product-title > span:last-child { margin-left: 40px; margin-top: -5px; width: 100%; }
  .machine-chain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .machine { padding: 20px 15px; }
  .machine > small { font-size: 8px; letter-spacing: 0; }
  .machine::after { top: 9px; right: 10px; font-size: 13px; }
  .machine h3 { font-size: 17px; }
  .machine p { font-size: 11px; }
  .machine .badge { font-size: 8px; padding: 4px 5px; }
  .ops-rail { padding: 19px; flex-wrap: wrap; gap: 12px; }
  .ops-rail p { width: 100%; }
  .ops-rail a { margin-left: 0; }
  .timing-rail { display: block; padding: 17px 19px; }
  .timing-rail strong { display: block; margin-bottom: 9px; }
  .callout { padding: 19px; font-size: 12px; }
  .callout > strong { font-size: 14px; }
  .axis { padding: 23px; gap: 21px; }
  .axis-number { font-size: 43px; }
  .identity-strip { display: block; padding: 21px; }
  .identity-strip strong { display: block; margin-bottom: 12px; }
  .identity-strip p { font-size: 12px; }
  .grade-key { gap: 11px; font-size: 10px; }
  .ledger summary { grid-template-columns: minmax(0, 1fr) auto 14px; gap: 8px 11px; padding: 19px 0; }
  .ledger-label { grid-column: 1; }
  .ledger summary > span:nth-child(2) { grid-column: 1 / 3; grid-row: 2; }
  .ledger summary .badge { grid-column: 2; grid-row: 1; font-size: 8px; }
  .ledger summary::after { grid-column: 3; grid-row: 1 / 3; align-self: center; }
  .ledger summary strong { font-size: 16px; }
  .ledger .detail-body { padding-left: 0; font-size: 12px; }
  .archive-note summary { padding: 17px; font-size: 12px; }
  .archive-note .detail-body { padding: 0 17px 19px; font-size: 12px; }
  .pipeline-list > li { grid-template-columns: 29px minmax(0, 1fr); gap: 15px; padding: 24px 0; }
  .step-number { font-size: 28px; }
  .step-main h3 { font-size: 21px; }
  .step-main p { font-size: 12px; }
  .step-main > code { font-size: 9px; }
  .step-proof { grid-column: 2; border-left: 0; border-top: 1px solid var(--line); padding: 12px 0 0; }
  .step-proof p { margin-top: 9px; }
  .step-proof p br { display: none; }
  .step-proof p br::after { content: ' · '; }
  .pipeline-list > .boundary-step { margin: 0 -10px; padding-left: 10px; padding-right: 10px; }
  .tx-header { display: block; padding: 22px; }
  .tx-header strong { font-size: 38px; }
  .tx-header strong small { font-size: 16px; }
  .tx-header strong > span { margin: 0 6px; }
  .tx-header > .badge { margin-top: 20px; }
  .tx-exploded { grid-template-columns: 1fr; }
  .instructions li { grid-template-columns: 23px minmax(0, 1fr) auto; padding: 20px 18px; }
  .instructions li > code { grid-column: auto; font-size: 8px; max-width: 68px; }
  .instructions h3 { font-size: 18px; }
  .instructions p { font-size: 11px; }
  .tx-notes { border-left: 0; border-top: 1px solid var(--line-dark); padding: 23px; }
  .tx-notes h3 br { display: none; }
  .tx-notes dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
  .tx-notes dl > div { margin: 0; }
  .cost-panel { padding: 22px; }
  .cost-title { display: block; }
  .cost-title > strong { display: block; text-align: left; margin: 20px 0; }
  .cost-title > strong small { display: inline; margin-left: 4px; }
  .cost-title h3 { font-size: 23px; }
  .cost-items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px 12px; }
  .cost-items strong { font-size: 19px; }
  .cost-real { padding-left: 14px; }
  .cost-real strong { font-size: 25px; }
  .tribunal-banner { display: block; padding: 22px; }
  .tribunal-banner strong { font-size: 24px; }
  .tribunal-banner .button { margin-top: 19px; max-width: none; }
  .gate-grid article { padding: 21px 17px; }
  .gate-grid h3 { font-size: 18px; }
  .gate-grid p { font-size: 11px; }
  .gate-grid small { font-size: 10px; }
  .risk-fix { padding: 22px; }
  .risk-fix-header { gap: 9px; flex-wrap: wrap; }
  .risk-fix > h3 { font-size: 25px; }
  .risk-fix .split { margin-top: 21px; gap: 21px; font-size: 12px; }
  .risk-sequence { font-size: 10px; }
  .timing-cards .panel { padding: 24px; }
  .timing-cards h3 { font-size: 22px; }
  .big-figure { font-size: 48px; }
  .big-figure small { font-size: 18px; }
  .causality-figure { padding: 22px; }
  .causality-line { grid-template-columns: 1fr; gap: 23px; }
  .causal-node { border-bottom: 0; border-left: 3px solid var(--green); padding: 0 0 0 20px; }
  .causal-node.unknown { border-left-style: dashed; }
  .causal-node::after { content: '↓'; left: -9px; right: auto; bottom: -26px; }
  .causal-node h4 { margin-top: 12px; }
  #timing table { min-width: 650px; }
  .timeline > li { display: block; padding-bottom: 30px; }
  .timeline-date { margin-bottom: 12px; padding-left: 21px; }
  .timeline > li > div:last-child { padding-left: 20px; margin-left: 3px; }
  .timeline h3 { font-size: 21px; }
  .timeline p { font-size: 12px; }
  .timeline p.muted { font-size: 11px; }
  .role-grid { gap: 23px 19px; }
  .role-grid h3 { font-size: 19px; }
  .role-grid p:not(.eyebrow) { font-size: 11px; }
  .role-grid article > span { font-size: 10px; }
  .message-log article { padding: 21px; }
  .source-scope { padding: 21px; gap: 17px; }
  .source-scope > div strong { font-size: 27px; }
  .source-scope > div span { font-size: 10px; }
  .message-meta { display: grid; gap: 7px; }
  .message-log h3 { font-size: 21px; }
  .message-log p { font-size: 12px; }
  .message-log small { font-size: 10px; }
  .correction-list article { gap: 16px; }
  .correction-list p { font-size: 12px; }
  .bwam-card { padding: 24px; }
  .bwam-card > div { display: flex; }
  .bwam-card > div strong { font-size: 34px; margin-top: 0; }
  .bwam-card > div span { font-size: 11px; }
  .comparison-grid { gap: 23px; }
  .comparison-symbol { float: left; margin: 0 20px 30px 0; }
  .comparison-grid h3 { font-size: 21px; }
  .comparison-grid p { font-size: 12px; }
  .next-loop { padding: 25px; }
  .next-loop h3 { font-size: 29px; }
  .next-loop > p:not(.eyebrow) { font-size: 12px; }
  .next-loop-footer { display: block; }
  .next-loop-footer > strong { display: block; margin-bottom: 19px; }
  .report-footer { padding-bottom: 38px; }
  .report-footer nav { gap: 15px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
#kpi .panel { overflow-x: auto; }
#kpi table { width: 100%; border-collapse: collapse; min-width: 580px; font-size: 13px; }
#kpi th, #kpi td { text-align: left; padding: 15px 12px; border-bottom: 1px solid #d6d4c9; vertical-align: top; }
#kpi th { background: #e6ebda; }
#kpi td:first-child { font-weight: 650; }
@media print {
  body { background: #fff; font-size: 11px; }
  .status-bar, .site-header, .sidebar, .skip, .actions, .report-footer nav { display: none; }
  .report-layout { display: block; padding: 0; max-width: none; }
  .section { padding: 24px 0; }
  h1 { font-size: 38px; }
  h2 { font-size: 27px; }
  .panel, .metric, .machine, .gate-grid article, .role-grid article, .message-log article, .now-grid article { break-inside: avoid; }
  .table-wrap, .contract-diagram { overflow: visible; }
  .matrix, #timing table, .contract-diagram svg { min-width: 0; }
  a { text-decoration: none; }
}
