/* ============================================
   ФИТНЕС-ПРОГРАММА 40+ | ТЁМНАЯ ПРЕМИУМ-ТЕМА
   ============================================ */

:root {
  /* Палитра */
  --bg: #0a0e17;
  --bg-soft: #0f1421;
  --surface: #161b2c;
  --surface-2: #1d2436;
  --surface-hover: #232b40;
  --border: #2a3350;
  --border-soft: #1f2638;

  --text: #e8ecf4;
  --text-soft: #b4bccd;
  --text-muted: #7e879b;

  --primary: #f59e0b;        /* янтарь */
  --primary-soft: #fbbf24;
  --primary-dim: #b8770a;
  --primary-glow: rgba(245, 158, 11, 0.15);

  --success: #10b981;        /* изумруд */
  --success-soft: #34d399;
  --info: #60a5fa;           /* голубой */
  --danger: #ef4444;
  --warning: #f59e0b;
  --purple: #a78bfa;

  /* Размерности */
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-soft: 0 4px 16px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 40px var(--primary-glow);

  --max-width: 1200px;
  --nav-height: 64px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-head: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 20px);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Фоновый градиент с тонким эффектом */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(245, 158, 11, 0.08), transparent 60%),
    radial-gradient(ellipse 70% 50% at 80% 100%, rgba(16, 185, 129, 0.06), transparent 60%);
  z-index: -1;
  pointer-events: none;
}

/* Скроллбар */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dim); }

/* =================== ТИПОГРАФИКА =================== */

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.15rem; }

p { color: var(--text-soft); }

a { color: var(--primary-soft); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }

strong, b { color: var(--text); font-weight: 600; }

em { color: var(--primary-soft); font-style: normal; }

/* =================== LAYOUT =================== */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section-tight { padding: 50px 0; }

/* =================== НАВИГАЦИЯ =================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-soft);
  height: var(--nav-height);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--text);
  flex-shrink: 0;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dim));
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  color: #1a1306;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }

.nav-links a {
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: all .2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a.active { color: var(--primary); background: var(--primary-glow); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 6px 10px;
  cursor: pointer;
}

/* =================== HERO =================== */

.hero {
  position: relative;
  padding: 90px 0 70px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-glow);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--primary-soft);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 22px;
}

.hero h1 {
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, #b4bccd 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--primary), var(--primary-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--text-soft);
  margin-bottom: 30px;
  max-width: 560px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}

.hero-stat {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 14px 12px;
  text-align: center;
}
.hero-stat .num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat .label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* =================== КНОПКИ =================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all .2s;
  font-family: inherit;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dim));
  color: #1a1306;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.45);
  color: #1a1306;
}

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--surface-hover);
  border-color: var(--primary-dim);
  color: var(--text);
}

.btn-sm { padding: 8px 14px; font-size: 0.85rem; }

/* =================== КАРТОЧКА ПРЕДУПРЕЖДЕНИЯ =================== */

.warn-banner {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.04));
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius);
  padding: 22px 26px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 30px;
}

.warn-banner .icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(239, 68, 68, 0.15);
  border-radius: 10px;
  display: grid;
  place-items: center;
}

.warn-banner h4 { color: #fca5a5; margin-bottom: 6px; font-size: 1.05rem; }
.warn-banner p { color: var(--text-soft); font-size: 0.92rem; margin: 0; }
.warn-banner ul { margin-top: 8px; padding-left: 18px; }
.warn-banner ul li { color: var(--text-soft); font-size: 0.9rem; margin: 3px 0; }

/* =================== ЗАГОЛОВКИ РАЗДЕЛОВ =================== */

.section-head {
  text-align: center;
  margin-bottom: 50px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--text-muted); max-width: 640px; margin: 0 auto; }

/* =================== КАРТОЧКИ =================== */

.card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 26px;
  transition: all .25s;
}

.card:hover {
  border-color: var(--border);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.card-grid {
  display: grid;
  gap: 20px;
}
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* =================== РУТИНЫ (УТРО/ОФИС) =================== */

.routine-tabs {
  display: flex;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  padding: 6px;
  border-radius: var(--radius);
  margin-bottom: 28px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.routine-tab {
  flex: 1;
  padding: 10px 14px;
  background: transparent;
  border: none;
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all .2s;
  font-family: inherit;
}
.routine-tab.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dim));
  color: #1a1306;
}

