/* Shared offline reading language for the guide and its evidence pages. */
:root {
  --paper: #f6f8fb;
  --paper2: #fff;
  --paper3: #eaf0fb;
  --pine: #202b45;
  --pine2: #33415f;
  --ink: #202b45;
  --muted: #52617b;
  --line: #d8e1ee;
  --line2: #adbbd0;
  --rust: #345bd7;
  --rust2: #2749ac;
  --blue: #345bd7;
  --bluep: #eaf0fb;
  --brass: #217c85;
  --brassp: #e8f3f3;
}
html { scroll-behavior: smooth; }
body { background: #f6f8fb; color: #202b45; font-size: 17px; line-height: 1.75; }
a { color: #345bd7; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: #2749ac; }
a:focus-visible, summary:focus-visible, [tabindex="0"]:focus-visible { outline: 3px solid #217c85; outline-offset: 3px; }
code { background: #f0f4fb; border-color: #d8e1ee; overflow-wrap: anywhere; }

/* The main guide keeps its own layout, while these rules quieten its evidence panels. */
.guide-page .section { padding-top: clamp(3.2rem, 6vw, 5rem); }
.guide-page .overview { padding-top: 2.5rem; }
.guide-page .section-head { display: block; max-width: 78ch; margin-bottom: 1.5rem; }
.guide-page .section-index,
.guide-page .card-tag,
.guide-page .detail-label,
.guide-page .metric-label,
.guide-page .route-kicker,
.guide-page .delta-label {
  color: #217c85;
  font: 650 .8rem/1.4 var(--sans);
  letter-spacing: 0;
  text-transform: none;
}
.guide-page .section-index { margin-bottom: .55rem; }
.guide-page .section-index::before { display: none; }
.guide-page .section-title { max-width: 72ch; font-size: clamp(1.85rem, 3vw, 2.55rem); line-height: 1.28; letter-spacing: -.025em; }
.guide-page .section-intro { max-width: 72ch; font-size: 1rem; line-height: 1.75; }
.guide-page .question-grid { display: block; border-top: 1px solid var(--line); }
.guide-page .question-card { display: grid; grid-template-columns: 9rem minmax(0, 1fr); min-height: 0; gap: 0 1.2rem; padding: 1.2rem 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
.guide-page .question-card::after { display: none; }
.guide-page .question-card:nth-child(n) { border-top: 0; }
.guide-page .question-card .card-tag { grid-row: 1 / span 3; padding-top: .2rem; }
.guide-page .question-card h3 { margin: 0 0 .35rem; font-size: 1.18rem; }
.guide-page .question-card p { max-width: 72ch; margin: 0; font-size: .98rem; line-height: 1.75; }
.guide-page .question-card .answer { max-width: 72ch; margin-top: .5rem; padding-top: .6rem; font-size: .88rem; }
.guide-page .card, .guide-page .entry-card, .guide-page .role-card,
.guide-page .evidence-card, .guide-page .proposal-card, .guide-page .source-card,
.guide-page .gate-card, .guide-page .accounting-card, .guide-page .boundary-box,
.guide-page .comparison-card, .guide-page .q2-card, .guide-page .pattern-card,
.guide-page .observation-card, .guide-page .sol-panel, .guide-page .divergence-panel {
  border-color: var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
}
.guide-page .entry-card::before, .guide-page .proposal-card::before { width: 3px; background: #217c85; }
.guide-page .entry-card.result::before, .guide-page .proposal-card.selected::before { background: #345bd7; }
.guide-page .question-card h3, .guide-page .entry-card h3, .guide-page .role-card h3,
.guide-page .source-card h3, .guide-page .accounting-card h3,
.guide-page .evidence-card h3, .guide-page .proposal-card h3 { color: #202b45; }
.guide-page .entry-card p, .guide-page .source-card p, .guide-page .accounting-card p,
.guide-page .role-card li, .guide-page .proposal-card li, .guide-page .boundary-list,
.guide-page .evidence-card p, .guide-page .gate-card p,
.guide-page .rail-card p, .guide-page .q2-card p, .guide-page .pattern-card p,
.guide-page .observation-card p, .guide-page .sol-panel p, .guide-page .sol-panel li {
  font-size: .94rem;
  line-height: 1.7;
}
.guide-page .table-shell { background: #fff; border-color: var(--line); border-radius: 6px; max-width: 100%; }
.guide-page table { font-size: .88rem; }
.guide-page th { background: #eaf0fb; color: #33415f; font: 650 .78rem/1.4 var(--sans); letter-spacing: 0; text-transform: none; }
.guide-page td { overflow-wrap: anywhere; }
.guide-page .lineage-figure, .guide-page .comparison-block, .guide-page .q2-detail { border-color: var(--line); border-radius: 6px; background: #fff; }
.guide-page .lineage-figure { max-width: 100%; margin: 2rem 0 0; overflow: hidden; scroll-margin-top: 5rem; }
.guide-page .lineage-caption { display: block; padding: 1.6rem clamp(1rem, 3vw, 2rem); border-bottom: 1px solid #d8e1ee; background: #eaf0fb; }
.guide-page #lineage-figure-caption { scroll-margin-top: 5rem; }
.guide-page .lineage-kicker { color: #217c85; font-size: .84rem; font-weight: 700; }
.guide-page .lineage-caption h3 { max-width: 32ch; margin: .45rem 0 .55rem; color: #202b45; font-size: clamp(1.5rem, 2.7vw, 2rem); line-height: 1.3; }
.guide-page .lineage-caption p { max-width: 74ch; margin: 0; color: #33415f; font-size: 1rem; line-height: 1.7; }
.guide-page .lineage-content { min-width: 0; padding: 1.5rem clamp(1rem, 3vw, 2rem) 2rem; }
.guide-page .lineage-spine, .guide-page .lineage-fork { max-width: 850px; margin-left: auto; margin-right: auto; }
.guide-page .lineage-spine { position: relative; margin-top: 0; margin-bottom: 0; padding: 0 0 0 3rem; list-style: none; }
.guide-page .lineage-spine::before { content: ""; position: absolute; left: 1.05rem; top: 1.2rem; bottom: -1rem; width: 2px; background: #94b7c1; }
.guide-page .lineage-stage { position: relative; min-width: 0; margin: 0 0 1rem; }
.guide-page .lineage-stage::before { content: ""; position: absolute; left: -2.38rem; top: 1.35rem; width: .68rem; height: .68rem; border: 3px solid #e8f3f3; border-radius: 50%; background: #217c85; z-index: 1; }
.guide-page .lineage-stage::after { content: ""; position: absolute; left: -1.72rem; top: 1.76rem; width: 1.72rem; height: 2px; background: #94b7c1; }
.guide-page .lineage-node { min-width: 0; padding: 1rem 1.25rem; border: 1px solid #d8e1ee; border-left: 3px solid #345bd7; border-radius: 5px; background: #fff; }
.guide-page .lineage-id { display: block; margin-bottom: .35rem; color: #217c85; font-size: .85rem; font-weight: 700; }
.guide-page .lineage-meta { display: flex; flex-wrap: wrap; gap: .35rem; margin: .15rem 0 .7rem; }
.guide-page .lineage-meta span { display: inline-block; padding: .16rem .45rem; border-radius: 3px; background: #eaf0fb; color: #33415f; font-size: .78rem; font-weight: 650; }
.guide-page .lineage-node .lineage-rule { margin-top: .7rem; padding-top: .6rem; border-top: 1px solid #d8e1ee; }
.guide-page .lineage-node .lineage-rule p { margin: .4rem 0 0; }
.guide-page .lineage-node .lineage-order { color: #52617b; font-size: .9rem; }
.guide-page .lineage-evidence-link { display: inline-block; margin-top: .7rem; font-size: .87rem; font-weight: 600; }
.guide-page .lineage-node h4 { margin: 0 0 .65rem; color: #202b45; font-size: 1.2rem; line-height: 1.35; }
.guide-page .lineage-node p { max-width: 75ch; margin: .4rem 0 0; color: #33415f; font-size: 1rem; line-height: 1.7; }
.guide-page .lineage-node p strong { color: #202b45; }
.guide-page .lineage-fork { position: relative; padding: .7rem 0 0 3rem; }
.guide-page .lineage-fork > h4 { margin: 0 0 .3rem; color: #202b45; font-size: 1.2rem; }
.guide-page .lineage-fork-intro { max-width: 70ch; margin-bottom: 1rem; color: #52617b; font-size: 1rem; }
.guide-page .lineage-branches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.guide-page .lineage-branch { min-width: 0; padding-top: .7rem; border-top: 3px solid #217c85; }
.guide-page .lineage-branch-b { border-top-color: #345bd7; }
.guide-page .lineage-route { display: block; margin-bottom: .7rem; color: #217c85; font-size: .86rem; font-weight: 700; }
.guide-page .lineage-branch-b .lineage-route { color: #345bd7; }
.guide-page .lineage-branch .lineage-node { min-height: 0; }
.guide-page .lineage-branch-a .lineage-node { border-left-color: #217c85; }
.guide-page .lineage-branch-end { margin: .7rem 0 0; color: #52617b; font-size: .87rem; }
.guide-page .lineage-successor { position: relative; margin-top: 1.4rem; }
.guide-page .lineage-successor::before { content: ""; position: absolute; left: 1.2rem; top: -1.4rem; height: 1.4rem; width: 2px; background: #345bd7; }
.guide-page .lineage-independent { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 1.5rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #d8e1ee; }
.guide-page .lineage-independent section { min-width: 0; padding: 1.1rem 1.2rem; border-radius: 5px; }
.guide-page .lineage-bare { border: 1px solid #c4dcdd; background: #edf6f6; }
.guide-page .lineage-outer { border: 1px solid #d8e1ee; background: #f6f8fb; }
.guide-page .lineage-independent h4 { margin: 0 0 .55rem; color: #202b45; font-size: 1.16rem; }
.guide-page .lineage-independent p { margin: 0; color: #33415f; font-size: 1rem; line-height: 1.7; }
.guide-page .lineage-outer-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem 1rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.guide-page .lineage-outer-steps li { display: grid; grid-template-columns: 6.8rem minmax(0, 1fr); gap: .5rem; margin: 0; padding-top: .6rem; border-top: 1px solid #d8e1ee; color: #33415f; font-size: .94rem; line-height: 1.5; }
.guide-page .lineage-outer-steps strong { color: #217c85; }
.guide-page .lineage-source { margin: 0 clamp(1rem, 3vw, 2rem) 1.5rem; border-top: 1px solid #d8e1ee; }
.guide-page .lineage-source summary { cursor: pointer; padding: .8rem 0; color: #345bd7; font-size: .88rem; font-weight: 650; }
.guide-page .lineage-source pre { max-height: 24rem; margin: .2rem 0 0; overflow: auto; font-size: .77rem; }
.guide-page .lineage-provenance { margin: 0 clamp(1rem, 3vw, 2rem) 1.5rem; padding-top: .1rem; border-top: 1px solid #d8e1ee; }
.guide-page .lineage-provenance summary { cursor: pointer; padding: .7rem 0; color: #345bd7; font-size: .88rem; font-weight: 650; }
.guide-page .lineage-provenance p, .guide-page .lineage-provenance li { max-width: 78ch; color: #52617b; font-size: .85rem; line-height: 1.7; }
.guide-page .lineage-provenance ul { margin: .55rem 0 1rem; padding-left: 1.2rem; }
@media (max-width: 720px) {
  .guide-page .lineage-spine { padding-left: 2rem; }
  .guide-page .lineage-spine::before { left: .45rem; }
  .guide-page .lineage-stage::before { left: -1.92rem; }
  .guide-page .lineage-stage::after { left: -1.25rem; width: 1.25rem; }
  .guide-page .lineage-node { padding: .85rem .9rem; }
  .guide-page .lineage-fork { padding-left: 2rem; }
  .guide-page .lineage-branches, .guide-page .lineage-independent, .guide-page .lineage-outer-steps { grid-template-columns: 1fr; }
  .guide-page .lineage-branch + .lineage-branch { margin-top: 1.2rem; }
  .guide-page .lineage-outer-steps li { grid-template-columns: 6.8rem minmax(0, 1fr); }
}
@media print {
  .guide-page .lineage-node, .guide-page .lineage-independent section { break-inside: avoid; }
  .guide-page .lineage-branches, .guide-page .lineage-independent { grid-template-columns: 1fr; }
}
.guide-page .note, .guide-page .callout, .guide-page .q2-callout { background: #eaf0fb; border-left-color: #345bd7; }
.guide-page .rail-card, .guide-page .rail-card.case { background: #f0f4fa; border-left-color: #217c85; }
.guide-page .metric-card, .guide-page .metric-card:nth-child(n) { background: #202b45; }
.guide-page .metric-value { color: #fff; }
.guide-page .comparison-card:nth-child(n), .guide-page .accounting-card:nth-child(n) { border-top-color: #217c85; }
.guide-page .selection-route { border-color: #adbbd0; background: #eaf0fb; }
.guide-page .route-node.active { background: #345bd7; border-color: #345bd7; }
.guide-page #sdd-baseline, .guide-page #workflow-evolution { scroll-margin-top: 5rem; }
.guide-page .sdd-role-note, .guide-page .sdd-path { max-width: 76ch; color: #33415f; font-size: 1rem; line-height: 1.8; }
.guide-page .sdd-role-note { margin: 0 0 1.5rem; padding: .8rem 1rem; border-left: 3px solid #217c85; background: #eaf0fb; }
.guide-page .sdd-stages { margin: 0; padding: 0; list-style: none; border-top: 1px solid #d8e1ee; }
.guide-page .sdd-stage { display: grid; grid-template-columns: minmax(8rem, .75fr) minmax(0, 1.45fr) minmax(0, 1.35fr); gap: 1.3rem; align-items: start; margin: 0; padding: 1.15rem .2rem; border-bottom: 1px solid #d8e1ee; }
.guide-page .sdd-stage-ident span { color: #217c85; font-size: .81rem; font-weight: 700; }
.guide-page .sdd-stage-ident h3 { margin: .28rem 0 0; color: #202b45; font-size: 1.14rem; line-height: 1.35; }
.guide-page .sdd-duty { max-width: 48ch; margin: 0; color: #33415f; font-size: 1rem; line-height: 1.7; }
.guide-page .sdd-handoff { display: grid; gap: .5rem; }
.guide-page .sdd-handoff p { margin: 0; color: #33415f; font-size: .94rem; line-height: 1.65; }
.guide-page .sdd-handoff strong { display: block; margin-bottom: .18rem; color: #202b45; font-size: .84rem; }
.guide-page .sdd-path { margin: 1.3rem 0 0; }
.guide-page .sdd-boundary { max-width: 76ch; margin-top: 1rem; padding: .8rem 1rem; border-left: 3px solid #345bd7; background: #fff; }
.guide-page .sdd-boundary p { margin: 0; color: #33415f; font-size: .94rem; line-height: 1.7; }
.guide-page .sdd-source { max-width: 80ch; margin-top: 1rem; border-top: 1px solid #d8e1ee; }
.guide-page .sdd-source summary { cursor: pointer; padding: .8rem .1rem; color: #345bd7; font-size: .88rem; font-weight: 650; }
.guide-page .sdd-source p { color: #52617b; font-size: .86rem; line-height: 1.7; }
@media (max-width: 720px) {
  .guide-page .sdd-stage { grid-template-columns: 1fr; gap: .55rem; }
  .guide-page .sdd-handoff { gap: .4rem; }
}
.guide-page .historical-comparison { margin-top: .85rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.guide-page .historical-comparison summary { cursor: pointer; color: var(--blue); font-size: .86rem; font-weight: 650; }
.guide-page .historical-comparison p { max-width: 76ch; margin: .7rem 0 0; color: var(--muted); font-size: .88rem; line-height: 1.7; }
.guide-page .overview-models, .guide-page .overview-results { margin-top: 2.2rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.guide-page #overview-summary, .guide-page #overview-method, .guide-page #overview-models, .guide-page #overview-results { scroll-margin-top: 5rem; }
.guide-page .overview-models > p, .guide-page .overview-results > p { max-width: 76ch; color: var(--pine-2); font-size: .98rem; line-height: 1.8; }
.guide-page .overview-table-wrap { max-width: 100%; margin: 1rem 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.guide-page .overview-table { min-width: 750px; width: 100%; font-size: .86rem; }
.guide-page .overview-table caption { position: absolute; }
.guide-page .overview-table th, .guide-page .overview-table td { padding: .7rem .85rem; }
.guide-page .overview-table th[scope="row"] { background: #fff; color: var(--pine); font-weight: 700; white-space: nowrap; }
.guide-page .model-source { max-width: 78ch; padding: .75rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.guide-page .model-source summary { cursor: pointer; color: var(--blue); font-size: .9rem; font-weight: 650; }
.guide-page .model-source p { margin: .75rem 0 0; color: var(--muted); font-size: .86rem; line-height: 1.7; }
.guide-page .result-compare { max-width: 900px; margin-top: 1.25rem; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.guide-page .result-compare-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding: .75rem 1rem; border-bottom: 1px solid var(--line); color: var(--brass); font-size: .82rem; font-weight: 700; }
.guide-page .result-compare-head span:last-child { color: var(--muted); font-weight: 500; }
.guide-page .compare-row { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: .1rem 1rem; padding: .85rem 1rem; border-bottom: 1px solid var(--line); }
.guide-page .compare-row:last-child { border-bottom: 0; }
.guide-page .compare-row > span { grid-row: 1 / span 3; color: var(--muted); font-size: .85rem; }
.guide-page .compare-row strong { color: var(--pine); font-size: .98rem; line-height: 1.4; }
.guide-page .compare-row small { color: var(--muted); font-size: .78rem; line-height: 1.5; }
.guide-page .compare-track { display: grid; gap: .25rem; width: min(100%, 23rem); margin: .4rem 0; }
.guide-page .compare-track i { display: block; height: .45rem; border-radius: 1rem; }
.guide-page .compare-track .compare-h0 { width: 100%; background: #adbbd0; }
.guide-page .compare-track .compare-h0601 { width: 29.04%; background: #217c85; }
.guide-page .overview-caveat { max-width: 76ch; }
.guide-page .q2-detail { padding: 1.2rem; }
.guide-page .q2-detail-head { margin-bottom: .75rem; }
.guide-page .q2-protocol { border-top: 1px solid var(--line); }
.guide-page .q2-protocol > summary { cursor: pointer; padding: .8rem .2rem; color: var(--blue); font-size: .93rem; font-weight: 650; }
.guide-page .q2-protocol[open] > summary { border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.guide-page .q2-protocol .q2-input-grid,
.guide-page .q2-protocol .pattern-grid,
.guide-page .q2-protocol .cell-observation-grid { grid-template-columns: 1fr; }
.guide-page .q2-protocol .q2-card, .guide-page .q2-protocol .pattern-card, .guide-page .q2-protocol .observation-card { min-height: 0; }
.guide-page .q2-protocol .q2-card:nth-child(n), .guide-page .q2-protocol .pattern-card:nth-child(n) { grid-column: auto; background: #fff; border-top-color: var(--line); }
.guide-page .q2-protocol .observation-card:nth-child(n) { grid-column: auto; }

/* Evidence pages share the guide's document layout and visible source navigation. */
.evidence-page { overflow-x: visible; }
.evidence-page .top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.97); border-bottom: 1px solid #d8e1ee; color: #202b45; }
.evidence-page .topin { min-height: 4rem; max-width: 1440px; font: 650 .91rem/1.3 var(--sans); letter-spacing: 0; text-transform: none; }
.evidence-page .brand::before { display: none; }
.evidence-page .top-previous { font-size: .85rem; font-weight: 600; }
.evidence-page .shell { display: grid; grid-template-columns: 13.4rem minmax(0, 1fr); column-gap: clamp(2.5rem, 5vw, 5.5rem); max-width: 1440px; }
.evidence-page .hero, .evidence-page .md-content, .evidence-page .raw-source, .evidence-page .footer { grid-column: 2; min-width: 0; }
.evidence-page .hero { grid-row: 1; grid-template-columns: minmax(0, 1fr) minmax(240px, .65fr); align-items: start; gap: clamp(1.5rem, 3vw, 3.5rem); padding: 3.25rem 0 2.8rem; }
.evidence-page .hero::after { display: none; }
.evidence-page .eyebrow, .evidence-page .label { color: #217c85; font: 650 .82rem/1.4 var(--sans); letter-spacing: 0; text-transform: none; }
.evidence-page h1 { margin: .65rem 0 .9rem; color: #202b45; font: 650 clamp(2.3rem, 4vw, 3.45rem)/1.2 var(--sans); letter-spacing: -.035em; }
.evidence-page h1 em { color: inherit; font: inherit; }
.evidence-page .dek { max-width: 60ch; color: #33415f; font-size: 1rem; line-height: 1.8; }
.evidence-page .badges { gap: .4rem .9rem; }
.evidence-page .badge { padding: 0; border: 0; background: transparent; color: #52617b; font: 500 .78rem/1.5 var(--sans); }
.evidence-page .badge::before { content: ""; display: inline-block; width: .34rem; height: .34rem; margin-right: .45rem; border-radius: 50%; background: #217c85; vertical-align: middle; }
.evidence-page .comparison-context { max-width: 66ch; margin: 1.3rem 0 0; padding: .7rem .9rem; border-left: 3px solid #217c85; background: #eaf0fb; color: #33415f; font-size: .85rem; line-height: 1.7; }
.evidence-page .hero-card { padding: 1.2rem; border: 1px solid #d8e1ee; border-left: 3px solid #217c85; border-radius: 7px; background: #fff; }
.evidence-page .hero-card strong { overflow-wrap: anywhere; font-size: .88rem; }
.evidence-page .hero-card p { font-size: .82rem; line-height: 1.65; }
.evidence-page .actions { margin-bottom: 0; }
.evidence-page .button { border-color: #d8e1ee; border-radius: 4px; background: #eaf0fb; color: #345bd7; font: 600 .78rem/1.4 var(--sans); }
.evidence-page .toc { grid-column: 1; grid-row: 1 / span 4; position: sticky; top: 5.5rem; z-index: 5; align-self: start; display: flex; flex-direction: column; max-height: calc(100vh - 7rem); margin: 2.7rem 0 0; padding: 0 1rem 0 0; border: 0; border-right: 1px solid #d8e1ee; background: transparent; backdrop-filter: none; overflow-x: hidden; overflow-y: auto; }
.evidence-page .toc::before { content: "阅读目录"; margin: 0 0 .8rem .65rem; color: #52617b; font-size: .78rem; font-weight: 700; }
.evidence-page .toc a { flex: 0 0 auto; padding: .46rem .65rem; border-radius: 5px; color: #33415f; font: 500 .85rem/1.4 var(--sans); white-space: normal; }
.evidence-page .toc a:hover, .evidence-page .toc a:focus-visible { color: #345bd7; background: #eaf0fb; }
.evidence-page .md-content { grid-row: 2; width: 100%; max-width: 1000px; margin: 2.2rem 0 0; }
.evidence-page .md-content h2 { margin: 3rem 0 1rem; padding-top: 1.25rem; border-top-color: #d8e1ee; color: #202b45; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.3; letter-spacing: -.025em; scroll-margin-top: 5rem; }
.evidence-page .md-content h2:first-of-type { margin-top: 0; }
.evidence-page .md-content h3 { color: #202b45; font-size: 1.22rem; }
.evidence-page .md-content h4 { color: #217c85; font: 650 .95rem/1.5 var(--sans); letter-spacing: 0; text-transform: none; }
.evidence-page .md-content p, .evidence-page .md-content ul, .evidence-page .md-content ol { max-width: 76ch; color: #33415f; font-size: .98rem; line-height: 1.8; }
.evidence-page .md-content blockquote { max-width: 76ch; border-left-color: #345bd7; background: #eaf0fb; }
.evidence-page .table-wrap { max-width: 100%; border-color: #d8e1ee; border-radius: 6px; background: #fff; }
.evidence-page .md-content table { font-size: .88rem; }
.evidence-page .md-content th { background: #eaf0fb; color: #33415f; font: 650 .78rem/1.4 var(--sans); letter-spacing: 0; }
.evidence-page .md-content td { overflow-wrap: anywhere; }
.evidence-page .code-block pre { background: #202b45; border-radius: 5px; }
.evidence-page .raw-source { grid-row: 3; max-width: 1000px; margin: 3rem 0 0; border-color: #d8e1ee; border-radius: 6px; background: #fff; }
.evidence-page .raw-source pre { background: #202b45; }
.evidence-page .footer { grid-row: 4; max-width: 1000px; font: .78rem/1.5 var(--sans); }
.evidence-page .anchor-alias { scroll-margin-top: 5rem; }

@media (max-width: 1030px) {
  .evidence-page .shell { display: block; }
  .evidence-page .toc { position: static; flex-direction: row; flex-wrap: wrap; max-height: none; margin: 0 -2rem; padding: .8rem 2rem; border-right: 0; border-bottom: 1px solid #d8e1ee; overflow: visible; }
  .evidence-page .toc::before { flex-basis: 100%; margin-bottom: .15rem; }
}
@media (max-width: 720px) {
  .guide-page .question-card { display: block; }
  .guide-page .question-card .card-tag { display: block; margin-bottom: .45rem; }
  .guide-page .compare-row { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
  .guide-page .compare-row > span { grid-row: auto; }
  .guide-page .compare-row strong { overflow-wrap: normal; word-break: normal; }
  .guide-page .result-compare > .compare-row:nth-child(2) strong { white-space: nowrap; }
  .evidence-page .topin { min-height: 3.5rem; gap: .4rem; }
  .evidence-page .brand { font-size: .82rem; }
  .evidence-page .top-previous { flex: 0 0 auto; font-size: .75rem; }
  .evidence-page .hero { display: block; padding: 2.5rem 0 1.8rem; }
  .evidence-page h1 { font-size: clamp(2.15rem, 8vw, 3rem); word-break: normal; overflow-wrap: normal; }
  .evidence-page .hero-card { margin-top: 1.5rem; }
  .evidence-page .toc { margin: 0 -1rem; padding: .7rem 1rem; }
  .evidence-page .toc a { font-size: .78rem; }
  .evidence-page .md-content { margin-top: 2rem; }
  .evidence-page .md-content h2 { font-size: 1.8rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  body { background: #fff; color: #111; }
  .guide-page .section-nav, .evidence-page .top, .evidence-page .toc { display: none !important; }
  .evidence-page .shell { display: block; }
  .evidence-page .hero { display: block; }
  .evidence-page .hero-card { margin-top: 1rem; }
  .evidence-page .md-content, .evidence-page .raw-source, .evidence-page .footer { max-width: none; }
  .evidence-page .table-wrap { overflow: visible; }
  .evidence-page .md-content table { min-width: 0; }
}

/* Academic report preview: site identity, first page, and experiment overview. */
:root {
  --paper: #f4f5f6;
  --paper2: #fff;
  --paper3: #f6f7f8;
  --pine: #18212a;
  --pine2: #3c4852;
  --ink: #18212a;
  --muted: #5b6670;
  --line: #d9dde1;
  --line2: #aab2b9;
  --rust: #245f8f;
  --rust2: #17486e;
  --blue: #245f8f;
  --bluep: #eef3f7;
  --brass: #245f8f;
  --brassp: #f6f7f8;
  --serif: Georgia, "Times New Roman", "Songti SC", serif;
}
body.guide-page { background: #f4f5f6; color: #18212a; font: 16px/1.72 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; overflow-x: visible; }
.guide-page a { color: #245f8f; }
.guide-page a:hover { color: #17486e; }
.guide-page a:focus-visible, .guide-page summary:focus-visible { outline-color: #7bb4df; }
.guide-page .topbar { position: static; max-width: 1600px; margin: auto; border-color: #d9dde1; background: #fff; color: #18212a; }
.guide-page .topbar-inner { max-width: none; min-height: 3.1rem; padding: 0 clamp(24px, 4vw, 50px); }
.guide-page .topbar-mark { font: 700 .95rem/1.35 var(--serif); }
.guide-page .previous-link { color: #245f8f; font-size: .78rem; font-weight: 500; }
.guide-page .page-shell { max-width: 1600px; min-height: 100vh; background: #fff; }
.guide-page .content { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 0; padding: 0; }
.guide-page .reading-column { width: 100%; max-width: none; min-width: 0; padding: 0 clamp(24px, 4vw, 50px) 84px; }
.guide-page .section-nav { position: sticky; top: 0; grid-column: 1; grid-row: 1; align-self: start; display: block; width: 250px; height: 100vh; max-height: none; margin: 0; padding: 28px 18px; border: 0; border-right: 1px solid #d9dde1; background: #fafafa; overflow-x: hidden; overflow-y: auto; backdrop-filter: none; }
.guide-page .toc-details { width: 100%; }
.guide-page .nav-title { display: block; margin: 0 8px 22px; padding: 0; color: #18212a; font: 700 1rem/1.35 var(--serif); cursor: pointer; }
.guide-page .toc-group { margin: 0 0 22px; }
.guide-page .toc-group-title { display: block; margin: 0 8px 5px; color: #73808a; font-size: .72rem; font-weight: 700; }
.guide-page .section-nav a { display: block; width: 100%; padding: 5px 8px; border-left: 2px solid transparent; border-radius: 0; color: #4c5862; font: 500 .81rem/1.4 var(--sans); text-decoration: none; }
.guide-page .section-nav a:hover, .guide-page .section-nav a:focus-visible { border-left-color: #245f8f; background: #eef3f7; color: #17486e; }
.guide-page .hero { display: block; max-width: 46rem; min-height: 0; margin: 0 auto; padding: 62px 0 26px; border-bottom: 1px solid #18212a; }
.guide-page .hero h1 { max-width: none; margin: 0 0 18px; color: #18212a; font: 700 clamp(2.25rem, 4vw, 3rem)/1.17 var(--serif); letter-spacing: -.015em; overflow-wrap: normal; word-break: normal; }
.guide-page .eyebrow { margin: 0 0 14px; color: #5b6670; font: 500 .84rem/1.5 var(--sans); letter-spacing: 0; }
.guide-page .hero-lead { max-width: 46rem; margin: 0; color: #3c4852; font-size: 1rem; line-height: 1.72; }
.guide-page .badges { gap: .35rem .6rem; margin: 1.1rem 0 0; }
.guide-page .badge { padding: 0 .6rem 0 0; border: 0; border-right: 1px solid #d9dde1; background: transparent; color: #5b6670; font: 500 .78rem/1.4 var(--sans); }
.guide-page .badge:last-child { border-right: 0; }
.guide-page .badge::before { display: none; }
.guide-page .console { max-width: 46rem; min-height: 0; margin: 1.5rem 0 0; padding: 1rem 0 0; border: 0; border-top: 1px solid #d9dde1; border-radius: 0; background: transparent; color: #18212a; }
.guide-page .console-head { color: #18212a; font: 700 1rem/1.35 var(--serif); }
.guide-page .console-head span:last-child { color: #5b6670; font: 500 .78rem/1.4 var(--sans); }
.guide-page .readout { padding: .5rem 0; }
.guide-page .readout-row { grid-template-columns: 3.5rem minmax(0, 1fr); gap: .5rem; padding: .35rem 0; border-color: #eceeef; }
.guide-page .readout-label { color: #5b6670; font: 650 .82rem/1.55 var(--sans); }
.guide-page .readout-value { color: #3c4852; font-size: .88rem; line-height: 1.6; }
.guide-page .seal { margin-top: .2rem; padding-top: .65rem; border-color: #d9dde1; color: #5b6670; font-size: .8rem; }
.guide-page .overview { padding-top: 25px; padding-bottom: 2rem; border: 0; }
.guide-page .overview-intro, .guide-page .overview-method { max-width: 46rem; margin-left: auto; margin-right: auto; }
.guide-page .overview-models, .guide-page .overview-results { max-width: 78rem; margin-left: auto; margin-right: auto; border-color: #d9dde1; }
.guide-page .overview-models > h3, .guide-page .overview-results > h3,
.guide-page .overview-models > p, .guide-page .overview-results > p,
.guide-page .overview-models > details, .guide-page .overview-results > .overview-caveat { max-width: 46rem; margin-left: auto; margin-right: auto; }
.guide-page .overview h2 { margin: 0; color: #18212a; font: 700 1.9rem/1.3 var(--serif); letter-spacing: -.01em; }
.guide-page #overview-title::before { content: "1. "; color: #5b6670; }
.guide-page .overview h3 { margin-bottom: .7rem; color: #18212a; font: 700 1.3rem/1.4 var(--serif); }
.guide-page .overview-intro p, .guide-page .overview-models > p, .guide-page .overview-results > p { color: #3c4852; font-size: 1rem; line-height: 1.72; }
.guide-page .overview-method { margin-top: 2rem; }
.guide-page .academic-figure-caption { margin: 1.1rem 0 .5rem; color: #5b6670; font-size: .82rem; font-weight: 650; }
.guide-page .experiment-loop { display: block; max-width: 46rem; margin: 0 auto; padding: 0; border: 0; border-top: 1px solid #aeb6bd; border-radius: 0; background: #fff; }
.guide-page .loop-step, .guide-page .loop-step:first-child { display: grid; grid-template-columns: minmax(8rem, .42fr) minmax(0, 1fr); gap: 1rem; padding: .7rem 0; border: 0; border-bottom: 1px solid #d9dde1; }
.guide-page .loop-step span { color: #18212a; font-size: 1rem; font-weight: 700; }
.guide-page .loop-step p { margin: 0; color: #3c4852; font-size: .94rem; line-height: 1.65; }
.guide-page .overview-caveat { color: #5b6670; font-size: .85rem; }
.guide-page .overview-table-wrap { max-width: 100%; border: 0; border-top: 1px solid #89939b; border-bottom: 1px solid #89939b; border-radius: 0; background: #fff; }
.guide-page .overview-table caption { position: static; width: auto; height: auto; margin: 0; padding: .6rem .1rem; overflow: visible; clip: auto; white-space: normal; color: #3c4852; text-align: left; font-size: .82rem; }
.guide-page .overview-table th { background: #f1f3f5; color: #3c4852; }
.guide-page .result-compare { max-width: 46rem; margin-left: auto; margin-right: auto; border: 0; border-top: 1px solid #89939b; border-bottom: 1px solid #89939b; border-radius: 0; }
.guide-page .result-compare-head { color: #18212a; }
.guide-page .compare-track .compare-h0601 { background: #245f8f; }
@media (max-width: 980px) {
  .guide-page .content { display: block; }
  .guide-page .section-nav { position: static; width: auto; height: auto; max-height: none; margin: 0; padding: 16px 24px; border-right: 0; border-bottom: 1px solid #d9dde1; overflow: visible; }
  .guide-page .nav-title { margin: 0; }
  .guide-page .toc-body { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: .8rem; }
  .guide-page .toc-group { margin-bottom: 0; }
  .guide-page .reading-column { padding: 0 24px 68px; }
}
@media (max-width: 620px) {
  .guide-page .topbar-inner { padding: 0 17px; }
  .guide-page .section-nav { padding: 13px 17px; }
  .guide-page .toc-body { grid-template-columns: 1fr; }
  .guide-page .reading-column { padding: 0 17px 60px; }
  .guide-page .hero { padding-top: 42px; }
  .guide-page .hero h1 { font-size: 2.1rem; }
  .guide-page .loop-step, .guide-page .loop-step:first-child { grid-template-columns: 1fr; gap: .2rem; }
}
@media print {
  .guide-page .section-nav, .guide-page .topbar { display: none !important; }
  .guide-page .page-shell { min-height: 0; }
  .guide-page .content { display: block; }
  .guide-page .reading-column { padding: 0; }
  .guide-page .hero { padding-top: 0; }
}

/* Paper hierarchy for the full research guide. */
.guide-page .reading-column { counter-reset: chapter; }
.guide-page .reading-column > section.section { counter-increment: chapter; }
.guide-page #overview-title::before,
.guide-page .reading-column > section.section > .section-head h2::before { content: counter(chapter) ". "; color: #5b6670; }
.guide-page .section { padding-top: 3.8rem; }
.guide-page .overview { padding-top: 1.6rem; }
.guide-page .section-head { max-width: 46rem; margin: 0 auto 1.2rem; padding-top: 1rem; border-top: 1px solid #d9dde1; }
.guide-page .section-title { max-width: none; color: #18212a; font: 700 1.83rem/1.3 var(--serif); letter-spacing: -.01em; }
.guide-page .section-index { margin: 0 0 .55rem; color: #73808a; font-size: .74rem; font-weight: 650; }
.guide-page .section-intro { max-width: 46rem; margin-top: .8rem; color: #5b6670; font-size: 1rem; line-height: 1.72; }
.guide-page .analysis-prose { max-width: 46rem; margin: 1.4rem auto 2rem; }
.guide-page .analysis-prose p { margin: 0 0 1rem; color: #3c4852; font-size: 1rem; line-height: 1.75; }
.guide-page .question-grid { max-width: 46rem; margin: 1.5rem auto 0; border-color: #d9dde1; }
.guide-page .question-card { grid-template-columns: 7rem minmax(0, 1fr); padding: 1.2rem 0; border-color: #d9dde1; }
.guide-page .question-card .card-tag { color: #245f8f; font: 650 .78rem/1.5 var(--sans); }
.guide-page .question-card h3 { color: #18212a; font: 700 1.18rem/1.45 var(--serif); }
.guide-page .question-card p { color: #3c4852; font-size: 1rem; }
.guide-page .question-card .answer { color: #5b6670; font-size: .92rem; }
.guide-page .sdd-role-note, .guide-page .sdd-path, .guide-page .sdd-boundary, .guide-page .sdd-source { max-width: 46rem; margin-left: auto; margin-right: auto; }
.guide-page .sdd-role-note, .guide-page .sdd-boundary { border-left-color: #245f8f; background: #f6f7f8; }
.guide-page .sdd-stages { max-width: 78rem; margin: 1.4rem auto 0; border-color: #d9dde1; }
.guide-page .sdd-stage { border-color: #d9dde1; }
.guide-page .sdd-stage-ident span { color: #5b6670; }
.guide-page .sdd-stage-ident h3 { color: #18212a; font: 700 1.16rem/1.4 var(--serif); }
.guide-page .sdd-duty, .guide-page .sdd-handoff p { color: #3c4852; }
.guide-page .sdd-handoff strong { color: #18212a; }
.guide-page .lineage-figure { max-width: 78rem; margin: 1.3rem auto 0; border: 1px solid #d9dde1; border-radius: 0; }
.guide-page .lineage-caption { border-color: #d9dde1; background: #f6f7f8; }
.guide-page .lineage-kicker { color: #5b6670; }
.guide-page .lineage-caption h3, .guide-page .lineage-node h4, .guide-page .lineage-independent h4 { color: #18212a; font-family: var(--serif); }
.guide-page .lineage-node { border-color: #d9dde1; border-left-color: #245f8f; border-radius: 0; }
.guide-page .lineage-id, .guide-page .lineage-route { color: #245f8f; }
.guide-page .lineage-meta span { background: #f0f2f4; color: #4c5862; }
.guide-page .lineage-spine::before, .guide-page .lineage-stage::after { background: #a6afb6; }
.guide-page .lineage-stage::before { border-color: #f4f5f6; background: #245f8f; }
.guide-page .lineage-bare, .guide-page .lineage-outer { border-color: #d9dde1; border-radius: 0; background: #f6f7f8; }
.guide-page .lineage-branch, .guide-page .lineage-branch-b { border-top-color: #89939b; }
.guide-page .lineage-successor::before { background: #89939b; }
.guide-page .lineage-outer-steps strong { color: #245f8f; }
.guide-page .entry-grid { max-width: 46rem; margin: 1.2rem auto; grid-template-columns: 1fr 1fr; gap: 1rem; }
.guide-page .entry-card { min-height: 0; padding: 0 1rem 1rem 0; border: 0; border-bottom: 1px solid #d9dde1; border-radius: 0; background: #fff; }
.guide-page .entry-card::before { display: none; }
.guide-page .entry-card h3, .guide-page .source-card h3, .guide-page .accounting-card h3 { color: #18212a; font-family: var(--serif); }
.guide-page .note, .guide-page .callout, .guide-page .q2-callout { max-width: 46rem; margin-left: auto; margin-right: auto; border-left-color: #245f8f; background: #f6f7f8; color: #3c4852; }
.guide-page .table-shell { max-width: 78rem; margin: 1.5rem auto; border: 0; border-top: 1px solid #89939b; border-bottom: 1px solid #89939b; border-radius: 0; }
.guide-page .table-shell caption { position: static; width: auto; height: auto; margin: 0; padding: .65rem .1rem; overflow: visible; clip: auto; white-space: normal; color: #3c4852; text-align: left; font-size: .84rem; }
.guide-page th { background: #f1f3f5; color: #3c4852; }
.guide-page .comparison-block { max-width: 78rem; margin: 2rem auto; padding: 0; border: 0; border-top: 1px solid #89939b; border-bottom: 1px solid #89939b; border-radius: 0; background: #fff; }
.guide-page .comparison-head { max-width: 46rem; margin: 0 auto; padding: 1rem 0; }
.guide-page .comparison-head h3 { color: #18212a; font: 700 1.27rem/1.4 var(--serif); }
.guide-page .comparison-head p { color: #5b6670; font-size: .93rem; }
.guide-page .comparison-grid { gap: 1.5rem; border-top: 1px solid #d9dde1; }
.guide-page .comparison-card { border: 0; border-top: 0 !important; border-radius: 0; background: #fff; }
.guide-page .comparison-card h4 { color: #18212a; font-family: var(--serif); }
.guide-page .delta-cell { border-color: #d9dde1; background: #f6f7f8; }
.guide-page .delta-value.up, .guide-page .delta-value.down { color: #245f8f; }
.guide-page .comparison-footnote, .guide-page .historical-comparison { max-width: 46rem; margin-left: auto; margin-right: auto; color: #5b6670; }
.guide-page .dual-rail, .guide-page .q2-detail, .guide-page .role-grid, .guide-page .gate-grid,
.guide-page .evidence-banner, .guide-page .evidence-grid, .guide-page .divergence-grid,
.guide-page .proposal-grid, .guide-page .selection-route, .guide-page .accounting-grid,
.guide-page .source-grid, .guide-page #sources > .section { max-width: 78rem; margin-left: auto; margin-right: auto; }
.guide-page .q2-detail, .guide-page .divergence-panel, .guide-page .proposal-card,
.guide-page .source-card, .guide-page .accounting-card, .guide-page .boundary-box,
.guide-page .q2-card, .guide-page .pattern-card, .guide-page .observation-card,
.guide-page .role-card, .guide-page .gate-card { border-color: #d9dde1; border-radius: 0; background: #fff; }
.guide-page .rail-card, .guide-page .rail-card.case, .guide-page .sol-panel { border-left-color: #89939b; background: #f6f7f8; }
.guide-page .metric-card, .guide-page .metric-card:nth-child(n) { background: #f6f7f8; color: #18212a; }
.guide-page .metric-label, .guide-page .metric-note { color: #5b6670; }
.guide-page .metric-value { color: #18212a; }
.guide-page .evidence-title { border-color: #d9dde1; background: #f6f7f8; }
.guide-page .evidence-title h3 { color: #18212a; font-family: var(--serif); }
.guide-page .evidence-id { background: #245f8f; }
.guide-page .proposal-card.selected { border-color: #d9dde1; box-shadow: none; }
.guide-page .proposal-card::before { display: none; }
.guide-page .proposal-card h4 { color: #18212a; font: 700 1rem/1.4 var(--serif); letter-spacing: 0; text-transform: none; }
.guide-page .stamp { transform: none; border-color: #d9dde1; color: #245f8f; font: 650 .78rem/1.4 var(--sans); letter-spacing: 0; text-transform: none; }
.guide-page .step-number { width: auto; height: auto; padding: 0; border: 0; border-radius: 0; color: #5b6670; font: 650 .82rem/1.4 var(--sans); }
.guide-page .rail-step { grid-template-columns: 2rem minmax(0, 1fr); border-color: #d9dde1; }
.guide-page .rail-card h3 { color: #18212a; font-family: var(--serif); }
.guide-page .q2-detail-head h3 { color: #18212a; font-family: var(--serif); }
.guide-page .selection-route { border-color: #d9dde1; background: #f6f7f8; }
.guide-page .route-node.active { border-color: #245f8f; background: #245f8f; }
.guide-page .source-grid { gap: 0 2rem; }
.guide-page .source-card { min-height: 0; padding: 1.1rem 0; border: 0; border-bottom: 1px solid #d9dde1; }
.guide-page .source-path { color: #5b6670; }
.guide-page .reader-appendix, .guide-page .protocol-appendix { display: block; max-width: 46rem; margin: 1.5rem auto; border-top: 1px solid #d9dde1; }
.guide-page .reader-appendix summary, .guide-page .protocol-appendix summary { cursor: pointer; padding: .8rem 0; color: #245f8f; font-size: .9rem; font-weight: 650; }
.guide-page .reader-appendix .closing-grid { margin-top: .5rem; }
.guide-page .footer { max-width: 46rem; margin: 4rem auto 0; border-color: #d9dde1; font-size: .78rem; }
@media (max-width: 720px) {
  .guide-page .entry-grid, .guide-page .comparison-grid { grid-template-columns: 1fr; }
  .guide-page .entry-card { padding-right: 0; }
}
@media print {
  body.guide-page { background: #fff; }
  .guide-page .section-head, .guide-page .analysis-prose { max-width: none; }
  .guide-page .reading-column > section.section { break-before: auto; }
  .guide-page .comparison-block, .guide-page .lineage-node, .guide-page .sdd-stage { break-inside: avoid; }
}

/* The two source-preserving evidence pages use the same paper and type system. */
body.evidence-page { background: #f4f5f6; color: #18212a; font: 16px/1.72 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
.evidence-page .top { position: static; max-width: 1600px; margin: auto; border-color: #d9dde1; background: #fff; }
.evidence-page .topin { max-width: none; min-height: 3.1rem; padding: 0 clamp(24px, 4vw, 50px); }
.evidence-page .brand { color: #18212a; font: 700 .95rem/1.35 var(--serif); }
.evidence-page .top-previous { color: #245f8f; font-size: .78rem; font-weight: 500; }
.evidence-page .shell { max-width: 1600px; min-height: 100vh; padding: 0; grid-template-columns: 250px minmax(0, 1fr); gap: 0; background: #fff; }
.evidence-page .hero, .evidence-page .md-content, .evidence-page .raw-source, .evidence-page .footer { width: calc(100% - 100px); margin-left: auto; margin-right: auto; }
.evidence-page .hero { display: block; max-width: 46rem; padding: 62px 0 26px; border-bottom: 1px solid #18212a; }
.evidence-page .eyebrow, .evidence-page .label { color: #5b6670; font-size: .82rem; font-weight: 500; }
.evidence-page h1 { color: #18212a; font: 700 clamp(2.25rem, 4vw, 3rem)/1.17 var(--serif); }
.evidence-page .dek { max-width: 46rem; color: #3c4852; font-size: 1rem; line-height: 1.72; }
.evidence-page .badge { color: #5b6670; font-size: .78rem; }
.evidence-page .badge::before { display: none; }
.evidence-page .hero-card { margin-top: 1.4rem; padding: 1rem 0 0; border: 0; border-top: 1px solid #d9dde1; border-radius: 0; background: #fff; }
.evidence-page .hero-card strong { font-weight: 650; }
.evidence-page .hero-card p { color: #5b6670; font-size: .85rem; }
.evidence-page .button { border-color: #d9dde1; border-radius: 0; background: #fff; color: #245f8f; font-size: .78rem; }
.evidence-page .comparison-context { max-width: 46rem; border-left-color: #245f8f; background: #f6f7f8; color: #5b6670; }
.evidence-page .toc { top: 0; width: 250px; height: 100vh; max-height: none; margin: 0; padding: 28px 18px; border-right: 1px solid #d9dde1; background: #fafafa; }
.evidence-page .toc::before { content: "目录"; margin: 0 8px 20px; color: #18212a; font: 700 1rem/1.35 var(--serif); }
.evidence-page .toc a { padding: 5px 8px; border-left: 2px solid transparent; border-radius: 0; color: #4c5862; font-size: .81rem; }
.evidence-page .toc a:hover, .evidence-page .toc a:focus-visible { border-left-color: #245f8f; background: #eef3f7; color: #17486e; }
.evidence-page .md-content { max-width: 78rem; margin-top: 3rem; }
.evidence-page .md-content h2, .evidence-page .md-content h3, .evidence-page .md-content h4,
.evidence-page .md-content p, .evidence-page .md-content ul, .evidence-page .md-content ol,
.evidence-page .md-content blockquote, .evidence-page .md-content .code-block { max-width: 46rem; margin-left: auto; margin-right: auto; }
.evidence-page .md-content h2 { padding-top: 1rem; border-color: #d9dde1; color: #18212a; font: 700 1.83rem/1.3 var(--serif); }
.evidence-page .md-content h3 { color: #18212a; font: 700 1.3rem/1.4 var(--serif); }
.evidence-page .md-content h4 { color: #18212a; font-size: 1rem; }
.evidence-page .md-content p, .evidence-page .md-content ul, .evidence-page .md-content ol { color: #3c4852; font-size: 1rem; line-height: 1.72; }
.evidence-page .md-content blockquote { border-left-color: #245f8f; background: #f6f7f8; }
.evidence-page .table-wrap { max-width: 78rem; border: 0; border-top: 1px solid #89939b; border-bottom: 1px solid #89939b; border-radius: 0; }
.evidence-page .md-content th { background: #f1f3f5; color: #3c4852; }
.evidence-page .raw-source { max-width: 78rem; border-color: #d9dde1; border-radius: 0; }
.evidence-page .footer { max-width: 46rem; border-color: #d9dde1; }
@media (max-width: 980px) {
  .evidence-page .shell { display: block; }
  .evidence-page .toc { position: static; display: flex; flex-wrap: wrap; width: auto; height: auto; max-height: none; margin: 0; padding: 14px 24px; border-right: 0; border-bottom: 1px solid #d9dde1; overflow: visible; }
  .evidence-page .toc::before { flex-basis: 100%; margin: 0 8px 8px; }
  .evidence-page .hero, .evidence-page .md-content, .evidence-page .raw-source, .evidence-page .footer { width: calc(100% - 48px); }
}
@media (max-width: 620px) {
  .evidence-page .topin { padding: 0 17px; }
  .evidence-page .toc { padding: 12px 17px; }
  .evidence-page .hero, .evidence-page .md-content, .evidence-page .raw-source, .evidence-page .footer { width: calc(100% - 34px); }
  .evidence-page .hero { padding-top: 42px; }
  .evidence-page h1 { font-size: 2.1rem; }
}
@media print {
  body.evidence-page { background: #fff; }
  .evidence-page .top, .evidence-page .toc { display: none !important; }
  .evidence-page .hero, .evidence-page .md-content, .evidence-page .raw-source, .evidence-page .footer { width: 100%; max-width: none; }
}

/* Two separate zero-based vertical scales for the three recorded conditions. */
.guide-page .triad-figure { max-width: 78rem; margin: 1.3rem 0 0; padding: 1.1rem 0 .25rem; border-top: 1px solid #d9dde1; }
.guide-page .triad-figure figcaption { display: block; max-width: 46rem; margin: 0 auto 1rem; color: #5b6670; font-size: .82rem; line-height: 1.55; }
.guide-page .triad-figure figcaption strong { display: block; margin-bottom: .2rem; color: #18212a; font: 700 1rem/1.45 var(--serif); }
.guide-page .triad-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.guide-page .triad-panel { min-width: 0; padding: 1rem 0 0; border-top: 1px solid #d9dde1; }
.guide-page .triad-panel h4 { display: flex; justify-content: space-between; gap: .5rem; align-items: baseline; margin: 0; color: #18212a; font: 700 1.08rem/1.4 var(--serif); }
.guide-page .triad-panel h4 span { color: #5b6670; font: 500 .79rem/1.4 var(--sans); white-space: nowrap; }
.guide-page .triad-plot { position: relative; height: 218px; margin: 2rem 0 2.5rem; }
.guide-page .triad-plot::before, .guide-page .triad-plot::after { content: ""; position: absolute; left: 2.5rem; right: 0; border-top: 1px solid #d9dde1; pointer-events: none; }
.guide-page .triad-plot::before { bottom: 50%; }
.guide-page .triad-plot::after { bottom: 0; border-color: #89939b; }
.guide-page .triad-axis { position: absolute; inset: 0 auto 0 0; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; width: 2.1rem; color: #5b6670; font-size: .73rem; line-height: 1; }
.guide-page .triad-bars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; height: 100%; margin: 0 0 0 2.5rem; padding: 0; list-style: none; }
.guide-page .triad-bar-item { position: relative; min-width: 0; height: 100%; margin: 0; --series-color: #919aa1; }
.guide-page .triad-bar-item.h0 { --series-color: #6584a2; }
.guide-page .triad-bar-item.h0601 { --series-color: #548989; }
.guide-page .triad-bar { position: absolute; bottom: 0; left: 50%; width: min(64%, 4.2rem); height: var(--bar-height); transform: translateX(-50%); background: var(--series-color); }
.guide-page .triad-value { position: absolute; bottom: calc(var(--bar-height) + .3rem); left: 50%; transform: translateX(-50%); color: #18212a; font-size: .84rem; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.guide-page .triad-name { position: absolute; top: calc(100% + .5rem); left: 0; width: 100%; color: #3c4852; font-size: .82rem; text-align: center; white-space: nowrap; }
.guide-page .comparison-takeaway { max-width: 46rem; margin: .7rem auto 1rem; color: #3c4852; font-size: 1rem; line-height: 1.72; }
.guide-page .data-note, .guide-page .research-notes { max-width: 46rem; margin: 1.2rem auto 1.6rem; padding-top: .2rem; border-top: 1px solid #d9dde1; }
.guide-page .data-note summary, .guide-page .research-notes summary { cursor: pointer; padding: .7rem 0; color: #245f8f; font-size: .88rem; font-weight: 650; }
.guide-page .data-note p, .guide-page .research-notes p { color: #5b6670; font-size: .88rem; line-height: 1.7; }
.guide-page .research-notes .accounting-grid, .guide-page .research-notes .note { margin-top: 1rem; }
@media (max-width: 720px) {
  .guide-page .triad-panels { grid-template-columns: 1fr; gap: .4rem; }
  .guide-page .triad-plot { height: 200px; }
}
@media print { .guide-page .triad-figure, .guide-page .triad-panel { break-inside: avoid; } }

/* Repository and commit provenance added for the published research snapshot. */
.guide-page .provenance-table { min-width: 760px; }
.guide-page .provenance-table th[scope="row"] { background: #fff; text-transform: none; letter-spacing: 0; }
.guide-page #publication-scope { scroll-margin-top: 5rem; }
