/* r13-workout.css — release 13, Lane L1a: the set view, the steppers, the rest bar, the set timer, the workout bar, the path list and the gauge.
   Rules start with :root[data-look='new'] and use the --r13-* tokens of r13-base.css (light, dark, the palettes, right to left by
   logical properties). Loaded after r13-base.css and before look.css. Nothing here is fixed over the page: the rest bar sits in the
   flow of the dock (owner rule 2, "rest never takes over the screen"). */

/* ── the workout bar ── */
:root[data-look='new'] .r13-wbar{display:flex;flex-direction:column;gap:8px;padding:8px 10px;border-radius:var(--r13-card-radius);background:var(--r13-surface);box-shadow:var(--sh1);min-width:0}
:root[data-look='new'] .r13-wbar-row{display:flex;align-items:center;gap:10px;min-width:0}
:root[data-look='new'] .r13-wbar-title{flex:1;min-width:0;min-height:44px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;padding:0 4px;border:0;background:none;color:var(--r13-ink);text-align:start;cursor:pointer}
:root[data-look='new'] .r13-wbar-name{display:flex;align-items:center;gap:4px;font-size:16px;font-weight:700;min-width:0}
:root[data-look='new'] .r13-wbar-name svg{flex:none;color:var(--r13-muted)}
:root[data-look='new'] .r13-wbar-sub{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:13px;color:var(--r13-muted)}
:root[data-look='new'] .r13-wbar-clock{font-variant-numeric:tabular-nums;direction:ltr;unicode-bidi:isolate}
:root[data-look='new'] .r13-wbar-clock.is-near{color:var(--r13-warn-ink, var(--r13-ink));font-weight:700}
:root[data-look='new'] .r13-wbar-sub .awake-mark{display:inline-flex;align-items:center;gap:3px;font-size:13px}
:root[data-look='new'] .r13-wbar-finish{flex:none;min-height:44px}
:root[data-look='new'] .r13-wbar-finish.is-armed{box-shadow:0 0 0 2px var(--r13-min)}
:root[data-look='new'] .r13-wbar-paused{margin:0;font-size:14px;color:var(--r13-muted)}
:root[data-look='new'] .r13-wbar-menu{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding-top:8px;border-top:1px solid var(--r13-line)}
:root[data-look='new'] .r13-wbar-what{flex:1 1 100%;margin:0;font-size:14px}
:root[data-look='new'] .r13-wbar .whoop-chip{margin:0;font-size:13px}
:root[data-look='new'] .r13-live{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ── the gauge ── */
:root[data-look='new'] .r13-seg{display:inline-flex;padding:3px;border-radius:999px;background:var(--r13-sunk)}
:root[data-look='new'] .r13-seg-b{min-height:44px;padding:0 14px;border:0;border-radius:999px;background:none;color:var(--r13-ink);font-size:14px}
:root[data-look='new'] .r13-seg-b.is-on{background:var(--r13-surface);box-shadow:var(--sh1);font-weight:700}

/* ── the exercise head and its tools ── */
:root[data-look='new'] .r13-exhead{display:flex;flex-direction:column;gap:8px;min-width:0}
:root[data-look='new'] .r13-exhead-top{display:flex;align-items:flex-start;gap:12px;min-width:0}
:root[data-look='new'] .r13-exhead-top img{width:56px;height:56px;border-radius:14px;object-fit:cover;flex:none}
:root[data-look='new'] .r13-exhead-words{flex:1;min-width:0}
:root[data-look='new'] .r13-exname{margin:0;font-size:20px;line-height:1.15;overflow-wrap:anywhere}
:root[data-look='new'] .r13-exmuscles,:root[data-look='new'] .r13-explan{margin:2px 0 0;font-size:13px;color:var(--r13-muted)}
:root[data-look='new'] .r13-why{margin:0;font-size:14px}
:root[data-look='new'] .r13-tools{display:flex;justify-content:space-between;gap:6px;flex-wrap:wrap}
:root[data-look='new'] .r13-tool{display:inline-flex;flex-direction:column;align-items:center;gap:4px}
:root[data-look='new'] .r13-tool .icon-caption{color:var(--r13-muted);font:500 13px/1.2 var(--lawha-font)}
:root[data-look='new'] .r13-more-box{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px;border-radius:14px;background:var(--r13-sunk)}
:root[data-look='new'] .r13-remove.is-armed{box-shadow:0 0 0 2px var(--r13-min)}
:root[data-look='new'] .r13-swaps{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}
:root[data-look='new'] .r13-offers{display:flex;flex-wrap:wrap;gap:6px}
:root[data-look='new'] .r13-swapped{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--r13-muted)}

/* ── the set card, the chips, the steppers ── (every stepper rule is scoped to the set card: r13-steps.css's warm-up steppers
   use the same class names, and its column layout stood the − above the number and the + under it, walk 13 H1) */
:root[data-look='new'] .r13-set-now{display:flex;flex-direction:column;gap:8px}
:root[data-look='new'] .r13-set-now.has-before{padding-top:10px;border-top:1px solid var(--r13-line)}
:root[data-look='new'] .r13-set-head{display:flex;align-items:baseline;gap:8px}
:root[data-look='new'] .r13-set-title{margin:0;font:400 26px/1.1 var(--lawha-display, Georgia, serif)}
:root[data-look='new'] .r13-set-aim{margin-inline-start:auto;font-size:13px;color:var(--r13-muted)}
:root[data-look='new'] .r13-step-pm{flex:none;background:var(--r13-surface);box-shadow:var(--sh1)}
:root[data-look='new'] .r13-step-val{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:2px}
:root[data-look='new'] .r13-step-num{display:flex;align-items:baseline;justify-content:center;gap:4px;direction:ltr}
:root[data-look='new'] .r13-step-box{width:5.5ch;max-width:100%;min-height:44px;padding:0;border:0;border-radius:10px;background:transparent;color:var(--r13-ink);font:var(--r13-big-number);text-align:center}
:root[data-look='new'] .r13-step-box:focus{background:var(--r13-surface);outline:2px solid var(--r13-accent)}
:root[data-look='new'] .r13-step-box.is-checking{outline:2px solid var(--r13-low)}
:root[data-look='new'] .r13-step-unit{font-style:normal;font-size:15px;color:var(--r13-muted)}
:root[data-look='new'] .r13-step-last{font-size:13px;min-height:44px}
:root[data-look='new'] span.r13-step-last{display:inline-flex;align-items:center}
:root[data-look='new'] .r13-step-last.is-none{visibility:hidden}
:root[data-look='new'] span.r13-step-last{color:var(--r13-muted)}
:root[data-look='new'] .r13-plates{font-size:13px;color:var(--r13-ink)}
:root[data-look='new'] .r13-nobox,:root[data-look='new'] .r13-set-note{margin:0;font-size:13px;color:var(--r13-muted)}
:root[data-look='new'] .r13-set-note:empty{display:none}
:root[data-look='new'] .r13-set-foot{display:flex;justify-content:flex-end}
:root[data-look='new'] .r13-noplan{margin:0}

