/* Progressive overload: the progress screen of one lift (views/lift-progress.js, the map views/lift-chart.js) and the
   quick lift log (views/lift-log.js), after pilot C of docs/mockups/overload/. Colours come from the tokens in
   style.css only. The map is drawn left to right in both languages (weight up, reps across); its texts are isolated. */
.lift-screen .head{display:flex;flex-direction:column;gap:6px}
.lift-exs{display:flex;gap:6px;overflow-x:auto;padding-block-end:2px}
.lift-exs .chip{flex:none}
.lift-exs .chip.on{background:var(--a-soft);color:var(--a);border-color:transparent}
.lift-hero{background:linear-gradient(160deg,var(--a-soft),var(--surface));border:0;padding:12px 12px 10px}
.trn .lift-hero{gap:8px}
.lift-hero .means{margin:0 2px;font-size:.8rem;color:var(--ink2)}
.lift-hero .means b{color:var(--ink)}
.lift-viz{display:flex;justify-content:center;direction:ltr;touch-action:pan-y;overflow:hidden}
.lift-viz svg{display:block;max-width:100%;height:auto;overflow:visible}
.lift-viz svg text{font-family:var(--sans)}
/* the player: play / pause, the week scrubber, the week's name */
.lift-player{display:flex;align-items:center;gap:10px;margin:0 2px}
.lift-play{flex:none;width:48px;height:48px;border-radius:50%;border:0;background:var(--a);color:var(--surface);font-size:.95rem;font-weight:800;cursor:pointer;display:grid;place-items:center}
.lift-scrub{flex:1;min-width:0;accent-color:var(--a);direction:ltr;min-height:48px}
.lift-wk{flex:none;min-width:84px;text-align:end;font-size:.76rem;font-weight:800;color:var(--ink2)}
.lift-wk small{display:block;font-weight:700;color:var(--mut);font-size:.68rem}
.lift-wk .dl{color:var(--d)}
/* the three axes as tiles: the week in view and its change since week 1 */
.lift-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.lift-tile{background:var(--surface);border:1px solid var(--line);border-radius:var(--rm);padding:8px 10px;min-width:0}
.lift-tile p{margin:0}
.lift-tile .tk{font-size:.68rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--mut)}
[lang=he] .lift-tile .tk{letter-spacing:0;font-size:.76rem}
.lift-tile .tv .num{font-size:1.45rem;font-weight:600;letter-spacing:-.02em;font-family:var(--serif)}
.lift-tile .tv small{font-weight:700;color:var(--mut);font-size:.7rem;margin-inline-start:3px}
.lift-tile .td{font-size:.74rem;font-weight:800}
.lift-screen .up{color:var(--c)}
.lift-screen .dn{color:var(--red)}
.lift-screen .flat{color:var(--mut)}
.lift-kpis{display:flex;gap:8px;flex-wrap:wrap}
.lift-kpis:empty{display:none}
.lift-kpis .pill{cursor:default}
.lift-kpis .pill b{color:var(--ink)}
.lift-kpis .pill.c{background:var(--c-soft);color:var(--c);border-color:transparent}
/* Next to beat (pilot D's line) */
.trn .lift-next{background:var(--a-soft);border:0;gap:4px;padding:10px 14px}
.lift-next p{margin:0;font-size:.9rem;color:var(--ink)}
.lift-next b{color:var(--a)}
.lift-next small{color:var(--ink2);font-size:.76rem}
/* the quick lift log: three steppers, +2.5 kg and Same as last, Save */
.lift-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.lift-step{display:flex;flex-direction:column;align-items:center;gap:4px;background:var(--surface2);border-radius:var(--rm);padding:8px 4px}
.lift-step small{font-size:.68rem;font-weight:800;color:var(--mut);text-transform:uppercase;letter-spacing:.05em}
[lang=he] .lift-step small{letter-spacing:0;font-size:.76rem}
.lift-step > span{display:flex;align-items:center;justify-content:space-between;width:100%;gap:0}
.lift-pm{flex:none;width:30px;min-width:0;height:44px;padding:0;border:0;border-radius:12px;background:var(--surface);color:var(--a);font:800 1.1rem var(--sans);cursor:pointer}
.lift-n{flex:1;width:0;min-width:0;border:0;background:transparent;color:var(--ink);text-align:center;font:800 1.15rem var(--sans);padding:0}
.lift-n:focus-visible{outline:2px solid var(--focus);border-radius:8px}
.lift-btns{display:flex;gap:8px;flex-wrap:wrap}
.lift-btns .btn{flex:1;min-height:48px}
