.calc{gap:var(--space-5);grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:start;display:grid}@media (width<=52rem){.calc{grid-template-columns:1fr}}.calc-form{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:var(--space-5)}fieldset{min-width:0;margin:0 0 var(--space-5);border:0;padding:0}fieldset:last-of-type{margin-bottom:0}legend{font-family:var(--font-serif);margin-bottom:var(--space-3);border-bottom:1px solid var(--line);width:100%;padding:0;padding-bottom:var(--space-2);font-size:1.15rem;font-weight:600}.field{margin-bottom:var(--space-4)}.field-row{gap:var(--space-4);grid-template-columns:1fr 1fr;display:grid}label{margin-bottom:var(--space-1);font-size:.95rem;font-weight:600;display:block}.hint{color:var(--muted);margin:0 0 var(--space-2);font-size:.85rem}.input-wrap{border:1px solid var(--line-strong);border-radius:var(--radius);background:var(--surface);align-items:center;display:flex}.input-wrap:focus-within{outline:3px solid var(--focus);outline-offset:1px}.input-wrap>span{color:var(--muted);padding:0 var(--space-3);font-size:.95rem}.input-wrap.prefix>span{padding-right:0}.input-wrap.suffix>span{padding-left:0}input[type=text]{width:100%;min-width:0;font:inherit;font-variant-numeric:tabular-nums;color:var(--ink);padding:var(--space-2) var(--space-3);background:0 0;border:0;flex:1}input[type=text]:focus{outline:none}input[aria-invalid=true]{background:var(--error-soft)}.field-error{color:var(--error);margin:var(--space-1) 0 0;font-size:.875rem;font-weight:600}.check{gap:var(--space-2);margin-bottom:var(--space-2);align-items:flex-start;display:flex}.check input{width:1.1rem;height:1.1rem;accent-color:var(--accent);flex:none;margin-top:.25rem}.check label{margin:0;font-weight:500}.check-hint{margin-left:1.6rem}.error-summary{border:2px solid var(--error);background:var(--error-soft);border-radius:var(--radius);padding:var(--space-3) var(--space-4);margin-bottom:var(--space-5)}.error-summary ul{margin:0}.error-summary a{color:var(--error)}.calc-results{top:var(--space-4);background:var(--surface);border:1px solid var(--line);border-top:4px solid var(--accent);border-radius:var(--radius);padding:var(--space-5);position:sticky}@media (width<=52rem){.calc-results{position:static}}.results-title{margin:0 0 var(--space-3);font-size:1.15rem}[data-results].is-stale{opacity:.45}.headline{background:var(--accent-soft);border-radius:var(--radius);padding:var(--space-4);margin-bottom:var(--space-4)}.headline-label{color:var(--accent);text-transform:uppercase;letter-spacing:.06em;margin:0;font-size:.9rem;font-weight:600}.headline-value{font-family:var(--font-serif);font-variant-numeric:tabular-nums;margin:0;font-size:clamp(2.4rem,6vw,3.25rem);font-weight:700;line-height:1.1}.headline-sub{color:var(--muted);margin:0}.summary{margin:0 0 var(--space-3)}.summary div{justify-content:space-between;gap:var(--space-3);padding:var(--space-2) 0;border-bottom:1px solid var(--line);display:flex}.summary dt{color:var(--ink-soft)}.summary dd{font-variant-numeric:tabular-nums;text-align:right;margin:0;font-weight:600}.summary .summary-total{border-bottom:0;border-top:2px solid var(--ink);margin-top:var(--space-1);padding-top:var(--space-3)}.summary-total dt,.summary-total dd{color:var(--ink);font-weight:700}.split{margin-top:var(--space-4)}.split-label{margin-bottom:var(--space-2);font-size:.9rem;font-weight:600}.split-bar{background:var(--line);border-radius:999px;height:.75rem;display:flex;overflow:hidden}.split-principal{background:var(--ink)}.split-interest{background:var(--accent)}.split-legend{gap:var(--space-4);margin-top:var(--space-2);flex-wrap:wrap;font-size:.9rem;display:flex}.dot{vertical-align:-.05rem;border-radius:2px;width:.7rem;height:.7rem;margin-right:.35rem;display:inline-block}.dot-principal{background:var(--ink)}.dot-interest{background:var(--accent)}.disclaimer{margin:var(--space-4) 0 0;color:var(--muted);border-top:1px solid var(--line);padding-top:var(--space-3);font-size:.85rem}.schedule{margin-top:var(--space-6)}.schedule-head{justify-content:space-between;align-items:baseline;gap:var(--space-3);flex-wrap:wrap;display:flex}.schedule-head h2{margin:0}.toggle{border:1px solid var(--line-strong);border-radius:var(--radius);display:inline-flex;overflow:hidden}.toggle button{font:inherit;background:var(--surface);color:var(--ink);padding:var(--space-2) var(--space-4);cursor:pointer;border:0;font-size:.9rem}.toggle button[aria-pressed=true]{background:var(--ink);color:var(--paper)}.table-wrap{margin-top:var(--space-4);border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);max-height:28rem;overflow:auto}.table-wrap th,.table-wrap td{padding:var(--space-2) var(--space-3);text-align:right;border-bottom:1px solid var(--line);white-space:nowrap}.table-wrap thead th{background:var(--paper);text-transform:uppercase;letter-spacing:.04em;font-size:.85rem;position:sticky;top:0}.table-wrap tbody th{color:var(--muted);font-weight:500}
