@font-face{font-family:'Sofia Sans';src:url('/fonts/sofia-sans.ttf') format('truetype');font-weight:100 900;font-display:swap}
@font-face{font-family:Lora;src:url('/fonts/lora.ttf') format('truetype');font-weight:400 700;font-display:swap}
:root{--ink:#252B25;--muted:#596354;--cream:#F6F7F2;--green:#46543A;--green-dark:#35412c;--soft:#E8ECDC;--line:#d8ddce;--gold:#D9B85F;--paper:#fff;--font-body:'Sofia Sans',Arial,sans-serif;--font-title:Lora,Georgia,serif}
*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font:400 16px/1.55 var(--font-body)}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{touch-action:manipulation}button{min-height:44px;border:1px solid var(--line);border-radius:10px;background:white;padding:9px 14px;font-weight:600;cursor:pointer;transition:background .15s,border-color .15s}button:hover{background:var(--soft);border-color:#9da88f}button:disabled{opacity:.55;cursor:wait}a{color:var(--green);text-underline-offset:3px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid #8d7230;outline-offset:3px}input,select,textarea{border:1px solid #adb6a2;border-radius:10px;background:white;padding:10px;min-height:44px;max-width:100%}input[type=checkbox]{width:22px;height:22px;min-height:22px;accent-color:var(--green);flex-shrink:0}small,.fine,.field-hint{font-size:14px;color:var(--muted)}h1,h2,h3,h4{font-family:var(--font-title);font-weight:600;line-height:1.25}h1{font-size:clamp(28px,3vw,38px);margin:6px 0 10px}h2{font-size:27px}h3{font-size:22px}h4{font-size:19px}.icon{width:21px;height:21px;vertical-align:middle;flex-shrink:0}.primary{background:var(--green);border-color:var(--green);color:white}.primary:hover{background:var(--green-dark);color:white}.soft-btn{background:var(--soft);color:var(--green)}
aside{position:fixed;inset:0 auto 0 0;width:210px;border-right:1px solid var(--line);background:#eef1e7;padding:30px 18px;display:flex;flex-direction:column;z-index:20}.nav-caption{font-size:14px;color:var(--muted);padding:0 12px;margin-bottom:16px}#desk{display:grid;gap:8px}#desk button{display:flex;gap:12px;align-items:center;text-align:left;border:0;background:none;padding:14px}#desk button.active{background:var(--green);color:white}.calm{margin-top:auto;padding:16px 12px;border-top:1px solid var(--line)}.calm b{font-family:var(--font-title);font-weight:500}.calm p{font-size:14px;color:var(--muted);line-height:1.6}.content{margin-left:210px;padding:32px clamp(20px,3vw,48px) 70px;max-width:1700px}.content>header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:24px}.content>header small{font-size:14px;letter-spacing:1.8px}.content>header p{margin:0;color:var(--muted)}.week-picker{display:flex;gap:12px;flex-wrap:wrap}.picker-group{display:flex;align-items:center;gap:6px}.picker-group label{display:grid;gap:4px}.picker-group label span{font-size:14px;color:var(--muted)}.picker-group input,.picker-group select{max-width:175px}.picker-group>button{align-self:flex-end}.hero-menu{display:grid;grid-template-columns:1fr 260px;align-items:center;min-height:170px;margin:16px 0 24px;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#f0f2e9}.hero-copy{padding:24px 28px}.hero-copy h2{font-size:clamp(24px,2.6vw,34px);margin:0 0 12px}.hero-copy p{margin:0;color:var(--muted)}.hero-drawing{width:100%;height:190px;object-fit:cover;mix-blend-mode:normal}.household-line{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:24px 0;padding:16px 20px;background:var(--soft);border-radius:12px}.household-line small{display:block;max-width:760px;margin-top:5px}.preset-row{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px}.preset-row button:last-child{margin-left:auto;background:var(--green);color:white}.day-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.day-card{background:white;border:1px solid var(--line);border-radius:16px;padding:20px;min-width:0}.day-head{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:12px}.day-head h2{font-size:24px;margin:0}.meal-card{padding:20px 0;border-bottom:1px solid var(--line)}.meal-card:last-child{border:0;padding-bottom:0}.meal-card.excluded{opacity:.6}.meal-top{display:flex;align-items:center;gap:10px;margin-bottom:12px;flex-wrap:wrap}.meal-top strong{margin-right:auto;font-size:14px;text-transform:uppercase;letter-spacing:1px}.meal-top label{font-size:14px;display:flex;align-items:center;gap:8px}.portion-input{width:74px;padding:7px}.meal-summary{display:grid;grid-template-columns:96px minmax(0,1fr);gap:14px;align-items:start}.meal-title{display:block;text-align:left;border:0;background:none;padding:0;min-height:44px;font:600 19px/1.35 var(--font-title);width:100%;overflow-wrap:anywhere}.meal-title:hover{background:none;color:var(--green)}.side-line{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:14px;margin:8px 0}.side-line .recipe-visual{width:44px;flex-shrink:0}.meal-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.meal-actions button{font-size:14px;padding:8px 10px}.meal-actions button .icon{width:18px;height:18px}.notice{padding:12px 14px;background:#fbf5e4;border:1px solid #d9c995;color:#5c481e;border-radius:10px;margin:12px 0;font-size:14px;line-height:1.6}.fine{line-height:1.55}.recipe-visual{display:block;margin:0;aspect-ratio:4/3;border-radius:12px;overflow:hidden;background:#eef1e7;position:relative}.recipe-visual img{display:block;width:100%;height:100%;object-fit:cover}.recipe-placeholder{width:100%;height:100%;display:grid;place-content:center;text-align:center;gap:8px;color:#728064;background:#eef1e7}.recipe-placeholder .icon{width:55px;height:55px;stroke-width:1;justify-self:center;transform:rotate(-5deg)}.recipe-placeholder small{font-size:14px}.meal-summary .recipe-placeholder small,.side-line .recipe-placeholder small{display:none}.side-line .recipe-placeholder .icon{width:28px;height:28px}.recipe-photo-caption{font-size:14px;color:var(--muted);margin:8px 0 16px}.recipe-visual.failed img{display:none}.recipe-visual.failed:after{content:'Изображението не е достъпно';display:grid;place-content:center;height:100%;font-size:14px;padding:8px;color:var(--muted)}
.tools{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 20px}.tools input{flex:1 1 260px}.tools button.active{background:var(--green);color:white}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.card{background:white;border:1px solid var(--line);border-radius:16px;overflow:hidden;cursor:pointer;transition:border-color .15s}.card:hover{border-color:#7d8e69}.card .recipe-visual{border-radius:0}.card-media{position:relative}.card-media .category{position:absolute;left:12px;bottom:12px;padding:4px 10px;background:#ffffffef;border-radius:8px;font-size:14px}.copy{padding:18px}.copy h3{font-size:21px;margin:9px 0 12px;overflow-wrap:anywhere}.copy p{font-size:14px;color:var(--muted);margin:0}.review-stats{font-size:14px;color:var(--muted);margin-bottom:24px}.tag{display:inline-block;font-size:14px;background:var(--soft);padding:3px 8px;border-radius:6px}.tag.pending{background:#fbf0d1}.tag.personal{background:#e9edf1}.shop-head{display:flex;align-items:center;gap:18px;padding:20px;background:var(--soft);border-radius:16px;margin-bottom:20px}.shop-head>.icon{width:38px;height:38px}.shop-head h2,.shop-head p{margin:0}.shop-head p{color:var(--muted);margin-top:8px}.shop section{background:white;border:1px solid var(--line);border-radius:16px;padding:24px;margin-top:20px;max-width:940px}.shop-item{border-top:1px solid var(--line);padding:14px 0}.shop-item label{display:flex;gap:12px;align-items:center;min-height:44px}.shop-item label.done{text-decoration:line-through;color:var(--muted)}.shop-item details{font-size:14px;margin:6px 0 0 34px}.shop-item summary{cursor:pointer;min-height:32px;padding-top:5px}.modalbg{position:fixed;inset:0;z-index:100;background:#252b2570;display:flex;align-items:center;justify-content:center;padding:24px;backdrop-filter:blur(3px)}.modal{background:var(--cream);border:1px solid var(--line);border-radius:16px;padding:28px;width:min(980px,100%);max-height:92dvh;overflow:auto;overscroll-behavior:contain}.modal h2{margin:0 52px 20px 0}.modal h3{margin-top:0}.modal .close{float:right;position:sticky;top:0;z-index:2;width:44px;font-size:26px;line-height:1;background:white}.modal-cols{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.4fr);gap:30px}.modal li{margin-bottom:12px;line-height:1.65}.modal ul,.modal ol{padding-left:24px}.component-section{padding:24px 0;border-top:1px solid var(--line)}.component-section>.recipe-visual{max-width:540px;margin-bottom:8px}.component-badge{display:inline-block;background:var(--soft);font-size:14px;padding:8px 12px;border-radius:8px;margin:4px 0}.recipe-times{color:var(--muted);font-size:14px}.fields{display:grid;gap:16px;margin:20px 0}.fields label{display:grid;gap:6px}.fields input,.fields textarea,.fields select{width:100%}.selector-list{display:grid;gap:10px;margin-top:20px}.selector-list button{text-align:left}.stock-list{display:grid;gap:10px;margin:20px 0}.stock-list label{display:flex;align-items:center;gap:12px;background:white;border:1px solid var(--line);padding:12px;border-radius:10px}.pantry-chip{display:inline-flex;align-items:center;gap:8px;background:var(--soft);border-radius:10px;margin:4px;padding:4px 10px}.pantry-chip button{border:0;background:none}.import-box{background:var(--soft);padding:16px;border-radius:12px}.import-box>div{display:flex;gap:8px;margin:12px 0}.import-box input{min-width:0;flex:1}.mobile{display:none}.error-state{padding:32px;background:white;border:1px solid var(--line);border-radius:16px}.review-page{max-width:1080px;margin:auto;padding:32px 24px}.review-page article{padding:24px;margin:20px 0;background:white;border:1px solid var(--line);border-radius:16px}.review-page article.pending{border-left:4px solid var(--gold)}.review-page>input{width:100%}
/* Shared shell styles deliberately follow the utility stylesheet. */
.app-shell{font-family:var(--font-body);background:var(--cream)!important;color:var(--ink)!important}.site-header{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:14px 26px;background:var(--cream);border-bottom:1px solid var(--line)}.brand-lockup{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none}.brand-lockup img{width:42px;height:42px}.brand-lockup b{font-family:var(--font-title);font-size:23px;font-weight:600}.header-actions{display:flex;align-items:center;gap:10px}.header-actions .family-label{font-size:14px;color:var(--muted)}.header-actions a{font-size:14px;padding:10px;text-decoration:none}.sync-status{font-size:14px;background:#eef1e7!important;color:var(--muted);border-bottom:1px solid var(--line);padding:8px 24px!important}.sync-status button{font-size:14px;min-height:44px;padding:4px 9px}.app-shell .font-serif{font-family:var(--font-title)}.app-shell .text-xs,.app-shell .text-sm{font-size:14px}.app-shell .rounded-full{border-radius:10px}.app-shell .rounded-3xl{border-radius:16px}.app-shell .shadow-xl{box-shadow:0 16px 50px #252b251c}.app-shell [class*='bg-[#607c61]'],.app-shell [class*='bg-[#31493a]']{background:var(--green)}.app-shell [class*='bg-[#edf1e8]'],.app-shell [class*='bg-[#dfe8d9]']{background:var(--soft)}.app-shell [class*='bg-[#f7f5ef]']{background:var(--cream)}.app-shell [class*='text-[#788079]'],.app-shell [class*='text-[#728076]'],.app-shell [class*='text-[#667168]']{color:var(--muted)}.app-shell [class*='text-[#486049]']{color:var(--green)}
@media(min-width:1600px){.day-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1150px){.content>header{align-items:start;flex-direction:column}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.day-grid{grid-template-columns:1fr}.hero-menu{grid-template-columns:1fr 200px}}@media(max-width:760px){aside{display:none}.content{margin:0;padding:24px 16px 105px}.content>header{gap:16px;margin-bottom:16px}.week-picker{gap:10px;width:100%}.picker-group{flex:1;min-width:0}.picker-group label{flex:1;min-width:0}.picker-group input,.picker-group select{width:100%;max-width:none}.today-btn{display:none}.hero-menu{grid-template-columns:1fr 92px;min-height:0;margin:16px 0}.hero-copy{padding:16px}.hero-copy h2{font-size:22px;margin:0}.hero-copy p{display:none}.hero-drawing{height:120px;object-position:center}.household-line{padding:14px;margin:16px 0}.household-line small{font-size:14px}.preset-row{margin-bottom:18px}.preset-row button:last-child{margin-left:0}.day-grid{gap:16px}.day-card{padding:16px}.meal-summary{grid-template-columns:80px minmax(0,1fr);gap:12px}.meal-title{font-size:18px}.cards{gap:16px}.copy{padding:14px}.copy h3{font-size:18px}.mobile{display:flex;position:fixed;bottom:0;left:0;right:0;background:var(--cream);border-top:1px solid var(--line);z-index:30;padding:6px 12px max(8px,env(safe-area-inset-bottom));gap:8px}.mobile button{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:0;background:none;font-size:14px;padding:7px 6px;color:var(--muted)}.mobile button.active{background:var(--soft);color:var(--green)}.modalbg{padding:8px}.modal{padding:20px 16px;max-height:96dvh}.modal-cols{grid-template-columns:1fr;gap:8px}.modal h2{font-size:25px}.shop section{padding:16px}.site-header{padding:12px 16px;gap:8px}.brand-lockup{gap:9px}.brand-lockup b{font-size:20px}.brand-lockup img{width:34px;height:34px}.header-actions{gap:4px}.header-actions .family-label{display:none}.header-actions button{padding:8px 10px}.header-actions a{padding:8px 4px}.sync-status{padding:6px 16px!important}.sync-status>span{flex:1 1 230px}.review-page{padding:24px 16px}}@media(max-width:430px){.cards{grid-template-columns:1fr}.picker-group label span{font-size:14px}.header-actions a{font-size:14px}.site-header{padding:10px 12px}.brand-lockup b{font-size:19px}.meal-actions{gap:6px}.meal-actions button{padding:8px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.planning-tools{margin:0 0 24px}.planning-tools>summary{cursor:pointer;min-height:44px;padding:10px 14px;width:max-content;border:1px solid var(--line);border-radius:10px;background:white;font-weight:600}.planning-tools[open]>summary{margin-bottom:12px}.planning-tools .preset-row{margin-bottom:0}@media(max-width:760px){.content>header h1{font-size:27px}.content>header{margin-bottom:10px}.hero-menu{margin:12px 0}.hero-copy{padding:14px}.hero-copy h2{font-size:20px}.hero-drawing{height:100px}.household-line{gap:10px;margin:12px 0}.household-line>button{padding:8px 12px}.planning-tools{margin-bottom:16px}}

@media(max-width:760px){.content .hero-menu{display:none}.week-picker{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr)}.picker-group{position:relative;padding-top:25px}.picker-group label span{position:absolute;top:0;left:0;width:100%;white-space:nowrap}.picker-group>button{padding:8px;min-width:44px}.household-line{margin-top:16px}}

/* Weekly planning: one day per row, with progressive controls. */
h1{font-size:30px}button{min-width:44px}summary{cursor:pointer;min-height:44px;padding-block:10px}
.content{padding-top:24px;max-width:1800px}.content>header{margin-bottom:20px}.content>header h1{font-size:30px}.content>header p:empty{display:none}
.week-view #picker{display:none}.week-view #kicker{display:none}.week-view .content>header{margin-bottom:16px}
.week-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:26px;padding-bottom:20px;border-bottom:1px solid var(--line)}
.week-period{display:flex;align-items:center;gap:8px;margin-right:auto}.week-period>div{display:grid;min-width:160px;text-align:center}.week-period b{font-size:18px}.week-period span{font-size:14px;color:var(--muted)}.week-period>button{font-size:24px;padding:4px 10px}.toolbar-portions{border-color:transparent;background:transparent}.toolbar-portions .icon{width:16px}
.day-grid{display:flex;flex-direction:column;gap:30px}.day-card{background:none;border:0;border-radius:0;padding:0}.day-head{align-items:center;gap:12px;padding:0 0 10px;border:0}.day-head h2{font-size:22px}.day-head>button{font-size:14px;border-color:transparent;background:transparent;padding:8px 10px;color:var(--muted)}
.day-meals{display:grid;grid-template-columns:repeat(var(--meal-count),minmax(0,1fr));gap:16px;align-items:stretch}
.meal-card,.meal-card:last-child{display:flex;flex-direction:column;padding:16px;background:var(--paper);border:1px solid var(--line);border-radius:16px;min-width:0}
.meal-top{margin-bottom:10px;gap:8px;flex-wrap:nowrap}.meal-top strong{font-size:14px;letter-spacing:.6px}.more-button{display:flex;align-items:center;gap:4px;border:0;background:transparent;font-size:14px;padding:6px 8px;color:var(--muted)}.more-button .icon{width:18px}
.meal-components{display:grid;grid-template-columns:1fr;gap:10px;align-items:start}.meal-components.has-sides{grid-template-columns:repeat(2,minmax(0,1fr))}.meal-component{min-width:0}.component-open{width:100%;display:block;border:0;border-radius:10px;padding:0;background:none;text-align:left;font-weight:400}.component-open:hover{background:transparent}.component-open:hover .meal-title{text-decoration:underline;text-underline-offset:3px}.component-label{display:block;margin-top:10px;color:var(--muted);font-size:14px}.meal-title{font:600 18px/1.35 var(--font-title);min-height:0;margin-top:4px;overflow-wrap:anywhere}.meal-component .recipe-visual{border-radius:10px}.meal-card .recipe-placeholder small{display:none}
.portion-line{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;text-align:left;font-size:14px;border:0;background:none;padding:8px 0;margin-top:10px;color:var(--muted)}.portion-line span{display:flex;align-items:center;gap:6px}.portion-line .icon{width:15px;height:15px}.portion-line:hover{background:transparent;color:var(--green);text-decoration:underline}.meal-card .notice{margin:0 0 10px}.meal-card .meal-actions{margin-top:auto;padding-top:12px;gap:8px}.meal-card .meal-actions button{flex:1;padding:8px;font-size:14px;line-height:1.3;min-height:44px}.meal-card .meal-actions button:first-child{background:var(--soft);border-color:var(--soft)}
.day-meals:has(>.meal-card:only-child) .meal-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.4fr);column-gap:24px}.day-meals:has(>.meal-card:only-child) .meal-top{grid-column:1/-1}.day-meals:has(>.meal-card:only-child) .meal-components{grid-column:1;grid-row:2/5;grid-template-columns:repeat(2,minmax(0,1fr))}.day-meals:has(>.meal-card:only-child) .meal-component:only-child .component-open{display:grid;grid-template-columns:140px 1fr;column-gap:16px;align-items:start}.day-meals:has(>.meal-card:only-child) .meal-component:only-child{grid-column:1/-1}.day-meals:has(>.meal-card:only-child) .meal-component:only-child .recipe-visual{grid-row:1/3}.day-meals:has(>.meal-card:only-child) .meal-component:only-child .component-label{margin-top:0}.day-meals:has(>.meal-card:only-child) .meal-components.has-sides .recipe-visual{max-height:180px}.day-meals:has(>.meal-card:only-child) .portion-line,.day-meals:has(>.meal-card:only-child) .notice,.day-meals:has(>.meal-card:only-child) .meal-actions{grid-column:2;align-self:start;margin-top:0}
.empty-day{border-top:1px solid var(--line);padding-top:12px}.empty-day .day-head{padding-bottom:0}.empty-day .day-head h2{font-size:20px;color:var(--muted)}.empty-week{padding:24px;background:white;border-radius:16px;margin-bottom:24px}.empty-week h2{font-size:24px;margin:0}.empty-week p{max-width:620px}.more-actions{display:grid;gap:10px}.more-actions button{text-align:left}.day-meal-options{display:flex;flex-wrap:wrap;gap:12px}.day-meal-options label,.meal-presets label{display:flex;align-items:center;gap:8px;min-height:44px;cursor:pointer}.portion-editor{display:grid;gap:8px;margin-bottom:20px}.portion-editor input{max-width:220px}
.planning-welcome{max-width:1100px;margin:auto}.planning-welcome .hero-menu{display:grid;grid-template-columns:1fr 1.2fr;min-height:300px;border:0;background:transparent;margin:0 0 24px;overflow:visible}.planning-welcome .hero-copy{padding:12px 24px 12px 0}.planning-welcome .hero-copy h2{font-size:30px;line-height:1.35}.planning-welcome .hero-copy p{font-size:16px;display:block;margin-top:14px}.planning-welcome .hero-drawing{width:100%;height:auto;max-height:330px;object-fit:contain;mix-blend-mode:normal}.planning-panel{max-width:840px;background:white;border:1px solid var(--line);border-radius:16px;padding:24px}.planning-fields{display:grid;grid-template-columns:minmax(160px,.65fr) minmax(0,1fr);gap:20px}.planning-fields label,.field-label{display:grid;gap:6px}.field-label{margin-bottom:6px}.family-control{display:flex;align-items:center;gap:10px;font-weight:400;width:100%;text-align:left}.family-control .icon{width:18px;margin-left:auto}.child-explanation{margin:14px 0 20px;max-width:680px}.meal-presets{border:0;padding:0;margin:0;display:flex;gap:24px;flex-wrap:wrap}.meal-presets legend{font-weight:600;margin-bottom:4px}.meal-presets input{margin-left:0}.template-options{margin:20px 0;border-top:1px solid var(--line)}.template-options summary{font-size:14px;color:var(--muted)}.template-controls{display:flex;gap:12px;align-items:end;flex-wrap:wrap;padding:12px 0}.template-controls label{display:grid;gap:6px}.planning-submit{min-width:180px}.combination-visual{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;align-items:start}.combination-visual>div{min-width:0}.combination-visual span{display:block;font-size:14px;line-height:1.4;padding:8px 10px 12px;color:var(--muted);overflow-wrap:anywhere}.combination-visual .recipe-visual{border-radius:0}.card-media:has(.combination-visual) .category{position:static;display:inline-block;margin:0 10px 8px;background:var(--soft)}.copy h3{font-size:18px}
@media(max-width:1250px) and (min-width:761px){aside{width:170px;padding-inline:12px}.content{margin-left:170px;padding-inline:24px}.day-meals{gap:12px}.meal-card,.meal-card:last-child{padding:12px}.meal-title{font-size:17px}.meal-actions button{padding-inline:6px}}
@media(max-width:1050px) and (min-width:761px){.day-meals{grid-template-columns:repeat(min(var(--meal-count),2),minmax(0,1fr))}.week-toolbar{gap:8px}.week-period{flex:1 1 100%}.week-period>div{text-align:left}.planning-welcome .hero-copy h2{font-size:26px}}
@media(max-width:760px){.content{padding:20px 16px 100px}.content>header h1{font-size:26px}.week-toolbar{gap:8px;margin-bottom:20px;padding-bottom:16px}.week-period{flex:1 1 100%;justify-content:space-between}.week-period>div{text-align:center}.week-toolbar>button{flex:1 1 auto;font-size:14px}.week-toolbar .toolbar-portions{flex:1 1 100%;justify-content:center}.day-grid{gap:24px}.day-head h2{font-size:21px}.day-head>button{font-size:14px;padding-inline:4px}.day-meals{display:flex;flex-direction:column;gap:12px}.meal-card,.meal-card:last-child,.day-meals:has(>.meal-card:only-child) .meal-card{display:flex;padding:14px}.meal-components,.day-meals:has(>.meal-card:only-child) .meal-components{display:grid;grid-template-columns:1fr;gap:12px}.meal-components.has-sides,.day-meals:has(>.meal-card:only-child) .meal-components.has-sides{grid-template-columns:repeat(2,minmax(0,1fr))}.day-meals:has(>.meal-card:only-child) .meal-components.has-sides .recipe-visual{max-height:none}.day-meals:has(>.meal-card:only-child) .meal-component:only-child .component-open{display:block}.meal-title{font-size:18px}.meal-card .meal-actions{margin-top:auto}.meal-card .portion-line{margin-top:10px}.planning-welcome .hero-menu{display:flex;flex-direction:column;gap:8px;margin:0 0 20px}.planning-welcome .hero-copy{padding:0;align-self:start}.planning-welcome .hero-copy h2{font-size:26px}.planning-welcome .hero-copy p{margin-top:10px}.planning-welcome .hero-drawing{display:block;height:auto;max-height:230px;width:100%;object-fit:contain}.planning-panel{padding:18px}.planning-fields{grid-template-columns:1fr;gap:16px}.meal-presets{gap:12px}.planning-submit{width:100%}.planning-view .content>header{display:none}.week-picker{display:block}.picker-group{padding:0}.modal h2{font-size:24px}}
@media(min-width:761px){.day-meals:has(>.meal-card:only-child) .meal-components.has-sides{grid-template-columns:repeat(2,minmax(0,240px));gap:16px}.day-meals:has(>.meal-card:only-child) .meal-components.has-sides .recipe-visual{max-height:none}}
.component-change{font-size:14px;border:0;background:none;padding:8px 0;color:var(--green);text-align:left;text-decoration:underline;text-underline-offset:3px}
/* Supplied brand artwork stays unaltered, including its transparent background. */
.brand-lockup.supplied-brand img{width:126px;height:84px;object-fit:contain}.site-header:has(.supplied-brand){padding-block:4px;min-height:92px}
@media(max-width:760px){.brand-lockup.supplied-brand img{width:108px;height:72px}.site-header:has(.supplied-brand){min-height:80px}}
/* Full-width welcome and compact meals; navigation shares the brand header. */
aside{display:none}.content{margin-left:0;max-width:none;padding:24px clamp(20px,3vw,48px) 60px}.site-header{justify-content:flex-start;gap:24px}.site-header .header-actions{margin-left:auto}.top-menu-nav{display:flex;align-items:center;gap:8px}.top-menu-nav button{border-color:transparent;background:transparent;padding:10px 20px}.top-menu-nav button.active{background:var(--soft);color:var(--green)}.brand-lockup.supplied-brand img{width:105px;height:70px}.site-header:has(.supplied-brand){min-height:78px;padding-block:4px}
.planning-view .content{padding:0 0 40px}.planning-view .content>header{display:none}.planning-welcome{max-width:none;margin:0}.planning-welcome .hero-menu{position:relative;display:flex;align-items:center;min-height:360px;height:clamp(360px,36vw,520px);width:100%;margin:0;border-radius:0;overflow:hidden;background:#e9e9dd}.planning-welcome .hero-drawing{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:cover;object-position:center 62%;mix-blend-mode:normal}.planning-welcome .hero-copy{position:relative;z-index:1;display:flex;justify-content:center;flex-direction:column;align-self:stretch;width:65%;padding:40px clamp(24px,6vw,100px);background:linear-gradient(90deg,#f6f7f2f5 0%,#f6f7f2dc 58%,#f6f7f200 100%)}.planning-welcome .hero-copy h2{font-size:clamp(26px,2.6vw,36px);max-width:450px}.planning-welcome .hero-copy p{max-width:360px}.planning-panel{max-width:1100px;margin:24px auto 0;width:calc(100% - 48px)}
.day-grid{gap:22px}.day-meals{gap:16px}.meal-card,.meal-card:last-child{padding:14px}.meal-components,.meal-components.has-sides{grid-template-columns:1fr;gap:12px}.meal-component .component-open,.day-meals:has(>.meal-card:only-child) .meal-component:only-child .component-open{display:grid;grid-template-columns:96px minmax(0,1fr);column-gap:12px;align-items:start}.meal-component .recipe-visual{grid-column:1;grid-row:1/3;width:96px;height:72px;aspect-ratio:4/3}.meal-component .component-label{grid-column:2;margin-top:0}.meal-component .meal-title{grid-column:2;font-size:17px;margin-top:3px}.component-change{margin-left:108px;padding-block:4px}.meal-top{margin-bottom:8px}.portion-line{margin-top:8px}.meal-card .meal-actions{padding-top:8px}.day-meals:has(>.meal-card:only-child) .meal-components.has-sides{grid-template-columns:repeat(2,minmax(0,1fr));max-width:760px}.day-meals:has(>.meal-card:only-child) .meal-components.has-sides .recipe-visual{max-height:none}.day-meals:has(>.meal-card:only-child) .meal-card{grid-template-columns:minmax(0,1fr) minmax(200px,.4fr)}
.cards{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}.card>.card-media>.recipe-visual{max-height:170px}.card .combination-visual .recipe-visual{max-height:120px}
@media(max-width:1050px) and (min-width:761px){.content{margin-left:0}.day-meals{grid-template-columns:repeat(var(--meal-count),minmax(0,1fr))}.meal-component .component-open{grid-template-columns:76px minmax(0,1fr)}.meal-component .recipe-visual{width:76px;height:57px}.meal-card .meal-actions{flex-direction:column}.component-change{margin-left:88px}}
@media(max-width:760px){.top-menu-nav{display:none}.site-header{gap:12px}.brand-lockup.supplied-brand img{width:90px;height:60px}.site-header:has(.supplied-brand){min-height:68px}.content{padding:18px 16px 100px}.planning-welcome .hero-menu{display:flex;height:360px;min-height:360px}.planning-welcome .hero-copy{width:100%;padding:24px;background:linear-gradient(90deg,#f6f7f2ed,#f6f7f2b8 60%,#f6f7f220)}.planning-welcome .hero-copy h2{font-size:27px}.planning-welcome .hero-drawing{position:absolute;height:100%;max-height:none;object-fit:cover;object-position:65% center}.planning-panel{width:calc(100% - 32px);padding:18px;margin-top:16px}.planning-view .content{padding-bottom:100px}.meal-components.has-sides,.day-meals:has(>.meal-card:only-child) .meal-components.has-sides{grid-template-columns:1fr}.meal-component .component-open,.day-meals:has(>.meal-card:only-child) .meal-component:only-child .component-open{display:grid;grid-template-columns:88px minmax(0,1fr)}.meal-component .recipe-visual{width:88px;height:66px}.meal-component .meal-title{font-size:17px}.component-change{margin-left:100px}.cards{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}}
/* Cards follow their own content height, including meals without a side. */
.day-meals{align-items:start}
.day-meals>.meal-card{align-self:start}
.meal-card .meal-actions{margin-top:0}
.variety-note{font-size:14px;line-height:1.45;color:#6b552a;background:#fbf5e4;padding:10px 12px;border-radius:8px;margin:4px 0 10px}

/* Supplied horizontal logo: crop only the empty outer canvas in its display box. */
.brand-lockup.supplied-brand{flex-shrink:0}.brand-lockup.supplied-brand img{width:180px;height:76px;object-fit:cover;object-position:center}.site-header:has(.supplied-brand){min-height:84px}
@media(max-width:760px){.brand-lockup.supplied-brand img{width:148px;height:64px}.site-header:has(.supplied-brand){min-height:72px}}

/* Blend the supplied white logo canvas into the warm page background. */
.brand-lockup.supplied-brand img{mix-blend-mode:normal}

.header-actions{display:flex;align-items:center;gap:10px}.header-actions select{min-height:44px;border:1px solid var(--line);border-radius:10px;padding:8px;background:white;color:var(--ink);font:inherit}#preview-profile{max-width:440px;width:calc(100% - 32px);border:1px solid var(--line);border-radius:16px;padding:24px;color:var(--ink)}#preview-profile::backdrop{background:#252b2560}.profile-close{float:right}.mobile{grid-template-columns:repeat(4,1fr)}

.welcome-actions{display:flex;justify-content:center;padding:24px 16px}.welcome-actions button{min-width:180px}.mobile{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}@media(min-width:761px){.mobile{display:none}}

/* A readable shopping list, centered independently of the full-width welcome. */
.shopping-view .content{width:100%;max-width:1080px;margin:0 auto;padding:24px 24px 100px}.shopping-view .content>header{margin-bottom:20px}.shopping-view .shop-head{background:transparent;padding:0;margin-bottom:16px;gap:12px}.shopping-view .shop-head h2{font-size:22px}.shopping-view .shop-head p{font-size:15px;margin-top:4px}.shop-actions{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.shop-actions button{font-size:14px;padding:8px 12px;min-height:44px}.shop-actions button:last-child{margin-left:auto}.shopping-view .shop section{max-width:none;width:100%;margin-top:16px;padding:16px 20px}.shopping-view .shop h3{font-size:20px;margin:0 0 12px}.shopping-view .shop-item{padding:6px 0}.shopping-view .shop-item label{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:12px;min-height:44px;font-size:16px;cursor:pointer}.shopping-view .shop-item input{width:20px;height:20px;min-height:0;margin:0;accent-color:var(--green)}.shop-product{font-weight:600;overflow-wrap:anywhere}
.shop-product > small{display:block;margin-top:6px;font-size:14px;line-height:1.45;font-weight:400;color:var(--muted)}.shop-quantity{font-variant-numeric:tabular-nums;color:var(--muted);font-size:15px;white-space:nowrap}.shopping-view .shop-item details{margin:0 0 0 36px}.shopping-view .shop-item summary{font-size:14px;min-height:44px;display:flex;align-items:center;padding:0;color:var(--muted)}.shopping-view .shop-item summary::before{content:'▸';margin-right:8px}.shopping-view .shop-item details[open] summary::before{content:'▾'}@media(max-width:760px){.shopping-view .content{padding:18px 16px 100px}.shopping-view .shop section{padding:12px}.shop-actions button:last-child{margin-left:0}.shopping-view .shop-item label{gap:8px}.shop-quantity{white-space:normal;text-align:right;max-width:110px}}
@media(min-width:761px){.site-header{display:grid;grid-template-columns:minmax(180px,1fr) auto minmax(180px,1fr);gap:16px}.site-header>.brand-lockup{justify-self:start}.site-header>.top-menu-nav{justify-self:center}.site-header>.header-actions{justify-self:end;margin-left:0}.top-menu-nav button{padding:10px 16px}.header-actions .family-label{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media(min-width:761px) and (max-width:1100px){.site-header{grid-template-columns:minmax(148px,1fr) auto minmax(148px,1fr);gap:8px;padding-inline:16px}.site-header .brand-lockup.supplied-brand img{width:148px;height:64px}.top-menu-nav{gap:2px}.top-menu-nav button{padding:10px}.header-actions .family-label{display:none}}

.card>.card-media>.recipe-visual{width:100%;height:190px;max-height:none;aspect-ratio:auto}.card .recipe-visual img{width:100%;height:100%;object-fit:cover;object-position:center}.card .combination-visual .recipe-visual{width:100%;height:140px;max-height:none;aspect-ratio:auto}.category-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}.category-filters button{font-size:14px;padding:8px 12px}.category-filters button[aria-pressed=true]{background:var(--green);color:white;border-color:var(--green)}.variant-button{margin-top:12px;font-size:14px}.card .copy h3{font-size:19px}

.stock-row{display:flex;align-items:start;gap:12px;flex-wrap:wrap;margin-left:36px}.stock-row>button{font-size:14px;padding:6px 10px;background:transparent}.shopping-view .stock-row details{margin:0}.stock-available{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;border-top:1px solid var(--line)}.stock-available small{display:block}.purchase-field{display:grid;grid-template-columns:1fr 130px;gap:12px;align-items:center;margin:12px 0}.purchase-field input{width:100%}

.shopping-view .shop-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 16px;align-items:center}.shopping-view .stock-row{margin:0;display:flex;gap:4px;align-items:center}.stock-row button{font-size:14px;padding:6px 8px}.stock-row .product-sources{border-color:transparent;color:var(--muted)}.draft-week{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;font-size:14px;color:var(--muted)}@media(max-width:760px){.shopping-view .shop-item{grid-template-columns:1fr}.shopping-view .stock-row{justify-content:space-between;margin-left:32px}}

/* Family name sits below the logo, outside the action controls. */
.site-header .brand-lockup.supplied-brand{display:flex;flex-direction:column;align-items:center;gap:0;padding-bottom:6px}.brand-family-label{display:block;max-width:200px;font-family:var(--font-body, sans-serif);font-size:14px;line-height:1.3;font-weight:400;color:var(--muted,#596354);text-align:center;overflow-wrap:anywhere}@media(max-width:760px){.brand-family-label{max-width:148px}}

/* Shared dialog controls use explicit contrast, independent of utility layers. */
[data-menu-dialog] button.primary{background:var(--green);border-color:var(--green);color:#fff}
[data-menu-dialog] button.primary:hover{background:var(--green-dark);color:#fff}
[data-menu-dialog] input:not([type=checkbox]):not([type=radio]){min-width:0;width:100%}
[data-menu-dialog] p,[data-menu-dialog] small,[data-menu-dialog] b{overflow-wrap:anywhere}
.stock-editor-field{display:grid;gap:8px;margin:20px 0 16px}
.stock-editor-field input{width:100%;min-width:0}
.stock-editor-save{margin-top:0}
/* Separate dialog action rows, amount fields and explanatory text. */
.modal>.meal-actions{gap:12px;margin:0 0 20px}
.modal>:where(label:not(:has(input[type=checkbox],input[type=radio]))){display:grid;gap:8px;margin:20px 0;min-width:0;max-width:100%}
.modal>:where(label:not(:has(input[type=checkbox],input[type=radio]))) input{display:block;width:100%;min-width:0}
.modal>.standalone-portions{width:min(100%,220px);margin:0 0 18px}
.modal>.standalone-portions+.fine{margin:0 0 24px;max-width:75ch}
.modal .component-section>.meal-actions{gap:12px;margin-top:20px}
.modal>select+button{margin-top:16px}
.modal h2{padding-right:48px;overflow-wrap:anywhere}
@media(max-width:760px){
 .modal>.meal-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .modal>.meal-actions button{width:100%;min-width:0;padding:10px;overflow-wrap:anywhere}
 .day-meals{align-items:stretch;width:100%}
 .day-meals>.meal-card,.day-meals:has(>.meal-card:only-child)>.meal-card{align-self:stretch;width:100%;max-width:none}
 .day-card,.day-grid,.meal-components,.meal-component{min-width:0}
 .meal-card .meal-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .meal-card .meal-actions button{width:100%;min-width:0;overflow-wrap:anywhere}
 .modalbg{padding:12px}
 .modal{width:100%;padding:20px 16px;max-height:calc(100dvh - 24px)}
 .stock-editor-save{width:100%}
 [data-menu-dialog="profile"]{max-height:calc(100dvh - 32px);padding:20px;scroll-padding-block:20px}
 .profile-field-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
 .profile-field-actions button{width:100%}
 [data-menu-dialog="profile"]>div:first-child{gap:12px}
 [data-menu-dialog="profile"]>div:first-child>div{min-width:0}
 [data-menu-dialog="profile"]>div:first-child>button{flex-shrink:0}
}

/* Compact browsing and explanatory content, shared across screen sizes. */
.catalog-tools{display:flex;flex-wrap:wrap;gap:8px}.catalog-tools input{flex:1 1 220px;min-width:0}.active-filters{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}.active-filters:empty{display:none}#catalogFilters{margin:8px 0 16px}#catalogFilters:not([open]){display:none}.shopping-help{margin:8px 0 16px}.shopping-help summary{cursor:pointer;min-height:44px;display:flex;align-items:center}.shop-quantity small{display:block;font-size:14px;font-weight:400;white-space:normal}.modal input,.modal select,.modal textarea{max-width:100%;min-width:0}.modal{overscroll-behavior:contain;scroll-padding:20px}@media(max-width:600px){.catalog-tools input{flex-basis:100%}.catalog-tools button{flex:1;padding:8px}.shop-quantity{max-width:150px}.modal{max-height:calc(100dvh - 24px);overflow:auto}}

.recipe-safety-note{padding:16px;margin:16px 0;background:#edf3e9;border-left:4px solid #607c61;border-radius:8px}.recipe-safety-note h4{margin:0 0 10px}.recipe-safety-note p{margin:8px 0;font-size:15px;line-height:1.55}.recipe-safety-note a,.recipe-source a{text-decoration:underline}.recipe-source{margin:16px 0}
/* Shopping assistant uses the existing quantities and stock ledger. */
.shopping-tools{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:12px 0}
.shopping-mode{display:flex;background:var(--surface,#fff);border:1px solid #dce0d2;border-radius:12px;padding:3px;gap:3px}
.shopping-mode button{border:0;background:transparent;padding:8px 14px;min-height:44px}
.shopping-mode button.active{background:#46543a;color:#fff}
.shopping-tool-actions{display:flex;flex-wrap:wrap;gap:8px;margin-left:auto}
.shopping-tools #copyStatus:empty{display:none}
.retailer-intro{display:flex;gap:16px;align-items:center;justify-content:space-between;font-size:14px;line-height:1.5;margin:12px 0}
.retailer-intro p{margin:0;max-width:720px}.retailer-intro a{flex-shrink:0;min-height:44px;display:inline-flex;align-items:center}
.shopping-estimate{padding:14px 16px;border-radius:12px;background:#e8ecdc;margin:12px 0 18px;line-height:1.5}
.shopping-estimate div{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.shopping-estimate strong{font-size:16px}
.shopping-estimate span,.shopping-estimate small{font-size:14px;color:#46543a}.shopping-estimate p{font-size:14px;margin:6px 0 0}
.shopping-estimate .budget-caption{background:none;border:0;padding:0 8px;text-decoration:underline;min-height:44px;font-size:14px}.shopping-estimate details{font-size:14px}.shopping-estimate summary{padding-block:6px;min-height:32px}
.retailer-row>div:first-child{min-width:0;flex:1;overflow-wrap:anywhere}.retailer-row>[hidden]{display:none}
.retailer-row{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0 2px 36px}
.retailer-row strong{font-family:'Sofia Sans',sans-serif;font-size:15px;font-weight:600}.retailer-row small{display:block;font-size:14px;color:#596354;line-height:1.5}
.retailer-actions{display:flex;flex-wrap:wrap;gap:6px;flex-shrink:0}.retailer-actions button,.retailer-link{min-height:44px;font-size:14px;padding:8px 10px}
.retailer-link{display:inline-flex;align-items:center;justify-content:center;border:1px solid #dce0d2;border-radius:10px;background:#fff;color:#46543a;font-weight:600;text-decoration:none}
.shopping-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0}.shopping-fields label{display:flex;flex-direction:column;gap:5px;min-width:0;font-size:14px}
.shopping-fields [hidden]{display:none}.shopping-fields input,.shopping-fields select{width:100%;box-sizing:border-box;min-height:44px;font-size:16px;min-width:0}
.shopping-favorite{display:flex;align-items:center;gap:8px;min-height:44px}.shopping-favorite input{width:20px;height:20px}
.shopping-copy{width:100%;box-sizing:border-box;font-size:16px;line-height:1.5}.dialog-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
@media(max-width:760px){.shopping-tool-actions{margin-left:0}.shopping-tools{gap:8px}.shopping-mode{width:100%}.shopping-mode button{flex:1}.retailer-intro{display:block}.retailer-row{display:block;padding-left:0}.retailer-actions{margin-top:8px}.retailer-actions button,.retailer-actions a{flex:1}.shopping-fields{grid-template-columns:1fr}.shopping-estimate div{display:block}.shopping-estimate span{display:block;margin-top:4px}}
@media(max-width:760px){.shopping-tool-actions{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.shopping-tool-actions button{font-size:14px;padding:6px}.shopping-estimate{padding:10px 12px;margin-bottom:8px}.shopping-estimate div{display:flex;align-items:center;gap:4px}.shopping-estimate .budget-caption{padding:0;font-size:14px}.shopping-view #kicker,.shopping-view .shop-head>.icon{display:none}.shopping-view .shop-head{padding:4px 0;margin-bottom:8px}.retailer-row>[hidden]{display:none}}
@media(max-width:760px){.shopping-view .content>header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;margin-bottom:12px}.shopping-view .content>header h1{font-size:22px;margin:0}.shopping-view .week-picker{display:block;width:auto}.shopping-view .picker-group{padding-top:0}.shopping-view .shop-actions button{font-size:14px;padding:8px}}
.shopping-tool-actions{margin-left:0}.shopping-tool-actions .retailer-link{min-height:44px}.stock-row .shop-more{width:44px;min-height:44px;padding:8px;border-color:transparent;background:transparent;color:var(--muted)}.shop-more .icon{width:22px;height:22px}
.shopping-budget-track{display:flex;gap:6px 16px;flex-wrap:wrap;align-items:center;font-size:14px;color:var(--muted);margin:4px 0 12px}.shopping-budget-track strong{color:var(--ink)}.shopping-budget-track small{flex-basis:100%;font-size:14px}
@media(max-width:760px){.shopping-tool-actions{display:flex;flex-wrap:wrap;gap:6px}.shopping-tool-actions button,.shopping-tool-actions .retailer-link{flex:1 1 auto;font-size:14px;padding:8px 10px}.shopping-view .stock-row{justify-content:flex-end;gap:4px;margin-left:32px}.shopping-budget-track{display:block}.shopping-budget-track>*{display:block;margin-top:4px}}
.food-exclusions{margin-top:24px}.food-exclusions>label{font-size:16px;font-weight:600}.food-exclusions .fine{font-size:14px;line-height:1.5;margin:8px 0;color:var(--muted)}
.food-search-controls{display:flex;gap:8px}.food-search-controls input{flex:1;min-width:0;min-height:44px;font-size:16px}.food-search-controls button{min-height:44px}
.food-search-results{padding:4px;margin:8px 0;list-style:none;border:1px solid var(--line);border-radius:10px;max-height:240px;overflow:auto}.food-search-results button{display:block;width:100%;text-align:left;min-height:44px;padding:8px 10px;border:0;border-radius:6px;background:transparent;font-size:16px}.food-search-results button:hover{background:var(--soft)}
.excluded-food-list{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.excluded-food-list>span{display:inline-flex;align-items:center;background:var(--soft);border-radius:10px;padding-left:12px;max-width:100%;overflow-wrap:anywhere}.excluded-food-list button{width:44px;min-width:44px;min-height:44px;background:transparent;border:0;padding:6px;font-size:22px}.food-error{font-size:14px;color:#a73523}

.shopping-development{font-size:14px;line-height:1.5;color:var(--muted);max-width:860px;margin:0 0 20px}.shopping-development a{text-decoration:underline;color:var(--green)}.shopping-tool-actions button:disabled{opacity:1;color:var(--muted);background:transparent;border-color:var(--line);cursor:not-allowed}

.meal-variant{font-family:var(--font-body);font-size:14px;line-height:1.4;color:var(--muted);display:block;margin-top:4px}.meal-card .notice button{min-height:44px;font-size:14px;background:transparent;text-decoration:underline;border:0}

/* Year-round planning: compact explanations and reviewable changes. */
.planning-progress,.planning-alert{padding:clamp(16px,3vw,28px);margin:16px 0;border:1px solid var(--line,#d9d8c8);border-radius:14px;background:var(--paper,#fffdf6)}
.planning-progress p,.planning-alert p{margin:8px 0 16px;max-width:65ch}
.planning-alert .dialog-actions{margin-top:12px}
.planning-rules,.planning-issues,.planning-changes{padding-left:1.25rem;margin:16px 0;line-height:1.6}
.planning-rules li,.planning-issues li{margin:0 0 12px}
.planning-changes{list-style:none;padding:0}
.planning-changes li{display:grid;gap:6px;padding:14px 0;border-bottom:1px solid var(--line,#d9d8c8)}
.planning-changes li>span{overflow-wrap:anywhere}
.planning-success{padding:12px 16px;background:#edf1e8;color:#304c37;border-radius:10px}
@media(max-width:600px){.planning-progress .dialog-actions,.planning-alert .dialog-actions{justify-content:center}.planning-issues strong{display:block}.planning-fields label{min-width:0}.planning-fields select{width:100%;max-width:100%}}

.planning-egg-rule{grid-column:1/-1}.planning-egg-rule small{display:block;margin-top:6px;color:var(--muted,#626e60)}
.planning-explanation{margin:14px 0}.planning-explanation summary{cursor:pointer;padding:8px 0}
@media(max-width:600px){.planning-fields.rules-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.rules-fields>label:nth-child(1),.rules-fields>label:nth-child(2),.rules-fields>label:nth-child(5){grid-column:1/-1}}
