:root {
  --bg: #050806;
  --panel: #0b100d;
  --panel-2: #101811;
  --line: rgba(144, 255, 70, 0.16);
  --line-strong: rgba(144, 255, 70, 0.4);
  --text: #f7fff4;
  --muted: #9aa89a;
  --muted-2: #6d786d;
  --green: #72ff36;
  --green-2: #39d622;
  --lime-soft: rgba(114, 255, 54, 0.18);
  --danger: #ff6d4d;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 20% 8%, rgba(114, 255, 54, 0.14), transparent 30%),
    radial-gradient(circle at 80% 80%, rgba(57, 214, 34, 0.12), transparent 34%),
    #020302;
  color: var(--text);
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.app-shell {
  min-height: 100svh;
  width: 100%;
  display: grid;
  place-items: center;
  padding: 18px;
  overflow: hidden;
}

.phone {
  position: relative;
  width: min(calc(100vw - 36px), 430px);
  max-width: 430px;
  min-height: min(900px, calc(100svh - 36px));
  max-height: 940px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(17, 27, 19, 0.98), rgba(3, 5, 4, 0.99) 58%),
    var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.phone::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 18%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.016) 0 1px, transparent 1px 7px);
  opacity: 0.5;
}

.ambient {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  filter: blur(64px);
  pointer-events: none;
}

.ambient-one {
  top: -120px;
  right: -90px;
  background: rgba(114, 255, 54, 0.2);
}

.ambient-two {
  left: -130px;
  bottom: 120px;
  background: rgba(52, 214, 34, 0.12);
}

.topbar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 12px;
  padding: max(16px, env(safe-area-inset-top)) 18px 10px;
}

.brand-mark {
  justify-self: center;
  width: 116px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(114, 255, 54, 0.16));
}

.icon-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.icon-button:disabled {
  opacity: 0;
  pointer-events: none;
}

.icon-button svg,
.primary-action svg,
.mini-action svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.4;
}

.progress-wrap {
  position: relative;
  z-index: 2;
  padding: 0 22px 12px;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}

.progress-track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.progress-bar {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green-2), var(--green));
  box-shadow: 0 0 18px rgba(114, 255, 54, 0.7);
  transition: width 280ms ease;
}

.screen {
  position: relative;
  z-index: 2;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 8px 18px 118px;
  scrollbar-width: none;
}

.screen::-webkit-scrollbar {
  display: none;
}

.hero-logo {
  width: min(82%, 290px);
  height: 120px;
  object-fit: contain;
  display: block;
  margin: 0 auto 16px;
  filter: drop-shadow(0 20px 40px rgba(114, 255, 54, 0.16));
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  background: rgba(114, 255, 54, 0.1);
  border: 1px solid rgba(114, 255, 54, 0.24);
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 12px rgba(114, 255, 54, 0.8);
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: 44px;
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 10px;
  font-size: 30px;
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: 0;
}

.lead {
  color: #c8d8c6;
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 20px;
  overflow-wrap: anywhere;
}

