/* Kitchen: the pieces of this redesigned screen only (docs/mockups/redesign/); shared ones are
   css/widgets.css. Colours come from the tokens in style.css only. The screen fills Food's column (#app.screen),
   whose width the top bar shares, so the title lines up with its edge at every width. */
.kit{display:flex;flex-direction:column;gap:18px;padding-block-end:24px}
.kit .card{margin:0}
.kit .state{display:flex;flex-direction:column}

/* the next dish and its one action */
.kit-next{display:flex;flex-direction:column;gap:12px}
.kit-nexttt{display:flex;flex-direction:column;gap:2px;min-width:0}
.kit-nexttt b{font-size:1.25rem;font-weight:800;overflow-wrap:anywhere}
.kit-nexttt small{color:var(--mut);font-size:.85rem}

/* the week: its head with the arrows, then one card of days */
.kit-week{display:flex;flex-direction:column;gap:8px}
.kit-weekhead{display:flex;align-items:center;gap:10px}
/* the week's name sits on the bare background between its arrows: a surface pill keeps it readable over the napkins */
.kit-weekhead .sec{flex:1;margin:0;padding-block:8px;border-radius:var(--pill);background:var(--surface);text-align:center}
.kit-week>.card{padding-block:10px 14px;gap:6px}
.kit-days{display:flex;flex-direction:column}
.kit-day{border-top:1px solid var(--line);padding-block:6px}
.kit-day:first-child{border-top:0}
.kit-dayhead{display:flex;align-items:center;gap:10px;min-height:48px}
.kit-dayhead b{font-weight:700;font-size:.92rem}
.kit-dayhead small{flex:1;color:var(--mut);font-size:.8rem}
.kit-dayhead b:has(+ .iconbtn){flex:1}
.kit-day.on .kit-dayhead b{color:var(--a)}
/* a planned dish: its name takes the full width, its actions sit under it at the end */
.kit-plan{flex-wrap:wrap;gap:4px 8px;padding-block:6px;padding-inline-start:12px;border-bottom:0;border-inline-start:2px solid var(--a-soft)}
.kit-plan .tt{flex:1 1 100%}
.kit-plan .tt b{overflow-wrap:anywhere}
.kit-plan>.btn:first-of-type,.kit-plan>.badge{margin-inline-start:auto}
.kit-plan .btn.sm{min-height:48px}

/* the rows to Recipes, Shopping and Pantry */
.kit-choose{padding-block:4px}
