/* ═══════════════════════════════════════════════════════════════════
   KHANA TRACKER — style.css
   Aesthetic: Warm earth tones, Nepali-inspired, clean utility
═══════════════════════════════════════════════════════════════════ */

/* ── RESET & ROOT VARIABLES ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:        #2E7D32;
  --green-light:  #4CAF50;
  --green-pale:   #E8F5E9;
  --red:          #C62828;
  --red-light:    #EF5350;
  --red-pale:     #FFEBEE;
  --amber:        #E65100;
  --amber-pale:   #FFF3E0;
  --unset:        #CFD8DC;
  --unset-pale:   #ECEFF1;
  --bg:           #FAF8F5;
  --surface:      #FFFFFF;
  --sidebar-bg:   #1B3A2D;
  --sidebar-text: #A5C8AE;
  --sidebar-hi:   #FFFFFF;
  --border:       #E5E0D8;
  --text:         #1C1C1C;
  --text-muted:   #7A7066;
  --shadow:       0 2px 12px rgba(0,0,0,0.08);
  --shadow-md:    0 4px 24px rgba(0,0,0,0.13);
  --radius:       12px;
  --radius-sm:    8px;
  --font-body:    'DM Sans', sans-serif;
  --font-ne:      'Tiro Devanagari Sanskrit', serif;
  --font-mono:    'DM Mono', monospace;
  --sidebar-w:    260px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── APP SHELL (sidebar + main) ── */
.app-shell {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

/* ══════════════════════════════════════
   SIDEBAR
══════════════════════════════════════ */
.sidebar {
  width: var(--sidebar-w);
  background: var(--sidebar-bg);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  z-index: 100;
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 28px 20px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.brand-icon { font-size: 28px; }

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-en {
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 0.02em;
}

.brand-ne {
  font-family: var(--font-ne);
  font-size: 12px;
  color: var(--sidebar-text);
  margin-top: 1px;
}

/* Nav */
.sidebar-nav {
  padding: 16px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 14px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--sidebar-text);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: background 0.18s, color 0.18s;
}

.nav-btn:hover {
  background: rgba(255,255,255,0.07);
  color: #fff;
}

.nav-btn.active {
  background: rgba(76,175,80,0.18);
  color: #FFFFFF;
}

.nav-icon { font-size: 17px; }

/* Sidebar Summary */
.sidebar-summary {
  margin: 12px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.08);
}

.summary-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sidebar-text);
  margin-bottom: 12px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
}

.summary-row strong {
  color: #fff;
  font-family: var(--font-mono);
}

.summary-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 10px 0;
}

.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

.total-amount {
  color: #81C784 !important;
  font-family: var(--font-mono);
  font-size: 14px !important;
}

/* ══════════════════════════════════════
   MAIN CONTENT
══════════════════════════════════════ */
.main-content {
  margin-left: var(--sidebar-w);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 0 0 80px;
  width: 100%;
}

/* ── VIEWS ── */
.view { display: none; padding: 0; }
.view.active { display: block; }

/* ── PAGE HEADER ── */
.page-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  backdrop-filter: blur(8px);
}

.page-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}

/* Month Navigator */
.month-navigator {
  display: flex;
  align-items: center;
  gap: 16px;
}

.month-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 180px;
}

.month-ne {
  font-family: var(--font-ne);
  font-size: 22px;
  color: var(--green);
  line-height: 1.2;
}

.month-en {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

.nav-arrow {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  transition: all 0.18s;
  box-shadow: var(--shadow);
}

.nav-arrow:hover {
  border-color: var(--green);
  color: var(--green);
  transform: scale(1.07);
}

.nav-arrow.sm { width: 30px; height: 30px; font-size: 13px; }

.month-navigator.compact {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  gap: 12px;
}

/* Mobile menu btn */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--text);
}

/* ── LEGEND BAR ── */
.legend-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 28px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot.eaten   { background: var(--green); }
.dot.skipped { background: var(--red); }