.routine-content { display: none; animation: fadeIn .3s ease; }
.routine-content.active { display: block; }

.routine-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.routine-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), transparent);
}

.routine-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.routine-card-head h3 { margin-bottom: 4px; }
.routine-card-head .meta { color: var(--text-muted); font-size: 0.88rem; }

.routine-time {
  background: var(--primary-glow);
  color: var(--primary-soft);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
}

.routine-list {
  list-style: none;
  counter-reset: step;
}
.routine-list li {
  counter-increment: step;
  position: relative;
  padding: 12px 0 12px 52px;
  border-bottom: 1px dashed var(--border-soft);
  color: var(--text-soft);
  font-size: 0.96rem;
}
.routine-list li:last-child { border-bottom: none; }
.routine-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 12px;
  width: 32px;
  height: 32px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.88rem;
}
.routine-list li b { color: var(--text); }
.routine-list li .why {
  display: block;
  margin-top: 4px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

.routine-total {
  margin-top: 18px;
  padding: 12px 16px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  text-align: center;
  color: var(--text-soft);
  font-size: 0.92rem;
}
.routine-total b { color: var(--primary-soft); }

/* =================== КАТАЛОГ УПРАЖНЕНИЙ =================== */

.exercise-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}

.filter-btn {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  color: var(--text-soft);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}
.filter-btn:hover { border-color: var(--primary-dim); color: var(--text); }
.filter-btn.active {
  background: var(--primary);
  color: #1a1306;
  border-color: var(--primary);
}

.exercise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.exercise-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .25s;
}

.exercise-card:hover {
  border-color: var(--primary-dim);
  box-shadow: var(--shadow-soft);
}

.exercise-head {
  padding: 18px 22px 14px;
  border-bottom: 1px solid var(--border-soft);
  cursor: pointer;
  position: relative;
}

.exercise-head h4 {
  margin: 0;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.exercise-head .icon {
  width: 32px;
  height: 32px;
  background: var(--primary-glow);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--primary);
  flex-shrink: 0;
}

.exercise-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.tag {
  font-size: 0.72rem;
  padding: 3px 9px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.tag-core { background: rgba(245, 158, 11, 0.15); color: var(--primary-soft); }
.tag-glutes { background: rgba(16, 185, 129, 0.15); color: var(--success-soft); }
.tag-spine { background: rgba(96, 165, 250, 0.15); color: var(--info); }
.tag-neck { background: rgba(239, 68, 68, 0.15); color: #fca5a5; }
.tag-knees { background: rgba(167, 139, 250, 0.15); color: var(--purple); }
.tag-stretch { background: rgba(96, 165, 250, 0.15); color: var(--info); }
.tag-schroth { background: rgba(16, 185, 129, 0.15); color: var(--success-soft); }
.tag-testo { background: rgba(245, 158, 11, 0.15); color: var(--primary-soft); }

.exercise-toggle {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  transition: all .2s;
  font-size: 1rem;
}
.exercise-card.open .exercise-toggle {
  background: var(--primary);
  color: #1a1306;
  transform: rotate(45deg);
}

.exercise-body {
  display: none;
  padding: 18px 22px 22px;
}
.exercise-card.open .exercise-body { display: block; animation: fadeIn .25s ease; }

.exercise-section {
  margin-bottom: 16px;
}
.exercise-section:last-child { margin-bottom: 0; }

.exercise-section .label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.exercise-section .label.warn { color: var(--danger); }
.exercise-section .label.ok { color: var(--success); }

.exercise-section .content {
  color: var(--text-soft);
  font-size: 0.93rem;
}
.exercise-section .content ul { padding-left: 18px; margin-top: 4px; }
.exercise-section .content li { margin: 4px 0; }

.exercise-meta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 14px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
}
.exercise-meta-row .item { color: var(--text-muted); }
.exercise-meta-row .item b { color: var(--text); display: block; margin-top: 2px; }

/* =================== ТРЕНИРОВКИ =================== */

.workout-tabs {
  display: flex;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  padding: 6px;
  border-radius: var(--radius);
  margin-bottom: 28px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.workout-tab {
  flex: 1;
  padding: 12px 14px;
  background: transparent;
  border: none;
  color: var(--text-soft);
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all .2s;
  font-family: inherit;
  text-align: center;
}
.workout-tab.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dim));
  color: #1a1306;
}
.workout-tab .day {
  display: block;
  font-size: 0.74rem;
  opacity: 0.7;
  font-weight: 500;
  margin-bottom: 2px;
}