.hero-panel {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.stat-card,
.summary-card,
.client-summary-card,
.onboarding-section,
.summary-pill,
.metric-card,
.week-card,
.feature-strip {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.stat-card {
  min-height: 96px;
  padding: 14px;
}

.stat-value {
  display: block;
  color: var(--green);
  font-size: 28px;
  font-weight: 900;
}

.stat-label {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.option-grid {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.option-grid.two {
  grid-template-columns: 1fr 1fr;
}

.option-card {
  position: relative;
  width: 100%;
  min-height: 86px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  padding: 14px 14px 14px 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  color: var(--text);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.option-card:active {
  transform: scale(0.98);
}

.option-card.selected {
  border-color: rgba(114, 255, 54, 0.68);
  background:
    linear-gradient(145deg, rgba(114, 255, 54, 0.15), rgba(255, 255, 255, 0.035)),
    #0b120d;
  box-shadow: 0 12px 34px rgba(114, 255, 54, 0.14);
}

.option-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--green);
  border-radius: 8px;
  background: rgba(114, 255, 54, 0.11);
  border: 1px solid rgba(114, 255, 54, 0.18);
}

.option-icon svg {
  width: 25px;
  height: 25px;
  stroke-width: 2.2;
}

.option-copy {
  min-width: 0;
}

.option-title {
  display: block;
  color: var(--text);
  font-weight: 850;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.option-detail {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}

.choice-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.pill-choice {
  min-height: 74px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  display: grid;
  place-items: center;
  padding: 12px 8px;
  text-align: center;
  font-weight: 850;
  line-height: 1.15;
}

.pill-choice.selected {
  color: #061105;
  background: linear-gradient(180deg, var(--green), var(--green-2));
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(114, 255, 54, 0.22);
}

.field-grid {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.field {
  position: relative;
  display: grid;
  gap: 8px;
}

.field label {
  color: #dcebd8;
  font-size: 13px;
  font-weight: 800;
}

.field input {
  width: 100%;
  height: 64px;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  padding: 0 54px 0 16px;
  outline: none;
  font-size: 22px;
  font-weight: 900;
}

.field input:focus {
  border-color: rgba(114, 255, 54, 0.72);
  box-shadow: 0 0 0 3px rgba(114, 255, 54, 0.1);
}

.unit {
  position: absolute;
  right: 16px;
  bottom: 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.inline-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.feature-strip {
  margin-top: 18px;
  padding: 13px;
  display: flex;
  gap: 11px;
  align-items: center;
}

.feature-strip svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: var(--green);
}

.feature-strip span {
  color: #d9ead5;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
}

.access-banner {
  margin-top: 14px;
  padding: 13px;
  display: flex;
  gap: 11px;
  align-items: center;
  border: 1px solid rgba(114, 255, 54, 0.2);
  border-radius: 8px;
  background: rgba(114, 255, 54, 0.08);
}

.access-banner svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: var(--green);
}

.access-banner span {
  color: #dcefd8;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 800;
}

.access-banner.paid {
  border-color: rgba(114, 255, 54, 0.48);
  background: rgba(114, 255, 54, 0.14);
}

.mode-banner {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  padding: 13px;
  border: 1px solid rgba(114, 255, 54, 0.22);
  border-radius: 8px;
  background: rgba(114, 255, 54, 0.08);
}

.mode-banner strong {
  color: var(--text);
  font-size: 14px;
  line-height: 1.25;
  font-weight: 950;
}

.mode-banner small {
  color: #cbdcc7;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
}

.mode-banner.premium-mode {
  border-color: rgba(114, 255, 54, 0.48);
  background:
    linear-gradient(135deg, rgba(114, 255, 54, 0.16), rgba(255, 255, 255, 0.035)),
    rgba(114, 255, 54, 0.08);
}

.mode-badge,
.premium-badge,
.demo-badge {
  width: max-content;
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
}

.mode-badge,
.demo-badge {
  color: #061105;
  background: var(--green);
}

.premium-badge {
  color: var(--green);
  border: 1px solid rgba(114, 255, 54, 0.34);
  background: rgba(114, 255, 54, 0.1);
}

.loading-stage {
  min-height: 430px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.loader-ring {
  position: relative;
  width: 152px;
  height: 152px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  background:
    conic-gradient(from 0deg, var(--green), rgba(114, 255, 54, 0.04), var(--green)),
    rgba(255, 255, 255, 0.04);
  animation: spin 1400ms linear infinite;
}

.loader-ring::after {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: inherit;
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.loader-ring img {
  position: relative;
  z-index: 1;
  width: 88px;
  height: 88px;
  object-fit: contain;
  animation: counterspin 1400ms linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes counterspin {
  to {
    transform: rotate(-360deg);
  }
}

.summary-card {
  padding: 15px;
  margin-top: 20px;
}

.client-summary-card {
  padding: 14px;
  margin-top: 14px;
}

.client-summary-card .summary-head {
  display: grid;
  grid-template-columns: 1fr;
}

.client-summary-card .mini-action {
  min-height: 42px;
  margin-top: 2px;
  padding: 0 10px;
  font-size: 11px;
}

.client-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 12px;
}

.summary-pill {
  min-height: 70px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 11px;
}

.summary-pill span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.summary-pill strong {
  color: var(--text);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.dashboard-grid {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.dashboard-card {
  min-height: 112px;
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
    rgba(0, 0, 0, 0.16);
}

.dashboard-card.today-card,
.dashboard-card.pro-shortcut {
  border-color: rgba(114, 255, 54, 0.26);
  background:
    linear-gradient(135deg, rgba(114, 255, 54, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(0, 0, 0, 0.18);
}

.dashboard-label {
  color: var(--green);
  font-size: 10px;
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
}

.dashboard-card strong {
  color: var(--text);
  font-size: 17px;
  line-height: 1.1;
  font-weight: 950;
}

.dashboard-card small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
}

.clickable-card,
.clickable-week,
.calendar-day,
.program-card[data-open-workout-date] {
  cursor: pointer;
}

.clickable-card:hover,
.clickable-week:hover,
.program-card[data-open-workout-date]:hover {
  border-color: rgba(114, 255, 54, 0.34);
}

.summary-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.score {
  flex: 0 0 82px;
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  color: #061105;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--green), var(--green-2));
  font-size: 26px;
  font-weight: 950;
  box-shadow: 0 16px 32px rgba(114, 255, 54, 0.22);
}

.summary-title {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.08;
  font-weight: 900;
}

.summary-text {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 650;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 14px;
}

.metric-card {
  min-height: 80px;
  padding: 11px 8px;
  display: grid;
  align-content: center;
}

.metric-value {
  color: var(--green);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.metric-label {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
  font-weight: 800;
}

.macro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 14px;
}

.macro-card {
  min-height: 72px;
  display: grid;
  align-content: center;
  padding: 10px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.macro-card span {
  color: var(--green);
  font-size: 20px;
  font-weight: 950;
  line-height: 1;
}

.macro-card small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 850;
  text-transform: uppercase;
}

.nutrition-meter {
  height: 12px;
  display: flex;
  gap: 3px;
  overflow: hidden;
  margin-top: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.nutrition-meter div:nth-child(1) {
  background: var(--green);
}

.nutrition-meter div:nth-child(2) {
  background: #b7ff76;
}

.nutrition-meter div:nth-child(3) {
  background: #f4ffde;
}

.meal-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.meal-card {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
}

.meal-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
}

.meal-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--green);
  background: rgba(114, 255, 54, 0.11);
  border: 1px solid rgba(114, 255, 54, 0.18);
}

.meal-icon svg {
  width: 22px;
  height: 22px;
}

.meal-card h3 {
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 1.1;
}

.meal-card p {
  margin: 0;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.meal-card ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 20px;
}

.meal-card li {
  color: #d9ead5;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
}

.progress-form,
.checkin-form,
.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.plan-access-grid,
.form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.plan-actions {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.compact-card {
  gap: 10px;
}

.empty-state-card,
.latest-entry-card,
.plan-status-card {
  margin-top: 14px;
}

.compact-package-list {
  margin-top: 12px;
}

.compact-plan-card {
  padding: 14px;
}

.admin-field {
  display: grid;
  gap: 7px;
}

.admin-field.wide {
  grid-column: 1 / -1;
  margin-top: 12px;
}

.admin-field span {
  color: #dcebd8;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-field input,
.admin-field select,
.admin-field textarea,
.photo-slot input {
  width: 100%;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  outline: none;
  padding: 12px;
  font-size: 14px;
  font-weight: 750;
}

.admin-field select,
.onboarding-field select {
  color: #f7fff4;
  background-color: #0a100c;
  color-scheme: dark;
  cursor: pointer;
}

.admin-field select option,
.onboarding-field select option {
  color: #f7fff4;
  background: #080d09;
  font-weight: 750;
}

.admin-field select option:checked,
.onboarding-field select option:checked {
  color: #061105;
  background: #72ff36;
  font-weight: 950;
}

.admin-field select option:hover,
.admin-field select option:focus,
.onboarding-field select option:hover,
.onboarding-field select option:focus {
  color: #f7fff4;
  background: #1f3b20;
}

.admin-field textarea {
  resize: vertical;
  line-height: 1.45;
}

.admin-field input:focus,
.admin-field select:focus,
.admin-field textarea:focus,
.photo-slot input:focus {
  border-color: rgba(114, 255, 54, 0.72);
  box-shadow: 0 0 0 3px rgba(114, 255, 54, 0.1);
}

.onboarding-form {
  display: grid;
  gap: 14px;
  padding-bottom: 14px;
}

.onboarding-form h2 {
  margin-bottom: 0;
}

.onboarding-section {
  display: grid;
  gap: 13px;
  padding: 14px;
}

.onboarding-section-head,
.admin-section-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  align-items: center;
}

.onboarding-section-head h3,
.admin-section-heading h3 {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.15;
  font-weight: 950;
}

.admin-section-heading {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(114, 255, 54, 0.18);
  border-radius: 8px;
  background: rgba(114, 255, 54, 0.07);
}

.admin-section-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
}

.admin-trainer-tabs {
  display: flex;
  gap: 8px;
  margin: 12px 0 14px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.admin-trainer-tabs::-webkit-scrollbar {
  display: none;
}

.admin-trainer-tabs span {
  flex: 0 0 auto;
  padding: 9px 11px;
  color: var(--green);
  border: 1px solid rgba(114, 255, 54, 0.22);
  border-radius: 999px;
  background: rgba(114, 255, 54, 0.08);
  font-size: 12px;
  font-weight: 950;
}

.admin-dashboard-grid {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.admin-client-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 3px;
}

.admin-client-row {
  width: 100%;
  display: grid;
  gap: 4px;
  padding: 12px;
  text-align: left;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.admin-client-row.selected,
.admin-client-row:hover {
  border-color: rgba(114, 255, 54, 0.5);
  background: rgba(114, 255, 54, 0.09);
}

.admin-client-row strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 950;
}

.admin-client-row span,
.admin-client-row small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
}

.admin-client-profile {
  display: grid;
  gap: 14px;
}

.remote-profile-section {
  display: grid;
  gap: 10px;
}

.remote-profile-section h4 {
  margin: 0;
  color: var(--green);
  font-size: 14px;
  font-weight: 950;
}

.section-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--green);
  border: 1px solid rgba(114, 255, 54, 0.2);
  border-radius: 8px;
  background: rgba(114, 255, 54, 0.1);
}

.section-icon svg {
  width: 21px;
  height: 21px;
  stroke-width: 2.4;
}

.onboarding-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.onboarding-field input,
.onboarding-field select {
  min-height: 54px;
  font-size: 15px;
}

.onboarding-field textarea {
  min-height: 104px;
}

.onboarding-actions {
  display: grid;
  gap: 10px;
}

.wide-action {
  min-height: 54px;
}

.compact-input {
  position: relative;
}

.compact-input input {
  padding-right: 44px;
}

.compact-input small {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.photo-slot {
  min-height: 168px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 9px;
  padding: 13px;
  border: 1px dashed rgba(114, 255, 54, 0.3);
  border-radius: 8px;
  background: rgba(114, 255, 54, 0.07);
  text-align: center;
}

.photo-slot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.photo-slot svg {
  width: 32px;
  height: 32px;
  color: var(--green);
}

.photo-slot strong {
  color: var(--text);
  font-size: 14px;
}

.photo-upload-status {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
  text-align: center;
}

.upload-trigger {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 12px;
  color: #061105;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--green), var(--green-2));
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
}

.upload-trigger input {
  display: none;
}

.progress-thumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.progress-thumb-button {
  display: grid;
  gap: 5px;
  width: 88px;
  padding: 7px;
  color: var(--text);
  border: 1px solid rgba(114, 255, 54, 0.2);
  border-radius: 8px;
  background: rgba(114, 255, 54, 0.08);
  text-align: center;
}

.progress-thumb-button img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.24);
}

.progress-thumb-button span {
  color: #d9ead5;
  font-size: 10px;
  font-weight: 900;
}

.progress-image-modal {
  display: grid;
  gap: 12px;
}

.progress-image-modal img {
  width: 100%;
  max-height: 70svh;
  object-fit: contain;
  border: 1px solid rgba(114, 255, 54, 0.2);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.32);
}

.checkin-history {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.checkin-history h3 {
  margin: 0;
  font-size: 18px;
}

.history-card {
  display: grid;
  gap: 8px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.history-card strong {
  display: block;
  color: var(--green);
  font-size: 13px;
}

.history-card span,
.history-card p {
  margin: 0;
  color: #d9ead5;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
}

.week-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.week-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
}

.week-day {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #071006;
  border-radius: 8px;
  background: var(--green);
  font-size: 12px;
  font-weight: 950;
}

.week-title {
  font-weight: 850;
}

.week-subtitle {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.week-time {
  color: #dbeed8;
  font-size: 12px;
  font-weight: 850;
}

.week-card.locked-week {
  border-color: rgba(255, 255, 255, 0.1);
  opacity: 0.82;
}

.week-card.locked-week .week-day {
  color: var(--green);
  background: rgba(114, 255, 54, 0.1);
  border: 1px solid rgba(114, 255, 54, 0.28);
}

.week-card.locked-week .week-time {
  color: var(--green);
}

.result-tabs {
  position: relative;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  padding: 0 26px 4px 0;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-x;
  mask-image: none;
  -webkit-mask-image: none;
}

.result-tabs.can-scroll-right {
  mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 30px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 30px), transparent 100%);
}

.result-tabs.can-scroll-left {
  mask-image: linear-gradient(90deg, transparent 0, #000 30px, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30px, #000 100%);
}

.result-tabs.can-scroll-left.can-scroll-right {
  mask-image: linear-gradient(90deg, transparent 0, #000 30px, #000 calc(100% - 30px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30px, #000 calc(100% - 30px), transparent 100%);
}

.result-tabs.is-dragging {
  cursor: grabbing;
  user-select: none;
  scroll-snap-type: none;
}

.result-tabs::-webkit-scrollbar {
  display: none;
}

.tab-button {
  flex: 0 0 auto;
  min-width: 92px;
  max-width: none;
  min-height: 58px;
  display: grid;
  place-items: center;
  gap: 5px;
  scroll-snap-align: start;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  font-size: 10px;
  font-weight: 850;
}

.tab-button svg {
  width: 19px;
  height: 19px;
}

.tab-button.selected {
  color: #061105;
  border-color: transparent;
  background: linear-gradient(180deg, var(--green), var(--green-2));
}

.locked-app {
  min-height: 520px;
  display: grid;
  align-content: center;
  gap: 14px;
}

.client-mini {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.client-mini:last-child {
  border-bottom: 0;
}

.client-mini span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.client-mini strong {
  color: var(--text);
  font-size: 13px;
  text-align: right;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
}

.calendar-weekdays {
  margin-top: 16px;
  padding: 0 2px;
}

.calendar-weekdays span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-align: center;
}

.calendar-grid {
  margin-top: 7px;
}

.calendar-day {
  min-height: 54px;
  position: relative;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 8px 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  text-align: center;
  color: var(--text);
}

.calendar-day span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  justify-self: center;
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  border-radius: 999px;
}

.calendar-day small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
}

.calendar-day.training {
  border-color: rgba(114, 255, 54, 0.42);
  background: rgba(114, 255, 54, 0.12);
}

.calendar-day.training small {
  color: var(--green);
}

.calendar-day.rest {
  border-color: rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.calendar-day.rest small {
  color: #cbdcc7;
}

.calendar-day.free-day {
  border-color: rgba(114, 255, 54, 0.5);
  background: linear-gradient(180deg, rgba(114, 255, 54, 0.16), rgba(114, 255, 54, 0.05));
}

.calendar-day.free-day span {
  color: #061105;
  background: rgba(114, 255, 54, 0.92);
}

.calendar-day.premium-day {
  border-color: rgba(114, 255, 54, 0.32);
  background: linear-gradient(180deg, rgba(114, 255, 54, 0.12), rgba(255, 255, 255, 0.04));
}

.calendar-day.today {
  border-color: rgba(114, 255, 54, 0.86);
  box-shadow:
    inset 0 0 0 1px rgba(114, 255, 54, 0.42),
    0 0 26px rgba(114, 255, 54, 0.18);
}

.calendar-day.today span {
  color: #061105;
  background: linear-gradient(180deg, var(--green), var(--green-2));
  box-shadow: 0 0 18px rgba(114, 255, 54, 0.48);
}

.calendar-day.today::after {
  content: "Danas";
  position: absolute;
  left: 50%;
  bottom: -7px;
  transform: translateX(-50%);
  color: #061105;
  background: var(--green);
  border-radius: 999px;
  padding: 2px 6px;
  font-size: 8px;
  font-weight: 950;
}

.calendar-day.locked {
  border-color: rgba(255, 255, 255, 0.09);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(0, 0, 0, 0.28));
  opacity: 0.76;
}

.calendar-day.locked span {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
}

.calendar-day.locked small {
  color: #d4ddd1;
}

.calendar-day.locked > svg {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 12px;
  height: 12px;
  color: var(--green);
}

.calendar-day.locked.today {
  border-color: rgba(114, 255, 54, 0.86);
}

.calendar-day.locked.today span {
  color: #061105;
  background: linear-gradient(180deg, var(--green), var(--green-2));
}

.calendar-day.empty {
  visibility: hidden;
}

.program-list,
.package-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.program-card,
.package-card,
.paypal-box {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
}

.program-card {
  padding: 13px;
}

.program-card.selected-program {
  border-color: rgba(114, 255, 54, 0.66);
  box-shadow: 0 14px 42px rgba(114, 255, 54, 0.13);
}

.rest-day-card {
  border-color: rgba(114, 255, 54, 0.22);
  background:
    linear-gradient(135deg, rgba(114, 255, 54, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(0, 0, 0, 0.16);
}

.program-card.locked-program {
  position: relative;
  border-color: rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    #080b09;
}

.program-card.locked-program::after {
  content: "Premium";
  position: absolute;
  top: 12px;
  right: 12px;
  color: var(--green);
  border: 1px solid rgba(114, 255, 54, 0.32);
  border-radius: 999px;
  background: rgba(4, 8, 5, 0.88);
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.program-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.program-head h3 {
  margin: 0 0 5px;
  font-size: 18px;
  line-height: 1.1;
}

.program-head p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 650;
}

.exercise-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.exercise-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 11px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
}

.exercise-row span {
  color: #e9f6e5;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.25;
}

.exercise-row strong {
  color: var(--green);
  font-size: 12px;
  white-space: nowrap;
}

.locked-card-body {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 18px 14px;
  border: 1px dashed rgba(114, 255, 54, 0.28);
  border-radius: 8px;
  background: rgba(114, 255, 54, 0.07);
  text-align: center;
}

.locked-card-body > svg {
  width: 25px;
  height: 25px;
  color: var(--green);
}

.locked-card-body strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
}

.locked-card-body span {
  color: #cbdcc7;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
}

.exercise-row-visual {
  grid-template-columns: 58px 1fr auto;
  padding: 10px;
}

.exercise-thumb {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(114, 255, 54, 0.2);
  background:
    radial-gradient(circle at 50% 20%, rgba(114, 255, 54, 0.12), transparent 58%),
    rgba(4, 10, 5, 0.82);
}

.exercise-thumb img,
.modal-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.exercise-thumb svg,
.modal-visual svg {
  width: 100%;
  height: 100%;
}

.exercise-thumb rect,
.modal-visual rect {
  fill: rgba(4, 10, 5, 0.8);
  stroke: rgba(114, 255, 54, 0.34);
}

.exercise-thumb path,
.exercise-thumb circle,
.modal-visual path,
.modal-visual circle {
  fill: none;
  stroke: var(--green);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.exercise-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.exercise-copy small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
  font-weight: 650;
}

.exercise-actions {
  display: grid;
  justify-items: end;
  gap: 7px;
}

.exercise-actions small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
}

.tiny-action {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(114, 255, 54, 0.32);
  border-radius: 8px;
  color: var(--green);
  background: rgba(114, 255, 54, 0.09);
  padding: 0 8px;
  font-size: 11px;
  font-weight: 900;
}

.tiny-action svg {
  width: 15px;
  height: 15px;
}

.tiny-action span {
  color: inherit;
  font-size: 11px;
  line-height: 1;
}

.workout-video-action {
  width: max-content;
  justify-self: start;
  margin-top: -2px;
}

.exercise-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: end center;
  padding: 18px;
}

.exercise-modal.hidden {
  display: none;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: grid;
  place-items: center;
  padding: 18px;
}

.admin-modal.hidden {
  display: none;
}

.exercise-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
}

