/* Savings calculator (savings-ui.js, 2026-10-12): the full calculator on /savings (.sv-full).
 * 2026-10-12: the home page's compact widget (.sv-mini) is gone; the nav links "Savings Calculator" here. Zinc tokens from styles.css; light only like the rest of the site. */
.sv { display: grid; gap: 10px; margin: 0; font-size: 13px; }
.sv[hidden] { display: none; }
.sv label { display: grid; gap: 4px; color: var(--muted-foreground); font-size: 12px; }
.sv input, .sv select {
  height: 32px; padding: 0 10px; border: 1px solid var(--border); border-radius: 6px; background: var(--background);
  font: 500 13px/1 var(--font); color: var(--foreground); font-variant-numeric: tabular-nums; min-width: 0;
}
.sv input[type="range"] { height: 20px; padding: 0; border: 0; accent-color: var(--primary); }
.sv input:focus-visible, .sv select:focus-visible { outline: 2px solid var(--foreground); outline-offset: 1px; }
.sv-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 10px; align-items: end; }
.sv-verdict { margin: 0; font-weight: 500; color: var(--foreground); }
.sv-link { color: var(--foreground); text-underline-offset: 3px; }

/* ---------- /savings ---------- */
.sv-full .sv-out { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 4px 0 0; padding-top: 12px; border-top: 1px solid var(--border); }
.sv-full .sv-out div { display: grid; gap: 2px; }
.sv-full .sv-out dt { font-size: 12px; color: var(--muted-foreground); }
.sv-full .sv-out dd { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.sv-full[data-saves="no"] .sv-out .sv-save dd { color: var(--muted-foreground); }
.sv-mac { display: flex; justify-content: space-between; }
.sv-note { margin: 0; font-size: 11px; line-height: 1.5; color: var(--muted-foreground); }
.sv-note a { color: inherit; }
