/* Native figures use the article's typography and light/dark palette. */
:root { --research-teal:#087f73; --research-teal-soft:#e7f3f0; --research-warm:#a7683e; --plot-neutral:#77869b; --plot-third:#a0adbd; --plot-cloud:#93a2b7; --plot-draft:#d7e2ef; --plot-verify:#96abc6; --plot-other:#edf1f6; }
:root[data-theme="dark"] { --research-teal:#71cfc0; --research-teal-soft:#18332e; --research-warm:#d8a276; --plot-neutral:#abb9cb; --plot-third:#7d8c9f; --plot-cloud:#879bb5; --plot-draft:#354b65; --plot-verify:#7791b0; --plot-other:#273342; }
.native-research { min-width:0; }
.native-research .research-intro { max-width:90ch; }
.native-research strong { font-weight:600; color:var(--ink); }
.native-research .method-eyebrow { color:var(--accent); }
.native-research .research-source { max-width:none; margin:17px 0 0; color:var(--muted); font-size:12px; line-height:1.8; }
.evidence-heading { margin:0 0 24px; }
.evidence-heading h5, .batch-evidence h5 { margin:8px 0 0; color:var(--ink); font-size:23px; line-height:1.35; font-weight:550; letter-spacing:-.45px; text-wrap:pretty; }
.evidence-heading > p:last-child:not(.method-eyebrow) { max-width:75ch; margin:11px 0 0; font-size:14px; line-height:1.8; }
.evidence-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:38px 48px; align-items:start; }
.evidence-figure { min-width:0; margin:0; }
.evidence-figure h5, .evidence-figure h6 { color:var(--ink); margin:0; font-size:20px; line-height:1.4; font-weight:550; letter-spacing:-.3px; text-wrap:pretty; }
.evidence-figure > .method-eyebrow { margin-bottom:10px; }
.evidence-figure .evidence-intro { margin:12px 0 18px; font-size:14px; line-height:1.8; }
.evidence-figure figcaption { margin-top:17px; color:var(--muted); font-size:12px; line-height:1.85; }
.evidence-figure figcaption > p { margin:0; }
.evidence-figure figcaption > p + p { margin-top:9px; }
.evidence-figure .caption-notes > p + p { margin-top:14px; }
.caption-label { display:block; margin-bottom:3px; color:var(--ink); font-weight:550; }
.plot-unit { margin:18px 0 0; color:var(--muted); font-size:12px; line-height:1.6; }
.plot-axis-caption { margin:0; color:var(--muted); font-size:12px; line-height:1.6; text-align:center; }
.plot-subheading { margin:22px 0 8px; padding-top:17px; border-top:1px solid var(--rule); color:var(--ink); font-size:13px; font-weight:500; }
.research-chart { display:block; width:100%; height:auto; overflow:visible; }
.research-chart text { font-family:inherit; font-size:13px; fill:var(--muted); font-variant-numeric:tabular-nums; }
.research-chart .plot-value { fill:var(--ink); font-size:15px; font-weight:550; }
.research-chart .schematic-note { font-size:13px; }
.research-chart .accent-value, .native-research .accent-value { fill:var(--accent); color:var(--accent); }
.research-chart .teal-value, .native-research .teal-value { fill:var(--research-teal); color:var(--research-teal); }
.plot-grid { stroke:var(--rule); stroke-width:1; }
.plot-axis { stroke:var(--rule-strong); stroke-width:1; }
.plot-cloud { fill:var(--plot-cloud); opacity:.58; }
.plot-band { fill:var(--accent-soft); fill-opacity:.55; stroke:var(--accent); stroke-opacity:.6; stroke-width:1; stroke-dasharray:4 4; }
.plot-line { fill:none; stroke:var(--accent); stroke-width:2.2; stroke-linejoin:round; stroke-linecap:round; }
.neutral-line { stroke:var(--plot-neutral); }
.third-line { stroke:var(--plot-third); }
.best-line { stroke-width:1.5; stroke-dasharray:5 4; opacity:.8; }
.plot-emphasis, .series-point { fill:var(--accent); stroke:var(--paper); stroke-width:1; }
.series-point.neutral-line { fill:var(--plot-neutral); stroke:var(--paper); }
.series-point.third-line { fill:var(--plot-third); stroke:var(--paper); }
.plot-hollow { fill:var(--paper); stroke:var(--ink); stroke-width:1.8; }
.plot-iqr { fill:var(--plot-cloud); fill-opacity:.18; stroke:none; }
.run-line { fill:none; stroke:var(--plot-third); stroke-width:1; opacity:.7; }
.pooled-line { stroke-width:2.6; }
.ar-reference { stroke:var(--muted); stroke-width:1; stroke-dasharray:4 4; opacity:.65; }
.comparison-link { stroke:var(--diagram-line); stroke-width:2; }
.comparison-spirit { stroke:var(--accent); stroke-width:1.4; }
.comparison-baseline { stroke:var(--plot-neutral); stroke-width:1.4; }
.bar-spirit { fill:var(--accent); } .bar-baseline { fill:var(--plot-third); } .bar-reuse { fill:var(--research-teal); }
.cost-draft { fill:var(--plot-draft); } .cost-verify { fill:var(--plot-verify); } .cost-other { fill:var(--plot-other); } .cost-update { fill:var(--research-warm); }
.precision-interval { stroke:var(--ink); stroke-width:1.3; }
.search-region { fill:var(--accent-soft); opacity:.65; } .reuse-region { fill:var(--research-teal-soft); opacity:.8; }
.phase-boundary { stroke:var(--accent); stroke-width:1; stroke-dasharray:3 4; opacity:.5; }
.chart-legend { display:flex; flex-wrap:wrap; align-items:center; gap:7px 18px; margin:14px 0 9px; color:var(--muted); font-size:12px; line-height:1.6; }
.chart-legend > span { display:inline-flex; align-items:center; gap:7px; }
.chart-legend i { display:inline-block; flex:0 0 auto; }
.legend-dot, .legend-hollow { width:8px; height:8px; border:1.5px solid var(--accent); border-radius:50%; background:var(--accent); }
.legend-hollow { background:var(--paper); border-color:var(--ink); }
.legend-hollow.muted { border-color:var(--plot-third); }
.legend-dot.teal { background:var(--research-teal); border-color:var(--research-teal); }
.legend-line { width:20px; height:0; border-top:2px solid var(--accent); }
.legend-line.neutral { border-color:var(--plot-neutral); } .legend-line.third, .legend-line.runs { border-color:var(--plot-third); }
.legend-line.runs { border-top-width:1px; } .legend-line.ink { border-color:var(--ink); } .legend-line.dashed { border-top-style:dashed; }
.legend-area, .legend-block { width:10px; height:10px; background:var(--accent); }
.legend-area { background:var(--plot-cloud); opacity:.25; } .legend-block.neutral { background:var(--plot-third); } .legend-block.teal { background:var(--research-teal); }
.legend-block.draft { background:var(--plot-draft); } .legend-block.verify { background:var(--plot-verify); } .legend-block.update { background:var(--research-warm); }
.line-style-key { margin-top:12px; }
.inline-gain { color:var(--accent); font-size:28px; font-weight:550; letter-spacing:-.7px; white-space:nowrap; }

/* Causal explanation, then measured evidence. */
.mechanism-band { display:grid; grid-template-columns:1fr 1.1fr 1fr; gap:30px; margin:30px 0 38px; padding:25px 0; border-top:1px solid var(--rule); border-bottom:1px solid var(--rule); }
.mechanism-band > div { min-width:0; }
.diagram-label { color:var(--ink); margin:0 0 13px; font-size:13px; font-weight:550; line-height:1.5; }
.native-research .diagram-note { margin:10px 0 0; color:var(--muted); font-size:12px; line-height:1.75; }
.layer-strip { display:grid; grid-template-columns:repeat(8,minmax(0,1fr)); gap:4px; max-width:300px; }
.layer-slot { display:block; min-width:0; height:27px; border:1px solid var(--ink); background:var(--ink); color:var(--paper); font-size:11px; line-height:25px; font-weight:500; text-align:center; }
.layer-slot.skipped { border-style:dashed; border-color:var(--diagram-outline); background:none; color:var(--diagram-secondary); }
.effect-pair { display:flex; gap:17px; align-items:center; }
.effect-pair > div { flex:1; min-width:0; }
.effect-pair strong { display:block; font-size:24px; line-height:1.2; font-weight:400; }
.effect-pair span:not(.effect-times) { display:block; margin-top:6px; font-size:11px; line-height:1.5; }
.effect-times { color:var(--muted); font-size:20px; }
.plain-fraction { display:grid; width:fit-content; max-width:100%; color:var(--accent); font-size:15px; line-height:1.5; text-align:center; }
.plain-fraction span:first-child { border-bottom:1px solid var(--accent); padding:0 4px 4px; }
.plain-fraction span:last-child { padding-top:4px; }
.measurement-pair { display:grid; gap:10px; margin:18px 0 0; padding-top:16px; border-top:1px solid var(--rule); font-size:12px; line-height:1.6; }
.measurement-pair > div { display:flex; flex-wrap:wrap; justify-content:space-between; gap:3px 12px; }
.measurement-pair dt { color:var(--muted); } .measurement-pair dd { margin:0; color:var(--ink); font-variant-numeric:tabular-nums; }
.measurement-pair dd span { margin:0 4px; color:var(--muted); } .measurement-pair strong { color:var(--accent); }
.research-implication { display:grid; grid-template-columns:150px minmax(0,1fr); gap:24px; margin-top:27px; padding:22px 0 0; border-top:1px solid var(--rule); }
.research-implication > span { color:var(--accent); font-size:12px; line-height:1.8; font-weight:500; }
.research-implication p { max-width:80ch; margin:0; font-size:14px; line-height:1.85; }

/* Problem moves from the causal mechanism to evidence and its design consequence. */
.problem-overview { display:grid; grid-template-columns:1fr 1.1fr; gap:44px; align-items:center; }
.problem-overview .research-section-header { margin-bottom:0; }
.problem-overview .research-section-header h4 { font-size:29px; }
.problem-overview > .research-intro { margin:0; max-width:none; font-size:14px; line-height:1.9; }
.problem-mechanism, .problem-evidence { margin-top:32px; }
.problem-section-heading { display:flex; align-items:center; gap:14px; margin-bottom:21px; }
.problem-section-heading > div { min-width:0; }
.problem-section-number { display:flex; align-items:center; justify-content:center; flex:0 0 38px; width:38px; height:38px; border:1px solid color-mix(in srgb,var(--accent) 20%,var(--rule)); border-radius:12px; background:var(--accent-soft); color:var(--accent); font-size:12px; font-weight:550; font-variant-numeric:tabular-nums; }
.problem-section-heading .method-eyebrow { margin:0; font-size:11px; letter-spacing:.025em; }
.problem-section-heading h5 { margin:5px 0 0; color:var(--ink); font-size:23px; line-height:1.4; font-weight:550; letter-spacing:-.4px; text-wrap:pretty; }

.problem-page .mechanism-band { grid-template-columns:1fr 1.08fr 1fr; gap:18px; margin:0; padding:0; border:0; align-items:stretch; }
.problem-page .mechanism-band > div { min-width:0; padding:22px; border:1px solid var(--rule); border-radius:16px; background:color-mix(in srgb,var(--surface) 35%,var(--paper)); }
.problem-page .mechanism-band > .mechanism-objective { display:block; grid-column:auto; border-color:color-mix(in srgb,var(--accent) 22%,var(--rule)); background:color-mix(in srgb,var(--accent-soft) 35%,var(--paper)); }
.problem-page .mechanism-band .diagram-label { margin:0 0 18px; color:var(--ink); font-size:14px; font-weight:550; }
.problem-page .mechanism-band .diagram-note { margin-top:15px; line-height:1.8; }
.problem-page .layer-slot { border-radius:3px; font-size:10px; }
.problem-page .layer-slot.skipped { color:var(--muted); border-color:var(--rule-strong); background:var(--surface); }
.problem-page .effect-pair { gap:12px; max-width:none; min-height:55px; }
.problem-page .effect-pair strong { font-size:28px; }
.problem-page .effect-pair > div:last-child strong { color:var(--accent); }
.problem-page .effect-pair span:not(.effect-times) { font-size:12px; line-height:1.6; }
.problem-page .plain-fraction { font-size:15px; line-height:1.65; }
.problem-page .plain-fraction span:first-child { padding-bottom:6px; }
.problem-page .plain-fraction span:last-child { padding-top:6px; }

.problem-page .motivation-charts { grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; align-items:start; }
.problem-page .problem-evidence-card { width:100%; max-width:none; padding:24px; border:1px solid var(--rule); border-radius:18px; background:var(--paper); box-shadow:0 2px 10px rgb(0 0 0 / 2%); }
.problem-page .problem-evidence-card > .method-eyebrow { margin:0 0 10px; font-size:11px; letter-spacing:.025em; }
.problem-page .problem-evidence-card h6 { margin:0; font-size:20px; line-height:1.45; font-weight:550; letter-spacing:-.3px; }
.problem-page .problem-evidence-card .plot-unit { margin-top:18px; }
.problem-page .measurement-pair { gap:8px; margin:19px 0 0; padding:0; border:0; }
.problem-page .measurement-pair > div { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:4px 12px; align-items:center; padding:12px 14px; border:1px solid var(--rule); border-radius:11px; background:color-mix(in srgb,var(--surface) 55%,var(--paper)); }
.problem-page .measurement-pair > div:last-child { border-color:color-mix(in srgb,var(--accent) 18%,var(--rule)); background:color-mix(in srgb,var(--accent-soft) 45%,var(--paper)); }
.problem-page .measurement-pair dt { color:var(--muted); font-size:12px; }
.problem-page .measurement-pair dd { margin:0; color:var(--ink); font-size:13px; white-space:nowrap; }
.problem-page .measurement-pair strong { color:var(--accent); }
.problem-page .problem-evidence-card figcaption { margin-top:20px; padding-top:15px; border-top:1px solid var(--rule); line-height:1.85; }
.problem-page .problem-evidence-card figcaption > p + p { margin-top:11px; }
.problem-page .problem-caption-notes .caption-label { font-size:12px; font-weight:550; }
.problem-page .problem-source { margin-top:16px; line-height:1.85; }

.problem-page .research-implication { grid-template-columns:210px minmax(0,1fr); gap:22px; align-items:start; margin-top:24px; padding:24px; border:1px solid color-mix(in srgb,var(--accent) 22%,var(--rule)); border-radius:18px; background:color-mix(in srgb,var(--accent-soft) 25%,var(--paper)); }
.problem-implication-heading { display:flex; align-items:center; gap:12px; min-width:0; color:var(--accent); font-size:13px; line-height:1.6; font-weight:550; }
.problem-page .research-implication p { margin:0; max-width:none; color:var(--ink); font-size:14px; line-height:1.85; }

@media (max-width:1000px) {
  .problem-page .mechanism-band > div { padding:18px; }
  .problem-page .mechanism-band .diagram-label { font-size:13px; }
  .problem-page .problem-evidence-card { padding:21px; }
  .problem-page .measurement-pair > div { grid-template-columns:minmax(0,1fr); gap:4px; }
}
@media (max-width:850px) {
  .problem-overview { grid-template-columns:minmax(0,1fr); gap:18px; }
  .problem-page .mechanism-band { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .problem-page .mechanism-band > .mechanism-objective { display:grid; grid-column:1 / -1; grid-template-columns:1fr 1fr; gap:8px 24px; align-items:center; }
  .problem-page .mechanism-objective .diagram-label { margin:0; }
  .problem-page .mechanism-objective .plain-fraction { grid-column:2; grid-row:1 / 3; }
  .problem-page .mechanism-objective .diagram-note { margin:0; }
  .problem-page .motivation-charts { grid-template-columns:minmax(0,1fr); }
  .problem-page .measurement-pair > div { grid-template-columns:minmax(0,1fr) auto; }
  .problem-page .research-implication { grid-template-columns:minmax(0,1fr); gap:15px; }
}
@media (max-width:600px) {
  .problem-overview .research-section-header h4 { font-size:25px; }
  .problem-overview > .research-intro { font-size:14px; }
  .problem-mechanism, .problem-evidence { margin-top:28px; }
  .problem-section-heading { align-items:flex-start; gap:12px; margin-bottom:20px; }
  .problem-section-number { flex-basis:32px; width:32px; height:32px; border-radius:10px; font-size:11px; }
  .problem-section-heading h5 { font-size:21px; }
  .problem-page .mechanism-band { grid-template-columns:minmax(0,1fr); gap:14px; }
  .problem-page .mechanism-band > div { padding:18px; border-radius:15px; }
  .problem-page .mechanism-band > .mechanism-objective { display:block; grid-column:auto; }
  .problem-page .mechanism-band .diagram-label { margin-bottom:16px; font-size:14px; }
  .problem-page .mechanism-band .diagram-note { margin-top:13px; }
  .problem-page .effect-pair { max-width:300px; gap:18px; }
  .problem-page .plain-fraction { font-size:16px; }
  .problem-page .problem-evidence-card { padding:18px 16px; border-radius:15px; }
  .problem-page .problem-evidence-card h6 { font-size:19px; }
  .problem-page .research-chart { width:calc(100% + 12px); max-width:none; margin-left:-6px; }
  .problem-page .research-chart text { font-size:18px; }
  .problem-page .research-chart .plot-value { font-size:20px; }
  .problem-page .measurement-pair > div { grid-template-columns:minmax(0,1fr); padding:11px 12px; }
  .problem-page .measurement-pair dd { font-size:14px; }
  .problem-page .problem-evidence-card figcaption { font-size:13px; }
  .problem-page .problem-caption-notes .caption-label { font-size:13px; }
  .problem-page .research-implication { padding:18px; border-radius:15px; }
}
@media (max-width:360px) {
  .problem-overview .research-section-header h4 { font-size:23px; }
  .problem-section-heading h5 { font-size:20px; }
  .problem-page .research-chart text { font-size:21px; }
  .problem-page .research-chart .plot-value { font-size:23px; }
}
@media print {
  .problem-page .mechanism-band > div, .problem-page .problem-evidence-card, .problem-page .research-implication { background:none; box-shadow:none; break-inside:avoid; }
}

/* Productive within-request windows and independent request-head probes. */
.objective-strip { display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center; padding:25px 0; margin-top:28px; border-top:1px solid var(--rule); border-bottom:1px solid var(--rule); }
.native-equation { color:var(--ink); font-size:25px; line-height:1.8; white-space:nowrap; }
.native-equation sub { font-size:.55em; }
.native-symbols { display:grid; gap:9px; margin:0; }
.native-symbols > div { display:grid; grid-template-columns:28px 1fr; gap:12px; align-items:baseline; }
.native-symbols dt { color:var(--ink); font-size:18px; } .native-symbols dd { margin:0; font-size:12px; line-height:1.7; color:var(--muted); }
.method-loop { margin-top:32px; }
.window-loop { display:grid; grid-template-columns:1fr 1.12fr 1fr; gap:25px; align-items:start; }
.window-loop > section { min-width:0; }
.layer-pipeline { display:grid; gap:15px; }
.layer-pipeline > div > span { display:block; margin-bottom:7px; color:var(--muted); font-size:12px; line-height:1.6; }
.committed-output { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-top:14px; font-size:11px; line-height:1.6; }
.output-tokens { display:inline-flex; gap:3px; } .output-tokens b { width:9px; height:13px; background:var(--accent); }
.window-stat { color:var(--ink); margin-top:12px; font-size:13px; }
.window-boundary { padding:0 0 0 20px; border-left:2px solid var(--accent); }
.window-boundary > p:not(.diagram-label):not(.diagram-note) { margin-top:13px; font-size:13px; line-height:1.8; }
.boundary-equation { color:var(--accent); margin:13px 0; font-size:20px; line-height:1.65; letter-spacing:-.3px; }
.boundary-selection { margin-top:20px; } .boundary-selection strong { display:block; color:var(--accent); font-size:14px; line-height:1.6; }
.boundary-selection span { display:block; margin-top:5px; font-size:12px; line-height:1.7; }
.next-window .layer-slot:not(.skipped) { border-color:var(--accent); background:var(--accent); }
.next-window > p:not(.diagram-label):not(.diagram-note) { margin:16px 0 0; font-size:13px; line-height:1.8; }
.round-sequence { display:flex; flex-wrap:wrap; gap:13px; margin-top:18px; color:var(--ink); font-size:12px; }
.round-sequence b { color:var(--accent); font-size:17px; font-weight:400; }
.feedback-return { color:var(--accent); margin:25px 0 8px; padding-top:14px; border-top:1px solid var(--rule); font-size:12px; line-height:1.8; }
.feedback-return > span { display:inline-block; margin-right:7px; font-size:17px; }
.native-detail { margin-top:8px; } .native-detail > summary { min-height:44px; }
.search-stages { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:42px; padding:24px 0 16px; }
.search-stages h6, .reuse-rules h6 { color:var(--ink); margin:7px 0 12px; font-size:18px; font-weight:550; line-height:1.4; letter-spacing:-.2px; }
.search-stages > section > p:not(.method-eyebrow):not(.research-source), .reuse-rules p { font-size:13px; line-height:1.8; }
.algorithm-steps { display:grid; gap:10px; margin:18px 0 0; padding-left:19px; color:var(--muted); font-size:13px; line-height:1.8; }
.algorithm-steps li { padding-left:3px; } .algorithm-steps li::marker { color:var(--accent); }
.leader-bound { stroke:var(--research-teal); stroke-width:1.1; stroke-dasharray:4 4; }
.confidence { stroke-width:1.3; } .confidence.rival { stroke:var(--accent); } .confidence.leader { stroke:var(--research-teal); } .confidence.ruled { stroke:var(--plot-third); }
.confidence-point.rival { fill:var(--accent); } .confidence-point.leader { fill:var(--research-teal); } .confidence-point.ruled { fill:var(--paper); stroke:var(--plot-third); stroke-width:1.4; }
.proposal-pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; margin:24px 0; }
.proposal-pair .layer-strip { gap:2px; } .proposal-pair .layer-slot { font-size:9px; height:24px; line-height:22px; }
.proposal-label { display:flex; flex-wrap:wrap; gap:6px; justify-content:space-between; color:var(--ink); margin-bottom:10px; font-size:13px; }
.proposal-label span { color:var(--muted); } .prior-proposal, .prior-proposal span { color:var(--research-teal); }
.proposal-evaluation { padding:13px 16px; border-left:2px solid var(--accent); background:var(--surface); font-size:13px; line-height:1.7; }
.proposal-evaluation strong { display:block; margin-top:5px; color:var(--accent); font-size:17px; font-weight:400; }
.profile-loop { border-top:1px solid var(--rule); padding-top:29px; }
.native-research .compact-intro { font-size:14px; max-width:87ch; }
.profile-overview { display:grid; grid-template-columns:.9fr 1fr 1.15fr; gap:30px; margin-top:24px; }
.profile-overview > div { min-width:0; }
.profile-record .layer-slot:not(.skipped) { border-color:var(--research-teal); background:var(--research-teal); }
.head-signature-row { display:grid; grid-template-columns:90px 1fr; align-items:center; gap:10px; margin:13px 0; font-size:11px; line-height:1.5; }
.head-signature-row > div { position:relative; height:1px; background:var(--diagram-line); }
.head-signature-row b { position:absolute; left:45%; top:-5px; width:35%; height:11px; border-left:1px solid var(--plot-neutral); border-right:1px solid var(--plot-neutral); background:var(--diagram-soft-fill); }
.head-signature-row b::after { content:""; position:absolute; left:50%; top:-2px; bottom:-2px; width:1px; background:var(--plot-neutral); }
.head-signature-row i { position:absolute; left:15%; top:-3px; width:7px; height:7px; border:1.5px solid var(--accent); border-radius:50%; background:var(--paper); }
.head-signature-row:nth-of-type(2) b { left:32%; width:37%; } .head-signature-row:nth-of-type(2) i { left:83%; }
.signature-divider { margin:0 3px; } .current-head-key { color:var(--accent); }
.profile-next > p:not(.diagram-label):not(.diagram-note) { font-size:13px; line-height:1.8; }
.profile-outcomes { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; margin:25px 0 12px; padding-top:20px; border-top:1px solid var(--rule); }
.profile-outcomes dt { color:var(--accent); font-size:14px; font-weight:550; }
.profile-outcomes > div:nth-child(2) dt, .profile-outcomes > div:nth-child(3) dt { color:var(--research-teal); } .profile-outcomes > div:last-child dt { color:var(--ink); }
.profile-outcomes dd { margin:7px 0 0; color:var(--muted); font-size:12px; line-height:1.75; }
.reuse-rules { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:40px; padding:14px 0 8px; }
.eligibility-list { padding-left:18px; display:grid; gap:9px; margin:17px 0; font-size:13px; line-height:1.7; } .eligibility-list li::marker { color:var(--research-teal); }
.native-research .method-source { margin-top:24px; }

/* Method has one objective and two distinct control loops. */
.method-overview-header { display:grid; grid-template-columns:1.65fr 1fr; gap:36px; align-items:center; }
.method-intro { min-width:0; }
.method-intro .research-section-header { margin-bottom:0; }
.method-intro .research-section-header h4 { max-width:620px; font-size:29px; }
.method-intro .research-intro { margin-top:17px; font-size:14px; line-height:1.9; }
.configuration-card { min-width:0; padding:22px; border:1px solid var(--rule); border-radius:18px; background:color-mix(in srgb,var(--surface) 60%,var(--paper)); }
.configuration-card > .method-eyebrow { margin:0; font-size:11px; }
.configuration-equation { margin:10px 0 16px; color:var(--ink); font-size:29px; line-height:1.3; white-space:nowrap; }
.configuration-key { display:grid; gap:13px; margin:0; }
.configuration-key > div { display:grid; grid-template-columns:20px minmax(0,1fr); gap:10px; align-items:baseline; }
.configuration-key dt { color:var(--accent); font-size:19px; line-height:1.3; }
.configuration-key dd { margin:0; color:var(--ink); font-size:12px; font-weight:500; line-height:1.6; }
.configuration-key dd span { display:block; margin-top:2px; color:var(--muted); font-size:11px; font-weight:400; }

.method-page .objective-strip { grid-template-columns:1fr 1fr; gap:40px; margin:24px 0 0; padding:24px 28px; border:1px solid color-mix(in srgb,var(--accent) 20%,var(--rule)); border-radius:18px; background:color-mix(in srgb,var(--accent-soft) 35%,var(--paper)); }
.method-page .objective-strip > div { min-width:0; }
.method-page .objective-strip .diagram-label { margin-bottom:12px; color:var(--accent); font-size:12px; }
.method-page .native-equation { font-size:28px; line-height:1.8; }
.method-page .objective-strip .diagram-note { margin-top:11px; }
.method-page .native-symbols { gap:12px; }
.method-page .native-symbols > div { grid-template-columns:30px minmax(0,1fr); }
.method-page .native-symbols dt { color:var(--accent); }

.method-page .method-loop { margin-top:36px; }
.method-page .method-phase-heading { display:flex; align-items:center; gap:14px; margin-bottom:22px; }
.method-phase-heading > div { min-width:0; }
.method-section-number { display:flex; align-items:center; justify-content:center; flex:0 0 38px; width:38px; height:38px; border:1px solid color-mix(in srgb,var(--accent) 20%,var(--rule)); border-radius:12px; background:var(--accent-soft); color:var(--accent); font-size:12px; font-weight:550; font-variant-numeric:tabular-nums; }
.method-page .method-phase-heading .method-eyebrow { margin:0; font-size:11px; letter-spacing:.025em; }
.method-page .method-phase-heading h5 { margin-top:5px; font-size:23px; }
.method-page .window-loop { grid-template-columns:1fr 1.08fr 1fr; gap:18px; align-items:stretch; }
.method-page .window-loop > section { position:relative; display:block; grid-column:auto; min-width:0; padding:21px; border:1px solid var(--rule); border-radius:16px; background:var(--paper); }
.method-page .window-loop > section + section::before { content:"→"; position:absolute; top:29px; left:-19px; width:18px; color:var(--connector); font-size:18px; line-height:1; text-align:center; }
.method-page .window-loop > .window-boundary { border-color:color-mix(in srgb,var(--accent) 22%,var(--rule)); background:color-mix(in srgb,var(--accent-soft) 28%,var(--paper)); }
.window-step-heading { display:flex; align-items:center; gap:10px; min-height:48px; margin-bottom:20px; }
.window-step-number { display:flex; align-items:center; justify-content:center; flex:0 0 24px; width:24px; height:24px; border:1px solid var(--rule); border-radius:50%; color:var(--accent); background:var(--paper); font-size:11px; font-weight:500; }
.method-page .window-context { margin:0; color:var(--muted); font-size:11px; line-height:1.5; }
.window-step-heading h6 { margin:4px 0 0; color:var(--ink); font-size:16px; line-height:1.4; letter-spacing:-.2px; font-weight:550; }
.method-page .layer-slot { border-radius:3px; font-size:10px; }
.method-page .layer-slot.skipped { color:var(--muted); border-color:var(--rule-strong); background:var(--surface); }
.method-page .layer-pipeline { gap:16px; }
.method-page .boundary-equation { font-size:19px; }
.method-page .window-boundary > .boundary-equation { margin-top:0; white-space:nowrap; font-size:18px; }
.method-page .boundary-selection { margin-top:18px; }
.method-page .window-stat { margin-top:14px; padding-top:12px; border-top:1px solid var(--rule); font-size:12px; }
.method-page .next-window > p:not(.diagram-note) { margin-top:16px; }
.method-page .feedback-return { display:flex; align-items:baseline; gap:8px; margin:14px 0 0; padding:12px 16px; border:1px solid color-mix(in srgb,var(--accent) 15%,var(--rule)); border-radius:12px; background:color-mix(in srgb,var(--accent-soft) 20%,var(--paper)); font-size:12px; }
.method-page .feedback-return > span { margin:0; }

/* Progressive disclosures keep the serving flow readable at first glance. */
.method-page .native-detail { margin-top:18px; border:1px solid var(--rule); border-radius:16px; background:var(--paper); }
.method-page .native-detail > summary { display:flex; justify-content:space-between; gap:18px; width:100%; min-height:72px; padding:15px 20px; border-radius:16px; color:var(--ink); text-decoration:none; transition:background 160ms ease; }
.method-page .native-detail > summary:hover { background:var(--surface); text-decoration:none; }
.method-page .native-detail > summary:focus-visible { outline-offset:3px; }
.method-page .native-detail[open] > summary { border-bottom:1px solid var(--rule); border-radius:16px 16px 0 0; background:var(--surface); }
.detail-summary-copy { display:block; min-width:0; }
.detail-summary-copy > span { display:block; font-size:14px; font-weight:550; line-height:1.5; }
.detail-summary-copy > small { display:block; margin-top:4px; color:var(--muted); font-size:11px; line-height:1.6; }
.method-page .native-detail .figure-toggle-icon { flex:0 0 26px; width:26px; height:26px; border:1px solid var(--rule); border-radius:50%; background:var(--paper); color:var(--accent); }
.method-page .native-detail .figure-toggle-icon::before, .method-page .native-detail .figure-toggle-icon::after { left:7px; top:11.5px; }
.method-page .search-stages { gap:28px; padding:24px; }
.method-page .search-stages > section { min-width:0; max-width:none; }
.method-page .search-stages > section + section { padding-left:26px; border-left:1px solid var(--rule); }
.method-page .search-stages h6, .method-page .reuse-rules h6 { font-size:18px; line-height:1.45; }
.method-page .proposal-pair { gap:12px; margin:22px 0; }
.method-page .proposal-pair > div { min-width:0; padding:12px; border:1px solid var(--rule); border-radius:12px; background:color-mix(in srgb,var(--surface) 55%,var(--paper)); }
.method-page .proposal-pair .layer-slot { font-size:9px; }
.method-page .proposal-label { font-size:12px; }
.method-page .proposal-evaluation { border:1px solid color-mix(in srgb,var(--accent) 20%,var(--rule)); border-radius:12px; background:color-mix(in srgb,var(--accent-soft) 30%,var(--paper)); }
.method-page .algorithm-steps { margin-top:18px; gap:12px; }

/* Profiles carry a configuration and its history across requests. */
.method-page .profile-loop { padding-top:0; border-top:0; }
.method-page .profile-loop .method-section-number { color:var(--research-teal); border-color:color-mix(in srgb,var(--research-teal) 25%,var(--rule)); background:var(--research-teal-soft); }
.method-page .profile-loop .method-phase-heading .method-eyebrow { color:var(--research-teal); }
.method-page .compact-intro { margin:0; max-width:89ch; font-size:14px; }
.method-page .profile-overview { grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin-top:22px; }
.method-page .profile-overview > div { min-width:0; grid-column:auto; padding:21px; border:1px solid var(--rule); border-radius:16px; background:var(--paper); }
.method-page .profile-overview .diagram-label { margin-bottom:18px; font-size:14px; font-weight:550; line-height:1.5; }
.method-page .profile-overview > .profile-next { background:color-mix(in srgb,var(--research-teal-soft) 30%,var(--paper)); border-color:color-mix(in srgb,var(--research-teal) 20%,var(--rule)); }
.method-page .head-signature-row { grid-template-columns:80px minmax(0,1fr); gap:8px; margin:15px 0; }
.method-page .profile-outcomes-label { margin:23px 0 0; color:var(--ink); font-size:12px; font-weight:550; }
.method-page .profile-outcomes { gap:12px; margin:11px 0 0; padding:0; border:0; }
.method-page .profile-outcomes > div { min-width:0; padding:16px; border:1px solid var(--rule); border-radius:12px; background:color-mix(in srgb,var(--surface) 45%,var(--paper)); }
.method-page .profile-outcomes dt { font-size:14px; line-height:1.5; }
.method-page .profile-outcomes dd { margin-top:8px; font-size:12px; line-height:1.8; }
.method-page .reuse-rules { gap:30px; padding:24px; }
.method-page .reuse-rules > div { min-width:0; }
.method-page .profile-loop .boundary-equation { color:var(--research-teal); }
.method-page .profile-loop .native-detail .figure-toggle-icon { color:var(--research-teal); }
.method-page .method-source { margin:24px 0 0; padding:16px 20px; border:1px solid var(--rule); border-radius:14px; background:color-mix(in srgb,var(--surface) 45%,var(--paper)); }

@media (max-width:1000px) {
  .method-page .window-loop > section, .method-page .profile-overview > div { padding:18px; }
  .method-page .window-boundary > .boundary-equation { font-size:16px; }
  .method-page .head-signature-row { grid-template-columns:74px minmax(0,1fr); font-size:10px; }
}
@media (max-width:900px) {
  .method-overview-header { grid-template-columns:minmax(0,1fr); gap:24px; }
  .configuration-card { display:grid; grid-template-columns:160px minmax(0,1fr); gap:14px 24px; align-items:center; padding:20px 24px; }
  .configuration-card > .method-eyebrow { grid-column:1 / -1; }
  .configuration-equation { margin:0; }
  .method-page .objective-strip { grid-template-columns:minmax(0,1fr); gap:22px; }
  .method-page .native-symbols { grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; padding-top:18px; border-top:1px solid color-mix(in srgb,var(--accent) 15%,var(--rule)); }
  .method-page .native-symbols > div { grid-template-columns:26px minmax(0,1fr); gap:7px; align-items:start; }
  .method-page .window-loop { grid-template-columns:minmax(0,1fr); gap:20px; }
  .method-page .window-loop > section { padding:22px; }
  .method-page .window-loop > section + section::before { content:"↓"; top:-20px; left:calc(50% - 9px); height:18px; }
  .method-page .window-boundary > .boundary-equation { font-size:21px; }
  .method-page .next-window > p:not(.diagram-note) { margin-top:16px; }
  .method-page .profile-overview { grid-template-columns:minmax(0,1fr); gap:16px; }
  .method-page .profile-overview > div { padding:22px; max-width:none; }
  .method-page .head-signature-row { grid-template-columns:100px minmax(0,1fr); max-width:350px; font-size:12px; }
  .method-page .profile-outcomes { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .method-page .search-stages { grid-template-columns:minmax(0,1fr); gap:24px; }
  .method-page .search-stages > section + section { padding:24px 0 0; border-left:0; border-top:1px solid var(--rule); }
}
@media (max-width:600px) {
  .method-overview-header { gap:20px; }
  .method-intro .research-section-header h4 { font-size:25px; }
  .method-intro .research-intro { margin-top:15px; font-size:14px; }
  .configuration-card { grid-template-columns:110px minmax(0,1fr); gap:12px 16px; padding:18px; border-radius:15px; }
  .configuration-equation { font-size:26px; }
  .configuration-key { gap:10px; }
  .configuration-key dd span { display:none; }
  .configuration-key > div { grid-template-columns:16px minmax(0,1fr); gap:8px; }
  .method-page .objective-strip { gap:18px; margin-top:20px; padding:19px; border-radius:15px; }
  .method-page .native-equation { font-size:25px; }
  .method-page .native-symbols { grid-template-columns:minmax(0,1fr); gap:12px; padding-top:15px; }
  .method-page .native-symbols > div { grid-template-columns:26px minmax(0,1fr); gap:10px; }
  .method-page .native-symbols dd { font-size:12px; }
  .method-page .method-loop { margin-top:29px; }
  .method-page .method-phase-heading { align-items:flex-start; gap:12px; margin-bottom:20px; }
  .method-section-number { flex-basis:32px; width:32px; height:32px; border-radius:10px; font-size:11px; }
  .method-page .method-phase-heading h5 { margin-top:6px; font-size:21px; line-height:1.4; }
  .method-page .window-loop > section, .method-page .profile-overview > div { padding:18px; border-radius:15px; }
  .window-step-heading { min-height:42px; margin-bottom:18px; }
  .window-step-heading h6 { font-size:17px; }
  .method-page .window-context { font-size:12px; }
  .method-page .window-boundary > .boundary-equation { font-size:20px; }
  .method-page .window-stat { font-size:13px; }
  .method-page .diagram-note { font-size:12px; line-height:1.8; }
  .method-page .feedback-return { align-items:flex-start; padding:12px 14px; font-size:12px; }
  .method-page .native-detail { border-radius:15px; }
  .method-page .native-detail > summary { gap:12px; padding:14px 16px; border-radius:15px; }
  .detail-summary-copy > span { font-size:13px; }
  .detail-summary-copy > small { font-size:11px; }
  .method-page .search-stages, .method-page .reuse-rules { padding:18px; }
  .method-page .search-stages .research-chart text { font-size:18px; }
  .method-page .search-stages .research-chart .schematic-note { font-size:16px; }
  .method-page .proposal-pair { grid-template-columns:minmax(0,1fr); gap:12px; }
  .method-page .proposal-pair > div { padding:12px 10px; }
  .method-page .profile-overview { margin-top:20px; }
  .method-page .profile-outcomes { gap:10px; }
  .method-page .profile-outcomes > div { padding:14px; }
  .method-page .profile-outcomes dt { font-size:13px; }
  .method-page .profile-outcomes dd { font-size:12px; }
  .method-page .reuse-rules { grid-template-columns:minmax(0,1fr); gap:22px; }
  .method-page .reuse-rules > div + div { padding-top:19px; border-top:1px solid var(--rule); }
  .method-page .method-source { padding:15px 17px; font-size:13px; }
}
@media (max-width:360px) {
  .method-intro .research-section-header h4 { font-size:23px; }
  .configuration-card { grid-template-columns:91px minmax(0,1fr); gap:12px; padding:16px; }
  .configuration-equation { font-size:23px; }
  .configuration-key dd { font-size:11px; }
  .method-page .objective-strip { padding:16px; }
  .method-page .native-equation { font-size:22px; }
  .method-page .method-phase-heading h5 { font-size:20px; }
  .method-page .window-boundary > .boundary-equation { font-size:18px; }
  .method-page .proposal-pair { grid-template-columns:minmax(0,1fr); }
  .method-page .search-stages .research-chart text { font-size:20px; }
  .method-page .search-stages .research-chart .schematic-note { font-size:17px; }
}
@media (prefers-reduced-motion:reduce) {
  .method-page .native-detail > summary { transition:none; }
}
@media print {
  .method-overview-header { display:block; }
  .configuration-card { margin-top:20px; }
  .method-page .configuration-card, .method-page .objective-strip, .method-page .window-loop > section, .method-page .profile-overview > div, .method-page .profile-outcomes > div { background:none; box-shadow:none; break-inside:avoid; }
}

/* The experiment overview pairs the conclusion with its two measured peaks. */
.experiment-overview { display:grid; grid-template-columns:1.15fr 1fr; gap:44px; align-items:center; margin-bottom:32px; }
.experiment-intro { min-width:0; }
.experiment-intro .research-section-header { margin-bottom:0; }
.experiment-intro .research-section-header h4 { font-size:29px; }
.experiment-intro .experiment-context { max-width:62ch; margin:16px 0 0; font-size:13px; line-height:1.8; }
.experiment-overview .experiment-metrics { gap:12px; max-width:none; margin:0; padding:0; border:0; }
.experiment-overview .experiment-metrics > div { padding:19px 20px; border:1px solid var(--rule); border-radius:16px; background:var(--surface); }
.experiment-overview .experiment-metrics > div:last-child { border-color:color-mix(in srgb,var(--accent) 18%,var(--rule)); background:color-mix(in srgb,var(--accent-soft) 55%,var(--paper)); }
.experiment-overview .experiment-metrics strong { font-size:47px; letter-spacing:-1.8px; }
.experiment-overview .experiment-metrics dt { margin-top:10px; font-size:12px; }
.experiment-overview .metric-prefix { font-size:11px; }

/* Each secondary choice previews the evidence it contains. */
.experiment-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:0 0 28px; padding:0; scroll-margin-top:50px; }
.experiment-tabs a { display:flex; align-items:center; gap:13px; min-width:0; min-height:80px; padding:15px 18px; border:1px solid var(--rule); border-radius:14px; background:var(--paper); color:var(--muted); text-decoration:none; transition:border-color 160ms ease,background 160ms ease,box-shadow 160ms ease,color 160ms ease; }
.experiment-tabs a:hover { border-color:var(--rule-strong); background:var(--surface); color:var(--ink); }
.experiment-tabs a[aria-selected="true"] { border-color:color-mix(in srgb,var(--accent) 38%,var(--rule)); background:color-mix(in srgb,var(--accent-soft) 55%,var(--paper)); color:var(--accent); box-shadow:0 2px 8px color-mix(in srgb,var(--accent) 7%,transparent); }
.experiment-tabs a:focus-visible { outline:2px solid var(--accent); outline-offset:3px; border-radius:14px; }
.experiment-tab-icon { flex:0 0 21px; width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.experiment-tab-copy { display:block; min-width:0; }
.experiment-tab-label { display:block; color:inherit; font-size:14px; line-height:1.4; font-weight:550; }
.experiment-tab-hint { display:block; margin-top:5px; color:var(--muted); font-size:11px; line-height:1.5; }
.experiment-panel { min-width:0; }
.experiment-panel:focus-visible { outline:2px solid var(--accent); outline-offset:8px; border-radius:3px; }
.experiment-panel > .results-block:first-child { margin-top:0; padding-top:0; border-top:0; }
.experiment-panel + .experiment-panel { margin-top:36px; }
.experiment-tabs[role="tablist"] ~ .experiment-panel { margin-top:0; }
.experiment-panel .evidence-heading { margin-bottom:22px; }
.experiment-panel .evidence-heading h5 { font-size:24px; }
.experiment-panel .evidence-grid { gap:22px; }
.experiment-panel .method-eyebrow { font-size:11px; letter-spacing:.025em; }
.experiment-comparisons { grid-template-columns:1.2fr 1fr; margin-top:24px; }

/* Consistent surfaces hold a conclusion, its chart, then the measurement scope. */
.experiment-panel .result-card { min-width:0; padding:25px; border:1px solid var(--rule); border-radius:18px; background:var(--paper); box-shadow:0 2px 10px rgb(0 0 0 / 2%); }
.experiment-panel .result-card h5, .experiment-panel .result-card h6 { font-size:19px; line-height:1.45; }
.experiment-panel .inline-gain { display:block; margin-bottom:7px; font-size:40px; line-height:1.15; letter-spacing:-1.2px; }
.experiment-panel .evidence-intro { font-size:13px; line-height:1.8; }
.experiment-panel .result-card figcaption { margin-top:20px; padding-top:15px; border-top:1px solid var(--rule); }
.experiment-panel .caption-notes { padding:15px 16px; border:0; border-radius:12px; background:var(--surface); }
.experiment-panel .caption-notes > p + p { margin-top:12px; }
.experiment-panel .caption-label { font-size:12px; }
.serving-summary { min-width:0; }
.serving-summary .batch-evidence { display:block; margin:0; padding:0; border:0; }
.serving-summary .batch-metrics { display:block; margin:24px 0 20px; }
.serving-summary .batch-metrics > div { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:18px 0; border-bottom:1px solid var(--rule); }
.serving-summary .batch-metrics > div:first-child { padding-top:0; }
.serving-summary .batch-metrics dt { margin:0; font-size:13px; }
.serving-summary .batch-metrics dd { font-size:30px; }
.serving-summary .research-source { font-size:12px; line-height:1.8; }
.reuse-evidence { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 36px; margin-top:24px; }
.experiment-panel .reuse-evidence { border-color:color-mix(in srgb,var(--research-teal) 22%,var(--rule)); background:color-mix(in srgb,var(--research-teal-soft) 30%,var(--paper)); }
.reuse-evidence > div { min-width:0; }
.reuse-evidence .reuse-overview { margin-top:0; }
.reuse-overview > .method-eyebrow { margin-bottom:10px; }
.reuse-evidence > figcaption { grid-column:1 / -1; display:flex; flex-wrap:wrap; gap:4px 24px; }
.reuse-evidence > figcaption > p + p { margin-top:0; }
.reuse-evidence .workload-sequence { margin-top:20px; padding:14px; border:1px solid var(--rule); border-radius:12px; background:var(--paper); }

/* Model comparisons remain genuine tables with usable mobile widths. */
.results-block { margin-top:38px; padding-top:27px; border-top:1px solid var(--rule); }
.results-grid { margin-top:34px; }
.model-tables { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.model-table-card { min-width:0; padding:19px 17px 8px; border:1px solid var(--rule); border-radius:16px; background:color-mix(in srgb,var(--surface) 45%,var(--paper)); }
.model-table-card .model-table { border-collapse:separate; border-spacing:0; }
.model-table-card .model-table caption { margin-bottom:16px; }
.model-table-card .model-table tr > :last-child { padding-right:9px; padding-left:9px; background:color-mix(in srgb,var(--accent-soft) 60%,var(--paper)); }
.model-table-card .model-table thead th:last-child { border-radius:8px 8px 0 0; color:var(--accent); font-weight:600; }
.model-table-card .model-table tbody tr:last-child > * { border-bottom:0; }
.model-table-card .model-table tbody tr:last-child td:last-child { border-radius:0 0 8px 8px; }
.model-table, .compact-evidence-table { width:100%; border-collapse:collapse; color:var(--ink); font-size:12px; line-height:1.6; font-variant-numeric:tabular-nums; }
.model-table caption { text-align:left; margin-bottom:13px; color:var(--ink); font-size:15px; font-weight:550; }
.model-table th, .model-table td, .compact-evidence-table th, .compact-evidence-table td { padding:10px 5px; border-bottom:1px solid var(--rule); text-align:right; white-space:nowrap; }
.model-table thead th, .compact-evidence-table thead th { color:var(--muted); font-size:11px; font-weight:400; }
.model-table th:first-child, .compact-evidence-table th:first-child { text-align:left; padding-left:0; }
.model-table th:last-child, .model-table td:last-child, .compact-evidence-table th:last-child, .compact-evidence-table td:last-child { padding-right:0; }
.model-table tbody th, .compact-evidence-table tbody th { color:var(--muted); font-weight:400; }
.model-table strong, .compact-evidence-table strong { color:var(--accent); font-weight:600; }
.compact-evidence-table { margin-top:22px; } .compact-evidence-table caption { text-align:left; margin-bottom:8px; font-size:11px; color:var(--muted); line-height:1.7; }
.workload-sequence { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px; margin-top:13px; padding-top:15px; border-top:1px solid var(--rule); }
.workload-sequence span { color:var(--muted); font-size:11px; } .workload-sequence > div:last-child span { color:var(--research-teal); }
.workload-sequence p { margin-top:5px; color:var(--ink); font-size:11px; line-height:1.7; }
.chart-view-controls { display:flex; flex-wrap:wrap; width:fit-content; max-width:100%; gap:3px; align-items:center; margin:15px 0 0; padding:3px; border:1px solid var(--rule); border-radius:999px; background:var(--surface); }
.chart-view-controls[hidden], [data-chart-view][hidden] { display:none; }
.chart-view-controls button { appearance:none; background:none; border:0; border-radius:999px; padding:8px 13px; min-height:44px; color:var(--muted); font:inherit; font-size:12px; line-height:1.6; cursor:pointer; transition:background 160ms ease,color 160ms ease,box-shadow 160ms ease; }
.chart-view-controls button[aria-pressed="true"] { color:var(--accent); background:var(--paper); box-shadow:0 1px 4px rgb(0 0 0 / 7%); }
.chart-view-controls button:hover { color:var(--ink); }
.chart-view-controls button:focus-visible { outline:2px solid var(--accent); outline-offset:3px; border-radius:999px; }
.chart-views .research-source { margin-top:0; }
.batch-evidence { display:grid; grid-template-columns:1fr 1fr; gap:42px; align-items:center; margin-top:32px; padding-top:25px; border-top:1px solid var(--rule); }
.batch-evidence h5 { font-size:20px; } .batch-evidence > div > p:last-child { max-width:55ch; margin-top:10px; font-size:12px; line-height:1.8; }
.batch-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin:0; }
.batch-metrics dt { margin-bottom:9px; color:var(--muted); font-size:12px; } .batch-metrics dd { margin:0; color:var(--accent); font-size:29px; font-weight:500; line-height:1.2; letter-spacing:-.8px; font-variant-numeric:tabular-nums; }
@media (max-width:1000px) {
  .mechanism-band { gap:23px; } .window-loop { grid-template-columns:1fr 1fr; gap:26px; }
  .next-window { grid-column:1 / -1; display:grid; grid-template-columns:1fr 1fr; gap:7px 28px; padding-top:20px; border-top:1px solid var(--rule); }
  .next-window .diagram-label { grid-column:1 / -1; margin:0; } .next-window > p:not(.diagram-label):not(.diagram-note) { margin-top:0; }
  .profile-overview { grid-template-columns:1fr 1fr; } .profile-next { grid-column:1 / -1; }
  .model-tables { gap:20px; } .model-table { font-size:11px; } .model-table thead th { font-size:10px; }
}
@media (max-width:850px) {
  .experiment-overview { grid-template-columns:minmax(0,1fr); gap:24px; }
  .experiment-overview .experiment-metrics { max-width:480px; }
  .experiment-tabs a { padding:14px 12px; gap:10px; }
  .experiment-tab-hint { font-size:10px; }
  .experiment-comparisons { grid-template-columns:minmax(0,1fr); }
  .experiment-panel .evidence-figure, .experiment-panel .model-tables { max-width:none; }
  .reuse-evidence { grid-template-columns:minmax(0,1fr); gap:18px; }
  .evidence-grid { grid-template-columns:minmax(0,1fr); gap:36px; } .evidence-figure { max-width:580px; width:100%; }
  .mechanism-band { grid-template-columns:1fr 1fr; }
  .mechanism-objective { grid-column:1 / -1; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:13px; }
  .mechanism-objective .diagram-label, .mechanism-objective .diagram-note { margin:0; }
  .objective-strip { gap:22px; } .search-stages { grid-template-columns:minmax(0,1fr); gap:30px; } .search-stages > section { max-width:580px; }
  .model-tables { grid-template-columns:minmax(0,1fr); gap:24px; max-width:580px; } .model-table { font-size:13px; } .model-table thead th { font-size:12px; }
  .results-grid > figure + figure { padding-top:27px; border-top:1px solid var(--rule); }
  .batch-evidence { grid-template-columns:minmax(0,1fr); gap:24px; }
}
@media (max-width:600px) {
  .experiment-overview { margin-bottom:24px; gap:22px; }
  .experiment-intro .research-section-header h4 { font-size:25px; }
  .experiment-overview .experiment-metrics > div { padding:16px 18px; }
  .experiment-overview .experiment-metrics strong { font-size:43px; }
  .experiment-tabs { gap:7px; margin-bottom:25px; }
  .experiment-tabs a { flex-direction:column; justify-content:center; gap:7px; min-height:88px; padding:12px 5px; border-radius:12px; text-align:center; }
  .experiment-tab-icon { flex-basis:18px; width:18px; height:18px; }
  .experiment-tab-label { display:flex; align-items:center; justify-content:center; min-height:34px; max-width:94px; font-size:12px; line-height:1.4; text-wrap:balance; }
  .experiment-tab-hint { display:none; }
  .experiment-panel .evidence-heading h5 { font-size:21px; }
  .experiment-panel .evidence-grid { gap:18px; }
  .experiment-panel .result-card { padding:18px 16px; border-radius:15px; }
  .experiment-panel .inline-gain { font-size:35px; }
  .experiment-panel .caption-notes { padding:12px; }
  .experiment-panel .research-chart { width:calc(100% + 12px); max-width:none; margin-left:-6px; }
  .experiment-panel .research-chart text { font-size:18px; }
  .experiment-panel .research-chart .plot-value { font-size:20px; }
  .model-table-card { padding:18px 16px 8px; }
  .serving-summary .research-source { font-size:13px; }
  .evidence-figure figcaption, .native-research .research-source { font-size:13px; line-height:1.8; }
  .evidence-heading h5, .batch-evidence h5 { font-size:21px; } .evidence-figure h5, .evidence-figure h6 { font-size:19px; }
  .evidence-figure .evidence-intro { font-size:13px; } .inline-gain { font-size:26px; }
  .research-chart text { font-size:16px; } .research-chart .plot-value { font-size:18px; } .research-chart .schematic-note { font-size:15px; }
  .mechanism-band { grid-template-columns:minmax(0,1fr); gap:22px; margin:25px 0 30px; padding:22px 0; }
  .mechanism-band > div { grid-column:auto; } .mechanism-choice, .mechanism-effects { padding-bottom:20px; border-bottom:1px solid var(--rule); }
  .mechanism-objective { display:block; } .mechanism-objective .diagram-label { margin-bottom:13px; } .mechanism-objective .diagram-note { margin-top:10px; }
  .effect-pair { max-width:300px; } .plain-fraction { font-size:16px; } .research-implication { grid-template-columns:minmax(0,1fr); gap:9px; }
  .objective-strip { grid-template-columns:minmax(0,1fr); gap:24px; } .native-equation { font-size:26px; } .native-symbols { max-width:390px; }
  .window-loop { grid-template-columns:minmax(0,1fr); gap:22px; } .window-loop .layer-strip { max-width:330px; }
  .window-boundary { padding:3px 0 3px 17px; } .boundary-equation { font-size:22px; }
  .next-window { display:block; grid-column:auto; padding-top:19px; } .next-window .diagram-label { margin-bottom:13px; } .next-window > p:not(.diagram-label):not(.diagram-note) { margin-top:14px; }
  .profile-overview { grid-template-columns:minmax(0,1fr); gap:22px; } .profile-next { grid-column:auto; } .profile-signature { max-width:330px; }
  .head-signature-row { grid-template-columns:100px 1fr; font-size:12px; } .profile-outcomes { grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
  .reuse-rules { grid-template-columns:minmax(0,1fr); gap:23px; } .proposal-pair { gap:20px; } .proposal-pair .layer-slot { font-size:10px; }
  .results-block { margin-top:30px; padding-top:24px; } .chart-legend { gap:7px 14px; font-size:11px; }
  .workload-sequence { gap:12px; } .workload-sequence p { font-size:10px; }
}
@media (max-width:360px) {
  .experiment-tabs { gap:6px; }
  .experiment-tab-label { font-size:11px; max-width:78px; }
  .experiment-overview .experiment-metrics { gap:10px; }
  .experiment-overview .experiment-metrics > div { padding:14px; }
  .experiment-overview .experiment-metrics strong { font-size:39px; }
  .experiment-intro .research-section-header h4 { font-size:23px; }
  .experiment-panel .inline-gain { font-size:32px; }
  .experiment-panel .research-chart text { font-size:21px; }
  .experiment-panel .research-chart .plot-value { font-size:23px; }
  .model-table-card { padding-right:12px; padding-left:12px; }
  .research-chart text { font-size:19px; } .research-chart .plot-value { font-size:21px; } .research-chart .schematic-note { font-size:16px; }
  .native-equation { font-size:23px; } .proposal-pair { grid-template-columns:minmax(0,1fr); } .proposal-pair .layer-strip { max-width:270px; gap:4px; }
  .model-table { font-size:12px; } .model-table thead th { font-size:11px; } .batch-metrics dd { font-size:26px; }
  .workload-sequence { grid-template-columns:minmax(0,1fr); gap:10px; } .workload-sequence p { font-size:12px; }
}
@media (prefers-reduced-motion: reduce) {
  .research-tabs a, .experiment-tabs a, .chart-view-controls button { transition:none; }
}
@media print {
  .experiment-overview { display:block; }
  .experiment-overview .experiment-metrics { max-width:480px; margin-top:20px; }
  .experiment-panel .result-card, .model-table-card { background:none; box-shadow:none; break-inside:avoid; }
  .native-research { --research-teal:#087f73; --research-teal-soft:#e7f3f0; --research-warm:#a7683e; --plot-neutral:#77869b; --plot-third:#a0adbd; --plot-cloud:#93a2b7; --plot-draft:#d7e2ef; --plot-verify:#96abc6; --plot-other:#edf1f6; }
  .experiment-tabs, .chart-view-controls { display:none; }
  .experiment-panel[hidden], [data-chart-view][hidden] { display:block !important; }
  .experiment-tabs[role="tablist"] ~ .experiment-panel + .experiment-panel { margin-top:28px; }
  .evidence-figure, .model-table, .window-loop > section, .profile-outcomes > div { break-inside:avoid; }
}

/* Each experiment page moves from its headline to numbered evidence groups. */
.experiment-panel .experiment-page-heading { display:grid; grid-template-columns:1.05fr 1fr; gap:36px; align-items:center; margin:0 0 30px; padding:4px 0 26px; border-bottom:1px solid var(--rule); }
.experiment-page-heading > div { min-width:0; }
.experiment-panel .experiment-page-heading h5 { margin-top:7px; font-size:25px; }
.experiment-panel .experiment-page-heading > p { margin:0; max-width:none; font-size:14px; line-height:1.85; }
.experiment-section-heading { display:flex; align-items:center; gap:14px; margin-bottom:21px; }
.experiment-section-heading > div { min-width:0; }
.experiment-section-number { display:flex; align-items:center; justify-content:center; flex:0 0 38px; width:38px; height:38px; border:1px solid color-mix(in srgb,var(--accent) 20%,var(--rule)); border-radius:12px; background:var(--accent-soft); color:var(--accent); font-size:12px; font-weight:550; font-variant-numeric:tabular-nums; }
.experiment-section-heading .method-eyebrow { margin:0; }
.experiment-section-heading h6 { margin:5px 0 0; color:var(--ink); font-size:21px; line-height:1.4; font-weight:550; letter-spacing:-.35px; text-wrap:pretty; }
.experiment-evidence-label { display:flex; align-items:center; gap:12px; margin-bottom:18px; }
.experiment-evidence-label .method-eyebrow { margin:0; color:var(--accent); line-height:1.65; }
.experiment-panel .experiment-comparisons { margin-top:30px; }
.experiment-panel .experiment-feature { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.35fr); gap:22px 34px; padding:28px; }
.experiment-feature + .experiment-feature { margin-top:26px; }
.experiment-feature-summary, .experiment-feature-chart { min-width:0; }
.experiment-feature-chart { align-self:start; }
.experiment-feature-summary .evidence-intro { margin-bottom:0; }
.experiment-panel .experiment-feature h6 { font-size:22px; line-height:1.45; }
.experiment-panel .experiment-feature .inline-gain { font-size:48px; margin-bottom:10px; }
.experiment-feature-chart > .chart-legend { margin-top:0; }
.experiment-feature-chart > .plot-unit:first-child { margin-top:0; }
.experiment-feature > figcaption { grid-column:1 / -1; }
.experiment-panel .experiment-feature > .caption-notes { display:grid; grid-template-columns:1fr 1.25fr 1fr; gap:18px 24px; margin-top:0; padding:19px 20px; }
.experiment-feature > .caption-notes > p + p { margin-top:0; }
.experiment-panel .precision-evidence { align-items:center; }
.precision-evidence .experiment-feature-chart { align-self:center; width:100%; max-width:440px; justify-self:center; }
.experiment-panel .precision-evidence > figcaption { display:flex; flex-wrap:wrap; gap:4px 24px; margin-top:0; }
.precision-evidence > figcaption > p + p { margin-top:0; }
.experiment-panel .adaptation-comparisons { align-items:start; }
.experiment-panel .adaptation-support { margin-top:22px; padding:15px 16px 8px; border:1px solid var(--rule); border-radius:12px; background:var(--surface); }
.adaptation-support .compact-evidence-table { margin-top:0; }
.adaptation-support .compact-evidence-table caption { margin-bottom:10px; color:var(--ink); font-size:12px; }
.adaptation-support .compact-evidence-table tbody tr:last-child > * { border-bottom:0; }
.experiment-panel .reuse-evidence { margin-top:26px; }
.reuse-evidence .experiment-evidence-label .method-eyebrow { color:var(--research-teal); }
.reuse-evidence .experiment-section-number { color:var(--research-teal); border-color:color-mix(in srgb,var(--research-teal) 25%,var(--rule)); background:var(--research-teal-soft); }
.experiment-panel .batch-evidence h6 { margin:0; color:var(--ink); font-size:19px; line-height:1.45; font-weight:550; letter-spacing:-.3px; }
@media (max-width:1000px) {
  .experiment-panel .experiment-feature { padding:24px; gap:20px 25px; }
  .experiment-panel .experiment-feature > .caption-notes { gap:18px; padding:17px; }
}
@media (max-width:850px) {
  .experiment-panel .experiment-page-heading { grid-template-columns:minmax(0,1fr); gap:14px; }
  .experiment-panel .experiment-feature { grid-template-columns:minmax(0,1fr); gap:24px; }
  .experiment-feature-summary { max-width:65ch; }
  .experiment-panel .experiment-feature > .caption-notes { grid-template-columns:minmax(0,1fr); gap:13px; }
  .precision-evidence .experiment-feature-chart { max-width:480px; }
}
@media (max-width:600px) {
  .experiment-panel .experiment-page-heading { margin-bottom:24px; padding-bottom:22px; }
  .experiment-panel .experiment-page-heading h5 { font-size:22px; }
  .experiment-panel .experiment-page-heading > p { font-size:13px; }
  .experiment-section-heading { align-items:flex-start; gap:12px; margin-bottom:18px; }
  .experiment-section-number { flex-basis:32px; width:32px; height:32px; border-radius:10px; font-size:11px; }
  .experiment-section-heading h6 { font-size:20px; }
  .experiment-evidence-label { margin-bottom:16px; }
  .experiment-panel .experiment-comparisons { margin-top:24px; }
  .experiment-panel .experiment-feature { padding:18px 16px; gap:22px; }
  .experiment-panel .experiment-feature h6 { font-size:20px; }
  .experiment-panel .experiment-feature .inline-gain { font-size:40px; }
  .experiment-panel .experiment-feature > .caption-notes { padding:14px; gap:14px; }
  .experiment-panel .caption-label { font-size:13px; }
  .experiment-panel .adaptation-support { padding:13px 12px 6px; }
  .adaptation-support .compact-evidence-table caption { font-size:13px; }
}
@media (max-width:360px) {
  .experiment-panel .experiment-page-heading h5 { font-size:21px; }
  .experiment-section-heading h6 { font-size:19px; }
  .experiment-panel .experiment-feature .inline-gain { font-size:36px; }
}
@media print {
  .experiment-panel .experiment-page-heading { break-after:avoid; }
  .experiment-section-heading, .experiment-evidence-label { break-after:avoid; }
  .experiment-panel .adaptation-support { background:none; }
}

/* Paper-aligned explanations stay close to the mechanism or measured evidence. */
.problem-page .research-implication .problem-design-copy p + p { margin-top:12px; }
.method-page .calibration-detail { padding:24px; border-bottom:1px solid var(--rule); }
.calibration-detail > .method-eyebrow { margin:0; }
.calibration-detail h6 { margin:7px 0 10px; color:var(--ink); font-size:19px; line-height:1.45; font-weight:550; letter-spacing:-.25px; }
.calibration-detail > p:not(.method-eyebrow):not(.research-source) { max-width:86ch; margin:0; font-size:13px; line-height:1.85; }
.calibration-flow { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; list-style:none; margin:19px 0 16px; padding:0; }
.calibration-flow > li { min-width:0; padding:17px 18px; border:1px solid var(--rule); border-radius:12px; background:var(--surface); }
.calibration-label { color:var(--accent); font-size:11px; font-weight:550; }
.calibration-equation { margin:9px 0; color:var(--ink); font-size:21px; line-height:1.6; white-space:nowrap; }
.calibration-equation sub { font-size:65%; }
.calibration-flow p { margin:0; color:var(--muted); font-size:12px; line-height:1.8; }
.calibration-detail > .research-source { margin:0; }
.experiment-measurement { display:flex; gap:10px 20px; align-items:baseline; padding:15px 18px; margin:0 0 24px; border:1px solid var(--rule); border-radius:13px; background:var(--surface); }
.experiment-measurement > strong { flex-shrink:0; color:var(--ink); font-size:12px; line-height:1.8; font-weight:550; }
.experiment-measurement > p { margin:0; color:var(--muted); font-size:12px; line-height:1.85; }
.experiment-panel .selection-note { margin:18px 0 0; padding:13px 15px; border-left:2px solid color-mix(in srgb,var(--accent) 45%,var(--rule)); border-radius:0 10px 10px 0; background:color-mix(in srgb,var(--accent-soft) 35%,var(--paper)); color:var(--muted); font-size:12px; line-height:1.85; }
.selection-note > strong { display:block; margin-bottom:4px; color:var(--ink); font-weight:550; }
.experiment-panel .ablation-note { margin:10px 0 6px; color:var(--muted); font-size:11px; line-height:1.8; }
.experiment-panel .broader-validation { margin-top:32px; }
.validation-card .validation-title { margin:0; color:var(--ink); font-size:19px; line-height:1.45; font-weight:550; letter-spacing:-.3px; text-wrap:pretty; }
.validation-table { width:100%; border-collapse:collapse; font-size:13px; line-height:1.6; font-variant-numeric:tabular-nums; }
.validation-table caption { text-align:left; margin:0 0 11px; color:var(--muted); font-size:12px; }
.validation-table th, .validation-table td { padding:13px 7px; border-bottom:1px solid var(--rule); text-align:right; }
.validation-table th:first-child { text-align:left; padding-left:0; width:43%; overflow-wrap:anywhere; }
.validation-table tr > :last-child { padding-right:0; }
.validation-table thead th { color:var(--muted); font-size:11px; font-weight:400; vertical-align:bottom; }
.validation-table tbody th { color:var(--ink); font-size:13px; font-weight:500; }
.validation-table tbody tr:last-child > * { border-bottom:0; }
.validation-table td { white-space:nowrap; }
.validation-table strong { color:var(--accent); font-weight:600; }
.validation-context { display:block; margin-top:3px; color:var(--muted); font-size:11px; font-weight:400; }
@media (max-width:1000px) {
  .calibration-flow { gap:10px; }
  .calibration-flow > li { padding:15px 14px; }
  .calibration-equation { font-size:19px; }
}
@media (max-width:850px) {
  .experiment-measurement { display:block; }
  .experiment-measurement > p { margin-top:5px; }
}
@media (max-width:600px) {
  .method-page .calibration-detail { padding:18px; }
  .calibration-detail h6 { font-size:18px; }
  .calibration-flow { grid-template-columns:minmax(0,1fr); gap:12px; }
  .calibration-flow > li { padding:16px; }
  .calibration-equation { font-size:22px; }
  .calibration-flow p { font-size:13px; }
  .experiment-measurement { padding:14px 16px; margin-bottom:22px; }
  .experiment-measurement > p, .experiment-panel .selection-note { font-size:13px; }
  .experiment-panel .ablation-note { font-size:12px; }
  .experiment-panel .broader-validation { margin-top:28px; }
  .validation-table th, .validation-table td { padding:13px 5px; }
}
@media (max-width:360px) {
  .validation-table { font-size:12px; }
  .validation-table tbody th { font-size:12px; }
  .validation-table thead th { font-size:10px; }
}
@media print {
  .calibration-flow > li, .experiment-measurement, .experiment-panel .selection-note { background:none; }
  .calibration-flow > li, .validation-card { break-inside:avoid; }
}

/* Keep independent mechanism ablations distinct from replay-trace measurements. */
.experiment-panel .adaptation-checks { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:26px 36px; align-items:center; margin-top:26px; background:color-mix(in srgb,var(--surface) 40%,var(--paper)); }
.adaptation-checks > div { min-width:0; }
.adaptation-checks h6 { margin:0; color:var(--ink); font-weight:550; letter-spacing:-.3px; }
.adaptation-checks .evidence-intro { margin:12px 0; font-size:13px; line-height:1.8; }
.adaptation-checks .research-source { margin:0; }
.experiment-panel .adaptation-checks .adaptation-support { margin:0; padding:0; border:0; background:none; }
@media (max-width:850px) {
  .experiment-panel .adaptation-checks { grid-template-columns:minmax(0,1fr); gap:22px; }
}
