/* Existing evidence tools and the full calculator: same compact EN contract.
   Scoped selectors never alter the approved homepage or non-English pages. */
html[lang="en"] .page-calculator,html[lang="en"] .section-tools{--faint:#53616b;--accent:#076b70}
html[lang="en"] .page-calculator :is(.faint,.field-note,.calc-sub,.disc,.muted,.foot-bottom),
html[lang="en"] .section-tools :is(.faint,.muted,.disc,.foot-bottom){color:#53616b}
html[lang="en"] .page-calculator :is(.calc-in,.calc-out){background:#fff}
html[lang="en"] .page-calculator .hero h1,
html[lang="en"] .section-tools .hero h1{font-size:32px;line-height:1.15;max-width:34ch}
html[lang="en"] .page-calculator .hero,
html[lang="en"] .section-tools .hero{padding:14px 0 16px!important;background:#fff}
html[lang="en"] .section-tools .hero .wrap{display:block}
html[lang="en"] .section-tools .hero .lead{margin-top:8px;max-width:78ch}
html[lang="en"] .section-tools .hero .eyebrow{display:none}
html[lang="en"] .page-calculator .calc-in,
html[lang="en"] .page-calculator .calc-out,
html[lang="en"] .section-tools .tool-panel{border-radius:16px}
html[lang="en"] .page-calculator .field input,
html[lang="en"] .page-calculator .field select,
html[lang="en"] .section-tools .tool-panel select{border-radius:10px;min-height:44px}
html[lang="en"] .page-calculator .calc-route{margin-bottom:18px}
html[lang="en"] .page-calculator [aria-invalid="true"]{border:2px solid #a12b36}
.calc-field-error{display:block;margin-top:6px;color:#922431;font-size:14px;line-height:1.4}
.calc-validation-summary{margin:12px 0;padding:12px;border:1px solid #a12b36;border-radius:10px;color:#922431;background:#fff}
.page-calculator .calc-out[hidden],.calc-field-error[hidden],.calc-validation-summary[hidden]{display:none!important}
html[lang="en"] .page-calculator :is(input,select,button,a):focus-visible,
html[lang="en"] .section-tools :is(input,select,button,a):focus-visible{outline:2px solid #3157ff;outline-offset:3px}
@media(max-width:620px){
 html[lang="en"] .page-calculator .hero h1,
 html[lang="en"] .section-tools .hero h1{font-size:28px}
 html[lang="en"] .section-tools .tool-hero-image{height:80px;max-height:80px}
}
