:root{--bg:#f7f8fa;--surface:#fff;--text:#1b1f24;--muted:#5b6470;--border:#d9dde3;--accent:#1f6f5c;--accent-contrast:#fff;--accent-soft:#e3f1ec;--error:#b42318;--highlight:#fff6db;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;line-height:1.5}@media (prefers-color-scheme:dark){:root{--bg:#111418;--surface:#1a1e24;--text:#e7eaee;--muted:#a0a8b3;--border:#2e343c;--accent:#5fc4a5;--accent-contrast:#0c1512;--accent-soft:#1d2f29;--error:#ff8a80;--highlight:#33301f;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);margin:0}a{color:var(--accent)}.site-header,.site-footer,main{max-width:1100px;margin:0 auto;padding:16px}.site-header{flex-wrap:wrap;align-items:baseline;gap:8px 24px;display:flex}.site-header .brand{color:var(--text);font-size:1.15rem;font-weight:700;text-decoration:none}.site-header nav{flex-wrap:wrap;gap:16px;display:flex}h1{margin:8px 0 4px;font-size:clamp(1.6rem,4vw,2.2rem)}.lede{color:var(--muted);max-width:70ch;margin:0 0 20px}.calculator{grid-template-columns:minmax(260px,340px) 1fr;align-items:start;gap:24px;display:grid}@media (width<=800px){.calculator{grid-template-columns:1fr}}.notice{background:var(--highlight);border:1px solid var(--border);border-radius:8px;grid-column:1/-1;justify-content:space-between;align-items:center;gap:12px;padding:10px 14px;display:flex}.inputs,.summary,.schedule{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:16px}.field{margin-bottom:12px}.field label,.extra-editor label{margin-bottom:4px;font-size:.9rem;font-weight:600;display:block}.field-input{border:1px solid var(--border);background:var(--bg);border-radius:8px;align-items:center;display:flex;overflow:hidden}.field-input:focus-within{outline:2px solid var(--accent);outline-offset:1px}.field-input input{min-width:0;color:inherit;font:inherit;background:0 0;border:0;flex:1;padding:8px 10px;font-size:1rem}.field-input input:focus{outline:none}.field-input input[aria-invalid=true]{background:color-mix(in srgb, var(--error) 8%, transparent)}.affix{color:var(--muted);white-space:nowrap;padding:0 10px}select{width:100%;font:inherit;border:1px solid var(--border);background:var(--bg);color:inherit;border-radius:8px;padding:8px 10px;font-size:1rem}.field-error{color:var(--error);margin:4px 0 0;font-size:.85rem}.field-hint{color:var(--muted);margin:4px 0 0;font-size:.85rem}.chips{border:0;flex-wrap:wrap;gap:6px;min-width:0;margin:-4px 0 12px;padding:0;display:flex}button{font:inherit;cursor:pointer;border:1px solid var(--accent);background:var(--accent);color:var(--accent-contrast);border-radius:8px;padding:8px 14px}button:disabled{opacity:.5;cursor:default}button.secondary{color:var(--accent);background:0 0}.chip{color:var(--text);border-color:var(--border);background:0 0;min-height:32px;padding:4px 10px;font-size:.85rem}.chip.active{background:var(--accent-soft);border-color:var(--accent)}.link-button{color:var(--accent);background:0 0;border:0;padding:4px;text-decoration:underline}.section{border-top:1px solid var(--border);margin-top:8px;padding-top:8px}.section summary{cursor:pointer;margin-bottom:6px;padding:6px 0;font-weight:600}.one-offs{margin:8px 0;padding:0;list-style:none}.one-offs li{justify-content:space-between;align-items:center;display:flex}.results{grid-template-columns:minmax(0,1fr);gap:16px;min-width:0;display:grid}.placeholder{color:var(--muted)}.headline{flex-direction:column;margin-bottom:12px;display:flex}.headline-label{color:var(--muted)}.headline-value{font-variant-numeric:tabular-nums;font-size:clamp(2rem,6vw,2.8rem);font-weight:700}.headline-detail{color:var(--muted);font-size:.9rem}.stats{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px;margin:0;display:grid}.stat{background:var(--bg);border-radius:8px;padding:10px 12px}.stat dt{color:var(--muted);font-size:.85rem}.stat dd{font-variant-numeric:tabular-nums;margin:2px 0 0;font-weight:600}.stat.emphasis{background:var(--highlight)}.savings{background:var(--accent-soft);border-radius:8px;margin:12px 0 0;padding:10px 12px}.share-row{flex-wrap:wrap;align-items:center;gap:8px 12px;display:flex}.schedule-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.schedule h2{margin:0;font-size:1.2rem}.schedule .chips{margin:0}.table-wrap{border:1px solid var(--border);border-radius:8px;max-height:70vh;margin-top:12px;position:relative;overflow:auto}table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:.9rem}th,td{text-align:right;white-space:nowrap;border-bottom:1px solid var(--border);padding:6px 10px}thead th{background:var(--surface);z-index:1;position:sticky;top:0}tbody th{font-weight:500}tr.has-extra{background:var(--highlight)}.edit-row td{text-align:left;background:var(--accent-soft)}.extra-editor{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.extra-editor label{margin:0}.extra-editor input{font:inherit;border:1px solid var(--border);background:var(--surface);width:10em;color:inherit;border-radius:6px;padding:6px 8px}.content{max-width:75ch;margin-top:40px}.content h2{margin-top:32px;font-size:1.35rem}.content .formula{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:10px 14px;font-family:ui-monospace,Cascadia Code,Consolas,monospace;overflow-x:auto}.site-footer{color:var(--muted);border-top:1px solid var(--border);margin-top:40px;font-size:.85rem}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}
