/* Supporting pages in the approved Frontier Laboratory visual language.
   Opt-in at the document root: homepage/exhibit styles remain isolated.
   Root tokens also feed the existing canvas renderers; no model changes. */
:root.frontier-site{
 --sans:'Segoe UI Variable Display','Segoe UI',Arial,sans-serif;--serif:var(--sans);
 --slate-dark:#111216;--slate-medium:#424650;--slate-light:#595c68;
 --ivory-light:#fff;--ivory-medium:#f0f1fa;--ivory-dark:#e4e6ef;--oat:#e4e6ef;
 --cloud-medium:#737787;--cloud-light:#d5d6df;--cloud-dark:#595c68;
 --clay:#1a2ffb;--clay-strong:#1a2ffb;--ember:#424650;--olive:#68759a;
 --lab-action:#1a2ffb;--lab-button:#2b2e3a;--lab-stage:#121416;
 --max-w:1440px;--card-pad:30px;
 --bb-chart-starter:#424650;--bb-chart-builder:#1a2ffb;
 --bb-chart-reload:#68759a;--bb-chart-leakage:#d5d6df;
 --bb-chart-outline:#595c68;--bb-chart-divider:#fff;--bb-chart-no-floor:#595c68;
 color-scheme:light;
}
.frontier-page{background:#fff;color:#111216;overflow-x:visible;}
.frontier-page ::selection{background:var(--lab-action);color:#fff;}
.frontier-page .wrap{padding-inline:44px;}
.frontier-page :is(main,section,.wrap,.grid>*,.feature__grid>*,.toc-part>*){min-width:0;}
.frontier-page :is(h1,h2,h3,.h2,.h3,.display){font-family:var(--sans);font-weight:500;letter-spacing:-.045em;text-wrap:balance;}
.frontier-page :is(h1,h2,h3,.display) :is(em,.u){font-family:inherit;font-style:normal;color:inherit;text-decoration:none;}
.frontier-page h1{font-size:clamp(44px,5.6vw,80px);line-height:1.02;letter-spacing:-.06em;}
.frontier-page .h2{font-size:clamp(32px,3.8vw,52px);line-height:1.08;}
.frontier-page .h3{font-size:23px;line-height:1.2;letter-spacing:-.035em;}
.frontier-page .lede{font-size:20px;line-height:1.55;color:var(--slate-light);}
.frontier-page .body{font-size:16px;line-height:1.7;}
.frontier-page :is(.eyebrow,.kicker){font-size:11px;letter-spacing:.12em;color:var(--cloud-dark);}
.frontier-page .eyebrow--rule:before{background:var(--slate-dark);}
.frontier-page :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid var(--lab-action);outline-offset:4px;}
.frontier-page :is(a,p,li){overflow-wrap:break-word;}
.frontier-page a:hover{color:var(--lab-action);}
.frontier-page :is(h2[id],section[id],.toc-part[id],[id="tool-inputs"],[id="tool-results"],#results,#step-ai,#download){scroll-margin-top:110px;}

/* Same masthead and pill actions as the homepage, with a keyboard-operable
   no-JavaScript menu. Closed mobile links must not remain in the tab order. */
.frontier-page .nav{background:rgba(255,255,255,.96);border-color:var(--cloud-light);backdrop-filter:blur(16px);}
.frontier-page .nav__row{height:82px;}
.frontier-page .wordmark{font-size:18px;font-weight:600;letter-spacing:-.055em;color:#111216;}
.frontier-page .logomark circle{stroke:#111216;}
.frontier-page .logomark rect{fill:#111216;}
.frontier-page .logomark path{fill:#595c68;}
.frontier-page .nav__link{color:#424650;font-size:14px;padding:10px 12px;border-radius:99px;}
.frontier-page .nav__link:hover{background:#f0f1fa;color:var(--lab-action);text-decoration:none;}
.frontier-page .nav__links .btn{font-size:13px;min-height:44px;padding:11px 18px;background:var(--lab-button);border-color:var(--lab-button);color:#fff;}
.frontier-page .nav__links .btn--ghost{background:#e4e6ef;border-color:#e4e6ef;color:#111216;}
.frontier-page .btn{min-height:50px;max-width:100%;padding:14px 24px;border-radius:99px;border-color:#d5d6df;background:#e4e6ef;color:#111216;line-height:1.4;justify-content:center;text-align:center;white-space:normal;}
.frontier-page .btn:hover{background:#d5d6df;border-color:#d5d6df;color:#111216;}
.frontier-page .btn--accent{background:var(--lab-action);border-color:var(--lab-action);color:#fff;}
.frontier-page .btn--accent:hover{background:#1021c9;border-color:#1021c9;color:#fff;}
.frontier-page .section{padding-block:90px;}
.frontier-page :is(.hero,.tool-hero,.method-hero){padding-top:64px;padding-bottom:34px;}
.frontier-page :is(.tool-hero,.method-hero) h1{max-width:27ch;margin:22px 0;}
.frontier-page :is(.tool-hero,.method-hero) .lede{max-width:68ch;}
.frontier-page .hero__cta{gap:12px;}
.frontier-page .page-jumps{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px;}
.frontier-page .page-jumps a{display:inline-flex;align-items:center;min-height:44px;border:1px solid #d5d6df;border-radius:99px;padding:9px 17px;font-size:14px;font-weight:500;text-decoration:none;}
.frontier-page .page-jumps a:hover{border-color:var(--lab-action);background:#f0f1fa;}
.frontier-page :is(.card,.callout,.callout-box,.pillars){border:1px solid #d5d6df;border-radius:15px;}
.frontier-page .card{background:#f0f1fa;box-shadow:none;}
.frontier-page :is(.grid>*,.toc-part,.feature,.instructor){animation:none;}
.frontier-page .footer{background:#fff;border-color:#d5d6df;padding-block:36px;}
.frontier-page .footer__row{font-size:11px;line-height:1.75;}
.frontier-page .footer__row a{overflow-wrap:anywhere;}

/* A complete dark token island. Muted foregrounds must not inherit the
   light page's gray text tokens (including inline publication typography). */
.frontier-page :is(.feature,.rd-screen,.code,.close-cta,.banner--proto,.results .headline){
 --ivory-light:#fff;--ivory-dark:#e4e6ef;--cloud-medium:#c5c7d1;--cloud-dark:#c5c7d1;
 --slate-light:#c5c7d1;--clay:#b7c0ff;
 background:var(--lab-stage);color:#e4e6ef;border-radius:15px;
}
.frontier-page :is(.feature,.rd-screen,.code,.close-cta) :is(strong,b){color:#fff;}
.frontier-page .feature{padding:46px;}
.frontier-page .feature .eyebrow{color:#c5c7d1;}
.frontier-page .feature :is(h1,.display){font-weight:500;letter-spacing:-.06em;color:#fff;}
.frontier-page .publication-subtitle{font-style:normal!important;line-height:1.4;}
.frontier-page :is(.feature,.close-cta) .btn--ondark{background:#2b2e3a;border-color:#737787;color:#fff;}
.frontier-page :is(.feature,.close-cta) .btn--ondark:hover{background:#424650;border-color:#c5c7d1;color:#fff;}
.frontier-page :is(.feature,.close-cta,.rd-screen) :is(a,button,input):focus-visible{outline-color:#b7c0ff;}
.frontier-page .feature .btn--asym{background:var(--lab-action);border-color:var(--lab-action);color:#fff;}
.frontier-page .feature .btn--asym:hover{background:#1021c9;border-color:#b7c0ff;}
.frontier-page .publication-page-title{max-width:21ch;}
.frontier-page .bookhero__strip{gap:36px;flex-wrap:wrap;padding-top:26px;}
.frontier-page .bookhero__strip b{font-family:var(--sans);font-size:40px;line-height:1;letter-spacing:-.045em;font-weight:500;}
.frontier-page .bookhero__strip span{font-size:11px;}
.frontier-page .pub-gate{max-width:520px;padding-top:20px;border-top:1px solid #494d59;}
.frontier-page .pub-gate :is(input[type=email],input[type=text]){font-size:16px;min-height:48px;border-radius:8px;background:#1c1f25;border-color:#737787;color:#fff;}
.frontier-page .pub-gate__err{color:#ffb5b5;}
.frontier-page .toc-jump{gap:10px;margin-bottom:28px;}
.frontier-page .toc-jump a{display:flex;align-items:center;min-height:44px;border-radius:99px;padding:9px 15px;font-family:var(--sans);font-size:14px;letter-spacing:0;}
.frontier-page .toc-jump a:hover{background:var(--lab-action);border-color:var(--lab-action);color:#fff;}
.frontier-page .toc-jump a:hover b{color:#fff;}
.frontier-page .toc-part{grid-template-columns:minmax(200px,.65fr) minmax(0,1.35fr);padding-block:34px;gap:44px;}
.frontier-page .toc-part--tint{border-radius:15px;padding-inline:28px;}
.frontier-page .toc-part__h .n{color:#595c68;}
.frontier-page .toc-part__h .t{font-size:25px;font-weight:500;line-height:1.18;letter-spacing:-.035em;}
.frontier-page .toc-part .body{margin-top:0;max-width:68ch;}
.frontier-page .toc-ch{padding-block:9px;}
.curriculum-page .hero h1{max-width:18ch;}
.curriculum-page .bookhero__strip{padding:28px;border:1px solid #d5d6df;background:#f0f1fa;border-radius:15px;justify-content:space-between;}
.curriculum-page .pillars{overflow:hidden;}
.curriculum-page #step-ai .feature__grid{align-items:start;}
.reading-page main .wrap{max-width:860px!important;}
.reading-page main .body{font-size:17px;line-height:1.75;}
.reading-page main h2{padding-top:24px;border-top:1px solid #d5d6df;}
.reading-page main a{overflow-wrap:anywhere;}
.reading-page main p:has(>.arrow){flex-wrap:wrap;}

/* Calculator workspace: cool input surface, black financial readout,
   restrained chart framing. Existing input IDs and renderer hooks survive. */
.tool-page .toolcard{margin-top:12px;border:1px solid #d5d6df;border-radius:15px;}
.tool-page .toolgrid{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);}
.tool-page :is(.controls,.readout,.results){padding:30px;}
.tool-page .controls{background:#f0f1fa;}
.tool-page .group h2{font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.1em;text-wrap:initial;}
.tool-page .group+.group{margin-top:26px;padding-top:24px;}
.tool-page :is(.presets,.tabs,.modeswitch){border:0;border-radius:12px;gap:5px;padding:5px;background:#e4e6ef;overflow:visible;}
.tool-page :is(.presets,.tabs,.modeswitch) button{border:0;border-radius:8px;min-width:0;min-height:44px;padding:10px;font-family:var(--sans);font-size:13px;letter-spacing:0;line-height:1.3;background:transparent;color:#424650;}
.tool-page .presets button{flex:1 1 90px;}
.tool-page :is(.presets,.tabs,.modeswitch) button:hover{background:#fff;color:#111216;}
.tool-page :is(.presets,.modeswitch) button[aria-pressed=true],.tool-page .tabs button[aria-selected=true]{background:var(--lab-action);color:#fff;}
.tool-page .ctrl-top{gap:8px;align-items:center;}
.tool-page .ctrl-name{font-size:15px;line-height:1.4;min-width:0;flex-wrap:wrap;gap:4px;}
.tool-page .ctrl-val{font-size:13px;flex-shrink:0;}
.tool-page input[type=range]{height:28px;margin:0;background-size:var(--fill,50%) 3px;background-position:left center;background-color:transparent;border-radius:0;}
.tool-page input[type=range]::-webkit-slider-runnable-track{height:3px;background:linear-gradient(to right,var(--lab-action) var(--fill,50%),#d5d6df var(--fill,50%));}
.tool-page input[type=range]::-moz-range-track{height:3px;background:linear-gradient(to right,var(--lab-action) var(--fill,50%),#d5d6df var(--fill,50%));}
.tool-page input[type=range]::-webkit-slider-thumb{width:20px;height:20px;margin-top:-8.5px;border-radius:50%;background:var(--lab-action);border:3px solid #fff;box-shadow:0 0 0 1px var(--lab-action);}
.tool-page input[type=range]::-moz-range-thumb{width:16px;height:16px;border-radius:50%;background:var(--lab-action);border:3px solid #fff;box-shadow:0 0 0 1px var(--lab-action);}
.tool-page .toggle label{min-height:44px;align-items:center;}
.tool-page .toggle input{width:20px;height:20px;border-radius:4px;}
.tool-page .toggle input:checked{background:var(--lab-action);border-color:var(--lab-action);}
.tool-page .toggle input:checked:after{left:6px;top:2px;}
.tool-page :is(.hint,.chip-solve){min-width:28px;min-height:28px;border-radius:99px;border-color:#9da0af;font-family:var(--sans);font-size:12px;flex-shrink:0;margin-left:3px;}
.tool-page .hint:hover,.tool-page .hint[aria-expanded=true]{background:var(--lab-action);color:#fff;}
.tool-page .chip-solve{padding-inline:10px;font-size:10px;flex-basis:auto;}
.tool-page .tip{border:1px solid #9da0af;border-radius:12px;padding:24px 38px 20px 20px;box-shadow:0 8px 28px #11121616;}
.tool-page .tip__close{width:32px;height:32px;}
.tool-page .bignum{min-width:0;flex-wrap:wrap;gap:8px;}
.tool-page .bignum .val,.tool-page .headline-stat+.headline-stat .bignum .val{font-family:var(--sans);font-size:clamp(38px,4.4vw,60px);font-weight:500;letter-spacing:-.055em;line-height:1.05;color:#fff;white-space:normal;overflow-wrap:anywhere;}
.tool-page .bignum .unit{color:#b7c0ff;font-size:12px;line-height:1.45;}
.tool-page .rd-screen .cap{font-size:10px;line-height:1.6;letter-spacing:.08em;color:#c5c7d1;}
.tool-page .rd-screen .frame{font-size:14px;line-height:1.6;}
.tool-page .rd-screen .frame b{color:#fff;}
.tool-page .rd-block .lab{font-size:11px;letter-spacing:.06em;flex-wrap:wrap;line-height:1.5;}
.tool-page :is(.route-card,.chart-block,.canvas-box,.metricgrid,.mc-bracket,.split-table,.sens-row){border-color:#d5d6df;border-radius:10px;}
.tool-page .canvas-box{background:#fff;}
.tool-page .metricgrid,.tool-page .option-layer .metricgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:#d5d6df;}
.tool-page .metric+.metric{border:0;}
.tool-page .metric{padding:16px;background:#f0f1fa;min-width:0;}
.tool-page .metric b{font-family:var(--sans);font-size:23px;font-weight:500;letter-spacing:-.035em;overflow-wrap:anywhere;}
.tool-page .metric span{font-size:10px;letter-spacing:.05em;line-height:1.5;}
.tool-page .bridge-row{grid-template-columns:minmax(0,1fr) minmax(70px,.65fr) auto;gap:12px;}
.tool-page .bridge-meter--signed{background:linear-gradient(90deg,#1a2ffb0d 0 50%,#68759a16 50%);}
.tool-page .capture{border-color:#d5d6df;border-radius:12px;}
.tool-page .capture__form input[type=email]{min-width:0;min-height:48px;font-size:16px;border-color:#9da0af;border-radius:8px;}
.tool-page .capture__form button{min-height:48px;border-radius:99px;background:var(--lab-button);padding:12px 22px;}
.tool-page .toolfoot{padding:28px 30px;}
.tool-page .results .headline{padding:25px;gap:24px;}
.tool-page .headline .stat__val{color:#fff;font-size:38px;letter-spacing:-.045em;font-weight:500;}
.tool-page .headline .stat__val.neg{color:#b7c0ff;}
.tool-page .headline :is(.stat__lab,.stat__u){color:#c5c7d1;}
.tool-page .bar__fill{background:var(--lab-action);}
.tool-page .bar__fill--ub{background:var(--lab-button);}
.tool-page .calib__row input[type=number]{min-height:44px;font-size:16px;}
.tool-page input[type=file]{max-width:100%;font:14px var(--sans);}
.tool-page input[type=file]::file-selector-button{min-height:44px;border:1px solid #d5d6df;border-radius:99px;padding:10px 16px;background:#f0f1fa;margin:6px 10px 6px 0;}
.tool-page .seo-block{padding-block:64px 32px;}

/* Methodology: a stable contents rail, readable measure and keyboard-scrollable
   formulas/tables. Column headers stay present at narrow widths. */
.method-page .method-body{padding-block:30px 90px;}
.method-page .method-grid{grid-template-columns:230px minmax(0,1fr);gap:70px;max-width:1180px;}
.method-page .toc{top:108px;max-height:calc(100vh - 132px);overflow-y:auto;padding:20px;border:1px solid #d5d6df;border-radius:12px;background:#f0f1fa;}
.method-page .toc__lab{color:#595c68;}
.method-page .toc li{margin:0;padding-left:25px;}
.method-page .toc li:before{top:12px;font-size:10px;}
.method-page .toc a{display:block;padding-block:10px;font-size:14px;line-height:1.4;}
.method-page .prose{font-size:17px;line-height:1.75;max-width:70ch;}
.method-page .method-body h2{font-family:var(--sans);font-size:clamp(27px,2.8vw,36px);font-weight:500;letter-spacing:-.04em;line-height:1.15;margin:54px 0 20px;scroll-margin-top:108px;}
.method-page .method-body h2:first-child{margin-top:0;}
.method-page .method-body h3{font-size:20px;letter-spacing:-.025em;}
.method-page blockquote{font-family:var(--sans);font-style:normal;font-size:21px;line-height:1.5;background:#f0f1fa;border-color:var(--lab-action);border-radius:0 12px 12px 0;padding:20px 24px;}
.method-page .code{padding:24px;font-size:13px;line-height:1.8;border-radius:12px;}
.method-page .code :is(b,.var){color:#b7c0ff;}
.method-page .code .lbl{color:#c5c7d1;}
.method-page .eqn{padding:20px;background:#f0f1fa;border-radius:12px;}
.method-page .note{border-color:var(--lab-action);}
.method-page .ladder{border-radius:12px;}
.method-page .ladder__row{grid-template-columns:170px minmax(0,1fr);}
.frontier-page .table-scroll,.frontier-page .calib__out{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;border:1px solid #d5d6df;border-radius:10px;margin:18px 0;}
.frontier-page .table-scroll table{width:100%;min-width:520px;border-collapse:collapse;margin:0;display:table;overflow:visible;}
.frontier-page .table-scroll thead{display:table-header-group;}
.frontier-page .table-scroll tbody{display:table-row-group;}
.frontier-page .table-scroll tr{display:table-row;width:auto;}
.frontier-page .table-scroll :is(th,td){display:table-cell;width:auto;padding:12px 14px;border-bottom:1px solid #d5d6df;vertical-align:top;}
.frontier-page .table-scroll th{background:#f0f1fa;color:#595c68;font-size:11px;line-height:1.5;}
.frontier-page .table-scroll td{font-size:14px;line-height:1.55;}
.frontier-page .table-scroll:focus-visible,.frontier-page .calib__out:focus-visible{outline-offset:2px;}
.frontier-page .table-hint{font-size:12px;color:#595c68;margin:8px 0;}
.method-page .close-cta{padding:32px;}
.method-page .prose .close-cta .btn--ondark{color:#fff;}

@media(max-width:1100px){
 .frontier-page .wrap{padding-inline:32px;}
 .frontier-page .nav__row{gap:12px;}
 .frontier-page .nav__link{padding-inline:8px;font-size:13px;}
 .frontier-page .nav__links .btn{padding-inline:12px;font-size:12px;}
 .frontier-page .feature{padding:34px;}
 .frontier-page .feature__grid{gap:30px;}
 .tool-page .toolgrid{grid-template-columns:1fr;}
 .tool-page .controls{border-right:0;border-bottom:1px solid #d5d6df;}
 .tool-page .readout{order:0;border-bottom:0;}
 .tool-page .metricgrid,.tool-page .option-layer .metricgrid{grid-template-columns:repeat(3,minmax(0,1fr));}
 .method-page .method-grid{gap:36px;grid-template-columns:210px minmax(0,1fr);}
}
@media(max-width:960px){
 .frontier-page .nav__links{top:82px;background:#fff;border:1px solid #d5d6df;border-radius:0 0 15px 15px;visibility:hidden;box-shadow:none;}
 .frontier-page .nav__toggle:checked~.nav__links{visibility:visible;max-height:calc(100dvh - 100px);overflow-y:auto;}
 .frontier-page .nav__toggle{top:19px;right:0;width:44px;height:44px;}
 .frontier-page .nav__burger{margin:0;padding:10px;border:1px solid #c9cbd5;border-radius:99px;width:44px;height:44px;}
 .frontier-page .nav__burger span{width:22px;}
 .frontier-page .nav__links .nav__link{min-height:44px;padding:12px 24px;font-size:16px;}
 .frontier-page .nav__links .btn{font-size:14px;}
 .frontier-page .nav__toggle:focus-visible+.nav__burger{outline:3px solid var(--lab-action);outline-offset:4px;}
 .frontier-page .section{padding-block:68px;}
 .frontier-page :is(.hero,.tool-hero,.method-hero){padding-top:44px;}
 .frontier-page .g3{grid-template-columns:repeat(2,minmax(0,1fr));}
 .frontier-page .g2{grid-template-columns:repeat(2,minmax(0,1fr));}
 .frontier-page .toc-part{grid-template-columns:200px minmax(0,1fr);gap:28px;}
 .curriculum-page .pillars{grid-template-columns:repeat(2,minmax(0,1fr));}
 .curriculum-page .pillars>div{border:0;border-bottom:1px solid #d5d6df;}
 .method-page .method-grid{grid-template-columns:1fr;gap:36px;}
 .method-page .toc{position:static;max-height:none;}
 .method-page .toc ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;}
 .method-page .prose{max-width:100%;}
}
@media(max-width:600px){
 .frontier-page .wrap{padding-inline:22px;}
 .frontier-page .nav__row{height:65px;}
 .frontier-page .wordmark{font-size:16px;}
 .frontier-page .nav__toggle{top:10px;}
 .frontier-page .nav__links{top:65px;}
 .frontier-page h1{font-size:clamp(36px,9.8vw,54px);line-height:1.06;letter-spacing:-.05em;}
 .frontier-page .publication-page-title{font-size:clamp(34px,9.5vw,52px)!important;line-height:1.05;}
 .frontier-page .feature .display{font-size:clamp(30px,8vw,44px)!important;}
 .frontier-page .feature h1.publication-page-title{font-size:clamp(34px,9.5vw,52px)!important;}
 .frontier-page :is(.tool-hero,.method-hero) h1{max-width:100%;}
 .frontier-page .lede{font-size:18px;}
 .frontier-page .h2{font-size:34px;}
 .frontier-page .section{padding-block:54px;}
 .frontier-page .feature{padding:28px 23px;}
 .frontier-page :is(.feature__grid,.g2,.g3,.toc-part){grid-template-columns:1fr;gap:22px;}
 .frontier-page .feature__grid>[style*="justify-self"]{justify-self:stretch!important;max-width:none!important;}
 .frontier-page .feature .btn{width:100%;}
 .frontier-page .bookhero__strip{gap:24px;}
 .frontier-page .bookhero__strip b{font-size:34px;}
 .frontier-page .card{padding:24px;}
 .frontier-page .toc-part{padding-block:28px;}
 .frontier-page .toc-part--tint{padding-inline:22px;}
 .frontier-page .toc-part__h .t{font-size:24px;}
 .frontier-page .toc-ch{gap:12px;}
 .frontier-page .toc-jump{gap:8px;}
 .frontier-page .toc-jump a{font-size:13px;padding-inline:12px;}
 .curriculum-page .bookhero__strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:22px;}
 .curriculum-page .pillars{grid-template-columns:1fr;}
 .tool-page :is(.controls,.readout,.results){padding:22px 18px;}
 .tool-page .rd-screen{padding:22px;}
 .incremental-debt-page .rd-screen{padding:0;}
 .tool-page .headline-grid{grid-template-columns:1fr;gap:18px;}
 .tool-page .headline-stat+.headline-stat{border-left:0;border-top:1px solid #494d59;padding-left:0;padding-top:18px;}
 .incremental-debt-page .headline-grid{gap:0;}
 .incremental-debt-page .headline-stat+.headline-stat{padding:22px;}
 .tool-page .metricgrid,.tool-page .option-layer .metricgrid{grid-template-columns:repeat(2,minmax(0,1fr));}
 .tool-page .presets button{flex:1 1 40%;font-size:13px;}
 .tool-page :is(.tabs,.modeswitch) button{font-size:12px;padding-inline:6px;}
 .tool-page .bridge-row{grid-template-columns:1fr;gap:8px;}
 .tool-page .bridge-value{text-align:left;}
 .tool-page .toolfoot{padding:24px 18px;}
 .tool-page .capture{padding:20px 16px;}
 .tool-page .capture__form>*{flex-basis:100%;width:100%;}
 .decomposition-page .bar{grid-template-columns:minmax(0,1fr) 65px;gap:6px 12px;margin-bottom:16px;}
 .decomposition-page .bar__track{grid-column:1;grid-row:2;}
 .decomposition-page .bar__v{grid-column:2;grid-row:2;}
 .method-page .method-body{padding-top:18px;}
 .method-page .toc ol{grid-template-columns:1fr;}
 .method-page .prose{font-size:16px;line-height:1.75;}
 .method-page .code{padding:20px 16px;font-size:12px;}
 .method-page .ladder__row{grid-template-columns:1fr;}
 .method-page .close-cta{padding:26px 22px;}
 .frontier-page .footer__row{flex-direction:column;}
}
@media(prefers-reduced-motion:reduce){
 html.frontier-site{scroll-behavior:auto;}
 .frontier-page *{animation:none!important;transition:none!important;scroll-behavior:auto!important;}
}
@media print{
 .frontier-page :is(.nav,.footer,.page-jumps,.toc,.toc-jump){display:none!important;}
 .frontier-page .wrap{padding:0;}
 .frontier-page :is(.feature,.rd-screen,.code,.close-cta,.results .headline){background:#fff!important;color:#111!important;border:1px solid #ccc;}
 .frontier-page :is(.feature,.rd-screen,.code,.close-cta,.results .headline) *{color:#111!important;}
 .frontier-page .table-scroll{overflow:visible;border:0;}
 .frontier-page .table-scroll table{min-width:0;}
 .frontier-page .method-grid{display:block;}
}
