.refi-tool[data-astro-cid-7eh476k7]{flex-direction:column;gap:1.5rem;display:flex}.inputs-card[data-astro-cid-7eh476k7],.results-card[data-astro-cid-7eh476k7]{background:var(--bg-secondary,#f8fafc);border:1px solid var(--border-color,#e5e5e5);border-radius:12px;padding:1.5rem;box-shadow:0 1px 4px #0000000f}.card-title[data-astro-cid-7eh476k7]{margin:0 0 .75rem;font-size:1.05rem}.loan-grid[data-astro-cid-7eh476k7]{grid-template-columns:1fr 1fr;gap:1.25rem;display:grid}@media (width<=640px){.loan-grid[data-astro-cid-7eh476k7]{grid-template-columns:1fr}}fieldset[data-astro-cid-7eh476k7]{border:1.5px solid var(--border-color,#e5e5e5);border-radius:10px;margin:0;padding:1rem}legend[data-astro-cid-7eh476k7]{color:var(--primary-color,#1e3a5f);padding:0 .4rem;font-size:.9rem;font-weight:700}fieldset[data-astro-cid-7eh476k7] label[data-astro-cid-7eh476k7]{color:var(--text-secondary,#555);flex-direction:column;gap:.3rem;margin-bottom:.75rem;font-size:.8125rem;font-weight:600;display:flex}fieldset[data-astro-cid-7eh476k7] label[data-astro-cid-7eh476k7].check{flex-direction:row;align-items:center;gap:.5rem}fieldset[data-astro-cid-7eh476k7] input[data-astro-cid-7eh476k7][type=number],.cur-wrap[data-astro-cid-7eh476k7]{border:1.5px solid var(--border-color,#d1d5db);background:#fff;border-radius:8px}fieldset[data-astro-cid-7eh476k7] input[data-astro-cid-7eh476k7][type=number]{padding:.5rem .6rem;font-size:1rem}fieldset[data-astro-cid-7eh476k7] input[data-astro-cid-7eh476k7]:focus{border-color:var(--primary-color,#1e3a5f);outline:none;box-shadow:0 0 0 3px #1e3a5f1f}.cur-wrap[data-astro-cid-7eh476k7]{align-items:center;display:flex;overflow:hidden}.cur-wrap[data-astro-cid-7eh476k7] span[data-astro-cid-7eh476k7]{color:var(--text-muted,#888);padding:0 .5rem;font-weight:600}.cur-wrap[data-astro-cid-7eh476k7] input[data-astro-cid-7eh476k7]{background:0 0;border:none;outline:none;width:100%;padding:.5rem .5rem .5rem 0;font-size:1rem}.examples[data-astro-cid-7eh476k7]{border-top:1px solid var(--border-color,#e5e5e5);flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:1.25rem;padding-top:1rem;display:flex}.examples[data-astro-cid-7eh476k7] h3[data-astro-cid-7eh476k7]{width:100%;color:var(--text-muted,#666);text-transform:uppercase;letter-spacing:.04em;margin:0;font-size:.8125rem;font-weight:600}.example-btn[data-astro-cid-7eh476k7]{border:1.5px solid var(--primary-color,#1e3a5f);color:var(--primary-color,#1e3a5f);cursor:pointer;background:#fff;border-radius:999px;padding:.35rem .85rem;font-size:.8125rem;font-weight:500}.example-btn[data-astro-cid-7eh476k7]:hover{background:var(--primary-color,#1e3a5f);color:#fff}.example-btn[data-astro-cid-7eh476k7]:focus-visible{outline:2px solid var(--primary-color,#1e3a5f);outline-offset:2px}.error-msg[data-astro-cid-7eh476k7]{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;margin:.75rem 0 0;padding:.5rem .75rem;font-size:.85rem}.no-savings[data-astro-cid-7eh476k7]{color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:8px;margin-bottom:1rem;padding:.75rem 1rem;font-size:.875rem}.metrics[data-astro-cid-7eh476k7]{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem;margin-bottom:1.5rem;display:grid}.metric[data-astro-cid-7eh476k7]{border:1px solid var(--border-color,#e5e5e5);text-align:center;background:#fff;border-radius:10px;padding:.85rem}.m-label[data-astro-cid-7eh476k7]{text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted,#666);margin-bottom:.3rem;font-size:.7rem;display:block}.metric[data-astro-cid-7eh476k7] strong[data-astro-cid-7eh476k7]{color:var(--primary-color,#1e3a5f);font-size:1.35rem}.metric[data-astro-cid-7eh476k7] strong[data-astro-cid-7eh476k7].negative{color:#b91c1c}.chart-title[data-astro-cid-7eh476k7]{text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted,#666);margin:0 0 .5rem;font-size:.8125rem}.chart-wrap[data-astro-cid-7eh476k7]{border:1px solid var(--border-color,#e5e5e5);background:#fff;border-radius:8px;padding:.5rem}#refi-chart[data-astro-cid-7eh476k7]{width:100%;height:auto}.legend[data-astro-cid-7eh476k7]{gap:1.25rem;margin-top:.5rem;font-size:.8125rem;display:flex}.leg[data-astro-cid-7eh476k7]{color:var(--text-secondary,#555);align-items:center;gap:.35rem;display:inline-flex}.leg[data-astro-cid-7eh476k7]:before{content:"";border-radius:2px;width:14px;height:3px}.leg-cur[data-astro-cid-7eh476k7]:before{background:#94a3b8}.leg-new[data-astro-cid-7eh476k7]:before{background:#1e3a5f}.data-table-wrap[data-astro-cid-7eh476k7]{margin-top:1rem}.data-table-wrap[data-astro-cid-7eh476k7] summary[data-astro-cid-7eh476k7]{cursor:pointer;font-size:.85rem;font-weight:600}.table-scroll[data-astro-cid-7eh476k7]{margin-top:.5rem;overflow-x:auto}.balance-table[data-astro-cid-7eh476k7]{border-collapse:collapse;width:100%;font-size:.85rem}.balance-table[data-astro-cid-7eh476k7] th[data-astro-cid-7eh476k7],.balance-table[data-astro-cid-7eh476k7] td[data-astro-cid-7eh476k7]{border-bottom:1px solid var(--border-color,#eee);text-align:right;padding:.4rem .6rem}.balance-table[data-astro-cid-7eh476k7] th[data-astro-cid-7eh476k7]:first-child,.balance-table[data-astro-cid-7eh476k7] td[data-astro-cid-7eh476k7]:first-child{text-align:left}.sr-only[data-astro-cid-7eh476k7]{clip:rect(0,0,0,0);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}