.workout-content { display: none; animation: fadeIn .3s ease; }
.workout-content.active { display: block; }

.workout-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.workout-header {
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.workout-header h3 { margin-bottom: 4px; }
.workout-header .focus {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.workout-info {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.workout-info .info-pill {
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--text-soft);
}
.workout-info .info-pill b { color: var(--primary-soft); }

.workout-block {
  padding: 22px 28px;
  border-bottom: 1px solid var(--border-soft);
}
.workout-block:last-child { border-bottom: none; }

.workout-block-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.workout-block-head .badge {
  background: var(--primary-glow);
  color: var(--primary-soft);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.workout-block-head .badge.cooldown { background: rgba(96, 165, 250, 0.15); color: var(--info); }
.workout-block-head .badge.warmup { background: rgba(16, 185, 129, 0.15); color: var(--success-soft); }
.workout-block-head h4 { margin: 0; font-size: 1.05rem; }

.workout-exercise {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border-soft);
}
.workout-exercise:last-child { border-bottom: none; }

.workout-exercise .num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary);
}
.workout-exercise .name { font-weight: 600; color: var(--text); }
.workout-exercise .name .note {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 2px;
}
.workout-exercise .dose {
  background: var(--bg-soft);
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--primary-soft);
  font-weight: 600;
  white-space: nowrap;
}

.weak-side-note {
  margin-top: 14px;
  padding: 12px 16px;
  background: rgba(167, 139, 250, 0.08);
  border: 1px solid rgba(167, 139, 250, 0.25);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-soft);
}
.weak-side-note b { color: var(--purple); }

/* =================== ТАБЛИЦЫ =================== */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 600px;
}

table th {
  background: var(--surface-2);
  color: var(--text);
  text-align: left;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-soft);
  vertical-align: top;
}

table tr:last-child td { border-bottom: none; }
table tr:hover td { background: rgba(245, 158, 11, 0.04); }

table td b { color: var(--text); }

table .phase-col { color: var(--primary-soft); font-weight: 600; }
table .week-col { font-weight: 700; color: var(--text); }

/* =================== PROGRESS / PROGRESS BAR =================== */

.progress-bar {
  background: var(--surface-2);
  border-radius: 999px;
  overflow: hidden;
  height: 10px;
  margin: 6px 0;
}
.progress-bar .fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-soft));
  border-radius: 999px;
  transition: width .4s ease;
}

/* =================== SCHROTH =================== */

.schroth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.schroth-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}

.schroth-card h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.schroth-card h4 .icon { font-size: 1.3rem; }

.schroth-card .desc {
  color: var(--text-soft);
  font-size: 0.93rem;
  margin-bottom: 12px;
}

.schroth-card ul { list-style: none; padding: 0; }
.schroth-card ul li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--text-soft);
  font-size: 0.92rem;
  border-bottom: 1px dashed var(--border-soft);
}
.schroth-card ul li:last-child { border-bottom: none; }
.schroth-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--success);
  font-weight: 700;
}
.schroth-card ul li.warn::before { content: '!'; color: var(--warning); }
.schroth-card ul li.no::before { content: '✕'; color: var(--danger); }

/* =================== ПРИВЫЧКИ =================== */

.habits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.habit-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: all .2s;
}
.habit-card:hover {
  border-color: var(--primary-dim);
  transform: translateY(-2px);
}

.habit-card .habit-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 12px;
  background: var(--primary-glow);
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
}

.habit-card h4 { font-size: 1rem; margin-bottom: 6px; }
.habit-card p { font-size: 0.85rem; color: var(--text-muted); }

/* =================== ПРОГРЕССИЯ =================== */

.progression-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.progression-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
  overflow: hidden;
}

.progression-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.progression-card.p1::before { background: var(--success); }
.progression-card.p2::before { background: var(--primary); }
.progression-card.p3::before { background: var(--purple); }

.progression-card .phase-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.progression-card.p1 .phase-tag { background: rgba(16, 185, 129, 0.15); color: var(--success-soft); }
.progression-card.p2 .phase-tag { background: var(--primary-glow); color: var(--primary-soft); }
.progression-card.p3 .phase-tag { background: rgba(167, 139, 250, 0.15); color: var(--purple); }

.progression-card h4 { margin-bottom: 8px; }
.progression-card .when { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 14px; }