.legend-sep { color: var(--border); font-size: 16px; }

.price-legend {
  font-family: var(--font-mono);
  color: var(--text);
  font-size: 12px;
}

/* ── GRID HEADER ── */
.grid-header {
  display: grid;
  /* day column fixed, sessions flexible, cost column fixed to prevent shifting */
  grid-template-columns: 54px minmax(60px,1fr) minmax(60px,1fr) 80px;
  gap: 0;
  padding: 10px 28px;
  background: #F2EDE7;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  position: sticky;
  top: 73px;
  z-index: 40;
}

.col-day { display: flex; align-items: center; }
.col-session { display: flex; align-items: center; padding: 0 8px; }
.col-cost { display: flex; align-items: center; justify-content: flex-end; }

.session-label { display: flex; align-items: center; gap: 6px; }
.label-ne { font-family: var(--font-ne); font-size: 12px; font-weight: 400; }

/* ══════════════════════════════════════
   DAY GRID ROWS
══════════════════════════════════════ */

/* Note icon next to day number */
.note-icon {
  font-size: 14px;
  margin-left: 6px;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s;
}
.note-icon:hover {
  opacity: 1;
}
.note-icon.has-note {
  opacity: 1;
  color: var(--amber);
}

/* History row note text */
.history-note {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

/* Edit button in history rows */
.edit-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  padding: 4px 6px;
  color: var(--text);
}
.edit-btn:hover {
  color: var(--green);
}
@media (max-width: 480px) {
  /* hide edit column on very small to save space, rely on tracker nav */
  .history-table thead th:last-child,
  .history-table tbody td:last-child {
    display: none;
  }
}

/* inline note editor */
.note-editor {
  grid-column: 1 / -1;
  margin-top: 6px;
  display: flex;
  gap: 6px;
}
.note-editor textarea {
  flex: 1;
  resize: vertical;
  min-height: 40px;
  font-size: 13px;
  padding: 4px 6px;
}
.note-editor button {
  padding: 4px 10px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 13px;
}
.note-editor .note-save { background: var(--green); color: #fff; }
.note-editor .note-cancel { background: var(--surface); border:1px solid var(--border); }

/* note snippet under day number in tracker */
.note-display {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  grid-column: 1 / -1;
}

.day-grid {
  padding: 8px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.day-row {
  display: grid;
  grid-template-columns: 54px minmax(60px,1fr) minmax(60px,1fr) 80px;
  align-items: center;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  padding: 10px 8px;
  gap: 4px;
  transition: border-color 0.2s, box-shadow 0.2s;
  animation: rowFadeIn 0.25s ease both;
}

@keyframes rowFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.day-row:hover {
  border-color: #BDCFBA;
  box-shadow: var(--shadow);
}

/* Day Number */
.day-num {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.1;
}

.day-num small {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 400;
  font-family: var(--font-ne);
}

/* Meal Cell */
.meal-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  position: relative;            /* for absolute status badge */
  min-width: 120px;              /* ensure cell doesn't collapse when badge hidden */
}

.meal-btn-group {
  display: flex;
  gap: 6px;
}

.meal-btn {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--unset-pale);
  cursor: pointer;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.18s;
  position: relative;
  overflow: hidden;
}

.meal-btn:hover { transform: scale(1.1); }

.meal-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.3);
  opacity: 0;
  transition: opacity 0.15s;
}

.meal-btn:active::after { opacity: 1; }

/* Active states */
.meal-btn.tick.active {
  background: var(--green-pale);
  border-color: var(--green-light);
  color: var(--green);
  box-shadow: 0 0 0 3px rgba(76,175,80,0.15);
}

.meal-btn.cross.active {
  background: var(--red-pale);
  border-color: var(--red-light);
  color: var(--red);
  box-shadow: 0 0 0 3px rgba(198,40,40,0.12);
}

/* Status Badge */
.meal-status {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  background: var(--unset-pale);
  color: var(--text-muted);
  transition: all 0.2s;
  white-space: nowrap;
  text-align: center;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
}
.meal-status.hidden { visibility: hidden; }

