/* ¿QUÉ COMEMOS? 1.6 — warm editorial, built on the original 1.5 UI */
@font-face{font-family:DM Sans;src:url('./assets/fonts/dm-sans.ttf') format('truetype');font-weight:100 900;font-display:swap}
@font-face{font-family:Fraunces;src:url('./assets/fonts/fraunces.ttf') format('truetype');font-weight:100 900;font-display:swap}
:root{--paper:#f7f5ef;--surface:#fffefb;--ink:#303d2f;--olive:#4e6042;--sage:#e7ebdf;--line:#e1e3d8;--muted:#697261;--warm:#a85b3f;--cream:#ede7d8;font-family:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);background:var(--paper)}
body{min-width:0}h1,h2,h3{letter-spacing:-.035em}h1,h2,.section-card-title h3,.shopping-preview h3,.day-heading h3,.settings-block h3,.custom-add h3,.cook-title h3,.modal-content h3,.week-day-head h3{font-family:Fraunces,Georgia,serif;font-weight:480;font-variation-settings:'SOFT' 20,'WONK' 1}
button,input,textarea,select{font-family:inherit}button{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button,a,input,select,summary{scroll-margin:100px}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--warm);outline-offset:4px}
button svg,.brand svg{width:20px;height:20px;flex-shrink:0;vertical-align:middle}img{max-width:100%}svg{display:inline-block}p{line-height:1.6}.muted,.small.muted{color:var(--muted)}.small{font-size:13px}.eyebrow{color:var(--muted);font-size:10px;letter-spacing:.14em;font-weight:700;line-height:1.5}.footer-note{font-size:11px;color:var(--muted);max-width:540px;margin:40px auto 0;line-height:1.6}
.shell{max-width:1440px;grid-template-columns:220px minmax(0,1fr);gap:52px;padding:0 40px 48px}.sidebar{padding:38px 26px 26px 0;border-color:var(--line);gap:30px}.brand{font-family:Fraunces,Georgia,serif;font-weight:550;font-size:23px;letter-spacing:-1px;line-height:1.1;gap:10px;color:var(--ink)}.brand-mark{width:36px;height:42px;border-radius:18px;background:var(--olive)}.brand small{font:600 9px 'DM Sans',sans-serif;letter-spacing:.09em;color:var(--muted);margin-top:9px}.sidebar-nav{gap:8px}.nav-link{min-height:48px;padding:12px 15px;font-size:14px;font-weight:600;color:var(--muted);border-radius:12px;gap:12px}.nav-link.active{background:var(--sage);color:var(--ink)}.nav-link:hover{background:#eef0e8;color:var(--ink)}.nav-icon svg{width:22px;height:22px}.sidebar-note{background:var(--cream);padding:20px;border-radius:4px 24px 24px 24px;color:var(--ink)}.sidebar-note .eyebrow{font-size:8px;letter-spacing:.12em;color:var(--warm)}.sidebar-note strong{font:480 25px/1.15 Fraunces,Georgia,serif;margin:16px 0}.sidebar-note p{color:var(--muted);font-size:12px;line-height:1.6}.sidebar-version{color:var(--muted);font-size:9px;letter-spacing:.13em;display:flex;justify-content:space-between}.sidebar-version span{letter-spacing:0}
.main{padding-top:38px;overflow-anchor:none}.topbar{margin-bottom:30px;align-items:center}.page-title{font-size:clamp(30px,3vw,42px);line-height:1.15;color:var(--ink);font-weight:480;margin-top:8px}.top-actions{gap:12px}.avatar{width:46px;height:46px;background:var(--cream);border:1px solid #ded6c4;font-weight:600;color:var(--ink)}.icon-btn{width:46px;min-width:46px;height:46px;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--ink)}
.btn{min-height:48px;border-radius:12px;padding:13px 18px;font-size:13px;font-weight:600;gap:8px;transition:background .2s,transform .2s,color .2s;border:1px solid transparent}.btn.primary{background:var(--olive);color:#fffef5}.btn.primary:hover{background:#3e5035}.btn.soft{background:var(--sage);color:#3f5137}.btn.outline{background:transparent;border-color:#d7dccf;color:#42543c}.btn.outline:hover{background:#eff1e9}.btn.white{background:var(--surface);color:var(--ink)}.btn.tiny{min-height:44px;padding:11px 13px;font-size:12px;border-radius:10px}.btn:active,.icon-btn:active,.filter-btn:active{transform:scale(.97)}.btn.danger{color:#9b4a34;background:#f5e8e0}.text-btn{font-size:12px;min-height:44px;font-weight:600;color:#4b6141;padding:8px 3px;line-height:1.3}.text-btn:hover{text-decoration:underline}.pill{font-size:11px;font-weight:600;background:var(--sage);color:#4a6140;padding:7px 11px;white-space:normal;line-height:1.4}.pill.gold,.pill.orange{background:#f0e4d2;color:#845839}.pill.gray{background:#eef0e7;color:#636d5c}.card{background:var(--surface);border-color:var(--line);border-radius:18px;box-shadow:none}.card-pad{padding:24px}.section-head{margin:30px 0 16px;align-items:center}.section-head h2{font-size:28px;line-height:1.2;color:var(--ink)}.section-head p{font-size:12px;color:var(--muted);margin-top:5px}.section-card-title h3{font-size:25px;line-height:1.2}.separator{background:var(--line)}
.hero{background:#ece8da;color:var(--ink);border-radius:24px;grid-template-columns:1.05fr 1fr;min-height:354px;border:1px solid #e3dfd2}.hero .copy{padding:35px;gap:18px;justify-content:center;align-items:flex-start}.hero h2,.hero-no-menu h2{font-size:clamp(34px,3.5vw,50px);color:var(--ink);font-weight:450;line-height:1.07;letter-spacing:-.045em}.hero p,.hero-no-menu p{font-size:14px;color:#59664f;max-width:310px;line-height:1.6}.hero .btn{margin-top:4px}.hero-kicker{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:600;color:#58664e}.status-dot{width:7px;height:7px;border-radius:50%;background:#708259}.hero-photo{position:relative;overflow:hidden;min-width:0}.hero-photo img{width:100%;height:100%;object-fit:cover;object-position:center;display:block;mix-blend-mode:normal}.photo-caption{position:absolute;bottom:16px;left:18px;color:#fffdf5;background:#48513bdb;padding:8px 12px;border-radius:30px;font-size:8px;letter-spacing:.12em}.stat-grid{background:transparent;gap:0;margin:24px 0 0;padding:4px 0 16px;border-bottom:1px solid var(--line)}.stat{border:0;border-radius:0;background:none;box-shadow:none;padding:8px 24px}.stat:first-child{padding-left:0}.stat+.stat{border-left:1px solid var(--line)}.stat label{font-size:9px;color:var(--muted);letter-spacing:.1em;font-weight:600}.stat strong{font-family:'DM Sans',sans-serif;font-weight:500;font-size:26px;letter-spacing:-.05em;margin:5px 0 2px;white-space:nowrap;font-variant-numeric:tabular-nums}.stat span{font-size:11px;color:var(--muted)}
.two-col{grid-template-columns:1.1fr 1fr;gap:28px}.meal-list{gap:12px}.meal-row{gap:16px;padding:12px;border-color:var(--line);border-radius:16px;background:var(--surface)}.meal-row .food-art{width:88px;height:88px;border-radius:12px}.meal-body small{font-size:9px;letter-spacing:.08em;color:var(--warm);font-weight:700}.meal-body strong{font-family:Fraunces,Georgia,serif;font-weight:500;font-size:18px;line-height:1.22;color:var(--ink);letter-spacing:-.025em}.meal-body p{font-size:11px;color:var(--muted)}.meal-row .arrow-btn{width:44px;height:44px;flex-shrink:0;border-radius:50%;background:#eff1e7;color:var(--ink)}.shopping-preview{background:var(--sage);padding:25px;border-radius:18px;gap:12px}.shopping-preview h3{font-size:29px;line-height:1.13;color:var(--ink);max-width:280px}.shopping-preview p{color:#606f56;font-size:12px}.preview-line{font-size:13px;color:#52614a;border-color:#d4ddca;padding:11px 0}.check-circle{width:20px;height:20px;border:1px solid #aab99e;border-radius:50%;font-size:12px;display:grid;place-items:center;color:#657b56}.shopping-preview .btn{margin-top:12px}
.pantry-cta{background:#ebe3d2;color:var(--ink);border:1px solid #e0d7c3;border-radius:20px;padding:28px;gap:30px;margin:32px 0}.pantry-cta h2{font-family:Fraunces,Georgia,serif;font-weight:480;font-size:29px;max-width:420px}.pantry-cta p{color:#68705f;font-size:13px}.pantry-cta .eyebrow{color:var(--warm);font-size:9px}.pantry-cta .btn.white{background:var(--olive);color:white}.pantry-cta .btn.outline{background:transparent;border-color:#b9bba8;color:var(--ink)}.pantry-cta .btn.outline:hover{background:#e2ddcd}
.recipe-grid{gap:20px}.recipe-card{border:1px solid var(--line);border-radius:18px;display:flex;flex-direction:column}.recipe-card .food-art{height:190px;background:#ede7d8;flex-shrink:0}.food-art .dish-illustration{object-fit:cover;transition:transform .45s ease}.recipe-card:hover .dish-illustration{transform:scale(1.025)}.recipe-card-content{padding:19px;flex:1;min-height:0}.recipe-card .eyebrow{font-size:9px;letter-spacing:.075em;color:var(--warm)}.recipe-card h3{font-family:Fraunces,Georgia,serif;font-size:21px;min-height:0;font-weight:500;line-height:1.18;margin:10px 0;letter-spacing:-.025em}.recipe-card p{font-size:12px;color:var(--muted);line-height:1.5}.recipe-card-actions{display:grid;grid-template-columns:1fr 44px;gap:8px;margin-top:18px}.recipe-card .recipe-card-actions button{margin:0;font-size:12px;min-height:44px}.recipe-card-actions .btn.soft{grid-column:1/-1;background:#ecf0e4}.recipe-card-actions .btn.outline{min-width:0}.favorite-btn{border:1px solid var(--line);background:transparent;border-radius:10px;display:grid;place-items:center;color:var(--muted)}.favorite-btn.saved{background:#f4e7df;color:var(--warm);border-color:#e5c9b9}.favorite-btn.saved svg{fill:#a85b3f26}.recipes-hero{background:#ede8da;border-radius:18px;padding:27px;grid-template-columns:1fr 145px;gap:25px;margin-bottom:25px}.recipes-hero h2{font-size:32px;line-height:1.1;font-weight:480;color:var(--ink)}.recipes-hero p{color:var(--muted);font-size:13px}.recipes-hero .food-art{width:140px;height:140px;border-radius:50%;background:none}.filter-row{gap:8px;margin:18px 0 24px}.filter-btn{min-height:44px;padding:11px 16px;font-size:12px;font-weight:600;border-color:var(--line);color:var(--muted);background:var(--surface)}.filter-btn.active{background:var(--olive);color:white;border-color:var(--olive)}.pantry-label{color:#4b6440;background:var(--sage);font-size:11px;line-height:1.45;padding:8px 10px}
.week-badge{background:var(--cream);color:#59634e;font-size:12px;font-weight:500;padding:11px 14px;line-height:1.4;min-width:0}.week-nav{gap:10px}.planning-note{background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:0 0 18px;gap:8px}.planning-note span{background:var(--sage);color:#52624a;font-size:11px;font-weight:600;white-space:normal}.planning-note small{color:var(--muted);font-size:12px;margin-top:6px}.plan-overview-head{gap:8px}.plan-overview-head h2{font-size:24px}.plan-switch,.shop-view-switch{background:#e9ebdf;padding:5px;border-radius:13px;gap:5px}.plan-switch button,.shop-view-btn{font-size:13px;font-weight:600;border-radius:9px}.plan-switch button.active,.shop-view-btn.active{box-shadow:none;background:var(--surface)}.week-tabs{gap:6px;margin:22px 0}.day-tab{min-height:74px;border-color:var(--line);background:var(--surface);border-radius:13px;color:var(--muted)}.day-tab strong{font-weight:500;font-size:11px}.day-tab span{font-size:18px;font-weight:600}.day-tab.active{background:var(--olive);border-color:var(--olive);color:#fff}.day-tab.today:not(.active){border-color:#a85b3f}.day-heading{margin:28px 0 16px}.day-heading h3{font-size:25px;line-height:1.2}.menu-meal{grid-template-columns:128px minmax(0,1fr);padding:16px;gap:18px;margin:16px 0;align-items:center}.menu-meal .food-art{width:128px;height:112px;border-radius:12px}.menu-meal h3{font:500 27px/1.18 Fraunces,Georgia,serif;letter-spacing:-.035em;margin:9px 0}.menu-meal .eyebrow{color:var(--warm)}.menu-actions{grid-column:1/-1;display:flex;gap:8px;border-top:1px solid var(--line);padding-top:14px}.menu-actions .btn{min-height:44px;white-space:normal}.btn.lock-on{background:var(--olive);border-color:var(--olive);color:white}.menu-meal.is-cooked{background:#edf1e5;border-color:#cfd9c4}.menu-meal.is-outside{background:#efede6;border-style:dashed}.outside-art{background:var(--cream);color:var(--muted);width:100%;height:96px;border-radius:12px;display:grid;place-items:center}.outside-art svg{width:32px;height:32px}.meal-row .outside-art{width:88px;height:88px;flex-shrink:0}.week-board{gap:16px}.week-day-card{padding:20px}.week-day-head h3{font-size:26px;color:var(--ink)}.week-meal-button{background:#f8f8f1;border-color:var(--line);border-radius:12px;gap:8px;min-height:100px;padding:15px}.week-meal-button strong{font-weight:500;font-size:14px}.week-meal-button span{color:var(--warm);font-size:9px;font-weight:600}.week-meal-button small{color:var(--muted);font-size:11px}.reuse-item{background:#f3f5ec;border-color:var(--line);border-radius:12px;padding:16px}.reuse-item strong{font-size:14px;font-weight:600}.reuse-item span{background:var(--sage);color:#526748;font-weight:500}.reuse-panel .section-card-title h3{font:480 25px/1.2 Fraunces,Georgia,serif;color:var(--ink)}
.shop-summary h2{font-size:34px;font-weight:480;margin:10px 0;color:var(--ink)}.shop-summary-icon{width:56px;height:56px;background:var(--cream);display:grid;place-items:center;border-radius:50%;color:var(--olive);flex-shrink:0}.shop-summary-icon svg{width:25px;height:25px}.budget-meter{border-color:var(--line);border-radius:14px;background:#edf0e6;padding:18px;color:#485e3e}.budget-meter.over{background:#f3e5d5;color:#8a5038;border-color:#e5ccb0}.budget-heading{font-weight:500;font-size:13px;gap:8px}.budget-heading strong{font-size:19px;font-weight:600}.budget-heading small{color:var(--muted);font-size:12px}.budget-meter p{font-size:12px;opacity:1;line-height:1.6}.budget-track,.progress{height:5px;background:#dce2d3}.budget-track i,.progress i,.cook-progress i{background:#7a8c67}.budget-meter.over .budget-track i{background:var(--warm)}.shop-group{padding:22px}.shop-group h3{font-size:16px;font-weight:600;letter-spacing:-.02em;margin-bottom:14px}.shop-group h3 .pill{margin-left:auto;min-width:26px;justify-content:center;font-size:11px}.shop-group+.shop-group{border-color:var(--line)}.shop-row{min-height:62px;gap:10px;border-color:#eceee4;font-size:14px}.shop-row label{min-height:58px;gap:12px}.shop-row input,.cook-check-row input{width:22px;height:22px;min-width:22px;accent-color:var(--olive)}.shop-row label span{font-size:14px;line-height:1.4}.shop-qty{font-size:12px;min-height:44px;border:0;background:#eff2e7;border-radius:10px;padding:10px;gap:6px;color:#4a5f40}.shop-qty svg{width:13px;height:13px}.shop-row.checked label span{color:#757d6e}.shop-row.checked .shop-qty{opacity:1;background:#f3f4ee;color:#737c68}.shop-view-btn span{background:#e4e8db;color:#586c4d}.shop-reset .text-btn{font-size:12px}.bought-details>summary{font-weight:500;font-size:14px;min-height:56px}.custom-add h3{font-size:25px;font-weight:480}.custom-add-fields label{font-size:12px;color:var(--muted);font-weight:500}.custom-add-fields input,.custom-add-fields select{font-size:14px;min-height:48px;background:var(--surface);border-color:var(--line);border-radius:10px}.shop-row .mini-delete{min-width:44px;min-height:44px}
.search-input,.field input,.field select,.field textarea,.inline-form input{border-color:var(--line);background:var(--surface);border-radius:12px;min-height:50px;padding:14px 16px;font-size:15px;color:var(--ink)}.search-input:focus,.field input:focus,.field select:focus,.field textarea:focus,.inline-form input:focus{border-color:#839875;box-shadow:0 0 0 3px #e8eddf}.field{font-size:13px;font-weight:500;gap:8px}.field .hint{font-size:12px;color:var(--muted);line-height:1.5}.banner{color:#526749;background:#edf1e6;border-color:#dbe3d1;border-radius:12px;font-size:13px;line-height:1.6;padding:16px}.banner.warn{background:#f4e8d7;color:#875c3e;border-color:#e7d4b8}.banner.error{background:#f5e6df;color:#994e39;border-color:#e9ccc0}.empty{border:1px solid var(--line);background:var(--surface);padding:40px 26px;border-radius:20px}.empty h2{font-size:30px;font-weight:480;line-height:1.2}.empty p{color:var(--muted);font-size:14px;line-height:1.65;margin:15px auto 24px}.empty-icon{width:60px;height:60px;margin:0 auto 24px;background:var(--sage);border-radius:50%;display:grid;place-items:center;color:var(--olive)}.empty-icon svg{width:25px;height:25px}
.pantry-intro{background:var(--cream);border:1px solid #e0d9c8;border-radius:20px;padding:28px;margin-bottom:24px}.pantry-intro .eyebrow{color:var(--warm)}.pantry-intro h2{font-size:37px;font-weight:480;margin:12px 0;line-height:1.15}.pantry-intro p{color:var(--muted);font-size:14px;max-width:500px}.pantry-intro-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:15px}.pantry-intro-bottom .pill{background:#f7f4eb;color:#5c6751}.pantry-page-content{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:24px}.search-wrap{display:flex;gap:12px;align-items:center;border:1px solid var(--line);border-radius:12px;padding-left:16px;background:var(--surface);color:var(--muted)}.search-wrap .search-input{border:0;background:none;min-width:0}.pantry-page-items{display:grid;grid-template-columns:1fr 1fr;column-gap:30px;margin-top:20px}.ingredient-row{font-size:14px;padding:14px 0;border-color:var(--line);line-height:1.4;align-items:center}.ingredient-row strong{font-size:13px;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}.ingredient-row small{font-size:11px;margin-top:4px}.ingredient-row input[type=number]{background:#f5f6ee!important;border-color:var(--line)!important;min-height:48px!important;font-size:16px;width:96px!important;color:var(--ink);text-align:right;font-variant-numeric:tabular-nums}.pantry-save{position:sticky;bottom:16px;margin:20px 0 0;background:var(--surface);padding-top:12px;border-top:1px solid var(--line)}
.modal-backdrop{background:#202a2080;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);padding:24px;align-items:center}.modal{background:var(--paper);border-radius:24px;max-height:90dvh;width:min(100%,650px);box-shadow:0 20px 70px #1f291c26;scrollbar-gutter:stable;overflow-x:hidden}.modal-head{padding:22px 25px 18px;gap:18px;background:var(--paper);border-bottom:1px solid var(--line);margin-bottom:20px}.modal-head h2{font-size:26px;font-weight:480;line-height:1.16}.modal-head .icon-btn{flex-shrink:0;width:44px;min-width:44px;height:44px}.modal-body{padding:0 25px 28px}.modal-cover.food-art{height:250px;border-radius:16px;background:#ece7d9}.modal-content h3{font:480 25px/1.2 Fraunces,Georgia,serif;margin:26px 0 16px}.steps li{font-size:14px;line-height:1.65;color:#596750;margin:20px 0;gap:15px}.steps li:before{background:var(--sage);color:var(--olive);width:30px;height:30px;font-weight:600}.recipe-metadata{gap:8px}.cook-title h3{font:480 32px/1.16 Fraunces,Georgia,serif;letter-spacing:-.035em;margin:18px 0 12px}.cook-title p{color:var(--muted)}.cook-progress{margin:26px 0;height:5px}.cook-step{background:#e8ecdf;padding:30px;border-radius:18px;min-height:235px;gap:22px;color:var(--ink)}.cook-step span{color:var(--warm);font-size:11px;letter-spacing:.13em;font-weight:600}.cook-step p{font:450 29px/1.4 Fraunces,Georgia,serif;letter-spacing:-.03em}.cook-ingredients{background:var(--surface);border-color:var(--line);border-radius:14px;padding:16px 18px}.cook-ingredients summary{font-size:13px;min-height:30px;font-weight:600;color:#586a4c}.cook-check-row>span{display:flex;align-items:center;gap:10px}.cook-check-row:has(input:checked)>span{color:var(--muted);text-decoration:line-through}.cook-actions{position:sticky;bottom:0;background:var(--paper);padding:16px 0 4px;border-top:1px solid var(--line);gap:12px;margin-top:26px}.cook-actions .btn{min-height:52px;font-size:13px}.resume-tag{color:#5e754d;font-size:11px;font-weight:500}.qty-actions{gap:10px}.swap-row{padding:12px;border-color:var(--line);border-radius:14px;gap:12px}.swap-row strong{font-size:14px;font-weight:500;line-height:1.4}.swap-row small{color:var(--muted);font-size:12px}.swap-row .food-art{border-radius:10px}.plan-recipe-head h3{font:480 25px/1.2 Fraunces,Georgia,serif}
.settings-stack{gap:22px}.settings-block{padding:26px}.settings-block h3{font-size:28px;font-weight:480;line-height:1.2}.settings-block>p{color:var(--muted);font-size:13px;line-height:1.6;margin-bottom:24px}.check-option{min-height:48px;background:#f4f5ec;color:#5c6a51;border-color:var(--line);font-size:13px;font-weight:500}.account-status{background:var(--sage);padding:18px}.account-status p{font-size:12px;color:var(--muted)}.taste-stats span{background:var(--sage);color:#53674a;font-weight:500}.taste-row{font-size:13px}.taste-row button{font-size:12px}.history-week{border-color:var(--line);background:var(--surface)}
.welcome-art{background:var(--olive);padding:45px}.welcome-art .brand{color:#fffaf1}.welcome-art .brand small{color:#d4ddc9}.welcome-art h1{font-size:clamp(40px,5vw,70px);font-weight:440;letter-spacing:-.04em}.welcome-art img{filter:none;max-height:400px}.welcome-inner h2{font-size:38px;font-weight:480;line-height:1.15}.welcome-inner>p{color:var(--muted);font-size:14px}.welcome-inner .optional{font-size:12px;line-height:1.6;color:var(--muted)}.stepper i.active{background:var(--olive)}
#toast{background:#3c4f32;color:#fffef4;border-radius:13px;padding:14px 20px;font-size:13px;font-weight:500;box-shadow:0 8px 24px #29352420;max-width:min(90vw,450px)}
@media(min-width:721px){.main{animation:screen-in .3s ease-out}.bottom-nav{display:none}}
@media(max-width:1180px){.shell{grid-template-columns:195px minmax(0,1fr);gap:30px;padding-inline:28px}.sidebar{padding-right:18px}.brand{font-size:20px}.hero .copy{padding:30px 25px}.hero h2{font-size:37px}.two-col{gap:20px}.recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{min-height:340px}}
@media(max-width:920px){.two-col{grid-template-columns:1fr}.hero{grid-template-columns:1.1fr .9fr}.hero h2{font-size:34px}.pantry-cta{align-items:stretch}.pantry-page-items{grid-template-columns:1fr}.recipe-card h3{font-size:20px}}
@media(max-width:720px){
 .shell{display:block;padding:0 max(20px,env(safe-area-inset-left)) calc(120px + env(safe-area-inset-bottom));max-width:560px}.sidebar{display:none}.main{padding-top:calc(25px + env(safe-area-inset-top));min-width:0}.topbar{margin-bottom:25px;gap:15px}.page-title{font-size:30px;margin-top:7px;letter-spacing:-.045em}.topbar .eyebrow{font-size:9px;letter-spacing:.13em}.top-actions{gap:0}.install-control{display:none}.avatar{width:44px;height:44px;flex-shrink:0;font-size:14px}.topbar>div:first-child{min-width:0}.top-actions{flex-shrink:0}
 .hero{display:flex;flex-direction:column-reverse;border-radius:20px;min-height:0;background:#ede8da}.hero-photo{width:100%;height:205px}.hero-photo img{object-position:50% 52%}.photo-caption{left:15px;bottom:14px;font-size:8px;padding:7px 10px}.hero .copy{padding:23px 25px 26px;gap:14px;display:block}.hero-kicker{font-size:10px;gap:7px;margin-bottom:12px}.hero h2{font-size:37px;line-height:1.05;margin-bottom:12px}.hero p{font-size:13px;line-height:1.55;max-width:100%;margin-bottom:18px}.hero .btn{min-height:46px;font-size:12px;padding:12px 18px;margin:0}.hero-no-menu img{mix-blend-mode:normal}
 .stat-grid{margin-top:21px;padding-bottom:14px}.stat{padding:6px 10px}.stat:first-child{padding-left:0}.stat label{font-size:8px;letter-spacing:.06em}.stat strong{font-size:21px;font-weight:500;margin:7px 0 3px;line-height:1.15}.stat span{font-size:10px}.section-head{margin:28px 0 15px;gap:12px}.section-head h2{font-size:26px}.section-head p{font-size:11px}.section-head .text-btn{font-size:11px;flex-shrink:0}.two-col{grid-template-columns:1fr;gap:0}.meal-row{padding:10px;gap:12px}.meal-row .food-art{width:76px;height:80px}.meal-body strong{font-size:18px;line-height:1.2}.meal-body small{font-size:8px}.meal-body p{font-size:11px}.meal-row .arrow-btn{width:44px;height:44px;font-size:19px}.shopping-preview{padding:24px;gap:12px}.shopping-preview h3{font-size:30px;max-width:280px}.pantry-cta{margin:28px 0;padding:25px;gap:20px}.pantry-cta h2{font:480 29px/1.12 Fraunces,Georgia,serif;letter-spacing:-.035em}.pantry-cta p{font-size:13px}.pantry-cta-buttons{display:grid;grid-template-columns:1fr;gap:9px}.pantry-cta-buttons .btn{font-size:12px}
 .bottom-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;left:0;right:0;bottom:0;padding:8px max(8px,env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom));background:#f9f9f0f5;backdrop-filter:blur(15px);border-top:1px solid #e0e3d7;z-index:20;box-shadow:none}.bottom-nav button{min-height:60px;position:relative;gap:5px;font-size:10px;font-weight:500;color:#6c765f;padding:5px 0;min-width:0}.bottom-nav .nav-icon{padding:5px 12px;border-radius:20px;width:49px;height:31px}.bottom-nav .nav-icon svg{width:21px;height:21px}.bottom-nav button.active{color:#35492c;font-weight:700}.bottom-nav button.active .nav-icon{background:#e4ead8}.bottom-nav button:active .nav-icon{background:#e4e8d9}
 .recipe-grid{gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.recipe-card{border-radius:15px}.recipe-card .food-art{height:145px}.recipe-card-content{padding:14px;min-height:0}.recipe-card .eyebrow{font-size:8px;letter-spacing:.05em;line-height:1.6}.recipe-card h3{font-size:20px;margin:10px 0;min-height:0}.recipe-card p{font-size:12px;line-height:1.5}.recipe-card-actions{margin-top:17px;gap:7px;grid-template-columns:minmax(0,1fr) 44px}.recipe-card .recipe-card-actions .btn{font-size:11px;min-height:44px;padding:10px 6px}.recipe-card-actions .favorite-btn{min-width:44px;min-height:44px}.recipes-hero{padding:22px;grid-template-columns:1fr 90px;gap:16px;margin-bottom:22px}.recipes-hero h2{font-size:27px;margin:10px 0 12px}.recipes-hero p{font-size:12px}.recipes-hero .food-art{width:88px;height:88px}.filter-row{margin:16px 0 22px;gap:7px}.filter-btn{font-size:12px;padding:11px 14px;min-height:44px}.search-input{font-size:16px}
 .week-nav{align-items:stretch;gap:8px}.week-badge{font-size:11px;flex:1;padding:10px 12px}.week-nav .btn{font-size:11px;max-width:125px;padding:10px 12px}.planning-note{gap:6px;margin:16px 0 22px}.planning-note span{font-size:10px;padding:7px 9px}.planning-note small{font-size:11px;margin-top:5px}.plan-overview-head{align-items:flex-start;flex-direction:column;margin:22px 0 8px}.plan-overview-head h2{font-size:25px}.plan-overview-head span{font-size:11px}.week-tabs{gap:5px;margin:22px 0 25px}.day-tab{min-height:67px;border-radius:11px;gap:7px}.day-tab strong{font-size:9px}.day-tab span{font-size:16px}.day-heading{gap:10px;align-items:start;flex-direction:column}.day-heading h3{font-size:25px}.day-heading .pill{font-size:10px}.menu-meal{grid-template-columns:95px minmax(0,1fr);gap:15px;padding:15px;align-items:center}.menu-meal .food-art{width:95px;height:105px;border-radius:11px}.menu-meal h3{font:480 24px/1.17 Fraunces,Georgia,serif;margin:8px 0 9px}.menu-meal .eyebrow{font-size:9px;letter-spacing:.075em}.menu-meal .small{font-size:11px}.menu-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-top:16px}.menu-actions .btn{font-size:12px;min-height:46px;padding:10px 8px;white-space:normal;line-height:1.3}.menu-actions .btn:first-child{grid-column:1/-1;background:var(--olive);color:white}.menu-actions .btn svg{width:16px;height:16px}.week-board{grid-template-columns:1fr;gap:15px}.week-day-card{padding:20px}.reuse-panel{margin-top:25px}.reuse-panel .section-card-title h3{font:480 25px/1.2 Fraunces,Georgia,serif}.reuse-panel .section-card-title{gap:12px}.reuse-grid{grid-template-columns:1fr;gap:10px}.reuse-item{padding:17px;gap:8px}.reuse-item small{font-size:12px}.reuse-item .text-btn{min-height:44px}.card-pad{padding:21px}.section-card-title{gap:12px;flex-wrap:wrap}.section-card-title h3{font-size:25px}.week-summary{gap:18px}.week-summary .btn{width:100%;font-size:13px}
 .shop-summary{align-items:flex-start;gap:14px}.shop-summary h2{font-size:33px}.shop-summary .eyebrow{font-size:9px;line-height:1.6}.shop-summary .small{font-size:12px;line-height:1.6}.shop-summary-icon{width:43px;height:43px}.shop-summary-icon svg{width:21px;height:21px}.shop-group{padding:20px 17px}.shop-group h3{font-size:16px;margin-bottom:10px}.shop-row{gap:8px;min-height:62px}.shop-row label{gap:11px;min-height:58px}.shop-row label span{font-size:14px}.shop-qty{font-size:12px;padding:9px;min-height:44px;gap:5px;flex-shrink:0}.shopping-controls{gap:9px;display:grid;grid-template-columns:1fr 1fr}.shopping-controls .btn{font-size:12px;min-height:46px;padding-inline:12px}.shop-view-btn{font-size:13px;min-height:46px}.custom-add-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}.custom-add-fields label:first-child,.custom-add-fields label:last-child{grid-column:1/-1}.custom-add-fields input,.custom-add-fields select{font-size:16px;min-height:50px}.custom-add .btn{width:100%;margin-top:8px}.budget-meter{padding:17px;margin:16px 0}.budget-heading{font-size:12px}.budget-heading strong{font-size:18px}.budget-heading small{font-size:11px}.budget-meter p{font-size:11px}.bought-details>summary{font-size:13px}.shop-reset .text-btn{font-size:11px}
 .pantry-intro{padding:24px;margin-bottom:22px}.pantry-intro h2{font-size:34px;line-height:1.1}.pantry-intro p{font-size:13px}.pantry-intro-bottom{gap:9px;margin-top:18px}.pantry-page-content{padding:17px}.pantry-page-items{grid-template-columns:1fr;margin-top:15px}.pantry-page-items .ingredient-row{font-size:14px;padding:16px 0}.pantry-save{bottom:calc(84px + env(safe-area-inset-bottom));padding:12px 0 0;margin-top:20px}.pantry-save .btn{font-size:12px;min-height:50px}.search-wrap{padding-left:12px;gap:5px}.search-wrap .search-input{padding-inline:12px}
 .modal-backdrop{padding:calc(env(safe-area-inset-top) + 12px) 8px 0;align-items:flex-end;background:#202a208f}.modal{width:100%;max-height:calc(100dvh - env(safe-area-inset-top) - 12px);border-radius:22px 22px 0 0;scrollbar-gutter:auto}.modal-head{padding:20px 20px 17px;margin-bottom:20px;gap:14px}.modal-head h2{font-size:25px;line-height:1.17;overflow-wrap:anywhere}.modal-body{padding:0 20px calc(28px + env(safe-area-inset-bottom))}.modal-cover.food-art{height:210px;border-radius:15px}.ingredient-row{font-size:14px;padding:13px 0;gap:12px}.ingredient-row strong{font-size:12px}.ingredient-row input[type=number]{min-height:48px!important;width:90px!important;font-size:16px}.modal-content h3{font-size:25px;line-height:1.2}.modal-content .btn{min-height:48px}.recipe-reactions .btn{font-size:12px;min-height:48px}.recipe-metadata .pill{font-size:11px}.modal-cook{min-height:calc(100dvh - env(safe-area-inset-top) - 12px)}.cook-title h3{font:480 32px/1.16 Fraunces,Georgia,serif}.cook-step{padding:27px 24px;min-height:240px;gap:20px}.cook-step p{font:450 27px/1.4 Fraunces,Georgia,serif}.cook-actions{bottom:calc(-28px - env(safe-area-inset-bottom));padding:16px 0 calc(16px + env(safe-area-inset-bottom));margin-top:24px;gap:10px}.cook-actions .btn{min-height:52px;font-size:12px}.cook-ingredients{padding:16px}.cook-check-row{gap:9px}.cook-check-row span{font-size:13px}.cook-ingredients summary{font-size:12px;min-height:30px}.swap-row{gap:10px;padding:10px}.swap-row .food-art{width:55px;height:65px;flex-shrink:0}.swap-row strong{font-size:13px}.swap-row small{font-size:11px}.swap-row .btn{font-size:11px;padding:10px;min-height:44px}.settings-block{padding:22px}.settings-block h3{font-size:28px}.settings-block>p{font-size:13px}.form-grid{gap:14px}.field input,.field select,.field textarea{font-size:16px}.check-grid{gap:8px}.check-option{font-size:12px;min-height:50px;padding:10px}.check-option input{width:18px;height:18px;flex-shrink:0}.settings-block .btn{min-height:46px}.taste-row{align-items:flex-start;flex-wrap:wrap}
 .welcome-art{padding:25px}.welcome-art .brand{font-size:23px}.welcome-art img{width:160px;max-height:160px}.welcome-art h1{font-size:40px}.welcome-art p{font-size:13px}.welcome-content{padding:30px 22px calc(35px + env(safe-area-inset-bottom))}.welcome-inner h2{font-size:34px;line-height:1.12}.onboard-wrap{grid-template-columns:1fr}.onboard-actions .btn{font-size:13px;min-height:50px}.footer-note{font-size:10px;margin-top:32px}#toast{bottom:calc(98px + env(safe-area-inset-bottom));font-size:12px}
}
@media(max-width:360px){.shell{padding-inline:16px}.page-title{font-size:27px}.hero .copy{padding:22px}.hero h2{font-size:34px}.hero-photo{height:180px}.stat{padding-inline:8px}.stat strong{font-size:18px}.stat label{font-size:7px}.recipe-grid{gap:10px}.recipe-card-content{padding:11px}.recipe-card .food-art{height:124px}.recipe-card h3{font-size:18px}.recipe-card p{font-size:11px}.recipe-card-actions{gap:5px}.recipe-card .recipe-card-actions .btn{font-size:10px}.meal-row{gap:10px}.meal-row .food-art{width:60px;height:74px}.meal-body strong{font-size:17px}.menu-meal{grid-template-columns:80px minmax(0,1fr);padding:13px;gap:12px}.menu-meal .food-art{width:80px;height:96px}.menu-meal h3{font-size:22px}.menu-actions .btn{font-size:11px}.shop-row label span{font-size:13px}.shop-qty{font-size:11px;padding:8px}.day-tab span{font-size:15px}.day-tab strong{font-size:8px}.week-tabs{gap:4px}.bottom-nav button{font-size:9px}.shop-group{padding:18px 14px}}
@keyframes screen-in{from{opacity:.7;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.recipe-card:hover .dish-illustration{transform:none}}
/* Final visual review: stable hero height and complete cooking controls. */
@media(min-width:721px){.hero{height:360px;min-height:360px}.hero-photo{min-height:0}.sidebar-note strong{font-size:22px;line-height:1.22}}
@media(max-width:720px){.cook-actions{bottom:0;padding-bottom:calc(16px + env(safe-area-inset-bottom))}.pantry-intro-bottom .pill{white-space:normal}}
