@charset "UTF-8";
.method-page { --violet-line: #514360; }
.method-page main { max-width: 1800px; }
.method-hero { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 40px; padding: 47px 0 35px; }
.method-hero h1 { font-size: clamp(42px,4vw,62px); line-height: 1.08; font-weight: 450; letter-spacing: -2.3px; }
.method-hero h1 em { font-style: normal; color: var(--green); }
.method-hero p { max-width: 465px; font-size: 13px; color: var(--muted); line-height: 1.9; margin: 22px 0 25px; }
.method-hero .button { padding-left: 20px; padding-right: 20px; gap: 26px; }
.hero-system { height: 310px; position: relative; background: radial-gradient(ellipse at center,#253d2e33,transparent 65%); }
.hero-orbit { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%) rotate(-20deg); border: 1px solid #304337; border-radius: 50%; width: 340px; height: 240px; }
.orbit-two { width: 240px; height: 170px; border-color: #283f32; border-style: dashed; transform: translate(-50%,-50%) rotate(25deg); }
.hero-core { width: 166px; height: 117px; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); border: 1px solid #42624b; border-radius: 14px; background: linear-gradient(150deg,#24382a,#17261d); display: flex; flex-direction: column; justify-content: center; align-items: center; box-shadow: 0 10px 60px #0004; }
.hero-core > span { font-size: 28px; color: var(--green); line-height: 1.25; }
.hero-core strong { font-size: 12px; font-weight: 500; margin-top: 7px; }
.hero-core small { color: #8da898; font-size: 9px; margin-top: 3px; }
.hero-token { position: absolute; border: 1px solid #35443d; background: #121b17; border-radius: 9px; padding: 9px 13px; text-align: center; min-width: 100px; }
.hero-token > span { font-size: 19px; color: var(--green); }
.hero-token small { display: block; font-size: 8px; color: var(--muted); }
.token-a { left: 3%; top: 44px; transform: rotate(-5deg); }
.token-b { right: 0; top: 17px; transform: rotate(5deg); border-color: #4c405e; background: #1c1826; }
.token-b > span { color: var(--violet); }
.token-c { bottom: 6px; right: 15%; transform: rotate(-3deg); }
.orbit-dot { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px #a7dcb52a; }
.dot-one { left: 14%; bottom: 57px; } .dot-two { right: 13%; top: 51%; background: var(--violet); } .dot-three { top: 30px; left: 48%; width: 4px; height: 4px; }
.chapter-nav { display: grid; grid-template-columns: repeat(5,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 15px 0; gap: 8px; }
.chapter-nav a { font-size: 11px; color: #b8c5bd; padding: 7px 12px; border-radius: 5px; }
.chapter-nav a:hover { background: #1b2820; color: var(--green); }
.chapter-nav span { color: #708879; margin-right: 10px; font-size: 10px; }
.method-intro { display: flex; align-items: flex-start; gap: 14px; padding: 22px 0 8px; }
.method-intro p { font-size: 11px; color: var(--muted); max-width: 980px; line-height: 1.85; }
.method-intro strong { font-weight: 500; color: #c1cec7; }
.method-section { margin-top: 43px; scroll-margin-top: 25px; }
.chapter-heading { display: flex; gap: 17px; align-items: flex-start; margin-bottom: 20px; }
.chapter-number { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border: 1px solid #3a5040; background: #17251d; border-radius: 11px; color: var(--green); font-size: 12px; font-variant-numeric: tabular-nums; }
.chapter-heading .section-index { margin-bottom: 4px; }
.chapter-heading h2 { font-size: 25px; font-weight: 450; letter-spacing: -.65px; }
.chapter-heading p { font-size: 12px; color: var(--muted); max-width: 800px; margin-top: 9px; line-height: 1.8; }
.violet-number { border-color: #514361; background: #211c2b; color: var(--violet); }
.amber-number { border-color: #544737; background: #262119; color: var(--orange); }
.lab-top { padding: 17px 24px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 15px; flex-wrap: wrap; }
.lab-label { color: #96b49f; font-size: 8px; letter-spacing: 1.3px; }
.lab-caption { font-size: 9px; color: var(--muted); }
.population-visual { display: grid; grid-template-columns: 1fr 28px 1fr 28px .85fr; align-items: center; gap: 17px; padding: 25px 28px; }
.visual-heading { display: flex; justify-content: space-between; align-items: center; font-size: 11px; gap: 12px; margin-bottom: 16px; }
.visual-heading strong { font-weight: 500; } .visual-heading > span { font-size: 9px; color: #86998e; }
.agent-grid { min-height: 116px; display: grid; grid-template-columns: repeat(10,1fr); grid-auto-rows: 14px; align-content: center; gap: 8px 6px; padding: 5px 2px; }
.agent-grid > span { width: 10px; height: 10px; justify-self: center; border-radius: 50%; background: #789887; border: 1px solid #9cbeaa33; }
.agent-grid > span:nth-child(3n) { opacity: .55; } .agent-grid > span:nth-child(5n) { background: #b5d5bf; }
.agent-grid > span.changed-agent { opacity: 1; background: var(--orange); box-shadow: 0 0 0 4px #e4b17d15; }
.dot-caption { color: var(--muted); font-size: 9px; margin-top: 17px; }
.dot-caption i { display: inline-block; height: 5px; width: 5px; background: var(--orange); border-radius: 50%; margin-right: 5px; }
.dot-caption span { display: block; margin-top: 5px; color: #70867a; font-size: 8px; }
.flow-divider { color: #5b7966; font-size: 22px; text-align: center; }
.histogram { height: 110px; display: flex; align-items: flex-end; gap: 6px; border-bottom: 1px solid #354a3c; padding: 5px 0 0; }
.histogram > span { flex: 1; background: linear-gradient(0deg,#355a43,#92bd9f); border-radius: 3px 3px 0 0; min-height: 2px; }
.histogram-axis { font-size: 8px; color: #83988b; display: flex; justify-content: space-between; margin: 6px 0 12px; }
.math-chip { font-size: 12px; color: #b6cabf; text-align: center; font-family: ui-serif,Georgia,serif; }
.mean-readout { text-align: center; padding: 25px 14px; border: 1px solid #374f40; border-radius: 10px; background: #17241c; }
.mean-readout > strong { font-size: 37px; font-weight: 400; display: block; color: var(--green); margin-top: 9px; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.mean-baseline { font-size: 9px; color: #8ca694; }
.mean-delta { margin: 12px 0; border-top: 1px solid #304736; padding-top: 12px; color: var(--muted); font-size: 12px; }
.mean-delta strong { font-weight: 500; color: var(--orange); }
.lab-controls { border-top: 1px solid var(--line); padding: 22px 28px; }
.two-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.method-page label, .inline-label { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; color: #aabbaf; margin-bottom: 11px; }
.method-page output { font-variant-numeric: tabular-nums; color: var(--green); white-space: nowrap; }
.method-page input[type=range] { margin: 9px 0; width: 100%; height: 5px; }
.method-page select { width: 100%; background: #19231d; color: #c1d2c6; border: 1px solid #35463b; padding: 9px 12px; border-radius: 6px; font-size: 12px; }
.method-page select:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.control-extents { display: flex; justify-content: space-between; gap: 12px; font-size: 8px; color: #819589; margin-top: 7px; }
.takeaway { display: flex; gap: 12px; padding: 15px 24px; border-top: 1px solid #2d3b32; background: #152019; color: #95ad9d; font-size: 11px; line-height: 1.85; }
.takeaway > span { font-size: 17px; color: var(--green); }
.takeaway strong { font-weight: 500; color: #c0d8c8; }
.method-detail { border: 1px solid var(--line); border-radius: 7px; margin-top: 13px; background: #0f1519; }
.method-detail summary { padding: 14px 19px; cursor: pointer; font-size: 11px; color: #a2b4ab; }
.method-detail summary::marker { color: #6d8b7b; }
.method-detail p { font-size: 11px; color: #91a79b; line-height: 1.9; padding: 0 20px 18px; }
.method-detail strong { color: #bdcfc5; font-weight: 500; }
.method-detail h3 { font-size: 13px; padding: 3px 20px 9px; }
.detail-columns { display: grid; grid-template-columns: 1fr 1fr; }
.equilibrium-loop { display: grid; grid-template-columns: 1fr 26px 1fr 26px 1fr; align-items: center; gap: 16px; margin-bottom: 20px; padding: 22px 28px 0; border: 1px solid #3b3349; background: #16131e; border-radius: 10px; }
.equilibrium-loop > div:not(.loop-return) { display: flex; align-items: center; flex-direction: column; text-align: center; }
.loop-symbol { font-size: 16px; font-family: ui-serif,Georgia,serif; border: 1px solid #4b3d5c; color: var(--violet); background: #272031; border-radius: 8px; padding: 4px 14px; margin-bottom: 10px; }
.equilibrium-loop strong { font-weight: 500; font-size: 12px; }
.equilibrium-loop small { color: #a195b2; font-size: 10px; margin-top: 4px; }
.loop-arrow { color: #8e7aa8; font-size: 20px; }
.loop-return { grid-column: 1/-1; text-align: center; font-size: 10px; color: #a699b9; border-top: 1px dashed #42344e; padding: 11px 0; margin-top: 8px; }
.loop-return span { margin-right: 8px; color: var(--violet); }
.violet-text { color: var(--violet); } .mint-text { color: var(--green); } .amber-text { color: var(--orange); }
.violet-tag { color: #c5b4df; background: #272031; border-color: #4c3c5e; }
.equilibrium-grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); padding: 25px 28px; gap: 30px; }
.equilibrium-explanation h3,.allocation-controls h3 { font-size: 16px; margin-bottom: 11px; }
.equilibrium-explanation > p { color: var(--muted); font-size: 11px; line-height: 1.85; }
.equation-box { padding: 15px; margin: 17px 0 22px; background: #1c1924; border: 1px solid #3c3448; border-radius: 7px; display: flex; flex-direction: column; gap: 8px; }
.equation-box span { color: #aa9bbb; font-size: 11px; }
.equation-box strong { font: 16px ui-serif,Georgia,serif; color: #d5c4ec; }
.iteration-actions { display: flex; gap: 8px; margin-top: 20px; }
.iteration-actions .primary { flex: 1; }
.icon-button { color: #a4b5aa; background: #1a251e; border: 1px solid #34473b; min-width: 36px; border-radius: 6px; font-size: 18px; }
.small-explanation,.equilibrium-explanation > .small-explanation { font-size: 10px; color: #8d9e94; line-height: 1.85; margin-top: 15px; }
.equilibrium-results { min-width: 0; border-left: 1px solid var(--line); padding-left: 25px; }
#equilibrium-chart { width: 100%; display: block; overflow: visible; }
.chart-gridline { stroke: #2b3631; stroke-width: 1; stroke-dasharray: 3 5; }
.chart-label { fill: #91a296; font: 10px ui-sans-serif,sans-serif; }
.chart-legend { display: flex; gap: 14px; font-size: 9px; color: #9bada2; margin: 6px 0 22px; flex-wrap: wrap; }
.chart-legend > span { display: flex; align-items: center; gap: 6px; }
.legend-line { width: 17px; height: 2px; background: var(--green); }
.violet-line { background: var(--violet); } .dashed-line { height: 0; background: none; border-top: 1px dashed #869085; }
.residual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.residual-grid > div { border: 1px solid #34423a; border-radius: 8px; background: #151e19; padding: 12px; }
.residual-grid span { font-size: 9px; color: #9cb0a2; display: block; }
.residual-grid strong { font-size: 23px; font-weight: 400; color: var(--green); display: block; margin: 5px 0 3px; font-variant-numeric: tabular-nums; letter-spacing: -.5px; }
.residual-grid small { color: #829b8a; font-size: 8px; }
.type-actions { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); margin-top: 17px; padding-top: 14px; font-size: 9px; color: #94aa9c; }
.type-actions strong { font-size: 11px; color: #c4b5d8; margin-left: 4px; font-weight: 500; }
.violet-takeaway { background: #1b1723; border-top-color: #3c334a; color: #a89dbb; }
.violet-takeaway strong,.violet-takeaway > span { color: #d0bfeb; }
.neural-diagram { display: grid; grid-template-columns: minmax(135px,.7fr) 35px minmax(0,3fr); gap: 13px; padding: 29px 28px; align-items: center; }
.diagram-label { font-size: 8px; color: #8ca699; letter-spacing: .9px; display: block; margin-bottom: 13px; }
.input-stack > div { padding: 10px; background: #19241e; border: 1px solid #32463a; border-radius: 5px; font-size: 9px; color: #a3b6a9; margin-top: 6px; }
.input-stack strong { font-weight: 500; display: block; color: #d2dfd5; font-size: 13px; margin-top: 4px; }
.neural-fork { color: #638a71; font-size: 23px; line-height: 3.2; }
.neural-branches { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.neural-branch { display: grid; grid-template-columns: minmax(0,1fr) 17px minmax(0,1.05fr) 17px minmax(0,.85fr); gap: 7px; align-items: center; padding: 15px 13px; border: 1px solid #344e3d; background: #141f18; border-radius: 9px; }
.payment-branch { background: #1b1722; border-color: #463950; }
.encoder-box,.head-box,.output-box { display: flex; flex-direction: column; align-items: center; text-align: center; }
.mini-network { font-size: 11px; letter-spacing: 2px; line-height: 1.5; color: #80ac8f; margin-bottom: 10px; }
.neural-branch strong { font-size: 10px; font-weight: 500; color: #c0d5c6; }
.neural-branch small { color: #7e9b87; font-size: 8px; margin-top: 6px; }
.branch-arrow { color: #658e73; font-size: 17px; }
.head-box > span { font-size: 13px; font-family: ui-serif,Georgia,serif; color: var(--green); margin-top: 9px; }
.output-box { padding: 12px 7px; border: 1px solid #3e5e46; background: #203126; border-radius: 6px; }
.output-box > span { color: #95b29e; font-size: 7px; letter-spacing: .8px; }
.output-box strong { color: var(--green); font: 16px ui-serif,Georgia,serif; margin-top: 11px; }
.payment-branch .mini-network,.payment-branch .head-box > span,.payment-branch .output-box strong { color: var(--violet); }
.payment-branch .output-box { background: #2a2235; border-color: #534361; }
.payment-branch .output-box > span,.payment-branch small { color: #9f8eb3; }
.payment-branch .branch-arrow { color: #967eb2; }
.projection-formula { display: flex; align-items: center; gap: 17px; padding: 13px 28px; border-block: 1px solid var(--line); background: #141b17; flex-wrap: wrap; }
.projection-formula > span { font-size: 10px; color: #99ae9f; }
.projection-formula code { font-size: 12px; color: #c3d7ca; }
.projection-formula small { font-size: 9px; color: #7e9787; }
.training-explorer { padding: 24px 28px; }
.training-heading { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.training-heading h3 { font-size: 16px; margin-top: 6px; }
.training-steps { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; margin: 22px 0; }
.training-steps button { background: #17201b; border: 1px solid #303e35; border-radius: 7px; padding: 13px 9px; font-size: 10px; color: #91a89a; text-align: left; }
.training-steps button > span { display: block; font-size: 9px; color: #6e9179; margin-bottom: 6px; }
.training-steps button.active { background: #24392b; border-color: #648b6e; color: #cce2d3; }
.training-steps button.active > span { color: var(--green); }
.training-detail { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; min-height: 95px; align-items: center; }
.training-detail h3 { font-size: 13px; margin-bottom: 7px; }
.training-detail p { color: #96a99e; font-size: 11px; line-height: 1.85; }
.training-equation { border-left: 2px solid #557761; padding: 13px 18px; background: #1a2720; font: 16px/1.7 ui-serif,Georgia,serif; color: #c0dac9; overflow-wrap: anywhere; }
.incentive-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; padding: 26px 28px; }
.incentive-controls label:not(:first-child),.allocation-controls label { margin-top: 23px; }
.client-assumptions { display: flex; gap: 12px; margin-top: 28px; padding: 13px 0 0; border-top: 1px solid var(--line); }
.client-assumptions > span { flex: 1; font-size: 9px; color: #95a99c; }
.client-assumptions strong { display: block; color: #c9d8ce; font-weight: 500; font-size: 15px; margin-top: 5px; }
.surplus-comparison > div { display: grid; grid-template-columns: 70px 1fr 40px; gap: 13px; align-items: center; margin: 7px 0 15px; }
.surplus-comparison span { font-size: 10px; color: #a4b6a9; }
.surplus-comparison strong { font-size: 12px; font-weight: 500; text-align: right; }
.surplus-track { height: 12px; border-radius: 3px; background: #253229; overflow: hidden; }
.surplus-track i { display: block; height: 100%; background: #9bccaa; border-radius: 3px; }
.cost-track i { background: var(--orange); }
.surplus-value { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 23px; }
.surplus-value > span { font-size: 11px; color: #9faf9f; }
.surplus-value strong { font-size: 29px; font-weight: 400; font-variant-numeric: tabular-nums; color: var(--green); }
.surplus-value strong.negative { color: var(--orange); }
.local-checks { list-style: none; padding: 12px 0; margin: 14px 0 0; border-top: 1px solid var(--line); }
.local-checks li { display: flex; justify-content: space-between; gap: 12px; color: #a1b5a7; font-size: 10px; margin: 6px 0; }
.local-checks li strong { color: var(--green); font-weight: 500; }
.local-checks li.failed strong { color: var(--orange); }
.participation-verdict { padding: 12px 15px; background: #203528; border: 1px solid #3b6045; border-radius: 7px; color: #c7e0cf; font-size: 12px; }
.participation-verdict small { display: block; font-size: 10px; color: #9dbfa7; margin-top: 4px; }
.participation-verdict.declined { background: #2b231b; border-color: #5d4834; color: #e5bd96; }
.participation-verdict.declined small { color: #ba9b7c; }
.amber-takeaway { background: #211d17; border-top-color: #463b2d; color: #b4a591; }
.amber-takeaway > span,.amber-takeaway strong { color: #e0bf9e; }
.allocation-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 35px; padding: 26px 28px; }
.objective-equation { background: #171e1b; border: 1px solid #33453a; padding: 17px 15px; border-radius: 8px; margin: 18px 0 23px; }
.objective-equation > span { display: block; font-size: 7px; letter-spacing: 1px; color: #879c8f; }
.objective-equation > strong { display: block; font: 20px ui-serif,Georgia,serif; margin: 13px 0; }
.objective-equation em { font-style: normal; color: var(--violet); } .objective-equation b { font-weight: 400; color: var(--green); }
.objective-equation small { color: #97afa0; font-size: 11px; }
.allocation-results { border-left: 1px solid var(--line); padding-left: 28px; }
.allocation-bars { display: grid; gap: 18px; margin-top: 25px; }
.allocation-row { display: grid; grid-template-columns: 66px 1fr 48px; align-items: center; gap: 13px; }
.allocation-row > div:first-child strong { display: block; font-size: 11px; font-weight: 500; }
.allocation-row small { color: #819889; font-size: 8px; }
.allocation-track { height: 26px; border: 1px solid #33473a; background: #1a241e; border-radius: 4px; overflow: hidden; }
.allocation-track > span { display: block; height: 100%; background: linear-gradient(90deg,#42694f,#9ac9a7); border-radius: 3px; }
.allocation-row > strong { font-size: 15px; color: var(--green); font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.allocation-stats { display: flex; gap: 15px; justify-content: space-between; padding: 18px 0; border-block: 1px solid var(--line); margin-top: 25px; }
.allocation-stats span { font-size: 9px; color: #92a99b; display: block; }
.allocation-stats strong { display: block; color: #c4d8ca; font-size: 17px; font-weight: 450; margin-top: 5px; }
.objective-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 17px; }
.objective-comparison span { display: block; font-size: 9px; color: #92a99b; }
.objective-comparison strong { display: block; font-size: 26px; font-weight: 400; color: var(--green); margin-top: 3px; }
.objective-comparison > div:last-child strong { color: #97aaa0; }
.objective-components { display: flex; gap: 15px; flex-wrap: wrap; font-size: 9px; margin-top: 12px; }
.objective-components strong { font-weight: 500; margin-left: 5px; }
.method-end { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 26px; margin-top: 42px; background: linear-gradient(100deg,#1a2b20,#111a16); border-color: #354b3b; }
.method-end h2 { font-size: 23px; font-weight: 450; }
.method-end p { font-size: 11px; color: #94ad9d; max-width: 620px; margin-top: 10px; line-height: 1.9; }
.method-page footer > a { margin-left: auto; color: #9db5a5; font-size: 10px; }
@media(min-width:1600px) { .method-page main { padding-inline: 50px; } .method-hero { gap: 80px; } }
@media(max-width:1250px) {
  .method-hero { gap: 20px; } .method-hero h1 { font-size: 47px; } .hero-system { height: 290px; }
  .hero-orbit { width: 270px; height: 220px; } .orbit-two { width: 210px; height: 165px; }
  .hero-core { width: 145px; } .hero-token { min-width: 90px; padding: 8px 9px; }
  .population-visual { padding: 23px; gap: 12px; grid-template-columns: 1fr 20px 1fr 20px .85fr; }
  .mean-readout { padding: 22px 9px; } .mean-readout .lab-label { font-size: 7px; }
  .agent-grid { gap: 8px 3px; } .agent-grid > span { width: 8px; height: 8px; }
  .equilibrium-grid { gap: 22px; padding: 24px; } .equilibrium-results { padding-left: 20px; }
  .neural-diagram { padding: 24px; grid-template-columns: 125px 18px 1fr; gap: 9px; }
  .neural-branch { padding: 14px 9px; gap: 4px; } .neural-branch strong { font-size: 9px; }
  .output-box strong { font-size: 14px; } .head-box > span { font-size: 12px; }
  .allocation-grid { gap: 22px; } .allocation-results { padding-left: 22px; }
  .objective-equation > strong { font-size: 18px; }
}
@media(max-width:800px) {
  .method-hero h1 { font-size: 40px; } .method-hero p { font-size: 12px; }
  .hero-system { height: 260px; } .hero-orbit { width: 230px; height: 190px; } .orbit-two { width: 170px; height: 145px; }
  .hero-core { width: 125px; height: 105px; } .hero-core strong { font-size: 10px; } .hero-core small { font-size: 8px; }
  .hero-token { min-width: 75px; padding: 6px; } .hero-token small { font-size: 6px; } .token-a { top: 20px; left: 0; } .token-b { top: 3px; right: -5px; }
  .chapter-nav a { font-size: 10px; padding: 6px 4px; } .chapter-nav span { display: block; margin: 0 0 4px; }
  .chapter-heading h2 { font-size: 22px; } .population-visual { grid-template-columns: 1fr 18px 1fr; }
  .population-visual > .flow-divider:nth-of-type(4) { display: none; }
  .mean-readout { grid-column: 1/-1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4px 20px; padding: 17px; }
  .mean-readout > .lab-label { font-size: 8px; } .mean-readout > strong { grid-row: 2; grid-column: 1; margin-top: 0; font-size: 31px; }
  .mean-readout .mean-baseline { grid-column: 1; grid-row: 3; } .mean-delta { grid-column: 2; grid-row: 1/3; border: 0; margin: 0; }
  .mean-readout .math-chip { grid-column: 2; grid-row: 3; font-size: 11px; }
  .equilibrium-grid,.incentive-grid,.allocation-grid { grid-template-columns: 1fr; gap: 25px; }
  .equilibrium-results,.allocation-results { border-left: 0; border-top: 1px solid var(--line); padding: 22px 0 0; }
  .equilibrium-loop { gap: 8px; padding: 18px 14px 0; grid-template-columns: 1fr 16px 1fr 16px 1fr; }
  .equilibrium-loop strong { font-size: 10px; } .equilibrium-loop small { font-size: 8px; }
  .neural-diagram { grid-template-columns: 1fr; gap: 15px; } .input-stack { display: flex; gap: 8px; flex-wrap: wrap; }
  .diagram-label { width: 100%; margin-bottom: 0; } .input-stack > div { flex: 1; margin-top: 0; }
  .neural-fork { display: none; } .neural-branch { padding: 17px 13px; gap: 6px; }
  .neural-branch strong { font-size: 11px; } .output-box strong { font-size: 17px; }
  .training-detail { grid-template-columns: 1fr; gap: 17px; } .training-steps { gap: 5px; }
  .training-steps button { font-size: 9px; padding: 10px 7px; }
  .detail-columns { grid-template-columns: 1fr; } .method-end { flex-wrap: wrap; }
}
@media(max-width:520px) {
  .method-hero { padding: 28px 0 25px; gap: 7px; grid-template-columns: 1fr; }
  .method-hero h1 { font-size: 44px; } .method-hero p { margin: 17px 0 20px; font-size: 12px; }
  .hero-system { height: 240px; max-width: 330px; width: 100%; justify-self: center; margin-top: 15px; }
  .hero-orbit { width: 270px; height: 195px; } .orbit-two { width: 210px; height: 150px; }
  .hero-core { width: 145px; height: 105px; } .hero-core strong { font-size: 11px; }
  .hero-token { padding: 8px 10px; } .hero-token small { font-size: 8px; }
  .token-a { top: 19px; left: 2%; } .token-b { top: 0; right: 0; } .token-c { bottom: -3px; right: 10%; }
  .chapter-nav { gap: 2px; padding: 10px 0; } .chapter-nav a { font-size: 8px; padding: 5px 1px; }
  .chapter-nav span { font-size: 9px; } .method-intro { padding-top: 17px; } .method-intro p { font-size: 10px; }
  .method-section { margin-top: 35px; } .chapter-heading { gap: 11px; }
  .chapter-number { width: 31px; height: 33px; font-size: 10px; border-radius: 8px; }
  .chapter-heading h2 { font-size: 22px; } .chapter-heading p { font-size: 11px; }
  .chapter-heading .section-index { font-size: 7px; letter-spacing: 1.1px; }
  .lab-top { padding: 15px 17px; gap: 7px; } .lab-label { font-size: 7px; letter-spacing: 1px; }
  .lab-caption { font-size: 8px; } .population-visual { padding: 20px 17px; gap: 12px 5px; }
  .visual-heading { flex-wrap: wrap; gap: 4px; font-size: 10px; margin-bottom: 12px; }
  .visual-heading > span { font-size: 8px; } .agent-grid { gap: 7px 3px; grid-auto-rows: 13px; }
  .agent-grid > span { width: 6px; height: 6px; } .dot-caption { font-size: 8px; } .dot-caption span { font-size: 7px; }
  .histogram { height: 100px; gap: 4px; } .distribution-view .math-chip { font-size: 10px; }
  .lab-controls { padding: 19px 17px; } .two-controls { grid-template-columns: 1fr; gap: 22px; }
  .takeaway { padding: 14px 17px; font-size: 10px; gap: 9px; }
  .equilibrium-loop { gap: 5px; padding: 18px 10px 0; } .loop-symbol { font-size: 12px; padding: 5px 8px; }
  .equilibrium-loop strong { font-size: 9px; } .equilibrium-loop small { font-size: 8px; }
  .loop-return { font-size: 9px; } .equilibrium-grid,.incentive-grid,.allocation-grid { padding: 21px 17px; }
  .residual-grid { gap: 9px; } .residual-grid > div { padding: 10px; } .residual-grid strong { font-size: 22px; }
  .type-actions { font-size: 8px; gap: 6px; } .type-actions strong { font-size: 10px; }
  .chart-legend { gap: 10px; font-size: 8px; } .neural-diagram { padding: 21px 15px; }
  .input-stack { gap: 5px; } .input-stack > div { padding: 8px; font-size: 8px; }
  .neural-branch { padding: 13px 8px; gap: 3px; grid-template-columns: 1fr 10px 1fr 10px .85fr; }
  .neural-branch strong { font-size: 8px; } .head-box > span { font-size: 11px; }
  .neural-branch small { font-size: 7px; } .mini-network { font-size: 8px; letter-spacing: 1px; }
  .branch-arrow { font-size: 12px; } .output-box { padding: 10px 4px; }
  .output-box > span { font-size: 6px; letter-spacing: .3px; } .output-box strong { font-size: 13px; }
  .projection-formula { padding: 14px 17px; gap: 7px; } .projection-formula code { font-size: 11px; }
  .training-explorer { padding: 21px 17px; } .training-heading h3 { font-size: 14px; } .training-heading .text-button { font-size: 9px; white-space: nowrap; }
  .training-steps { grid-template-columns: repeat(3,1fr); gap: 6px; } .training-steps button { font-size: 10px; }
  .training-detail p { font-size: 10px; } .training-equation { font-size: 15px; }
  .allocation-row { gap: 10px; } .allocation-stats { gap: 10px; } .allocation-stats span { font-size: 8px; }
  .allocation-stats strong { font-size: 15px; } .objective-comparison strong { font-size: 25px; }
  .method-end { padding: 21px 18px; gap: 20px; } .method-end h2 { font-size: 23px; }
  .method-page footer > a { width: 100%; margin-left: 0; }
}
