@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Paleta GYMRAT Studio — alineada con Color.kt / Theme.kt (app Android) */
  --brand: #5B9BD5;
  --brand-hover: #4A8BC4;
  --brand-light: #92C1E9;
  --brand-lighter: #B8D9F2;
  --brand-soft: #D6EBFA;
  --brand-glow: rgba(91, 155, 213, 0.22);
  --coral: #FFAB91;
  --coral-soft: #FFE8DE;
  --peach: #FFE8DE;
  --peach-dark: #FFB4A2;
  --sidebar: #FFFFFF;
  --sidebar-hover: #F7FAFD;
  --sidebar-active: linear-gradient(135deg, #5B9BD5 0%, #92C1E9 100%);
  --bg: #FFF8F5;
  --bg-accent: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(146, 193, 233, 0.18), transparent);
  --surface: #ffffff;
  --text: #3D3A42;
  --text-secondary: #5C5763;
  --muted: #7A7380;
  --border: rgba(146, 193, 233, 0.35);
  --border-strong: #B8D9F2;
  --ok: #66BB6A;
  --ok-soft: #DFF7EE;
  --warn: #FF8A80;
  --warn-soft: #FFE8DE;
  --err: #E57373;
  --err-soft: #FFEBEE;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(61, 58, 66, 0.05);
  --shadow: 0 4px 16px rgba(91, 155, 213, 0.1);
  --shadow-lg: 0 12px 40px rgba(91, 155, 213, 0.14);
  --header-h: 72px;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  background-image: var(--bg-accent);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-hover); }

.hidden { display: none !important; }

/* ─── Login ─── */
.login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  background:
    radial-gradient(circle at 20% 20%, rgba(146, 193, 233, 0.28), transparent 42%),
    radial-gradient(circle at 80% 80%, rgba(255, 171, 145, 0.15), transparent 38%),
    var(--bg);
}

.login-logo {
  width: min(220px, 72vw);
  height: auto;
  margin-bottom: 12px;
  display: block;
}

.brand-logo {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}

.sidebar .brand {
  padding: 4px 12px 20px;
}

.sidebar .brand .brand-logo {
  height: 44px;
}

.login-page .login-sub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.login-page .card {
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-lg);
}

.login-page .card h2 {
  margin: 0 0 20px;
  font-size: 1.25rem;
  font-weight: 700;
}

.login-footer {
  text-align: center;
  font-size: 0.85rem;
  margin-top: 20px;
  color: var(--muted);
}

/* ─── App header ─── */
.app-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.app-header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
  padding: 0 28px;
  max-width: 1600px;
  margin: 0 auto;
}

.app-header-user {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.user-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--sidebar-active);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-transform: uppercase;
  overflow: hidden;
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.user-avatar.has-photo { background: var(--border); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--brand-soft); }
.user-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

.user-header-info { min-width: 0; }
.user-header-name { font-weight: 700; font-size: 0.95rem; line-height: 1.25; letter-spacing: -0.01em; }
.user-header-email { font-size: 0.8rem; color: var(--muted); line-height: 1.3; margin-top: 1px; }

.app-header-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-left: auto;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--brand-soft);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

.meta-pill code {
  background: transparent;
  padding: 0;
  font-weight: 700;
  color: var(--brand);
  font-size: 0.82rem;
}

.meta-pill i { color: var(--brand); font-size: 0.95rem; }

.app-header-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* ─── Layout ─── */
.layout {
  display: grid;
  grid-template-columns: 252px 1fr;
  min-height: calc(100vh - var(--header-h));
}

.content-shell { min-width: 0; }

.sidebar {
  background: var(--sidebar);
  color: var(--text);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-right: 1px solid var(--border);
  box-shadow: 2px 0 12px rgba(91, 155, 213, 0.06);
}

.sidebar .brand {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  padding: 8px 12px 20px;
}

.nav-section-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 16px 12px 6px;
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s, transform 0.1s;
}

.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.nav-btn i {
  font-size: 1.15rem;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}

.nav-btn span { flex: 1; }

.nav-btn:hover {
  background: var(--brand-soft);
  color: var(--brand-hover);
}

.nav-btn.active {
  background: var(--sidebar-active);
  color: #fff;
  box-shadow: 0 4px 14px var(--brand-glow);
}

.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--err);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
}

.nav-btn .nav-badge { margin-left: auto; }
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--err);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
}

.footer-links {
  margin-top: auto;
  padding: 16px 12px 8px;
  font-size: 0.78rem;
  border-top: 1px solid var(--border);
}

