/* =========================================================================
   Mi Plan — hoja de estilos
   ====================================================================== */

:root {
  --bg:        #0a0d0c;
  --bg-2:      #0f1412;
  --surface:   #151d1a;
  --surface-2: #1c2723;
  --line:      #253430;
  --line-soft: #1b2622;

  --text:      #eaf3ee;
  --text-dim:  #9db0a7;
  --text-mute: #6b7f76;

  --acc:       #a8e05f;   /* lima  */
  --acc-2:     #2fd085;   /* verde */
  --acc-deep:  #0f3d2b;
  --warn:      #ffb347;
  --bad:       #ff6b6b;

  --s1:        #a8e05f;
  --s2:        #57c7ff;

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 28px;

  --shadow: 0 18px 40px -22px rgba(0,0,0,.85);
  --nav-h: 68px;

  --font: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(168,224,95,.13), transparent 60%),
    radial-gradient(760px 480px at 96% 4%, rgba(47,208,133,.10), transparent 62%);
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ---------------------------------------------------------------- login -- */

.login-wrap {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
  position: relative;
  z-index: 1;
}

.login-card {
  width: min(420px, 100%);
  background: linear-gradient(180deg, rgba(28,39,35,.94), rgba(17,24,21,.97));
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 38px 30px 30px;
  box-shadow: var(--shadow);
}

.login-mark {
  width: 62px; height: 62px;
  border-radius: 20px;
  display: grid; place-items: center;
  font-size: 30px;
  background: linear-gradient(140deg, var(--acc), var(--acc-2));
  margin-bottom: 20px;
  box-shadow: 0 12px 30px -12px rgba(168,224,95,.7);
}

.login-card h1 { font-size: 28px; margin: 0 0 4px; letter-spacing: -.02em; }
.login-card p.sub { color: var(--text-dim); margin: 0 0 26px; font-size: 15px; }

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--text-mute);
  margin-bottom: 7px;
  font-weight: 600;
}
.field input[type=text],
.field input[type=email],
.field input[type=password],
.field input[type=date],
.field input[type=number],
.field textarea,
.field select {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: var(--r-sm);
  padding: 13px 14px;
  font-size: 16px;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--acc);
  box-shadow: 0 0 0 3px rgba(168,224,95,.16);
}
.field textarea { min-height: 90px; resize: vertical; }

.check-row {
  display: flex; align-items: center; gap: 9px;
  color: var(--text-dim); font-size: 14.5px; margin: 6px 0 22px;
}
.check-row input { width: 17px; height: 17px; accent-color: var(--acc); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  background: linear-gradient(135deg, var(--acc), var(--acc-2));
  color: #08170f;
  font-weight: 700;
  font-size: 16px;
  border: 0;
  border-radius: var(--r-sm);
  padding: 14px 18px;
  cursor: pointer;
  transition: transform .15s, filter .15s;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.btn.small { width: auto; padding: 9px 16px; font-size: 14px; }

.alert {
  background: rgba(255,107,107,.12);
  border: 1px solid rgba(255,107,107,.35);
  color: #ffc9c9;
  padding: 11px 14px;
  border-radius: var(--r-sm);
  font-size: 14.5px;
  margin-bottom: 18px;
}
.alert.ok {
  background: rgba(47,208,133,.12);
  border-color: rgba(47,208,133,.4);
  color: #b6f2d6;
}

/* ------------------------------------------------------------- app shell -- */

.app {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px calc(var(--nav-h) + 40px);
}

.topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px;
  padding: 20px 2px 12px;
}
.brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.brand .mark {
  width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center; font-size: 19px;
  background: linear-gradient(140deg, var(--acc), var(--acc-2));
  flex: 0 0 auto;
}
.brand .who { min-width: 0; }
.brand .who b { display: block; font-size: 15px; letter-spacing: -.01em; }
.brand .who span { display: block; font-size: 12.5px; color: var(--text-mute); }

.icon-btn {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text-dim);
  display: grid; place-items: center;
  cursor: pointer;
  font-size: 16px;
  transition: color .15s, border-color .15s;
}
.icon-btn:hover { color: var(--acc); border-color: var(--acc); }

/* -------------------------------------------------------------- navegación */

.nav {
  position: fixed;
  left: 50%; transform: translateX(-50%);
  bottom: 12px;
  width: min(560px, calc(100% - 24px));
  height: var(--nav-h);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  background: rgba(18,26,23,.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 22px;
  z-index: 40;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.9);
}
.nav a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px;
  color: var(--text-mute);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .02em;
  transition: color .15s;
}
.nav a i { font-style: normal; font-size: 20px; line-height: 1; }
.nav a.on { color: var(--acc); }
.nav a.on i { filter: drop-shadow(0 0 10px rgba(168,224,95,.55)); }