/* ── the dock: the small rest bar above ✓, the next line, ✓ ── */
:root[data-look='new'] .r13-log,:root[data-look='new'] .r13-go{display:flex;align-items:center;justify-content:center;gap:8px;min-height:56px;font-size:17px}
:root[data-look='new'] .r13-log-words{direction:ltr;unicode-bidi:plaintext}
:root[data-look='new'] .r13-next-phone{margin:0;font-size:13px;color:var(--r13-muted);text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100%}
/* the rest's own place: one height whether a rest runs or not, so the dock never grows on ✓ and never comes to cover the set */
:root[data-look='new'] .r13-restslot{min-height:64px;display:flex;align-items:center;justify-content:center;min-width:0}
:root[data-look='new'] .r13-rest-idle{margin:0;font-size:13px;color:var(--r13-muted);text-align:center}
:root[data-look='new'] .r13-before-first{display:flex;flex-direction:column;gap:8px}
:root[data-look='new'] .r13-warm-kept{visibility:hidden} /* release 15: the warm-up after its first working set — gone, its place kept (no jump on ✓) */
:root[data-look='new'] .r13-rest-hint{margin:0;font-size:13px;opacity:.8}

/* ── the set timer in the card ── */
:root[data-look='new'] .r13-timer{display:flex;flex-direction:column;align-items:stretch;gap:8px;text-align:center}

/* ── the path list ── */
:root[data-look='new'] .r13-pathlist{display:flex;flex-direction:column;gap:6px;padding:10px;border-radius:var(--r13-card-radius);background:var(--r13-surface);box-shadow:var(--sh1);min-width:0}

/* ── the website's right-column pieces ── */
:root[data-look='new'] .r13-last3,:root[data-look='new'] .r13-next{display:flex;flex-direction:column;gap:6px;padding:12px 16px}
:root[data-look='new'] .r13-last3 h2{margin:0;font-size:16px}
:root[data-look='new'] .r13-last3-list{margin:0;padding:0;list-style:none}
:root[data-look='new'] .r13-last3-list li{display:flex;justify-content:space-between;gap:8px;padding:6px 0;border-top:1px solid var(--r13-line);font-size:14px}
:root[data-look='new'] .r13-last3-day{color:var(--r13-muted)}
:root[data-look='new'] .r13-next p{margin:0;font-size:14px}

/* 320 px: the rest bar and its words on one row, the dock kept small */
@media (max-width:359px){
  :root[data-look='new'] .r13-rest-hint{display:none}
  /* the five tools on one row */
  :root[data-look='new'] .r13-tools{flex-wrap:nowrap;gap:2px}
  :root[data-look='new'] .r13-tools > *{flex:1 1 0;min-width:0}
}

/* the website shows every chip: the phone's two summary chips are not needed there */
:root[data-look='new'] .r13-set-foot{gap:8px}

/* the phone (390 and narrower, reviews of d7598a6): the set from its title down to the reps box fits between the bar and the dock —
   one short row of chips (the set before, the set now, the earlier and later sets summed up), kg and reps side by side, each
   number over its − and +, "last time" under them; the rest's place one fixed height */
@media (max-width:390px){
  :root[data-look='new'] .r13-set-now{gap:6px}
  :root[data-look='new'] .r13-set-title{font-size:22px}
  /* walk 13 H1, the blueprint's "One set on screen": each number is one row — − 12 kg + — with "last time" under the number, so
     the − and + sit level with the number and come into view with it */
  :root[data-look='new'] .r13-step-val{gap:0}
  :root[data-look='new'] .r13-step-num{flex-wrap:nowrap;column-gap:3px;min-width:0;max-width:100%}
  :root[data-look='new'] .r13-step-last{min-width:44px;min-height:44px;padding:0 6px;font-size:13px;line-height:1.15;text-align:center}
  :root[data-look='new'] span.r13-step-last{justify-content:center}
  :root[data-look='new'] .r13-step-box{width:5ch;max-width:100%;min-height:44px;font-size:32px}
  :root[data-look='new'] .r13-step-unit{font-size:13px}
  :root[data-look='new'] .r13-plates{margin:0}
  /* the plate line on the phone is one short row — "Each side: 10" and the small drawing beside it (walk 13 H1: the full
     panel pushed the place after ✓ under the dock); the bar's weight note stays on the website */
  :root[data-look='new'] .r13-restslot{height:56px;min-height:0}
  :root[data-look='new'] .r13-rest-hint{display:none}
  /* walk 13 L3: the rest's words wrap to a second line at a smaller size instead of being cut ("Rest done — Dumbbell sumo squat") */
  :root[data-look='new'] .r13-log,:root[data-look='new'] .r13-go{min-height:52px}
}

/* ── WALK 13 (release 13's walkthrough): the workout on the phone ──
   M3: the workout bar stays pinned at the top while he lifts (its header lets it reach the whole frame); its sub line keeps one
   line (the screen-on mark becomes its icon, its words kept for a screen reader), so the bar stays one short row. */