.meal-status.eaten  { background: var(--green-pale); color: var(--green); }
.meal-status.skipped { background: var(--red-pale); color: var(--red); }

/* Daily Cost */
.day-cost {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  padding-right: 4px;
}

.day-cost.has-cost { color: var(--green); }

/* ── BOTTOM SUMMARY BAR ── */
.bottom-summary {
  position: fixed;
  bottom: 0;
  left: var(--sidebar-w);
  right: 0;
  background: var(--sidebar-bg);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 14px 28px;
  gap: 12px;
  z-index: 80;
  border-top: 2px solid rgba(255,255,255,0.08);
}

.bs-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.bs-stat-val {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 500;
  color: #fff;
}

.bs-stat-lbl {
  font-size: 11px;
  color: var(--sidebar-text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.bs-stat.highlight .bs-stat-val {
  color: #81C784;
  font-size: 20px;
  font-weight: 600;
}

/* ══════════════════════════════════════
   HISTORY TABLE
══════════════════════════════════════ */
.history-table-wrap {
  padding: 24px 28px;
  overflow-x: auto;
}

.history-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 5px;
  font-size: 14px;
}

.history-table thead th {
  background: var(--sidebar-bg);
  color: #A5C8AE;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 12px 16px;
  text-align: left;
}

.history-table thead th:first-child { border-radius: 10px 0 0 10px; }
.history-table thead th:last-child  { border-radius: 0 10px 10px 0; text-align: right; }

.history-table tbody tr {
  background: var(--surface);
  transition: box-shadow 0.15s;
  animation: rowFadeIn 0.2s ease both;
}

.history-table tbody tr:hover { box-shadow: var(--shadow); }

.history-table tbody td {
  padding: 11px 16px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.history-table tbody td:first-child {
  border-left: 1px solid var(--border);
  border-radius: 10px 0 0 10px;
  font-weight: 600;
}

.history-table tbody td:last-child {
  border-right: 1px solid var(--border);
  border-radius: 0 10px 10px 0;
  text-align: right;
  font-family: var(--font-mono);
}

.history-table tfoot td {
  padding: 14px 16px;
  background: var(--green-pale);
  font-size: 15px;
  border-top: 2px solid var(--green-light);
}

.history-table tfoot td:first-child { border-radius: 10px 0 0 10px; }
.history-table tfoot td:last-child  {
  border-radius: 0 10px 10px 0;
  text-align: right;
  font-family: var(--font-mono);
  color: var(--green);
  font-size: 16px;
}

/* Status Icons in History */
.status-icon {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.status-icon.eaten   { background: var(--green-pale); color: var(--green); }
.status-icon.skipped { background: var(--red-pale); color: var(--red); }
/* ══════════════════════════════════════
   SETTINGS
══════════════════════════════════════ */
.settings-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 28px 28px 0;
  max-width: 600px;
}

.settings-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.settings-card:hover { box-shadow: var(--shadow-md); }

.settings-card.morning-card { border-top: 4px solid #FFA726; }
.settings-card.night-card   { border-top: 4px solid #5C6BC0; }

.card-icon { font-size: 36px; }

.card-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
}

.card-sublabel {
  font-family: var(--font-ne);
  font-size: 13px;
  color: var(--text-muted);
}

.price-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  width: 100%;
  margin-top: 6px;
  transition: border-color 0.18s;
}

.price-input-wrap:focus-within { border-color: var(--green); }

.currency {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}

.price-input {
  border: none;
  background: transparent;
  font-size: 22px;
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--text);
  width: 100%;
  outline: none;
}

.price-input::-webkit-inner-spin-button { display: none; }

/* Save Button */
.save-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px 28px 0;
  padding: 13px 32px;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(46,125,50,0.35);
}

.save-btn:hover {
  background: #1B5E20;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46,125,50,0.4);
}

.save-icon { font-size: 18px; }

