@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/bvp-400-vietnamese.woff2) format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/bvp-400-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/bvp-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/bvp-500-vietnamese.woff2) format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/bvp-500-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/bvp-500-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/bvp-600-vietnamese.woff2) format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/bvp-600-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/bvp-600-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/bvp-700-vietnamese.woff2) format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/bvp-700-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/bvp-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Big Shoulders Display';font-style:normal;font-weight:600 900;font-display:swap;src:url(../fonts/bsd-600-900-vietnamese.woff2) format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face{font-family:'Big Shoulders Display';font-style:normal;font-weight:600 900;font-display:swap;src:url(../fonts/bsd-600-900-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Big Shoulders Display';font-style:normal;font-weight:600 900;font-display:swap;src:url(../fonts/bsd-600-900-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* Forma — design system
   Chalk page, iron ink, one strip of floor-tape yellow for the primary action.
   Bumper-plate colours carry meaning: green/yellow/blue/red = beginner → advanced (lighter → heavier plates),
   red = primary muscles, blue = secondary muscles. Display: Big Shoulders Display. Body: Be Vietnam Pro. */
:root {
  --chalk: #eff1ee;
  --paper: #f8f9f7;
  --card: #ffffff;
  --ink: #16191d;
  --ink-2: #4c545c;
  --ink-3: #737c85;
  --line: #d6dbd7;
  --line-2: #e4e8e5;
  --tape: #ffd23f;
  --tape-ink: #16191d;
  --tape-soft: #fff4c7;
  --red: #e4412f;
  --blue: #2e6be6;
  --green: #1fa463;
  --plate-white: #e9ecee;
  --stage-top: #f1f3f2;
  --stage-bot: #d3d9d5;
  --shadow: 0 1px 2px rgb(22 25 29 / 6%), 0 8px 24px -12px rgb(22 25 29 / 18%);
  --radius: 14px;
  --radius-s: 9px;
  --display: 'Big Shoulders Display', 'Arial Narrow', 'Helvetica Neue', system-ui, sans-serif;
  --body: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 160ms;
  --t-base: 320ms;
  --wrap: 1180px;
  --gut: clamp(16px, 4vw, 32px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --chalk: #111316; --paper: #16191d; --card: #1b1f23; --ink: #eef1ee; --ink-2: #b2bac1; --ink-3: #8a939b;
    --line: #2b3137; --line-2: #22272c; --tape-soft: #3a3214; --plate-white: #3a4047; --stage-top: #1f2429; --stage-bot: #111417;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 10px 30px -12px rgb(0 0 0 / 60%); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --chalk: #111316; --paper: #16191d; --card: #1b1f23; --ink: #eef1ee; --ink-2: #b2bac1; --ink-3: #8a939b;
  --line: #2b3137; --line-2: #22272c; --tape-soft: #3a3214; --plate-white: #3a4047; --stage-top: #1f2429; --stage-bot: #111417;
  --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 10px 30px -12px rgb(0 0 0 / 60%); color-scheme: dark;
}
/* scripts the Latin faces do not cover */
:lang(hi) { --body: 'Noto Sans Devanagari', 'Nirmala UI', 'Mangal', system-ui, sans-serif; --display: 'Noto Sans Devanagari', 'Nirmala UI', system-ui, sans-serif; }
:lang(ar) { --body: 'Noto Sans Arabic', 'Segoe UI', Tahoma, system-ui, sans-serif; --display: 'Noto Kufi Arabic', 'Noto Sans Arabic', 'Segoe UI', Tahoma, sans-serif; }
:lang(he) { --body: 'Noto Sans Hebrew', 'Segoe UI', Arial, system-ui, sans-serif; --display: 'Noto Sans Hebrew', 'Segoe UI', Arial, sans-serif; }
:lang(zh) { --body: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', system-ui, sans-serif; --display: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif; }
:lang(ja) { --body: 'Hiragino Sans', 'Yu Gothic UI', 'Meiryo', 'Noto Sans JP', system-ui, sans-serif; --display: 'Hiragino Sans', 'Yu Gothic UI', 'Noto Sans JP', sans-serif; }
:lang(ko) { --body: 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', system-ui, sans-serif; --display: 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif; }
:is(:lang(hi), :lang(ar), :lang(he), :lang(zh), :lang(ja), :lang(ko)) :is(h1, h2, h3, .display) { line-height: 1.3; letter-spacing: 0; text-transform: none; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--chalk); color: var(--ink); font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-color: color-mix(in srgb, var(--tape) 85%, var(--ink)); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--tape); color: var(--tape-ink); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 99; background: var(--ink); color: var(--chalk); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2 * var(--gut), 760px); margin-inline: auto; }

/* ---------- type ---------- */
h1, h2, h3, h4 { margin: 0 0 0.4em; line-height: 1.08; letter-spacing: -0.005em; }
h1, h2, .display { font-family: var(--display); font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 0.95; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1; }
h3 { font-size: 1.16rem; font-weight: 700; line-height: 1.3; }
h1 em, h2 em { font-style: normal; background: linear-gradient(transparent 58%, var(--tape) 58%, var(--tape) 92%, transparent 92%); padding-inline: 0.06em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
p { margin: 0 0 1em; }
.eyebrow { font: 700 0.76rem/1.2 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 0.6rem; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.26rem); color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--ink-3); }
small, .small { font-size: 0.86rem; }
.num { font-family: var(--display); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: 0; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--chalk) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.7rem/1 var(--display); letter-spacing: 0.01em; }
.brand svg { width: 30px; height: 30px; }
.brand small { font: 600 0.7rem/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); display: block; margin-top: 3px; }
.nav { display: flex; gap: 4px; margin-inline-start: 8px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 8px 12px; border-radius: 999px; color: var(--ink-2); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--line-2); }
.top-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); cursor: pointer; }
.icon-btn svg { width: 20px; height: 20px; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); cursor: pointer; font-weight: 600; font-size: 0.9rem; }
.lang-btn svg { width: 18px; height: 18px; }
.menu-btn { display: none; }
@media (max-width: 920px) {
  .nav { display: none; position: absolute; inset: 64px 0 auto 0; flex-direction: column; background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px var(--gut) 18px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 1.05rem; }
  .menu-btn { display: inline-grid; }
  .top-actions .btn { display: none; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font-weight: 700; font-size: 0.98rem; text-decoration: none; cursor: pointer; transition: transform var(--t-fast) var(--ease), background var(--t-fast); }
.btn:hover { background: var(--line-2); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }
.btn-go { background: var(--tape); border-color: var(--tape); color: var(--tape-ink); box-shadow: inset 0 -3px 0 rgb(0 0 0 / 12%); }
.btn-go:hover { background: color-mix(in srgb, var(--tape) 86%, #000); }
.btn-ink { background: var(--ink); color: var(--chalk); }
.btn-ink:hover { background: color-mix(in srgb, var(--ink) 85%, var(--blue)); }
.btn-s { min-height: 36px; padding: 0 14px; font-size: 0.88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* ---------- chips, plates, tags ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 0.86rem; font-weight: 600; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
a.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.on { background: var(--ink); color: var(--chalk); border-color: var(--ink); }
.plate { --c: var(--green); display: inline-block; width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle, #fff 0 22%, var(--c) 24% 100%); box-shadow: inset 0 0 0 2px rgb(0 0 0 / 10%); flex: none; }
.plate.l1 { --c: var(--green); } .plate.l2 { --c: var(--tape); } .plate.l3 { --c: var(--red); }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.dot.p { background: var(--red); } .dot.s { background: var(--blue); }

/* ---------- breadcrumbs ---------- */
.crumbs { font-size: 0.86rem; color: var(--ink-3); margin: 18px 0 10px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: '/'; margin-inline-end: 6px; opacity: 0.5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- hero ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(20px, 3vw, 36px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 { margin-bottom: 0.3em; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 20px 28px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.hero-facts div { display: grid; gap: 2px; }
.hero-facts b { font: 800 1.9rem/1 var(--display); }
.hero-facts span { font-size: 0.84rem; color: var(--ink-3); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---------- the stage (3D coach) ---------- */
.stage { position: relative; border-radius: calc(var(--radius) + 6px); background: radial-gradient(120% 90% at 50% 10%, var(--stage-top), var(--stage-bot)); overflow: hidden; box-shadow: var(--shadow); isolation: isolate; }
.stage-view { position: relative; aspect-ratio: 4 / 3.3; min-height: 300px; }
.stage-view.wide { aspect-ratio: 16 / 9; }
@media (max-width: 700px) { .stage-view { min-height: 0; } .stage-view.wide { aspect-ratio: 4 / 4.2; } }
.stage-view canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; touch-action: pan-y; cursor: grab; }
.stage-view canvas.dragging { cursor: grabbing; }
.stage-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity 400ms var(--ease); }
.stage.live .stage-poster { opacity: 0; visibility: hidden; transition: opacity 400ms var(--ease), visibility 0s 400ms; pointer-events: none; }
.stage-title { position: absolute; left: 16px; top: 14px; right: 16px; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; pointer-events: none; }
.stage-name { font: 800 clamp(1.3rem, 2.6vw, 1.9rem)/1 var(--display); text-transform: uppercase; letter-spacing: 0.01em; max-width: 70%; }
.stage-legend { display: flex; gap: 10px; font-size: 0.76rem; font-weight: 600; color: var(--ink-2); background: color-mix(in srgb, var(--card) 80%, transparent); padding: 5px 10px; border-radius: 999px; }
.stage-legend span { display: inline-flex; align-items: center; gap: 5px; }
.stage-tools { position: absolute; right: 10px; bottom: 10px; z-index: 3; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; max-width: calc(100% - 20px); }
.stage-tools button, .stage-tools select { height: 36px; min-width: 36px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); background: color-mix(in srgb, var(--card) 88%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: 0.82rem; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.stage-tools button[aria-pressed="true"] { background: var(--ink); color: var(--chalk); border-color: var(--ink); }
.stage-tools svg { width: 16px; height: 16px; }
.stage-hint { position: absolute; left: 16px; bottom: 16px; z-index: 2; font-size: 0.76rem; color: var(--ink-3); pointer-events: none; }
@media (max-width: 560px) { .stage-hint { display: none; } .stage-tools { left: 10px; justify-content: flex-start; } }
.btag { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 6px; font-size: 0.74rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); pointer-events: none; white-space: nowrap; }

/* ---------- tempo line (signature) ---------- */
.tempo { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px; padding: 14px 16px 16px; background: var(--card); border-top: 1px solid var(--line); }
.rep-count { display: grid; justify-items: center; min-width: 64px; }
.rep-count b { font: 800 2.6rem/0.9 var(--display); font-variant-numeric: tabular-nums; }
.rep-count span { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.tempo-track { position: relative; display: flex; height: 38px; border-radius: 8px; overflow: hidden; background: var(--line-2); }
.tempo-seg { position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; border-inline-end: 2px solid var(--card); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; overflow: hidden; }
.tempo-seg:last-child { border-inline-end: 0; }
.tempo-seg.move { background: color-mix(in srgb, var(--ink) 9%, var(--line-2)); }
.tempo-seg.work { background: color-mix(in srgb, var(--tape) 55%, var(--line-2)); color: var(--tape-ink); }
.tempo-seg.hold { background: repeating-linear-gradient(135deg, var(--line-2) 0 6px, color-mix(in srgb, var(--ink) 6%, var(--line-2)) 6px 12px); }
.tempo-seg .br { opacity: 0.7; font-weight: 600; margin-inline-start: 6px; text-transform: none; letter-spacing: 0; }
.tempo-head { position: absolute; top: -3px; bottom: -3px; width: 3px; border-radius: 3px; background: var(--ink); left: 0; transform: translateX(-1px); box-shadow: 0 0 0 2px var(--card); }
.tempo-meta { grid-column: 2; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-size: 0.78rem; color: var(--ink-3); margin-top: -6px; }
.tempo-meta b { color: var(--ink); font-weight: 700; }
[dir="rtl"] .tempo-head { transform: translateX(1px); }

/* ---------- sections ---------- */
section { padding: clamp(28px, 5vw, 64px) 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 22px; flex-wrap: wrap; }
.sec-head p { margin: 0; max-width: 60ch; color: var(--ink-2); }
.band { background: var(--paper); border-block: 1px solid var(--line); }
.ink-band { background: var(--ink); color: var(--chalk); }
.ink-band .muted, .ink-band .lead { color: color-mix(in srgb, var(--chalk) 70%, transparent); }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }

/* ---------- cards ---------- */
.card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-fast); }
a.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--ink) 30%, var(--line)); }
.card-img { aspect-ratio: 1 / 0.82; background: radial-gradient(120% 90% at 50% 10%, var(--stage-top), var(--stage-bot)); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
a.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 14px 16px 16px; display: grid; gap: 6px; flex: 1; align-content: start; }
.card-body h3 { margin: 0; font-size: 1.05rem; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 0.8rem; color: var(--ink-3); }
.card-meta .plate { width: 13px; height: 13px; }
.card-row { display: grid; grid-template-columns: 92px 1fr; gap: 0; }
.card-row .card-img { aspect-ratio: auto; height: 100%; min-height: 92px; }

/* plan cards */
.plan { padding: 18px; gap: 10px; }
.plan h3 { font-size: 1.2rem; margin: 0; }
.plan .days { display: flex; gap: 4px; margin-top: 4px; }
.plan .days i { width: 22px; height: 8px; border-radius: 3px; background: var(--line-2); }
.plan .days i.on { background: var(--ink); }
.plan-stats { display: flex; gap: 16px; font-size: 0.82rem; color: var(--ink-3); }
.plan-stats b { color: var(--ink); font: 800 1.3rem/1 var(--display); display: block; }

/* ---------- exercise page ---------- */
.ex-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.ex-top .lead { margin-bottom: 0.4em; }
.facts { display: grid; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fact { display: grid; grid-template-columns: 116px 1fr; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); font-size: 0.92rem; }
.fact:last-child { border-bottom: 0; }
.fact dt { color: var(--ink-3); font-weight: 600; }
.fact dd { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.fact dd a { font-weight: 600; }
.dose-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.dose-table th, .dose-table td { text-align: start; padding: 8px 10px; border-bottom: 1px solid var(--line-2); }
.dose-table th { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 900px) { .ex-top { grid-template-columns: 1fr; } }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 12px 14px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--chalk); font: 800 1.05rem/1 var(--display); }
.stills { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.still { margin: 0; background: radial-gradient(120% 90% at 50% 10%, var(--stage-top), var(--stage-bot)); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.still img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.still figcaption { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 12px; background: var(--card); border-top: 1px solid var(--line); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); align-items: start; }
@media (max-width: 820px) { .two { grid-template-columns: 1fr; } }
.cues { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.cues li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: var(--radius-s); background: var(--tape-soft); font-weight: 600; }
.cues li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; }
.mistakes { display: grid; gap: 10px; }
.mistake { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; background: var(--card); font-size: 0.93rem; }
.mistake div { padding: 10px 12px; display: flex; gap: 8px; align-items: flex-start; }
.mistake div:first-child { background: color-mix(in srgb, var(--red) 8%, var(--card)); }
.mistake b { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; display: block; color: var(--ink-3); }
@media (max-width: 520px) { .mistake { grid-template-columns: 1fr; } }
.ladder { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ladder > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 14px 16px; }
.ladder b { display: block; font: 800 1.2rem/1.1 var(--display); text-transform: uppercase; margin-bottom: 4px; }
@media (max-width: 520px) { .ladder { grid-template-columns: 1fr; } }

/* ---------- article (long-form) ---------- */
.article { font-size: 1.06rem; }
.article h2 { margin-top: 1.6em; font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.article h3 { margin-top: 1.4em; }
.article ul, .article ol { padding-inline-start: 1.3em; }
.article li { margin: 0.3em 0; }
.article table { width: 100%; border-collapse: collapse; font-size: 0.94rem; background: var(--card); }
.article th, .article td { border: 1px solid var(--line); padding: 8px 10px; text-align: start; vertical-align: top; }
.article th { background: var(--line-2); font-weight: 700; }
.table-scroll { overflow-x: auto; margin: 1em 0; border-radius: var(--radius-s); }
.note, .good, .warn { padding: 12px 16px; border-radius: var(--radius-s); border-inline-start: 4px solid var(--blue); background: color-mix(in srgb, var(--blue) 7%, var(--card)); }
.good { border-color: var(--green); background: color-mix(in srgb, var(--green) 8%, var(--card)); }
.warn { border-color: var(--red); background: color-mix(in srgb, var(--red) 7%, var(--card)); }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; font-size: 0.93rem; }
.toc ol { margin: 6px 0 0; padding-inline-start: 1.2em; columns: 2 240px; column-gap: 28px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.layout aside { position: sticky; top: 84px; display: grid; gap: 14px; }
@media (max-width: 980px) { .layout { grid-template-columns: 1fr; } .layout aside { position: static; } }
.side-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.side-card h3 { font-size: 1rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 0 16px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 28px 14px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; inset-inline-end: 0; top: 10px; font: 800 1.5rem/1 var(--display); }
.faq details[open] summary::after { content: '–'; }
.faq details > div { padding-bottom: 14px; color: var(--ink-2); }

/* ---------- filters & library ---------- */
.filters { display: grid; gap: 12px; padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 18px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-row > span { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); min-width: 88px; }
.filter-row button { min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-size: 0.85rem; font-weight: 600; color: var(--ink-2); }
.filter-row button[aria-pressed="true"] { background: var(--ink); color: var(--chalk); border-color: var(--ink); }
.search { position: relative; }
.search input { width: 100%; height: 48px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); padding: 0 18px 0 44px; font-size: 1rem; }
.search svg { position: absolute; left: 16px; top: 14px; width: 20px; height: 20px; color: var(--ink-3); }
[dir="rtl"] .search input { padding: 0 44px 0 18px; }
[dir="rtl"] .search svg { left: auto; right: 16px; }
.count-line { font-size: 0.9rem; color: var(--ink-3); margin: 0 0 12px; }
.empty { padding: 30px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--ink-2); }

