/* Slice c2: My Fridge and Weekly Meal Plan. Dark only, house colors. */
.c2-entry { gap: 10px; margin: 0 0 12px; }
.c2-entry .btn svg, h2 svg, #c2prod svg, #c2save svg, #c2toplan svg, #c2tofr svg { vertical-align: -3px; }
.c2-fi { align-items: flex-start; }
.c2-fi .btn { flex: none; }
.c2-due { font-weight: 600; }
.c2-due.c2-past { color: var(--red); }
.c2-due.c2-soon { color: #eab308; }
.c2-due.c2-wk { color: var(--text); }
.c2-due.c2-ok { color: var(--green); }
.c2-due.unknown { color: var(--muted); font-weight: 400; }
.c2-first { border-left: 3px solid #eab308; }
.c2-edit { padding: 0 0 12px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.c2-chk { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 6px 0 4px; }
.c2-chk label, .c2-inline { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; margin: 0; }
.c2-inline { margin: 12px 0 4px; }
.c2-chk input, .c2-inline input { width: auto; margin: 0; }
.c2-meal { border-top: 1px solid var(--line); padding: 12px 0; }
.c2-meal:first-of-type { border-top: 0; }
.c2-meal h4 { margin: 2px 0 0; font-size: 16px; }
.c2-meal.eaten { opacity: .75; }
.c2-meal.failed .c2-err, .c2-alert p { color: var(--red); }
.c2-alert { border-left: 3px solid var(--red); }
.c2-uses { color: var(--green); margin-top: 4px; }
.c2-ing { margin: 6px 0; padding-left: 18px; }
.c2-tot { margin-bottom: 4px; }
.c2-wait { margin: 8px 0 0; }
/* Narrow phones: the text column keeps its width and the buttons drop below it; date fields stay inside the card. */
.c2-fi { flex-wrap: wrap; }
.c2-fi > .grow { flex: 1 1 200px; min-width: 0; }
.c2-edit .grid2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.c2-edit input[type=date] { min-width: 0; width: 100%; max-width: 100%; box-sizing: border-box; }
