:root{--paper:#f6f3e9;--surface:#fffcf5;--ink:#243b32;--muted:#52665c;--line:#c8cfbf;--accent:#315b47;--soft:#e8e9dc;--out:#997252;--receipt:var(--surface)}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.55 Arial,Helvetica,sans-serif}a{color:inherit}button,input,select{font:inherit;color:inherit}button,select{min-height:44px;border:1px solid var(--line);background:var(--surface);border-radius:3px;padding:9px 12px}button{cursor:pointer}button:hover{background:var(--soft)}a,button,summary{touch-action:manipulation}a:focus-visible,button:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid #bc720c;outline-offset:3px}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.12}h1{font:normal clamp(38px,5.2vw,72px)/1.05 Georgia,serif;letter-spacing:-2.5px;white-space:pre-line}h2{font:normal clamp(28px,3.2vw,40px)/1.13 Georgia,serif;letter-spacing:-1.1px;white-space:pre-line}h3{font:normal 24px/1.2 Georgia,serif;letter-spacing:-.4px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin-bottom:12px}.fine,.chart-caption{font-size:12px;color:var(--muted);line-height:1.5}.lead{font-size:19px;color:var(--muted);margin-top:18px}.skip{position:fixed;top:-80px;background:var(--surface);padding:12px;z-index:90}.skip:focus{top:8px}.masthead,.edition-bar,.homepage-content,.site-footer{max-width:1420px;margin:auto;padding-inline:44px}.masthead{min-height:90px;display:flex;align-items:center;justify-content:space-between;gap:28px;border-bottom:2px solid var(--ink)}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-family:Georgia,serif;font-size:22px;white-space:nowrap}.brand-mark{font:700 12px/1 Arial,sans-serif;letter-spacing:-.1em;background:var(--ink);color:var(--paper);width:32px;height:32px;display:grid;place-items:center}.main-nav{display:flex;flex-wrap:wrap;gap:23px;align-items:center}.main-nav a{font-size:12px;text-decoration:none;min-height:44px;display:flex;align-items:center;border-bottom:2px solid transparent}.main-nav a[aria-current=page]{border-color:var(--accent);font-weight:700}.main-nav .builder-link{border:1px solid var(--line);padding:0 14px}.edition-bar{display:flex;justify-content:space-between;align-items:center;padding-top:12px;padding-bottom:12px;font-size:12px;gap:12px}.status{font-size:11px;border:1px solid var(--line);border-radius:0;padding:5px 10px;display:inline-block;width:fit-content;background:var(--surface);color:var(--ink)}.status.estimate{border-color:#8a6b26;background:#f7eccb}.status.actual{border-color:#537568;background:#e9f0e8}.homepage-content{padding-top:20px;padding-bottom:60px;min-height:70vh;outline:none}.page-tools{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px;margin-bottom:25px}.select-label{font-size:11px;display:grid;gap:4px;max-width:100%}.select-label select{font-size:12px;max-width:100%;padding:8px 10px}.cash-hero{display:grid;grid-template-columns:1.1fr 1fr;gap:64px;padding:12px 0 48px;border-bottom:1px solid var(--ink);align-items:center}.hero-story h1{}.hero-lead{font-family:Georgia,serif;font-size:20px;margin-top:25px;line-height:1.45;color:var(--muted)}.hero-actions{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin-top:32px}.primary,.secondary{min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:12px 19px;text-decoration:none;font-size:12px;font-weight:600;border:1px solid var(--accent)}.primary{background:var(--accent);color:white}.secondary{border-color:var(--line);background:transparent}.primary:hover{filter:brightness(1.1)}.secondary:hover{background:var(--soft)}.hero-figures{display:grid;grid-template-columns:1fr 1fr;gap:23px 25px;align-content:start;border-left:1px solid var(--line);padding-left:30px}.headline{min-width:0;display:grid;gap:5px}.headline-label{font-size:14px}.headline-number{font-family:Georgia,serif;font-size:clamp(28px,3.3vw,45px);font-weight:normal;line-height:1.2;letter-spacing:-1.3px;font-variant-numeric:tabular-nums;white-space:nowrap}.headline-term{font-size:11px;color:var(--muted)}.headline.balance{grid-column:1/-1;padding-top:15px;border-top:1px solid var(--line);grid-template-columns:1fr auto;align-items:center}.headline.balance .headline-term{grid-column:1/-1}.headline.balance .headline-number{font-size:34px;color:var(--out)}.cash-scale{grid-column:1/-1;display:grid;gap:8px;padding-block:10px}.cash-bar{display:grid;grid-template-columns:58px minmax(0,1fr) 64px;gap:8px;align-items:center;font-size:10px}.cash-bar>span:last-child{text-align:right}.cash-track{height:8px;background:var(--soft)}.cash-track i{height:8px;display:block}.cash-track .in{background:var(--accent)}.cash-track .out{background:var(--out)}.hero-explanation{grid-column:1/-1;font:17px/1.5 Georgia,serif;}.source-link{font-size:11px;border:0;background:transparent;color:var(--muted);text-decoration:underline;text-underline-offset:4px;text-align:left;padding:4px 0;min-height:44px}.hero-figures>.source-link{grid-column:1/-1;width:fit-content}.home-composition{margin-top:38px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:0 0 20px}.text-link{display:inline-flex;align-items:center;min-height:44px;font-size:12px;text-decoration:underline;text-underline-offset:5px;width:fit-content}.accounting-note{font-size:12px;color:var(--muted);margin:12px 0 28px;padding-left:13px;border-left:2px solid var(--line)}.paired-graphics{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px}.explore-panel{min-width:0}.panel-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;align-items:end;border-bottom:1px solid var(--line);padding-bottom:15px;margin-bottom:15px}.panel-heading .eyebrow{grid-column:1/-1;margin-bottom:4px}.panel-heading h3{font-size:25px}.panel-number{font-family:Georgia,serif;font-size:25px;font-weight:normal;white-space:nowrap}.proportional-graphic{position:relative;min-width:0}.proportions{display:block;width:100%;height:auto}.proportions g[role=button]{cursor:pointer}.proportions g[role=button]:hover>rect:first-child,.proportions g:focus>rect:first-child{stroke:#8d560a;stroke-width:4}.proportions g:focus{outline:none}.proportions g[data-route=true]>rect:first-child{stroke:var(--ink);stroke-width:8}.graphic-tooltip{position:fixed;inset:auto;z-index:120;display:grid;gap:4px;width:252px;max-width:calc(100vw - 24px);background:#f5f1e7;padding:14px 16px;color:#22342f;border:1px solid #8f9687;border-radius:4px;box-shadow:0 5px 18px rgba(30,40,30,.18);pointer-events:none;text-shadow:none;font-size:13px;line-height:1.45;opacity:1}.graphic-tooltip[hidden]{display:none}.graphic-tooltip strong{font-size:14px}.chart-caption{margin:10px 0 16px}.category-index{border-top:1px solid var(--line)}.category-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px 16px;align-items:center;border-bottom:1px solid var(--line);padding:10px 0 10px 10px;border-left:4px solid var(--category)}.category-name{font:12px/1.4 Arial,sans-serif;text-align:left;background:transparent;padding:5px 0;border:0;overflow-wrap:anywhere;min-width:0}.category-detail{display:grid;text-align:right;gap:4px;max-width:220px}.category-detail strong{font-size:14px;font-variant-numeric:tabular-nums}.category-detail small{font-size:10px;color:var(--muted);}.category-row .source-link{font-size:10px}.home-discovery{display:grid;grid-template-columns:1.2fr 1fr;gap:48px;margin-top:50px;padding-top:32px;border-top:1px solid var(--line)}.question-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px 12px;text-decoration:none;padding:20px 0;border-bottom:1px solid var(--line)}.question-card>span:first-child{font:22px/1.2 Georgia,serif}.question-card strong{font:24px/1.2 Georgia,serif}.question-card small{font-size:12px;color:var(--muted)}.question-arrow{font-size:11px}.change-teaser{padding:22px 26px;background:var(--soft)}.change-teaser h3{font-size:22px;margin:15px 0 12px}.teaser-number{font:normal 38px/1.2 Georgia,serif;display:block;margin:12px 0}.change-teaser>p:not(.eyebrow){font-size:13px;color:var(--muted);margin-bottom:14px}.receipt-gateway{display:flex;gap:18px;align-items:center;justify-content:space-between;padding:30px 0;margin-top:30px;border-top:1px solid var(--ink);font:26px/1.2 Georgia,serif}.site-footer{padding-block:30px;border-top:1px solid var(--line)}.site-footer>p{margin-top:10px;font-size:12px;color:var(--muted)}.footer-links{display:flex;flex-wrap:wrap;gap:22px;margin-top:20px;font-size:11px}.page-title{margin:18px 0 30px;}.page-title h1{font-size:clamp(38px,4.7vw,60px)}.graphic-path{display:flex;flex-wrap:wrap;gap:5px;margin:12px 0}.crumb{font-size:10px;padding:5px 9px;min-height:36px;max-width:100%;text-align:left}.crumb[aria-current=location]{font-weight:700;background:var(--soft)}.graphic-up{display:flex;justify-content:space-between;gap:8px;margin:10px 0 18px}.graphic-up button{font-size:11px;max-width:50%;text-align:left}.focus-with-context{display:grid;grid-template-columns:110px minmax(0,1fr);gap:16px}.parent-rail{display:grid;align-content:start;gap:13px}.parent-card{padding:10px 8px;border:1px solid var(--line);background:var(--soft);min-width:0}.parent-title{font-size:11px;font-weight:700;text-align:left;border:0;background:transparent;padding:0;line-height:1.3;min-height:44px;max-width:100%}.parent-card>strong{font-size:12px;display:block;margin-bottom:6px}.parent-card .fine{font-size:9px;margin-top:7px}.honest-gap{border-left:3px solid #997252;padding:18px;background:var(--soft);font-size:13px}.question-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:28px}.question-nav button{text-align:left;font:17px/1.3 Georgia,serif;padding:16px}.question-nav button[aria-pressed=true],.focus-switch [aria-pressed=true]{background:var(--accent);color:white;border-color:var(--accent)}.answer-card{padding:30px;background:var(--surface);border:1px solid var(--line);margin:auto}.answer-card h2{font-size:33px}.direct-answer{font:26px/1.4 Georgia,serif;margin:20px 0;}.answer-card>p:not(.direct-answer):not(.eyebrow){font-size:13px;margin-bottom:20px;color:var(--muted)}.answer-card .proportional-graphic{max-width:720px;margin:25px 0}.answer-card>.primary{margin-top:25px}.comparison-period{font-size:13px;margin-bottom:20px}.history-pair,.change-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}.history-pair{margin-bottom:36px}.history-plot{padding:20px;background:var(--soft);min-width:0}.history-plot svg{width:100%;display:block}.change-panel{padding:22px;border:1px solid var(--line);background:var(--surface);min-width:0}.change-panel h2{font-size:27px;margin-bottom:14px}.change-overview{font-size:19px}.change-total{font:34px/1.3 Georgia,serif;display:block;margin:12px 0}.change-item{display:grid;grid-template-columns:minmax(0,1fr) minmax(60px,100px) auto;gap:7px 10px;padding:18px 0;border-bottom:1px solid var(--line);align-items:center}.change-name{font-size:12px;text-align:left;background:transparent;padding:0;border:0;min-width:0}.change-item strong{font-size:13px;white-space:nowrap}.change-item small{grid-column:1/-1;font-size:10px;color:var(--muted)}.diverging-track{height:20px;position:relative;background:linear-gradient(90deg,transparent calc(50% - 1px),var(--line) calc(50% - 1px),var(--line) calc(50% + 1px),transparent calc(50% + 1px))}.diverging-track i{position:absolute;height:12px;top:4px;max-width:50%}.diverging-track .increase{left:50%;background:var(--accent)}.diverging-track .decrease{right:50%;background:var(--out)}.change-panel>.fine{margin:14px 0}.source-dialog{position:fixed;color:var(--ink);background:var(--surface);border:1px solid var(--line);width:min(650px,92vw);max-height:85vh;padding:30px;box-shadow:0 30px 100px #0003}.source-dialog::backdrop{background:#172c2766}.source-dialog h2{font-size:28px;padding-right:50px}.dialog-close{position:absolute;right:12px;top:12px;font-size:12px}.source-dialog section{padding:20px 0;border-bottom:1px solid var(--line)}.source-dialog h3{font-size:20px;margin-bottom:10px}.source-dialog p{margin:6px 0;overflow-wrap:anywhere}.source-dialog .primary{margin-top:20px}.builder-board{display:grid;grid-template-columns:1fr 1.3fr;gap:32px;padding:32px;border:1px solid var(--line);background:var(--surface)}.builder-board h2{margin:20px 0}.baseline-row{display:flex;gap:15px;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:18px 0;font-size:13px}.baseline-preview{border-right:1px solid var(--line);padding-right:30px}.builder-future p{margin:20px 0;}.cash-payment-note{padding:28px;background:var(--soft);margin-top:25px}.cash-payment-note p{margin-bottom:20px}.focus-switch{display:flex;gap:8px;margin-bottom:24px}.civic-guide{padding:28px;background:var(--soft);align-self:start}.civic-guide h2{font-size:36px;margin-bottom:25px}.civic-guide p:not(.eyebrow){margin-bottom:20px;}.receipt-workspace{margin:auto}homepage-receipt{display:block;max-width:850px;margin:auto}homepage-receipt.history-mode{max-width:100%}homepage-receipt .tree{font-family:Arial,Helvetica,sans-serif}homepage-receipt .receipt{background:var(--surface);box-shadow:0 10px 40px #23332d0c}homepage-receipt .rhead{background:var(--accent);color:white;border-bottom:0}homepage-receipt .children{margin-left:10px;border-left:1px solid var(--line)}homepage-receipt .subtotal{background:var(--soft)}homepage-receipt .source{padding-block:0}homepage-receipt .source summary{font-size:10px;min-height:30px;padding:4px 0}homepage-receipt .source[open]{padding:12px;background:var(--soft)}homepage-receipt .location{position:static}homepage-receipt .value{font-family:Arial,sans-serif}homepage-receipt .disclosure{margin-top:30px}
/* Modern Civic: clear type, asymmetric briefing, friendly surfaces, one focused chart. */
body[data-theme=civic]{--paper:#f5f8fc;--surface:#fff;--ink:#183849;--muted:#466174;--line:#c7d4de;--accent:#146179;--soft:#e5edf2;--out:#936a3c}body[data-theme=civic] h1,body[data-theme=civic] h2,body[data-theme=civic] h3{font-family:Arial,Helvetica,sans-serif;font-weight:700;letter-spacing:-.04em}body[data-theme=civic] h1{font-size:clamp(36px,4.5vw,62px);line-height:1.08}body[data-theme=civic] .brand{font-family:Arial,sans-serif;font-size:20px;font-weight:700}body[data-theme=civic] .brand-mark{border-radius:50%}body[data-theme=civic] .masthead{border-bottom:1px solid var(--line)}body[data-theme=civic] .cash-hero{grid-template-columns:1.2fr 1fr;background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:38px;gap:40px}body[data-theme=civic] .hero-lead{font-family:Arial,sans-serif;font-size:17px}body[data-theme=civic] .hero-figures{border:0;padding-left:0;gap:20px}body[data-theme=civic] .headline-number{font:600 36px/1.1 Arial,sans-serif;letter-spacing:-1.5px}body[data-theme=civic] .hero-explanation{font:14px/1.6 Arial,sans-serif}body[data-theme=civic] .primary,body[data-theme=civic] .secondary,body[data-theme=civic] button,body[data-theme=civic] select{border-radius:8px}body[data-theme=civic] .paired-graphics{grid-template-columns:.65fr 1.35fr;gap:30px}body[data-theme=civic] .civic-guide{border-radius:14px}body[data-theme=civic] .explore-panel{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:24px}body[data-theme=civic] .question-card>span:first-child,body[data-theme=civic] .question-card strong,body[data-theme=civic] .panel-number,body[data-theme=civic] .direct-answer,body[data-theme=civic] .teaser-number{font-family:Arial,sans-serif}body[data-theme=civic] .panel-number{font-weight:700}body[data-theme=civic] .question-card{border:1px solid var(--line);padding:20px;background:var(--surface);border-radius:12px;margin:12px 0}body[data-theme=civic] .change-teaser,body[data-theme=civic] .answer-card,body[data-theme=civic] .change-panel,body[data-theme=civic] .builder-board{border-radius:14px}body[data-theme=civic] .focus-with-context{grid-template-columns:170px minmax(0,1fr)}body[data-theme=civic] .question-nav button{font-family:Arial,sans-serif;font-size:14px}body[data-theme=civic] .home-discovery{grid-template-columns:1fr 1fr;gap:32px}body[data-theme=civic] .graphic-tooltip{color:#183849}
/* Financial Studio: ink masthead, analytical side captions and full-width bands. */
body[data-theme=studio]{--paper:#f2f4f5;--surface:#fff;--ink:#1f3240;--muted:#506374;--line:#becbd2;--accent:#255e65;--soft:#e3ebed;--out:#9a6245}body[data-theme=studio] .masthead{max-width:none;background:#182d39;color:#f2f5f6;border:0;padding-inline:max(44px,calc((100vw - 1332px)/2));min-height:76px}body[data-theme=studio] .brand{font-family:Arial,sans-serif;font-weight:700;letter-spacing:-.7px}body[data-theme=studio] .brand-mark{background:#c2d9d1;color:#193a34}body[data-theme=studio] .main-nav a[aria-current=page]{border-color:#aad1c8}body[data-theme=studio] .builder-link{border-color:#4d6573}body[data-theme=studio] h1{font-family:Arial,sans-serif;font-weight:500;font-size:clamp(38px,4.8vw,66px);letter-spacing:-2.8px}body[data-theme=studio] h2,body[data-theme=studio] h3{font-family:Arial,sans-serif;font-weight:500}body[data-theme=studio] .cash-hero{grid-template-columns:1fr;padding:16px 0 32px;gap:30px}body[data-theme=studio] .hero-story{display:grid;grid-template-columns:1.4fr 1fr;gap:20px 42px}body[data-theme=studio] .hero-story .eyebrow{grid-column:1/-1}body[data-theme=studio] .hero-lead{font-family:Arial,sans-serif;font-size:16px;align-self:end;margin:0}body[data-theme=studio] .hero-actions{grid-column:1/-1;margin-top:0}body[data-theme=studio] .hero-figures{border-left:0;padding:24px;background:#182d39;color:white;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 30px}body[data-theme=studio] .headline.balance{grid-column:auto;grid-template-columns:1fr;border-top:0;border-left:1px solid #49606b;padding:0 0 0 25px}body[data-theme=studio] .headline.balance .headline-term{grid-column:auto}body[data-theme=studio] .headline-number,body[data-theme=studio] .headline.balance .headline-number{font:400 clamp(30px,3.8vw,50px)/1.15 Arial,sans-serif;letter-spacing:-1.8px;color:white}body[data-theme=studio] .headline-term{color:#c2d0d5}body[data-theme=studio] .cash-scale{grid-column:1/-1;max-width:700px;padding-bottom:0}body[data-theme=studio] .cash-track{background:#354d59}body[data-theme=studio] .cash-track .in{background:#a6c8bd}body[data-theme=studio] .cash-track .out{background:#c9a990}body[data-theme=studio] .hero-explanation{font:14px/1.5 Arial,sans-serif;}body[data-theme=studio] .source-link{color:var(--muted)}body[data-theme=studio] .hero-figures>.source-link{color:#c2d0d5;min-height:32px}body[data-theme=studio] .paired-graphics{grid-template-columns:1fr;gap:32px}body[data-theme=studio] .explore-panel{display:grid;grid-template-columns:190px minmax(0,1fr);gap:16px 24px;border-top:1px solid var(--line);padding-top:22px}body[data-theme=studio] .panel-heading{grid-column:1;grid-template-columns:1fr;align-self:start;border-bottom:0;padding-bottom:0}body[data-theme=studio] .panel-heading .eyebrow{grid-column:auto}body[data-theme=studio] .panel-heading h3{font-size:21px}body[data-theme=studio] .panel-number{font-family:Arial,sans-serif;font-size:28px}body[data-theme=studio] .category-index{grid-column:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;border-top:0}body[data-theme=studio] .category-row{grid-template-columns:minmax(0,1fr) auto}body[data-theme=studio] .category-row .source-link{grid-column:1/-1;min-height:25px}body[data-theme=studio] .graphic-path,body[data-theme=studio] .graphic-up{grid-column:1/-1}body[data-theme=studio] .explore-panel>.source-link,body[data-theme=studio] .explore-panel>.text-link{grid-column:2}body[data-theme=studio] .focus-with-context{grid-column:2;grid-template-columns:150px minmax(0,1fr)}body[data-theme=studio] .home-discovery{grid-template-columns:1fr 1fr}body[data-theme=studio] .question-card>span:first-child,body[data-theme=studio] .question-card strong,body[data-theme=studio] .teaser-number,body[data-theme=studio] .direct-answer{font-family:Arial,sans-serif}body[data-theme=studio] .question-card>span:first-child{font-size:19px}body[data-theme=studio] .change-teaser{border-left:3px solid var(--accent);background:var(--surface)}body[data-theme=studio] .receipt-gateway{font-family:Arial,sans-serif;font-size:23px}body[data-theme=studio] .change-total{font-family:Arial,sans-serif}
/* Comparison gallery and report. */
.gallery{background:#ecefe9}.gallery-head{padding:24px 30px;border-bottom:1px solid #bac6ba}.gallery-head h1{font-size:40px;margin-bottom:12px}.gallery-head>p:not(.eyebrow){font-size:13px;margin-bottom:12px;}#switches{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}#switches [aria-pressed=true]{background:#315b47;color:white}.gallery-links{display:flex;flex-wrap:wrap;gap:20px;font-size:11px!important}.gallery iframe{width:100%;height:calc(100vh - 250px);min-height:650px;border:0;display:block}.lineage-report{max-width:1150px;padding:40px 25px;margin:auto}.lineage-report h1{font-size:44px;margin-bottom:25px}.lineage-report h2{font-size:30px;margin:35px 0 15px}.lineage-report p{margin:12px 0}.lineage-report table{border-collapse:collapse;width:100%;font-size:13px;margin:25px 0}.lineage-report td,.lineage-report th{padding:15px;border:1px solid var(--line);text-align:left;vertical-align:top}.lineage-report th{background:var(--soft)}.lineage-report li{margin-bottom:12px}.lineage-report code{overflow-wrap:anywhere}.lineage-report .evidence-links{display:flex;flex-wrap:wrap;gap:14px}.lineage-report .limit{padding:20px;border-left:3px solid var(--out);background:var(--soft)}
@media(max-width:1100px){.masthead{flex-wrap:wrap;padding-block:18px;gap:10px}.main-nav{gap:19px}.masthead,.edition-bar,.homepage-content,.site-footer{padding-inline:26px}.cash-hero{gap:30px}.hero-figures{padding-left:20px;gap:20px 15px}.headline-number{font-size:34px}.home-discovery{gap:28px}body[data-theme=civic] .cash-hero{padding:25px;gap:25px}body[data-theme=civic] .headline-number{font-size:31px}body[data-theme=studio] .explore-panel{grid-template-columns:150px minmax(0,1fr)}body[data-theme=studio] .focus-with-context{grid-template-columns:110px minmax(0,1fr)}}
@media(max-width:780px){.masthead,.edition-bar,.homepage-content,.site-footer{padding-inline:18px}.masthead{display:block;min-height:auto}.brand{font-size:20px;margin-bottom:10px}.main-nav{gap:5px 20px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.main-nav a{font-size:11px;width:fit-content;min-height:44px}.main-nav .builder-link{padding:0 7px}.edition-bar{align-items:start;flex-direction:column;gap:7px;padding-block:10px}.homepage-content{padding-top:15px}.page-tools{justify-content:start;margin-bottom:18px}.select-label{width:100%}.cash-hero,body[data-theme=civic] .cash-hero{grid-template-columns:1fr;gap:30px;padding:10px 0 30px}.cash-hero h1{font-size:50px}.hero-figures{border-left:0;padding:22px 0 0;border-top:1px solid var(--line)}.headline-number{font-size:40px}.hero-lead{font-size:19px;margin-top:20px}.hero-actions{margin-top:20px;gap:10px}.hero-actions a{flex:1 1 auto}.paired-graphics,body[data-theme=civic] .paired-graphics{grid-template-columns:1fr;gap:30px}.home-discovery,body[data-theme=civic] .home-discovery,body[data-theme=studio] .home-discovery{grid-template-columns:1fr;gap:30px;margin-top:30px}.section-heading h2{font-size:32px}.section-heading .text-link{flex-shrink:0}.home-composition{margin-top:28px}.receipt-gateway{flex-direction:column;align-items:start;font-size:23px}.receipt-gateway>.primary{width:100%}.hero-explanation{font-size:17px}.focus-with-context,body[data-theme=civic] .focus-with-context,body[data-theme=studio] .focus-with-context{grid-template-columns:1fr}.parent-rail{grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:10px}.parent-card{max-width:200px}.parent-card svg{max-height:80px}.question-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.question-nav button{font-size:16px;padding:12px}.answer-card{padding:20px}.answer-card h2{font-size:27px}.direct-answer{font-size:23px}.history-pair,.change-pair{grid-template-columns:1fr;gap:20px}.builder-board{grid-template-columns:1fr;padding:22px}.baseline-preview{border-right:0;padding-right:0;border-bottom:1px solid var(--line);padding-bottom:20px}body[data-theme=civic] .cash-hero{padding:24px;border-radius:14px}body[data-theme=civic] .headline-number{font-size:37px}body[data-theme=civic] .hero-figures{border-top:1px solid var(--line)}body[data-theme=civic] .civic-guide{padding:22px}body[data-theme=civic] .civic-guide h2{font-size:30px}body[data-theme=civic] .explore-panel{padding:18px}body[data-theme=studio] .masthead{padding-inline:18px;padding-block:16px}body[data-theme=studio] .hero-story{grid-template-columns:1fr;gap:15px}body[data-theme=studio] .hero-story h1{font-size:46px}body[data-theme=studio] .hero-lead{font-size:16px;}body[data-theme=studio] .hero-actions{margin-top:6px}body[data-theme=studio] .hero-figures{grid-template-columns:1fr 1fr;gap:18px;padding:20px}body[data-theme=studio] .headline.balance{grid-column:1/-1;grid-template-columns:1fr auto;border-left:0;border-top:1px solid #49606b;padding:15px 0 0}body[data-theme=studio] .headline.balance .headline-term{grid-column:1/-1}body[data-theme=studio] .headline-number,body[data-theme=studio] .headline.balance .headline-number{font-size:36px}body[data-theme=studio] .explore-panel{grid-template-columns:1fr;gap:12px;padding-top:18px}body[data-theme=studio] .panel-heading{grid-template-columns:1fr auto}body[data-theme=studio] .panel-heading .eyebrow{grid-column:1/-1}body[data-theme=studio] .category-index{grid-column:1;grid-template-columns:1fr}body[data-theme=studio] .explore-panel>.source-link,body[data-theme=studio] .explore-panel>.text-link,body[data-theme=studio] .focus-with-context{grid-column:1}.category-row{gap:8px;grid-template-columns:minmax(0,1fr) auto}.category-row>.source-link{grid-column:1/-1;min-height:30px}.category-detail{max-width:165px}.gallery-head{padding:18px}.gallery-head h1{font-size:32px}.gallery iframe{height:calc(100vh - 330px)}.lineage-report table{display:block;overflow:auto}}
@media(max-width:420px){h1,.cash-hero h1,body[data-theme=studio] .hero-story h1{font-size:38px;letter-spacing:-1.6px}.hero-figures,body[data-theme=civic] .hero-figures,body[data-theme=studio] .hero-figures{grid-template-columns:1fr}.headline.balance,body[data-theme=studio] .headline.balance{grid-column:1;grid-template-columns:1fr}.headline.balance .headline-term,body[data-theme=studio] .headline.balance .headline-term{grid-column:1}.headline-number,body[data-theme=civic] .headline-number{font-size:39px}.main-nav{gap:3px 10px}.main-nav a{font-size:10px}.brand{font-size:19px}.homepage-content,.edition-bar,.masthead,.site-footer{padding-inline:14px}.hero-actions{display:grid}.hero-actions a{width:100%}.headline{padding-block:8px}.question-card{grid-template-columns:1fr}.question-card>strong{font-size:26px}.section-heading{align-items:start}.section-heading h2{font-size:27px}.change-item{grid-template-columns:minmax(0,1fr) 80px}.change-item .change-name{grid-column:1/-1}.change-item strong{text-align:right}.answer-card{padding:16px}.panel-heading{grid-template-columns:1fr}.panel-heading .eyebrow{grid-column:1}.panel-number{font-size:26px}.category-row{grid-template-columns:1fr}.category-detail{text-align:left;max-width:none}.category-detail small{}.change-teaser{padding:20px}.question-nav{grid-template-columns:1fr}.builder-board{padding:17px}.baseline-row{flex-wrap:wrap}body[data-theme=civic] .cash-hero{padding:20px}body[data-theme=studio] .panel-heading{grid-template-columns:1fr}body[data-theme=studio] .panel-heading .eyebrow{grid-column:1}.source-dialog{padding:20px}.source-dialog h2{font-size:24px}.gallery-head{padding:14px}.gallery-head h1{font-size:30px}.gallery-links{gap:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
[hidden]{display:none!important}

body[data-theme=atlas] .paired-graphics[data-context-open=true] .focus-plot{padding-left:126px}homepage-receipt .receipt-spark{width:75px;height:28px;grid-column:1/-1;justify-self:end;margin:4px 0}homepage-receipt .source>summary{list-style:none}homepage-receipt .source>summary::before{content:"+ ";font-weight:bold}homepage-receipt .source[open]>summary::before{content:"− "}@media(max-width:780px){body[data-theme=atlas] .paired-graphics[data-context-open=true] .focus-plot{padding-left:0}}

/* Atlas: Overview is the visual workspace. */
body[data-theme=atlas] .adaptive-pair[data-active=revenue]{grid-template-columns:minmax(0,3fr) minmax(0,1fr)}
body[data-theme=atlas] .adaptive-pair[data-active=expenses]{grid-template-columns:minmax(0,1fr) minmax(0,3fr)}
body[data-theme=atlas] .adaptive-pair .focus-plot{padding-left:0}
.compact-overview{min-width:0;border-top:2px solid var(--ink);padding-top:18px;align-self:start;display:grid;gap:16px}
.compact-overview h3{font-size:25px}.compact-overview .panel-number{font-size:30px}.compact-overview .saved-selection{font-size:13px;border-top:1px solid var(--line);padding-top:12px}
.compact-overview .proportions{display:block;width:100%;height:auto}.compact-overview .secondary{width:100%;text-align:center;white-space:normal}
#budget-infographic{scroll-margin-top:24px}
@media(max-width:780px){body[data-theme=atlas] .adaptive-pair[data-active]{grid-template-columns:minmax(0,1fr)}.adaptive-pair [data-presentation=active]{order:0}.adaptive-pair [data-presentation=compact]{order:1}.compact-overview{grid-template-columns:1fr 1fr;gap:12px}.compact-overview .eyebrow,.compact-overview .proportional-graphic,.compact-overview .fine,.compact-overview .saved-selection,.compact-overview>.secondary{grid-column:1/-1}.compact-overview .proportions{max-height:100px}.compact-overview .panel-number{text-align:right}}

.programme-comparison{padding:20px 0;min-width:0}.programme-comparison h4{font:400 20px/1.3 var(--heading,Georgia,serif);margin:0 0 12px}.programme-comparison>.fine{}.programme-comparison-mini h4{font-size:12px}

/* Private cash and debt exploration */
.cash-debt-test{margin:48px 0 56px;padding-top:34px;border-top:2px solid var(--ink)}
.debt-section-head{width:100%}.debt-section-head h2{margin:8px 0 14px}
.debt-intro{font-size:17px;color:var(--muted)}
.debt-date{margin-top:18px;font-size:13px;font-weight:700}
.debt-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:26px 0 22px;border-block:1px solid var(--line)}
.debt-card{padding:24px 28px 24px 0}.debt-card+ .debt-card{border-left:1px solid var(--line);padding-left:28px}
.debt-card h3{font-size:20px;margin-bottom:18px}.debt-number{display:block;font:normal clamp(30px,3.8vw,52px)/1.12 "Budget Literata",Georgia,serif;letter-spacing:-1.2px;font-variant-numeric:tabular-nums}
.debt-pending .debt-number{font-size:26px;letter-spacing:-.5px;color:var(--muted);min-height:59px;display:flex;align-items:center}
.debt-ratio{font-size:14px;margin-top:9px}.debt-definition{font-size:13px;color:var(--muted);margin-top:18px}
.debt-source{display:inline-block;margin-top:14px;font-size:12px}
.debt-explanation,.debt-history{border-bottom:1px solid var(--line);padding:16px 0}
.cash-debt-test summary{cursor:pointer;font-weight:700;min-height:28px}.cash-debt-test details>p{margin-top:14px}
.debt-table-wrap{overflow-x:auto;margin-top:18px}.debt-table{width:100%;border-collapse:collapse;min-width:500px;font-size:13px}
.debt-table th,.debt-table td{text-align:left;padding:14px 16px;border-bottom:1px solid var(--line)}
.debt-table th:first-child{padding-left:0}.debt-table td strong{font-weight:400}.debt-table td small{display:block;color:var(--muted)}
.selected-debt-year{background:var(--soft)}.debt-scope{margin-top:18px}
@media(max-width:650px){.cash-debt-test{margin:32px 0;padding-top:26px}.debt-cards{grid-template-columns:1fr}.debt-card,.debt-card+.debt-card{padding:22px 0;border-left:0}.debt-card+.debt-card{border-top:1px solid var(--line)}.debt-number{font-size:44px}.debt-pending .debt-number{min-height:0}.debt-definition{max-width:none}.debt-intro{font-size:16px}}
