.qz-hero,.kit-hero,.rs-hero,.dd-hero{background:var(--eb-paper,#faf9f4)!important;background-image:none!important;color:var(--eb-ink,#101935)!important;padding:96px 32px 80px!important}.rs-hero{background:var(--cream)!important}
.qz-hero,.kit-hero,.dd-hero{background:#e7edfb!important}
:is(.qz-hero,.kit-hero,.rs-hero,.dd-hero) h1{font-family:'Newsreader',Georgia,serif!important;font-weight:400!important;letter-spacing:-.035em!important;line-height:1!important;font-size:clamp(44px,6.6vw,88px)!important;color:#101935!important;margin-top:20px!important}
:is(.qz-hero,.kit-hero,.rs-hero,.dd-hero) p{color:#555867!important}
:is(.qz-hero,.kit-hero,.rs-hero,.dd-hero) a{color:#101935!important}
:is(.qz-hero,.kit-hero,.rs-hero,.dd-hero) :is(.eb,.eyebrow){display:inline-block;font:600 11px/1 Inter,sans-serif!important;letter-spacing:.08em!important;text-transform:uppercase;color:#0f225b!important;border:1px solid #0f225b;border-radius:5px;padding:6px 9px}
:is(.qz-hero,.dd-hero) .meta,:is(.qz-hero,.dd-hero) .meta span{color:#555867!important}
.kit-hero .badges span{color:#101935!important;background:#fff!important;border-color:#e2e3e8!important}

/* tool pages: light banner, larger serif title */
.banner{background:var(--eb-paper,#faf9f4)!important;padding:56px 32px 44px!important;border-bottom:1px solid #e2e3e8}
.banner h1{font-family:'Newsreader',Georgia,serif!important;font-weight:400!important;letter-spacing:-.03em!important;font-size:clamp(36px,4.6vw,58px)!important;line-height:1.02!important;color:#101935!important;margin:14px 0 12px!important}
.banner p{color:#555867!important;font-size:15px!important}
.banner-tag{background:transparent!important;border:1px solid #0f225b;color:#0f225b!important;border-radius:5px!important;font:600 10.5px/1 Inter,sans-serif!important;letter-spacing:.08em;text-transform:uppercase;padding:6px 9px!important}

/* full-navy form pages keep their colours, take the v2 type */
:is(.gs-hero) h1{font-family:'Newsreader',Georgia,serif!important;font-weight:400!important;letter-spacing:-.035em!important;line-height:1!important;font-size:clamp(44px,6.4vw,84px)!important}
:is(.gs-hero){padding-top:88px!important}

@media(max-width:640px){.qz-hero,.kit-hero,.rs-hero,.dd-hero{padding:60px 16px 48px!important}
  .banner{padding:40px 16px 32px!important}
}

/* ---------- tool pages (2026-10-26): match the v2 look ----------
   The seven tools were built at 9-13px with boxy cards. Scale the work
   area up, soften the cards and tables, and lift the tiniest labels.
   Scoped to pages with the tool sub-menu, so nothing else changes. */
body:has(.tool-subnav){font-size:14px}
.tool-subnav{background:#fff!important;border-top:0!important}
.tool-subnav-inner{gap:6px;padding:12px 32px!important}
.tool-subnav a{border:1px solid var(--eb-border)!important;border-radius:999px;padding:9px 15px!important;font-size:13.5px!important;color:var(--eb-ink)!important;background:#fff}
.tool-subnav a:hover{border-color:var(--eb-ink)!important}
.tool-subnav a.active{background:var(--eb-ink)!important;border-color:var(--eb-ink)!important;color:#fff!important}
body:has(.tool-subnav) .banner{background:var(--eb-cream,#f1efe6)!important;border-bottom:0!important;padding:72px 32px 56px!important}
body:has(.tool-subnav) .banner-inner{max-width:1180px!important}
body:has(.tool-subnav) .banner p{font-size:17px!important;line-height:1.6!important;max-width:680px}
body:has(.tool-subnav) :is(.wrap,.page,#mainWrap,.stats-bar,.alert-strip){zoom:1.06}
@media(min-width:1380px){body:has(.tool-subnav) :is(.wrap,.page,#mainWrap,.stats-bar,.alert-strip){zoom:1.14}}
body:has(.tool-subnav) :is(.wrap,.page,#mainWrap)>*,body:has(.tool-subnav) :is(.out-col,.mrow,.jrow)>*{min-width:0}
body:has(.tool-subnav) :is(.wrap,.page,#mainWrap){max-width:1120px!important;padding-top:28px!important;padding-bottom:72px!important}
body:has(.tool-subnav) :is(.stats-bar,.alert-strip) .main-wrap{max-width:1120px!important}
body:has(.tool-subnav) :is(.card,.met,.stat-card,.card-section){border-radius:14px!important;box-shadow:none!important;border-color:#e2e3e8!important}
body:has(.tool-subnav) .card{padding:20px 22px!important}
body:has(.tool-subnav) :is(.hero,.result-hero,.status-card){border-radius:14px!important;box-shadow:none!important}
body:has(.tool-subnav) .sec{border-bottom:0!important;padding-bottom:0!important;margin-bottom:14px!important;font-size:11px!important;letter-spacing:.08em!important;color:var(--eb-navy,#0f225b)!important}
body:has(.tool-subnav) :is(.fsub,.mlbl,.msub,.hlbl,.scomp-lbl,.scomp-ctx,.scomp-wt,.sc-lbl,.sc-name,.ci-desc,.stat-lbl,.stat-sub,.leg,.leg-item,.cat-sub,.status-badge-sub){font-size:11px!important}
body:has(.tool-subnav) .tbtn small{font-size:10px!important}
body:has(.tool-subnav) .flabel{font-size:12.5px!important}
body:has(.tool-subnav) .tbtn{border-radius:999px!important;padding:7px 8px!important}
body:has(.tool-subnav) :is(.btnp,.btng,.btn-action,.btn-exp-submit,.btn-cancel,.btn-exp-cancel,.btn-add-milestone,button[type=submit]){border-radius:999px!important}
body:has(.tool-subnav) :is(input:not([type=range]):not([type=checkbox]):not([type=radio]),select,textarea){border-radius:10px!important}
body:has(.tool-subnav) .derived{border-radius:10px!important}
body:has(.tool-subnav) .vb-table th{background:#f6f5ef!important;color:var(--eb-ink,#101935)!important;border-bottom:1px solid #e2e3e8;border-radius:0!important;font-size:11.5px!important}
body:has(.tool-subnav) .vb-table{font-size:13px!important}
body:has(.tool-subnav) .notice{border-radius:12px!important}
body:has(.tool-subnav) .notice p{font-size:13px!important}
@media(max-width:900px){body:has(.tool-subnav) :is(.wrap,.page,#mainWrap,.stats-bar,.alert-strip){zoom:1}}
@media(max-width:640px){.tool-subnav-inner{padding:10px 16px!important;flex-wrap:nowrap!important}body:has(.tool-subnav) .banner{padding:48px 16px 36px!important}}
body:has(.tool-subnav) .score-components{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important}
body:has(.tool-subnav) .hero{min-width:0;overflow:hidden}
@media(max-width:900px){
  body:has(.tool-subnav) .wrap{grid-template-columns:minmax(0,1fr)!important;padding-left:16px!important;padding-right:16px!important}
  body:has(.tool-subnav) :is(.mrow,.jrow){grid-template-columns:1fr 1fr!important}
  body:has(.tool-subnav) .card:has(.vb-table){overflow-x:auto}
  body:has(.tool-subnav) .vb-table{min-width:560px}
}