:root[data-look='new'] .r13-frame[data-layout='phone'][data-workout] > .r13-head{display:contents}
:root[data-look='new'] .r13-frame[data-layout='phone'][data-workout] .r13-wbar{position:sticky;top:env(safe-area-inset-top,0px);z-index:4;padding-block:6px}
:root[data-look='new'] .r13-frame[data-layout='phone'] .r13-wbar-sub{flex-wrap:nowrap;white-space:nowrap;min-width:0;overflow:hidden}
:root[data-look='new'] .r13-frame[data-layout='phone'] .r13-wbar-sub .awake-mark{min-height:0;padding:0;background:none;gap:0}
:root[data-look='new'] .r13-frame[data-layout='phone'] .r13-wbar-sub .awake-mark>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
:root[data-look='new'] .r13-frame[data-layout='phone'] .r13-wbar-sub .awake-mark svg{width:15px;height:15px}
:root[data-look='new'] .r13-wbar-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* L6: "Tap again to finish" keeps the bar one row (its words shrink instead of wrapping the title) */
:root[data-look='new'] .r13-wbar-finish{white-space:nowrap}
:root[data-look='new'] .r13-wbar-finish.is-armed{font-size:13px;padding-inline:10px}
/* the list opened from the bar: it starts under the pinned bar (the page scrolls to its top, lift.ts) */
:root[data-look='new'] .r13-frame[data-layout='phone'][data-workout] .r13-pathlist{scroll-margin-top:80px}

/* H1: the place after ✓ — "Set 2 saved · Undo", How did it feel?, and before the first set the offers and the swap list — is kept
   from the start on the phone, so the landing (lift.ts) brings it above the dock with the numbers and nothing moves after ✓ */
:root[data-look='new'] .r13-after{display:flex;flex-direction:column;gap:8px;min-width:0}
:root[data-look='new'] .r13-after:empty{display:none}
:root[data-look='new'] .r13-frame[data-layout='phone'] .r13-after,:root[data-look='new'] .r13-frame[data-layout='phone'] .r13-after:empty{display:flex;min-height:96px}

