@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{--bg:#f7f8fa;--ink:#202c35;--muted:#839098;--green:#257e66;--green-dark:#1b6552;--mint:#eaf5ef;--border:#e6eaed;--orange:#edba83}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:14px}button,input,select{font:inherit}button,select{cursor:pointer}button{transition:background .16s,transform .16s}button:hover{filter:brightness(.97)}button:active{transform:translateY(1px)}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #8bbdac;outline-offset:3px}input:focus{outline:none}.site-header{height:86px;background:#fff;border-bottom:1px solid var(--border)}.header-inner{max-width:1240px;margin:auto;height:100%;display:flex;justify-content:space-between;align-items:center;padding:0 30px}.brand{display:flex;align-items:center;gap:6px;text-decoration:none;color:var(--ink);font-weight:750;font-size:21px;letter-spacing:-.7px}.brand-icon{background:var(--green);border-radius:11px;width:35px;height:37px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:29px;margin-right:6px}.brand-icon span{color:#b4e2cb}.brand-light{font-size:16px;font-weight:450;letter-spacing:-.5px;color:#74817e}.header-note{font-size:12px;color:#7a8589;display:flex;align-items:center;gap:9px}.status-dot{width:6px;height:6px;background:#80a492;border-radius:50%}main{max-width:1240px;padding:44px 30px 0;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:31px}.eyebrow{color:var(--green);font-size:10px;font-weight:750;letter-spacing:1.8px;margin-bottom:12px}h1,h2,h3,p{margin:0}h1{font-family:'Manrope',sans-serif;font-size:32px;letter-spacing:-1.25px;line-height:1.35;font-weight:750}.page-heading p{color:#7c878f;font-size:14px;margin-top:10px}.badge{font-size:11px;color:#7b8989;border:1px solid #dfe6e3;border-radius:20px;padding:8px 13px;background:#f0f4f2;display:flex;align-items:center;gap:7px}.badge>span{font-size:16px}.card{background:white;border:1px solid var(--border);border-radius:13px;box-shadow:0 3px 5px #26374702}.parameters{padding:25px 27px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}h2{font-size:16px;letter-spacing:-.3px;font-weight:650}.section-icon{color:var(--green);font-size:20px;vertical-align:-1px;margin-right:8px}.subtle{color:var(--muted)}.small{font-size:11px}.input-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr 1.02fr;gap:23px;margin-top:27px}.field{font-size:12px;font-weight:500;display:flex;flex-direction:column;gap:9px}.input-wrap{display:flex;align-items:center;border:1px solid #dfe5e7;border-radius:7px;background:#fff;height:49px;padding-right:14px}.input-wrap:focus-within{border-color:var(--green);box-shadow:0 0 0 3px #257e6610}.input-wrap input{width:100%;min-width:0;border:0;background:transparent;padding:11px 13px;color:var(--ink);font-size:18px;font-weight:600;-moz-appearance:textfield}.input-wrap input::-webkit-inner-spin-button{appearance:none}.input-wrap>span{color:#8c959d;font-size:12px}.field-hint{font-size:10px;color:#909aa0;font-weight:400}.payment-field{border-left:1px solid var(--border);padding-left:26px}.payment-value{height:49px;display:flex;align-items:center;font-size:29px;font-weight:700;letter-spacing:-1px;color:var(--green)}.payment-value small{font-size:15px;font-weight:500;margin-left:7px;letter-spacing:0}.tiny-info{display:inline-flex;border:1px solid #b9c2c6;color:#939fa4;font-size:9px;border-radius:50%;width:12px;height:12px;align-items:center;justify-content:center;margin-left:5px}.options-row{display:flex;justify-content:space-between;padding:23px 0;margin-top:6px;border-bottom:1px solid var(--border)}.option-group{display:flex;align-items:center;gap:14px;font-size:11px;color:#7d898f}.segmented{display:flex;background:#f2f4f5;padding:3px;border-radius:6px}.segmented button{border:0;background:transparent;color:#869096;padding:6px 14px;border-radius:4px;font-size:11px}.segmented button.active{background:#fff;color:var(--green);box-shadow:0 1px 4px #0000000d;font-weight:600}select{background:#fff;color:#536169;border:1px solid var(--border);border-radius:6px;padding:9px 29px 9px 11px;font-size:11px}.overpayment-heading{display:flex;justify-content:space-between;align-items:center;padding-top:22px}h3{font-size:13px;font-weight:650}.count{background:#eff2f3;color:#849199;font-size:10px;padding:2px 6px;border-radius:4px;margin-left:5px}.overpayment-heading p{color:var(--muted);font-size:11px;margin-top:6px}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:6px;padding:10px 13px;font-size:11px;font-weight:600;white-space:nowrap}.button span{font-size:16px;line-height:14px}.button-soft{color:var(--green);background:var(--mint);border:1px solid #d8e9df}.button-outline{border:1px solid var(--border);color:#59666e;background:white}.empty-overpayments{border:1px dashed #dfe6e5;border-radius:7px;background:#fafcfb;display:flex;gap:11px;align-items:center;justify-content:center;margin-top:18px;padding:17px;font-size:11px;color:#93a09d}.empty-overpayments>span{font-size:20px;color:#799c8d}.overpayment-row{display:grid;grid-template-columns:1.15fr 1fr 1fr 1fr 30px;gap:13px;background:#f8faf9;border:1px solid var(--border);padding:15px;border-radius:8px;margin-top:12px;align-items:end}.overpayment-row label{font-size:10px;color:#78877f;display:flex;flex-direction:column;gap:7px}.overpayment-row input,.overpayment-row select{width:100%;height:37px;border:1px solid #dfe6e3;border-radius:5px;padding:8px;background:#fff;color:var(--ink);font-size:12px}.overpayment-row input:focus{border-color:var(--green)}.remove{background:none;border:0;color:#96a29c;height:37px;font-size:22px}.error{margin-top:15px;color:#b14133;font-size:12px}.results-heading{margin:31px 0 15px;display:flex;align-items:center;justify-content:space-between}.results-heading h2{font-size:15px}.summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.metric{padding:19px 20px}.metric-label{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#7e898e}.metric-label>span{color:#97a7a4;font-size:20px}.metric strong{font-family:'Manrope',sans-serif;display:block;font-size:23px;font-weight:750;letter-spacing:-.8px;margin:13px 0 9px;white-space:nowrap}.metric strong small{font-family:'DM Sans',sans-serif;font-size:12px;font-weight:500;letter-spacing:0}.metric p{font-size:10px;color:#97a0a6}.savings{background:#ecf6f0;border-color:#d6e9de}.savings .metric-label,.savings strong{color:var(--green)}.savings p{color:#739889}.schedule{margin-top:27px;overflow:hidden}.schedule .section-heading{padding:23px 25px}.section-heading p{font-size:11px;margin-top:6px}.table-actions{display:flex;gap:9px}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;text-align:right;white-space:nowrap;font-size:11px}th{background:#f8fafb;color:#7d8991;font-weight:500;padding:13px 23px;border-top:1px solid #eff1f2;border-bottom:1px solid var(--border)}th span{font-size:9px;color:#a2abb0;margin-left:4px}td{padding:12px 23px;border-bottom:1px solid #f0f2f3;font-variant-numeric:tabular-nums;color:#6c7981}th:first-child,td:first-child{text-align:left;padding-left:25px}td:nth-child(2){font-weight:600;color:#33444a}td:nth-child(3){color:var(--green)}td:nth-child(6).has-extra{color:var(--green);font-weight:650}tbody tr:hover{background:#fafcfb}.dot{display:inline-block;width:7px;height:7px;border-radius:2px;margin-right:5px}.principal{background:#378a72}.interest{background:var(--orange)}.extra{background:#a9cdbb}.baseline{background:#c4ccd1}.table-footer{display:flex;align-items:center;justify-content:space-between;padding:15px 25px;color:#8a969d;font-size:10px}.pagination{display:flex;align-items:center;gap:15px}.pagination button{border:1px solid var(--border);background:white;border-radius:5px;height:28px;width:29px;color:#65757d}.pagination button:disabled{opacity:.35;cursor:default}.charts-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px}.chart-card{padding:23px}.chart-symbol{font-size:23px;color:#91a39a}.legend{display:flex;gap:16px;font-size:10px;color:#839087;margin-top:23px}.chart{margin-top:12px;position:relative;min-height:215px}.chart svg{display:block;width:100%;height:auto;overflow:visible}.chart text{font-family:'DM Sans',sans-serif;fill:#9ba6ad;font-size:9px}.chart-tooltip{position:absolute;pointer-events:none;z-index:3;background:#233d33;color:white;border-radius:7px;padding:10px 12px;font-size:10px;line-height:1.8;box-shadow:0 4px 16px #0002;white-space:nowrap}.info-note{display:flex;gap:10px;color:#98a2a8;font-size:10px;line-height:1.7;margin:23px 2px 32px}.info-note>span{font-size:15px}footer{border-top:1px solid var(--border);padding:24px 0 28px;display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#98a1a7}.footer-brand{font-size:12px;color:#6c7a79;font-weight:700}.footer-brand>span{font-weight:400;margin-left:4px}.invalid-results{opacity:.45} @media(min-width:1400px){main{padding-top:48px}}@media(max-width:1000px){.metric{padding:16px}.metric strong{font-size:19px}.input-grid{gap:14px}.payment-field{padding-left:18px}.payment-value{font-size:25px}.brand-light{font-size:14px}h1{font-size:28px}th,td{padding-left:16px;padding-right:16px}}@media(max-width:760px){main{padding:28px 18px 0}.header-inner{padding:0 18px}.site-header{height:70px}.header-note,.badge{display:none}.page-heading{margin-bottom:24px}h1{font-size:25px}.page-heading p{font-size:12px;line-height:1.7}.parameters{padding:20px}.parameters>.section-heading>.small{display:none}.input-grid{grid-template-columns:1fr 1fr;gap:20px 16px}.payment-field{padding:0;border:0}.options-row{gap:15px;flex-direction:column;align-items:flex-start}.option-group{justify-content:space-between;width:100%}.summary-grid{grid-template-columns:1fr 1fr;gap:10px}.metric strong{font-size:22px}.results-heading>.small{display:none}.charts-grid{grid-template-columns:1fr}.schedule .section-heading{padding:20px;align-items:flex-start;flex-direction:column;gap:15px}.table-actions{width:100%;justify-content:space-between}.overpayment-heading p{font-size:10px;max-width:190px;line-height:1.6}.overpayment-heading{gap:10px}.empty-overpayments{line-height:1.7;text-align:center;font-size:10px;padding:12px}.overpayment-row{grid-template-columns:1fr 1fr;position:relative;padding-right:35px}.remove{position:absolute;right:4px;top:9px}.table-footer{padding:15px}.chart{min-height:0}.chart-card{padding:20px}}@media(max-width:380px){.metric strong{font-size:18px}.button{font-size:10px;padding:9px}.parameters{padding:16px}.payment-value{font-size:23px}.field{font-size:11px}.brand{font-size:19px}.brand-light{font-size:13px}}

/* Comparison series and wider schedule. */
.legend{flex-wrap:wrap;row-gap:9px}.line-key{display:inline-block;width:15px;margin-right:5px;vertical-align:middle;border-top:2px solid #1b6552}.line-key.without-extras{border-top:2px dashed #617a9e}td:nth-child(3){font-weight:600}td:nth-child(4){color:var(--green)}.schedule th,.schedule td{padding-left:16px;padding-right:16px}

.table-actions{flex-wrap:wrap}.schedule .section-heading>div:first-child{min-width:0}.schedule .table-actions{flex-shrink:0}
main{padding-top:16px}
.header-inner{gap:24px}
.brand{flex-shrink:0}
.header-note{line-height:1.6;text-align:right}
.storage-status{margin-bottom:12px;color:#7d6141;font-size:12px}
.site-header{height:66px}
main{padding-top:10px}
.parameters{padding:15px 18px}
.input-grid{gap:14px;margin-top:15px}
.field{gap:6px}
.input-wrap,.payment-value{height:42px}
.options-row{padding:12px 0;margin-top:3px}
.overpayment-heading{padding-top:12px}
.empty-overpayments{margin-top:9px;padding:9px}
.overpayment-row{gap:8px;padding:9px;margin-top:7px}
.results-heading{margin:18px 0 9px}
.summary-grid{gap:10px}
.metric{padding:12px 14px}
.metric strong{margin:7px 0 5px}
.schedule{margin-top:16px}
.schedule .section-heading{padding:13px 16px}
.schedule th{padding-top:8px;padding-bottom:8px}
.schedule td{padding-top:7px;padding-bottom:7px}
.table-footer{padding:9px 16px}
.charts-grid{gap:11px}
.chart-card{padding:14px}
.legend{margin-top:12px;gap:10px;row-gap:6px}
.chart{margin-top:7px}
.info-note{margin:13px 2px 18px}
footer{padding:14px 0 17px}
@media(max-width:760px){.parameters{padding:13px}.input-grid{gap:13px 10px}.metric{padding:11px}.schedule .section-heading{padding:13px;gap:10px}.table-footer{padding:9px 12px}.chart-card{padding:13px}.site-header .header-inner{padding:10px 18px;gap:7px}}
#clear-data{flex-shrink:0}
@media(max-width:760px){.site-header .header-inner{display:grid;grid-template-columns:1fr auto}.site-header .header-note{grid-column:1 / -1;grid-row:2}#clear-data{grid-column:2;grid-row:1}}
@media(max-width:760px){.site-header{height:auto}.header-inner{flex-direction:column;align-items:flex-start;gap:10px;padding:16px 18px}.header-note{display:block;text-align:left;font-size:11px}}
@media(max-width:1000px){.schedule .section-heading{flex-wrap:wrap}.schedule .table-actions{flex-shrink:1}}
