/* =============================================================================
   FAMILY MENU APP - Design System "Warm Minimalist / Editorial"
   -----------------------------------------------------------------------------
   Palette warm-neutral + tipografia editoriale (serif per titoli, sans per corpo).
   ============================================================================= */

:root {
  /* --- Palette Warm Neutral --- */
  --bg: #FAF9F5;            /* Panna / sabbia chiaro (background generale) */
  --surface: #F0EEE6;       /* Card secondarie / pillole giorni */
  --ink: #141413;           /* Antracite scuro (testo e bottoni primari) */
  --terracotta: #D97757;    /* Accent / Pranzo / badge principali */
  --sage: #BCD1CA;          /* Accento secondario / Cena (verde salvia) */
  --lilac: #CBCADB;         /* Accento spuntino / snack (lilla) */
  --terracotta-dark: #B4532F; /* Testo evidenziato / bottoni secondari */
  --muted: #8A8778;         /* Testo attenuato */
  --line: #E4E1D6;          /* Bordi tenui */

  /* Alias legacy (compatibilità con classi esistenti) */
  --brand: var(--terracotta);
  --brand-dark: var(--terracotta-dark);
}

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

body {
  font-family: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
  -webkit-font-smoothing: antialiased;
}

/* Titoli editoriali in serif */
h1, h2, h3, .font-serif, .editorial {
  font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
  letter-spacing: -0.01em;
}