/* Save Feedback */
.save-feedback {
  display: none;
  margin: 14px 28px 0;
  padding: 12px 18px;
  background: var(--green-pale);
  border: 1px solid var(--green-light);
  border-radius: var(--radius-sm);
  color: var(--green);
  font-size: 14px;
  font-weight: 500;
  max-width: 500px;
  animation: fadeSlide 0.3s ease;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Formula Box */
.formula-box {
  margin: 24px 28px 0;
  padding: 20px 22px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1.5px dashed var(--border);
  max-width: 540px;
}

.formula-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.formula {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
  line-height: 1.7;
}

.formula span {
  background: var(--amber-pale);
  color: var(--amber);
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 600;
}

.formula-example {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  min-height: 18px;
}

/* Danger Zone */
.danger-zone {
  margin: 28px 28px 0;
  padding: 18px 20px;
  background: #FFF8F8;
  border: 1.5px solid #FFCDD2;
  border-radius: var(--radius);
  max-width: 400px;
}

.danger-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 12px;
}

.reset-btn {
  padding: 10px 18px;
  background: #fff;
  border: 1.5px solid var(--red-light);
  border-radius: var(--radius-sm);
  color: var(--red);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
}

.reset-btn:hover {
  background: var(--red-pale);
  border-color: var(--red);
}

/* ══════════════════════════════════════
   TOAST
══════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--sidebar-bg);
  color: #fff;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ══════════════════════════════════════
   MODAL
══════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9000;
  backdrop-filter: blur(3px);
}

.modal-overlay.open { display: flex; }

.modal {
  background: var(--surface);
  border-radius: 16px;
  padding: 36px 32px 28px;
  max-width: 380px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  animation: modalPop 0.25s ease;
}

@keyframes modalPop {
  from { transform: scale(0.9); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.modal-icon { font-size: 42px; margin-bottom: 12px; }
.modal-title { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.modal-body { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 24px; }

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.modal-cancel {
  padding: 10px 24px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.18s;
}

.modal-cancel:hover { border-color: var(--text-muted); color: var(--text); }

.modal-confirm {
  padding: 10px 24px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--red);
  color: #fff;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.18s;
}

.modal-confirm:hover { background: #B71C1C; }

.modal-confirm.primary {
  background: var(--green);
}
.modal-confirm.primary:hover {
  background: #1B5E20;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */

/* tablet breakpoint: shrink sidebar width */
@media (max-width: 1024px) {
  :root { --sidebar-w: 220px; }
  .sidebar { width: 220px; }
  .main-content { margin-left: 220px; }
}

/* mobile layout */
@media (max-width: 768px) {
  :root { --sidebar-w: 0px; }

  .sidebar {
    transform: translateX(-260px);
    width: 260px;
  }

  .sidebar.open { transform: translateX(0); }

  .main-content { margin-left: 0; }

  .bottom-summary { left: 0; }

  .mobile-menu-btn { display: flex; }

  .settings-cards { grid-template-columns: 1fr; }

  .grid-header,
  .day-row {
    grid-template-columns: 44px 1fr 1fr 64px;
  }

  .page-header { padding: 14px 16px; }
  .legend-bar  { padding: 8px 16px; gap: 10px; }
  .day-grid    { padding: 6px 12px; }

  .history-table-wrap { padding: 16px; }

  .settings-cards,
  .save-btn,
  .save-feedback,
  .formula-box,
  .danger-zone { margin-left: 16px; margin-right: 16px; }
}

@media (max-width: 480px) {
  .meal-status { display: none; }
  .meal-btn { width: 32px; height: 32px; font-size: 13px; }
  .day-num { font-size: 13px; }
  .month-ne { font-size: 18px; }
  .note-icon { font-size: 12px; }
}

/* large-screen tweaks */
@media (min-width: 1200px) {
  .app-shell { justify-content: center; }
  .main-content {
    max-width: 1200px;
    margin-left: var(--sidebar-w);
    padding: 0 40px 80px;
  }
}