.progression-card ul { list-style: none; padding: 0; }
.progression-card ul li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: var(--text-soft);
  font-size: 0.92rem;
  border-bottom: 1px dashed var(--border-soft);
}
.progression-card ul li:last-child { border-bottom: none; }
.progression-card ul li::before {
  content: '+';
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--primary);
  font-weight: 800;
}

/* =================== TESTO =================== */

.testo-hero {
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.testo-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15), transparent 60%);
  border-radius: 50%;
}

.testo-hero h2 {
  position: relative;
  margin-bottom: 12px;
}

.testo-hero p {
  position: relative;
  font-size: 1.05rem;
  max-width: 700px;
}

.testo-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-bottom: 30px;
}

.pillar {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 22px;
  transition: all .2s;
}
.pillar:hover { border-color: var(--primary-dim); }

.pillar .pillar-num {
  width: 36px;
  height: 36px;
  background: var(--primary-glow);
  color: var(--primary);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 12px;
}

.pillar h4 { margin-bottom: 6px; font-size: 1.05rem; }
.pillar p { font-size: 0.9rem; color: var(--text-muted); }

.testo-tips {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 26px;
}

.testo-tips h4 { margin-bottom: 16px; }

.testo-tips ul { list-style: none; padding: 0; }
.testo-tips ul li {
  padding: 10px 0 10px 32px;
  position: relative;
  color: var(--text-soft);
  border-bottom: 1px dashed var(--border-soft);
  font-size: 0.95rem;
}
.testo-tips ul li:last-child { border-bottom: none; }
.testo-tips ul li::before {
  content: '⚡';
  position: absolute;
  left: 0;
  top: 10px;
}

/* =================== ТРЕКЕР ПРОГРЕССА =================== */

.tracker-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 24px;
}

.tracker-card h3 { margin-bottom: 6px; }
.tracker-card .desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 18px; }

.week-tracker {
  display: grid;
  grid-template-columns: 80px repeat(7, 1fr);
  gap: 6px;
  align-items: center;
}

.week-tracker .head {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.week-tracker .week-label {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.85rem;
}

.tracker-cell {
  aspect-ratio: 1;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all .15s;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.tracker-cell:hover { border-color: var(--primary-dim); }
.tracker-cell.done {
  background: linear-gradient(135deg, var(--primary), var(--primary-dim));
  color: #1a1306;
  font-weight: 700;
  border-color: var(--primary);
}
.tracker-cell.done::after { content: '✓'; font-size: 1rem; }

.tracker-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.tracker-stats {
  display: flex;
  gap: 24px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
}
.tracker-stats .stat .num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}
.tracker-stats .stat .label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* =================== CALLOUT =================== */

.callout {
  background: var(--surface);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 20px 0;
}
.callout.success { border-left-color: var(--success); }
.callout.danger { border-left-color: var(--danger); }
.callout.info { border-left-color: var(--info); }

.callout .callout-title {
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.callout p { margin: 0; font-size: 0.93rem; }

/* =================== АНИМАЦИИ =================== */

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* =================== АДАПТИВНОСТЬ =================== */

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .schroth-grid { grid-template-columns: 1fr; }
  .progression-grid { grid-template-columns: 1fr; }
  .workout-tab { font-size: 0.85rem; padding: 10px 8px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 50px 0; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
    padding: 12px;
    gap: 4px;
  }
  .nav-links.open a { padding: 12px 14px; }
  .nav-toggle { display: block; }
  .hero { padding: 50px 0 40px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: 1fr; }
  .routine-tabs, .workout-tabs { flex-direction: column; }
  .week-tracker { grid-template-columns: 60px repeat(7, 1fr); gap: 3px; }
  .tracker-cell { font-size: 0.6rem; }
  .testo-hero { padding: 24px; }
  .workout-header { padding: 18px 20px; }
  .workout-block { padding: 18px 20px; }
}

/* =================== ПЕЧАТЬ =================== */

@media print {
  body { background: white; color: black; }
  body::before { display: none; }
  .nav, .hero-cta, .routine-tabs, .workout-tabs, .exercise-filters,
  .tracker-card, .nav-toggle, .progress-top, .back-to-top, .floating-cta,
  .faq-item .faq-toggle, .search-box, .exercise-card .exercise-toggle { display: none !important; }
  .exercise-card { page-break-inside: avoid; border: 1px solid #ddd; }
  .exercise-body { display: block !important; }
  .routine-content, .workout-content { display: block !important; }
  .section { padding: 20px 0; }
  .faq-item .faq-body { display: block !important; }
}

/* ============================================
   УЛУЧШЕНИЯ v2 — UX/UI + HEALTH EXPERT
   ============================================ */

/* ===== ПРОГРЕСС-БАР В ШАПКЕ (12 недель) ===== */
.progress-top {
  position: sticky;
  top: var(--nav-height);
  z-index: 90;
  background: rgba(15, 20, 33, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
  padding: 8px 0;
}
.progress-top-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.progress-top-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
  font-weight: 600;
}
.progress-top-bar {
  flex: 1;
  height: 8px;
  background: var(--surface-2);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.progress-top-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--success), var(--primary));
  border-radius: 999px;
  transition: width .6s ease;
  width: 0%;
}
.progress-top-week {
  font-size: 0.85rem;
  color: var(--primary-soft);
  font-weight: 700;
  white-space: nowrap;
  min-width: 70px;
  text-align: right;
}

