@import url("./history.ff2c1ff31bc4.css");
/* «Ритм» — dark athletic theme. System fonts only; mobile-first, max-width on desktop. */

:root {
  --bg: #101214;
  --bg-2: #14171a;
  --surface: #1b1e22;
  --surface-2: #23272d;
  --surface-3: #2c3139;
  --line: #30353d;
  --text: #f5f1e8;
  --text-2: #d6d1c7;
  --muted: #a39e95;
  --accent: #ff6a1a;
  --accent-2: #ff8a45;
  --accent-ink: #140b05;
  --lime: #c8f53c;
  --lime-ink: #11160a;
  --danger: #ff5f5f;
  --warn: #ffc24a;
  --radius: 18px;
  --radius-sm: 12px;
  --nav-h: 68px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --font: system-ui, -apple-system, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "SF Pro Display", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-bottom: calc(var(--nav-h) + 120px); }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 500px at 110% -10%, rgba(255, 106, 26, .10), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.45;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; border-radius: 8px; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--lime); color: var(--lime-ink); padding: 10px 14px; border-radius: 10px; font-weight: 800; }
.skip-link:focus { top: calc(8px + var(--safe-t)); }
.noscript { padding: 24px; }

/* ---------- layout ---------- */
.view-root {
  max-width: 640px;
  margin: 0 auto;
  padding: calc(12px + var(--safe-t)) max(16px, env(safe-area-inset-right)) calc(var(--nav-h) + var(--safe-b) + 28px) max(16px, env(safe-area-inset-left));
}
body.has-pill .view-root { padding-bottom: calc(var(--nav-h) + var(--safe-b) + 84px); }
body.no-chrome .view-root { padding-bottom: calc(28px + var(--safe-b)); }
.screen { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.center-screen { min-height: 80vh; align-items: center; justify-content: center; text-align: center; }

.boot { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 16px; color: var(--muted); }
.boot-mark, .brand-mark {
  width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--accent), #ff3d00); color: var(--accent-ink);
  font: 900 34px/1 var(--font-display); letter-spacing: -.04em;
  box-shadow: 0 12px 40px rgba(255, 106, 26, .35);
}