.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--brand); }

/* ─── Main ─── */
.main {
  padding: 28px 32px 48px;
  max-width: 1280px;
}

.page-header {
  margin-bottom: 24px;
}

.page-header h1 {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.page-header p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ─── Stats ─── */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s, box-shadow 0.15s;
}

.stat:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.stat-icon.orange { background: var(--brand-soft); color: var(--brand); }
.stat-icon.green { background: var(--ok-soft); color: var(--ok); }
.stat-icon.red { background: var(--err-soft); color: var(--err); }
.stat-icon.blue { background: var(--brand-soft); color: var(--brand-hover); }
.stat-icon.purple { background: var(--coral-soft); color: var(--peach-dark); }

.stat-body { min-width: 0; }

.stat .value {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.1;
}

.stat .label {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 500;
}

/* ─── Cards ─── */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.card-head h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card-head p {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.card-desc {
  color: var(--muted);
  font-size: 0.9rem;
  margin: -8px 0 20px;
  line-height: 1.5;
}

.info-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--brand-soft);
  border: 1px solid rgba(91, 155, 213, 0.25);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.info-banner i { color: var(--brand); font-size: 1.2rem; flex-shrink: 0; }
.info-banner code {
  background: rgba(255, 255, 255, 0.7);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 700;
  color: var(--brand);
}

/* ─── Forms & inputs ─── */
input, select, textarea, button.btn {
  font: inherit;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  transition: border-color 0.15s, box-shadow 0.15s;
}

input, select, textarea {
  width: 100%;
  padding: 11px 14px;
  background: #fff;
  color: var(--text);
  font-size: 0.9rem;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-glow);
}

input::placeholder, textarea::placeholder { color: #a1a1aa; }

.search-wrap {
  position: relative;
  max-width: 360px;
  margin-bottom: 16px;
}

.search-wrap i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 1.1rem;
  pointer-events: none;
}

.search-wrap input {
  padding-left: 42px;
}

button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--brand);
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: 0 2px 8px var(--brand-glow);
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
}

button.btn:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px var(--brand-glow);
}

button.btn:active { transform: translateY(0); }

button.btn.secondary {
  background: var(--text);
  box-shadow: 0 2px 8px rgba(61, 58, 66, 0.15);
}

button.btn.secondary:hover { background: #2D2A32; }

button.btn.ghost {
  background: #fff;
  color: var(--text-secondary);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}

button.btn.ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}

button.btn.link {
  background: none;
  border: none;
  color: var(--brand);
  padding: 0;
  box-shadow: none;
  font-weight: 600;
}

button.btn.link:hover { background: none; transform: none; color: var(--brand-hover); }

button.btn.small { padding: 7px 12px; font-size: 0.8rem; }
button.btn.danger { background: var(--err); box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2); }
button.btn.danger:hover { background: #b91c1c; }

.btn-table {
  padding: 7px 14px !important;
  font-size: 0.8rem !important;
  border-radius: 8px !important;
}

/* ─── Tables ─── */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

thead { background: var(--brand-soft); }

th {
  text-align: left;
  padding: 12px 16px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
}

td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

tbody tr { transition: background 0.12s; }
tbody tr:hover { background: rgba(214, 235, 250, 0.35); }
tbody tr:last-child td { border-bottom: none; }

.client-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.client-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.client-cell strong { font-weight: 600; }

/* ─── Badges ─── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge.ok { background: var(--ok-soft); color: #388E3C; }
.badge.warn { background: var(--warn-soft); color: #C62828; }
.badge.err { background: var(--err-soft); color: #C62828; }
.badge.neutral { background: var(--brand-soft); color: var(--brand-hover); }

/* ─── Tabs ─── */
.tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 4px;
  background: var(--coral-soft);
  border-radius: var(--radius-sm);
  border: none;
}

.tab {
  padding: 9px 14px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  transition: background 0.12s, color 0.12s;
}

.tab:hover { color: var(--text); background: rgba(255, 255, 255, 0.6); }

.tab.active {
  color: var(--brand);
  font-weight: 700;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ─── Misc blocks ─── */
.routine-block {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin: 12px 0;
  background: rgba(255, 255, 255, 0.85);
  transition: border-color 0.12s;
}

.routine-block:hover { border-color: var(--border-strong); }
.routine-block ul { padding-left: 18px; margin: 10px 0 0; }
.routine-block li { margin: 6px 0; color: var(--text-secondary); }

.inbox-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.12s, box-shadow 0.12s, transform 0.12s;
}

