/* Presentation only. Loaded exclusively by the 31 calculator pages. */
.calculator-page{background:#f7f8f3}
.calculator-page .container{width:min(1320px,calc(100% - 80px))}
.calculator-page .site-header{height:94px;background:#f7f8f3;border-bottom:0}
.calculator-page .brand-mark{border-radius:13px}
.calculator-page .main-nav .nav-all{border-radius:30px}
.calculator-page .breadcrumbs{padding:12px 0 21px}

/* A compact version of the home hero, with the same type and palette. */
.calculator-page .page-heading{position:relative;isolation:isolate;overflow:hidden;max-width:none;padding:32px 40px 29px;background:#103f37;border-radius:26px;color:white}
.calculator-page .page-heading:after{content:'';position:absolute;right:-140px;top:-210px;width:390px;height:390px;border:1px solid #cde9af20;border-radius:50%;box-shadow:0 0 0 50px #cde9af08,0 0 0 100px #cde9af05;z-index:-1;pointer-events:none}
.calculator-page .page-heading .eyebrow{color:#d8eac6;font-size:10px;font-weight:650;letter-spacing:1px;margin-bottom:16px;gap:10px}
.calculator-page .page-heading .eyebrow:before{display:none}
.calculator-page .page-heading .eyebrow .icon{width:21px;height:21px}
.calculator-page .page-heading h1{max-width:980px;font-size:42px;line-height:1.18;font-weight:650;letter-spacing:-1.5px;color:white;margin-bottom:14px;text-wrap:pretty}
.calculator-page .page-heading .lede{max-width:940px;font-size:14px;line-height:1.85;color:#e0e9e3;margin-bottom:20px}
.calculator-page .page-meta{gap:9px 23px;font-size:10px;color:#d5e4dc;padding-top:17px;border-top:1px solid #ffffff24}
.calculator-page .page-meta span:before{width:4px;height:4px;background:#d6ebba}
.calculator-page .page-toc{gap:5px;margin:15px 0 25px;padding:0;border:0}
.calculator-page .page-toc a{min-height:44px;padding:10px 16px;border-radius:30px;font-size:11px;font-weight:650}
.calculator-page .page-toc a:first-child{background:#e4ecd9;color:#173b34}
.calculator-page .page-toc a:hover{background:#e4ecd9;color:#173b34}

/* Input and result panels share one clear two-step hierarchy. */
.calculator-page .workspace{grid-template-columns:minmax(0,1.13fr) minmax(0,.87fr);gap:24px;scroll-margin-top:24px}
.calculator-page .form-panel,.calculator-page .result-panel{min-width:0;border-radius:22px;padding:30px;box-shadow:0 8px 24px #173b3406}
.calculator-page .form-panel{border-color:#dce4d7}
.calculator-page .panel-heading{padding-bottom:23px;margin-bottom:26px;gap:12px}
.calculator-page .panel-heading h2{font-size:20px;font-weight:650;gap:11px}
.calculator-page .panel-step{width:31px;height:31px;border-radius:10px;background:#dcecbd;color:#173b34;font-size:11px;font-weight:650}
.calculator-page .panel-heading button{background:#f7f9f3;border-color:#d7e2d1;border-radius:9px;font-weight:650;min-height:44px}
.calculator-page .panel-heading button:hover{background:#eaf0e2}
.calculator-page .field label{font-weight:650}
.calculator-page .field input:not([type=checkbox]),.calculator-page .field select,.calculator-page .field textarea{background:#fff;border-radius:10px;border-color:#7d9486;font-weight:550}
.calculator-page .field input:focus,.calculator-page .field select:focus,.calculator-page .field textarea:focus{border-color:#17634e}
.calculator-page .field-help{font-size:12px}
.calculator-page .input-row{background:#f7f9f3;border-radius:13px;align-items:end}
.calculator-page .checkbox-label{background:#f2f6eb;border-color:#d7e2cd}
.calculator-page .form-actions{margin-top:27px;padding-top:24px}
.calculator-page .form-actions .primary{background:#d6ebba;color:#173b34;border-color:#aac889;border-radius:11px;font-weight:750;min-height:51px}
.calculator-page .form-actions .primary:hover{background:#c5dfa3;box-shadow:0 5px 12px #173b3410}
.calculator-page .input-note{font-size:11px}
.calculator-page .result-panel{background:#103f37;border-color:#103f37;padding:28px;box-shadow:none}
.calculator-page .result-top{font-size:13px;letter-spacing:0;text-transform:none;font-weight:650;color:#fff;margin-bottom:24px}
.calculator-page .result-top>span:first-child{display:flex;align-items:center;gap:11px}
.calculator-page .result-top .panel-step{background:#315c4b;color:#e0efd4}
.calculator-page .result-kicker{color:#173b34;background:#dcecbd;padding:19px 21px 0;border-radius:14px 14px 0 0;font-size:12px;font-weight:550;line-height:1.8}
.calculator-page .result-value{color:#173b34;background:#dcecbd;padding:6px 21px 21px;border-radius:0 0 14px 14px;margin:0 0 22px;font-size:clamp(32px,3.1vw,47px);font-weight:650;letter-spacing:-1.7px;line-height:1.25}
.calculator-page .result-details{background:#1b4b40;border-color:#3c6759;border-radius:13px;padding:5px 17px}
.calculator-page .result-details>div{font-size:12px;gap:18px;padding:13px 0}
.calculator-page .result-details dd{font-weight:650}
.calculator-page .result-notes,.calculator-page .calculation-steps{font-size:12px;line-height:1.9}
.calculator-page .calculation-steps summary{min-height:44px;font-weight:650}
.calculator-page .result-actions{gap:10px;margin-top:20px;padding-top:20px}
.calculator-page .result-actions button{border-radius:9px;font-weight:650;padding:10px 18px}
.calculator-page .result-status{font-size:11px}
.calculator-page .result-panel:has(.result-table-section){position:static;min-width:0}

/* Supporting information follows the same calm cards as the home directory. */
.calculator-page .usage-guide{padding:29px 32px;margin-top:28px;background:#eaf0e2;border-color:#d7e2cd;border-radius:20px}
.calculator-page .usage-guide h2{font-size:21px;font-weight:650;line-height:1.4;margin-bottom:24px}
.calculator-page .usage-guide li:before{background:#f8fbf3;border-color:#d0ddc5;font-weight:650}
.calculator-page .content-grid{grid-template-columns:minmax(0,1.13fr) minmax(0,.87fr);align-items:start;gap:24px;margin:28px 0 42px}
.calculator-page .explanation,.calculator-page .faq{padding:31px;background:#fff;border:1px solid #dce4d7;border-radius:20px;min-width:0}
.calculator-page .explanation h2,.calculator-page .faq h2{font-size:25px;font-weight:650;margin-bottom:25px}
.calculator-page .explanation h3{font-weight:750;margin-top:27px}
.calculator-page .explanation p{font-size:13px;line-height:1.95}
.calculator-page .faq details{padding:15px 0}
.calculator-page .faq summary{font-weight:650;min-height:44px;gap:16px}
.calculator-page .faq summary:after{width:27px;height:27px;line-height:25px;background:#f6f8f1;border-color:#d7e2cd}
.calculator-page .faq details[open] summary:after{background:#e4ecd9}
.calculator-page .faq p{font-size:13px}
.calculator-page .sources{padding:23px;background:#f0f4e9;border-color:#dce5d3;border-radius:14px}
.calculator-page .sources h2{font-size:16px;margin-bottom:15px;letter-spacing:-.3px}
.calculator-page .sources p{font-size:11px}
.calculator-page .related{padding-top:33px;margin-bottom:48px}
.calculator-page .related h2{font-size:28px;font-weight:650;letter-spacing:-1px}
.calculator-page .context-links{gap:14px}
.calculator-page .context-links article{border-radius:15px;border-color:#dce4d7;padding:23px;transition:border-color .16s,box-shadow .16s}
.calculator-page .context-links article:hover{border-color:#80a58b;box-shadow:0 8px 22px #173b340b}
.calculator-page .context-links h3 a{font-weight:750;text-decoration:none}
.calculator-page .context-links h3 a:hover{text-decoration:underline}
.calculator-page .intent-action{border-radius:20px;background:#eaf0e2;border-color:#d7e2cd}
.calculator-page .intent-action h2{font-weight:650}

@media(max-width:1100px){
  .calculator-page .container{width:calc(100% - 48px)}
  .calculator-page .page-heading{padding:29px 32px}
  .calculator-page .page-heading h1{font-size:38px}
  .calculator-page .form-panel,.calculator-page .result-panel{padding:24px}
  .calculator-page .panel-heading{align-items:start;flex-direction:column;gap:12px}
  .calculator-page .content-grid{grid-template-columns:1fr 1fr}
  .calculator-page .explanation,.calculator-page .faq{padding:25px}
}
@media(max-width:900px){
  .calculator-page .workspace{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:18px}
  .calculator-page .form-panel,.calculator-page .result-panel{padding:22px}
  .calculator-page .panel-heading h2{font-size:18px}
  .calculator-page .result-value{font-size:33px;letter-spacing:-1.2px;padding-left:17px;padding-right:17px}
  .calculator-page .result-kicker{padding-left:17px;padding-right:17px}
  .calculator-page .result-details{padding:4px 12px}
  .calculator-page .result-details>div{gap:12px}
  .calculator-page .content-grid{grid-template-columns:1fr;gap:20px}
}
@media(max-width:760px){
  .calculator-page .container{width:calc(100% - 32px)}
  .calculator-page .site-header{height:78px}
  .calculator-page .breadcrumbs{font-size:10px;padding:12px 0 17px;gap:5px 8px}
  .calculator-page .page-heading{padding:25px 24px 23px;border-radius:23px}
  .calculator-page .page-heading .eyebrow{font-size:9px;letter-spacing:.8px;margin-bottom:15px}
  .calculator-page .page-heading .eyebrow .icon{width:19px;height:19px}
  .calculator-page .page-heading h1{font-size:31px;line-height:1.22;letter-spacing:-1px;margin-bottom:15px}
  .calculator-page .page-heading .lede{font-size:13px;line-height:1.8;margin-bottom:17px}
  .calculator-page .page-meta{font-size:10px;gap:8px;padding-top:16px}
  .calculator-page .page-meta span{width:100%}
  .calculator-page .page-toc{gap:2px;margin:12px 0 20px}
  .calculator-page .page-toc a{font-size:10px;padding:9px 8px;min-height:44px}
  .calculator-page .workspace{grid-template-columns:1fr;gap:18px}
  .calculator-page .form-panel,.calculator-page .result-panel{border-radius:20px;padding:23px}
  .calculator-page .panel-heading{flex-direction:row;align-items:center;gap:10px;padding-bottom:20px;margin-bottom:23px}
  .calculator-page .panel-heading h2{font-size:17px;gap:9px}
  .calculator-page .panel-heading button{font-size:10px;padding:8px}
  .calculator-page .panel-step{width:27px;height:27px;border-radius:9px;font-size:10px}
  .calculator-page .fields{grid-template-columns:1fr;gap:21px}
  .calculator-page .field label{font-size:13px}
  .calculator-page .input-row label{font-size:11px}
  .calculator-page .form-actions{gap:9px;margin-top:23px;padding-top:22px}
  .calculator-page .form-actions .button{font-size:12px;padding:12px}
  .calculator-page .reset{font-size:10px}
  .calculator-page .input-note{font-size:11px}
  .calculator-page .result-panel{position:static}
  .calculator-page .result-top{margin-bottom:21px}
  .calculator-page .result-kicker{padding:18px 19px 0}
  .calculator-page .result-value{font-size:39px;padding:6px 19px 20px;letter-spacing:-1.5px}
  .calculator-page .result-details{padding:4px 15px}
  .calculator-page .usage-guide{padding:24px;margin-top:24px;border-radius:19px}
  .calculator-page .usage-guide h2{font-size:20px;margin-bottom:22px}
  .calculator-page .usage-guide ol{grid-template-columns:1fr;gap:21px}
  .calculator-page .content-grid{margin:24px 0 31px;gap:20px}
  .calculator-page .explanation,.calculator-page .faq{padding:24px;border-radius:19px}
  .calculator-page .explanation h2,.calculator-page .faq h2{font-size:23px}
  .calculator-page .sources{padding:19px}
  .calculator-page .sources h2{font-size:16px}
  .calculator-page .related{padding-top:28px;margin-bottom:35px}
  .calculator-page .related h2{font-size:25px}
  .calculator-page .context-links{grid-template-columns:1fr;gap:12px}
  .calculator-page .context-links article{padding:21px}
  .calculator-page .intent-action{padding:23px}
}
@media(max-width:400px){
  .calculator-page .page-heading{padding:24px 21px 22px}
  .calculator-page .page-heading h1{font-size:29px}
  .calculator-page .form-panel,.calculator-page .result-panel{padding:20px}
  .calculator-page .panel-heading{align-items:start;flex-direction:column}
  .calculator-page .result-value{font-size:35px}
  .calculator-page .explanation,.calculator-page .faq{padding:22px}
}
@media(prefers-reduced-motion:reduce){
  .calculator-page .context-links article{transition:none}
}
@media print{
  .calculator-page{background:white;color:#111}
  .calculator-page .container{width:100%}
  .calculator-page .page-heading{background:white;color:#111;padding:0 0 15px;border-radius:0;overflow:visible}
  .calculator-page .page-heading:after{display:none}
  .calculator-page .page-heading h1{color:#111;font-size:24pt}
  .calculator-page .page-heading .eyebrow,.calculator-page .page-heading .lede,.calculator-page .page-meta{color:#111}
  .calculator-page .page-meta{border-color:#bbb}
  .calculator-page .workspace,.calculator-page .content-grid{display:block}
  .calculator-page .form-panel{padding:0;border:0;box-shadow:none}
  .calculator-page .result-panel{position:static;padding:20px;border-color:#aaa;box-shadow:none}
  .calculator-page .result-kicker,.calculator-page .result-value{background:white;padding:0}
  .calculator-page .result-value{margin:8px 0 20px;font-size:28pt}
  .calculator-page .result-details{background:white;border-color:#bbb}
  .calculator-page .explanation,.calculator-page .faq{padding:20px 0;border:0;border-radius:0;box-shadow:none}
  .calculator-page .sources{background:white;border-color:#bbb}
}
