.cost-calculator { margin-top: 56px; padding: 40px 0; border-top: 1px solid #c6ccd6; border-bottom: 1px solid #c6ccd6; }
.cost-calculator [hidden] { display: none !important; }
.cost-calculator-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 6vw, 88px); align-items: start; }
.cost-calculator .cost-eyebrow { margin-bottom: 18px; color: #465a88; font-size: 11px; font-weight: 600; line-height: 1.7; letter-spacing: .07em; }
.cost-calculator h2 { margin: 0; font-size: clamp(29px, 3.2vw, 42px); line-height: 1.22; letter-spacing: -.04em; font-weight: 500; }
.cost-calculator-intro > p:not(.cost-eyebrow) { max-width: 42ch; margin-top: 22px; color: #4d5869; font-size: 16px; line-height: 1.85; }
.cost-calculator form, .cost-calculator fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.cost-calculator label { display: flex; flex-direction: column; gap: 10px; margin: 0; color: #27364d; font-size: 14px; font-weight: 600; line-height: 1.7; }
.cost-calculator input { min-width: 0; min-height: 56px; width: 100%; padding: 13px 16px; border: 1px solid #a9b4c6; border-radius: 0; background: #f9fafc; color: #17243d; font: inherit; font-size: 18px; font-weight: 400; line-height: 1.5; font-variant-numeric: tabular-nums; }
.cost-calculator input::placeholder { color: #697588; opacity: 1; font-size: 16px; }
.cost-calculator input[aria-invalid="true"] { border-color: #a03c35; }
.cost-calculator input:focus-visible, .cost-calculator button:focus-visible { outline: 2px solid #374b85; outline-offset: 4px; }
.cost-input-note { margin-top: 10px; color: #5a687c; font-size: 12px; line-height: 1.7; }
.cost-calculator-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.cost-calculator button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 50px; max-width: 100%; padding: 13px 18px; border: 1px solid #243b70; background: #243b70; color: #fff; font: inherit; font-size: 14px; font-weight: 600; line-height: 1.6; text-align: left; transition: background .2s ease; }
.cost-calculator button:hover { background: #364e85; }
.cost-calculator button[type="reset"] { border-color: #a8b5ca; background: transparent; color: #273d68; }
.cost-calculator button[type="reset"]:hover { background: #dce3ed; }
.cost-calculator button:disabled { cursor: not-allowed; opacity: .5; }
.cost-error { margin-top: 18px; color: #972f2a; font-size: 14px; line-height: 1.7; }
.cost-result { margin-top: 28px; padding: 24px; background: #f9fafc; border: 1px solid #c6cedb; }
.cost-result h3 { margin: 0 0 18px; color: #2b4168; font-size: 16px; line-height: 1.6; font-weight: 600; }
.cost-breakdown { margin: 0; padding: 0; }
.cost-breakdown > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 16px 0; border-top: 1px solid #d0d7e2; }
.cost-breakdown dt { color: #4d6078; font-size: 14px; line-height: 1.7; }
.cost-breakdown dd { margin: 0; color: #273c62; font-size: 17px; line-height: 1.6; text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.cost-breakdown .cost-total { margin: 8px -24px -24px; padding: 22px 24px; background: #17243d; border-color: #17243d; }
.cost-total dt { color: #dbe2f4; }
.cost-total dd { color: #fff; font-size: clamp(22px, 2.3vw, 30px); }
.cost-calculator .cost-scope-note { max-width: 90ch; margin-top: 24px; color: #4d5869; font-size: 13px; line-height: 1.85; }
.cost-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 1000px) { .cost-calculator-layout { grid-template-columns: 1fr; gap: 28px; } .cost-calculator-intro > p:not(.cost-eyebrow) { max-width: 65ch; } }
@media (max-width: 760px) {
  .cost-calculator { margin-top: 36px; padding: 30px 0; }
  .cost-calculator h2 { font-size: 30px; }
  .cost-calculator-intro > p:not(.cost-eyebrow) { font-size: 15px; }
  .cost-result { padding: 20px; }
  .cost-breakdown > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .cost-breakdown dd { text-align: left; font-size: 19px; }
  .cost-breakdown .cost-total { margin: 8px -20px -20px; padding: 20px; }
  .cost-total dd { font-size: clamp(24px, 6vw, 30px); }
}
@media (prefers-reduced-motion: reduce) { .cost-calculator button { transition: none; } }
