/* Chromatic research workspace. Colour groups identify modules, not outcomes.
 * Black typography is the constant; colour lives on the modular surfaces. */
:root{
  --chromatic-ink:#141414;
  --chromatic-highlight-violet:#c8afff;--chromatic-highlight-coral:#ffb09e;
  --chromatic-violet:#6441dc;--chromatic-coral:#b63f4c;
  --chromatic-blue:#2457b7;--chromatic-teal:#14737d;--chromatic-rose:#a5366a;
  --chromatic-lilac:#ece3ff;--chromatic-peach:#ffe4d8;
  --chromatic-sky:#e4ebff;--chromatic-mint:#dff3ed;
  --ui-bg:#f5f1fb;--ui-ink:var(--chromatic-ink);--ui-muted:var(--chromatic-ink);
  --ui-accent:var(--chromatic-violet);--ui-accent-dark:#5530b5;
  --ui-accent-soft:var(--chromatic-lilac);--ui-border:#e4daef;
  --ui-chart-purple:#b13d73;--ui-chart-indigo:#6441dc;--ui-chart-cyan:#14737d;
  --ink:var(--ui-ink);--muted:var(--ui-muted);--accent:var(--ui-accent);
  --green:var(--ui-accent);--paper:var(--ui-bg);--line:var(--ui-border);
  --refresh-ink:var(--chromatic-ink);--refresh-muted:var(--chromatic-ink);
  --academic-ink:var(--chromatic-ink);--academic-muted:var(--chromatic-ink);
}
#nx-iab-anchor,#nx-iab-anchor :is(strong,a,span){color:var(--chromatic-ink,#141414)}
body,body.research-page,body.project-page,body.guide-page{background:var(--ui-bg);color:var(--ui-ink)}
body{font-family:DM,"Segoe UI",system-ui,sans-serif}
h1,h2,h3,h4{color:#6035a3;letter-spacing:-.035em}
a{color:#6736bc}
.topbar,.project-page .topbar,.guide-page .topbar,.research-page .study-switcher{background:#fcfaff;border-color:#e7dcf4}
.topbar .brand,.project-page .topbar .brand,.guide-page .topbar .brand,.research-resource-bar .research-wordmark{color:#6035a3}
.brand-mark{background:#e8ddff;border-color:#d6c3fa;color:#6535bf}
.brand-sub,.research-resource-bar .research-wordmark span{color:#816096}
.topbar nav a,.project-page .topbar nav a,.guide-page .topbar nav a,.research-resource-bar .study-tabs a{color:#735784}
.topbar .paper-link{background:#f1e9ff;border-color:#dfcff9;color:#6231ad}
.research-page>header h1{font-size:28px;color:#6035a3;letter-spacing:-1px}
.research-page>header .eyebrow,.research-page>header .subtle{color:#816096}
.research-page>header .header-actions button{color:#6841b2;border-color:#deccf4;background:#fcfaff}
.calculator-switcher{background:#fcfaff;border-color:#e4d7f1;box-shadow:none;border-radius:15px}
.calculator-switcher>span{color:#816096}
.calculator-switcher a{color:#725286}
.calculator-switcher a[aria-current=page]{background:var(--chromatic-highlight-violet);color:var(--chromatic-ink);border-color:#aa8bdc;box-shadow:0 4px 12px #6441dc20}
.calculator-switcher a:hover{background:#ede4fc;color:#5a2da1}
.calculator-switcher a[aria-current=page]:hover{background:#bda0f4;color:var(--chromatic-ink)}
.research-page .nx-heading .eyebrow{color:#82619a}
.research-page .nx-heading .nx-tag{color:#7f3b69;background:#f8e1ed;border-color:#eed1e1}
.research-page .nx-context-strip{color:#816096;border-color:#e4d9ef}
.research-page .nx-context-strip b{color:#6c3fac}
.research-page .nx-boundary{background:#eee6fa;color:#735686;border-color:#e2d4ef;border-radius:12px}
.research-page .nx-boundary strong{color:#613293}
.research-page .nx-control-rail{background:#fcfaff;border:1px solid #e0d0f3;border-top:5px solid #ad8be8;border-radius:20px;padding:20px;box-shadow:0 8px 26px #62418406}
.research-page .nx-control-rail h3{color:#6a3aac;font-size:19px}
.research-page .nx-control-rail .nx-step{color:#9b4d8d}
.research-page .nx-control-rail :is(label,details>summary){color:#704692}
.research-page .nx-control-rail :is(select,input){background:#fff;color:#6a3e99;border-color:#dccbed;border-radius:9px}
.research-page .nx-control-rail .nx-field-value input{color:#7141b0}
.research-page .nx-control-rail .nx-preset-box p:not(.nx-step),.research-page .nx-control-rail .nx-note,
.research-page .nx-control-rail .nx-evidence,.research-page .nx-control-rail .nx-field-help :is(summary,small){color:#80618f}
.research-page .nx-control-rail details,.research-page .nx-control-rail .nx-field{border-color:#e9def2}
.research-page .nx-run-actions button{background:var(--chromatic-highlight-violet);border-color:#aa8bdc;color:var(--chromatic-ink)}
.research-page .nx-run-actions button.secondary{background:#f2eaff;color:#6a3da8;border-color:#ded0f1}
.nx-overview-heading h3{font-size:26px;color:#6835a4;font-weight:600;line-height:1.25;letter-spacing:-.8px}
.nx-overview-heading .nx-step{color:#a1437a;letter-spacing:1.5px}
.nx-scenario-chip{background:#f6dfeb;border-color:#ecc9de;color:#923b6d;border-radius:12px}
.nx-section-nav{gap:8px;margin-bottom:18px}
.nx-section-nav a{border:0;border-radius:11px;padding:8px 13px;background:#e9ddfc;color:#6c3c9f;font-weight:500}
.nx-section-nav a:first-child{background:var(--chromatic-highlight-violet);color:var(--chromatic-ink);border-color:#aa8bdc}
.nx-section-nav a:nth-child(2){background:#e2eaff;color:#345ca7}
.nx-section-nav a:nth-child(3){background:#ffe1d4;color:#a34b2e}
.nx-section-nav a:nth-child(4){background:#dcf0e8;color:#316c64}
.nx-section-nav a:hover{filter:brightness(.96);color:inherit}
.nx-section-nav a:first-child:hover{color:#fff}
.nx-summary-grid{gap:17px;grid-template-columns:1.05fr 1fr}
.research-page .nx-answer,.research-page .nx-gross-diagnostic{position:relative;overflow:hidden;border:0;border-radius:24px;padding:26px;box-shadow:none;isolation:isolate}
.research-page .nx-answer{background:linear-gradient(125deg,#bea1fc,#ddcaff);color:var(--chromatic-ink)}
.research-page .nx-answer:before,.research-page .nx-gross-diagnostic:before{content:"";position:absolute;width:190px;height:190px;border:1px solid #ffffff20;border-radius:50%;right:-90px;top:-93px;pointer-events:none;z-index:-1}
.research-page .nx-answer:after,.research-page .nx-gross-diagnostic:after{content:"";position:absolute;width:255px;height:255px;border:1px solid #ffffff17;border-radius:50%;right:-122px;top:-125px;pointer-events:none;z-index:-1}
.research-page .nx-answer .eyebrow{color:#f1e9ff;font-size:10px;letter-spacing:1.3px}
.research-page .nx-answer .nx-horizon-tag{background:#e9dcff;border-color:#a88ae2;color:var(--chromatic-ink)}
.research-page .nx-answer h3{color:#fff;font-size:16px;line-height:1.5;margin:18px 0 12px}
.research-page .nx-answer h3 strong{font-size:76px;letter-spacing:-3.8px;line-height:1.12;color:#fff;font-weight:600;margin-bottom:13px}
.research-page .nx-answer .nx-note,.research-page .nx-answer .nx-period-note,.research-page .nx-answer .nx-takeaway{color:#f2eaff;font-size:12px;line-height:1.8}
.research-page .nx-answer .nx-period-note{font-size:11px;margin-bottom:22px}
.research-page .nx-answer .nx-headline-context{border-color:#a98cde;margin-top:auto}
.research-page .nx-answer .nx-headline-context>summary{color:#fff;font-size:11px}
.research-page .nx-gross-diagnostic{background:linear-gradient(130deg,#ffa48f,#ffc5b4);color:var(--chromatic-ink)}
.research-page .nx-gross-diagnostic .nx-step{color:#fff0e8;font-size:10px;letter-spacing:1.3px}
.research-page .nx-gross-diagnostic .nx-horizon-tag{background:#ffdacd;color:var(--chromatic-ink);border-color:#d58e7a}
.research-page .nx-gross-diagnostic h3{color:#fff;font-size:16px;font-weight:500}
.research-page .nx-gross-diagnostic .nx-gross-metrics span,.research-page .nx-gross-diagnostic .nx-gross-metrics small{color:#fff0e8;font-size:11px}
.research-page .nx-gross-diagnostic .nx-gross-metrics strong{color:#fff;font-size:56px;letter-spacing:-2px;font-weight:600}
.research-page .nx-gross-diagnostic .nx-gross-metrics>div+div{border-color:#dc929b}
.research-page .nx-gross-diagnostic .nx-gross-metrics>div+div strong{font-size:28px;letter-spacing:-.8px}
.research-page .nx-gross-diagnostic .nx-benchmark-definition{border-color:#dc929b}
.research-page .nx-gross-diagnostic .nx-benchmark-definition>summary{color:#fff;font-size:11px}
.research-page .nx-gross-diagnostic .nx-benchmark-definition p{color:#fff0e8;font-size:12px}
.research-page .nx-result-facts{gap:13px;margin-top:17px}
.research-page .nx-result-facts>div{position:relative;overflow:hidden;background:#e2eaff;border:0;border-radius:19px;padding:21px}
.research-page .nx-result-facts>div+div{border-left:0}
.research-page .nx-result-facts>div:first-child :is(span,small){color:#365b9c}
.research-page .nx-result-facts>div:first-child strong{color:#244c94}
.research-page .nx-result-facts>div:nth-child(2){background:#ffe1d3;border:0}
.research-page .nx-result-facts>div:nth-child(2) :is(span,small){color:#9e4b32}
.research-page .nx-result-facts>div:nth-child(2) strong{color:#923d29}
.research-page .nx-result-facts>div:nth-child(3){background:#dcefe7;border:0}
.research-page .nx-result-facts>div:nth-child(3) :is(span,small){color:#2c6c61}
.research-page .nx-result-facts>div:nth-child(3) strong{color:#216255}
.research-page .nx-result-facts strong{font-size:32px;line-height:1.2;letter-spacing:-1px;margin:11px 0}
.research-page .nx-result-facts span{font-size:12px;font-weight:500;line-height:1.6}
.research-page .nx-result-facts small{font-size:11px;line-height:1.7}
.research-page .nx-module{border-color:#e4d7f0;background:#fcfaff;border-radius:16px;padding:18px 21px}
.research-page .nx-module>summary,.research-page .nx-panel details>summary{color:#75469c}
.research-page .nx-answer .nx-headline-context>summary,.research-page .nx-gross-diagnostic .nx-benchmark-definition>summary{color:#fff}
.research-page .nx-module[open]>summary{border-color:#e8ddf1}
.research-page #nx-comparison-detail{background:#e8edfc;border-color:#dce2f3}
.research-page #nx-comparison-detail>summary{color:#4762a0}
.research-page #nx-method-module{background:#f4e4f1;border-color:#ead6e6}
.research-page #nx-method-module>summary{color:#974878}
.research-page #nx-reemployment-sensitivity>summary{color:#98582f}
.research-page #nx-evidence-module{background:#e4f0ec;border-color:#d5e7df}
.research-page #nx-evidence-module>summary{color:#3c7165}
.research-page .results-timeline{border-color:#e2d6f0;border-radius:22px;background:#fcfaff}
.research-page .rt-top h3,.research-page .nx-explanation h3,.research-page #nx-decisions h3{color:#75409d}
.research-page .rt-top p,.research-page .rt-chart-note,.research-page .rt-takeaway{color:#80638e}
.rt-chart text{fill:#80638e}.rt-chart .rt-year-selected,.rt-chart .rt-end-label{fill:#7540aa!important}
.rt-switch{background:#ede2fc;border-color:#dac6f1;border-radius:12px}
.rt-switch button{color:#75469c}.rt-switch button[aria-pressed=true]{background:var(--chromatic-highlight-violet);color:var(--chromatic-ink);border-color:#aa8bdc}
.rt-readout>div{background:#f0e4fa;color:#79528e}
.rt-year-control select{color:#75469c;border-color:#ddcbed}
#nx-cumulative-chart svg text:not([fill]){fill:#80638e}
.research-page .nx-rate-choices button{border-color:#e3d5ef;color:#795096;border-radius:14px;background:#fcfaff}
.research-page .nx-rate-choices button[aria-pressed=true]{background:#eee2fb;color:#6e37a7;border-color:#b68bdb;box-shadow:inset 0 0 0 1px #b68bdb}
.research-page .nx-rate-choices button b{color:#7942ae}.research-page .nx-rate-choices button span{color:#876397}
.research-page .nx-ea article:nth-child(1){background:#ede1fb;border-color:#e3d3f4}
.research-page .nx-ea article:nth-child(2){background:#e2edfc;border-color:#d7e2f4}
.research-page .nx-ea article:nth-child(3){background:#f9e1e9;border-color:#efd3dd}
.research-page .nx-ea h4{color:#86518e}.research-page .nx-ea p{color:#80638e}
.research-page .nx-table th{background:#eee5f8;color:#7e5b90}.research-page .nx-table td{color:#79538d}
.project-page .project-hero h1{font-size:clamp(43px,4.8vw,66px);line-height:1.05;letter-spacing:-2.5px;color:#6840b4}
.project-page .project-hero h1 span{display:block}.project-page .project-hero h1 span+span{color:#b23c62}
.project-page .project-hero .intro,.project-page .focus-steps p{color:#80638e}
.project-page .study-facts{background:var(--chromatic-highlight-violet);border:0;border-radius:24px;padding:29px;box-shadow:none;color:var(--chromatic-ink)}
.project-page .study-facts h2,.project-page .study-facts dd{color:#fff}
.project-page .study-facts p,.project-page .study-facts dt,.project-page .study-facts dd span,.project-page .study-facts a{color:#f1e6ff}
.project-page .study-facts dl>div{border-color:#a98bda}
.project-page .focus-note,.project-page .home-scope{background:#f4dfea;border-color:#deb5d0;color:#97466f;border-radius:15px}
.project-page .focus-note strong{color:#97466f}.project-page .focus-steps li:before{color:#8d58b5}
.project-page .focus-route h2,.project-page .supporting h2,.project-page .supporting-benchmark h2{color:#7941a4}
.project-page .focus-steps strong{color:#98618e}
.household-page .hb-page-heading h1,.guide-page .guide h1{color:#7841a8}
.household-page .hb-boundary-banner{background:#f3e0f3;border-color:#c994c7;color:#85538c}
.household-page .hb-workspace{border-color:#e5d7f0;border-radius:22px;background:#fcfaff}
.household-page .hb-input-panel{background:#f2eafa;border-color:#e3d3f0;border-radius:17px}
.household-page .hb-input-heading h2,.household-page #hb-retained-value{color:#7841a8}
.household-page .hb-controls label,.household-page .hb-retention-heading label,.household-page #hb-scale,.household-page #hb-context{color:#805b90}
.household-page .hb-presets button[aria-pressed=true]{background:var(--chromatic-highlight-violet);border-color:#aa8bdc;color:var(--chromatic-ink)}
.household-page .hb-results article.hb-headline{background:linear-gradient(125deg,#bea1fc,#ddcaff);border:0;border-radius:22px;color:var(--chromatic-ink)}
.household-page .hb-results .hb-headline>strong{font-size:58px;color:#fff;letter-spacing:-2.5px}
.household-page .hb-headline>p:not(.hb-step),.household-page .hb-headline .hb-step,.household-page .hb-results .hb-headline small{color:#f2eaff}
.household-page .hb-results article:nth-child(2){background:#def0eb;border:0;border-radius:22px}
.household-page .hb-results article:nth-child(2) :is(p,strong,small){color:#2d7165}
.household-page .hb-results article:nth-child(3){background:#ffe1d3;border:0;border-radius:22px}
.household-page .hb-results article:nth-child(3) :is(p,strong,small){color:#9a482e}
.household-page .hb-explanation h3,.household-page .hb-cross-country h3{color:#8550a2}
.card.support{background:linear-gradient(125deg,#bea1fc,#ddcaff);border:0;border-radius:22px;color:var(--chromatic-ink)}
.card.support .eyebrow,.card.support .currency-label,.card.support .description,.card.support .delta{color:#f2eaff}
.card.balance{background:#def0eb;border:0;border-radius:22px;color:#2d7165}
.card.balance :is(.eyebrow,.description,.currency-label,.delta){color:#3b756b}
.hero-copy h1,.hero-note>p{color:#7845a9}.hero-note em{color:#b43f69}
.hero-note{border-radius:20px;border-color:#e4cfe8;background:#f5e6f4}
.household-calculator-link{background:#f2dfea;border-color:#ca93b9;color:#934c79}
.household-calculator-link>p{color:#8a5a85}
/* The palette carries hierarchy without tinting the text. This final rule also
 * normalises inherited module styles and dynamically rendered result labels. */
body :is(h1,h2,h3,h4,h5,h6,p,span,a,strong,b,em,i,small,label,button,input,select,option,output,summary,li,dt,dd,th,td,caption,legend,figcaption,blockquote,code,pre){color:var(--chromatic-ink)!important}
body svg text,body .rt-chart .rt-year-selected,body .rt-chart .rt-end-label{fill:var(--chromatic-ink)!important}
body :is(input,textarea)::placeholder{color:var(--chromatic-ink);opacity:.7}
body button[aria-pressed=true],body .presets button[aria-pressed=true],body .scope button[aria-pressed=true]{background:var(--chromatic-highlight-violet);border-color:#aa8bdc}
body button:hover,body button[aria-pressed=true]:hover{background-color:#e6d6ff}
body.research-page :is(.nx-selection,.nx-note,.nx-status,.nx-explanation){color:var(--chromatic-ink)}
body .hero-note>p{color:var(--chromatic-ink)}
:is(a,button,input,select,summary):focus-visible,.household-page :focus-visible{outline-color:#8f49b2;outline-offset:4px}
@media(max-width:1150px){.nx-summary-grid{grid-template-columns:1fr}.research-page .nx-answer h3 strong{font-size:68px}}
@media(max-width:850px){.nx-summary-grid{grid-template-columns:1fr 1fr}.research-page .nx-answer,.research-page .nx-gross-diagnostic{padding:22px}.research-page .nx-answer h3 strong{font-size:58px}.research-page .nx-gross-diagnostic .nx-gross-metrics strong{font-size:47px}.research-page .nx-answer .eyebrow,.research-page .nx-gross-diagnostic .nx-step{flex-wrap:wrap}}
@media(max-width:600px){
 .research-page>header h1{font-size:25px}.nx-overview-heading h3{font-size:24px}
 .nx-summary-grid{grid-template-columns:1fr;gap:13px}
 .research-page .nx-answer,.research-page .nx-gross-diagnostic{padding:24px 21px;border-radius:22px}
 .research-page .nx-answer h3 strong{font-size:62px;letter-spacing:-2.8px}
 .research-page .nx-gross-diagnostic .nx-gross-metrics strong{font-size:52px}
 .research-page .nx-gross-diagnostic .nx-gross-metrics>div+div strong{font-size:26px}
 .research-page .nx-result-facts>div,.research-page .nx-result-facts>div+div{padding:18px;border:0;border-radius:17px}
 .research-page .nx-result-facts strong{font-size:28px;margin:0}
 .project-page .project-hero h1{font-size:44px;letter-spacing:-1.9px}
 .household-page .hb-results .hb-headline>strong{font-size:50px}
}
@media print{
 body,.research-page,.project-page,.guide-page{background:#fff}
 .research-page .nx-answer,.research-page .nx-gross-diagnostic,.household-page .hb-results article.hb-headline{background:#eee5fa;color:#593276}
 .research-page .nx-answer :is(p,h3,strong,summary),.research-page .nx-gross-diagnostic :is(p,h3,strong,summary,span,small),.household-page .hb-results article.hb-headline :is(p,strong,small){color:#593276!important}
 .research-page .nx-answer:before,.research-page .nx-answer:after,.research-page .nx-gross-diagnostic:before,.research-page .nx-gross-diagnostic:after{display:none}
}