/* ===== ПЛАВАЮЩАЯ CTA (сегодняшняя тренировка) ===== */
.floating-cta {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 95;
  background: linear-gradient(135deg, var(--primary), var(--primary-dim));
  color: #1a1306;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
  cursor: pointer;
  border: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all .25s;
  font-family: inherit;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}
.floating-cta.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.floating-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.5);
}

/* ===== ПОИСК ПО УПРАЖНЕНИЯМ ===== */
.search-box {
  position: relative;
  max-width: 480px;
  margin: 0 auto 24px;
}
.search-box input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 12px 20px 12px 44px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  transition: all .2s;
}
.search-box input:focus {
  outline: none;
  border-color: var(--primary-dim);
  background: var(--surface-2);
}
.search-box input::placeholder { color: var(--text-muted); }
.search-box .search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}
.search-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  grid-column: 1 / -1;
}
.search-empty .icon { font-size: 2rem; margin-bottom: 8px; }

/* ===== SVG ИЛЛЮСТРАЦИИ УПРАЖНЕНИЙ ===== */
.exercise-visual {
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  border-bottom: 1px solid var(--border-soft);
  padding: 24px;
  display: grid;
  place-items: center;
  position: relative;
}
.exercise-visual svg {
  max-width: 100%;
  height: auto;
  max-height: 140px;
}
.exercise-visual .visual-label {
  position: absolute;
  bottom: 8px;
  right: 12px;
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ===== КНОПКА ВИДЕО В КАРТОЧКЕ УПРАЖНЕНИЯ ===== */
.exercise-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
  flex-wrap: wrap;
}
.ex-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border-soft);
  background: var(--surface-2);
  color: var(--text-soft);
  transition: all .2s;
  font-family: inherit;
  text-decoration: none;
}
.ex-btn:hover {
  border-color: var(--primary-dim);
  color: var(--text);
  transform: translateY(-1px);
}
.ex-btn.video-btn {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}
.ex-btn.video-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #fff;
}
.ex-btn.fav-btn.active {
  background: var(--primary-glow);
  border-color: var(--primary);
  color: var(--primary);
}

/* ===== ИЗБРАННОЕ В ВЕРХНЕЙ ПАНЕЛИ ===== */
.fav-counter {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  color: var(--text-soft);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all .2s;
}
.fav-counter:hover { border-color: var(--primary-dim); }
.fav-counter .count {
  background: var(--primary);
  color: #1a1306;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
}

/* ===== FAQ АККОРДЕОН ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all .2s;
}
.faq-item:hover { border-color: var(--border); }
.faq-item.open { border-color: var(--primary-dim); }

.faq-head {
  padding: 18px 22px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-head h4 {
  margin: 0;
  font-size: 1rem;
  flex: 1;
}
.faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  transition: all .2s;
  flex-shrink: 0;
}
.faq-item.open .faq-toggle {
  background: var(--primary);
  color: #1a1306;
  transform: rotate(45deg);
}

.faq-body {
  display: none;
  padding: 0 22px 18px;
  color: var(--text-soft);
  font-size: 0.93rem;
  line-height: 1.7;
}
.faq-item.open .faq-body { display: block; animation: fadeIn .25s ease; }
.faq-body p { margin-bottom: 10px; }
.faq-body p:last-child { margin-bottom: 0; }
.faq-body ul { padding-left: 18px; margin-top: 6px; }
.faq-body ul li { margin: 4px 0; }

/* ===== ОШИБКИ НОВИЧКОВ ===== */
.mistakes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.mistake-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 22px;
  border-left: 4px solid var(--danger);
  transition: all .2s;
}
.mistake-card:hover { transform: translateY(-2px); border-left-color: var(--primary); }