.inbox-item:hover {
  border-color: var(--brand-light);
  box-shadow: var(--shadow-sm);
  transform: translateX(2px);
}

.inbox-item .cat {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand);
}

.inbox-item .title { font-weight: 700; margin: 3px 0; font-size: 0.92rem; }
.inbox-item .sub { font-size: 0.84rem; color: var(--muted); line-height: 1.4; }

.form-section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.form-section h4 {
  margin: 0 0 14px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.field-label {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 600;
}

.error { color: var(--err); font-size: 0.875rem; margin-top: 10px; }
.success { color: var(--ok); font-size: 0.875rem; margin-top: 10px; font-weight: 500; }
.empty { color: var(--muted); font-style: normal; padding: 32px 16px; text-align: center; font-size: 0.9rem; }

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 16px 0;
}

.detail-grid dt { font-size: 0.72rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.detail-grid dd { margin: 4px 0 0; font-weight: 600; }

.msg-list { list-style: none; padding: 0; max-height: 320px; overflow-y: auto; }
.msg-list li { padding: 10px 14px; margin: 8px 0; border-radius: var(--radius-sm); font-size: 0.875rem; }
.msg-list li.mine { background: var(--coral-soft); margin-left: 32px; border: 1px solid rgba(255, 171, 145, 0.35); }
.msg-list li.theirs { background: var(--brand-soft); margin-right: 32px; }

.chat-compose { display: flex; gap: 10px; margin-top: 14px; }
.chat-compose input { flex: 1; }

.client-header {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.client-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.goal-card, .phase-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin: 10px 0;
  background: #fafbfe;
}

.inline-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }

.exercise-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 10px;
}

/* ─── Modal ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 17, 23, 0.5);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal {
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  margin: 0;
  box-shadow: var(--shadow-lg);
}

.modal-close { float: right; margin-bottom: 8px; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

.back-link:hover { color: var(--brand); }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .app-header-meta { display: none; }
}

@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar {
    position: sticky;
    top: var(--header-h);
    z-index: 10;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 12px;
    gap: 6px;
  }
  .sidebar .brand { padding: 4px 8px 8px; width: 100%; }
  .sidebar nav {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
  }
  .nav-btn { width: auto; flex: 1 1 auto; min-width: calc(50% - 4px); }
  .nav-section-label, .footer-links { display: none; }
  .main { padding: 20px 16px 40px; }
  .app-header-inner { padding: 0 16px; gap: 12px; }
  .user-header-info { display: none; }
  .exercise-row { grid-template-columns: 1fr; }
}

/* ─── Fase 1-3: analytics, progreso, tags, gamificación ─── */
.progress-bar { height: 8px; background: var(--brand-soft); border-radius: 999px; overflow: hidden; margin: 8px 0 4px; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-light)); border-radius: 999px; transition: width 0.3s; }
.progress-fill.done { background: var(--ok); }
.progress-label { font-size: 0.8rem; color: var(--muted); }
.summary-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin-bottom: 20px; }
.summary-stat { background: var(--brand-soft); border-radius: var(--radius-sm); padding: 14px; text-align: center; }
.summary-stat.warn { background: var(--warn-soft); }
.summary-stat .val { font-size: 1.4rem; font-weight: 800; color: var(--brand); }
.summary-stat .lbl { font-size: 0.75rem; color: var(--muted); margin-top: 4px; }
.volume-chart { display: flex; align-items: flex-end; gap: 8px; height: 90px; margin: 12px 0 20px; }
.vol-bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; }
.vol-bar div { width: 100%; max-width: 32px; background: var(--brand); border-radius: 4px 4px 0 0; min-height: 4px; }
.vol-bar span { font-size: 0.65rem; color: var(--muted); }
.scan-chart-row { display: flex; align-items: flex-end; gap: 4px; height: 70px; margin: 8px 0; }
.scan-bar { flex: 1; display: flex; align-items: flex-end; justify-content: center; }
.scan-bar-w { width: 100%; max-width: 20px; background: var(--coral); border-radius: 3px 3px 0 0; }
.chart-legend { font-size: 0.75rem; color: var(--muted); }
.tag-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.tag-chip { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 0.7rem; background: var(--brand-soft); color: var(--brand-hover); border: none; cursor: pointer; }
.tag-suggestions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.achievement-badge { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--ok-soft); font-size: 0.85rem; margin: 4px; }
.achievements { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.day-check { display: inline-flex; align-items: center; gap: 6px; margin: 4px 12px 4px 0; font-size: 0.875rem; }
.field-label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 4px; }

@media (max-width: 640px) {
  .row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