/* H4: the way on — "Next: …" in the rest's place is a button, and takes ✓'s place once the exercise is done */
:root[data-look='new'] .r13-next-link{display:block;width:100%;min-height:44px;padding:4px 8px;border:0;border-radius:14px;background:none;font:inherit;font-size:13px;color:var(--r13-muted);text-align:center;cursor:pointer;
  overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
:root[data-look='new'] .r13-next-link b{color:var(--r13-ink);text-decoration:none} /* lane MOVES-SWAP: the whole line is the button (no underlined link) */
:root[data-look='new'] .r13-next-link{background:var(--r13-sunk)}
:root[data-look='new'] .r13-go{display:flex;align-items:center;justify-content:center;gap:8px}
:root[data-look='new'] .r13-frame[data-layout='phone'][data-workout] > .r13-main{flex:1 0 auto}
:root[data-look='new'] .r13-go .r13-log-words{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0}

/* M6: the dock sits at the screen's foot. In a workout the tab bar steps aside, so the page keeps only the dock's own gap under
   it (it kept the hidden tab bar's 112 px, which left the dock floating with blank space under it at the page's end); with the
   tabs shown (⌄ › Show the tabs) the dock rests just above the tab bar (H2, f1501c0) and the page keeps that room */
@media (max-width:899px){
  :root[data-look='new'] #app:has(.screen-today .r13-frame[data-layout='phone'][data-workout]) .tab-content{padding-bottom:calc(12px + env(safe-area-inset-bottom))}
  :root[data-look='new'] #app:has(.tab-bar[data-tabs-shown]):has(.screen-today .r13-frame[data-layout='phone'][data-workout]) .tab-content{padding-bottom:calc(86px + env(safe-area-inset-bottom))}
  :root[data-look='new'] .r13-frame[data-layout='phone'][data-workout] .r13-dock{gap:6px;padding:8px 0 0;background:linear-gradient(to bottom,transparent,var(--r13-paper) 8px)}
}
/* M10: at 320 the workout dock stays under a quarter of the screen; the set's two numbers sit side by side there (each over its
   − and +), so the set from its title to the place after ✓ fits between the bar and the dock */
@media (max-width:359px){
  :root[data-look='new'] .r13-restslot{height:52px}
  :root[data-look='new'] .r13-log,:root[data-look='new'] .r13-go{min-height:48px;font-size:16px}
  :root[data-look='new'] .r13-step-val{display:contents}
  :root[data-look='new'] .r13-step-num{grid-area:num}
  :root[data-look='new'] .r13-step-last{grid-area:last;justify-self:stretch}
  :root[data-look='new'] .r13-step-box{font-size:28px}
  :root[data-look='new'] .r13-set-title{font-size:20px}
  :root[data-look='new'] .r13-wbar-finish{padding-inline:10px}
  /* one number only (a body-weight move): its row, − 12 reps +, as at 390 */
  :root[data-look='new'] .r13-next-still{display:none}
  /* the set's own gaps tighten so a barbell set (warm-up line, plates) keeps its place after ✓ above the dock */
  :root[data-look='new'] .r13-set-now{gap:3px}
  :root[data-look='new'] .r13-after{gap:4px}
  :root[data-look='new'] .r13-frame[data-layout='phone'] .r13-after,:root[data-look='new'] .r13-frame[data-layout='phone'] .r13-after:empty{min-height:92px}
}
/* L6: on Finishing touches the stop's own Finish is the one Finish: the bar's steps aside while it shows */
:root[data-look='new'] .r13-frame[data-stop='finish']:has(.r13-finish-go) .r13-wbar-finish{display:none}
/* L13: while a name is searched in the Add sheet, no group chip stays lit (the results are every group's) */
:root[data-look='new'] .add-sheet:has(.add-search:not(:placeholder-shown)) .add-chip[aria-pressed=true]{background:transparent;border-color:var(--kgym-edge);color:var(--lawha-ink)}

/* ── RELEASE 15 ENHANCED: THE ONE WORKOUT SCREEN (spec docs/superpowers/specs/2026-10-29-kgym-r15e-one-screen.md §2, pictures 1–3) ──
   The one list (rows in plan order, the open exercise in its row's place), the open table "# · Last time · kg · Reps · ✓" with
   its 40 px ✓ per row and the rest as a row under the set just done, the step timer that counts past the aim, This week and
   Short this week. Nothing here is fixed or floats over the page. */
:root[data-look='new'] .r15e-list{display:flex;flex-direction:column;gap:6px;padding:8px;border-radius:var(--r13-card-radius);background:var(--r13-surface);box-shadow:var(--sh1);min-width:0}
:root[data-look='new'] .r15e-rows{display:flex;flex-direction:column;gap:2px;margin:0;padding:0;list-style:none;min-width:0}
:root[data-look='new'] .r15e-row{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:6px;min-height:52px;padding:2px 4px;border-radius:14px;min-width:0}
:root[data-look='new'] .r15e-row.is-open{display:block;padding:0}
:root[data-look='new'] .r15e-row.is-done,:root[data-look='new'] .r15e-row.is-skipped{min-height:44px}
/* a done or skipped row stays readable (the gate's contrast check: opacity .66 put its words at 2.7-3.9 : 1, under 4.5): its words
   take the muted ink of the theme, at full opacity, in light and dark alike */
:root[data-look='new'] .r15e-row.is-done .r15e-name,:root[data-look='new'] .r15e-row.is-skipped .r15e-name,:root[data-look='new'] .r15e-row.is-done .r15e-detail,:root[data-look='new'] .r15e-row.is-skipped .r15e-detail{color:var(--r13-muted)}
:root[data-look='new'] .r15e-row.is-now{background:var(--r13-raised);outline:1.5px solid var(--r13-accent)}
:root[data-look='new'] .r15e-sep{height:1px;margin:4px 6px;background:var(--r13-line);list-style:none}
:root[data-look='new'] .r15e-handle{display:grid;place-items:center;width:32px;min-height:44px;padding:0;border:0;border-radius:10px;background:none;color:var(--r13-muted);font-size:17px;cursor:grab}
:root[data-look='new'] .r15e-handle.is-mark{cursor:default}
:root[data-look='new'] .r15e-handle[aria-expanded='true']{background:var(--r13-raised);color:var(--r13-ink)}
:root[data-look='new'] .r15e-name{display:flex;flex-direction:column;align-items:flex-start;gap:1px;min-width:0;min-height:44px;justify-content:center;padding:2px 2px;border:0;background:none;color:var(--r13-ink);font:inherit;text-align:start;cursor:pointer}
:root[data-look='new'] .r15e-name b{font-size:15px;line-height:1.25;overflow-wrap:anywhere}
:root[data-look='new'] .r15e-detail{font-size:13px;line-height:1.25;color:var(--r13-muted);overflow-wrap:anywhere}
:root[data-look='new'] .r15e-sets{display:inline-flex;align-items:center;gap:2px;padding:2px;border-radius:999px;background:var(--r13-sunk)}
:root[data-look='new'] .r15e-pm{display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:var(--r13-raised);color:var(--r13-ink);font:700 18px/1 var(--lawha-font, inherit);cursor:pointer}
:root[data-look='new'] .r15e-pm:disabled{opacity:.35;cursor:default}
:root[data-look='new'] .r15e-sets-n{min-width:18px;text-align:center;font-variant-numeric:tabular-nums}
/* release 16x (the owner, 2 Nov 2026: "TO CHANGE IT NEED A DOUBLE TAP"): the first tap arms − or + (accent colour; "3→4 · tap again"
 * in a label over the pill, so the pill keeps its size and the row never grows); a second tap within 2 s changes it. No double-tap zoom on these buttons. */
:root[data-look='new'] .r15e-row>.r15e-sets{position:relative}
:root[data-look='new'] .r15e-pm{touch-action:manipulation}
:root[data-look='new'] .r15e-pm.is-armed{background:var(--r13-accent);color:var(--r13-surface)}
:root[data-look='new'] .r15e-sets-to{font-weight:700}
:root[data-look='new'] .r15e-sets-hint{position:absolute;left:50%;bottom:calc(100% + 2px);transform:translateX(-50%);padding:1px 8px;border-radius:999px;background:var(--r13-accent);color:var(--r13-surface);font:600 11px/1.4 var(--lawha-font, inherit);white-space:nowrap;pointer-events:none;z-index:2}
:root[data-look='new'] .r15e-updown{display:inline-flex;gap:4px}
:root[data-look='new'] .r15e-updown .btn{min-width:44px;min-height:44px}
:root[data-look='new'] .r15e-skip{min-height:44px}
:root[data-look='new'] .r15e-pill{display:inline-block;padding:2px 9px;border-radius:999px;font-size:12px;background:var(--r13-sunk);color:var(--r13-muted);white-space:nowrap}
/* 'target reached': the warn pair itself (solid --r13-warn under --r13-warn-ink, as every warn card) — a 22% wash under the warn ink
   put the words at 1.1-1.25 : 1 in dark (the gate's contrast check) */
:root[data-look='new'] .r15e-pill.is-reached{background:var(--r13-warn);color:var(--r13-warn-ink);font-weight:700}
:root[data-look='new'] .r15e-list-foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:4px 4px 2px}
:root[data-look='new'] .r15e-list-foot .btn{min-height:44px}