/* ------------------------------------------------------------------ hero -- */

.hero {
  background: linear-gradient(150deg, rgba(28,39,35,.95), rgba(15,21,19,.95));
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 24px;
  display: flex; align-items: center; gap: 22px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero::after {
  content: '';
  position: absolute; right: -60px; top: -70px;
  width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(168,224,95,.20), transparent 68%);
}
.hero .info { flex: 1; min-width: 0; position: relative; }
.hero .eyebrow {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--acc); font-weight: 700; margin-bottom: 4px;
}
.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(24px, 6vw, 34px);
  letter-spacing: -.03em;
  line-height: 1.1;
}
.hero .chips { display: flex; flex-wrap: wrap; gap: 7px; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text-dim);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 12.5px;
  font-weight: 600;
}
.chip.s1 { color: #08170f; background: var(--s1); border-color: var(--s1); }
.chip.s2 { color: #06202b; background: var(--s2); border-color: var(--s2); }
.chip.warn { color: var(--warn); border-color: rgba(255,179,71,.4); background: rgba(255,179,71,.1); }

/* anillo de progreso */
.ring { position: relative; flex: 0 0 auto; width: 92px; height: 92px; }
.ring svg { transform: rotate(-90deg); display: block; }
.ring .val {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 20px; font-weight: 700; letter-spacing: -.02em;
}
.ring .val small { display: block; font-size: 10px; color: var(--text-mute); font-weight: 600; letter-spacing: .06em; }

/* ------------------------------------------------------------- secciones -- */

.section { margin-top: 26px; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; margin-bottom: 13px; padding: 0 2px;
}
.section-head h2 {
  font-size: 13px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--text-mute); margin: 0; font-weight: 700;
}
.section-head .link { font-size: 13.5px; color: var(--acc); font-weight: 600; }

/* -------------------------------------------------------------- timeline -- */

.timeline { position: relative; padding-left: 26px; }
.timeline::before {
  content: '';
  position: absolute; left: 8px; top: 12px; bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--line), var(--line-soft));
}

.meal {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.meal::before {
  content: '';
  position: absolute; left: -24px; top: 25px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--line);
}
.meal.now { border-color: var(--acc); box-shadow: 0 0 0 1px rgba(168,224,95,.25), 0 16px 34px -20px rgba(168,224,95,.55); }
.meal.now::before { background: var(--acc); border-color: var(--acc); box-shadow: 0 0 0 4px rgba(168,224,95,.2); }
.meal.done { opacity: .62; }
.meal.done::before { background: var(--acc-2); border-color: var(--acc-2); }

.meal-head {
  display: flex; align-items: flex-start; gap: 13px;
  padding: 15px 16px;
  cursor: pointer;
}
.meal-emoji {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 22px;
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
}
.meal.now .meal-emoji { background: rgba(168,224,95,.13); border-color: rgba(168,224,95,.35); }

