.serving-group { min-width:0; margin:0; padding:0; border:0; }
.serving-group+.serving-group { margin-top:14px; }
.serving-group legend { width:100%; padding:0 0 4px; color:var(--wine); font-weight:700; font-size:.9375rem; overflow-wrap:anywhere; }
.serving-group .checkrow { align-items:center; }
.serving-group .checkrow:has(:checked) { color:var(--muted); }
.check-count { white-space:nowrap; color:var(--wine); font-weight:700; font-variant-numeric:tabular-nums; }
.task-recipe,.guest-recipe { display:flex; align-items:center; gap:12px; min-width:0; max-width:100%; padding:0; border:0; background:transparent; text-align:left; }
.task-recipe>span:last-child,.guest-recipe>span:last-child { min-width:0; overflow-wrap:anywhere; }
.task-recipe>span>strong { display:block; font-size:1.2rem; line-height:1.2; }
.task-quantity,.guest-recipe small,.supply-row small,.kitchen-shortage small { display:block; margin-top:3px; }
.task-quantity { color:var(--wine); font-weight:700; }
.chef-task .state { margin-top:0; }
.chef-task .meal-photo { flex-shrink:0; }
.chef-task .task-recipe:hover strong,.guest-recipe:hover b { text-decoration:underline; }
.kitchen-note { padding:8px 12px; margin:10px 0 0; border-left:2px solid var(--wine); background:var(--rose); white-space:pre-line; }
.task-delivery { display:flex; align-items:center; gap:5px; margin:8px 0 0; color:var(--muted); }
.supply-row .stock-quantity { white-space:normal; }
.pantry-tabs { margin: 0 0 12px; }
.pantry-tabs button { min-height:44px; }
.guest-counts,.event-picker { margin-bottom:14px; }
.event-picker { display:flex; align-items:center; gap:10px; color:var(--muted); }
.event-picker select { width:auto; max-width:100%; flex:1; }
.guest-dish { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:12px; }
.guest-serving small { display:block; width:auto; }
.guest-dish .guest-serving { max-width:104px; }
.guest-dish+.link { min-height:44px; margin-top:3px; }
@media(max-width:760px) {
 .pantry-tabs { display:flex; width:100%; }
 .pantry-tabs button { flex:1; }
 .event-picker { display:grid; gap:3px; }
 .event-picker select { width:100%; }
 .guest-dish { gap:8px; }
 .guest-recipe { gap:7px; }
 .guest-counts { flex-wrap:wrap; }
 .task-recipe .meal-photo { max-width:34%; }
}

.day-overview { display:grid; gap:10px; margin-bottom:16px; }
.day-overview .day-note { justify-self:start; }
.kitchen-fold { margin:8px 0; }
.chef-meal .kitchen-fold { margin:0; }
.kitchen-fold .check-count { margin-left:auto; font-size:.9rem; font-weight:600; }
.kitchen-fold .check-count+svg { margin-left:0; }
.task-recipe { width:100%; min-height:52px; }
.task-recipe>span:not(.meal-photo) { flex:1; min-width:0; overflow-wrap:anywhere; }
.task-recipe>svg,.supply-row>svg { flex:none; color:var(--muted); }
.task-quantity { color:var(--muted); font-weight:500; }
.serving-group .checkrow { min-height:46px; }
.pantry-list { background:white; border:1px solid var(--line); border-radius:18px; padding:0 16px; }
.supply-row.stock-row { width:100%; display:grid; grid-template-columns:minmax(0,1fr) auto 16px; align-items:center; gap:9px; min-height:60px; }
.supply-row>span:first-child { overflow-wrap:anywhere; }
.supply-row small { color:var(--muted); font-size:.9rem; }
.stock-updated { margin:8px 0 0; font-size:.9rem; }
.guest-swap { width:44px; min-height:44px; display:grid; place-items:center; padding:0; color:var(--wine); border:0; border-radius:50%; background:var(--rose); }
.guest-recipe small { color:var(--muted); font-weight:500; }
@media (min-width:761px) {
 .chef-task .task-recipe .meal-photo {
   width:clamp(88px,9vw,132px); height:auto; aspect-ratio:1.22;
   border-radius:19px 32px 19px 19px; object-fit:cover;
 }
 .guest-dish .meal-photo {width:64px; height:56px; border-radius:15px}
 .guest-counts .guest-host {
   display:inline-flex; align-items:center; gap:8px; min-height:44px; cursor:pointer;
 }
 .guest-edit b {min-width:2ch; text-align:center; font-variant-numeric:tabular-nums}
 .app .guest-edit .btn {
   width:44px; padding:0; border-radius:50%; border-color:#ffffff60;
   background:#ffffff13; color:#fff;
 }
 .app .guest-edit .btn:enabled:hover {background:#ffffff29}
 .app .guest-edit .btn:focus-visible {outline-color:white}
 .event-picker select {min-height:44px; border-radius:16px; background-color:#fffdfa}
 .kitchen-note {padding:10px 14px; border:0; border-radius:14px; background:#f6eeea}
 .pantry-list {background:#fffdfa}
 .supply-row.stock-row:hover {color:var(--wine); background:#f6eee7}
}
 .serving-group .checkrow {border-color:var(--line); cursor:pointer}
 .serving-group .checkrow input,.guest-counts .guest-host input {
   appearance:none; display:grid; place-content:center; width:20px; height:20px;
   margin:0 3px 0 0; border:1.5px solid #ab968b; border-radius:7px;
   background:#fffdfa; color:#fff; cursor:inherit;
 }
 .serving-group .checkrow input:checked,.guest-counts .guest-host input:checked {
   border-color:var(--wine); background:var(--wine);
 }
 .guest-counts .guest-host input,.guest-counts .guest-host input:checked {
   border-color:#ffffffa6; background:transparent;
 }
 .serving-group .checkrow input:checked::before,.guest-counts .guest-host input:checked::before {
   content:""; width:9px; height:5px; margin-top:-2px; border:solid currentColor;
   border-width:0 0 2px 2px; border-radius:1px; transform:rotate(-45deg);
 }
@media (forced-colors:active) {
 .serving-group .checkrow input,.guest-counts .guest-host input {appearance:auto}
 .serving-group .checkrow input::before,.guest-counts .guest-host input::before {display:none}
}
@media(max-width:760px){
 .pantry-tabs { border-radius:18px; padding:4px; gap:3px; background:#f2e8e9; border:0; }
 .pantry-tabs button { border:0; border-radius:14px; }
 .pantry-tabs button.chosen { color:var(--wine); background:white; box-shadow:0 1px 4px #31131e15; }
 .chef-task .task-recipe .meal-photo { width:68px; height:68px; border-radius:16px; }
 .chef-task .task-recipe strong { font-size:1.0625rem; font-weight:650; line-height:1.24; }
 .chef-task .card-foot { align-items:center; gap:8px; }
 .chef-task .card-foot .btn,.guest-dish+.link,.guest-counts label,.guest-edit .btn { min-height:44px; }
 .guest-counts { border-radius:20px; }
 .guest-counts .guest-host { display:inline-flex; align-items:center; gap:8px; min-height:44px; cursor:pointer; }
 .guest-edit .btn { width:44px; border-radius:50%; }
 .guest-dish .meal-photo { width:52px; height:52px; border-radius:14px; }
 .guest-recipe { gap:10px; }
 .chef-meal { gap:6px; margin-bottom:18px; }
 .supply-row b { font-weight:650; }
}