.exercise-modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  max-height: min(760px, calc(100svh - 36px));
  overflow-y: auto;
  border: 1px solid rgba(114, 255, 54, 0.22);
  border-radius: 16px;
  padding: 18px;
  background:
    radial-gradient(circle at 80% 0%, rgba(114, 255, 54, 0.13), transparent 35%),
    #070b08;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.65);
}

.admin-modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  max-height: min(860px, calc(100svh - 36px));
  overflow-y: auto;
  border: 1px solid rgba(114, 255, 54, 0.22);
  border-radius: 16px;
  padding: 18px;
  background:
    radial-gradient(circle at 80% 0%, rgba(114, 255, 54, 0.13), transparent 35%),
    #070b08;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.65);
}

.admin-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: start;
}

.admin-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
}

.modal-visual {
  width: 100%;
  height: 190px;
  margin-bottom: 14px;
  border: 1px solid rgba(114, 255, 54, 0.2);
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 20%, rgba(114, 255, 54, 0.12), transparent 58%),
    rgba(4, 10, 5, 0.82);
}

.modal-visual path,
.modal-visual circle {
  stroke-width: 3.1;
}

.media-status {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: #cbdcc7;
  background: rgba(255, 255, 255, 0.045);
  font-size: 11px;
  font-weight: 850;
}