.meal-body { flex: 1; min-width: 0; }
.meal-meta {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 3px;
}
.meal-slot {
  font-size: 11px; letter-spacing: .11em; text-transform: uppercase;
  color: var(--text-mute); font-weight: 700;
}
.meal-time {
  font-size: 12px; font-weight: 700;
  color: var(--text-dim);
  background: var(--surface-2);
  border-radius: 999px; padding: 2px 8px;
}
.meal.now .meal-time { background: var(--acc); color: #08170f; }
.badge-now {
  font-size: 10px; letter-spacing: .1em; font-weight: 800;
  color: var(--acc); text-transform: uppercase;
}
.meal-title {
  font-size: 16.5px; font-weight: 600; letter-spacing: -.015em;
  line-height: 1.32;
}
.meal.done .meal-title { text-decoration: line-through; text-decoration-color: var(--text-mute); }
.meal-extras {
  margin-top: 7px;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.tag {
  font-size: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 3px 8px;
  color: var(--text-dim);
}

.tick {
  flex: 0 0 auto;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: transparent;
  color: transparent;
  display: grid; place-items: center;
  cursor: pointer;
  font-size: 15px;
  margin-top: 6px;
  transition: all .18s;
}
.tick:hover { border-color: var(--acc); }
.meal.done .tick { background: var(--acc-2); border-color: var(--acc-2); color: #08170f; }

.meal-detail {
  display: none;
  padding: 0 16px 17px 73px;
  border-top: 1px solid var(--line-soft);
  margin-top: 2px;
  padding-top: 14px;
}
.meal.open .meal-detail { display: block; }

.detail-title {
  font-size: 11px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--acc); font-weight: 700; margin: 0 0 8px;
}
.ing-list { list-style: none; margin: 0 0 16px; padding: 0; }
.ing-list li {
  font-size: 14.5px; color: var(--text-dim);
  padding: 5px 0 5px 18px; position: relative;
  border-bottom: 1px dashed var(--line-soft);
}
.ing-list li:last-child { border-bottom: 0; }
.ing-list li::before {
  content: ''; position: absolute; left: 2px; top: 13px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--acc-2);
}
.steps { margin: 0; padding-left: 19px; }
.steps li {
  font-size: 14.5px; color: var(--text-dim);
  margin-bottom: 8px; line-height: 1.55;
}
.steps li::marker { color: var(--acc); font-weight: 700; }
.note {
  margin-top: 12px;
  background: rgba(255,179,71,.09);
  border-left: 3px solid var(--warn);
  border-radius: 0 8px 8px 0;
  padding: 9px 12px;
  font-size: 13.5px;
  color: #ffd9a3;
}

/* ----------------------------------------------------------------- agua -- */

.water {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px 18px;
}
.water-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.water-head b { font-size: 15px; }
.water-head span { color: var(--text-mute); font-size: 13px; }
.glasses { display: flex; flex-wrap: wrap; gap: 7px; }
.glass {
  width: 30px; height: 38px;
  border-radius: 5px 5px 10px 10px;
  border: 2px solid var(--line);
  background: transparent;
  cursor: pointer;
  transition: all .18s;
  position: relative;
}
.glass.on {
  background: linear-gradient(180deg, rgba(87,199,255,.25), rgba(87,199,255,.75));
  border-color: var(--s2);
}

/* -------------------------------------------------------------- semana --- */

.week-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
.day-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .2s;
}
.day-card.today { border-color: var(--acc); }
.day-card-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line-soft);
}
.day-card-head b { font-size: 15.5px; letter-spacing: -.01em; }
.day-card-head small { color: var(--text-mute); font-size: 12.5px; display: block; }
.day-rows { padding: 6px 6px 8px; }
.day-row {
  display: flex; align-items: center; gap: 11px;
  padding: 8px 10px;
  border-radius: 12px;
}
.day-row:hover { background: var(--surface-2); }
.day-row .em { font-size: 18px; width: 24px; text-align: center; flex: 0 0 auto; }
.day-row .tx { flex: 1; min-width: 0; }
.day-row .tx b {
  display: block; font-size: 10.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-mute); font-weight: 700;
}
.day-row .tx span { font-size: 14px; color: var(--text); line-height: 1.35; display: block; }
.day-row .hr { font-size: 12px; color: var(--text-mute); font-weight: 600; flex: 0 0 auto; }

/* ---------------------------------------------------------- calendario --- */