/* the open exercise (picture 3) */
:root[data-look='new'] .r15e-open{display:flex;flex-direction:column;gap:8px;padding:10px;border-radius:16px;background:var(--r13-raised);outline:1.5px solid var(--r13-accent);min-width:0}
:root[data-look='new'] .r15e-open-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;min-width:0}
:root[data-look='new'] .r15e-open-name{flex:1;min-width:0}
:root[data-look='new'] .r15e-open-top > :first-child:not(.r15e-open-name){flex:none;width:52px;height:52px;border-radius:12px;overflow:hidden}
:root[data-look='new'] .r15e-open-top > :first-child:not(.r15e-open-name) img{width:100%;height:100%;object-fit:cover}
:root[data-look='new'] .r15e-open-title{margin:0;font-size:17px;line-height:1.25;overflow-wrap:anywhere}
:root[data-look='new'] .r15e-open-sub{margin:2px 0 0;font-size:13px;color:var(--r13-muted)}
:root[data-look='new'] .r15e-open-top > :last-child:not(.r15e-open-name){flex:none}
:root[data-look='new'] .r15e-tools{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:0}
:root[data-look='new'] .r15e-tools .btn,:root[data-look='new'] .r15e-tools .segmented button{min-height:44px}
:root[data-look='new'] .r15e-open .r15e-sets{display:flex;flex-direction:column;gap:6px;padding:0;border-radius:0;background:none}
:root[data-look='new'] .r15e-set{display:grid;grid-template-columns:20px minmax(0,1fr) 64px 52px 40px;gap:6px;align-items:center;min-width:0}
:root[data-look='new'] .r15e-sets.no-weight .r15e-set{grid-template-columns:20px minmax(0,1fr) 0 64px 40px}
:root[data-look='new'] .r15e-set.is-head{font-size:12px;color:var(--r13-muted)}
:root[data-look='new'] .r15e-c{text-align:center}
:root[data-look='new'] .r15e-no{font-weight:700;text-align:center;font-variant-numeric:tabular-nums}
:root[data-look='new'] .r15e-last{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:13px;color:var(--r13-muted);text-align:start;padding:0;border:0;background:none;font-family:inherit}
:root[data-look='new'] .r15e-last.is-fill{min-height:44px;min-width:44px;padding:0 10px;border-radius:999px;background:var(--r13-sunk);text-decoration:none;cursor:pointer} /* lane MOVES-SWAP: a soft button, not a dotted link */
:root[data-look='new'] .r15e-box{width:100%;min-width:0;min-height:44px;box-sizing:border-box;padding:4px 2px;border:1.5px solid var(--r13-line);border-radius:10px;background:var(--r13-paper);color:var(--r13-ink);font:600 16px/1.2 var(--lawha-font, inherit);text-align:center;font-variant-numeric:tabular-nums}
:root[data-look='new'] .r15e-v{text-align:center;color:var(--r13-muted);font-variant-numeric:tabular-nums}
:root[data-look='new'] .r15e-tick{display:grid;place-items:center;width:40px;height:40px;padding:0;border:2px solid var(--r13-line);border-radius:50%;background:var(--r13-paper);color:var(--r13-muted);cursor:pointer}
:root[data-look='new'] .r15e-set.is-next .r15e-tick{border-color:var(--r13-accent);color:var(--r13-accent)}
:root[data-look='new'] .r15e-tick.is-done{border-color:var(--r13-met);background:var(--r13-met);color:#fff}
:root[data-look='new'] .r15e-tick:disabled{opacity:.45;cursor:default}
:root[data-look='new'] .r15e-set.is-armed .r15e-last{color:var(--r13-ink);font-weight:700}
:root[data-look='new'] .r15e-rest{min-width:0}
/* the rest bar as a row of the table: in the flow, one line, never fixed (#23) */
:root[data-look='new'] .r15e-rest .rest-bar.r15e-restbar{position:static;inset:auto;max-width:none;margin:0;display:flex;align-items:center;gap:8px;border-radius:14px;padding:6px 8px;background:var(--r13-rest-bg);color:var(--r13-rest-ink);box-shadow:none}
:root[data-look='new'] .r15e-restbar .rest-line{flex:1;min-width:0;display:flex;align-items:center;gap:8px}
/* release 16 LIVEFIX2 (bug 1, the owner: "See time"): the ring's box and its circle are ONE size — a 36 px circle in the classic 48 px box
   sat off-centre from its time, whose digits ran over the stroke. 44 px, the time small in even-width figures, so "10:00" (the
   longest rest, REST_TOTAL_MAX_SECONDS) fits inside the circle */
:root[data-look='new'] .r15e-restbar .rest-ring{width:44px;height:44px}
:root[data-look='new'] .r15e-restbar .rest-ring svg{width:44px;height:44px}
:root[data-look='new'] .r15e-restbar .rest-ring .rest-time{font-size:12px;font-weight:700;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:-.02em}
:root[data-look='new'] .r15e-restbar .rest-ring-fill{stroke:var(--r13-rest-ring)}
:root[data-look='new'] .r15e-restbar .rest-words{margin:0;font-weight:700;font-size:14px}
:root[data-look='new'] .r15e-restbar .rest-actions{display:flex;gap:4px}
:root[data-look='new'] .r15e-restbar .rest-button{min-width:44px;min-height:44px;border:0;border-radius:999px;background:color-mix(in srgb,var(--r13-rest-ink) 16%,transparent);color:var(--r13-rest-ink);font-size:14px}
:root[data-look='new'] .r15e-restbar .rest-skip{background:var(--r13-rest-ink);color:var(--r13-rest-bg)}
:root[data-look='new'] .r15e-rest .rest-tone,:root[data-look='new'] .r15e-rest .rest-progress{display:none}
:root[data-look='new'] .r15e-open-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}
:root[data-look='new'] .r15e-open-foot .btn,:root[data-look='new'] .r15e-feel button{min-height:44px}
:root[data-look='new'] .r15e-open .set-check,:root[data-look='new'] .r15e-open .r13-before-first{margin:0}
:root[data-look='new'] .r15e-open .form-note:empty{display:none}
@media (max-width:359px){
  :root[data-look='new'] .r15e-set{grid-template-columns:16px minmax(0,1fr) 54px 46px 40px;gap:4px}
  :root[data-look='new'] .r15e-sets.no-weight .r15e-set{grid-template-columns:16px minmax(0,1fr) 0 56px 40px}
  :root[data-look='new'] .r15e-open{padding:8px}
  :root[data-look='new'] .r15e-row{grid-template-columns:28px minmax(0,1fr) auto}
  :root[data-look='new'] .r15e-pm{width:36px;height:36px}
}

