:root{--hed-navy:#12314a;--hed-blue:#1477b8;--hed-green:#248a50;--hed-bg:#f6f8fa;--hed-line:#d7e1e8;--hed-text:#243746;--hed-muted:#5f7381;--hed-soft:#eef5f8;--hed-shadow:0 10px 30px rgba(18,49,74,.09)}
html{scroll-behavior:smooth}
body:has(.hed-static-page) .widget-area,body:has(.hed-static-page) #right-sidebar,body:has(.hed-static-page) #left-sidebar{display:none!important}
body:has(.hed-static-page) .content-area,body:has(.hed-static-page) #primary{width:100%!important;float:none!important}
body:has(.hed-static-page) .site-content{display:block!important}
body:has(.hed-static-page) .inside-article{padding:0!important;background:transparent!important;box-shadow:none!important}
body:has(.hed-static-page) .entry-header{display:none!important}
.hed-static-page{container-type:inline-size;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--hed-text);font-size:17px;line-height:1.72;max-width:1240px;margin:0 auto;padding:18px 22px 60px;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
.hed-static-page *{box-sizing:border-box}.hed-static-page img,.hed-static-page svg{max-width:100%;height:auto}.hed-breadcrumbs{font-size:.88rem;margin:0 0 18px;color:var(--hed-muted);overflow-wrap:anywhere}.hed-breadcrumbs a{color:var(--hed-blue);text-decoration:none}.hed-breadcrumbs a:hover{text-decoration:underline}
.hed-hero{background:linear-gradient(135deg,#edf7fb 0%,#f3fbf6 100%);border:1px solid var(--hed-line);border-radius:20px;padding:clamp(24px,4vw,44px);margin-bottom:26px;box-shadow:0 4px 18px rgba(18,49,74,.04)}
.hed-eyebrow{font-size:.78rem;text-transform:uppercase;letter-spacing:.11em;font-weight:800;color:var(--hed-green)}.hed-hero h1{font-size:clamp(2rem,5cqw,3.5rem);line-height:1.08;letter-spacing:-.035em;margin:.35rem 0 1rem;color:var(--hed-navy);max-width:1000px}.hed-lede{font-size:clamp(1.05rem,2cqw,1.22rem);line-height:1.65;max-width:900px}.hed-keywords{font-size:.92rem;color:var(--hed-muted);margin-bottom:0}.hed-keywords strong{color:var(--hed-navy)}
.hed-calc-shell{display:block;margin:26px 0 38px}.hed-calculator{width:100%;min-width:0;background:#fff;border:1px solid var(--hed-line);border-radius:18px;padding:clamp(20px,3cqw,32px);box-shadow:var(--hed-shadow)}
.hed-calculator h2,.hed-output h2{font-size:clamp(1.5rem,3cqw,2rem);line-height:1.2;margin:0 0 12px;color:var(--hed-navy);letter-spacing:-.02em}.hed-form-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
.hed-field{min-width:0}.hed-field label{display:block;font-size:.96rem;line-height:1.4;font-weight:750;color:var(--hed-navy);margin-bottom:7px}.hed-input-wrap{display:flex;align-items:stretch;min-width:0}.hed-input-wrap input,.hed-input-wrap select{min-width:0;width:100%;height:48px;border:1px solid #9fb2bf;border-radius:9px;padding:10px 12px;font:inherit;font-size:16px;background:#fff;color:#142b3b;transition:border-color .15s,box-shadow .15s}.hed-input-wrap input:focus,.hed-input-wrap select:focus{outline:0;border-color:var(--hed-blue);box-shadow:0 0 0 3px rgba(20,119,184,.16)}
.hed-input-wrap .hed-unit{display:flex;align-items:center;justify-content:center;flex:0 0 auto;max-width:42%;padding:0 10px;background:#edf3f6;border:1px solid #9fb2bf;border-left:0;border-radius:0 9px 9px 0;white-space:nowrap;font-size:.84rem;color:#334d5d}.hed-input-wrap:has(.hed-unit) input,.hed-input-wrap:has(.hed-unit) select{border-radius:9px 0 0 9px}.hed-help{display:block;font-size:.82rem;line-height:1.5;color:#657986;margin-top:6px}
.hed-actions{display:flex;gap:11px;margin-top:24px;flex-wrap:wrap}.hed-btn{min-height:46px;border:0;border-radius:9px;padding:11px 19px;font:inherit;font-size:.96rem;font-weight:750;cursor:pointer;transition:transform .12s,filter .12s}.hed-btn:hover{filter:brightness(.96);transform:translateY(-1px)}.hed-btn-primary{background:var(--hed-green);color:#fff}.hed-btn-secondary{background:#e7eef2;color:var(--hed-navy)}.hed-btn:disabled{opacity:.6;cursor:wait;transform:none}
.hed-result-panel{position:static;width:100%;min-width:0;margin-top:22px;background:linear-gradient(145deg,#12314a,#0e273b);color:#fff;border-radius:18px;padding:clamp(22px,3cqw,32px);min-height:0;box-shadow:var(--hed-shadow);overflow:hidden}.hed-result-panel h2,.hed-result-panel h3{color:#fff}.hed-result-panel dl{margin:0}.hed-result-panel dl div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:15px;border-bottom:1px solid rgba(255,255,255,.16);padding:12px 0}.hed-result-panel dt{font-weight:500;overflow-wrap:anywhere}.hed-result-panel dd{margin:0;text-align:right;font-weight:800;overflow-wrap:anywhere}.hed-result-note{font-size:.9rem;color:#dceaf2}.hed-error{background:#fff1f1;color:#8a1f1f;padding:13px;border-radius:9px}
.hed-monthly{overflow-x:auto;margin-top:20px;-webkit-overflow-scrolling:touch}.hed-monthly table,.hed-reference-table table{width:100%;border-collapse:collapse;font-size:.9rem}.hed-monthly th,.hed-monthly td{padding:9px;border-bottom:1px solid rgba(255,255,255,.2);text-align:left;white-space:nowrap}
.hed-disclaimer{background:#fff8e8;border:1px solid #e8ce8e;border-radius:13px;padding:18px 20px;margin:28px 0;font-size:.95rem}
.hed-toc{max-width:920px;margin:28px auto 38px;background:#f5f8fa;border:1px solid var(--hed-line);border-radius:14px;padding:20px 24px}.hed-toc strong{display:block;color:var(--hed-navy);font-size:1.05rem;margin-bottom:8px}.hed-toc ul{columns:2;column-gap:35px;margin:0;padding-left:20px}.hed-toc li{break-inside:avoid;margin:5px 0}.hed-toc a{color:#176992;text-decoration:none}.hed-toc a:hover{text-decoration:underline}
.hed-visual-guide{max-width:920px;margin:0 auto 40px;border:1px solid var(--hed-line);border-radius:16px;padding:24px;background:#fff;box-shadow:0 7px 24px rgba(18,49,74,.06)}.hed-visual-guide h2{margin-top:0;color:var(--hed-navy)}.hed-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:stretch}.hed-flow-step{position:relative;background:linear-gradient(145deg,#f2f8fb,#f5fbf7);border:1px solid #d4e3eb;border-radius:13px;padding:18px}.hed-flow-step b{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:var(--hed-navy);color:#fff;margin-bottom:10px}.hed-flow-step h3{font-size:1.05rem!important;margin:0 0 7px!important;color:var(--hed-navy)!important}.hed-flow-step p{font-size:.92rem;margin:0}.hed-reference-table{max-width:920px;margin:0 auto 42px;overflow-x:auto}.hed-reference-table table{background:#fff;border:1px solid var(--hed-line);border-radius:12px;overflow:hidden}.hed-reference-table caption{text-align:left;font-size:1.45rem;font-weight:800;color:var(--hed-navy);padding:0 0 12px}.hed-reference-table th,.hed-reference-table td{padding:12px 14px;border-bottom:1px solid var(--hed-line);text-align:left;vertical-align:top}.hed-reference-table th{background:#edf4f7;color:var(--hed-navy)}
.hed-article{max-width:820px;margin:0 auto;font-size:1.04rem}.hed-article section{margin:0 0 46px;scroll-margin-top:90px}.hed-article h2{font-size:clamp(1.55rem,3cqw,2rem);line-height:1.22;letter-spacing:-.018em;color:var(--hed-navy);border-bottom:2px solid #e5edf2;padding-bottom:10px;margin-top:0}.hed-article h3{font-size:1.25rem;line-height:1.35;color:#174f72;margin-top:30px}.hed-article p{margin:0 0 1.2em}.hed-article ul,.hed-article ol{padding-left:1.35em}.hed-article li{margin-bottom:.55em}.hed-formula{background:#eff7fb;border-left:5px solid var(--hed-blue);padding:18px 20px;border-radius:5px;font-weight:700;overflow-wrap:anywhere}.hed-article a{color:#0872b1;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}.hed-long-steps li{margin-bottom:15px}.hed-faq details{border:1px solid var(--hed-line);border-radius:10px;padding:15px 17px;margin:11px 0;background:#fff}.hed-faq summary{font-weight:750;cursor:pointer;color:var(--hed-navy)}.hed-glossary dt{font-weight:800;color:var(--hed-navy);margin-top:16px}.hed-glossary dd{margin-left:0}.hed-updated{font-size:.88rem;color:#647885}.hed-trust-box{max-width:820px;margin:35px auto;background:#f1f7f4;border:1px solid #cce2d5;border-radius:13px;padding:18px 20px;font-size:.92rem}
@container (min-width:720px){.hed-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container (min-width:1080px){.hed-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hed-result-panel dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 30px}.hed-result-panel dl div{min-width:0}}
@media(max-width:760px){.hed-static-page{padding:10px 14px 45px;font-size:16px}.hed-hero{border-radius:14px}.hed-result-panel dl div{grid-template-columns:1fr}.hed-result-panel dd{text-align:left;margin-top:2px}.hed-flow{grid-template-columns:1fr}.hed-toc ul{columns:1}.hed-input-wrap .hed-unit{max-width:38%;font-size:.78rem;padding:0 8px}.hed-actions .hed-btn{flex:1 1 120px}.hed-reference-table{margin-left:-4px;margin-right:-4px}}
@media(max-width:420px){.hed-input-wrap{display:grid;grid-template-columns:minmax(0,1fr) auto}.hed-input-wrap .hed-unit{max-width:none}.hed-calculator,.hed-result-panel{border-radius:13px;padding:18px}.hed-hero h1{font-size:1.9rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.hed-btn{transition:none}}
/* v16 hard overrides */
body.hed-v16-calculator-page .entry-header,
body.hed-v16-calculator-page .page-header,
body.hed-v16-calculator-page .featured-image,
body.hed-v16-calculator-page .post-image{display:none!important}
body.hed-v16-calculator-page .site-content,
body.hed-v16-calculator-page .content-area,
body.hed-v16-calculator-page #primary{width:100%!important;max-width:none!important;float:none!important}
body.hed-v16-calculator-page .inside-article{padding:0!important;background:transparent!important;box-shadow:none!important}
.hed-static-page{max-width:1180px!important}
.hed-calc-shell{display:block!important}
.hed-calculator{width:100%!important}
.hed-result-panel{width:100%!important;position:static!important;margin-top:22px!important}
.hed-visual-guide,.hed-reference-table{max-width:1000px!important}
.hed-article{max-width:880px!important}
.hed-runtime-status{margin:0 0 18px;padding:12px 14px;border-radius:10px;background:#eef7fb;border:1px solid #cfe2ec;color:#24485a;font-size:.92rem}
.hed-runtime-status[data-state="ready"]{display:none}
.hed-runtime-status[data-state="error"]{display:block;background:#fff1f1;border-color:#efbcbc;color:#8a1f1f}
@media(min-width:1100px){
  .hed-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .hed-result-panel dl{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 30px}
}
@media(min-width:700px) and (max-width:1099px){
  .hed-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:699px){
  .hed-form-grid{grid-template-columns:minmax(0,1fr)!important}
  .hed-static-page{padding-left:12px!important;padding-right:12px!important}
  .hed-calculator,.hed-result-panel{padding:18px!important;border-radius:14px!important}
}
