:root {
  --bg: #f4f4f6;
  --card: #ffffff;
  --text: #17171f;
  --muted: #74747e;
  --line: #e5e5ec;
  --dark: #15151c;
  --green: #97e41a;
  --violet: #9d82ff;
  --soft: #f7f7f9;
  --shadow: 0 18px 58px rgba(20, 20, 25, .06);
  --radius: 30px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
#app { min-height: 100vh; }
.toast {
  position: fixed;
  left: 50%; bottom: 24px;
  transform: translateX(-50%);
  z-index: 999;
  max-width: min(520px, calc(100vw - 32px));
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  box-shadow: var(--shadow);
}
.hidden { display: none !important; }
.small { font-size: 13px; color: var(--muted); line-height: 1.45; }
.muted { color: var(--muted); }
.stack { display: grid; gap: 18px; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.grid2, .grid3 { display: grid; gap: 18px; }
.grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: var(--card);
  border: 1px solid rgba(20,20,25,.045);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.card.tight { padding: 18px; border-radius: 24px; }
.card.dark { background: var(--dark); color: #fff; }
.card.dark .muted, .card.dark .small { color: rgba(255,255,255,.68); }
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  text-transform: lowercase;
  white-space: nowrap;
}
.pill.green { background: var(--green); color: var(--dark); }
.pill.violet { background: #eee9ff; color: #785ae8; }
.pill.gray { background: #f0f0f3; color: #74747e; }
.btn {
  border: 0;
  border-radius: 999px;
  padding: 15px 20px;
  font-weight: 900;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--dark); color: #fff; box-shadow: 0 10px 28px rgba(20,20,25,.13); }
.btn.green { background: var(--green); color: var(--dark); }
.btn.violet { background: var(--violet); color: #fff; }
.btn.ghost { background: #f0f0f3; color: var(--text); }
.btn.full { width: 100%; }
.input, .textarea, select.input {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  border-radius: 18px;
  padding: 15px 16px;
  outline: none;
  min-height: 54px;
}
.textarea { min-height: 110px; resize: vertical; }
.input:focus, .textarea:focus { border-color: #c4b7ff; box-shadow: 0 0 0 4px rgba(157,130,255,.14); }
h1, h2, h3 { margin: 0; letter-spacing: -0.04em; line-height: .98; }
h1 { font-size: clamp(38px, 6vw, 72px); }
h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: clamp(22px, 2.2vw, 30px); }
p { line-height: 1.5; }

/* Auth */
.web-auth-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: var(--bg);
}
.web-auth-card {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border-radius: 34px;
  padding: 30px;
  box-shadow: var(--shadow);
}
.web-auth-brand { font-size: 30px; font-weight: 950; margin-bottom: 18px; letter-spacing: -0.06em; }
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 6px;
  background: #f0f0f3;
  border-radius: 999px;
  margin: 20px 0 16px;
}
.auth-tabs button { border: 0; background: transparent; border-radius: 999px; padding: 12px; font-weight: 900; }
.auth-tabs button.active { background: var(--dark); color: #fff; }
.web-auth-form { display: grid; gap: 12px; }
.auth-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.auth-consent[hidden], .auth-program-wrap[hidden] { display: none !important; }
.auth-consent a { font-weight: 800; text-decoration: none; color: var(--text); }
.vk-btn { width: 100%; margin-top: 12px; background: #0077ff !important; color: #fff !important; }
.auth-error { background: #fff0f0; color: #9f2d2d; border-radius: 16px; padding: 12px; margin-top: 12px; }

/* App layout */
.app-layout {
  width: min(1360px, calc(100vw - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  gap: 34px;
  padding: 28px 0 0;
}
.sidebar {
  position: sticky;
  top: 24px;
  align-self: start;
  background: #fff;
  border-radius: 34px;
  padding: 16px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 11px;
}
.sidebar-user {
  background: var(--dark);
  color: #fff;
  border-radius: 28px;
  padding: 18px;
  display: grid;
  gap: 14px;
}
.sidebar-head { display: flex; align-items: center; gap: 13px; min-width: 0; }
.avatar {
  width: 58px; height: 58px; min-width: 58px;
  border-radius: 20px;
  background: linear-gradient(145deg, var(--green), var(--violet));
  color: var(--dark);
  font-weight: 950;
  font-size: 23px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sidebar-name { min-width: 0; }
.sidebar-name strong, .sidebar-name span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-name strong { font-size: 18px; }
.sidebar-name span { margin-top: 4px; color: rgba(255,255,255,.65); font-size: 12px; }
.sidebar-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.sidebar-actions button { border: 0; border-radius: 16px; padding: 11px 9px; font-weight: 900; }
.sidebar-actions .settings { background: var(--green); color: var(--dark); }
.sidebar-actions .exit { background: rgba(255,255,255,.12); color: #fff; }
.nav-btn {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  border-radius: 20px;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 13px;
  padding: 0 18px;
  font-weight: 900;
  text-align: left;
}
.nav-btn.active { background: var(--dark); color: #fff; }
.nav-ico { width: 22px; text-align: center; }
.main { min-width: 0; display: grid; gap: 24px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 48px; }
.logo { font-size: 28px; font-weight: 950; letter-spacing: -0.07em; text-decoration: none; color: var(--text); }
.top-actions { display: flex; gap: 10px; align-items: center; }
.page { display: grid; gap: 22px; min-width: 0; }
.legal-footer {
  width: 100%;
  margin-top: 42px;
  padding: 24px 0 34px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
}
.legal-footer-links { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.legal-footer a { color: var(--muted); text-decoration: none; font-size: 13px; white-space: nowrap; }
.legal-footer-copy { color: var(--muted); font-size: 13px; white-space: nowrap; }

/* Home */
.hero {
  background: #fff;
  border-radius: 38px;
  padding: clamp(26px, 5vw, 54px);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.hero:before {
  content: '';
  position: absolute;
  inset: auto -80px -120px auto;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(151,228,26,.2);
}
.hero > * { position: relative; }
.hero p { max-width: 760px; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.promos { background: #fff; color: var(--text); border-radius: 30px; padding: 24px; box-shadow: var(--shadow); }
.promo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.promo-item { background: var(--soft); border: 1px solid var(--line); border-radius: 22px; padding: 18px; }
.promo-item strong { display: block; font-size: 18px; margin-bottom: 8px; }
.promo-item p { margin: 0; color: #5d6274; }
.direction-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.direction-card { border: 0; text-align: left; background: #fff; border-radius: 26px; padding: 22px; box-shadow: var(--shadow); }
.direction-card h3 { font-size: 24px; }
.direction-card p { color: var(--muted); margin-bottom: 0; }
.free-start { background: #fff; border-radius: 34px; padding: 28px; box-shadow: var(--shadow); }
.free-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.free-item { background: #f7f8fb; border-radius: 24px; padding: 18px; }
.free-item strong { display: block; margin-bottom: 8px; }

/* Trainers */
.direction-strip { display: flex; gap: 12px; overflow-x: auto; padding: 4px 0 10px; scrollbar-width: none; }
.direction-strip::-webkit-scrollbar { display: none; }
.direction-strip button { border: 0; border-radius: 999px; padding: 13px 20px; background: var(--green); color: var(--dark); font-weight: 900; white-space: nowrap; }
.direction-strip button.active { background: var(--violet); color: #fff; }
.trainer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.trainer-card { background: #fff; border-radius: 30px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.trainer-photo { height: 290px; background: #ececf1; overflow: hidden; }
.trainer-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; display: block; }
.trainer-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.trainer-body h3 { font-size: 28px; margin-bottom: 5px; }
.trainer-role { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.trainer-body p { color: #4e4e57; margin-top: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 18px; }
.tag { border-radius: 999px; padding: 8px 10px; background: #f0ecff; color: #8064ea; font-size: 12px; font-weight: 900; }
.tag.green { background: #e8f8d0; color: #4f8910; }
.trainer-detail { background: var(--dark); color: #fff; border-radius: 34px; overflow: hidden; box-shadow: var(--shadow); }
.trainer-detail-photo { height: 520px; background: #20202a; }
.trainer-detail-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 14%; display: block; }
.trainer-detail-body { padding: 28px; }
.trainer-detail h1 { color: #fff; }
.trainer-detail p { color: rgba(255,255,255,.78); max-width: 780px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-card { background: #fff; color: var(--text); border-radius: 26px; padding: 22px; box-shadow: var(--shadow); }
.service-card .price { font-size: 28px; font-weight: 950; margin: 16px 0; }

/* Booking / cabinet */
.booking-head { display: flex; align-items: center; gap: 14px; }
.booking-info strong { display: block; font-size: 22px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.booking-info span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.form-grid { display: grid; gap: 12px; }
.form-grid label { font-size: 13px; color: var(--muted); font-weight: 800; }
.slot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.slot-btn { border: 0; background: #f0f0f3; border-radius: 18px; min-height: 54px; font-weight: 900; }
.slot-btn.active { background: var(--dark); color: #fff; }
.cabinet-hero { background: #fff; border-radius: 34px; padding: 28px; box-shadow: var(--shadow); }
.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.stat { background: #f6f6f8; border-radius: 20px; padding: 18px; }
.stat span { color: var(--muted); font-size: 13px; }
.stat strong { display: block; font-size: 30px; margin-top: 6px; }
.tabs { display: flex; gap: 8px; padding: 6px; border-radius: 20px; background: #fff; overflow-x: auto; }
.tabs button { border: 0; background: transparent; border-radius: 15px; padding: 13px 20px; color: var(--muted); font-weight: 900; white-space: nowrap; }
.tabs button.active { background: var(--dark); color: #fff; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.metric { background: #f6f6f8; border-radius: 22px; padding: 18px; }
.metric span { color: var(--muted); font-size: 13px; }
.metric strong { display: block; margin-top: 8px; font-size: 28px; }
.booking-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.booking-row:last-child { border-bottom: 0; }
.empty { background: #f6f6f8; border-radius: 22px; padding: 20px; color: var(--muted); }
.settings-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 22px; }
.avatar-preview { width: 148px; height: 148px; border-radius: 42px; margin: 0 auto 18px; background: var(--dark); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 58px; font-weight: 950; overflow: hidden; }
.avatar-preview img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1180px) {
  .app-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 24px; }
  .trainer-grid, .direction-grid, .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .app-layout { width: min(760px, calc(100vw - 28px)); display: block; padding-bottom: 110px; }
  .sidebar {
    position: fixed;
    left: 50%; bottom: max(10px, env(safe-area-inset-bottom)); top: auto;
    transform: translateX(-50%);
    z-index: 50;
    width: calc(100vw - 24px);
    max-width: 720px;
    border-radius: 28px;
    display: flex;
    gap: 6px;
    padding: 8px;
    overflow-x: auto;
  }
  .sidebar-user { display: none; }
  .nav-btn { min-width: 82px; flex: 1; min-height: 58px; justify-content: center; flex-direction: column; gap: 4px; padding: 8px 10px; font-size: 12px; border-radius: 20px; }
  .nav-ico { width: auto; }
  .main { padding-top: 18px; }
  .topbar { padding: 0 4px; }
  .top-actions { display: none; }
  .legal-footer { grid-template-columns: 1fr; padding-bottom: 20px; }
  .legal-footer-links { flex-direction: column; align-items: flex-start; gap: 10px; }
  .settings-layout, .free-list, .promo-grid, .grid2, .grid3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .app-layout { width: calc(100vw - 24px); }
  .hero, .card, .promos, .free-start, .cabinet-hero { border-radius: 26px; padding: 22px; }
  .trainer-grid, .direction-grid, .service-grid { grid-template-columns: 1fr; }
  .trainer-photo { height: 340px; }
  .trainer-detail-photo { height: 420px; }
  .slot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat-grid, .metric-grid { grid-template-columns: 1fr; }
  .booking-row { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}

/* Profile, KBJU and promocodes */
.auth-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.profile-summary-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.profile-summary-item {
  background: #f6f6f8;
  border-radius: 20px;
  padding: 16px;
  min-width: 0;
}
.profile-summary-item span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 7px;
}
.profile-summary-item strong {
  display: block;
  font-size: 17px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.kbju-form-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.kbju-form-grid label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.kbju-form-grid .kbju-comment {
  grid-column: span 5;
}
.nutrition-input-card {
  background: #fbfbfd;
  box-shadow: none;
}
.promo-code-groups {
  display: grid;
  gap: 18px;
}
.promo-code-group {
  background: #f7f7f9;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
}
.promo-code-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.promo-code {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 18px;
  padding: 14px 10px;
  display: grid;
  gap: 5px;
  text-align: center;
  min-height: 76px;
}
.promo-code strong {
  font-size: 15px;
  letter-spacing: .02em;
}
.promo-code span {
  color: var(--muted);
  font-size: 11px;
}
@media (max-width: 1180px) {
  .profile-summary-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kbju-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kbju-form-grid .kbju-comment { grid-column: span 2; }
  .promo-code-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .auth-profile-grid,
  .profile-summary-grid,
  .kbju-form-grid,
  .promo-code-grid { grid-template-columns: 1fr; }
  .kbju-form-grid .kbju-comment { grid-column: auto; }
}

/* Email auth / password reset */
.auth-link {
  border: 0;
  background: transparent;
  color: var(--text);
  font-weight: 900;
  text-align: center;
  width: 100%;
  padding: 10px 8px;
  cursor: pointer;
}
.auth-link:hover { color: #5f45db; }
.muted-link { color: var(--muted); }
.auth-note {
  background: #f1ffe0;
  border: 1px solid rgba(151, 228, 26, .38);
  color: #355d0a;
  border-radius: 18px;
  padding: 12px 14px;
  line-height: 1.45;
  margin: 14px 0;
  font-size: 14px;
}
.code-input {
  text-align: center;
  letter-spacing: .02em;
  font-size: 24px;
  font-weight: 900;
}
.web-auth-form[hidden], #resetStep2[hidden] { display: none !important; }


/* 2026-06 profile/state/progress/auth refinements */
.web-auth-card { overflow: hidden; }
.web-auth-card h1 { font-size: clamp(42px, 7vw, 72px); overflow-wrap: anywhere; word-break: normal; }
.code-input { letter-spacing: .02em !important; font-size: 20px !important; text-align: left !important; }
.daily-state-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.daily-state-grid label { display: grid; gap: 8px; color: var(--muted); font-weight: 800; }
.daily-state-grid .daily-comment { grid-column: span 4; }
.progress-table-wrap { width: 100%; overflow-x: auto; border-radius: 22px; border: 1px solid #ededf2; }
.progress-table { width: 100%; border-collapse: collapse; min-width: 760px; background: #fff; }
.progress-table th, .progress-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid #ededf2; white-space: nowrap; }
.progress-table th { color: var(--muted); font-size: 13px; font-weight: 900; background: #f7f7fa; }
.progress-table tr:last-child td { border-bottom: 0; }
@media (max-width: 900px) { .daily-state-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .daily-state-grid .daily-comment { grid-column: span 2; } }
@media (max-width: 560px) { .web-auth-card h1 { font-size: clamp(38px, 12vw, 56px); } .daily-state-grid { grid-template-columns: 1fr; } .daily-state-grid .daily-comment { grid-column: auto; } }

/* 2026-06-01 nav/settings/auth polish */
.profile-summary-grid > div {
  background: #f6f6f8;
  border-radius: 20px;
  padding: 16px;
  min-width: 0;
  display: grid;
  gap: 7px;
}
.profile-summary-grid > div span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}
.profile-summary-grid > div strong {
  display: block;
  font-size: 17px;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.web-auth-card h1 {
  font-size: clamp(34px, 4.2vw, 48px) !important;
  line-height: .98 !important;
  letter-spacing: -0.055em !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  text-wrap: balance;
}
.web-auth-card .muted b {
  overflow-wrap: anywhere;
}
.code-input {
  letter-spacing: normal !important;
  text-align: left !important;
  font-size: 18px !important;
  font-weight: 800 !important;
}
.settings-form {
  display: grid;
  gap: 12px;
}
.settings-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}
.avatar-settings-card {
  align-content: start;
}
.settings-avatar-preview {
  width: 96px;
  height: 96px;
  border-radius: 28px;
  overflow: hidden;
}
.settings-avatar-preview img,
.settings-avatar-preview span {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: cover;
}
.doc-list {
  display: grid;
  gap: 10px;
}
.doc-list a {
  display: block;
  padding: 15px 16px;
  border-radius: 18px;
  background: #f6f6f8;
  color: var(--dark);
  font-weight: 900;
  text-decoration: none;
}
.doc-list a:hover {
  background: #efffdb;
}
@media (max-width: 760px) {
  .web-auth-card h1 {
    font-size: clamp(34px, 10vw, 44px) !important;
  }
}


/* FitInLive booking statuses */
.pill.booking-status,
.booking-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}
.booking-status.status-green,
.pill.status-green {
  background: #e7f9cf !important;
  color: #4d8b00 !important;
}
.booking-status.status-red,
.pill.status-red {
  background: #ffe3e3 !important;
  color: #c62828 !important;
}
.booking-status.status-orange,
.pill.status-orange {
  background: #fff0d6 !important;
  color: #d97706 !important;
}
.booking-status.status-gray,
.pill.status-gray {
  background: #eeeeF3 !important;
  color: #74747e !important;
}

/* Free training hard polish */
.fit-free-polished {
  background: #fff;
  border-radius: 34px;
  padding: 34px;
  box-shadow: 0 18px 55px rgba(20,20,30,.06);
  border: 1px solid #ececf3;
}

.fit-free-polished .free-head {
  margin-bottom: 26px;
}

.fit-free-polished .free-head h1 {
  margin: 12px 0 12px;
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: .98;
  letter-spacing: -0.045em;
}

.fit-free-polished .free-head p {
  max-width: 850px;
  color: #6f7382;
  font-size: 18px;
  line-height: 1.55;
}

.fit-free-polished .free-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, .9fr);
  gap: 22px;
  align-items: start;
}

.fit-free-polished .free-main,
.fit-free-polished .free-aside {
  display: grid;
  gap: 18px;
}

.fit-free-polished .free-card {
  background: #f7f8fb;
  border: 1px solid #ececf3;
  border-radius: 26px;
  padding: 22px;
}

.fit-free-polished .free-card h2,
.fit-free-polished .free-card h3 {
  margin: 0 0 10px;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.fit-free-polished .free-card p {
  color: #696e7f;
  line-height: 1.55;
  margin: 0;
}

.fit-free-polished .video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.fit-free-polished .video-card {
  overflow: hidden;
  padding: 0;
}

.fit-free-polished .video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #15151c;
  overflow: hidden;
  border-radius: 26px 26px 0 0;
}

.fit-free-polished video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.fit-free-polished .video-body {
  padding: 20px;
}

.fit-free-polished .video-body h3 {
  font-size: 24px;
}

.fit-free-polished details {
  margin-top: 16px;
  border-top: 1px solid #e4e6ee;
  padding-top: 14px;
}

.fit-free-polished summary {
  cursor: pointer;
  font-weight: 900;
  color: #17171f;
  list-style: none;
}

.fit-free-polished summary::-webkit-details-marker {
  display: none;
}

.fit-free-polished .details-content {
  margin-top: 14px;
  color: #606576;
  line-height: 1.55;
}

.fit-free-polished .details-content p {
  margin: 0 0 12px;
}

.fit-free-polished .details-content ul {
  margin: 0;
  padding-left: 18px;
}

.fit-free-polished .details-content li {
  margin: 8px 0;
}

.fit-free-polished .free-warning {
  background: #eefddd;
  border-color: #d3f5a7;
}

.fit-free-polished .free-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  margin-top: 16px;
  border-radius: 16px;
  background: #98eb12;
  color: #17171f;
  text-decoration: none;
  font-weight: 900;
}

@media (max-width: 1100px) {
  .fit-free-polished .free-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .fit-free-polished {
    padding: 22px;
    border-radius: 26px;
  }

  .fit-free-polished .video-grid {
    grid-template-columns: 1fr;
  }

  .fit-free-polished .free-head p {
    font-size: 15px;
  }

  .fit-free-polished .video-body h3 {
    font-size: 21px;
  }
}

/* Free training final clean layout */
.fit-free-final {
  background: #fff;
  border: 1px solid #ececf3;
  border-radius: 34px;
  padding: 34px;
  box-shadow: 0 18px 55px rgba(20,20,30,.06);
}

.fit-free-final-head {
  margin-bottom: 26px;
}

.fit-free-final-head h1 {
  margin: 12px 0 12px;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: .98;
  letter-spacing: -0.045em;
}

.fit-free-final-head p {
  max-width: 850px;
  color: #6f7382;
  font-size: 18px;
  line-height: 1.55;
}

.fit-free-final-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, .9fr);
  gap: 22px;
  align-items: start;
}

.fit-free-final-main,
.fit-free-final-side {
  display: grid;
  gap: 18px;
}

.fit-free-box {
  background: #f7f8fb;
  border: 1px solid #ececf3;
  border-radius: 26px;
  padding: 22px;
}

.fit-free-box h2,
.fit-free-box h3 {
  margin: 0 0 10px;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.fit-free-box p {
  margin: 0;
  color: #696e7f;
  line-height: 1.55;
}

.fit-free-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.fit-free-video-card {
  overflow: hidden;
  padding: 0;
}

.fit-free-video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #15151c;
  overflow: hidden;
  border-radius: 26px 26px 0 0;
}

.fit-free-video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fit-free-video-body {
  padding: 20px;
}

.fit-free-video-body h3 {
  font-size: 24px;
}

.fit-free-details {
  margin-top: 16px;
  border-top: 1px solid #e4e6ee;
  padding-top: 14px;
}

.fit-free-details summary {
  cursor: pointer;
  font-weight: 900;
  color: #17171f;
  list-style: none;
}

.fit-free-details summary::-webkit-details-marker {
  display: none;
}

.fit-free-details-content {
  margin-top: 14px;
  color: #606576;
  line-height: 1.55;
}

.fit-free-details-content p {
  margin: 0 0 12px;
}

.fit-free-details-content ul {
  margin: 0;
  padding-left: 18px;
}

.fit-free-details-content li {
  margin: 8px 0;
}

.fit-free-warning {
  background: #eefddd;
  border-color: #d3f5a7;
}

@media (max-width: 1100px) {
  .fit-free-final-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .fit-free-final {
    padding: 22px;
    border-radius: 26px;
  }

  .fit-free-video-grid {
    grid-template-columns: 1fr;
  }

  .fit-free-final-head p {
    font-size: 15px;
  }

  .fit-free-video-body h3 {
    font-size: 21px;
  }
}