/* the step timer (picture 2): counts past the aim */
:root[data-look='new'] .r15e-timer{display:flex;flex-direction:column;gap:8px;padding:10px;border-radius:16px;background:var(--r13-raised);outline:1.5px solid var(--r13-accent);min-width:0}
:root[data-look='new'] .r15e-timer-top,:root[data-look='new'] .r15e-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
:root[data-look='new'] .r15e-timer-clock{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
:root[data-look='new'] .r15e-timer-time{font:var(--r13-big-number);font-size:40px;font-variant-numeric:tabular-nums}
:root[data-look='new'] .r15e-timer-aim{font-size:14px;color:var(--r13-muted)}
:root[data-look='new'] .r15e-timer-bar{position:relative;height:8px;border-radius:9px;background:var(--r13-sunk);overflow:visible}
:root[data-look='new'] .r15e-timer-fill{display:block;height:100%;border-radius:9px;background:var(--r13-accent)}
:root[data-look='new'] .r15e-timer-mark{position:absolute;top:-3px;bottom:-3px;width:2px;background:var(--r13-warn, #c98a2b)}
:root[data-look='new'] .r15e-timer-note{margin:0;font-size:13px;color:var(--r13-muted)}
:root[data-look='new'] .r15e-timer-acts{display:flex;flex-wrap:wrap;gap:8px}
:root[data-look='new'] .r15e-timer-acts .btn{min-height:44px}

/* This week and Short this week */
:root[data-look='new'] .r15e-week,:root[data-look='new'] .r15e-short{display:flex;flex-direction:column;gap:8px;padding:12px;border-radius:var(--r13-card-radius);background:var(--r13-surface);box-shadow:var(--sh1);min-width:0}
:root[data-look='new'] .r15e-muted{margin:0;font-size:13px;color:var(--r13-muted)}
:root[data-look='new'] .r15e-mus{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;align-items:center;font-size:14px}
:root[data-look='new'] .r15e-mus-num{font-size:13px;color:var(--r13-muted);font-variant-numeric:tabular-nums}
:root[data-look='new'] .r15e-mbar{grid-column:1 / -1;position:relative;height:6px;border-radius:9px;background:var(--r13-sunk);overflow:hidden}
:root[data-look='new'] .r15e-mbar-done{position:absolute;inset-block:0;inset-inline-start:0;background:var(--r13-met)}
:root[data-look='new'] .r15e-mbar-adds{position:absolute;inset-block:0;background:var(--r13-warn, #c98a2b);opacity:.85;text-decoration:none}
:root[data-look='new'] .r15e-short-add{min-height:44px}
:root[data-look='new'] .r15e-week-toggle{min-height:44px;align-self:flex-start}

/* THE TOP BAR (#23, the owner's iPhone: it overlapped the WHOOP line and the Video / Steps row): ONE line — pause · the clock
   "21:54" over "of 48 min" · Finish — opaque, its own fixed height, in the flow of the page (it takes its own room and is pinned
   inside the frame), so nothing ever runs under it; the menu opens BELOW the line, in the flow, and pushes the page down. */
:root[data-look='new'] .r13-frame[data-workout] .r13-wbar{display:flex;flex-direction:column;gap:6px;background:var(--r13-surface);opacity:1}
:root[data-look='new'] .r13-frame[data-workout] .r13-wbar-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;block-size:52px;min-block-size:52px;max-block-size:52px;overflow:hidden}
:root[data-look='new'] .r13-frame[data-workout] .r13-wbar-title{align-items:center;text-align:center;min-height:44px}
:root[data-look='new'] .r13-frame[data-workout] .r13-wbar-name{justify-content:center;font-size:18px;line-height:1.1}
:root[data-look='new'] .r13-frame[data-workout] .r13-wbar-clock{display:flex;flex-direction:column;align-items:center;line-height:1.1}
:root[data-look='new'] .r13-frame[data-workout] .r13-wbar-time{font-weight:700;font-size:18px}
:root[data-look='new'] .r13-frame[data-workout] .r13-wbar-cap{font-weight:400;font-size:12px;color:var(--r13-muted)}
:root[data-look='new'] .r13-frame[data-workout] .r13-wbar-sub:empty{display:none}
:root[data-look='new'] .r13-frame[data-workout] .r13-wbar-row .whoop-chip{display:none}
/* the shell's glass title line no longer pins over the phone's workout: the bar is the one line at the top */
@media (max-width:899px){
  :root[data-look='new'] .screen-today:has(.r13-frame[data-layout='phone'][data-workout]) .title-line,
  :root[data-look='new'] .tab-content:has(.r13-frame[data-layout='phone'][data-workout]) .title-line{position:static;background:var(--r13-paper);-webkit-backdrop-filter:none;backdrop-filter:none}
}
/* RELEASE 16 LIVEFIX #3: the warm-up moves / end stretches row open under itself — every move with its picture, dose, steps, ▶ video */
:root[data-look='new'] .r15e-row.is-moves{display:block;padding:4px 4px 8px}
:root[data-look='new'] .r16-moves{display:flex;flex-direction:column;gap:8px;padding:8px;border-radius:14px;background:var(--r13-sunk);min-width:0}
:root[data-look='new'] .r16-move-list{display:flex;flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;min-width:0}
:root[data-look='new'] .r16-move{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:52px;min-width:0}
:root[data-look='new'] .r16-move .move-thumb,:root[data-look='new'] .r16-move .move-preview,:root[data-look='new'] .r16-move-plain{width:44px;height:44px;border-radius:10px;object-fit:cover;overflow:hidden}
:root[data-look='new'] .r16-move-plain{display:grid;place-items:center;background:var(--r13-surface);color:var(--r13-muted);font-weight:700}
:root[data-look='new'] .r16-move-words{display:flex;flex-direction:column;gap:2px;min-width:0}
:root[data-look='new'] .r16-move-name{font-size:14px;overflow-wrap:anywhere}
:root[data-look='new'] .r16-move-dose{font-size:13px;color:var(--r13-ink, inherit);font-variant-numeric:tabular-nums}
:root[data-look='new'] .r16-move-steps{margin:2px 0 0;padding-inline-start:18px;font-size:13px;line-height:1.4;color:var(--r13-ink,inherit);overflow-wrap:anywhere} /* LIVEFIX2: every step in full */
/* lane MOVES-SWAP (Task B): each move's "Works: …" line and own ⇄; the list's coverage line against today's trained muscles */
:root[data-look='new'] .r16-move.has-swap{grid-template-columns:44px minmax(0,1fr) auto auto}
/* GATE (rehearsal 3b/5c, website): in a narrow column (the website's left list, about 200 px) the words had no room and broke one letter
   per line; there the row stacks — the picture and the words on top, the ▶ video and ⇄ under the words */
:root[data-look='new'] .r16-moves{container-type:inline-size}
@container (max-width: 320px){:root[data-look='new'] .r16-move,:root[data-look='new'] .r16-move.has-swap{grid-template-columns:44px minmax(0,1fr)}
  :root[data-look='new'] .r16-move > :nth-child(n+3){grid-column:2;justify-self:start}}
:root[data-look='new'] .r16-move-works{font-size:12.5px;color:var(--r13-muted)}
:root[data-look='new'] .r16-move-swap{display:grid;place-items:center;width:44px;height:44px;min-width:44px;padding:0;border:2px solid var(--r13-accent, var(--lawha-accent));border-radius:50%;background:var(--r13-surface);color:var(--r13-accent, var(--lawha-accent));cursor:pointer}
:root[data-look='new'] .r16-moves-covers{margin:0;font-size:13px;font-weight:600;color:var(--r13-ink)}
:root[data-look='new'] .r16-moves-covers.is-missed{color:color-mix(in srgb,var(--r13-low) 60%,var(--r13-ink))}
:root[data-look='new'] .r16-moves-edit{align-self:flex-start;min-height:44px}
/* release 16 LIVEFIX2 (bugs 5 and 6): each move's ▶ Start and ✓ Done (44 px), its hold and time while it runs, a done move's ✓; a tap
   on the name opens the full steps and a bigger picture (the move's row then stacks: picture on top, full width) */
:root[data-look='new'] button.r16-move-pic{display:block;min-width:44px;min-height:44px;margin:0;padding:0;border:0;background:none;cursor:zoom-in;border-radius:10px} /* LIVEFIX2 card 5: the picture enlarges on a tap */
:root[data-look='new'] button.r16-move-pic[aria-pressed='true']{cursor:zoom-out;grid-column:1 / -1}
:root[data-look='new'] .r16-move-run{display:flex;flex-direction:column;gap:4px;margin-block-start:4px;min-width:0}
:root[data-look='new'] .r16-move-hold{margin:0;font-size:13px;font-weight:700;font-variant-numeric:tabular-nums}
:root[data-look='new'] .r16-move-acts{display:flex;flex-wrap:wrap;gap:6px}
:root[data-look='new'] .r16-move-acts .btn{min-height:44px}
:root[data-look='new'] .r16-move.is-running{outline:1.5px solid var(--r13-accent);outline-offset:4px;border-radius:12px}
:root[data-look='new'] .r16-move.is-done .r16-move-name{color:var(--r13-met)}
:root[data-look='new'] .r16-move.is-more{grid-template-columns:minmax(0,1fr) auto;align-items:start}
:root[data-look='new'] .r16-move.is-more > :first-child{grid-column:1 / -1;width:100%;height:auto;max-width:360px}
:root[data-look='new'] .r16-move.is-more > .r16-move-pic > *{width:100%;height:auto;max-width:360px}
:root[data-look='new'] .r16-move.is-more > :first-child .video-preview-crop{width:100%;height:auto}
:root[data-look='new'] .r16-move.is-more img.move-thumb{width:100%;height:auto;aspect-ratio:4 / 3}
:root[data-look='new'] .r16-move > .move-preview{height:auto;overflow:visible} /* LIVEFIX2: its "from the video" under the 44 px picture, never cut */
:root[data-look='new'] .r16-move > .move-preview .video-preview-crop{width:44px;height:44px;border-radius:10px}
:root[data-look='new'] .r16-next-moves{display:block;min-height:44px;padding:8px 0;text-align:start;font-weight:600}
/* release 16 LIVEFIX2 (the owner, 31 Oct): the move on to the next exercise, impossible to miss — a full-width banner on top of the new
   card: "✓ Leg press done", then "Next: Seated cable row" big with its picture, and Go (44 px); theme colours, logical sides */
:root[data-look='new'] .r16-next-banner{display:flex;flex-direction:column;gap:6px;margin:-2px -2px 4px;padding:12px;border-radius:14px;background:var(--r13-accent);color:var(--r13-paper);min-width:0}
:root[data-look='new'] .r16-next-done{margin:0;font-size:14px;font-weight:700;opacity:.9}
:root[data-look='new'] .r16-next-row{display:flex;align-items:center;gap:10px;min-width:0}
:root[data-look='new'] .r16-next-pic{flex:none;width:52px;height:52px;border-radius:12px;overflow:hidden;background:var(--r13-paper)}
:root[data-look='new'] .r16-next-pic img{width:100%;height:100%;object-fit:cover;display:block}
:root[data-look='new'] .r16-next-pic .video-preview,:root[data-look='new'] .r16-next-pic .video-preview-crop{width:52px;height:52px}
:root[data-look='new'] .r16-next-to{flex:1;min-width:0;margin:0;font-size:20px;line-height:1.2;overflow-wrap:anywhere}
:root[data-look='new'] .r16-next-k{font-weight:600}
:root[data-look='new'] .r16-next-banner .r16-next-go{flex:none;min-height:44px;min-width:64px;background:var(--r13-paper);color:var(--r13-ink);border:0}
/* release 16 LIVEFIX2: − Set beside ＋ Set (the same soft small buttons, 44 px) */
:root[data-look='new'] .r15e-setpm{display:inline-flex;gap:6px}
:root[data-look='new'] .r15e-setpm .btn{min-height:44px}
/* release 16 LIVEFIX2 (the rehearsal's web 3b): in the website's narrow left column a move's words keep their width — the ▶ video goes
   under them (it squeezed the words to one letter a line) */
:root[data-look='new'] .r13-frame[data-layout='web'] .r13w-live-side .r16-move{grid-template-columns:44px minmax(0,1fr)}
:root[data-look='new'] .r13-frame[data-layout='web'] .r13w-live-side .r16-move > :last-child:not(.r16-move-words){grid-column:2;justify-self:start}
/* lane WARM-UP UNIT (the owner, 2 Nov 2026: "Warm up shall start as a unit ... continue till i said stop with check mark ... for each
   individually"; the same for the end stretches): ONE ▶ Start for the list, ONE clock to ■ Stop, a big round ✓ per move (48 px, a real
   button, never link text); "✓ All done · Stop" lights up green once every move is ticked; after Stop a move says "not done" */
:root[data-look='new'] .r16-moves-start{min-height:48px}
/* a ticking move: picture · words · ✓ on the first line (the ✓ always at the end, in reach); its ▶ video and ⇄ under the words */
:root[data-look='new'] .r16-move.has-tick{grid-template-columns:44px minmax(0,1fr) 48px;align-items:start}
:root[data-look='new'] .r16-move.has-tick > .r16-move-tick{grid-column:3;grid-row:1;align-self:start}
:root[data-look='new'] .r16-move.has-tick > :not(:first-child):not(.r16-move-words):not(.r16-move-tick){grid-column:2;justify-self:start}
:root[data-look='new'] .r16-move.has-tick.is-more{grid-template-columns:minmax(0,1fr) 48px}
:root[data-look='new'] .r16-move.has-tick.is-more > .r16-move-tick{grid-column:2;grid-row:2}
:root[data-look='new'] .r16-move.has-tick.is-more > :not(:first-child):not(.r16-move-tick){grid-column:1}
/* the website's narrow left column: the ✓ under the picture, so the words keep the column's width */
:root[data-look='new'] .r13-frame[data-layout='web'] .r13w-live-side .r16-move.has-tick{grid-template-columns:48px minmax(0,1fr)}
:root[data-look='new'] .r13-frame[data-layout='web'] .r13w-live-side .r16-move.has-tick > .r16-move-words{grid-column:2;grid-row:1 / span 3}
:root[data-look='new'] .r16-move-tick{display:grid;place-items:center;width:48px;height:48px;min-width:48px;padding:0;border:2.5px solid var(--r13-muted);border-radius:50%;background:var(--r13-surface);color:var(--r13-muted);font-size:24px;font-weight:800;line-height:1;cursor:pointer;touch-action:manipulation}
:root[data-look='new'] .r16-move-tick[aria-pressed='true']{border-color:var(--r13-met);background:var(--r13-met);color:var(--r13-paper)}
:root[data-look='new'] .r16-move-tick:focus-visible{outline:3px solid var(--r13-accent);outline-offset:2px}
:root[data-look='new'] .r16-move-guide{color:var(--r13-muted)}
:root[data-look='new'] .r16-move-notdone{font-size:12.5px;font-weight:700;color:var(--r13-muted)}
:root[data-look='new'] .r16-move.is-skipped .r16-move-name{color:var(--r13-muted)}
:root[data-look='new'] .r16-moves-clock{font-size:32px;line-height:1.1;font-variant-numeric:tabular-nums}
:root[data-look='new'] .r16-moves-stop{min-height:48px;min-width:120px}
:root[data-look='new'] .r16-moves-stop.is-all{background:var(--r13-met);border-color:var(--r13-met);color:var(--r13-paper);box-shadow:0 0 0 3px color-mix(in srgb,var(--r13-met) 35%,transparent)}
:root[data-look='new'] .r16-moves-timer.is-all{outline-color:var(--r13-met)}
:root[data-look='new'] .r16-moves > .r16-moves-timer{background:var(--r13-surface)}
:root[data-look='new'] .r13-frame[data-layout='web'] .r13w-live-side .r16-move.has-tick > .r16-move-tick{grid-column:1;grid-row:2;justify-self:start}
/* lane WARM-UP UNIT, FOLD (the owner, 2 Nov 2026: "THE DETAILS SHALL BE FOLDABLE", then 15:53: "just a click and open click and close
   without a button"): the move's info is a plain block — a real button underneath with NO button or link look (no border, no fill, no
   underline, the text's own colour), 44 px at least; a quiet ▾ / ▴ after the name; the details (other name, steps, ▶ video) under it */
:root[data-look='new'] button.r16-move-info{display:flex;flex-direction:column;gap:2px;width:100%;min-width:0;min-height:44px;margin:0;padding:2px 0;border:0;border-radius:8px;background:none;color:inherit;font:inherit;text-align:start;text-decoration:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
:root[data-look='new'] button.r16-move-info:focus-visible{outline:3px solid var(--r13-accent);outline-offset:2px}
:root[data-look='new'] .r16-move-title{display:block;min-width:0}
:root[data-look='new'] .r16-move-arrow{font-size:12px;color:var(--r13-muted);white-space:nowrap}
:root[data-look='new'] .r16-move-more{cursor:pointer}
:root[data-look='new'] .r16-move-more{display:flex;flex-direction:column;gap:4px;min-width:0}
:root[data-look='new'] .r16-move-more[hidden]{display:none}
:root[data-look='new'] .r13-cue{margin:6px 0 0}