.mistake-card .mistake-num {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--danger);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.mistake-card h4 { font-size: 1.05rem; margin-bottom: 8px; }
.mistake-card .desc { font-size: 0.9rem; color: var(--text-soft); margin-bottom: 10px; }
.mistake-card .fix {
  font-size: 0.88rem;
  color: var(--success-soft);
  padding: 8px 12px;
  background: rgba(16, 185, 129, 0.08);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--success);
}
.mistake-card .fix b { color: var(--success); }

/* ===== ТАБЛИЦА ДОБАВОК ===== */
.supplements-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 700px;
}
.supplements-table th {
  background: var(--surface-2);
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text);
  letter-spacing: 0.02em;
}
.supplements-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: top;
  color: var(--text-soft);
}
.supplements-table tr:hover td { background: rgba(245, 158, 11, 0.04); }
.supplements-table .supp-name { color: var(--text); font-weight: 600; }
.supplements-table .dose { color: var(--primary-soft); font-weight: 700; }
.supplements-table .timing { color: var(--success-soft); font-weight: 600; }

/* ===== ДЕТАЛЬНЫЙ ТРЕКЕР (4 недели) ===== */
.tracker-detailed {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 24px;
}
.tracker-detailed h3 { margin-bottom: 6px; }
.tracker-detailed .desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 18px; }

.tracker-months {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  background: var(--bg-soft);
  padding: 6px;
  border-radius: var(--radius-sm);
}
.tracker-month-btn {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px;
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  border-radius: 6px;
  transition: all .2s;
  font-family: inherit;
}
.tracker-month-btn.active {
  background: var(--primary);
  color: #1a1306;
}

.week-grid {
  display: grid;
  grid-template-columns: 80px repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 18px;
}
.week-grid .head {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 0;
}
.week-grid .week-label {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  padding-left: 4px;
}

/* ===== КНОПКА ЭКСПОРТА ===== */
.tracker-actions-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
  align-items: center;
}
.tracker-actions-bar .export-btn {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-soft);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all .2s;
  font-family: inherit;
}
.tracker-actions-bar .export-btn:hover {
  border-color: var(--primary-dim);
  color: var(--text);
  background: var(--surface-hover);
}

/* ===== МЕТРИКИ ТЕЛА ===== */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.metric-input {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 14px;
  transition: all .2s;
}
.metric-input:hover { border-color: var(--border); }
.metric-input label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.metric-input input {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  color: var(--text);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
}
.metric-input input:focus {
  outline: none;
  border-color: var(--primary-dim);
}
.metric-input .unit {
  display: inline;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 400;
  margin-left: 4px;
}

/* ===== "ЧИП-СУПЕРПОЗИЦИЯ" ДЛЯ ПЕЧАТИ ===== */
.print-workout-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-soft);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all .2s;
  font-family: inherit;
}
.print-workout-btn:hover {
  background: var(--surface-hover);
  border-color: var(--primary-dim);
  color: var(--text);
}

/* ===== ВИЗУАЛЬНЫЕ ТАБЛИЦЫ (CIRCLE) ===== */
.circle-progress {
  width: 120px;
  height: 120px;
  position: relative;
  margin: 0 auto;
}
.circle-progress svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}
.circle-progress .bg-circle {
  fill: none;
  stroke: var(--surface-2);
  stroke-width: 10;
}
.circle-progress .fg-circle {
  fill: none;
  stroke: url(#gradient);
  stroke-width: 10;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s ease;
}
.circle-progress .label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.circle-progress .label .num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.circle-progress .label .desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 900px) {
  .mistakes-grid { grid-template-columns: 1fr; }
  .progress-top-inner { padding: 0 16px; gap: 10px; }
  .progress-top-label { display: none; }
  .floating-cta { padding: 10px 16px; font-size: 0.85rem; bottom: 16px; left: 16px; }
  .floating-cta .text-long { display: none; }
}
@media (max-width: 640px) {
  .progress-top-week { min-width: auto; font-size: 0.78rem; }
  .tracker-actions-bar { flex-direction: column; align-items: stretch; }
  .print-workout-btn { position: static; margin-top: 12px; }
}

