@font-face{font-family:'Source Serif 4';src:url('./opennote-fonts/SourceSerif4.woff2') format('woff2');font-weight:200 900;font-display:swap}
@font-face{font-family:'Source Sans 3';src:url('./opennote-fonts/SourceSans3.woff2') format('woff2');font-weight:200 900;font-display:swap}
/* Paper, type and interaction tokens. All overrides are preview scoped. */
html[data-design=opennote]{--bg-page:#fffdf8;--bg-surface:#fffdf8;--bg-subtle:#f3efe7;--ink-primary:#24211e;--ink-secondary:#47423c;--ink-muted:#686158;--border-subtle:#ded9d0;--border-strong:#a99e90;--neo-ink:#24211e;--neo-paper:#fffdf8;--neo-surface:#fffdf8;--neo-primary:#512906;--neo-pink:#b97970;--neo-focus:#512906;--action-blue:#512906;--action-blue-hover:#351b04;--shadow-soft:none;--brand-navy-900:#24211e;--brand-navy-800:#47423c;--radius:6px;background:var(--bg-page)}
html[data-design=opennote] body{background:var(--bg-page);color:var(--ink-primary);font:16px/1.5 'Source Sans 3',sans-serif}
html[data-design=opennote] :is(button,input,select,textarea,svg text){font-family:'Source Sans 3',sans-serif}
html[data-design=opennote] :is(h1,h2,h3,.hero-total){font-family:'Source Serif 4',serif;font-weight:400;letter-spacing:-.02em;text-transform:none;color:var(--ink-primary)}
html[data-design=opennote] h1{font-size:2rem;line-height:1.2;margin:0}
html[data-design=opennote] h2{font-size:1.6rem;line-height:1.25}
html[data-design=opennote] h3{font-size:1.25rem;line-height:1.3}
html[data-design=opennote] p{max-width:72ch;font-weight:400}
html[data-design=opennote] button{box-shadow:none;text-transform:none;letter-spacing:0;font-weight:500}
html[data-design=opennote] button:hover{transform:none}
html[data-design=opennote] :is(button,a,input,select,summary,[tabindex]):focus-visible{outline:2px solid #512906;outline-offset:3px}
html[data-design=opennote] a{color:#512906}
html[data-design=opennote] [hidden]{display:none!important}
/* Masthead and one page heading. */
html[data-design=opennote] .app-shell{width:100%;max-width:none;margin:0;padding:0 40px 40px}
html[data-design=opennote] .topbar{display:flex;flex-wrap:wrap;align-items:center;gap:0 24px;padding:16px 0 0;border:0;background:transparent;box-shadow:none;position:static}
html[data-design=opennote] .brand strong{font:400 1.35rem 'Source Serif 4',serif;text-transform:none}
html[data-design=opennote] :is(.brand-mark,.brand small,.preview-mobile-links){display:none!important}
html[data-design=opennote] .opennote-preview-marker{margin-left:auto;display:flex;gap:16px;font-size:.8125rem;color:#686158}
html[data-design=opennote] .mode-switch{display:flex;width:100%;gap:24px;padding:0;margin-top:8px;border:0;border-bottom:1px solid #ded9d0;border-radius:0;background:transparent;box-shadow:none}
html[data-design=opennote] .mode-button{flex:none;min-height:44px;padding:10px 0;background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;color:#686158}
html[data-design=opennote] .mode-button span{font-size:1rem;font-weight:400;text-transform:none}
html[data-design=opennote] .mode-button:is(.is-active,:hover){border-bottom-color:#512906;color:#512906;background:transparent}
html[data-design=opennote] .opennote-sections{display:none}
html[data-design=opennote] .intro{display:flex;align-items:start;justify-content:space-between;gap:24px;margin:0;padding:24px 0 16px;border:0;background:transparent;box-shadow:none}
html[data-design=opennote] .intro-copy{min-width:0}
html[data-design=opennote] .intro p{font-size:.9375rem;font-weight:400;color:#686158;margin:6px 0 0;max-width:65ch}
html[data-design=opennote] .release-settings{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:4px 12px;max-width:390px;min-height:0;margin:0;padding:0;border:0;background:transparent;font-size:.8125rem;color:#686158}
html[data-design=opennote] .release-settings #release-status{text-align:right}
html[data-design=opennote] main{padding:0;background:transparent!important}
/* Content-led sections replace card footprints. */
html[data-design=opennote] :is(.chart-frame,.panel,.note-stage,.exploration-intro,.home-summary,.changes-evidence,.changes-chart-panel,.changes-toolbar,.changes-ranking,.change-headline,.search-results,.search-result,.budget-card,.analysis-picker,.search-result-card,.search-empty,.empty-state,.policy-summary-card){background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;min-height:0}
html[data-design=opennote] :is(.panel,.note-stage,.analysis-picker){padding:0}
html[data-design=opennote] .panel-title{padding:0;border:0}
html[data-design=opennote] .home-grid{display:block}
html[data-design=opennote] .home-summary{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.6fr);column-gap:40px;align-items:start;padding:8px 0 24px}
html[data-design=opennote] .home-summary .panel-title{grid-column:1}
html[data-design=opennote] .home-summary h2{font-size:1.2rem;margin:0}
html[data-design=opennote] .hero-total{grid-column:1;font-size:3.5rem;line-height:1.1;margin:12px 0;background:transparent;border:0;box-shadow:none;padding:0!important}
html[data-design=opennote] #home-summary-copy{grid-column:1;font-size:.9375rem;font-weight:400;margin:0}
html[data-design=opennote] .budget-strip{grid-column:2;grid-row:1/4;background:transparent;border:0;padding:0}
html[data-design=opennote] .budget-strip-bar{border:0;border-radius:0}
html[data-design=opennote] :is(.budget-strip p,.budget-strip-labels span,.budget-card strong,.budget-card em){font-weight:500}
html[data-design=opennote] .home-graphic-tabs{background:transparent;border:0;border-radius:0;padding:0}
html[data-design=opennote] .home-graphic-tabs button{min-height:44px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent}
html[data-design=opennote] .home-graphic-tabs button.is-active{border-bottom-color:#512906;color:#512906;background:transparent}
html[data-design=opennote] .exploration-intro{padding:16px 0;margin:0 0 24px;border-block:1px solid #ded9d0!important}
html[data-design=opennote] .exploration-intro h2{font-size:1.25rem;margin:0}
html[data-design=opennote] .exploration-actions{display:flex;flex-wrap:wrap;gap:4px 24px;margin:4px 0}
html[data-design=opennote] .exploration-actions button{min-height:44px;padding:6px 0;border:0;background:transparent;color:#512906;text-align:left}
html[data-design=opennote] .exploration-actions button span{display:none}
html[data-design=opennote] .exploration-actions button strong{font-weight:500;text-decoration:underline;text-underline-offset:4px}
html[data-design=opennote] .support-grid{gap:32px;margin-top:16px}
html[data-design=opennote] :is(.budget-card,.search-result-card){border-bottom:1px solid #ded9d0!important;padding:12px 0}
html[data-design=opennote] :is(.budget-card-list,.global-search-results){gap:0}
html[data-design=opennote] :is(.search-page-head,.note-toolbar){display:none}
html[data-design=opennote] .global-search-box{max-width:780px;margin:0 0 12px}
html[data-design=opennote] .search-box>span{font-size:.875rem;font-weight:500;text-transform:none}
html[data-design=opennote] .search-result-main{gap:16px}
html[data-design=opennote] #faq-view{max-width:none}
/* Chart task area, settings and actions. */
html[data-design=opennote] .note-chart-shell{display:block!important}
html[data-design=opennote] .chart-control-rail{position:static;width:100%;margin:0 0 8px;padding:12px 0;border:0;border-block:1px solid #ded9d0;border-radius:0;background:transparent;box-shadow:none}
html[data-design=opennote] .chart-control-rail .toolbar{display:flex;flex-wrap:wrap;align-items:end;justify-content:flex-start;gap:12px 20px;padding:0;border:0;background:transparent}
html[data-design=opennote] :is(.select-control,.preview-essential-values,.spending-controls){background:transparent;border:0;padding:0;box-shadow:none}
html[data-design=opennote] .chart-control-rail :is(.select-control,.chart-action-row){width:auto;min-width:0;max-width:100%;margin:0;padding:0}
html[data-design=opennote] .select-control>span{font-size:.8125rem;font-weight:500;color:#686158;letter-spacing:0;text-transform:none}
html[data-design=opennote] :is(select,input[type=search]){max-width:100%;min-height:44px;padding:8px 10px;border:1px solid #a99e90;border-radius:4px;background:#fffdf8;color:#24211e;font-size:.9375rem;font-weight:400;box-shadow:none}
html[data-design=opennote] .chart-control-rail .toolbar .select-control :is(input,select){min-height:44px;margin:0;width:100%}
html[data-design=opennote] .chart-control-rail select{max-width:300px}
html[data-design=opennote] .preview-essential-values{display:flex;gap:16px;width:auto}
html[data-design=opennote] .preview-more-options{width:auto;flex-basis:auto;margin-left:auto;padding:0;border:0;border-radius:0;background:transparent}
html[data-design=opennote] .preview-more-options summary{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-height:36px;padding:4px 0;color:#512906;font-weight:500;background:transparent;cursor:pointer}
html[data-design=opennote] .preview-more-options summary::before{content:'+'}
html[data-design=opennote] .preview-more-options[open] summary::before{content:'−'}
html[data-design=opennote] .preview-options-body{display:flex;flex-wrap:wrap;align-items:start;gap:16px;padding:12px 0}
html[data-design=opennote] .opennote-options-context{color:#686158;font-size:.8125rem;font-weight:400}
html[data-design=opennote] .opennote-chart-actions{position:relative;z-index:1;display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;min-height:44px;margin:0 0 8px}
html[data-design=opennote] :is(.source-button,.reset-view,.changes-secondary-button,.detail-source,.detail-drill){min-height:44px;padding:8px 4px;border:0;border-radius:0;background:transparent;color:#512906;text-decoration:underline;text-underline-offset:4px}
html[data-design=opennote] :is(.analyse-selection,#preview-mobile-analysis){min-height:44px;margin:0 0 0 auto;padding:8px 14px;border:1px solid #88725d;border-radius:4px;background:transparent;color:#512906;text-decoration:none;font-size:.9375rem}
html[data-design=opennote] .up-one-level:disabled{display:none}
html[data-design=opennote] :is(.banknote-wrap,.banknote,.table-fallback){border:0;border-radius:0;background:transparent;box-shadow:none}
html[data-design=opennote] .banknote:not(.is-path-chart){height:auto;max-height:none}
html[data-design=opennote] :is(.release-caption,.chart-interaction-hint){font-size:.875rem;color:#686158;margin:8px 0}
html[data-design=opennote] .breadcrumbs:empty,html[data-design=opennote] .active-controls:empty{display:none}
html[data-design=opennote] .policy-summary-grid{display:flex;flex-wrap:wrap;gap:24px;margin:8px 0}
html[data-design=opennote] .policy-summary-grid>*{flex:1;padding:8px 0;border:0;background:transparent;box-shadow:none}
html[data-design=opennote] :is(.coverage-explanation,.fiscal-support-grid){margin-block:12px}
/* Supporting measures, fiscal facts and definitions follow the same flat composition. */
html[data-design=opennote] :is(.fiscal-dashboard-head,#faq-view .history-head){display:none}
html[data-design=opennote] :is(.policy-group-switch,.policy-group-track){position:static;transform:none;box-shadow:none;border:0;background:transparent;padding:0;margin:0}
html[data-design=opennote] .policy-group-switch{width:auto;min-width:0;max-width:100%}
html[data-design=opennote] .policy-group-track{display:flex;gap:12px}
html[data-design=opennote] .policy-group-track button{background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;min-height:44px;padding:8px 0;color:#686158;font-weight:500}
html[data-design=opennote] .policy-group-track button.is-active{color:#512906;border-bottom-color:#512906;background:transparent}
html[data-design=opennote] .policy-group-track::before{display:none}
html[data-design=opennote] .policy-group-switch .graphic-switch-label{font-size:.8125rem;font-weight:400;text-transform:none;letter-spacing:0}
html[data-design=opennote] :is(.policy-card,.fiscal-summary-card,.faq-grid article,.measure-find-row){border:0;border-bottom:1px solid #ded9d0;border-radius:0;padding:12px 0;background:transparent;box-shadow:none}
html[data-design=opennote] .policy-metric{padding:0;border:0}
html[data-design=opennote] .policy-metric strong{font:400 1.6rem 'Source Serif 4',serif}
html[data-design=opennote] :is(.policy-metric small,.policy-card-title,.fiscal-summary-card span){text-transform:none;letter-spacing:0;font-weight:500}
html[data-design=opennote] .policy-card-breakdown span{border:0;border-radius:0;background:transparent;padding:4px 12px 4px 0;font-weight:400}
html[data-design=opennote] .policy-layout{grid-template-columns:minmax(0,1.3fr) minmax(280px,1fr);gap:32px;margin-top:24px;align-items:start}
html[data-design=opennote] .measure-find-list{max-height:640px;overflow:auto;gap:0;padding-right:8px}
html[data-design=opennote] .measure-find-row.is-selected{background:#f0e8dc;box-shadow:none}
html[data-design=opennote] .measure-find-main strong{font-weight:500;font-size:.9375rem}
html[data-design=opennote] .measure-find-main em{font-weight:500}
html[data-design=opennote] .selected-measure-panel{position:sticky;top:16px}
html[data-design=opennote] .fiscal-summary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:24px;margin:20px 0}
html[data-design=opennote] .fiscal-summary-card strong{font:400 1.6rem 'Source Serif 4',serif}
html[data-design=opennote] .faq-grid{display:block}
html[data-design=opennote] .faq-grid article{padding:20px 0}
html[data-design=opennote] .faq-grid p{font-weight:400;font-size:1rem;line-height:1.55}
html[data-design=opennote] .faq-grid h3{font:400 1.25rem/1.3 'Source Serif 4',serif}
/* Comparison and reference pages. */
html[data-design=opennote] :is(.analysis-heading h2,.analysis-heading p,.changes-intro,.faq-heading){display:none}
html[data-design=opennote] .analysis-heading{margin:0 0 8px;min-height:0}
html[data-design=opennote] .analysis-controls{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}
html[data-design=opennote] .analysis-scope-row{margin:8px 0;gap:12px}
html[data-design=opennote] :is(.analysis-candidate strong,.analysis-bar-row,.analysis-bar-row strong){font-weight:500}
html[data-design=opennote] .analysis-candidate-group>summary small{background:#f3efe7;border:0;color:#47423c}
html[data-design=opennote] .analysis-chart-guide i{border:0}
html[data-design=opennote] :is(.opennote-mobile-controls,.opennote-search-back){display:none}

html[data-design=opennote] .analysis-layout{grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:32px;margin-top:20px}
html[data-design=opennote] .opennote-picker{min-width:0}
html[data-design=opennote] .opennote-picker>summary{padding:8px 0;min-height:44px;color:#512906;cursor:pointer}
html[data-design=opennote] .opennote-picker>summary span{display:block;font-size:.8125rem;color:#686158}
html[data-design=opennote] .analysis-picker h3{display:none}
html[data-design=opennote] .analysis-results>.panel{padding:16px 0;border-top:1px solid #ded9d0!important}
html[data-design=opennote] :is(.analysis-candidate,.analysis-bar-row,.analysis-candidate-group>summary){border:0;border-bottom:1px solid #ded9d0;background:transparent}
html[data-design=opennote] .analysis-candidate:has(input:checked){background:#f0e8dc}
html[data-design=opennote] input[type=checkbox]{accent-color:#512906}
html[data-design=opennote] .analysis-bar-track i{border:0;box-shadow:none}
html[data-design=opennote] .analysis-chart-guide{border:0;border-bottom:1px solid #ded9d0}
html[data-design=opennote] #changes-view .changes-shell{display:flex;flex-direction:column;gap:20px}
html[data-design=opennote] #changes-view :is(.changes-toolbar,.changes-chart-panel){width:100%;padding:0}
html[data-design=opennote] #changes-view :is(.changes-primary-controls,.changes-secondary-controls){display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}
html[data-design=opennote] #changes-view .changes-controls .select-control{padding:0;background:transparent;border:0;box-shadow:none}
html[data-design=opennote] #changes-view .changes-controls .select-control :is(select,input){border:1px solid #a99e90;border-radius:4px;box-shadow:none;margin:0;width:100%;font-weight:400;min-height:44px}
html[data-design=opennote] #changes-view .changes-heading{display:none}
html[data-design=opennote] #changes-view .changes-summary{border-top:1px solid #ded9d0;padding-top:16px;margin:20px 0}
html[data-design=opennote] #changes-view :is(#changes-fbo,#changes-download){width:auto;box-shadow:none;margin:8px 12px 0 0}
html[data-design=opennote] #changes-view .changes-toolbar{margin:0 0 16px}
html[data-design=opennote] #changes-view .changes-refine{border-color:#ded9d0}
html[data-design=opennote] #changes-view .change-bar{border:0}
html[data-design=opennote] #changes-view .change-headline-value{font-family:'Source Serif 4',serif;font-weight:400}
html[data-design=opennote] #changes-view #changes-replacement-notice{border:0;padding:8px 0}

html[data-design=opennote] .changes-heading h2{display:none}
html[data-design=opennote] #changes-headlines{gap:24px}
html[data-design=opennote] .change-headline{padding:12px 0;border-top:1px solid #ded9d0!important}
html[data-design=opennote] #changes-fbo{width:auto;padding:8px 14px;background:#512906;color:#fffdf8;border:0;border-radius:4px}
html[data-design=opennote] #changes-download{width:auto;border:0}
html[data-design=opennote] .change-headline.increase .change-headline-direction{color:#28583f}
html[data-design=opennote] .change-headline.decrease .change-headline-direction{color:#803c39}
html[data-design=opennote] :is(table,th,td){border-color:#ded9d0;font-variant-numeric:tabular-nums}
html[data-design=opennote] :is(dialog,.mobile-filter-sheet,.mobile-nav-tray){background:#fffdf8;color:#24211e;border:1px solid #a99e90;border-radius:6px;box-shadow:none}
html[data-design=opennote] dialog::backdrop{background:rgb(36 33 30 / .3)}
html[data-design=opennote] :is(.hover-tooltip,#analysis-tooltip){background:#fffdf8;border:1px solid #a99e90;border-radius:4px;box-shadow:none;font-weight:400}
html[data-design=opennote] .motion-status{background:#fffdf8;border:1px solid #a99e90;box-shadow:none;font-weight:400}
/* Chart typography and proportional composition. */
html[data-design=opennote] svg text{fill:#24211e;letter-spacing:0;font-weight:400;text-transform:none}
html[data-design=opennote] :is(.chart-kicker,.ranked-subtitle,.chart-note,.chart-footer){font-size:13px;font-weight:400}
html[data-design=opennote] .opennote-stack-total{font:400 30px 'Source Serif 4',serif}
html[data-design=opennote] .opennote-stack-label{font-size:15px}
html[data-design=opennote] .opennote-segment-label{font-size:14px;font-weight:500;fill:#24211e;pointer-events:none}
html[data-design=opennote] .opennote-stack-value{font-size:14px;font-variant-numeric:tabular-nums}
html[data-design=opennote] .opennote-stack-segment rect{stroke:none;filter:none}
html[data-design=opennote] .preview-more-options[open]{width:100%;flex-basis:100%;margin-left:0}
html[data-design=opennote] .opennote-stack-row .row-surface{fill:transparent}
html[data-design=opennote] .opennote-stack-row:is(:hover,:focus,.is-linked) .row-surface{fill:#f0e8dc}
html[data-design=opennote] .opennote-stack-segment:is(:hover,:focus,.is-linked) rect{stroke:#24211e;stroke-width:2}
html[data-design=opennote] :is(.stacked-segment,.ranked-segment,.note-segment) rect{stroke-width:1;filter:none}
@media(max-width:1100px){html[data-design=opennote] .app-shell{padding-inline:24px}html[data-design=opennote] .mode-switch{gap:16px;flex-wrap:wrap}html[data-design=opennote] .intro{gap:16px}}
@media(max-width:820px){
 html[data-design=opennote] .app-shell{padding:0 16px 24px}
 html[data-design=opennote] .brand{justify-content:flex-start;text-align:left}
 html[data-design=opennote] .topbar{display:flex!important;padding-top:12px;gap:8px}
 html[data-design=opennote] .opennote-preview-marker{font-size:.75rem;gap:8px}
 html[data-design=opennote] .opennote-preview-marker>span{display:none}
 html[data-design=opennote] .opennote-sections{display:block;width:100%;border-bottom:1px solid #ded9d0}
 html[data-design=opennote] .opennote-sections>summary{min-height:44px;padding:10px 0;color:#512906;cursor:pointer}
 html[data-design=opennote] .opennote-sections>summary span{float:right;color:#686158}
 html[data-design=opennote] .mode-switch{display:grid!important;grid-template-columns:1fr 1fr;gap:0 24px;overflow:visible;margin:0;border:0}
 html[data-design=opennote] .mode-button{text-align:left}
 html[data-design=opennote] .intro{display:block!important;padding:16px 0}
 html[data-design=opennote] h1{font-size:1.75rem}
 html[data-design=opennote] .intro p{display:none}
 html[data-design=opennote] .release-settings{justify-content:flex-start;max-width:none;margin-top:4px}
 html[data-design=opennote] .release-settings #release-status{text-align:left}
 html[data-design=opennote] .home-summary{display:block;padding-top:0}
 html[data-design=opennote] .hero-total{font-size:3rem}
 html[data-design=opennote] .budget-strip{margin-top:20px}
 html[data-design=opennote] .support-grid{grid-template-columns:1fr;gap:24px}
 html[data-design=opennote] body[data-mode=home] .support-grid{display:grid!important}
 html[data-design=opennote] .exploration-actions{display:grid;gap:0}
 html[data-design=opennote] :is(.mobile-deck-shell,.mobile-chart-card,.mobile-chart-total,.mobile-deck-slide,.mobile-graphic-shell){background:transparent;border:0;box-shadow:none;border-radius:0}
 html[data-design=opennote] .mobile-deck-topbar{z-index:auto;min-height:44px;display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:0 0 12px;border:0;background:transparent;box-shadow:none}
 html[data-design=opennote] :is(#mobile-deck-nav-toggle,.mobile-deck-title,.mobile-chart-copy>span,.mobile-chart-copy>h2,.mobile-deck-footer,.mobile-search-topbar,.mobile-faq-topbar){display:none!important}
 html[data-design=opennote] .mobile-deck-icon{border:1px solid #a99e90;background:transparent;box-shadow:none}
 html[data-design=opennote] #mobile-deck-filter-toggle::after{content:'Filters';font-size:14px}
 html[data-design=opennote] #mobile-deck-filter-toggle{display:flex;width:auto;gap:8px;padding:8px}
 html[data-design=opennote] .mobile-deck-shell{display:block;height:auto;min-height:0;max-height:none;overflow:visible}
 html[data-design=opennote] .mobile-deck-viewport{overflow:visible}
 html[data-design=opennote] .mobile-deck-track{display:block;height:auto;transform:none!important}
 html[data-design=opennote] .mobile-deck-slide{display:none;min-width:0;height:auto;padding:0}
 html[data-design=opennote] .mobile-deck-slide.is-active{display:block}
 html[data-design=opennote] .mobile-chart-card{display:block;height:auto;overflow:visible;padding:0}
 html[data-design=opennote] .mobile-deck-actions{display:flex;gap:8px}
 html[data-design=opennote] .opennote-mobile-controls{display:flex;gap:12px;align-items:end;margin-bottom:12px}
 html[data-design=opennote] .opennote-mobile-controls label{display:grid;gap:4px;min-width:0;margin:0;padding:0}
 html[data-design=opennote] .opennote-mobile-controls .chart-search-control{flex:1}
 html[data-design=opennote] .opennote-mobile-controls label>span{font-size:.8125rem;font-weight:400}
 html[data-design=opennote] .opennote-mobile-controls input{width:100%}
 html[data-design=opennote] #mobile-deck-search{display:none}
 html[data-design=opennote] .analysis-controls{grid-template-columns:repeat(2,minmax(0,1fr))}
 html[data-design=opennote] .opennote-search-back{display:block}

 html[data-design=opennote] .mobile-chart-copy span{text-transform:none}
 html[data-design=opennote] .mobile-filter-sheet{position:fixed;max-height:85svh}
 html[data-design=opennote] .mobile-deck-scrim{position:fixed}
 html[data-design=opennote] .mobile-chart-card .chart-note{display:block;font-size:.8125rem;color:#686158}

 html[data-design=opennote] .mobile-chart-headline{padding:4px 0 12px;background:transparent;border:0;box-shadow:none}
 html[data-design=opennote] .mobile-chart-headline :is(small,strong,em){font-weight:400;text-transform:none;letter-spacing:0}
 html[data-design=opennote] .mobile-chart-headline strong{font-family:'Source Serif 4',serif;font-size:2rem}
 html[data-design=opennote] .mobile-filter-sheet[aria-hidden=true],html[data-design=opennote] .mobile-nav-tray[aria-hidden=true]{visibility:hidden;pointer-events:none}
 html[data-design=opennote] .mobile-filter-sheet[aria-hidden=false],html[data-design=opennote] .mobile-nav-tray[aria-hidden=false]{visibility:visible}
 html[data-design=opennote] .mobile-filter-sheet button{border-width:1px;box-shadow:none}
 html[data-design=opennote] #mobile-deck-up-level:disabled{display:none}
 html[data-design=opennote] .policy-layout{grid-template-columns:1fr}
 html[data-design=opennote] .selected-measure-panel{position:static}
 html[data-design=opennote] .analysis-layout{grid-template-columns:1fr;gap:16px}
 html[data-design=opennote] .opennote-picker{border-block:1px solid #ded9d0}
 html[data-design=opennote] #changes-view .changes-primary-controls{grid-template-columns:repeat(2,minmax(0,1fr))}
 html[data-design=opennote] #changes-view .changes-ranking{--changes-columns:minmax(80px,1.2fr) minmax(50px,1fr) 85px}
 html[data-design=opennote] .opennote-mobile-stack{display:flex;flex-direction:column;height:260px;margin:8px 0 16px;overflow:hidden}
 html[data-design=opennote] .opennote-mobile-stack button{flex:none;width:100%;min-height:0;padding:0 10px;border:0;border-radius:0;background:var(--segment-color);display:flex;align-items:center;justify-content:space-between;gap:12px;overflow:hidden;color:#24211e;font-size:14px;text-align:left}
 html[data-design=opennote] .opennote-segment-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 html[data-design=opennote] .opennote-mobile-row{display:grid;grid-template-columns:12px minmax(0,1fr) auto;gap:4px 10px;width:100%;min-height:52px;padding:10px 0;border:0;border-bottom:1px solid #ded9d0;border-radius:0;background:transparent;text-align:left;color:#24211e}
 html[data-design=opennote] .opennote-mobile-row i{width:10px;height:10px;background:var(--row-color);margin-top:6px}
 html[data-design=opennote] .opennote-mobile-row small{grid-column:3;color:#686158;text-align:right}
 html[data-design=opennote] .opennote-mobile-row:is(:focus,.is-selected){background:#f0e8dc}
}
@media(prefers-reduced-motion:reduce){html[data-design=opennote] *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Refinement: readable labels and compact interaction details. */
html[data-design=opennote] .opennote-segment-percent{font-size:15px;font-weight:600;fill:#24211e;pointer-events:none}
html[data-design=opennote] .opennote-stack-segment{opacity:1}
html[data-design=opennote] .opennote-row-action{font-size:20px;fill:#512906}
html[data-design=opennote] .preview-more-options{margin-left:0}
html[data-design=opennote] #hover-tooltip{font-size:15px;line-height:1.5;max-width:340px;padding:16px}
html[data-design=opennote] #hover-tooltip :is(strong,span){display:block}
html[data-design=opennote] #hover-tooltip .preview-tooltip-value{font-size:18px;color:#24211e;margin:6px 0}
html[data-design=opennote] #hover-tooltip .tooltip-action{font-size:14px;margin-top:8px}
html[data-design=opennote] .opennote-segment-label{fill:#24211e!important;font-size:15px}

/* Page composition and progressive disclosure. */
html[data-design=opennote] .preview-disclosure{border-top:1px solid #ded9d0;margin:12px 0;padding:8px 0}
html[data-design=opennote] .preview-disclosure>summary{cursor:pointer;min-height:44px;padding:10px 0;color:#512906}
html[data-design=opennote] .preview-setting-summary{font-size:14px;color:#47423c;margin-left:12px;font-weight:400}
html[data-design=opennote] .preview-disclosure-body{display:flex;flex-wrap:wrap;gap:12px 24px;align-items:start}
html[data-design=opennote] .preview-disclosure-body>p{flex-basis:100%;margin:0}
html[data-design=opennote] .preview-disclosure-body>details{flex-basis:100%}
html[data-design=opennote] .analysis-controls{grid-template-columns:minmax(180px,1.5fr) repeat(2,minmax(130px,1fr));gap:12px 20px}
html[data-design=opennote] #preview-comparison-settings{grid-column:1/-1;margin:0}
html[data-design=opennote] .analysis-results>article{margin-bottom:24px}
html[data-design=opennote] .analysis-results>article>.select-control{max-width:240px;margin-left:auto}
html[data-design=opennote] .preview-trend-empty .analysis-trend-heading,html[data-design=opennote] .preview-trend-empty .analysis-chart-hint{display:none}
html[data-design=opennote] .preview-trend-empty #analysis-trend{height:auto!important;min-height:0!important;padding:0}
html[data-design=opennote] .policy-layout{display:grid;grid-template-columns:minmax(0,1fr)}
html[data-design=opennote] .policy-layout.has-selection{grid-template-columns:minmax(0,3fr) minmax(0,2fr)}
html[data-design=opennote] .measure-find-list{max-height:none;overflow:visible;padding:0}
html[data-design=opennote] .policy-layout .panel-title{display:flex;justify-content:space-between;align-items:baseline;gap:16px}
html[data-design=opennote] .policy-layout .result-count{position:static;transform:none;border:0;background:transparent;box-shadow:none;color:#47423c;font-size:14px;padding:0}
html[data-design=opennote] .preview-close-detail{margin-bottom:12px}
html[data-design=opennote] .preview-search-examples{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px}
html[data-design=opennote] .preview-search-examples button{min-height:44px}
html[data-design=opennote] .budget-card strong{color:#512906}
html[data-design=opennote] .preview-faq-index{display:flex;flex-wrap:wrap;gap:12px 24px;padding:12px 0 24px}
html[data-design=opennote] .preview-faq-index a{min-height:44px;display:flex;align-items:center}
html[data-design=opennote] .preview-faq-section{margin-bottom:32px}
html[data-design=opennote] .preview-faq-section h2{scroll-margin-top:16px}
html[data-design=opennote] .preview-comparison-direction{font-size:16px;color:#24211e;margin:8px 0}
html[data-design=opennote] #preview-release-details .changes-selected-release{display:block;flex-basis:100%;font-size:14px}
html[data-design=opennote] .changes-direction-note{font-size:14px}
@media(max-width:820px){
 html[data-design=opennote] .topbar{padding-top:8px;gap:0}
 html[data-design=opennote] .brand{width:auto;flex:1}
 html[data-design=opennote] .intro{padding:10px 0 8px}
 html[data-design=opennote] .release-settings{padding:0;margin:0;min-height:44px}
 html[data-design=opennote] .opennote-mobile-controls{margin-bottom:8px}
 html[data-design=opennote] .mobile-deck-topbar{padding-bottom:4px}
 html[data-design=opennote] .mobile-chart-headline{padding:0 0 4px;margin:0;min-height:0}
 html[data-design=opennote] .mobile-chart-headline em{display:none}
 html[data-design=opennote] .mobile-chart-copy{padding:0;margin:0;gap:0}
 html[data-design=opennote] .mobile-chart-card .chart-note{margin:4px 0}
 html[data-design=opennote] .policy-layout.has-selection{grid-template-columns:1fr}
 html[data-design=opennote] .selected-measure-panel{position:static;max-height:none;overflow:visible;padding:16px 0}
 html[data-design=opennote] .analysis-controls{grid-template-columns:repeat(2,minmax(0,1fr))}
 html[data-design=opennote] .analysis-controls>#analysis-domain,html[data-design=opennote] .analysis-controls>label:first-child{grid-column:1/-1}
 html[data-design=opennote] .preview-setting-summary{display:block;margin-left:0}
 html[data-design=opennote] .mobile-touch-tooltip{font-size:16px;border:1px solid #a99e90;box-shadow:none;background:#fffdf8}
 html[data-design=opennote] .mobile-touch-tooltip button{min-height:44px}
}

html[data-design=opennote] .preview-ranking-header{display:flex;align-items:center;justify-content:space-between;gap:16px}
html[data-design=opennote] .preview-ranking-header h3{margin:0}
html[data-design=opennote] .preview-trend-empty{padding:8px 0!important;margin-bottom:12px!important}
html[data-design=opennote] .preview-trend-empty #analysis-trend .empty-state{padding:0;margin:0;min-height:0}
html[data-design=opennote] .analysis-heading{position:relative;height:0;margin:0}
html[data-design=opennote] .analysis-heading #analysis-back{position:absolute;right:0;top:-48px}
html[data-design=opennote] .analysis-controls{margin-top:8px;padding:0}
html[data-design=opennote] .analysis-scope-row{padding:0;min-height:44px}
@media(max-width:820px){
 html[data-design=opennote] .analysis-heading{height:auto}
 html[data-design=opennote] .analysis-heading #analysis-back{position:static}
 html[data-design=opennote] .preview-ranking-header{flex-wrap:wrap}
}

html[data-design=opennote] .analysis-echart{border:0}
html[data-design=opennote] .preview-disclosure-body .release-caption{margin:0;padding:0}
html[data-design=opennote] .preview-chart-method{font-size:14px}
html[data-design=opennote] .mobile-filter-sheet :is(label>span,legend){font-size:14px;font-weight:500;text-transform:none;letter-spacing:0}
html[data-design=opennote] .mobile-filter-sheet>strong{font:400 22px 'Source Serif 4',serif}
html[data-design=opennote] #mobile-filter-reset{background:transparent;color:#512906;border:1px solid #a99e90}
/* Clear navigation and evidence hierarchy. */
html[data-design=opennote] .opennote-chart-actions .reset-view{border:1px solid #9d8973;background:#f1e9dc;color:#512906;padding:9px 14px;min-height:44px;text-decoration:none;border-radius:3px;font-size:15px;font-weight:600}
html[data-design=opennote] .opennote-chart-actions .reset-view:disabled{background:transparent;border-color:#dcd4c8;color:#7b7165;opacity:.7}
html[data-design=opennote] .chart-control-rail .toolbar{align-items:flex-start}
html[data-design=opennote] .preview-more-options>summary{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-height:44px;padding:0}
html[data-design=opennote] .preview-more-options{align-self:flex-end;margin-top:0}
html[data-design=opennote] .preview-options-summary{display:none}
html[data-design=opennote] .opennote-options-context{margin:0;font-size:14px}
html[data-design=opennote] .preview-explore-control{max-width:300px}
html[data-design=opennote] .preview-level-help{display:block;max-width:30ch;font-size:13px;line-height:1.35;color:#514a42;text-transform:none}
html[data-design=opennote] .preview-legacy-chips{display:none!important}
html[data-design=opennote] .breadcrumbs{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0}
html[data-design=opennote] .breadcrumbs button{background:transparent;border:0;border-bottom:1px solid #9d8973;border-radius:0;color:#512906;font:400 15px 'Source Sans 3',sans-serif;letter-spacing:0;text-transform:none;min-height:44px;padding:4px 6px;box-shadow:none}
html[data-design=opennote] .preview-tooltip-description{font-size:15px;line-height:1.45;margin:8px 0;color:#24211e}
html[data-design=opennote] #policy-summary-cards,html[data-design=opennote] #fiscal-summary-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:8px 0 24px}
html[data-design=opennote] #fiscal-summary-cards{grid-template-columns:repeat(4,minmax(0,1fr))}
html[data-design=opennote] #policy-summary-cards>.policy-card,html[data-design=opennote] #fiscal-summary-cards>.fiscal-summary-card{background:#f3ede3!important;border:1px solid #d6c9b7!important;border-top:3px solid #8b6d49!important;padding:18px!important;border-radius:3px!important;box-shadow:none}
html[data-design=opennote] .policy-card h3{font-size:21px;color:#24211e}
html[data-design=opennote] .policy-card :is(small,p),html[data-design=opennote] .fiscal-summary-card small{color:#514a42}
html[data-design=opennote] #provenance-dialog{background:#fffdf8;color:#24211e;border:1px solid #a99e90;box-shadow:none;width:min(900px,calc(100vw - 32px));max-height:88dvh;padding:24px;overflow:auto}
html[data-design=opennote] #provenance-title{font:400 26px 'Source Serif 4',serif;margin:0 48px 16px 0}
html[data-design=opennote] #provenance-dialog form button{min-width:44px;min-height:44px;background:#f3ede3;color:#512906;border:1px solid #a99e90;border-radius:3px}
html[data-design=opennote] #provenance-content article{padding:20px 0;border-top:1px solid #d6c9b7;background:transparent;box-shadow:none}
html[data-design=opennote] #provenance-content h3{font:400 21px 'Source Serif 4',serif;margin:0 0 12px}
html[data-design=opennote] #provenance-content dl{display:grid;grid-template-columns:150px minmax(0,1fr);gap:8px 16px;margin:12px 0}
html[data-design=opennote] #provenance-content dt{font-weight:600;color:#514a42;font-size:14px;text-transform:none;letter-spacing:0}
html[data-design=opennote] #provenance-content dd{margin:0;font-size:15px;line-height:1.5;overflow-wrap:anywhere}
html[data-design=opennote] #provenance-content summary{min-height:44px;padding:10px 0;color:#512906;cursor:pointer}
html[data-design=opennote] .preview-source-toolbar{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:16px 0}
html[data-design=opennote] .preview-source-toolbar label{display:grid;gap:6px;width:min(100%,400px)}
html[data-design=opennote] .preview-source-toolbar input{min-height:44px}
html[data-design=opennote] .fiscal-workspace-controls{display:flex;flex-wrap:wrap;gap:16px;margin:16px 0;align-items:start}
html[data-design=opennote] .fiscal-workspace-controls label{display:grid;gap:6px;font-size:14px;color:#514a42}
html[data-design=opennote] .fiscal-workspace-controls select{max-width:100%;min-height:44px}
html[data-design=opennote] .debt-headlines{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0 28px}
html[data-design=opennote] .debt-headlines button{display:grid;gap:8px;text-align:left;background:#f3ede3;border:1px solid #d6c9b7;border-top:3px solid #8b6d49;border-radius:3px;padding:16px;color:#24211e}
html[data-design=opennote] .debt-headlines button[aria-pressed=true]{border-color:#512906;background:#ebe1d0}
html[data-design=opennote] .debt-headlines strong{font:400 30px 'Source Serif 4',serif}
html[data-design=opennote] .debt-headlines span{font-size:16px}
html[data-design=opennote] .debt-headlines small{font-size:13px;color:#514a42}
html[data-design=opennote] #debt-chart{height:390px;width:100%;margin:16px 0}
html[data-design=opennote] :is(.fiscal-intro,#debt-definition,#debt-notice){max-width:85ch;line-height:1.5}
html[data-design=opennote] #debt-notice{font-size:14px;color:#514a42}
html[data-design=opennote] .debt-chart-actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:20px}
html[data-design=opennote] #debt-view button{min-height:44px}
html[data-design=opennote] .debt-chart-actions button,html[data-design=opennote] #debt-table button{background:transparent;color:#512906;border:1px solid #a99e90;border-radius:3px;padding:8px 12px}
html[data-design=opennote] :is(.debt-table-wrap,.debt-method){border-top:1px solid #d6c9b7;padding:14px 0}
html[data-design=opennote] :is(.debt-table-wrap,.debt-method)>summary{min-height:44px;cursor:pointer;color:#512906}
html[data-design=opennote] #debt-table{width:100%;border-collapse:collapse;font-size:15px}
html[data-design=opennote] #debt-table :is(td,th){text-align:left;border-bottom:1px solid #e5dfd5;padding:8px}
html[data-design=opennote] body[data-mode=debt] :is(.mobile-deck-shell,.opennote-mobile-controls,.release-settings){display:none!important}
@media(max-width:820px){
 html[data-design=opennote] #debt-view.is-visible{display:block!important}
 html[data-design=opennote] :is(#policy-summary-cards,#fiscal-summary-cards,.debt-headlines){grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 html[data-design=opennote] #policy-summary-cards>.policy-card{padding:12px!important}
 html[data-design=opennote] .policy-card h3{font-size:18px}
 html[data-design=opennote] #provenance-content dl{grid-template-columns:1fr;gap:4px}
 html[data-design=opennote] #provenance-content dd{margin-bottom:8px}
 html[data-design=opennote] .preview-source-toolbar{align-items:start;flex-direction:column}
 html[data-design=opennote] .fiscal-workspace-controls label{flex:1 1 150px;min-width:0}
 html[data-design=opennote] .fiscal-workspace-controls label:first-child{flex-basis:100%}
 html[data-design=opennote] .debt-headlines strong{font-size:26px}
 html[data-design=opennote] #debt-chart{height:320px}
}

html[data-design=opennote] .chart-control-rail{padding-block:8px}

@media(max-width:820px){html[data-design=opennote] body[data-mode=debt] main{display:block!important;padding:12px 16px}}
html[data-design=opennote] :is(#mobile-deck-reset-zoom,#mobile-deck-reset-filters){min-height:44px;padding:8px 12px;border:1px solid #9d8973;border-radius:3px;background:#f1e9dc;color:#512906;font-weight:600}
html[data-design=opennote] #policy-summary-cards .policy-card-title{font:400 20px 'Source Serif 4',serif}
html[data-design=opennote] .debt-vintage-label{display:grid;gap:6px;margin:0;align-self:center;min-width:240px;color:#514a42}
html[data-design=opennote] .debt-vintage-label strong{font:400 20px 'Source Serif 4',serif;color:#24211e}
html[data-design=opennote] .debt-vintage-label span{font-size:14px}
html[data-design=opennote] .fiscal-intro{margin:0 0 12px}
html[data-design=opennote] .fiscal-workspace-controls select{width:100%;min-width:0;box-sizing:border-box}
html[data-design=opennote] #fiscal-summary-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
html[data-design=opennote] #fiscal-summary-cards>.fiscal-summary-card:nth-child(n+3){display:none}

html[data-design=opennote] #provenance-dialog::backdrop{background:rgb(36 33 30 / .3)}
html[data-design=opennote] .table-wrap{border:0;border-radius:0;box-shadow:none;background:transparent}
html[data-design=opennote] .table-wrap th{background:#f3ede3;color:#24211e;text-transform:none;letter-spacing:0;font-size:14px;border-bottom:1px solid #a99e90}

/* Preview navigation and concise reading surfaces. */
html[data-design=opennote] .opennote-sections{display:none!important}
html[data-design=opennote] .mode-switch{display:flex!important;flex-wrap:wrap;overflow:visible;gap:4px 24px}
html[data-design=opennote] .preview-more-nav{position:relative;margin:0;padding:0;border:0;background:transparent}
html[data-design=opennote] .preview-more-nav>summary{min-height:44px;display:flex;align-items:center;gap:8px;cursor:pointer;color:#512906;border-bottom:2px solid transparent}
html[data-design=opennote] .preview-more-nav>summary::after{content:'';width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin:0 2px 4px 4px}
html[data-design=opennote] .preview-more-nav.has-current>summary{border-bottom-color:#512906}
html[data-design=opennote] .preview-more-nav>div{position:absolute;right:0;top:100%;z-index:40;min-width:210px;padding:8px 16px;background:#fffdf8;border:1px solid #a99e90;box-shadow:0 8px 24px #24211e12;display:grid}
html[data-design=opennote] .preview-more-nav .mode-button{text-align:left;width:100%}
html[data-design=opennote] .preview-data-dialog{width:min(1000px,calc(100vw - 32px));max-height:85vh;overflow:auto;padding:24px;border:1px solid #a99e90;border-radius:4px;background:#fffdf8;color:#24211e}
html[data-design=opennote] .preview-data-dialog::backdrop{background:#24211e55}
html[data-design=opennote] .preview-data-dialog>header{display:flex;justify-content:space-between;align-items:center;gap:20px}
html[data-design=opennote] .preview-data-dialog>header button{min-height:44px;padding:8px 16px;border:1px solid #88725d;background:transparent;border-radius:4px}
html[data-design=opennote] .preview-data-trigger{font-size:.875rem}
html[data-design=opennote] .preview-chart-explanation{max-width:none;margin:20px 0;padding-top:16px;border-top:1px solid #ded9d0;color:#47423c}
html[data-design=opennote] :is(.chart-interaction-hint,.preview-level-help){display:none!important}
html[data-design=opennote] .breadcrumbs .breadcrumb-current{padding:6px 0;background:transparent;border:0;border-bottom:1px solid #88725d;border-radius:0;box-shadow:none;color:#24211e;font:500 1rem 'Source Sans 3',sans-serif;text-transform:none;letter-spacing:0}
html[data-design=opennote] #hover-tooltip{width:fit-content;max-width:min(560px,calc(100vw - 28px));max-height:calc(100vh - 24px);overflow:auto;overflow-wrap:anywhere;white-space:normal;box-sizing:border-box}
html[data-design=opennote] #hover-tooltip :is(p,strong,div){max-width:100%;white-space:normal;overflow-wrap:anywhere}
html[data-design=opennote] #policy-summary-cards{align-items:start;margin-bottom:16px;gap:16px}
html[data-design=opennote] #policy-summary-cards .policy-card{display:grid;grid-template-columns:1fr auto;gap:8px 20px;padding:14px 18px!important;min-height:0;height:auto}
html[data-design=opennote] #policy-summary-cards .policy-card-head{gap:4px}
html[data-design=opennote] #policy-summary-cards .policy-card-metrics{gap:24px;grid-template-columns:auto auto}
html[data-design=opennote] #policy-summary-cards .policy-card-breakdown{margin:0;gap:12px}
html[data-design=opennote] #policy-summary-cards .policy-card-breakdown span{padding:0}
html[data-design=opennote] #policy-selected-measure-panel .selected-measure-detail{display:flex;flex-direction:column;gap:12px;padding:16px 0;border:0;border-top:1px solid #ded9d0;border-radius:0;background:transparent;box-shadow:none}
html[data-design=opennote] #policy-selected-measure-panel :is(.measure-year-bars,.measure-components,.measure-funding-note,.measure-value-notice){width:100%;padding:12px 0;border:0;border-block:1px solid #ded9d0;border-radius:0;background:transparent;box-shadow:none}
html[data-design=opennote] #policy-selected-measure-panel :is(strong,h3){text-transform:none;letter-spacing:0;font-weight:500}
html[data-design=opennote] #policy-selected-measure-panel .measure-tags span{background:#f3efe7;border:0;border-radius:3px;padding:4px 8px;color:#47423c;box-shadow:none;font-weight:400;text-transform:none}
html[data-design=opennote] :is(.debt-method>div,#faq-list){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 48px;max-width:none;width:100%}
html[data-design=opennote] .debt-method p{max-width:none;margin:8px 0;font-size:1rem;line-height:1.6}
html[data-design=opennote] .debt-method h3{margin:20px 0 8px}
html[data-design=opennote] .preview-faq-section{margin:0;min-width:0}
@media(max-width:820px){
 html[data-design=opennote] .mode-switch{gap:0 16px!important;flex-direction:row!important;padding:0!important}
 html[data-design=opennote] .mode-switch>.mode-button{width:auto!important;font-size:.9375rem}
 html[data-design=opennote] .preview-more-nav>div{left:0;right:auto}
 html[data-design=opennote] :is(.debt-method>div,#faq-list){grid-template-columns:1fr;gap:16px}
 html[data-design=opennote] #policy-summary-cards .policy-card{grid-template-columns:1fr}
 html[data-design=opennote] .opennote-chart-actions{flex-wrap:wrap;gap:8px}
}

html[data-design=opennote] #policy-selected-measure-panel .measure-year-bars i{background:#8a6b87;border-radius:2px;box-shadow:none}
html[data-design=opennote] #policy-selected-measure-panel .measure-year-bars i.negative{background:#698b87}
html[data-design=opennote] #policy-selected-measure-panel .measure-year-bars i.neutral{background:#9c958a}
html[data-design=opennote] #policy-selected-measure-panel :is(.result-count,.measure-components summary){text-transform:none;font-weight:500;letter-spacing:0;color:#47423c}

html[data-design=opennote] #faq-list{display:block;columns:2;column-gap:48px}
html[data-design=opennote] #faq-list .preview-faq-section{break-inside:avoid;margin-bottom:28px}
html[data-design=opennote] .mobile-touch-tooltip{overflow-wrap:anywhere;white-space:normal}
@media(max-width:820px){html[data-design=opennote] #faq-list{columns:1}}

/* Focused controls and short supporting explanations. */
html[data-design=opennote] .preview-more-options>summary{min-height:44px;padding:0;align-items:center;box-sizing:border-box}
html[data-design=opennote] .preview-more-nav>summary{list-style:none}
html[data-design=opennote] .preview-more-nav>summary::-webkit-details-marker{display:none}
html[data-design=opennote] .preview-more-nav[open]>summary::after{transform:rotate(225deg);margin-bottom:0}
html[data-design=opennote] :is(.debt-table-wrap,.changes-direction-note,.changes-notes,#analysis-share,.analysis-method,#portfolio-view .preview-generic-coverage){display:none!important}
html[data-design=opennote] .breadcrumbs button{cursor:pointer}

/* Checkbox-based forecast selection works without modifier keys. */
html[data-design=opennote] .debt-comparison-control{display:grid;gap:6px;max-width:100%;min-width:220px;width:320px;font-size:.875rem;color:#686158}
html[data-design=opennote] #debt-comparator{position:relative;margin:0;padding:0;border:0;background:transparent;max-width:100%}
html[data-design=opennote] #debt-comparator>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;box-sizing:border-box;padding:8px 10px;border:1px solid #a99e90;border-radius:4px;background:#fffdf8;color:#24211e;cursor:pointer;list-style:none;font-size:.9375rem;line-height:1.4}
html[data-design=opennote] #debt-comparator>summary::-webkit-details-marker{display:none}
html[data-design=opennote] #debt-comparator>summary::after{content:'';flex-shrink:0;width:6px;height:6px;border-right:1.5px solid;border-bottom:1.5px solid;transform:rotate(45deg);margin-bottom:4px}
html[data-design=opennote] #debt-comparator>div{position:absolute;z-index:20;top:calc(100% + 4px);left:0;right:0;padding:8px 12px;border:1px solid #a99e90;border-radius:4px;background:#fffdf8;box-shadow:0 6px 18px #24211e15}
html[data-design=opennote] #debt-comparator label{display:flex;align-items:center;gap:10px;min-height:44px;color:#24211e;font-size:1rem;cursor:pointer}
html[data-design=opennote] #debt-comparator input{width:18px;height:18px;accent-color:#512906}

/* Finish inherited result, comparison and line-chart surfaces. */
html[data-design=opennote] .search-result-detail{background:transparent;border-top:1px solid #ded9d0;padding:16px 12px}
html[data-design=opennote] .search-result-detail dt{font-size:13px;font-weight:600;text-transform:none}
html[data-design=opennote] .search-result-detail dd{font-size:15px;font-weight:400}
html[data-design=opennote] .search-year-bars{background:transparent;border:0;border-radius:0}
html[data-design=opennote] .search-status-chip{border:0;border-radius:0;padding:0;font-weight:400;color:#514a42}
html[data-design=opennote] .global-result .result-kicker{text-transform:none;font-size:13px;font-weight:500}
html[data-design=opennote] :is(.policy-continuing-toggle,#changes-clear){box-shadow:none;border:1px solid #a99e90;border-radius:3px;background:transparent}
html[data-design=opennote] .analysis-echart{border:0;margin:0 0 16px}
html[data-design=opennote] .analysis-legend{gap:4px 20px;font-weight:400;font-size:15px}
html[data-design=opennote] .analysis-legend .analysis-series-toggle{border:0;box-shadow:none;background:transparent;padding:10px 0;min-height:44px;width:auto}
html[data-design=opennote] .analysis-legend .analysis-series-toggle:hover{background:#eee8de}
html[data-design=opennote] .analysis-legend i{width:24px;height:3px;border:0;box-shadow:none;margin:0;position:relative}
html[data-design=opennote] .analysis-legend i::after{content:'';position:absolute;width:7px;height:7px;border-radius:50%;background:inherit;left:9px;top:-2px}
html[data-design=opennote] .analysis-shared-tooltip-row{max-width:560px;font-size:15px;font-weight:400}
html[data-design=opennote] .analysis-shared-tooltip-row span{white-space:normal}
html[data-design=opennote] .analysis-point-access{border-top:1px solid #ded9d0}
html[data-design=opennote] .analysis-point-access summary{font-weight:400}
html[data-design=opennote] .search-result strong{font-size:17px;font-weight:600}
html[data-design=opennote] .search-result .result-path{font-size:14px}
html[data-design=opennote] .result-footer :is(small,em){font-size:14px;font-weight:400}

/* One deliberate chart gutter, independent of SVG height and item count. */
html[data-design=opennote]{--chart-gutter:clamp(24px,2.8vw,72px)}
html[data-design=opennote] :is(.banknote-wrap,#debt-chart,#analysis-trend,#analysis-ranked){width:calc(100% - 2 * var(--chart-gutter));margin-inline:var(--chart-gutter)}
html[data-design=opennote] #changes-view .changes-chart-panel{width:calc(100% - 2 * var(--chart-gutter));margin-inline:var(--chart-gutter)}
@media(max-width:820px){html[data-design=opennote]{--chart-gutter:0px}}

/* The right-aligned Analyse action may share the title band only when navigation actions are absent. */
html[data-design=opennote] .opennote-chart-actions:not(:has(.reset-view:not(.up-one-level):not([hidden]))):not(:has(.up-one-level:not(:disabled))){margin-bottom:-44px}
