.calculator-hero{padding-bottom:56px}
.calculator-hero .narrow{max-width:900px}
.calculator-hero .button-row{margin-top:24px}
.calculator-kicker{display:inline-flex;align-items:center;gap:8px;margin-bottom:14px;padding:6px 11px;color:#1754a4;background:#e8f2ff;border:1px solid #c9ddf4;border-radius:999px;font-size:12px;font-weight:850;letter-spacing:.07em;text-transform:uppercase}
.calculator-workspace{padding-top:54px;background:linear-gradient(180deg,#f6f9fd,#eef5ff)}
.calculator-layout{display:grid;grid-template-columns:minmax(320px,.78fr) minmax(0,1.22fr);gap:26px;align-items:start}
.calculator-input-card,.calculator-output-card{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow)}
.calculator-input-card{position:sticky;top:104px;padding:28px}
.calculator-input-card h2,.calculator-output-card h2{margin:0;font-size:28px;line-height:1.2}
.calculator-input-card>p,.calculator-output-intro{margin:9px 0 22px;color:var(--muted)}
.calculator-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.calculator-form .field.full{grid-column:1/-1}
.input-with-prefix,.input-with-suffix{display:flex;align-items:stretch;background:#fff;border:1px solid #bdcde0;border-radius:10px;overflow:hidden}
.input-with-prefix:focus-within,.input-with-suffix:focus-within{outline:3px solid #76a9ff;outline-offset:2px}
.input-with-prefix span,.input-with-suffix span{display:flex;align-items:center;padding:0 11px;color:#536a88;background:#f3f7fc;font-weight:800}
.input-with-prefix input,.input-with-suffix input{border:0!important;border-radius:0!important;outline:0!important;min-width:0}
.checkbox-field{display:flex!important;grid-column:1/-1;grid-template-columns:auto 1fr!important;align-items:flex-start;gap:11px!important;padding:14px 15px;background:#f5f9ff;border:1px solid #d6e4f3;border-radius:12px}
.checkbox-field input{width:19px!important;height:19px!important;min-height:auto!important;margin-top:2px}
.checkbox-field span{font-weight:750}
.checkbox-field small{display:block;margin-top:3px;color:var(--muted);font-weight:400}
.calculator-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.calculator-actions .button{min-width:126px}
.calculator-actions button:disabled{cursor:wait;opacity:.7}
.calculator-error{margin-top:16px;padding:13px 15px;color:#8b1e24;background:#fff0f1;border:1px solid #efb8bd;border-radius:11px;font-weight:700}
.calculator-output-card{min-height:430px;padding:30px}
.calculator-results[hidden]{display:none}
.result-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.result-card{min-height:132px;padding:20px;background:linear-gradient(160deg,#f8fbff,#eef5ff);border:1px solid #cadaef;border-radius:15px}
.result-card span{display:block;color:#526985;font-size:12px;font-weight:850;letter-spacing:.07em;text-transform:uppercase}
.result-card strong{display:block;margin-top:8px;color:var(--navy-strong);font-size:clamp(25px,3vw,34px);line-height:1.05;letter-spacing:-.025em;overflow-wrap:anywhere}
.result-card small{display:block;margin-top:8px;color:var(--muted);line-height:1.4}
.result-chart-card,.result-table-card{margin-top:20px;padding:22px;background:#fff;border:1px solid var(--line);border-radius:16px}
.result-section-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:14px}
.result-section-heading h3{margin:0;color:var(--navy-strong);font-size:20px}
.result-section-heading span{color:var(--muted);font-size:12px}
.chart-legend{display:flex;flex-wrap:wrap;gap:12px 20px;margin-bottom:10px;color:#405773;font-size:12px;font-weight:750}
.chart-legend span{display:flex;align-items:center;gap:7px}.chart-legend i{width:20px;height:4px;border-radius:99px}
.chart-scroll{overflow-x:auto}.calculator-chart{display:block;width:100%;min-width:620px;height:auto;background:#fbfdff;border-radius:10px}
.chart-grid-line{stroke:#d9e4f0;stroke-width:1}.chart-axis-label{fill:#61738a;font:12px "Segoe UI",Arial,sans-serif}
.calculator-table-wrap{max-height:540px;overflow:auto;border:1px solid #d9e4f0;border-radius:12px}
.calculator-table-wrap table{width:100%;min-width:690px;border-collapse:collapse;background:#fff;font-size:14px}
.calculator-table-wrap th,.calculator-table-wrap td{padding:11px 13px;border-bottom:1px solid #e3ebf4;text-align:right;white-space:nowrap}
.calculator-table-wrap th:first-child,.calculator-table-wrap td:first-child{text-align:left}
.calculator-table-wrap thead th{position:sticky;top:0;z-index:2;color:#234263;background:#eaf3ff;font-size:11px;letter-spacing:.05em;text-transform:uppercase}
.calculator-table-wrap tbody th{color:#243e60;background:#f8fbff;font-weight:800}
.calculator-table-wrap tbody tr:hover td,.calculator-table-wrap tbody tr:hover th{background:#f2f7fd}
.result-table-note,.result-note{margin:14px 0 0;color:var(--muted);font-size:13px;line-height:1.6}
.result-note{padding:14px 16px;background:#f5f9ff;border-left:4px solid #76a9e8;border-radius:8px}
.calculator-explanation-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:26px;align-items:start}
.calculator-copy h2{margin:0 0 14px;font-size:34px;line-height:1.15}.calculator-copy h3{margin:28px 0 10px;font-size:23px}
.calculator-copy p,.calculator-copy li{color:#43546c;font-size:17px}.calculator-copy ul{padding-left:22px}
.calculator-formula{padding:24px;color:#fff;background:linear-gradient(145deg,#123f7a,#102f5e);border-radius:17px;box-shadow:var(--shadow)}
.calculator-formula .eyebrow{color:#bed8ff}.calculator-formula strong{display:block;font:800 clamp(21px,3vw,30px)/1.45 Georgia,serif;overflow-wrap:anywhere}.calculator-formula p{margin:13px 0 0;color:#dceaff}
.calculator-example{margin-top:18px;padding:24px;background:#f5f9ff;border:1px solid #cbdff3;border-radius:17px}
.calculator-example h3{margin:0 0 10px;font-size:22px}.calculator-example p{margin:0 0 10px;color:#43546c}.calculator-example strong{color:#153f76}
.calculator-example-list{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:16px 0 0;padding:0;list-style:none}
.calculator-example-list li{padding:11px 12px;color:#3d536f;background:#fff;border:1px solid #d8e5f2;border-radius:10px;font-size:14px}
.calculator-category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:19px}
.calculator-card{position:relative;display:flex;min-height:235px;flex-direction:column;overflow:hidden}
.calculator-card:before{content:"";position:absolute;left:0;right:0;top:0;height:5px;background:linear-gradient(90deg,#2467d5,#0b8f7c)}
.calculator-card .calculator-icon{display:grid;place-items:center;width:44px;height:44px;margin-bottom:15px;color:#fff;background:linear-gradient(145deg,#3690f5,#2467d5);border-radius:12px;font-size:19px;font-weight:900}
.calculator-card h2,.calculator-card h3{margin:0 0 8px;color:var(--navy-strong);font-size:21px;line-height:1.25}.calculator-card p{margin:0 0 17px;color:var(--muted)}
.calculator-card a{margin-top:auto;font-weight:850;text-decoration:none}.calculator-card a:hover{text-decoration:underline}
.calculator-group-heading{margin:45px 0 18px}.calculator-group-heading:first-child{margin-top:0}.calculator-group-heading h2{margin:0;font-size:31px}.calculator-group-heading p{margin:7px 0 0;color:var(--muted)}
.related-calculator-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}
.related-calculator{display:flex;flex-direction:column;padding:20px;color:inherit;background:#fff;border:1px solid var(--line);border-radius:14px;text-decoration:none}
.related-calculator strong{color:var(--navy-strong);font-size:17px}.related-calculator span{margin-top:7px;color:var(--muted);font-size:13px;line-height:1.5}.related-calculator:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(17,40,78,.08)}
.calculator-cta-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.calculator-cta-card{padding:30px;background:#fff;border:1px solid var(--line);border-radius:18px}.calculator-cta-card h2{margin-top:0}.calculator-cta-card p{color:var(--muted)}
.calculator-disclaimer{max-width:930px;margin:24px auto 0;color:#607188;font-size:13px;text-align:center}
@media(max-width:1000px){.calculator-layout,.calculator-explanation-grid{grid-template-columns:1fr}.calculator-input-card{position:static}.calculator-category-grid{grid-template-columns:repeat(2,1fr)}.related-calculator-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){.calculator-form-grid,.result-cards,.calculator-example-list,.calculator-category-grid,.related-calculator-grid,.calculator-cta-grid{grid-template-columns:1fr}.calculator-form .field.full{grid-column:auto}.calculator-input-card,.calculator-output-card{padding:22px}.calculator-actions .button{width:100%}.result-card{min-height:auto}.calculator-workspace{padding-top:38px}.calculator-table-wrap{max-height:430px}}
@media print{
  .contact-strip,.site-header,.calculator-input-card,.site-footer,.button-row,.related-calculator-section,.calculator-cta-section,.faq-section{display:none!important}
  body{background:#fff}.calculator-workspace{padding:0;background:#fff}.calculator-layout{display:block}.calculator-output-card{border:0;box-shadow:none;padding:0}.result-chart-card,.result-table-card,.result-card{break-inside:avoid;box-shadow:none}.calculator-table-wrap{max-height:none;overflow:visible}.calculator-table-wrap table{min-width:0;font-size:10px}.calculator-chart{min-width:0}
}