.media-status.has-video {
  border-color: rgba(114, 255, 54, 0.24);
  color: var(--green);
  background: rgba(114, 255, 54, 0.08);
}

.media-status svg {
  width: 14px;
  height: 14px;
}

.guide-block {
  margin-top: 13px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.guide-block h3 {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.1;
}

.guide-block ol,
.guide-block ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.guide-block li {
  color: #d9ead5;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 650;
}

.muscle-strip,
.video-placeholder {
  margin-top: 13px;
  padding: 13px;
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(114, 255, 54, 0.2);
  border-radius: 8px;
  background: rgba(114, 255, 54, 0.08);
}

.muscle-strip svg,
.video-placeholder svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: var(--green);
}

.muscle-strip span,
.video-placeholder span {
  color: #d9ead5;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 750;
}

.video-placeholder {
  display: grid;
  justify-items: center;
  text-align: center;
}

.video-placeholder strong {
  color: var(--text);
  font-size: 14px;
}

.exercise-video {
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid rgba(114, 255, 54, 0.2);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 15%, rgba(114, 255, 54, 0.1), transparent 56%),
    #000;
}

.exercise-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 280px;
  object-fit: contain;
  background: #000;
}

.premium-lock-modal {
  display: grid;
  gap: 12px;
}

body.modal-open {
  overflow: hidden;
}

