/* Salary Hike Calculator: the SAMPLE picture, the phone answer strip and the bars that fill in once. Tokens only, so
   light mode works. Shared classes (.t-lad, .t-flow-bar, .t-mini, .t-stage) stay in tools.css. */

/* The SAMPLE picture: the five readings in one compact grid, then the stacked raise bar and its key. */
.sh-lad { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 52px; align-items: center; gap: 7px 10px; font-size: .78rem; color: var(--text-mid); }
.sh-lad i { height: 7px; border-radius: 4px; background: linear-gradient(90deg, var(--gold-text) var(--w), var(--border-hi) var(--w)); }
.sh-lad i.is-key { background: linear-gradient(90deg, var(--green-text) var(--w), var(--border-hi) var(--w)); }
.sh-lad b { font-family: "JetBrains Mono", monospace; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; color: var(--text); }
.sh-stack { display: flex; height: 12px; border-radius: 6px; overflow: hidden; background: var(--border-hi); }
.sh-stack i { display: block; height: 100%; min-width: 2px; }
.sh-stack .is-bank { background: var(--green-text); }
.sh-stack .is-grat { background: #8A7CF0; }
.sh-stack .is-tax { background: var(--red-text); }
.sh-key { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .74rem; color: var(--text-mid); }
.sh-key span { display: inline-flex; align-items: center; gap: 5px; }
.sh-key span::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--gold-text); }
.sh-key .is-bank::before { background: var(--green-text); }
.sh-key .is-grat::before { background: #8A7CF0; }
.sh-key .is-tax::before { background: var(--red-text); }
.t-stage .v2-overlap > div b { font-size: .84rem; line-height: 1.3; color: var(--text); }
.t-stage .v2-overlap > div span { font-size: .76rem; line-height: 1.4; color: var(--text-mid); }
.t-stage .v2-overlap .sh-card-ok { color: var(--green-text); font-family: "JetBrains Mono", monospace; }

/* The ladder and the where-it-goes bar fill in once, the first time they are on screen (set in salary-hike.js). The
   fill is a clip, so it runs on the same gradient and widths as before. Without the js-grow class nothing is hidden. */
.js-grow .t-lad i, .js-grow .t-flow-bar { transition: clip-path .9s var(--ease-out, ease-out); transition-delay: var(--d, 0s); }
.js-grow:not(.is-in) .t-lad i, .js-grow:not(.is-in) .t-flow-bar { clip-path: inset(0 100% 0 0); }
.js-grow.is-in .t-lad i, .js-grow.is-in .t-flow-bar { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) { .js-grow .t-lad i, .js-grow .t-flow-bar { transition: none; } }
