#recipepicker{max-width:920px}.picker-intro{margin:0 0 20px;color:var(--muted);line-height:1.6}.picker-search{display:block;width:100%;margin-bottom:20px}.picker-group h3{font-size:14px;margin:18px 0 10px}.picker-chips{display:flex;flex-wrap:wrap;gap:8px}.picker-chips button,#pickerfavorites{border-radius:24px;font-weight:500;background:var(--field);min-height:40px;padding:8px 14px}.picker-chips button[aria-pressed=true],#pickerfavorites[aria-pressed=true]{background:var(--green);border-color:var(--green);color:var(--primary-ink)}.picker-toolbar{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px;align-items:center}.picker-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.picker-card{border:1px solid var(--line);background:var(--surface);border-radius:14px;padding:18px;min-width:0}.picker-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.picker-card-head .eyebrow{margin:0;letter-spacing:1px;line-height:1.5}.favorite-button{font-size:26px;padding:2px;border:0;background:transparent;flex-shrink:0;width:44px}.favorite-button[aria-pressed=true]{color:var(--green)}.picker-card h3{font-size:19px;margin:12px 0}.picker-card-actions{display:flex;gap:8px;flex-wrap:wrap}.picker-card-actions button{flex:1;font-size:13px}.picker-result-head{display:flex;align-items:center;justify-content:space-between;padding-top:24px;margin:24px 0 14px;border-top:1px solid var(--line)}.picker-result-head h3{margin:0}.picker-empty{grid-column:1/-1;line-height:1.7}#pickermore{display:block;margin:24px auto 0}.day .choose-meal{font-size:15px;text-align:left;line-height:1.5;padding:12px;margin:12px 0;width:100%;white-space:normal;min-height:64px}.finder-launch{margin-bottom:20px}.picker-more-filters{margin-top:12px}.picker-more-filters summary{cursor:pointer;padding:10px 0;font-size:14px}
@media(max-width:650px){#recipepicker{width:100%;height:100dvh;max-height:100dvh;margin:0;border-radius:0}#recipepicker .dialog-content{padding:16px}.picker-grid{grid-template-columns:1fr}.picker-chips{gap:6px}.picker-chips button{padding:8px 12px;font-size:13px}.picker-card-actions button{font-size:14px}.picker-toolbar #pickershow{width:100%}.picker-group h3{margin-top:16px}}

/* Consistent recipe cards and readable mobile dialogs. */
.picker-card{display:flex;flex-direction:column;gap:10px}.picker-card h3,.picker-card>p{margin:0;line-height:1.45;overflow-wrap:anywhere}.picker-card-actions{margin-top:auto;padding-top:4px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.picker-card-actions button{min-width:0;white-space:normal;line-height:1.35;min-height:44px}.recipe-allergy-note{font-size:13px;line-height:1.5;color:var(--muted);margin:8px 0}.card{min-width:0}.card h3{overflow-wrap:anywhere}.detailingredients{padding-left:22px}.detailingredients li{padding:6px 0;line-height:1.5}#detail .actions>*{min-width:0;max-width:100%}#detail .actions select{white-space:normal;width:100%}
@media(max-width:650px){#recipepicker,#detail{box-sizing:border-box;max-width:100%;max-height:100dvh}#recipepicker .dialog-header,#detail .dialog-header{padding-top:max(16px,env(safe-area-inset-top))}#recipepicker .dialog-content,#detail .dialog-content{padding-bottom:max(20px,env(safe-area-inset-bottom))}.picker-card{padding:14px;gap:8px}.picker-card h3{font-size:18px}.picker-card>p.muted{font-size:13px}.picker-card-head .eyebrow{font-size:11px}.picker-result-head{gap:12px}.picker-result-head h3{font-size:18px}.picker-card-actions button{padding:10px 8px}.card .tag{white-space:normal}#detail .actions{display:flex;flex-wrap:wrap}#detail .actions button{flex:1 1 140px}}

/* Defined favorite stars and consistent library / plan spacing. */
.favorite-button{display:inline-flex;align-items:center;justify-content:center;height:44px;min-height:44px;width:44px;padding:10px;border-radius:8px}.favorite-button svg,#pickerfavorites svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;flex-shrink:0}.favorite-button[aria-pressed=true] svg,#pickerfavorites[aria-pressed=true] svg{fill:currentColor}#pickerfavorites{display:inline-flex;align-items:center;justify-content:center;gap:8px}#pickerfavorites svg{width:18px;height:18px}.recipe-library-actions{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.recipe-library-actions .finder-launch{margin:0}#recipes .filters{margin:20px 0 12px}#recipes .cards{align-items:start}#recipes .card{display:flex;flex-direction:column;gap:10px}#recipes .card h3,#recipes .card p{margin:0;min-height:0}#recipes .card button{margin:4px 0 0;min-height:44px}#recipes .card .recipe-allergy-note{font-size:12px;line-height:1.45}
@media(max-width:700px){.weekbar>#addweek,.weekbar>#saveweek,.weekbar>#deleteweek{grid-column:1/-1;width:100%;min-height:46px;border-radius:10px;margin:0}.recipe-library-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin:16px 0}.recipe-library-actions button{width:100%;min-height:46px;white-space:normal;line-height:1.4}#recipes .card{padding:18px;gap:9px}#recipes .section-head{gap:0}#recipes .section-head h2{margin-bottom:0}}
