:root {
  --paper: #f4efe5;
  --sheet: #fbf8f1;
  --ink: #191713;
  --muted: #6e685e;
  --faint: #958d80;
  --rule: #cfc5b4;
  --rule-strong: #a99d8b;
  --crimson: #a13227;
  --crimson-soft: #ead8d2;
  --green: #276149;
  --green-soft: #dce8df;
  --amber: #9a6817;
  --amber-soft: #eee2c8;
  --blue: #315f74;
  --blue-soft: #dce6e8;
  --mono: "SFMono-Regular", "Roboto Mono", Menlo, Consolas, monospace;
  --sans: "Avenir Next", Avenir, "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: "Iowan Old Style", "Songti SC", STSong, Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button { color: inherit; }
a { color: inherit; }
[v-cloak] { display: none; }
.skip-link {
  position: fixed;
  left: 12px;
  top: -100px;
  z-index: 9999;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
}
.skip-link:focus { top: 8px; }

.status-bar {
  align-items: center;
  background: var(--ink);
  color: #f8f2e8;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  min-height: 46px;
  padding: 0 22px;
  position: sticky;
  top: 0;
  z-index: 80;
}
.status-brand { display: flex; flex-direction: column; line-height: 1.1; }
.status-brand span, .status-facts, .refresh-button {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.status-brand b { font-size: 10px; letter-spacing: .12em; color: #bfb5a7; }
.status-facts { display: flex; align-items: center; justify-content: center; gap: 10px; color: #d9d0c2; }
.status-divider { width: 1px; height: 13px; background: #625c54; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #777067; display: inline-block; flex: 0 0 auto; }
.status-dot.live, .status-dot.fresh { background: #67a583; }
.status-dot.partial, .status-dot.stale { background: #d3a043; }
.status-dot.unavailable, .status-dot.failed_freshness { background: #b85c50; }
.refresh-button {
  border: 1px solid #777067;
  background: transparent;
  color: #fff;
  cursor: pointer;
  min-height: 30px;
  padding: 4px 10px;
}
.refresh-button:hover, .refresh-button:focus-visible { border-color: #fff; outline: none; }
.refresh-button:disabled { opacity: .5; cursor: wait; }

.page-shell {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  max-width: 1480px;
  margin: 0 auto;
  border-left: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
}
.research-nav {
  align-self: start;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 46px);
  padding: 26px 14px;
  position: sticky;
  top: 46px;
}
.nav-top { border-bottom: 2px solid var(--ink); display: flex; flex-direction: column; padding: 0 4px 18px; margin-bottom: 18px; }
.nav-top span, .nav-note span, .eyebrow-row, .overline, .section-head span, .widget-head span,
.chart-head span, .register-head span, .threshold-label, .public-feed > span, .method-footer span,
.arr-title span, .ruler-head span, .chart-label, .status-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.nav-top b { font-family: var(--serif); font-size: 22px; margin-top: 2px; }
.research-nav > a {
  align-items: baseline;
  border-bottom: 1px solid var(--rule);
  display: flex;
  gap: 10px;
  padding: 12px 4px;
  text-decoration: none;
}
.research-nav > a i { color: var(--faint); font-family: var(--mono); font-size: 10px; font-style: normal; }
.research-nav > a:hover, .research-nav > a:focus-visible { color: var(--crimson); outline: none; }
.nav-note { margin-top: auto; padding: 22px 4px 0; color: var(--muted); }
.nav-note p { font-size: 11px; margin: 6px 0 0; line-height: 1.55; }

.research-main { min-width: 0; background: var(--sheet); }
.section { border-bottom: 1px solid var(--rule); padding: 42px 48px 46px; scroll-margin-top: 46px; }
.hero-section { padding-top: 30px; }
.eyebrow-row { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); border-bottom: 1px solid var(--rule); padding-bottom: 11px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 46px; padding-top: 34px; }
.overline { color: var(--crimson); margin: 0 0 12px; }
.hero-thesis h1 {
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.02;
  margin: 0;
}
.hero-thesis h1 em { color: var(--crimson); font-style: normal; }
.hero-dek { color: #4f4a43; font-family: var(--serif); font-size: 19px; line-height: 1.55; max-width: 760px; margin: 22px 0 28px; }
.decision-ledger { border-top: 1px solid var(--ink); }
.decision-ledger button {
  align-items: center;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto;
  min-height: 43px;
  padding: 0;
  text-align: left;
  width: 100%;
}
.decision-ledger button:hover b { color: var(--crimson); }
.decision-ledger span { color: var(--muted); }
.decision-ledger b { font-family: var(--mono); font-size: 11px; letter-spacing: .03em; text-transform: uppercase; }
.decision-ledger .tone-confirm { color: var(--green); }
.decision-ledger .tone-warn { color: var(--amber); }

.market-widget { background: #f0eade; border-top: 4px solid var(--ink); padding: 18px; align-self: start; }
.widget-head, .chart-head, .register-head, .ruler-head, .arr-title {
  align-items: start;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.widget-head > div, .chart-head > div { display: flex; flex-direction: column; }
.widget-head b, .chart-head b { font-size: 13px; margin-top: 3px; }
.source-button {
  background: transparent;
  border: 1px solid var(--rule-strong);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 9px;
  min-height: 26px;
  padding: 3px 7px;
}
.source-button:hover, .source-button:focus-visible { border-color: var(--crimson); color: var(--crimson); outline: 0; }
.market-price { align-items: baseline; display: flex; gap: 5px; margin: 22px 0 8px; }
.market-price > span { font-family: var(--serif); font-size: 18px; }
.market-price strong { font-family: var(--serif); font-size: 46px; font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.market-price em { font-family: var(--mono); font-size: 11px; font-style: normal; margin-left: auto; }
.up { color: var(--green); }
.down { color: var(--crimson); }
.market-meta { border-top: 1px solid var(--rule); color: var(--muted); display: flex; font-family: var(--mono); font-size: 9px; justify-content: space-between; padding-top: 7px; }
.multiple-line { border-top: 1px solid var(--rule); display: flex; justify-content: space-between; margin-top: 14px; padding-top: 10px; }
.multiple-line span { color: var(--muted); }
.multiple-line b { color: var(--faint); font-family: var(--mono); font-size: 10px; }
.market-widget > p { color: var(--muted); font-size: 10px; margin: 5px 0 0; }
.unavailable-block { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 3px; margin-top: 18px; padding: 28px 0; }

.proof-strip { border-top: 1px solid var(--ink); display: grid; grid-template-columns: 1fr 1fr 1fr; margin-top: 38px; }
.proof-strip article { border-right: 1px solid var(--rule); min-height: 170px; padding: 16px 24px 12px 0; }
.proof-strip article + article { padding-left: 24px; }
.proof-strip article:last-child { border-right: 0; }
.proof-strip article > span { color: var(--green); font-family: var(--mono); font-size: 10px; letter-spacing: .09em; }
.proof-strip .missing > span { color: var(--crimson); }
.proof-strip .next-proof > span { color: var(--amber); }
.proof-strip ul { margin: 12px 0 0; padding-left: 16px; }
.proof-strip li { margin: 5px 0; }
.proof-strip p { margin: 12px 0 0; }

.arr-band { background: var(--ink); color: #eee7dc; margin: 18px -48px -46px; padding: 20px 48px 24px; }
.arr-title { color: #bdb4a6; }
.arr-title .source-button { color: #e7dfd2; border-color: #5d5850; }
.arr-scale { align-items: center; display: grid; grid-template-columns: auto minmax(40px, 1fr) auto minmax(40px, 1fr) auto; gap: 16px; margin: 20px 0 13px; }
.arr-scale i { height: 1px; background: #756f65; position: relative; }
.arr-scale i::after { border: solid #756f65; border-width: 1px 1px 0 0; content: ""; height: 6px; position: absolute; right: 0; top: -3px; transform: rotate(45deg); width: 6px; }
.arr-scale .stretch { border-top: 1px dashed #756f65; background: transparent; }
.arr-segment { display: flex; flex-direction: column; }
.arr-segment b { font-family: var(--serif); font-size: 24px; font-weight: 500; }
.arr-segment span { color: #aba397; font-family: var(--mono); font-size: 9px; letter-spacing: .06em; }
.arr-segment.current b { color: #f0b1a8; }
.arr-segment.target b { color: #aed1bd; }
.arr-band > p { color: #beb6a9; font-size: 11px; margin: 0; }

.section-head { align-items: end; border-bottom: 1px solid var(--ink); display: grid; grid-template-columns: minmax(0, .9fr) minmax(300px, .65fr); gap: 34px; padding-bottom: 19px; }
.section-head h2 { font-family: var(--serif); font-size: clamp(28px, 3.1vw, 42px); font-weight: 500; letter-spacing: -.025em; line-height: 1.08; margin: 7px 0 0; }
.section-head p { color: var(--muted); margin: 0; }
.hosted-lane { border-left: 4px solid var(--crimson); }
.self-lane { border-left: 4px solid var(--amber); }
.app-lane { border-left: 4px solid var(--blue); }

.metric-ribbon { border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: repeat(3, 1fr); }
.metric-ribbon button {
  background: transparent;
  border: 0;
  border-right: 1px solid var(--rule);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-height: 125px;
  padding: 20px 24px 16px 0;
  text-align: left;
}
.metric-ribbon button + button { padding-left: 24px; }
.metric-ribbon button:last-child { border-right: 0; }
.metric-ribbon span { color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .06em; }
.metric-ribbon b { font-family: var(--serif); font-size: 28px; font-weight: 500; margin: 8px 0 2px; }
.metric-ribbon em { color: var(--green); font-family: var(--mono); font-size: 10px; font-style: normal; }
.metric-ribbon button:hover b { color: var(--crimson); }

.chart-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, .65fr); border-bottom: 1px solid var(--rule); }
.primary-chart { border-right: 1px solid var(--rule); padding: 24px 26px 24px 0; }
.secondary-chart { padding: 24px 0 24px 26px; }
.chart-head { align-items: center; }
.range-switch { border: 1px solid var(--rule); display: flex; }
.range-switch button { background: transparent; border: 0; border-right: 1px solid var(--rule); cursor: pointer; font-family: var(--mono); font-size: 9px; min-height: 28px; min-width: 38px; }
.range-switch button:last-child { border-right: 0; }
.range-switch button.active { background: var(--ink); color: #fff; }
.chart-stack { margin-top: 18px; }
.chart-stack > div + div { border-top: 1px solid var(--rule); margin-top: 12px; padding-top: 10px; }
.chart-label { color: var(--muted); }
.mini-chart { display: block; height: auto; margin-top: 6px; overflow: visible; width: 100%; }
.mini-chart .grid-line { stroke: #ded5c7; stroke-width: 1; }
.mini-chart .axis-label { fill: #81796d; font-family: var(--mono); font-size: 8px; }
.mini-chart .data-path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.mini-chart .data-area { opacity: .06; }
.mini-chart .bar { opacity: .7; }
.mini-chart .end-dot { stroke: var(--sheet); stroke-width: 2; vector-effect: non-scaling-stroke; }
.chart-foot { color: var(--muted); font-size: 10px; margin: 8px 0 0; }
.chart-foot button { background: transparent; border: 0; color: var(--crimson); cursor: pointer; padding: 0; text-decoration: underline; }
.single-snapshot { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; margin-top: 18px; padding: 26px 0 22px; }
.single-snapshot strong { font-family: var(--serif); font-size: 42px; font-weight: 500; }
.single-snapshot span { color: var(--muted); font-family: var(--mono); font-size: 10px; text-transform: uppercase; }
.single-snapshot p { color: var(--muted); font-size: 11px; margin: 14px 0 0; }
.route-note { background: var(--green-soft); display: flex; flex-direction: column; margin-top: 18px; padding: 13px; }
.route-note b { color: var(--green); font-size: 11px; }
.route-note span { font-size: 10px; margin-top: 3px; }

.data-register { margin-top: 24px; }
.register-head { align-items: baseline; border-bottom: 1px solid var(--rule); padding-bottom: 9px; }
.register-head p { color: var(--muted); font-size: 10px; margin: 0; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; font-size: 12px; width: 100%; }
th { color: var(--muted); font-family: var(--mono); font-size: 9px; font-weight: 500; letter-spacing: .05em; text-align: left; text-transform: uppercase; }
th, td { border-bottom: 1px solid var(--rule); padding: 11px 12px 11px 0; vertical-align: top; }
td small { color: var(--muted); display: block; font-size: 9px; }
td a { text-decoration-color: var(--rule-strong); text-underline-offset: 3px; }
.lane-token { display: inline-block; font-family: var(--mono); font-size: 8px; padding: 3px 5px; }
.lane-token.hosted { background: var(--green-soft); color: var(--green); }
.lane-token.self_hosted { background: var(--amber-soft); color: var(--amber); }
.conflict { color: var(--crimson); display: block; font-family: var(--mono); font-size: 8px; font-style: normal; margin-top: 3px; text-transform: uppercase; }

.divergence-note { align-items: center; background: var(--amber-soft); display: grid; grid-template-columns: 160px 1fr; gap: 18px; margin: 24px 0; padding: 18px; }
.divergence-note > span { color: var(--amber); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; }
.divergence-note p { margin: 0; }
.price-ruler { border: 1px solid var(--rule); padding: 18px 20px 16px; }
.ruler-head b { color: var(--muted); font-size: 10px; font-weight: 500; }
.ruler-line { background: var(--rule-strong); height: 1px; margin: 33px 4% 8px; position: relative; }
.ruler-line i { background: var(--sheet); border: 2px solid var(--amber); border-radius: 50%; height: 10px; position: absolute; top: -5px; width: 10px; }
.ruler-labels { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.ruler-labels span { font-family: var(--mono); font-size: 10px; }
.ruler-labels em { color: var(--muted); font-family: var(--sans); font-size: 9px; font-style: normal; }
.route-register { border-top: 1px solid var(--ink); display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 26px; }
.route-register article { border-bottom: 1px solid var(--rule); border-right: 1px solid var(--rule); min-height: 170px; padding: 18px 20px 16px 0; }
.route-register article + article { padding-left: 20px; }
.route-register article:last-child { border-right: 0; }
.route-register article > div { display: flex; flex-direction: column; }
.route-register article span { color: var(--amber); font-family: var(--mono); font-size: 9px; }
.route-register article p { font-family: var(--serif); font-size: 19px; margin: 16px 0 3px; }
.route-register article small { color: var(--muted); display: block; min-height: 34px; }
.route-register article button { background: transparent; border: 0; border-bottom: 1px solid var(--rule-strong); cursor: pointer; font-family: var(--mono); font-size: 8px; margin-top: 12px; padding: 0 0 2px; }

.app-grid { display: grid; grid-template-columns: 1.1fr .9fr; border-bottom: 1px solid var(--rule); }
.higgs-pricing, .public-feed { padding: 24px 28px 24px 0; }
.public-feed { border-left: 1px solid var(--rule); padding-left: 28px; }
.credits-price { align-items: baseline; display: flex; flex-wrap: wrap; gap: 7px; margin: 26px 0 18px; }
.credits-price strong { color: var(--blue); font-family: var(--serif); font-size: 56px; font-weight: 500; line-height: .9; }
.credits-price span { font-size: 16px; }
.credits-price del { color: var(--muted); font-size: 11px; margin-left: auto; }
.duration-grid { border-top: 1px solid var(--rule); display: grid; grid-template-columns: repeat(3, 1fr); }
.duration-grid div { border-right: 1px solid var(--rule); display: flex; flex-direction: column; padding: 12px 10px 5px 0; }
.duration-grid div + div { padding-left: 10px; }
.duration-grid div:last-child { border-right: 0; }
.duration-grid b { font-family: var(--serif); font-size: 22px; }
.duration-grid span { color: var(--muted); font-family: var(--mono); font-size: 9px; }
.higgs-pricing > p, .public-feed > p { color: var(--muted); font-size: 10px; margin: 16px 0 0; }
.public-feed > strong { color: var(--blue); display: block; font-family: var(--serif); font-size: 32px; font-weight: 500; line-height: 1.05; margin: 24px 0 16px; }
.public-feed > div { border-top: 1px solid var(--rule); display: grid; grid-template-columns: 1fr auto 1fr auto; gap: 9px; margin-top: 18px; padding-top: 10px; }
.public-feed > div span { color: var(--muted); font-size: 10px; }
.public-feed > div b { font-family: var(--mono); font-size: 11px; }
.plan-table { margin-top: 24px; }
.plan-row { border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 1fr 1fr 1fr 1.2fr; gap: 14px; padding: 11px 0; }
.plan-row span { color: var(--muted); }
.plan-row em { color: var(--blue); font-family: var(--mono); font-size: 10px; font-style: normal; }
.distribution-strip { border-top: 1px solid var(--ink); display: flex; flex-wrap: wrap; gap: 0; margin-top: 24px; }
.distribution-strip span { border-bottom: 1px solid var(--rule); border-right: 1px solid var(--rule); display: flex; flex-direction: column; min-width: 180px; padding: 12px 18px 12px 0; }
.distribution-strip span + span { padding-left: 18px; }
.distribution-strip b { color: var(--blue); font-family: var(--mono); font-size: 9px; }

.threshold-label { background: var(--ink); color: #fff; display: inline-block; margin-top: 24px; padding: 7px 10px; }
.threshold-table td:last-child span { background: var(--amber-soft); color: var(--amber); font-family: var(--mono); font-size: 9px; padding: 3px 6px; white-space: nowrap; }
.alert-ledger { border-top: 1px solid var(--ink); margin-top: 28px; }
.alert-ledger article { align-items: center; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 7px minmax(0, 1fr) auto; gap: 14px; min-height: 84px; padding: 12px 0; }
.alert-ledger article > i { background: var(--faint); height: 100%; width: 3px; }
.alert-ledger article.positive > i { background: var(--green); }
.alert-ledger article.negative > i, .alert-ledger article.risk > i { background: var(--crimson); }
.alert-ledger article.warning > i, .alert-ledger article.watch > i { background: var(--amber); }
.alert-ledger article.missing > i { background: var(--faint); }
.alert-ledger article div { display: grid; grid-template-columns: 90px 220px 1fr; align-items: baseline; gap: 10px; }
.alert-ledger article span { color: var(--muted); font-family: var(--mono); font-size: 8px; text-transform: uppercase; }
.alert-ledger article p { color: var(--muted); margin: 0; }
.alert-ledger article button { background: transparent; border: 1px solid var(--rule); cursor: pointer; font-family: var(--mono); font-size: 8px; min-height: 30px; }

.health-grid { border-top: 1px solid var(--ink); display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 24px; }
.health-grid button { align-items: center; background: transparent; border: 0; border-bottom: 1px solid var(--rule); border-right: 1px solid var(--rule); cursor: pointer; display: grid; grid-template-columns: auto 1fr; gap: 6px; min-height: 96px; padding: 12px; text-align: left; }
.health-grid button:last-child { border-right: 0; }
.health-grid b { font-size: 11px; }
.health-grid em { color: var(--muted); font-family: var(--mono); font-size: 8px; font-style: normal; grid-column: 2; text-transform: uppercase; }
.health-grid small { color: var(--faint); font-family: var(--mono); font-size: 8px; grid-column: 2; }
.source-list { margin-top: 28px; }
.source-list article { border-top: 1px solid var(--rule); }
.source-list article:last-child { border-bottom: 1px solid var(--rule); }
.source-list article > button { align-items: center; background: transparent; border: 0; cursor: pointer; display: grid; grid-template-columns: 54px 1.15fr 1.4fr 18px; gap: 16px; padding: 12px 0; text-align: left; width: 100%; }
.source-list article > button > span { color: var(--crimson); font-family: var(--mono); font-size: 9px; }
.source-list article div { display: flex; flex-direction: column; }
.source-list article small, .source-list article p { color: var(--muted); font-size: 10px; margin: 0; }
.source-list article i { font-style: normal; }
.source-list article > button:hover b { color: var(--crimson); }
.method-footer { background: #ece5d9; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 28px -48px -46px; }
.method-footer div { background: #ece5d9; border-right: 1px solid var(--rule); padding: 20px 24px; }
.method-footer div:last-child { border-right: 0; }
.method-footer p { color: var(--muted); font-size: 10px; margin: 7px 0 0; }

.loading-state, .error-state { align-items: center; display: flex; flex-direction: column; justify-content: center; min-height: calc(100vh - 46px); text-align: center; }
.loading-rule { background: var(--rule); height: 1px; overflow: hidden; position: relative; width: 240px; }
.loading-rule::after { animation: load 1.4s infinite ease-in-out; background: var(--crimson); content: ""; height: 1px; left: 0; position: absolute; width: 70px; }
@keyframes load { from { transform: translateX(-70px); } to { transform: translateX(240px); } }
.loading-state p { color: var(--muted); margin-top: 16px; }
.error-state span { color: var(--crimson); font-family: var(--mono); }
.error-state h1 { font-family: var(--serif); font-size: 42px; font-weight: 500; margin: 8px 0; }
.error-state button { background: var(--ink); border: 0; color: #fff; cursor: pointer; margin-top: 10px; padding: 10px 18px; }

.drawer-overlay { background: rgba(25, 23, 19, .34); inset: 0; position: fixed; z-index: 89; }
.evidence-drawer { background: var(--sheet); border-left: 1px solid var(--ink); bottom: 0; max-width: 460px; position: fixed; right: 0; top: 0; transform: translateX(101%); transition: transform 180ms ease-out; width: min(92vw, 460px); z-index: 90; }
.evidence-drawer.open { transform: translateX(0); }
.evidence-drawer > header { align-items: center; background: var(--ink); color: #fff; display: flex; height: 46px; justify-content: space-between; padding: 0 18px; }
.evidence-drawer > header span { font-family: var(--mono); font-size: 10px; letter-spacing: .09em; }
.evidence-drawer > header button { background: transparent; border: 0; color: #fff; cursor: pointer; font-family: var(--serif); font-size: 30px; height: 44px; width: 44px; }
.drawer-body { height: calc(100vh - 46px); overflow-y: auto; padding: 28px; }
.drawer-code { color: var(--crimson); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; }
.drawer-body h2 { font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 1.1; margin: 10px 0 7px; }
.drawer-type { color: var(--muted); font-family: var(--mono); font-size: 9px; text-transform: uppercase; }
.drawer-body > p:not(.drawer-type) { font-family: var(--serif); font-size: 17px; line-height: 1.6; }
.drawer-body dl { border-top: 1px solid var(--ink); display: grid; grid-template-columns: 110px 1fr; margin: 24px 0; }
.drawer-body dt, .drawer-body dd { border-bottom: 1px solid var(--rule); margin: 0; padding: 10px 0; }
.drawer-body dt { color: var(--muted); font-family: var(--mono); font-size: 9px; text-transform: uppercase; }
.drawer-body dd { font-size: 12px; }
.drawer-body > a { border-bottom: 1px solid var(--crimson); color: var(--crimson); text-decoration: none; }

@media (max-width: 1100px) {
  .status-bar { grid-template-columns: 190px 1fr auto; }
  .status-facts span:nth-of-type(5), .status-facts span:nth-of-type(4) { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; }
  .section { padding-left: 34px; padding-right: 34px; }
  .arr-band, .method-footer { margin-left: -34px; margin-right: -34px; }
  .arr-band { padding-left: 34px; padding-right: 34px; }
  .alert-ledger article div { grid-template-columns: 72px 170px 1fr; }
}

@media (max-width: 780px) {
  body { font-size: 14px; }
  .status-bar { grid-template-columns: 1fr auto; min-height: 44px; padding: 0 12px; }
  .status-brand b { display: none; }
  .status-facts { grid-column: 1 / -1; grid-row: 2; background: #2c2925; font-size: 9px; gap: 6px; justify-content: flex-start; letter-spacing: .04em; margin: 0 -12px; min-height: 28px; overflow-x: auto; padding: 0 10px; white-space: nowrap; }
  .status-facts span:nth-of-type(4), .status-facts span:nth-of-type(5) { display: inline; }
  .refresh-button { grid-column: 2; grid-row: 1; min-height: 32px; }
  .page-shell { display: block; border: 0; }
  .research-nav { background: var(--paper); border-bottom: 1px solid var(--rule); border-right: 0; display: flex; flex-direction: row; gap: 0; min-height: 0; overflow-x: auto; padding: 0 12px; position: sticky; top: 72px; z-index: 70; }
  .nav-top, .nav-note { display: none; }
  .research-nav > a { border-bottom: 0; border-right: 1px solid var(--rule); flex: 0 0 auto; min-height: 44px; padding: 11px 14px; }
  .section { padding: 30px 18px 34px; scroll-margin-top: 116px; }
  .hero-section { padding-top: 22px; }
  .eyebrow-row { flex-direction: column; gap: 3px; }
  .hero-grid { display: flex; flex-direction: column; gap: 26px; padding-top: 26px; }
  .hero-thesis h1 { font-size: clamp(38px, 11vw, 52px); }
  .hero-dek { font-size: 17px; }
  .market-widget { order: 2; width: 100%; }
  .proof-strip { grid-template-columns: 1fr; }
  .proof-strip article, .proof-strip article + article { border-right: 0; border-bottom: 1px solid var(--rule); min-height: 0; padding: 16px 0; }
  .proof-strip article:last-child { border-bottom: 0; }
  .arr-band { margin: 18px -18px -34px; padding: 18px; }
  .arr-scale { grid-template-columns: 1fr; gap: 8px; }
  .arr-scale i { height: 18px; margin-left: 14px; width: 1px; }
  .arr-scale i::after { bottom: 0; left: -3px; right: auto; top: auto; transform: rotate(135deg); }
  .arr-segment { padding-left: 4px; }
  .section-head { align-items: start; grid-template-columns: 1fr; gap: 14px; }
  .section-head h2 { font-size: 32px; }
  .metric-ribbon { grid-template-columns: 1fr; }
  .metric-ribbon button, .metric-ribbon button + button { border-bottom: 1px solid var(--rule); border-right: 0; min-height: 104px; padding: 16px 0; }
  .chart-layout { grid-template-columns: 1fr; }
  .primary-chart { border-right: 0; padding: 22px 0; }
  .secondary-chart { border-top: 1px solid var(--rule); padding: 22px 0; }
  .chart-stack .mini-chart { min-height: 150px; }
  .divergence-note { grid-template-columns: 1fr; gap: 6px; }
  .ruler-labels { grid-template-columns: repeat(2, 1fr); gap: 12px 0; }
  .ruler-line { display: none; }
  .route-register { grid-template-columns: 1fr; }
  .route-register article, .route-register article + article { border-right: 0; min-height: 0; padding: 16px 0; }
  .app-grid { grid-template-columns: 1fr; }
  .higgs-pricing { padding: 22px 0; }
  .public-feed { border-left: 0; border-top: 1px solid var(--rule); padding: 22px 0; }
  .credits-price del { flex-basis: 100%; margin: 0; }
  .plan-row { grid-template-columns: 1fr 1fr; gap: 5px 12px; }
  .distribution-strip span { min-width: 50%; }
  .alert-ledger article { grid-template-columns: 5px 1fr; }
  .alert-ledger article div { grid-template-columns: 1fr; gap: 2px; }
  .alert-ledger article button { grid-column: 2; justify-self: start; min-height: 40px; }
  .health-grid { grid-template-columns: repeat(2, 1fr); }
  .source-list article > button { grid-template-columns: 44px 1fr 18px; min-height: 86px; }
  .source-list article p { grid-column: 2; }
  .source-list article i { grid-column: 3; grid-row: 1; }
  .method-footer { grid-template-columns: 1fr; margin: 24px -18px -34px; }
  .method-footer div { border-bottom: 1px solid var(--rule); border-right: 0; padding: 16px 18px; }
  table { min-width: 680px; }
  .threshold-table table { min-width: 620px; }
  .evidence-drawer { border-left: 0; border-top: 1px solid var(--ink); max-width: none; top: 72px; width: 100vw; }
  .drawer-body { height: calc(100vh - 118px); padding: 22px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