/* ---------- where-you-train switch (home) ---------- */
.where { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.where a { display: grid; gap: 6px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); text-decoration: none; transition: border-color var(--t-fast), transform var(--t-base) var(--ease); }
.where a:hover { border-color: var(--ink); transform: translateY(-2px); }
.where b { font: 800 1.7rem/1 var(--display); text-transform: uppercase; }
.where span { color: var(--ink-3); font-size: 0.9rem; }
@media (max-width: 720px) { .where { grid-template-columns: 1fr; } }
.steps-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: f; }
.steps-flow li { list-style: none; counter-increment: f; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.steps-flow li::before { content: counter(f); display: block; font: 800 2.6rem/1 var(--display); color: var(--ink); -webkit-text-stroke: 0; margin-bottom: 8px; }
.steps-flow { padding: 0; margin: 0; }
@media (max-width: 860px) { .steps-flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps-flow { grid-template-columns: 1fr; } }
.langs { display: flex; flex-wrap: wrap; gap: 8px; }
.langs a { padding: 8px 14px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--chalk) 25%, transparent); text-decoration: none; font-weight: 600; }
.langs a:hover { background: color-mix(in srgb, var(--chalk) 12%, transparent); }

/* ---------- program page ---------- */
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.week div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 10px 8px; min-height: 76px; display: grid; align-content: space-between; gap: 6px; }
.week div.rest { background: transparent; border-style: dashed; color: var(--ink-3); }
.week b { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.week span { font-weight: 700; font-size: 0.86rem; line-height: 1.25; }
@media (max-width: 700px) { .week { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.session { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.session-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.session-head h3 { margin: 0; }
.session table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.session td, .session th { padding: 10px 12px; border-bottom: 1px solid var(--line-2); text-align: start; }
.session th { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.session tr:last-child td { border-bottom: 0; }
.session td a { font-weight: 600; }
.session .thumb { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--line-2); }

/* ---------- forms & tools ---------- */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(16px, 3vw, 26px); }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label, .field > span { font-weight: 700; font-size: 0.9rem; }
.field input, .field select { height: 46px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); padding: 0 12px; font-size: 1rem; width: 100%; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-weight: 600; font-size: 0.9rem; cursor: pointer; }
.seg input:checked + span { background: var(--ink); color: var(--chalk); border-color: var(--ink); }
.seg input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.result { display: grid; gap: 4px; padding: 18px; border-radius: var(--radius); background: var(--ink); color: var(--chalk); }
.result b { font: 800 clamp(2.4rem, 6vw, 3.6rem)/1 var(--display); }
.result span { color: color-mix(in srgb, var(--chalk) 70%, transparent); }
.plates-viz { display: flex; align-items: center; justify-content: center; gap: 3px; min-height: 180px; padding: 16px; background: var(--paper); border-radius: var(--radius); overflow-x: auto; }
.plates-viz .bar { height: 14px; width: 60px; background: linear-gradient(#cfd4d9, #9aa1a8); border-radius: 3px; flex: none; }
.plates-viz .pl { border-radius: 4px; flex: none; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 15%); display: grid; place-items: center; font: 800 0.8rem/1 var(--display); color: #fff; writing-mode: vertical-rl; }
.timer-face { display: grid; place-items: center; gap: 4px; padding: 24px; border-radius: var(--radius); background: var(--ink); color: var(--chalk); text-align: center; }
.timer-face b { font: 800 clamp(4rem, 16vw, 8rem)/0.9 var(--display); font-variant-numeric: tabular-nums; }
.timer-face.work { background: var(--tape); color: var(--tape-ink); }

/* ---------- guided player (overlay) ---------- */
.player { position: fixed; inset: 0; z-index: 80; background: var(--chalk); display: grid; grid-template-rows: auto 1fr auto; }
.player[hidden] { display: none; }
.player-top { display: flex; align-items: center; gap: 12px; padding: 10px var(--gut); border-bottom: 1px solid var(--line); background: var(--paper); }
.player-top .grow { flex: 1; min-width: 0; }
.player-top h2 { font-size: clamp(1.3rem, 3vw, 1.9rem); margin: 0; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-top p { margin: 0; font-size: 0.84rem; color: var(--ink-3); }
.player-main { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 340px; min-height: 0; }
.player-stage { position: relative; min-height: 0; background: radial-gradient(120% 90% at 50% 10%, var(--stage-top), var(--stage-bot)); }
.player-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.player-side { border-inline-start: 1px solid var(--line); background: var(--paper); overflow-y: auto; padding: 16px; display: grid; align-content: start; gap: 14px; }
.big-count { display: grid; justify-items: center; gap: 2px; padding: 16px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.big-count b { font: 800 clamp(4rem, 10vw, 6.5rem)/0.85 var(--display); font-variant-numeric: tabular-nums; }
.big-count span { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.big-count.rest { background: var(--ink); color: var(--chalk); border-color: var(--ink); }
.big-count.rest span { color: color-mix(in srgb, var(--chalk) 65%, transparent); }
.big-count.go { background: var(--tape); color: var(--tape-ink); border-color: var(--tape); }
.caption { min-height: 3.2em; font-size: 1.08rem; font-weight: 600; padding: 12px 14px; border-radius: var(--radius-s); background: var(--tape-soft); }
.queue { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 0.9rem; }
.queue li { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 8px; background: var(--card); border: 1px solid var(--line-2); }
.queue li.now { border-color: var(--ink); font-weight: 700; }
.queue li.done { opacity: 0.5; text-decoration: line-through; }
.player-bar { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px var(--gut); border-top: 1px solid var(--line); background: var(--paper); flex-wrap: wrap; }
.player-bar .btn { min-width: 52px; }
.progress { position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--line-2); z-index: 3; }
.progress i { display: block; height: 100%; background: var(--ink); width: 0; transition: width 400ms var(--ease); }
.player .tempo { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; background: color-mix(in srgb, var(--card) 92%, transparent); }
@media (max-width: 900px) {
  .player-main { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .player-side { border-inline-start: 0; border-top: 1px solid var(--line); max-height: 38vh; grid-template-columns: 1fr 1fr; }
  .player-side .queue, .player-side .caption { grid-column: 1 / -1; }
  .big-count b { font-size: 3.6rem; }
}
.done-card { text-align: center; display: grid; gap: 10px; justify-items: center; padding: 24px; }
.done-stats { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.done-stats b { display: block; font: 800 2.2rem/1 var(--display); }

/* ---------- language dialog ---------- */
dialog { border: 0; border-radius: var(--radius); padding: 0; background: var(--paper); color: var(--ink); width: min(560px, calc(100% - 24px)); box-shadow: var(--shadow); }
dialog::backdrop { background: rgb(10 12 14 / 55%); backdrop-filter: blur(3px); }
.dlg-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.dlg-head h2 { font-size: 1.6rem; margin: 0; }
.dlg-body { padding: 16px 18px 20px; display: grid; gap: 14px; }
.lang-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.lang-grid a, .lang-grid button { display: flex; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); text-decoration: none; font-weight: 600; cursor: pointer; text-align: start; }
.lang-grid [aria-current="true"], .lang-grid [aria-pressed="true"] { background: var(--ink); color: var(--chalk); border-color: var(--ink); }
.lang-grid small { color: var(--ink-3); font-weight: 500; }
.lang-grid [aria-current="true"] small, .lang-grid [aria-pressed="true"] small { color: inherit; opacity: 0.7; }

/* ---------- footer ---------- */
.foot { margin-top: 40px; background: var(--ink); color: var(--chalk); padding: 48px 0 28px; font-size: 0.93rem; }
.foot a { text-decoration-color: color-mix(in srgb, var(--chalk) 35%, transparent); }
.foot-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 28px; }
.foot h3 { font: 800 1.2rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.foot .muted { color: color-mix(in srgb, var(--chalk) 62%, transparent); }
.foot .brand { color: var(--chalk); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 30px; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--chalk) 16%, transparent); font-size: 0.84rem; }
.sisters { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px 16px; }
.sisters a { text-decoration: none; }
.sisters a b { display: block; }
.sisters a span { color: color-mix(in srgb, var(--chalk) 58%, transparent); font-size: 0.8rem; }
.disclaimer { font-size: 0.84rem; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 24px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.tape-in em { background-size: 0% 100%; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .top, .foot, .stage-tools, .player, .btn-row { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- small screens ---------- */
@media (max-width: 560px) {
  .brand { font-size: 1.45rem; }
  .brand small { font-size: 0.56rem; letter-spacing: 0.04em; white-space: nowrap; }
  .lang-btn span { max-width: 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  /* stage controls become a compact row of icons so they do not cover the coach */
  .stage-tools { gap: 4px; bottom: 8px; right: 8px; left: auto; flex-wrap: nowrap; }
  .stage-tools button { width: 34px; height: 34px; min-width: 34px; padding: 0; justify-content: center; }
  .stage-tools button > span:not(.sr-only) { display: none; }
  .stage-tools button[data-act="muscles"] { width: auto; padding: 0 10px; font-size: 0.74rem; }
  .stage-title { left: 12px; top: 10px; right: 12px; }
  .stage-legend { font-size: 0.68rem; padding: 4px 8px; gap: 6px; }
  .tempo { grid-template-columns: auto 1fr; gap: 10px; padding: 10px 12px 12px; }
  .rep-count b { font-size: 2.1rem; }
  .tempo-seg { font-size: 0.62rem; }
  .btn-row .btn { flex: 1 1 auto; }
}
