/* Salary Sacrifice Calculator: page additions on top of /css/visual-tools.css */
[hidden] { display: none !important; }
.ss-check { display: flex; gap: 8px; align-items: flex-start; font-size: .82rem; line-height: 1.4; color: var(--calc-ink); }
.ss-check input { width: 18px; height: 18px; margin-top: 1px; flex: none; accent-color: var(--calc-green); }
.ss-cost { color: var(--calc-amber); }
.ss-split { display: flex; height: 14px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.12); }
.ss-split div { height: 100%; transition: width .25s ease; }
.ss-you { background: #94a3b8; }
.ss-tax { background: #34d399; }
.ss-ni  { background: #38bdf8; }
.ss-er  { background: #f59e0b; }
.ss-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; font-size: .72rem; color: #cbd5e1; }
.ss-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }
.ss-legend b { color: #fff; font-variant-numeric: tabular-nums; }
.ss-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.ss-lead { font-size: .92rem; line-height: 1.55; color: var(--calc-ink); margin: 6px 0 12px; }
.ss-ladder { position: relative; display: flex; height: 40px; border-radius: 10px; overflow: hidden; background: var(--calc-soft); }
.ss-ladder .seg { height: 100%; display: flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 800; color: #fff; white-space: nowrap; overflow: hidden; border-right: 2px solid #fff; }
.ss-ladder .seg:last-of-type { border-right: 0; }
.ss-ladder .marker { position: absolute; top: -2px; bottom: -2px; width: 3px; background: var(--calc-navy); border-radius: 2px; transform: translateX(-1px); }
.ss-ladder-scale { display: flex; justify-content: space-between; font-size: .65rem; color: var(--calc-muted); margin-top: 4px; }
.ss-steps { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; }
.ss-steps li { display: flex; justify-content: space-between; gap: 10px; font-size: .84rem; color: var(--calc-ink); padding: 8px 10px; background: #fff; border: 1px solid var(--calc-line); border-radius: 10px; }
.ss-steps li b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ss-steps li.on { border-color: var(--calc-navy); box-shadow: inset 3px 0 0 var(--calc-navy); }
.ss-note { font-size: .82rem; line-height: 1.5; color: var(--calc-ink); background: var(--calc-soft); border-radius: 10px; padding: 10px 12px; margin: 12px 0 0; }
.ss-note a { color: #0369a1; text-decoration: underline; font-weight: 600; }
.ss-warn { background: #fff7ed; color: #9a3412; }
