.loan-cost{margin:28px 0 36px;padding:28px;background:#fff;border:2px solid #dedcf0;border-radius:24px}.loan-cost h2{margin:0 0 12px;font-size:clamp(26px,3vw,34px)}.cost-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px}.cost-offer{border:1px solid #dedcf0;border-radius:16px;padding:20px;margin:20px 0;min-width:0}.cost-offer legend{font-weight:800;padding:0 8px;font-size:22px}.cost-fields label{display:block;font-weight:700;margin-bottom:8px}.cost-fields input{box-sizing:border-box;width:100%;padding:12px;border:2px solid #8b87a8;border-radius:10px;background:#fff;color:#0f1b3d;font:inherit}.cost-fields small{display:block;font-size:14px;color:#526078;margin-top:7px;line-height:1.5}.cost-check{display:flex;align-items:flex-start;gap:10px;margin:20px 0;line-height:1.55}.cost-check input{margin-top:5px;flex-shrink:0;width:20px;height:20px}.cost-summary{border:1px solid #dedcf0;border-radius:16px;padding:20px;margin:20px 0;background:#f8faff}.cost-summary dl{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0}.cost-summary dt{color:#526078}.cost-summary dd{margin:0;font-weight:800;text-align:right}.cost-error{color:#a22323;font-weight:700}.loan-cost [hidden]{display:none!important}@media(max-width:600px){.loan-cost{padding:20px 16px}.cost-fields{grid-template-columns:1fr}.cost-offer{padding:16px}.cost-summary{padding:16px}.cost-summary dl{grid-template-columns:1fr}.cost-summary dd{text-align:left;margin-top:-8px;margin-bottom:8px}}
#cost-submit{display:block;width:100%;min-height:52px;border:0;border-radius:14px;background:#3f35b8;color:#fff;font:inherit;font-weight:800;padding:16px 22px;cursor:pointer}#cost-submit:disabled{opacity:.5;cursor:default}#cost-submit:hover:not(:disabled){background:#362da3}#cost-form{scroll-margin-top:24px}.cost-fields input:focus-visible{outline:3px solid #3f35b8;outline-offset:3px}

/* Readable help and full-label touch targets. */
.cost-fields small{font-size:1rem;line-height:1.65;color:#3a4664}.cost-check{box-sizing:border-box;min-height:48px;padding:12px;border:1px solid #dedcf0;border-radius:12px;background:#f8faff;font-size:1rem;line-height:1.65;cursor:pointer}.cost-check input{width:24px;height:24px;margin-top:2px}.cost-check:focus-within{outline:3px solid #3f35b8;outline-offset:3px}