/* ---------- typography ---------- */
.page-head { display: grid; gap: 2px; padding-top: 8px; position: relative; }
.page-head .back-btn { margin-bottom: 6px; }
.eyebrow { color: var(--accent-2); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.title { font: 900 clamp(32px, 9vw, 44px)/1.02 var(--font-display); letter-spacing: -.035em; }
.title-sm { font-size: 20px; letter-spacing: -.02em; line-height: 1.15; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.title:focus { outline: none; }
.section { display: grid; gap: 10px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.section-title { font: 800 19px/1.2 var(--font-display); letter-spacing: -.015em; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.hint { color: var(--muted); font-size: 14px; }
.form-error { color: #ffd2d2; background: rgba(255, 95, 95, .12); border: 1px solid rgba(255, 95, 95, .35); padding: 10px 12px; border-radius: var(--radius-sm); font-size: 15px; }
.field-error { color: #ffb4b4; font-size: 14px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 800; font-size: 16px; text-decoration: none; cursor: pointer; user-select: none;
  transition: transform .08s ease, background-color .15s ease, opacity .15s ease;
  background: var(--surface-2); color: var(--text); text-align: center;
}
.btn:active:not(:disabled) { transform: scale(.98); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn .icon svg { width: 20px; height: 20px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 28px rgba(255, 106, 26, .28); }
.btn-primary:hover:not(:disabled) { background: var(--accent-2); }
.btn-secondary { background: var(--surface-2); border-color: var(--line); }
.btn-secondary:hover:not(:disabled) { background: var(--surface-3); }
.btn-ghost { background: transparent; border-color: var(--line); }
.btn-ghost-danger { background: transparent; color: #ffb0b0; border-color: rgba(255, 95, 95, .35); }
.btn-ghost-danger.armed, .btn-danger { background: var(--danger); color: #1a0505; border-color: transparent; }
.btn-danger:not(.armed) { background: rgba(255, 95, 95, .14); color: #ffc4c4; border-color: rgba(255, 95, 95, .4); }
.btn-dashed { background: transparent; border: 2px dashed var(--line); color: var(--text-2); }
.btn-dashed:hover { border-color: var(--accent); color: var(--text); }
.btn-lg { min-height: 56px; font-size: 17px; padding: 0 24px; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn-block { width: 100%; }
.armed { animation: pulse .9s ease infinite alternate; }
@keyframes pulse { to { box-shadow: 0 0 0 4px rgba(255, 95, 95, .25); } }

.icon { display: inline-flex; line-height: 0; }
.icon svg { width: 24px; height: 24px; }
.icon-btn {
  min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; border-radius: 14px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text-2); cursor: pointer; padding: 0 6px; gap: 4px;
  font-size: 13px; font-weight: 800;
}
.icon-btn:hover:not(:disabled) { background: var(--surface-2); color: var(--text); }
.icon-btn:disabled { opacity: .35; cursor: default; }
.icon-btn .icon svg { width: 20px; height: 20px; }
.icon-btn-danger { color: #ffb0b0; }
.icon-btn-danger.armed { background: var(--danger); color: #1a0505; display: inline-flex; padding: 0 10px; }
.link-btn { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 4px; color: var(--accent-2); font-weight: 800; text-decoration: none; }
.link-btn .icon svg { width: 18px; height: 18px; }
.button-row { display: flex; gap: 10px; flex-wrap: wrap; }
.button-row > * { flex: 1 1 140px; }

/* ---------- cards & forms ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.form-card { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field > .label { font-size: 14px; font-weight: 700; color: var(--text-2); }
.field-row { display: flex; align-items: end; gap: 12px; flex-wrap: wrap; }
.field-row .field { flex: 1 1 160px; }
.started { padding-bottom: 12px; }
input[type=text], input[type=password], input[type=search], input[type=date], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px;
  background: var(--bg-2); border: 1px solid var(--line); color: var(--text); font-size: 17px;
  -webkit-appearance: none; appearance: none;
}
textarea { resize: vertical; min-height: 64px; line-height: 1.4; }
select {
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px;
}
input::placeholder, textarea::placeholder { color: #6f6a63; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(255, 106, 26, .25); }
input[aria-invalid=true] { border-color: var(--danger); }
input[type=date]::-webkit-calendar-picker-indicator { filter: invert(1); opacity: .7; }
.input-wrap { position: relative; }
.input-wrap input { padding-right: 56px; }
.input-affix { position: absolute; right: 3px; top: 3px; width: 44px; height: 44px; border: 0; background: transparent; color: var(--muted); border-radius: 12px; cursor: pointer; display: grid; place-items: center; }
.input-affix[aria-pressed=true] { color: var(--accent-2); }
.check-line { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; color: var(--text-2); cursor: pointer; }
.check-line input { width: 22px; height: 22px; accent-color: var(--accent); }
.details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 14px; }
.details > summary { min-height: 48px; display: flex; align-items: center; cursor: pointer; font-weight: 700; color: var(--text-2); }
.details[open] { padding-bottom: 14px; }
.form-card .details { background: transparent; border: 0; padding: 0; }
.tag { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.tag-plan { background: rgba(200, 245, 60, .12); color: var(--lime); border: 1px solid rgba(200, 245, 60, .35); }
.tag-ru { background: rgba(255, 106, 26, .14); color: var(--accent-2); flex: none; }

.banner { border-radius: var(--radius-sm); padding: 12px 14px; display: grid; gap: 10px; font-size: 15px; border: 1px solid; }
.banner-warn { background: rgba(255, 194, 74, .1); border-color: rgba(255, 194, 74, .4); color: #ffe3a8; }
.banner-error { background: rgba(255, 95, 95, .1); border-color: rgba(255, 95, 95, .4); color: #ffd0d0; }
.banner-info { background: rgba(200, 245, 60, .08); border-color: rgba(200, 245, 60, .3); color: #e4f9a8; }
.banner-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.notice { display: flex; gap: 10px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px; color: var(--text-2); font-size: 15px; }
.notice .icon { color: var(--accent-2); flex: none; }

.loading { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 28px 0; color: var(--muted); }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--surface-3); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.error-box { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 22px 16px; background: var(--surface); border: 1px solid rgba(255, 95, 95, .35); border-radius: var(--radius); color: #ffd0d0; }
.error-box .icon { color: var(--danger); }

.empty { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 28px 18px; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); }
.empty.small { padding: 18px; }
.empty-art { width: 72px; height: 72px; border-radius: 24px; display: grid; place-items: center; background: rgba(255, 106, 26, .12); color: var(--accent); }
.empty-art svg { width: 34px; height: 34px; }
.empty-title { font: 800 20px/1.2 var(--font-display); }
.empty .muted { max-width: 420px; }
.empty .btn { margin-top: 6px; }

/* ---------- program (main) ---------- */
.hero {
  position: relative; overflow: hidden; display: grid; gap: 8px; padding: 20px; border-radius: 24px;
  background: linear-gradient(160deg, #22262c 0%, #17191d 100%); border: 1px solid var(--line);
}
.hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 106, 26, .35), transparent 70%); pointer-events: none; }
.hero-active { border-color: rgba(200, 245, 60, .45); }
.hero-active::after { background: radial-gradient(circle, rgba(200, 245, 60, .25), transparent 70%); }
.hero-kicker { display: flex; align-items: center; gap: 8px; color: var(--accent-2); font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.hero-active .hero-kicker { color: var(--lime); }
.hero-title { font: 900 28px/1.08 var(--font-display); letter-spacing: -.03em; overflow-wrap: anywhere; }
.hero-meta { color: var(--text-2); font-size: 15px; margin-bottom: 8px; overflow-wrap: anywhere; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(200, 245, 60, .6); animation: live 1.6s ease infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(200, 245, 60, 0); } 100% { box-shadow: 0 0 0 0 rgba(200, 245, 60, 0); } }

.week { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 12px; display: grid; gap: 10px; }
.week-days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.week-day { display: grid; justify-items: center; gap: 4px; }
.week-day .wd { font-size: 12px; color: var(--muted); font-weight: 700; }
.week-day .wn { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--surface-2); color: var(--text-2); }
.week-day.has .wn { background: var(--accent); color: var(--accent-ink); }
.week-day.today .wn { box-shadow: 0 0 0 2px var(--lime); }
.week-day.today .wd { color: var(--lime); }
.week-sum { font-size: 14px; color: var(--muted); text-align: center; }
.week-sum strong { color: var(--text); }

.day-list { display: grid; gap: 10px; }
.day-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.day-card.is-today { border-color: rgba(255, 106, 26, .6); }
.day-main { display: flex; gap: 14px; padding: 16px 16px 8px; text-decoration: none; min-width: 0; }
.day-badge { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); font: 900 16px/1 var(--font-display); color: var(--text-2); text-transform: uppercase; }
.is-today .day-badge { background: var(--accent); color: var(--accent-ink); }
.day-text { display: grid; gap: 3px; min-width: 0; }
.day-name { font: 800 18px/1.2 var(--font-display); overflow-wrap: anywhere; }
.day-ex { color: var(--text-2); font-size: 14px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.day-meta { color: var(--muted); font-size: 13px; }
.day-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 6px 12px 12px; }
.is-overdue { border-color: rgba(255, 194, 74, .5); }
.is-overdue .day-badge { background: rgba(255, 194, 74, .16); color: var(--warn); }

/* «Сегодня»: today's plans first; the program itself and statistics follow with less weight. */
.today-list { display: grid; gap: 10px; }
.today-card { gap: 6px; }
.today-card .hero-title { font-size: 26px; }
.today-card .hero-meta { margin-bottom: 0; font-variant-numeric: tabular-nums; }
.today-ex { color: var(--muted); font-size: 14px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.today-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; margin-top: 6px; position: relative; z-index: 1; }
.done-mark { color: var(--lime); font-weight: 800; }
.rest-day { display: grid; gap: 6px; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px dashed var(--line); }
.next-card { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; min-width: 0; }
.next-card .day-text { flex: 1; }
.section-title-sm { font-size: 16px; color: var(--text-2); }
.section-sub { font: 800 13px/1.2 var(--font-display); color: var(--muted); text-transform: uppercase; letter-spacing: .07em; margin-top: 6px; }
.program-section, .stats-section { padding-top: 16px; margin-top: 6px; border-top: 1px solid var(--line); }
.program-section .day-main { padding: 12px 14px 4px; gap: 12px; }
.program-section .day-badge { width: 40px; height: 40px; font-size: 14px; }
.program-section .day-name { font-size: 16px; }

.mini-list { display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.mini-row { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; min-height: 52px; padding: 8px 14px; text-decoration: none; border-top: 1px solid var(--line); }
.mini-row:first-child { border-top: 0; }
.mini-date { color: var(--muted); font-size: 14px; white-space: nowrap; }
.mini-name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-meta { color: var(--accent-2); font-weight: 800; font-size: 14px; white-space: nowrap; }

/* ---------- editors ---------- */
.editor-head {
  position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 10px;
  margin: calc(-12px - var(--safe-t)) -16px 0; padding: calc(10px + var(--safe-t)) 16px 10px;
  background: rgba(16, 18, 20, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(48, 53, 61, .6);
}
.editor-head .title-sm { min-width: 0; }
.save-pill {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border-radius: 999px;
  font-size: 13px; font-weight: 800; border: 1px solid var(--line); background: var(--surface); color: var(--muted); white-space: nowrap;
}
button.save-pill:not(:disabled) { cursor: pointer; min-height: 44px; }
button.save-pill:disabled { opacity: 1; }
.save-saved { color: var(--lime); border-color: rgba(200, 245, 60, .35); }
.save-saved::before { content: "✓"; }
.save-dirty, .save-saving { color: var(--warn); border-color: rgba(255, 194, 74, .35); }
.save-error { color: #ffb4b4; border-color: rgba(255, 95, 95, .5); background: rgba(255, 95, 95, .1); }
.save-warn { color: var(--warn); white-space: normal; max-width: 60vw; }

.action-bar {
  position: sticky; bottom: calc(var(--nav-h) + var(--safe-b) + 10px); z-index: 15;
  display: grid; gap: 10px; padding: 10px; margin: 0 -6px;
  background: rgba(27, 30, 34, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
}
body.has-pill .action-bar { bottom: calc(var(--nav-h) + var(--safe-b) + 66px); }
body.no-chrome .action-bar { bottom: calc(var(--safe-b) + 10px); }
body.kb-open .action-bar { position: static; box-shadow: none; }
body.kb-open .tabbar, body.kb-open .active-pill { display: none; }
body.kb-open .view-root { padding-bottom: 24px; }
.danger-zone { display: grid; gap: 6px; justify-items: start; margin-top: 8px; }

.w-details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.w-summary { list-style: none; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 14px; cursor: pointer; }
.w-summary::-webkit-details-marker { display: none; }
.w-sum-text { display: grid; min-width: 0; flex: 1; }
.w-sum-name { font: 800 18px/1.2 var(--font-display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-sum-meta { color: var(--muted); font-size: 13px; }
.w-sum-action { flex: none; display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--text-2); font-size: 13px; font-weight: 800; }
.w-sum-action::after { content: "▾"; margin-left: 6px; transition: transform .15s; }
.w-details[open] .w-sum-action::after { transform: rotate(180deg); }
.w-details-body { display: grid; gap: 12px; padding: 0 14px 14px; }
.hint-compact { font-size: 13px; margin-top: -6px; }

.ex-list { display: grid; gap: 10px; }
.ex-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 10px 10px; display: grid; gap: 8px; min-width: 0; }
.ex-head { display: grid; grid-template-columns: 40px minmax(0, 1fr) 44px; gap: 10px; align-items: center; }
.ex-thumb { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; background: #fff; flex: none; }
.ex-thumb-empty { display: grid; place-items: center; background: var(--surface-2); color: var(--muted); }
.ex-thumb-empty svg { width: 20px; height: 20px; }
.ex-title { display: grid; min-width: 0; }
.ex-name-line { display: flex; align-items: center; gap: 6px; min-width: 0; }
/* The name opens the exercise history: a full 44px touch target, also for one-line names. */
.ex-name { display: inline-flex; align-items: center; min-height: 44px; font: 800 16px/1.25 var(--font-display); text-decoration: none; overflow-wrap: anywhere; min-width: 0; }
.ex-name:hover { color: var(--accent-2); }
.ex-sub { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ex-tools { display: flex; gap: 4px; }
.ex-tools .icon-btn { min-width: 44px; min-height: 44px; border-radius: 12px; }

/* Compact set rows: № (menu) · previous · kg|min · reps|sec · ✓ — every control ≥ 44px. */
.sets { display: grid; gap: 4px; }
.set-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) 64px 56px 44px; gap: 6px; align-items: center; }
.set-row.log { padding: 3px 4px; margin: 0 -4px; border-radius: 14px; }
.set-row.plan { grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1fr); }
.set-head { font-size: 11px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; text-align: center; padding-block: 0 !important; }
.set-menu { position: relative; }
.set-menu[open] { z-index: 25; }
.set-menu > summary.set-num {
  list-style: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; cursor: pointer;
  background: var(--surface-2); font-weight: 900; color: var(--text-2); font-size: 15px; font-variant-numeric: tabular-nums;
}
.set-menu > summary::-webkit-details-marker { display: none; }
.set-menu[open] > summary.set-num { box-shadow: 0 0 0 2px var(--line) inset; }
.set-menu-pop { position: absolute; left: 0; top: 48px; min-width: 210px; display: grid; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 24px #0008; }
.set-menu-pop .icon-btn { display: flex; align-items: center; justify-content: flex-start; gap: 10px; width: 100%; padding: 8px 12px; font-size: 14px; }
.set-row.plan .set-num { background: rgba(200, 245, 60, .1); color: var(--lime); }
.set-prev { font-size: 13px; line-height: 1.2; color: var(--muted); text-align: center; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; min-width: 0; }
.set-prev-empty { color: #6f6a63; }
.set-input {
  min-height: 44px !important; padding: 6px 4px !important; text-align: center; font-weight: 800; font-size: 17px !important;
  border-radius: 12px !important; font-variant-numeric: tabular-nums;
}
.set-check {
  width: 44px; height: 44px; border-radius: 14px; border: 2px solid var(--line); background: var(--bg-2); color: transparent;
  display: grid; place-items: center; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.set-check svg { width: 24px; height: 24px; stroke-width: 3; }
.set-check:hover { border-color: var(--lime); color: rgba(200, 245, 60, .45); }
.set-check[aria-pressed=true] { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.set-row.done .set-num { background: var(--lime); color: var(--lime-ink); }
.set-row.done .set-input { background: rgba(200, 245, 60, .07); border-color: rgba(200, 245, 60, .35); }
.set-row.log:not(.done) .set-input:not(:placeholder-shown) { color: var(--text-2); }
.set-row.is-next { background: rgba(255, 106, 26, .08); box-shadow: 0 0 0 2px rgba(255, 106, 26, .65) inset; }
.set-row.is-next .set-num { background: var(--accent); color: var(--accent-ink); }
.set-row.is-next .set-check { border-color: var(--accent); }
.set-row.invalid .set-input { border-color: var(--danger); box-shadow: 0 0 0 2px rgba(255, 95, 95, .25); }
.btn-add-set { min-height: 44px; background: var(--surface-2); border: 1px solid var(--line); font-size: 15px; justify-self: stretch; }

/* Superset: one block with a shared header, exercises labelled A1, A2, … */
.ss-block { display: grid; background: var(--surface); border: 2px solid rgba(255, 106, 26, .55); border-radius: var(--radius); min-width: 0; }
.ss-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 10px 12px 0; flex-wrap: wrap; }
.ss-title { font: 900 15px/1.2 var(--font-display); color: var(--accent-2); text-transform: uppercase; letter-spacing: .06em; }
.ss-progress { font-size: 14px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.ss-note { padding: 2px 12px 4px; font-size: 13px; color: var(--muted); }
.ss-block .ex-card { background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.ss-block .ex-card:last-child { border-radius: 0 0 var(--radius) var(--radius); }
.ss-badge { flex: none; display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px; border-radius: 7px; background: rgba(255, 106, 26, .16); color: var(--accent-2); font: 900 13px/1 var(--font-display); font-variant-numeric: tabular-nums; }

/* Rest / finish: a compact floating bar shown only while needed. */
.float-bar {
  position: fixed; z-index: 30; left: 50%; transform: translateX(-50%); width: min(608px, calc(100% - 24px));
  bottom: calc(var(--nav-h) + var(--safe-b) + 8px); padding: 6px 6px 6px 12px; overflow: hidden;
  background: rgba(27, 30, 34, .97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 12px 32px rgba(0, 0, 0, .5);
}
body.no-chrome .float-bar { bottom: calc(var(--safe-b) + 8px); }
body.kb-open .float-bar { bottom: calc(var(--kb-inset, 0px) + 8px); }
body.has-float-bar .view-root { padding-bottom: calc(var(--nav-h) + var(--safe-b) + 96px); }
body.kb-open.has-float-bar .view-root { padding-bottom: 88px; }
.rest { display: flex; align-items: center; gap: 6px; min-height: 44px; }
.rest-label { font-size: 13px; font-weight: 800; color: var(--muted); }
.rest-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: var(--p, 0%); background: var(--accent); transition: width .25s linear; }
.rest-time { font: 900 24px/1 var(--font-display); font-variant-numeric: tabular-nums; margin-right: auto; color: var(--accent-2); white-space: nowrap; }
.rest-done .rest-time { color: var(--lime); font-size: 18px; }
.rest .btn-sm { padding: 0 12px; }
.float-done { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.float-done-text { flex: 1; min-width: 0; font-size: 14px; font-weight: 800; color: var(--lime); }
.finish-btn { margin-top: 4px; }

/* Bottom sheet (native modal dialog). */
.sheet { margin: auto auto 0; width: min(640px, 100%); max-width: 100%; max-height: 85vh; padding: 0; border: 1px solid var(--line); border-bottom: 0; border-radius: 22px 22px 0 0; background: var(--surface); color: var(--text); }
.sheet::backdrop { background: rgba(0, 0, 0, .62); }
.sheet-body { display: grid; gap: 12px; padding: 10px 16px calc(16px + var(--safe-b)); }
.sheet-grip { justify-self: center; width: 40px; height: 4px; border-radius: 2px; background: var(--surface-3); }
.sheet-title { font: 800 20px/1.2 var(--font-display); }
.sheet-text { color: var(--text-2); font-size: 15px; }
.sheet-actions { display: grid; gap: 8px; margin-top: 4px; }
.sheet-title:focus { outline: none; }
.sheet-tall .sheet-body { max-height: 88vh; overflow-y: auto; overscroll-behavior: contain; }
.sheet-tall .sheet-actions { position: sticky; bottom: calc(-16px - var(--safe-b)); margin: 0 -16px calc(-16px - var(--safe-b)); padding: 10px 16px calc(16px + var(--safe-b)); background: var(--surface); border-top: 1px solid var(--line); }
.sheet-tall .sheet-actions { grid-template-columns: auto minmax(0, 1fr); }

/* Replacement picker: explicit selected row, honest "variants" note, where-to-replace choice. */
.replace-body { display: grid; gap: 10px; min-width: 0; }
.replace-note { margin-top: -4px; }
.pick-list { display: flex; flex-direction: column; gap: 6px; max-height: 38vh; overflow-y: auto; overscroll-behavior: contain; padding: 2px; }
.pick-row { flex: none; display: grid; grid-template-columns: 24px 40px minmax(0, 1fr); gap: 10px; align-items: center; min-height: 56px; padding: 8px 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2); cursor: pointer; }
.pick-row input { width: 22px; height: 22px; margin: 0; accent-color: var(--accent); }
.pick-row.is-selected, .pick-row:has(input:checked) { border-color: var(--accent); background: rgba(255, 106, 26, .1); box-shadow: 0 0 0 1px var(--accent) inset; }
.pick-row:focus-within { outline: 3px solid var(--lime); outline-offset: 1px; }
.pick-text { display: grid; min-width: 0; }
.pick-name { font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }
.pick-sub { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.replace-modes { border: 0; margin: 0; padding: 0; display: grid; gap: 6px; min-width: 0; }
.replace-modes legend { font-size: 14px; font-weight: 700; color: var(--text-2); margin-bottom: 6px; padding: 0; }
.mode-row { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; min-height: 48px; padding: 10px; border-radius: 14px; border: 1px solid var(--line); cursor: pointer; }
.mode-row input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); }
.mode-row:has(input:checked) { border-color: var(--accent); }
.mode-row:has(input:disabled) { cursor: default; opacity: .75; }
.mode-title { display: block; font-weight: 800; }
.mode-sub { display: block; color: var(--muted); font-size: 13px; }
.replace-warn { color: var(--warn); font-size: 14px; font-weight: 700; }
.replace-clear { padding: 8px 10px; border-radius: 12px; background: rgba(255, 95, 95, .08); border: 1px solid rgba(255, 95, 95, .35); color: #ffd0d0; }

/* ---------- catalog ---------- */
.search-bar { position: sticky; top: 0; z-index: 10; margin: 0 -16px; padding: calc(8px + var(--safe-t)) 16px 8px; background: rgba(16, 18, 20, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.search-field { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 12px; }
.search-field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 106, 26, .25); }
.search-field .icon { color: var(--muted); }
.search-field input { border: 0 !important; background: transparent !important; box-shadow: none !important; padding-left: 0; min-width: 0; }
.chip-scroll { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 8px; align-items: center; min-width: 0; }
.chip-scroll .icon-btn { width: 44px; height: 44px; }
.chips { display: flex; min-width: 0; gap: 8px; overflow-x: auto; padding: 4px 2px 6px; scrollbar-width: thin; scrollbar-color: var(--muted) var(--surface); overscroll-behavior-x: contain; }
.chips::-webkit-scrollbar { height: 6px; }
.chips::-webkit-scrollbar-track { background: var(--surface); border-radius: 3px; }
.chips::-webkit-scrollbar-thumb { background: var(--muted); border-radius: 3px; }
.chip {
  flex: none; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  color: var(--text-2); font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap;
}
.chip[aria-pressed=true] { background: var(--text); color: var(--bg); border-color: var(--text); }
.filter-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.filter-row select { min-height: 46px; font-size: 15px; }
.result-count { color: var(--muted); font-size: 14px; }
.ex-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ex-row { display: flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding-right: 8px; min-width: 0; }
.ex-row-link { flex: 1; display: flex; align-items: center; gap: 12px; padding: 10px 4px 10px 10px; text-decoration: none; min-width: 0; min-height: 72px; }
.ex-row .ex-thumb { width: 56px; height: 56px; }
.ex-row-text { display: grid; min-width: 0; flex: 1; }
.ex-row-name { font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }
.ex-row-sub { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-chevron { color: var(--muted); flex: none; }
.add-btn { flex: none; width: 48px; height: 48px; border-radius: 14px; border: 0; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; cursor: pointer; }
.add-btn.added { background: var(--lime); color: var(--lime-ink); }
.more { display: grid; }

/* ---------- exercise detail ---------- */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gallery-item { margin: 0; position: relative; border-radius: 16px; overflow: hidden; background: #fff; aspect-ratio: 4 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item figcaption { position: absolute; left: 8px; bottom: 8px; background: rgba(16, 18, 20, .8); color: var(--text); font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 999px; }
.gallery-empty { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 120px; border-radius: 16px; background: var(--surface); color: var(--muted); }
.detail-head { display: grid; gap: 4px; }
.detail-name { font: 900 28px/1.08 var(--font-display); letter-spacing: -.03em; overflow-wrap: anywhere; }
.detail-en { color: var(--muted); font-size: 15px; }
.facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; min-width: 0; }
.fact dt { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.fact dd { margin: 2px 0 0; font-weight: 700; overflow-wrap: anywhere; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 10px; }
.steps li { counter-increment: step; position: relative; padding: 12px 12px 12px 52px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.steps li::before { content: counter(step); position: absolute; left: 12px; top: 10px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 900; display: grid; place-items: center; font-size: 14px; }
.steps-en li { color: var(--text-2); font-size: 15px; }
.details .steps { margin-top: 4px; }
.last-card { display: grid; gap: 4px; text-decoration: none; }
.last-date { color: var(--accent-2); font-weight: 800; font-size: 14px; }
.last-sets { font-weight: 800; font-size: 17px; overflow-wrap: anywhere; }
.source-note { color: var(--muted); font-size: 12px; }

/* ---------- history ---------- */
.history-list { display: grid; gap: 10px; }
.month-title { font: 800 15px/1 var(--font-display); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-top: 10px; }
.w-group { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.w-card { display: flex; gap: 14px; align-items: center; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; min-width: 0; }
.w-card:hover { border-color: var(--surface-3); }
.w-date { flex: none; width: 52px; display: grid; justify-items: center; padding: 6px 0; border-radius: 14px; background: var(--surface-2); }
.w-day { font: 900 22px/1 var(--font-display); }
.w-wd { font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; }
.w-body { flex: 1; display: grid; gap: 3px; min-width: 0; }
.w-name { font-weight: 800; font-size: 17px; overflow-wrap: anywhere; }
.w-ex { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-stats { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; font-weight: 800; color: var(--accent-2); }

.celebrate { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 22px 16px; border-radius: 24px; background: linear-gradient(160deg, rgba(200, 245, 60, .16), rgba(200, 245, 60, .03)); border: 1px solid rgba(200, 245, 60, .4); }
.celebrate-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--lime); color: var(--lime-ink); display: grid; place-items: center; }
.celebrate-icon svg { width: 32px; height: 32px; stroke-width: 3; }
.celebrate-title { font: 900 24px/1.1 var(--font-display); }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: grid; gap: 2px; min-width: 0; }
.tile-value { font: 900 24px/1.1 var(--font-display); letter-spacing: -.02em; overflow-wrap: anywhere; }
.tile-label { color: var(--muted); font-size: 13px; font-weight: 700; }
.notes { white-space: pre-wrap; color: var(--text-2); }
.done-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.done-ex { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; display: grid; gap: 8px; }
.done-ex-name { font-weight: 800; text-decoration: none; }
.done-sets { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.done-sets li { display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: center; font-size: 15px; }
.ds-n { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 13px; font-weight: 900; background: var(--surface-2); }
.done-sets .ok .ds-n { background: var(--lime); color: var(--lime-ink); }
.ds-v { font-weight: 800; font-variant-numeric: tabular-nums; }
.ds-s { font-size: 12px; color: var(--muted); }
.done-sets .skip .ds-v { color: var(--muted); text-decoration: line-through; }

/* ---------- profile ---------- */
.profile-card { display: flex; align-items: center; gap: 14px; }
.profile-card > span:last-child { display: grid; min-width: 0; }
.avatar { flex: none; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font: 900 26px/1 var(--font-display); }
.profile-name { font: 800 20px/1.2 var(--font-display); overflow-wrap: anywhere; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; }
.segmented-3 { grid-template-columns: repeat(3, 1fr); }
.segment { min-height: 44px; display: grid; place-items: center; border-radius: 12px; border: 0; background: transparent; color: var(--muted); font-weight: 800; text-decoration: none; cursor: pointer; }
.segment[aria-selected=true], .segment[aria-checked=true], .segment[aria-pressed=true] { background: var(--surface-3); color: var(--text); }
.segment[aria-pressed=true] { box-shadow: 0 0 0 1px var(--accent) inset; }
.danger-details { border-color: rgba(255, 95, 95, .3); }
.danger-details[open] { display: grid; gap: 10px; }

/* ---------- auth ---------- */
.auth-screen { min-height: calc(100vh - 40px); display: grid; align-content: center; gap: 24px; max-width: 440px; margin: 0 auto; padding: 12px 0; }
.auth-hero { display: grid; gap: 10px; }
.auth-title { font: 900 56px/1 var(--font-display); letter-spacing: -.05em; }
.auth-tagline { color: var(--text-2); font-size: 18px; max-width: 340px; }
.auth-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 16px; display: grid; gap: 16px; }
.auth-form { display: grid; gap: 14px; }

/* ---------- chrome ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 6px max(8px, env(safe-area-inset-left)) calc(6px + var(--safe-b)) max(8px, env(safe-area-inset-right));
  background: rgba(16, 18, 20, .94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
}
.tab { display: grid; justify-items: center; align-content: center; gap: 2px; min-height: 56px; text-decoration: none; color: var(--muted); font-size: 11.5px; font-weight: 700; border-radius: 14px; }
.tab .icon svg { width: 25px; height: 25px; }
.tab[aria-current=page] { color: var(--accent); }
.tab[aria-current=page] .icon { filter: drop-shadow(0 0 10px rgba(255, 106, 26, .5)); }
@media (min-width: 700px) {
  .tabbar { left: 50%; right: auto; transform: translateX(-50%); width: 560px; bottom: 12px; border: 1px solid var(--line); border-radius: 22px; padding-bottom: 6px; }
  .action-bar { bottom: calc(var(--nav-h) + 26px); }
  body.has-pill .action-bar { bottom: calc(var(--nav-h) + 82px); }
  .float-bar { bottom: calc(var(--nav-h) + 26px); }
  body.kb-open .float-bar { bottom: calc(var(--kb-inset, 0px) + 8px); }
  .tiles { grid-template-columns: repeat(4, 1fr); }
}
.active-pill {
  position: fixed; z-index: 39; left: 50%; transform: translateX(-50%);
  bottom: calc(var(--nav-h) + var(--safe-b) + 8px); width: min(560px, calc(100% - 24px));
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 12px 0 16px; border-radius: 16px;
  background: var(--lime); color: var(--lime-ink); text-decoration: none; font-weight: 800; box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}
@media (min-width: 700px) { .active-pill { bottom: calc(var(--nav-h) + 24px); } }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime-ink); flex: none; }
.pill-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill-timer { font-variant-numeric: tabular-nums; white-space: nowrap; }

.toasts { position: fixed; z-index: 60; top: calc(10px + var(--safe-t)); left: 50%; transform: translateX(-50%); width: min(520px, calc(100% - 24px)); display: grid; gap: 8px; pointer-events: none; }
.toast { padding: 12px 16px; border-radius: 14px; background: var(--text); color: var(--bg); font-weight: 700; font-size: 15px; box-shadow: 0 12px 30px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: none; }
.toast-error { background: var(--danger); color: #1a0505; }

@media (max-width: 380px) {
  .set-row { grid-template-columns: 44px minmax(0, 1fr) 60px 52px 44px; gap: 5px; }
  .title { font-size: 32px; }
}
@media (max-width: 340px) {
  .set-row { grid-template-columns: 44px minmax(0, 1fr) 54px 48px 44px; gap: 4px; }
  .set-input { font-size: 16px !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.gallery-repdb .gallery-item { aspect-ratio: 1; }
.gallery-repdb .gallery-item img { object-fit: contain; }

/* Previous results remain hints until the current set is entered or confirmed. */
.set-input::placeholder { color: #98938b; opacity: 1; }
.copy-hint { color: var(--text-2); font-size: 13px; line-height: 1.5; }

/* Quiet exercise cards: secondary actions stay in a native disclosure. */
.ex-menu { position: relative; align-self: start; }
.ex-menu > summary { list-style: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: var(--muted); cursor: pointer; font-size: 26px; }
.ex-menu > summary::-webkit-details-marker { display: none; }
.ex-menu[open] { z-index: 25; }
.ex-menu[open] > summary { background: var(--surface-2); }
.ex-menu .ex-tools { position: absolute; right: 0; top: 48px; min-width: 220px; display: grid; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 24px #0008; }
.ex-menu .ex-tools .icon-btn { display: flex; align-items: center; width: 100%; min-height: 44px; justify-content: flex-start; gap: 10px; padding: 8px 12px; font-size: 14px; }
.editor-head .title-sm { font-size: 20px; }
.editor-head .save-pill { font-size: 12px; padding-inline: 8px; }

/* Supersets remain optional, configured from the exercise menu. */
.superset-label { color: var(--accent-2); font-size: .78rem; font-weight: 800; }
.ex-tools .superset-action { height: auto; min-height: 44px; white-space: normal; text-align: left; }
.set-row { scroll-margin-block: 110px; }