.package-card {
  width: 100%;
  display: grid;
  gap: 10px;
  padding: 15px;
  text-align: left;
  color: var(--text);
}

.package-card.selected {
  border-color: rgba(114, 255, 54, 0.68);
  box-shadow: 0 12px 34px rgba(114, 255, 54, 0.14);
}

.package-card.recommended {
  border-color: rgba(114, 255, 54, 0.36);
  background:
    linear-gradient(135deg, rgba(114, 255, 54, 0.14), rgba(255, 255, 255, 0.04)),
    #081009;
}

.package-card.pro-plan {
  border-color: rgba(114, 255, 54, 0.46);
  background:
    linear-gradient(145deg, rgba(114, 255, 54, 0.18), rgba(255, 255, 255, 0.035) 45%, rgba(114, 255, 54, 0.08)),
    #070b08;
}

.package-topline {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.package-badge {
  width: max-content;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  color: #061105;
  background: var(--green);
  font-size: 10px;
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
}

.package-price {
  color: var(--green);
  font-size: 28px;
  font-weight: 950;
  line-height: 1;
}

.package-name {
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.package-period,
.package-features,
.package-tier,
.package-description {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
}

.package-description {
  margin: 0;
  color: #dbeed8;
}

.package-tier {
  width: max-content;
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(114, 255, 54, 0.18);
  border-radius: 8px;
  background: rgba(114, 255, 54, 0.08);
  color: var(--green);
  font-weight: 900;
}

.package-columns {
  display: grid;
  gap: 10px;
}

.package-columns > div {
  display: grid;
  gap: 6px;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.package-columns strong {
  color: var(--text);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.package-feature-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
}

.package-feature-list li {
  color: #d9ead5;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 750;
}

.include-list li::marker {
  color: var(--green);
}

.exclude-list li {
  color: #b9c6b7;
}

.exclude-list li::marker {
  color: #829082;
}

.package-note,
.package-live-note {
  margin: 0;
  color: #dcefd8;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 800;
}

.package-live-note {
  display: grid;
  gap: 8px;
  padding: 11px;
  border: 1px dashed rgba(114, 255, 54, 0.28);
  border-radius: 8px;
  background: rgba(114, 255, 54, 0.07);
}

.package-live-note p {
  margin: 0;
}

.package-live-note small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
}

.comparison-card {
  overflow: hidden;
}

.comparison-scroll {
  margin-top: 12px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.comparison-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 11px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #d9ead5;
  font-size: 12px;
  line-height: 1.35;
  text-align: left;
  vertical-align: top;
}

.comparison-table thead th {
  position: sticky;
  top: 0;
  color: #061105;
  background: var(--green);
  font-weight: 950;
}

.comparison-table tbody th {
  color: var(--text);
  font-weight: 950;
}

.comparison-table tr:last-child th,
.comparison-table tr:last-child td {
  border-bottom: 0;
}

.paypal-box {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 14px;
}

.paypal-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.paypal-head strong {
  display: block;
  color: var(--text);
  font-size: 16px;
  font-weight: 900;
}

.paypal-head > span {
  color: var(--green);
  font-weight: 950;
  white-space: nowrap;
  text-align: right;
}

.paypal-status-line {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 11px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: #d9ead5;
  font-size: 12px;
  font-weight: 850;
}

.paypal-status-line svg {
  width: 17px;
  height: 17px;
  color: var(--green);
}

.paypal-placeholder {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 20px 14px;
  border: 1px dashed rgba(114, 255, 54, 0.34);
  border-radius: 8px;
  background: rgba(114, 255, 54, 0.08);
  text-align: center;
}

.paypal-placeholder svg {
  width: 26px;
  height: 26px;
  color: var(--green);
}

.paypal-placeholder strong {
  font-size: 15px;
}

.paypal-placeholder span {
  color: #cbdcc7;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 650;
}

.workout-mode {
  display: grid;
  gap: 14px;
  padding-bottom: 22px;
}

.workout-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.sound-toggle {
  min-height: 34px;
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  padding: 0 10px;
  border: 1px solid rgba(114, 255, 54, 0.24);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  font-size: 11px;
  font-weight: 900;
}

.sound-toggle.enabled {
  color: var(--green);
  background: rgba(114, 255, 54, 0.08);
}

.sound-toggle svg {
  width: 16px;
  height: 16px;
}

.workout-progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #dcefd8;
  font-size: 12px;
  font-weight: 900;
}

.workout-progress-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.workout-progress-track div {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--green-2));
}