.cal {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px;
}
.cal-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.cal-head b { font-size: 18px; letter-spacing: -.02em; }
.cal-dow {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 5px; margin-bottom: 7px;
}
.cal-dow span {
  text-align: center; font-size: 11px; font-weight: 700;
  color: var(--text-mute); letter-spacing: .08em;
}
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-cell {
  aspect-ratio: 1 / 1.08;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
  background: var(--bg-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px;
  font-size: 14px;
  color: var(--text-dim);
  position: relative;
  transition: transform .15s, border-color .15s;
}
.cal-cell:hover { transform: translateY(-2px); border-color: var(--acc); }
.cal-cell.out { opacity: .28; }
.cal-cell.pre { opacity: .38; }
.cal-cell .dot { width: 16px; height: 3px; border-radius: 2px; }
.cal-cell.w1 .dot { background: var(--s1); }
.cal-cell.w2 .dot { background: var(--s2); }
.cal-cell.today {
  border-color: var(--acc);
  background: rgba(168,224,95,.12);
  color: var(--text);
  font-weight: 700;
}
.cal-legend {
  display: flex; gap: 16px; margin-top: 15px; flex-wrap: wrap;
  font-size: 13px; color: var(--text-dim);
}
.cal-legend i { display: inline-block; width: 20px; height: 4px; border-radius: 2px; margin-right: 7px; vertical-align: middle; }

/* ------------------------------------------------------------- compra ---- */

.cat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  margin-bottom: 12px;
  overflow: hidden;
}
.cat-head {
  display: flex; align-items: center; gap: 11px;
  padding: 13px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line-soft);
}
.cat-head .em { font-size: 20px; }
.cat-head b { flex: 1; font-size: 14.5px; }
.cat-head .cnt { font-size: 12.5px; color: var(--text-mute); font-weight: 700; }
.buy-item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
}
.buy-item:last-child { border-bottom: 0; }
.buy-item .box {
  width: 22px; height: 22px; border-radius: 7px;
  border: 2px solid var(--line);
  display: grid; place-items: center;
  color: transparent; font-size: 12px; flex: 0 0 auto;
  transition: all .16s;
}
.buy-item.on .box { background: var(--acc-2); border-color: var(--acc-2); color: #08170f; }
.buy-item span { font-size: 14.5px; }
.buy-item.on span { color: var(--text-mute); text-decoration: line-through; }

/* ---------------------------------------------------------- documentos --- */

.doc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px;
  margin-bottom: 12px;
}
.doc-card.vacia {
  border-style: dashed;
  background: transparent;
}
.doc-head { display: flex; align-items: flex-start; gap: 14px; }
.doc-num {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  border-radius: 15px;
  display: grid; place-items: center;
  font-size: 21px; font-weight: 800;
  color: #08170f;
}
.doc-num.s1 { background: var(--s1); }
.doc-num.s2 { background: var(--s2); color: #06202b; }
.doc-card.vacia .doc-num { background: var(--surface-2); color: var(--text-mute); }
.doc-tx { min-width: 0; flex: 1; }
.doc-tx b { display: block; font-size: 17px; letter-spacing: -.02em; }
.doc-tx small { display: block; color: var(--text-mute); font-size: 12.5px; margin-top: 3px; line-height: 1.5; }

.doc-actions {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 15px; padding-left: 60px;
}
.doc-actions .btn { width: auto; }

.visor { margin-top: 16px; }
.visor iframe {
  width: 100%;
  height: min(78vh, 900px);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #1a1a1a;
  display: block;
}

@media (max-width: 520px) {
  .doc-actions { padding-left: 0; }
  .visor iframe { height: 62vh; }
}

/* ------------------------------------------------------------ progreso --- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 11px;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 15px 16px;
}
.stat .k {
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-mute); font-weight: 700; margin-bottom: 6px;
}
.stat .v { font-size: 25px; font-weight: 700; letter-spacing: -.03em; }
.stat .v small { font-size: 14px; color: var(--text-dim); font-weight: 600; margin-left: 3px; }
.stat .d { font-size: 13px; font-weight: 700; margin-top: 4px; }
.d.buena { color: var(--acc-2); }
.d.mala  { color: var(--bad); }
.d.neutra{ color: var(--text-mute); }

.chart-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px 16px 12px;
}
.chart-card svg { width: 100%; height: auto; display: block; }

.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); }
table.data {
  width: 100%; border-collapse: collapse; background: var(--surface);
  font-size: 14px; min-width: 520px;
}
table.data th, table.data td {
  padding: 11px 14px; text-align: right; white-space: nowrap;
  border-bottom: 1px solid var(--line-soft);
}
table.data th {
  background: var(--surface-2); color: var(--text-mute);
  font-size: 11px; letter-spacing: .09em; text-transform: uppercase;
  position: sticky; top: 0;
}
table.data th:first-child, table.data td:first-child { text-align: left; position: sticky; left: 0; background: var(--surface); }
table.data th:first-child { background: var(--surface-2); }
table.data tbody tr:last-child td { border-bottom: 0; }

/* ----------------------------------------------------------------- form -- */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
}
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
.form-actions { display: flex; gap: 10px; margin-top: 10px; }
.form-actions .btn { width: auto; }

.empty {
  text-align: center;
  padding: 44px 20px;
  color: var(--text-mute);
}
.empty .em { font-size: 42px; display: block; margin-bottom: 12px; opacity: .7; }

.obs-list { list-style: none; margin: 0; padding: 0; }
.obs-list li {
  display: flex; gap: 11px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14.5px; color: var(--text-dim); line-height: 1.55;
}
.obs-list li:last-child { border-bottom: 0; }
.obs-list li::before { content: '✓'; color: var(--acc); font-weight: 700; flex: 0 0 auto; }

.aller { display: flex; flex-wrap: wrap; gap: 7px; }

/* ------------------------------------------------------------- escritorio */

@media (min-width: 720px) {
  .week-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .app { padding-bottom: 60px; }
  .nav {
    position: sticky; top: 12px; bottom: auto;
    transform: none; left: auto; margin: 0 auto 8px;
    width: 100%; max-width: 620px; height: 58px;
    border-radius: 18px;
  }
  .nav a { flex-direction: row; gap: 8px; font-size: 13px; }
  .nav a i { font-size: 17px; }
}

@media (min-width: 1024px) {
  .week-grid { grid-template-columns: repeat(3, 1fr); }
  .hero { padding: 32px; }
}

/* -------------------------------------------------------------- utilidad -- */

.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.muted { color: var(--text-mute); }
.center { text-align: center; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hidden { display: none !important; }

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