:root { color-scheme: light; }
* { -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.panel { border: 1px solid rgba(255,255,255,0.78); background: rgba(255,255,255,0.92); border-radius: 1.75rem; box-shadow: 0 18px 50px rgba(15, 23, 42, 0.10); backdrop-filter: blur(14px); }
.section-title { font-size: 1.1rem; line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
.section-subtitle { margin-top: 0.25rem; color: #64748b; font-size: 0.875rem; line-height: 1.45; }
.input { width: 100%; border-radius: 1rem; border: 1px solid #e2e8f0; background: rgba(255,255,255,0.94); padding: 0.75rem 0.9rem; color: #18212f; outline: none; transition: box-shadow .18s ease, border-color .18s ease; }
.input:focus { border-color: #0f766e; box-shadow: 0 0 0 4px rgba(15, 118, 110, .12); }
.btn-primary, .btn-muted, .btn-ghost { display: inline-flex; min-height: 2.55rem; align-items: center; justify-content: center; border-radius: 999px; padding: 0.65rem 1rem; font-size: .875rem; font-weight: 800; transition: transform .16s ease, background .16s ease, box-shadow .16s ease; white-space: nowrap; }
.btn-primary { background: #0f766e; color: white; box-shadow: 0 12px 30px rgba(15, 118, 110, .20); }
.btn-primary:hover { background: #115e59; transform: translateY(-1px); }
.btn-muted { background: #f1f5f9; color: #1e293b; }
.btn-muted:hover { background: #e2e8f0; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #0f766e; padding-left: .7rem; padding-right: .7rem; }
.btn-ghost:hover { background: rgba(15, 118, 110, .08); }
.mobile-tab { border-radius: 999px; background: rgba(255,255,255,.85); padding: .65rem .85rem; text-align: center; color: #334155; box-shadow: 0 8px 22px rgba(15, 23, 42, .05); }
.segmented { display: inline-flex; overflow: hidden; border-radius: 999px; background: #f1f5f9; padding: .25rem; }
.segmented-btn { border-radius: 999px; padding: .55rem .9rem; font-size: .875rem; font-weight: 800; color: #64748b; }
.segmented-btn.active { background: #0f766e; color: #fff; box-shadow: 0 8px 18px rgba(15,118,110,.22); }
.tag-pill { border: 1px solid #e2e8f0; border-radius: 999px; background: white; padding: .45rem .7rem; font-size: .78rem; font-weight: 800; color: #475569; }
.tag-pill.active { border-color: rgba(15,118,110,.35); background: #dff8f1; color: #0f766e; }
.recipe-card { border: 1px solid #eef2f7; border-radius: 1.45rem; background: linear-gradient(180deg, #fff 0%, #fffaf2 100%); padding: .95rem; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.recipe-card:hover { transform: translateY(-2px); border-color: rgba(15,118,110,.22); box-shadow: 0 12px 28px rgba(15,23,42,.08); }
.recipe-chip { display: inline-flex; max-width: 100%; align-items: center; gap: .35rem; border-radius: .8rem; background: #fff; border: 1px solid #e2e8f0; padding: .25rem .45rem; font-size: .72rem; font-weight: 800; color: #334155; box-shadow: 0 5px 12px rgba(15,23,42,.05); }
.calendar-grid { min-width: 760px; display: grid; gap: .45rem; }
.calendar-grid.week { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.calendar-grid.month { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.day-card { min-height: 132px; border-radius: 1.15rem; border: 1px solid #e2e8f0; background: rgba(255,255,255,.82); padding: .65rem; cursor: pointer; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.day-card:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(15,23,42,.07); }
.day-card.selected { border-color: #0f766e; box-shadow: inset 0 0 0 2px rgba(15,118,110,.12), 0 12px 28px rgba(15,118,110,.12); }
.day-card.outside { opacity: .48; }
.day-number { display: flex; align-items: center; justify-content: space-between; font-size: .78rem; font-weight: 900; color: #0f172a; }
.shopping-row { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: .75rem; align-items: start; border-radius: 1.1rem; border: 1px solid #e2e8f0; background: white; padding: .8rem; }
@media (min-width: 640px) { .shopping-row { grid-template-columns: 34px minmax(0,1fr) auto; } }
.checkbox-print { width: 1.15rem; height: 1.15rem; border: 2px solid #cbd5e1; border-radius: .35rem; background: white; }
details summary { cursor: pointer; }
.print-only { display: none; }
@media print {
  .no-print { display: none !important; }
  .print-only { display: block !important; }
  body { background: #fff !important; }
}