.workout-exercise-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(114, 255, 54, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(114, 255, 54, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(0, 0, 0, 0.16);
}

.workout-visual {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(114, 255, 54, 0.2);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 18%, rgba(114, 255, 54, 0.14), transparent 58%),
    rgba(4, 10, 5, 0.82);
}

.workout-visual img,
.workout-visual svg {
  width: 100%;
  height: 100%;
}

.workout-visual img {
  display: block;
  object-fit: contain;
  padding: 8px;
}

.active-workout-image {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
}

.active-workout-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
}

.exercise-media-fallback {
  background:
    radial-gradient(circle at 50% 22%, rgba(114, 255, 54, 0.12), transparent 58%),
    rgba(4, 10, 5, 0.9);
}

.workout-visual rect {
  fill: rgba(4, 10, 5, 0.8);
  stroke: rgba(114, 255, 54, 0.34);
}

.workout-visual path,
.workout-visual circle {
  fill: none;
  stroke: var(--green);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.workout-exercise-copy {
  display: grid;
  gap: 8px;
}

.exercise-block {
  width: max-content;
  max-width: 100%;
  color: #061105;
  background: var(--green);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 10px;
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
}

.workout-exercise-copy h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.05;
  font-weight: 950;
}

.workout-exercise-copy p {
  margin: 0;
  color: #dbeed8;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
}