/* --- Header giorno + data ------------------------------------------------- */
.day-header {
  padding: 0.5rem 0 0.75rem;
}
.day-header .day-date {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.75rem;
  line-height: 1.1;
  font-weight: 500;
  color: var(--ink);
}
.day-header .day-sub {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --- Selettore giorni a pillola ------------------------------------------- */
.day-pills {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding: 0.25rem 0 0.5rem;
  scrollbar-width: none;
}
.day-pills::-webkit-scrollbar { display: none; }
.day-pill {
  flex: 0 0 auto;
  min-width: 3rem;
  padding: 0.5rem 0.75rem;
  border-radius: 9999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  border: 1px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.day-pill .dp-num {
  display: block;
  font-size: 0.95rem;
  font-family: 'Newsreader', Georgia, serif;
}
.day-pill:hover { border-color: var(--terracotta); }
.day-pill.active {
  background: var(--ink);
  color: #fff;
}

/* --- Card pasto ----------------------------------------------------------- */
.meal-card {
  border-radius: 1.25rem;
  padding: 1rem 1.1rem;
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.meal-card--pranzo { background: var(--terracotta); color: #fff; }
.meal-card--cena { background: var(--sage); }
.meal-card--spuntino { background: var(--lilac); }

.meal-card .meal-label {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
}
.meal-card--pranzo .meal-label { background: var(--ink); color: #fff; }
.meal-card--cena .meal-label { background: rgba(20,20,19,0.85); color: #fff; }
.meal-card--spuntino .meal-label { background: rgba(20,20,19,0.85); color: #fff; }

.meal-card .meal-title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.15;
  margin-top: 0.5rem;
}
.meal-card .meal-meta {
  font-size: 0.75rem;
  opacity: 0.85;
  margin-top: 0.25rem;
}
.meal-card .meal-thumb {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex: 0 0 auto;
}
.meal-card--pranzo .meal-thumb { background: rgba(255,255,255,0.22); }

/* --- Navbar inferiore fluttuante ------------------------------------------ */
.bottom-nav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(12px + env(safe-area-inset-bottom));
  width: min(94%, 30rem);
  background: var(--ink);
  border-radius: 32px;
  padding: 0.4rem;
  display: flex;
  justify-content: space-around;
  gap: 0.25rem;
  box-shadow: 0 12px 30px -8px rgba(20,20,19,0.45);
  z-index: 40;
}
.bottom-nav .bn-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.5rem 0.25rem;
  border-radius: 24px;
  color: rgba(255,255,255,0.6);
  font-size: 0.65rem;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}
.bottom-nav .bn-item .bn-ico { font-size: 1.15rem; line-height: 1; }
.bottom-nav .bn-item.active {
  background: var(--terracotta);
  color: #fff;
}

/* --- Tab di navigazione (legacy, mantenuta per compatibilità) ------------- */
.tab-btn {
  flex: 0 0 auto;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.tab-btn:hover { color: var(--terracotta); }
.tab-btn.active {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}

/* --- Card generica -------------------------------------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 1px 2px rgba(20,20,19,0.04);
}
.card-soft {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem;
}

/* --- Badge stato ---------------------------------------------------------- */
.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
}
.badge-low { background: #F6D9CF; color: var(--terracotta-dark); }
.badge-ok { background: #DCE7E2; color: #3F5F55; }
.badge-expiring { background: #F3E6C8; color: #8A6A1F; }
.badge-expired { background: #7f1d1d; color: #fff; }
.badge-cat { background: var(--surface); color: var(--ink); }
.badge-season { background: var(--lilac); color: #3B3A4A; }

/* --- Riga giacenza con evidenziazione stato ------------------------------- */
.inv-row { border-left: 4px solid transparent; }
.inv-row.is-low { border-left-color: var(--terracotta); background: #FBF1EC; }
.inv-row.is-expiring { border-left-color: #E0A93B; background: #FBF6EA; }
.inv-row.is-expired { border-left-color: #B4532F; background: #F8ECE7; }

/* --- Pulsanti rapidi +/- -------------------------------------------------- */
.qty-btn {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-weight: 700;
  line-height: 1;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  transition: background 0.15s, color 0.15s;
}
.qty-btn:hover { background: var(--terracotta); color: #fff; border-color: var(--terracotta); }
.qty-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* --- Tab secondari (es. Prodotti: locale / Eurospin) ---------------------- */
.ptab-btn {
  padding: 0.5rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.ptab-btn:hover { color: var(--terracotta); }
.ptab-btn.active { color: var(--terracotta); border-bottom-color: var(--terracotta); }

/* --- Pulsanti ------------------------------------------------------------- */
.btn-primary {
  background: var(--ink);
  color: #fff;
  border-radius: 9999px;
  padding: 0.6rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  transition: opacity 0.15s;
}
.btn-primary:hover { opacity: 0.88; }
.btn-accent {
  background: var(--terracotta);
  color: #fff;
  border-radius: 9999px;
  padding: 0.6rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  transition: opacity 0.15s;
}
.btn-accent:hover { opacity: 0.9; }
.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border-radius: 9999px;
  padding: 0.6rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.btn-ghost:hover { background: #E7E4D9; }

/* --- Modal ---------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20,20,19,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 50;
}
.modal-box {
  background: var(--bg);
  border-radius: 1.25rem;
  padding: 1.5rem;
  width: 100%;
  max-width: 32rem;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 25px -5px rgba(20,20,19,0.18);
}

/* --- Form controls -------------------------------------------------------- */
.fm-input, .fm-select, .fm-textarea {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.55rem 0.75rem;
  font-size: 0.875rem;
  color: var(--ink);
}
.fm-input:focus, .fm-select:focus, .fm-textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(217,119,87,0.18);
}
.fm-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}

/* --- Chip selezione multipla (stagioni, flag) ----------------------------- */
.chip-group { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.7rem;
  border-radius: 9999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  user-select: none;
}
.chip input { display: none; }
.chip.active, .chip:has(input:checked) {
  background: var(--terracotta);
  color: #fff;
}

/* --- Alert riepilogo ------------------------------------------------------ */
.alert-banner {
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.alert-warn { background: #F3E6C8; color: #7A5C15; border: 1px solid #E8D6A8; }
.alert-danger { background: #F6D9CF; color: #8A3A1E; border: 1px solid #EBC2B2; }

/* --- Toast ---------------------------------------------------------------- */
#toast.show { opacity: 1; }

/* --- Utility -------------------------------------------------------------- */
.hidden { display: none !important; }

/* =============================================================================
   COMPATIBILITÀ DESIGN SYSTEM
   -----------------------------------------------------------------------------
   Le viste secondarie (Dispensa, Spesa, Shopper, Batch, Prodotti, Fornitori)
   usano ancora classi Tailwind legacy (brand/slate/amber). Le rimappiamo ai
   token del nuovo design system "Warm Minimalist" per uniformare l'aspetto,
   senza riscrivere tutto il markup.
   ============================================================================= */

/* Bottoni primari legacy (bg-brand-600) -> antracite del design system */
.bg-brand-600 { background-color: var(--ink) !important; }
.hover\:bg-brand-700:hover { background-color: #2b2b29 !important; }

/* Bottoni secondari legacy (bg-slate-200) -> superficie chiara */
.bg-slate-200 { background-color: var(--surface) !important; }
.hover\:bg-slate-300:hover { background-color: #E7E4D9 !important; }

/* Testi legacy -> palette warm */
.text-slate-700 { color: var(--ink) !important; }
.text-slate-600 { color: var(--muted) !important; }
.text-slate-500 { color: var(--muted) !important; }
.text-slate-400 { color: var(--muted) !important; }
.text-brand-700 { color: var(--terracotta-dark) !important; }

/* Bordi legacy -> bordo tenue del design system */
.border-slate-300 { border-color: var(--line) !important; }
.border-slate-200 { border-color: var(--line) !important; }

/* Focus ring legacy -> terracotta */
.focus\:ring-brand-500:focus { --tw-ring-color: rgba(217,119,87,0.35) !important; }
.accent-brand-600 { accent-color: var(--terracotta) !important; }

/* Bottone "sotto-soglia" (bg-amber-500) -> terracotta scuro */
.bg-amber-500 { background-color: var(--terracotta-dark) !important; }
.hover\:bg-amber-600:hover { background-color: #8A3A1E !important; }

/* Toast legacy (bg-slate-800) -> antracite */
.bg-slate-800 { background-color: var(--ink) !important; }

/* =============================================================================
   RESPONSIVE DESKTOP
   -----------------------------------------------------------------------------
   L'app è mobile-first (PWA). Su schermi larghi:
   - la bottom-nav fluttuante viene trasformata in una barra di navigazione
     orizzontale ancorata in alto (sotto l'header), più naturale da PC;
   - spaziature, tipografia e griglie vengono adattate.
   Il contenitore <main> usa già max-w-5xl mx-auto (Tailwind).
   ============================================================================= */

/* Altezza header (usata per l'offset della nav sticky su desktop) */
:root { --header-h: 3.5rem; }

@media (min-width: 768px) {
  /* Nessun padding inferiore: la nav non è più fluttuante in basso */
  body {
    padding-bottom: 0;
  }

  /* Header: altezza fissa per un offset nav affidabile */
  header.sticky {
    height: var(--header-h);
    display: flex;
    align-items: center;
  }
  header.sticky > div {
    width: 100%;
  }

  /* Header giorno: più arioso */
  .day-header {
    padding: 1rem 0 1rem;
  }
  .day-header .day-date {
    font-size: 2.25rem;
  }

  /* Selettore giorni: centrato e senza scroll orizzontale */
  .day-pills {
    justify-content: center;
    overflow-x: visible;
    gap: 0.5rem;
  }
  .day-pill {
    min-width: 3.5rem;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  /* Card pasto: più padding e titoli più grandi */
  .meal-card {
    padding: 1.4rem 1.5rem;
    border-radius: 1.5rem;
  }
  .meal-card .meal-title {
    font-size: 1.6rem;
  }
  .meal-card .meal-thumb {
    width: 4.25rem;
    height: 4.25rem;
    font-size: 2rem;
  }

  /* Bottom-nav -> barra di navigazione orizzontale sticky sotto l'header */
  .bottom-nav {
    position: sticky;
    top: var(--header-h);
    left: auto;
    transform: none;
    bottom: auto;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    border-radius: 0;
    padding: 0.35rem 0;
    justify-content: center;
    gap: 0.4rem;
    box-shadow: none;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
    z-index: 19;
  }
  .bottom-nav .bn-item {
    flex: 0 0 auto;
    flex-direction: row;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    font-size: 0.85rem;
    border-radius: 9999px;
    color: var(--muted);
  }
  .bottom-nav .bn-item .bn-ico {
    font-size: 1.05rem;
  }
  .bottom-nav .bn-item:hover {
    background: var(--surface);
    color: var(--ink);
  }
  .bottom-nav .bn-item.active {
    background: var(--ink);
    color: #fff;
  }

  /* Card "prossimo pasto": leggermente più compatta su desktop */
  #menu-next-meal .meal-card {
    padding: 1.6rem 1.8rem;
  }

  /* Modal: leggermente più ampio */
  .modal-box {
    max-width: 40rem;
    padding: 2rem;
  }
}

/* Schermi molto larghi: griglie multi-colonna */
@media (min-width: 1024px) {
  #menu-side-meals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #menu-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  #recipes-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ==========================================================================
   WIZARD CREAZIONE MENU (4 step)
   ========================================================================== */
.wizard-box {
  max-width: 44rem;
  max-height: 90vh;
  overflow-y: auto;
}
.wizard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.wizard-x {
  border: none;
  background: transparent;
  font-size: 1.1rem;
  color: var(--muted);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
}
.wizard-x:hover { background: var(--surface); color: var(--ink); }

.wizard-steps {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.wz-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.25rem;
  border-radius: 0.75rem;
  background: var(--surface);
  color: var(--muted);
  transition: all 0.2s ease;
}
.wz-step .wz-num {
  width: 1.6rem; height: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 9999px;
  background: var(--line);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.85rem;
}
.wz-step .wz-lbl { font-size: 0.72rem; font-weight: 500; }
.wz-step.active { background: var(--terracotta); color: #fff; }
.wz-step.active .wz-num { background: #fff; color: var(--terracotta-dark); }
.wz-step.done .wz-num { background: var(--sage); color: var(--ink); }

.wizard-panel { min-height: 12rem; }
.wz-help {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.85rem;
  line-height: 1.4;
}

.wz-week-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-height: 14rem;
  overflow-y: auto;
  padding: 0.25rem;
}
.wz-week-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #fff;
  font-size: 0.85rem;
}
.wz-week-row.is-vacation {
  background: #FBF1EC;
  border-color: var(--terracotta);
}
.wz-week-row .wz-week-label { font-weight: 500; }
.wz-week-row .wz-week-tag {
  font-size: 0.7rem;
  padding: 0.1rem 0.5rem;
  border-radius: 9999px;
  background: var(--surface);
  color: var(--muted);
}
.wz-week-row.is-vacation .wz-week-tag {
  background: var(--terracotta);
  color: #fff;
}
.wz-toggle {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 0.5rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  cursor: pointer;
  color: var(--ink);
}
.wz-toggle.on { background: var(--terracotta); color: #fff; border-color: var(--terracotta); }

.wz-season-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 1rem;
  background: var(--surface);
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
}

.wz-meal-grid {
  display: grid;
  grid-template-columns: auto repeat(7, minmax(0, 1fr));
  gap: 0.3rem;
  font-size: 0.72rem;
}
.wz-meal-grid .wz-mg-head {
  text-align: center;
  font-weight: 600;
  color: var(--muted);
  padding: 0.25rem 0;
}
.wz-meal-grid .wz-mg-rowlabel {
  display: flex;
  align-items: center;
  font-weight: 600;
  color: var(--muted);
  padding-right: 0.25rem;
}
.wz-meal-cell {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #fff;
  padding: 0.4rem 0.2rem;
  text-align: center;
  cursor: pointer;
  color: var(--ink);
  transition: all 0.15s ease;
  min-height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wz-meal-cell:hover { border-color: var(--terracotta); }
.wz-meal-cell.skipped {
  background: #FBF1EC;
  border-color: var(--terracotta);
  color: var(--terracotta-dark);
  text-decoration: line-through;
}

.wz-preview {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 22rem;
  overflow-y: auto;
}
.wz-preview-week {
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.75rem;
  background: #fff;
}
.wz-preview-week.is-clearance { border-color: var(--sage); background: #F4F8F6; }
.wz-preview-week.is-vacation { border-color: var(--terracotta); background: #FBF1EC; }
.wz-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.wz-preview-head .wz-preview-tag {
  font-size: 0.68rem;
  padding: 0.1rem 0.5rem;
  border-radius: 9999px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 500;
}
.wz-preview-week.is-clearance .wz-preview-tag { background: var(--sage); color: var(--ink); }
.wz-preview-week.is-vacation .wz-preview-tag { background: var(--terracotta); color: #fff; }
.wz-preview-meals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.3rem;
}
.wz-preview-meal {
  font-size: 0.75rem;
  padding: 0.3rem 0.5rem;
  border-radius: 0.5rem;
  background: var(--surface);
  cursor: pointer;
  display: flex;
  gap: 0.35rem;
  align-items: baseline;
}
.wz-preview-meal:hover { background: var(--line); }
.wz-preview-meal .wz-pm-day { color: var(--muted); font-weight: 600; min-width: 2.2rem; }
.wz-preview-meal.skipped { text-decoration: line-through; color: var(--muted); }

.wizard-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

/* ==========================================================================
   BADGE LOCATION + AVANZO (card giacenze)
   ========================================================================== */
.loc-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.1rem 0.5rem;
  border-radius: 9999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}
.loc-badge.loc-dispensa { background: #F0EEE6; }
.loc-badge.loc-frigo { background: #E3EEF5; border-color: #C4DCEA; }
.loc-badge.loc-congelatore { background: #E6F0F5; border-color: #BCD1CA; }
.loc-badge.loc-leftover {
  background: #FBF1EC;
  border-color: var(--terracotta);
  color: var(--terracotta-dark);
}
.btn-freeze {
  border: 1px solid var(--sage);
  background: #F4F8F6;
  color: var(--ink);
  border-radius: 0.5rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  cursor: pointer;
  white-space: nowrap;
}
.btn-freeze:hover { background: var(--sage); }

@media (max-width: 640px) {
  .wz-meal-grid { font-size: 0.62rem; }
  .wz-preview-meals { grid-template-columns: 1fr; }
  .wizard-steps .wz-lbl { display: none; }
}