.workout-prescription,
.workout-note,
.timer-card {
  display: grid;
  gap: 5px;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.workout-prescription strong,
.workout-note strong,
.timer-card strong {
  color: var(--green);
  font-size: 20px;
  line-height: 1;
  font-weight: 950;
}

.workout-prescription small,
.workout-note span,
.timer-card span,
.timer-card small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
  font-weight: 850;
  text-transform: uppercase;
}

.timer-card {
  text-align: center;
}

.timer-card strong {
  font-size: 36px;
}

.rest-skip-action {
  margin-top: 8px;
  min-height: 42px;
}

.workout-actions,
.contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.contact-actions .mini-action:only-child {
  grid-column: 1 / -1;
}

.workout-start-inline {
  margin-top: 12px;
}

.workout-finished {
  min-height: 580px;
  align-content: center;
}

.chat-panel {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.chat-list,
.admin-history-list {
  display: grid;
  gap: 10px;
}

.chat-list {
  max-height: 360px;
  overflow-y: auto;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.chat-message {
  width: min(88%, 320px);
  display: grid;
  gap: 5px;
  padding: 11px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.chat-message.client {
  justify-self: end;
  border: 1px solid rgba(114, 255, 54, 0.24);
  background: rgba(114, 255, 54, 0.09);
}

.chat-message.trainer {
  justify-self: start;
}

.chat-message span {
  color: var(--green);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.chat-message p {
  margin: 0;
  color: #e9f6e5;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
}

.chat-message small,
.chat-status {
  color: var(--green);
  font-size: 11px;
  line-height: 1.35;
  font-weight: 900;
}

.chat-status {
  padding: 11px;
  border: 1px solid rgba(114, 255, 54, 0.2);
  border-radius: 8px;
  background: rgba(114, 255, 54, 0.08);
  text-align: center;
}

.chat-status.error-status {
  color: #ffd7cc;
  border-color: rgba(255, 109, 77, 0.28);
  background: rgba(255, 109, 77, 0.08);
}

.locked-feature-card {
  display: grid;
  gap: 11px;
  border-color: rgba(114, 255, 54, 0.24);
}

.action-bar {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 18px max(18px, env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(4, 6, 5, 0.82) 20%, #040605 68%);
}

.primary-action {
  width: 100%;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 8px;
  color: #061105;
  background: linear-gradient(180deg, var(--green), var(--green-2));
  box-shadow: 0 16px 40px rgba(114, 255, 54, 0.25);
  font-weight: 950;
}

.primary-action:disabled {
  opacity: 0.42;
  box-shadow: none;
}

.mini-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  width: 100%;
  border: 1px solid rgba(114, 255, 54, 0.28);
  border-radius: 8px;
  color: var(--green);
  background: rgba(114, 255, 54, 0.08);
  font-weight: 900;
}

.mini-action.ghost {
  color: #061105;
  border-color: transparent;
  background: linear-gradient(180deg, var(--green), var(--green-2));
}

.mini-action:disabled {
  opacity: 0.52;
  cursor: not-allowed;
}

.error {
  color: var(--danger);
  font-size: 13px;
  font-weight: 800;
  margin-top: 12px;
}

.hidden {
  display: none;
}

@media (max-width: 520px) {
  .app-shell {
    padding: 0;
    min-height: 100svh;
    display: block;
  }

  .phone {
    width: 100vw;
    max-width: none;
    min-height: 100svh;
    max-height: none;
    border: 0;
    border-radius: 0;
  }

  .screen {
    padding-left: 18px;
    padding-right: 18px;
  }

  .exercise-modal {
    padding: 0;
  }

  .exercise-modal-card {
    width: 100%;
    max-height: 88svh;
    border-radius: 18px 18px 0 0;
  }

  .admin-modal {
    padding: 0;
    place-items: end center;
  }

  .admin-modal-card {
    width: 100%;
    max-height: 92svh;
    border-radius: 18px 18px 0 0;
  }

  .admin-grid,
  .progress-form,
  .checkin-form,
  .plan-access-grid,
  .form-actions,
  .photo-grid,
  .admin-actions,
  .workout-actions,
  .contact-actions {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 38px;
  }
}

@media (max-width: 360px) {
  .choice-pills,
  .option-grid.two,
  .metric-grid,
  .macro-grid,
  .client-summary-grid {
    grid-template-columns: 1fr;
  }

  .summary-head {
    display: grid;
  }

  .exercise-row-visual {
    grid-template-columns: 52px 1fr;
  }

  .exercise-actions {
    grid-column: 2;
    grid-template-columns: auto auto;
    justify-content: space-between;
    justify-items: start;
  }

  h1 {
    font-size: 34px;
  }
}
