:root{--bg: #f6f1e7;--bg-tint: #efe6d6;--card: #fffdf8;--ink: #29231c;--muted: #8d8172;--green: #2f9d5f;--green-dark: #1e7a47;--green-soft: #e0f2e7;--orange: #e2703a;--orange-soft: #fbeadb;--red: #d64545;--line: #eae0cf;--radius: 22px;--shadow: 0 1px 2px rgba(74, 57, 30, .05), 0 6px 18px rgba(74, 57, 30, .08);--shadow-lift: 0 2px 4px rgba(74, 57, 30, .06), 0 12px 28px rgba(74, 57, 30, .13);--grad-primary: linear-gradient(135deg, #38b26c 0%, #1e7a47 100%);--grad-tonight: linear-gradient(120deg, #e2703a 0%, #d9902e 100%);--grad-ink: linear-gradient(135deg, #3a332a 0%, #211c15 100%);--serif: "New York", ui-serif, Georgia, "Times New Roman", serif}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;padding:0;background:var(--bg)}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;color:var(--ink);font-size:17px;line-height:1.45;background:radial-gradient(120% 60% at 50% -10%,#fbf6ec,#fbf6ec00 60%),var(--bg);background-attachment:fixed}button{font:inherit;color:inherit;border:none;background:none;cursor:pointer}button{transition:transform .12s ease,background .15s ease,box-shadow .15s ease,opacity .15s ease}h1{font-family:var(--serif);font-size:30px;font-weight:700;letter-spacing:-.01em;margin:0}h2{font-size:20px;margin:0}h3{font-size:19px;margin:0 0 6px}p{margin:8px 0}.app{max-width:560px;margin:0 auto;min-height:100vh}.row{display:flex;align-items:center}.gap{gap:12px}.gap-s{gap:8px}.wrap{flex-wrap:wrap}.grow{flex:1}.center{text-align:center}.center-v{align-items:center}.muted{color:var(--muted)}.small{font-size:14px}.pad{padding:20px}.pad-h{padding:0 16px}.bottom-space{height:120px}.screen{padding:20px 16px 190px}.screen-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;gap:8px;min-height:48px}.section-title{margin:24px 0 10px;font-family:var(--serif);font-size:21px}.sync-pill{position:fixed;top:calc(env(safe-area-inset-top) + 8px);left:50%;transform:translate(-50%);z-index:25;border:0;cursor:pointer;padding:5px 13px;border-radius:999px;font-size:12.5px;font-weight:700;line-height:1.2;letter-spacing:.2px;color:var(--muted);background:#fffdf8d1;border:1px solid rgba(74,57,30,.08);box-shadow:0 2px 8px #4a391e1a;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.sync-pill.sync-ok{color:var(--green-dark)}.sync-pill.sync-busy{color:#8a6d15}.sync-pill.sync-off{color:var(--red)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:52px;padding:10px 20px;border-radius:17px;font-size:18px;font-weight:700;text-decoration:none}.btn:active{transform:scale(.97)}.btn-primary{background:var(--grad-primary);color:#fff;box-shadow:0 4px 14px #1e7a4752,inset 0 1px #ffffff38}.btn-primary:active{filter:brightness(.94)}.btn-primary:disabled{background:#cdc7bb;box-shadow:none}.btn-ghost{background:#f0e9db;color:var(--ink)}.btn-ghost:active{background:#e7decb}.btn-danger{background:var(--red);color:#fff;box-shadow:0 4px 14px #d645454d}.btn-xl{width:100%;min-height:60px;font-size:19px;border-radius:19px}.small-btn{min-height:44px;font-size:15px;padding:6px 14px}.icon-btn{min-width:48px;min-height:48px;border-radius:15px;font-size:20px;display:inline-flex;align-items:center;justify-content:center;background:#4a391e0f}.icon-btn:active{transform:scale(.92);background:#4a391e1f}.link-btn{width:100%;padding:14px;color:var(--muted);font-size:16px;text-decoration:underline}.chip-btn{min-height:48px;padding:8px 18px;border-radius:24px;font-size:16px;background:#f0e9db;font-weight:600;border:1px solid transparent}.chip-btn:active{transform:scale(.96)}.chip-btn.active{background:var(--grad-ink);color:#fff;box-shadow:0 3px 10px #211c1547}.card{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);border:1px solid rgba(74,57,30,.05);padding:16px;margin:12px 0}.chip{display:inline-flex;align-items:center;gap:4px;font-size:13.5px;font-weight:600;padding:3px 10px;border-radius:12px;background:#f0e9db;color:#6a6154;white-space:nowrap}.chip-easy{background:var(--green-soft);color:var(--green-dark)}.chip-fancy{background:#f3e8fb;color:#7c3aad}.chip-new{background:var(--orange-soft);color:#b0551f}.chip-protein{background:#e9f1fb;color:#2b5ea7}.chip-star{background:#fdf3d7}.chip-today{background:var(--grad-tonight);color:#fff;font-size:12px}.day-list{display:flex;flex-direction:column;gap:10px}.day-row{display:grid;grid-template-columns:52px 1fr;gap:8px;align-items:stretch}.day-label{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}.day-name{font-weight:800;font-size:15px;color:var(--muted);letter-spacing:.3px}.day-row.today .day-name{color:var(--orange)}.day-row.today .day-card{box-shadow:0 0 0 2px var(--orange),var(--shadow)}.day-card{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);border:1px solid rgba(74,57,30,.05);min-height:92px;width:100%;position:relative;overflow:hidden}.day-card.empty{display:flex;align-items:center;justify-content:center;gap:8px;border:2px dashed #d9cbb4;background:#fffdf88c;box-shadow:none;color:var(--muted);font-size:18px;font-weight:600}.day-card.empty:active{background:var(--green-soft);border-color:var(--green)}.empty-plus{font-size:24px;color:var(--green)}.day-card.out{display:flex;align-items:center;justify-content:space-between;padding:8px 8px 8px 16px;background:var(--bg-tint);box-shadow:none}.out-text{font-size:17px;font-weight:600;color:#6d6455}.day-card.custom{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 8px 8px 16px;background:var(--bg-tint);box-shadow:none}.custom-text{font-size:17px;font-weight:600;color:#5f5748;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.custom-actions{display:flex;gap:2px;flex-shrink:0}.custom-actions .icon-btn{min-width:42px;min-height:40px;font-size:17px;background:#fffdf8b3}.day-card.meal{display:flex;align-items:stretch}.meal-main{flex:1;display:flex;align-items:center;gap:12px;padding:8px;text-align:left;min-width:0}.meal-info{display:flex;flex-direction:column;gap:6px;min-width:0}.meal-title{font-weight:700;font-size:17px;line-height:1.25;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.meal-chips{display:flex;gap:6px;flex-wrap:wrap}.meal-actions{display:flex;flex-direction:column;justify-content:space-around;padding:6px 6px 6px 0}.meal-actions .icon-btn{min-width:42px;min-height:40px;font-size:17px}.day-card.has-rate{padding-bottom:44px}.rate-bar{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:flex-end;gap:8px;background:#fffbf0f5;border-top:1px solid var(--line);padding:4px 10px;font-size:14px;font-weight:600;color:var(--muted)}.rate-bar button{font-size:20px;min-width:44px;min-height:36px}.tonight-card{display:flex;align-items:center;gap:14px;width:100%;text-align:left;border-radius:24px;padding:16px;margin:0 0 12px;background:var(--grad-tonight);color:#fff;box-shadow:0 8px 22px #d26e2d59,inset 0 1px #ffffff40}.tonight-card:active{transform:scale(.985)}.tonight-kicker{display:block;font-size:12.5px;font-weight:800;letter-spacing:1.6px;text-transform:uppercase;opacity:.85}.tonight-title{display:block;font-family:var(--serif);font-size:23px;font-weight:700;line-height:1.2;margin:3px 0 2px}.tonight-info{display:flex;flex-direction:column;gap:6px;min-width:0}.tonight-info .meal-chips .chip{background:#ffffff38;color:#fff}.tonight-photo{width:84px;height:84px;border-radius:18px;flex-shrink:0;box-shadow:0 4px 12px #00000038}.tonight-photo.placeholder{background:#ffffff40!important}.tonight-photo.placeholder span{font-size:40px}.tonight-empty{flex-direction:column;align-items:flex-start;gap:2px;background:var(--card);color:var(--ink);box-shadow:var(--shadow);border:2px dashed #d9cbb4}.tonight-empty .tonight-kicker{color:var(--orange);opacity:1}.tonight-empty .tonight-title{color:var(--muted)}.tonight-cta{font-weight:700;color:var(--green-dark);margin-top:4px}.tonight-plain{flex-direction:column;align-items:flex-start;gap:2px}.tonight-meal .tonight-title{color:#fff}.fill-week-card{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:var(--card);border-radius:20px;box-shadow:var(--shadow);border:1.5px solid rgba(46,157,95,.35);padding:13px 16px;margin:0 0 12px}.fill-week-card:active{transform:scale(.98);background:var(--green-soft)}.fill-week-emoji{font-size:26px}.fill-week-text{flex:1;display:flex;flex-direction:column;gap:1px}.fill-week-text strong{font-size:16.5px}.fill-week-sub{font-size:13.5px;color:var(--muted)}.fill-week-arrow{font-size:24px;color:var(--green-dark);font-weight:700}.meal-photo{object-fit:cover;display:block;background:linear-gradient(110deg,#ece3d2 30%,#f5eee1,#ece3d2 60%);background-size:220% 100%;animation:photo-shimmer 1.6s linear infinite}@keyframes photo-shimmer{0%{background-position:130% 0}to{background-position:-90% 0}}.meal-photo.placeholder{display:flex;align-items:center;justify-content:center;animation:none}.thumb{width:80px;height:80px;border-radius:16px;flex-shrink:0}.thumb.placeholder span{font-size:34px}.thumb-s{width:52px;height:52px;border-radius:13px;flex-shrink:0}.thumb-s.placeholder span{font-size:24px}.thumb-l{width:110px;height:110px;border-radius:18px;flex-shrink:0}.thumb-l.placeholder span{font-size:48px}.hero{width:100%;height:230px;border-radius:var(--radius)}.hero.placeholder span{font-size:72px}.grid-photo{width:100%;height:128px;border-radius:16px 16px 0 0}.grid-photo.placeholder span{font-size:42px}.ring{flex-shrink:0}.ring-text{font-size:11px;font-weight:700;fill:var(--ink)}.confetti{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.confetti span{position:absolute;top:4px;width:8px;height:12px;border-radius:2px;opacity:0;animation:confetti-pop 1.5s ease-out forwards}@keyframes confetti-pop{0%{transform:translateY(0) rotate(0) scale(.6);opacity:1}to{transform:translate(var(--dx),-95px) rotate(320deg) scale(1);opacity:0}}.celebrate{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;overflow:hidden;z-index:60}.celebrate span{position:absolute;top:-20px;border-radius:2px;opacity:0;animation-name:celebrate-fall;animation-timing-function:cubic-bezier(.25,.6,.45,1);animation-fill-mode:forwards}@keyframes celebrate-fall{0%{transform:translateY(-20px) translate(0) rotate(0);opacity:1}90%{opacity:1}to{transform:translateY(104vh) translate(var(--sway)) rotate(var(--rot));opacity:.9}}@media (prefers-reduced-motion: reduce){.celebrate{display:none}}.status-strip{position:fixed;bottom:calc(96px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%);width:calc(100% - 32px);max-width:528px;background:var(--grad-ink);color:#fff;border-radius:999px;display:flex;align-items:center;gap:10px;padding:9px 18px;box-shadow:0 8px 22px #211c1559;z-index:20}.status-strip.complete{background:var(--grad-primary);box-shadow:0 8px 22px #1e7a4766}.status-text{flex:1;font-weight:700;font-size:16px}.status-strip .btn{min-height:46px;font-size:16px;background:#fff;color:var(--green-dark);border-radius:999px}.status-strip .icon-btn{background:#ffffff29;border-radius:999px}.status-dots{display:flex;gap:5px}.dot{width:9px;height:9px;border-radius:50%;background:#ffffff47}.dot.filled{background:#8ce0af}.tabbar{position:fixed;bottom:calc(10px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%);width:calc(100% - 24px);max-width:536px;display:flex;gap:4px;padding:6px;background:#fffdf8eb;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border:1px solid rgba(74,57,30,.08);border-radius:26px;box-shadow:0 10px 28px #4a391e2e;z-index:30}.tab{flex:1;display:flex;flex-direction:column;align-items:center;gap:1px;padding:8px 0 7px;border-radius:20px;color:var(--muted)}.tab:active{transform:scale(.95)}.tab.active{color:var(--green-dark);font-weight:700;background:var(--green-soft)}.tab-emoji{font-size:23px}.tab-label{font-size:12px;font-weight:600}.backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#29211680;z-index:50;display:flex;align-items:flex-end;justify-content:center;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);animation:fade-in .18s ease-out}.sheet{width:100%;max-width:560px;background:var(--bg);border-radius:28px 28px 0 0;padding:10px 16px calc(20px + env(safe-area-inset-bottom));max-height:86vh;overflow-y:auto;box-shadow:0 -12px 40px #29211640;animation:sheet-pop .3s cubic-bezier(.34,1.4,.64,1)}.sheet:before{content:"";display:block;width:42px;height:5px;border-radius:999px;background:#d9cbb4;margin:2px auto 12px}@keyframes sheet-pop{0%{transform:translateY(70px);opacity:.5}to{transform:none;opacity:1}}@keyframes slide-up{0%{transform:translateY(40px);opacity:.6}to{transform:none;opacity:1}}.sheet-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.sheet-head h2{font-family:var(--serif);font-size:23px}.sheet-body{display:flex;flex-direction:column;gap:10px}.big-option{display:flex;align-items:center;gap:14px;width:100%;background:var(--card);border-radius:20px;box-shadow:var(--shadow);border:1px solid rgba(74,57,30,.05);padding:16px;text-align:left;min-height:76px}.big-option:active{transform:scale(.98)}.big-option:disabled,.big-option.disabled{opacity:.5}.big-option-emoji{font-size:26px;width:52px;height:52px;border-radius:16px;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;background:var(--bg-tint)}.big-option-text{display:flex;flex-direction:column;gap:2px}.big-option-title{font-size:18px;font-weight:700}.big-option-sub{font-size:14.5px;color:var(--muted)}.confirm-card{background:var(--card);border-radius:24px;padding:24px 22px;margin:auto;width:calc(100% - 48px);max-width:400px;box-shadow:0 18px 50px #29211659;animation:confirm-pop .22s cubic-bezier(.34,1.4,.64,1)}@keyframes confirm-pop{0%{transform:scale(.92);opacity:0}to{transform:none;opacity:1}}.confirm-card h3{font-family:var(--serif);font-size:21px}.confirm-card p{color:var(--muted)}.confirm-card .row{margin-top:16px}.working-backdrop{align-items:center}.working-card{background:var(--card);border-radius:26px;padding:32px 36px;text-align:center;max-width:320px;box-shadow:var(--shadow-lift)}.working-msg{font-size:18px;font-weight:700;margin:14px 0 0}.working-sub{color:var(--muted);font-size:14.5px}.working-dots{display:flex;gap:8px;justify-content:center}.working-dots span{width:12px;height:12px;border-radius:50%;background:var(--green);animation:bounce 1s infinite ease-in-out}.working-dots span:nth-child(2){animation-delay:.15s}.working-dots span:nth-child(3){animation-delay:.3s}@keyframes bounce{0%,60%,to{transform:none}30%{transform:translateY(-9px)}}.inline-working{text-align:center;padding:28px 0}.working-escape{margin-top:16px}.job-chip{position:fixed;bottom:calc(164px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%);background:var(--grad-ink);color:#fff;border-radius:999px;padding:12px 20px;font-size:15.5px;font-weight:600;white-space:nowrap;max-width:calc(100% - 32px);overflow:hidden;text-overflow:ellipsis;box-shadow:0 8px 22px #211c1559;z-index:40;animation:slide-up .2s ease-out}.job-chip.job-ready{background:var(--grad-primary)}.job-chip.job-busy:after{content:"";display:inline-block;width:9px;height:9px;margin-left:10px;border-radius:50%;background:#8ce0af;vertical-align:middle;animation:bounce 1s infinite ease-in-out}.try-again{text-align:center;padding:12px}.try-again-emoji{font-size:44px}.try-again .row{margin-top:14px;justify-content:center}.snackbar{position:fixed;bottom:calc(100px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%);background:var(--grad-ink);color:#fff;border-radius:16px;padding:12px 18px;display:flex;align-items:center;gap:16px;max-width:calc(100% - 32px);box-shadow:0 8px 22px #211c1559;z-index:80;font-size:16px;animation:slide-up .2s ease-out}.snackbar button{color:#8ce0af;font-weight:700;font-size:16px;min-height:40px}.input{width:100%;font:inherit;font-size:17px;color:var(--ink);background:var(--card);border:1.5px solid var(--line);border-radius:15px;padding:13px 14px;outline:none;transition:border-color .15s,box-shadow .15s}.input:focus{border-color:var(--green);box-shadow:0 0 0 4px #2f9d5f24}textarea.input{resize:vertical;line-height:1.5}.field{display:flex;flex-direction:column;gap:7px;margin:14px 0}.field>span{font-weight:700;font-size:15.5px}.stepper{display:inline-flex;align-items:center;background:var(--card);border:1.5px solid var(--line);border-radius:17px;overflow:hidden}.stepper-btn{width:52px;height:52px;font-size:26px;font-weight:700;color:var(--green-dark);background:#f4eee1}.stepper-btn:active{background:var(--green-soft)}.stepper-value{min-width:104px;text-align:center;font-weight:700;font-size:17px;padding:0 8px}.servings-field.attention{background:#fff7e8;border:2px solid #f0c36d;border-radius:18px;padding:12px}.servings-field.ok{padding:0}.draft-form{padding:0 16px 40px}.draft-photo-row{display:flex;gap:14px;align-items:center}.draft-photo-actions{display:flex;flex-direction:column;gap:8px;align-items:flex-start}.sticky-save{position:sticky;bottom:0;background:linear-gradient(to top,var(--bg) 78%,rgba(246,241,231,0));padding:14px 0 calc(12px + env(safe-area-inset-bottom))}.protein-value{font-size:18px;font-weight:700}.fullscreen{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--bg);z-index:40;overflow-y:auto;max-width:560px;margin:0 auto;padding-top:10px;animation:fade-in .15s ease-out}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.fullscreen .screen-head{padding:8px 16px}.fullscreen .hero{width:calc(100% - 32px);margin:0 16px}.detail-hero{position:relative}.detail-hero .hero{border-radius:0 0 30px 30px;width:100%;margin:0;height:300px}.detail-hero-scrim{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:0 0 30px 30px;background:linear-gradient(to top,#18120ab8,#18120a40 45%,#18120a00 70%)}.detail-hero-text{position:absolute;left:20px;right:20px;bottom:16px}.detail-title{margin:14px 0 8px;font-size:32px}.detail-title.on-photo{color:#fff;margin:0;text-shadow:0 2px 12px rgba(0,0,0,.45)}.ingredient-list,.step-list{margin:8px 0;padding-left:24px}.ingredient-list li,.step-list li{margin:8px 0}.ingredient-list li::marker{color:var(--green);font-weight:700}.step-list li::marker{color:var(--orange);font-weight:800;font-family:var(--serif)}.scale-toggle{display:flex;align-items:center;gap:10px;font-size:15.5px;color:var(--muted);font-weight:600}.scale-toggle input{width:22px;height:22px;accent-color:var(--green)}.fullscreen .btn{margin:8px 0;width:100%}.recipe-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.recipe-card{background:var(--card);border-radius:18px;box-shadow:var(--shadow);border:1px solid rgba(74,57,30,.05);overflow:hidden;text-align:left;display:flex;flex-direction:column}.recipe-card:active{transform:scale(.97)}.recipe-card-body{padding:10px 12px 12px;display:flex;flex-direction:column;gap:6px;flex:1}.recipe-card-title{font-weight:700;font-size:15.5px;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.5em}.recipe-card .meal-chips{margin-top:auto}.add-bar{position:fixed;bottom:calc(96px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%);width:calc(100% - 32px);max-width:528px;z-index:20}.add-bar .btn{width:100%;box-shadow:0 6px 20px #1e7a4766}.mini-list{display:flex;flex-direction:column;gap:8px}.mini-card{display:flex;align-items:center;gap:12px;background:var(--card);border-radius:16px;box-shadow:var(--shadow);border:1px solid rgba(74,57,30,.05);padding:8px 12px 8px 8px;text-align:left;min-height:64px}.mini-card:active{transform:scale(.98)}.mini-title{flex:1;font-weight:600;font-size:16px}.suggestion{display:flex;flex-direction:column;gap:10px}.suggestion .row{margin-top:6px}.fav-row{display:flex;align-items:center;gap:8px;background:var(--card);border-radius:16px;box-shadow:var(--shadow);border:1px solid rgba(74,57,30,.05);padding:6px 6px 6px 0}.fav-main{flex:1;text-align:left;padding:10px 14px;display:flex;flex-direction:column;gap:3px}.fav-title{font-weight:700}.fav-sub{color:var(--muted);font-size:14.5px}.day-choice{display:grid;grid-template-columns:1fr 1fr;gap:8px}.serves-card{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.serves-card .stepper-btn{width:48px;height:48px}.serves-card .stepper-value{min-width:96px}.serves-card p{margin:2px 0 0}.shop-list{padding:6px 4px}.shop-item{display:flex;align-items:center;gap:12px;padding:12px;border-bottom:1px solid var(--line);min-height:54px;cursor:pointer}.shop-item:last-child{border-bottom:none}.shop-item input{width:27px;height:27px;accent-color:var(--green);flex-shrink:0;cursor:pointer}.shop-name{flex:1;font-weight:600;min-width:0}.shop-meals{display:block;font-weight:500;font-size:12.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shop-progress{font-weight:700;color:var(--muted);margin:14px 4px 4px;font-size:15px}.shop-progress.all-done{color:var(--green-dark)}.shop-amount{font-weight:700;color:var(--green-dark);white-space:nowrap}.shop-item.done .shop-name,.shop-item.done .shop-amount{text-decoration:line-through;opacity:.45}.shop-section{font-size:13px;font-weight:800;letter-spacing:.6px;text-transform:uppercase;color:var(--muted);padding:14px 12px 2px;margin:0}.add-item-row{margin:12px 0}.add-item-row .btn{min-height:52px;padding:10px 18px}.shop-check{display:flex;align-items:center;gap:12px;flex:1;min-width:0;cursor:pointer}.shop-del{min-width:40px;min-height:40px;font-size:15px;background:transparent;color:var(--muted);flex-shrink:0}.shop-hint{text-align:center;margin:26px 0;display:flex;flex-direction:column;align-items:center;gap:10px}.shop-hint .empty-emoji{font-size:44px}.shop-hint p{max-width:300px}.history-week{padding:12px 14px}.history-date{font-weight:700;margin:0 0 8px}.history-meals{display:flex;flex-direction:column;gap:1px}.history-row{display:flex;gap:10px;align-items:baseline;padding:3px 0}.history-day{font-weight:700;color:var(--muted);width:38px;font-size:14px;flex-shrink:0}.history-meal{font-size:15.5px}.history-extras{font-size:14px;color:var(--muted);margin:10px 0 0;border-top:1px solid var(--line);padding-top:8px}.protein-list{padding:8px 14px}.protein-row{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid var(--line)}.protein-row:last-child{border-bottom:none}.protein-day{font-weight:700;color:var(--muted);width:42px;font-size:14.5px}.protein-title{flex:1;font-weight:600;font-size:15.5px}.empty-state{text-align:center;padding:48px 24px;color:var(--muted)}.empty-emoji{font-size:56px;margin-bottom:8px;filter:drop-shadow(0 6px 14px rgba(74,57,30,.18))}.empty-state .btn{margin-top:14px}.slide-left{animation:slide-in-left .24s cubic-bezier(.3,1,.6,1)}.slide-right{animation:slide-in-right .24s cubic-bezier(.3,1,.6,1)}@keyframes slide-in-left{0%{transform:translate(38px);opacity:.4}to{transform:translate(0);opacity:1}}@keyframes slide-in-right{0%{transform:translate(-38px);opacity:.4}to{transform:translate(0);opacity:1}}.photo-actions{margin-top:6px;text-align:center}.never-line{padding:2px 2px 0;font-size:14px;text-align:left}.version-tag{position:fixed;right:12px;bottom:calc(86px + env(safe-area-inset-bottom));font-size:10.5px;font-weight:700;color:var(--muted);opacity:.55;z-index:15;pointer-events:none}.week-seg{margin:-2px 0 14px}.seg-pills{display:flex;gap:4px;width:100%;background:var(--bg-tint);border-radius:999px;padding:4px}.seg-pills .chip-btn{flex:1;background:transparent;min-height:44px}.seg-pills .chip-btn.active{background:var(--card);color:var(--ink);box-shadow:0 2px 8px #4a391e24}.rate-card{display:flex;align-items:center;justify-content:space-between;gap:10px;background:var(--card);border-radius:18px;box-shadow:var(--shadow);border:1px solid rgba(74,57,30,.05);padding:12px 14px;margin:0 0 12px}.rate-card-q{font-size:16px;font-weight:600}.rate-card-q strong{font-weight:800}.rate-card-btns{display:flex;align-items:center;gap:2px;flex-shrink:0}.rate-card-btns .icon-btn{min-width:44px;min-height:44px;font-size:22px}.rate-card .rate-close{background:transparent;font-size:16px;color:var(--muted)}.nudge-card{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:10px;background:var(--card);border-radius:18px;box-shadow:var(--shadow);border:1px solid rgba(74,57,30,.05);padding:12px 38px 12px 14px;margin:0 0 12px}.nudge-text{flex:1;min-width:0;font-size:15.5px;font-weight:600}.nudge-close{position:absolute;top:6px;right:6px;min-width:36px;min-height:36px;font-size:15px;color:var(--muted);background:transparent}.nudge-toggle{padding:4px 8px;font-size:14px;text-decoration:underline}.leftover-text{background:none;text-align:left;font-size:17px;font-weight:600;color:#5f5748}.leftover-from{display:block;font-weight:500;margin-top:2px}.leftover-text:disabled{color:inherit}.day-picker-group{margin-bottom:6px}.day-picker-label{margin:0 0 6px;padding:0 2px;font-weight:700}.chip-btn.disabled{opacity:.35;cursor:default}.chip-time{background:#e6f2ec;color:#2a7a5a}.time-stepper{flex-wrap:wrap}.stepper-clear{background:none;color:var(--muted);font-size:13px;text-decoration:underline;padding:0 10px;min-height:40px}.search-input{margin:6px 0 4px}.sort-row{margin-bottom:6px}.chip-btn.small{min-height:38px;padding:6px 14px;font-size:14px}.suggest-list{display:flex;flex-direction:column;gap:2px;margin-top:6px}.suggest-item{display:flex;align-items:center;justify-content:space-between;gap:10px;background:var(--card);border:1px solid var(--line);border-radius:13px;padding:11px 14px;font-size:16px;text-align:left;font-weight:600}.usuals-row{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:8px}.usuals-label{font-weight:700;margin-right:2px}.usual-chip{min-height:38px;padding:6px 14px;font-size:14px}.clear-ticked-btn{display:block;margin:14px auto 0}.aisle-head{font-size:13px;font-weight:800;letter-spacing:.6px;text-transform:uppercase;color:var(--muted)}.shop-more{min-width:40px;min-height:40px;font-size:18px;background:transparent;color:var(--muted);flex-shrink:0}.aisle-move-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.pantry-card{margin-top:12px}.pantry-head{display:flex;align-items:center;justify-content:space-between;width:100%;background:none;text-align:left;padding:0}.pantry-title{padding:6px 0;text-transform:none;letter-spacing:0;font-size:15px}.pantry-chev{font-size:22px;color:var(--muted);transform:rotate(90deg);transition:transform .15s}.pantry-chev.open{transform:rotate(270deg)}.pantry-item{display:flex;align-items:center;justify-content:space-between;gap:10px}.pantry-edit{margin-top:8px}.pantry-chips{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 10px}.pantry-chip{display:inline-flex;align-items:center;gap:6px;background:var(--green-soft);color:var(--green-dark);border-radius:14px;padding:5px 6px 5px 12px;font-size:14px;font-weight:600}.pantry-chip-x{min-width:26px;min-height:26px;font-size:13px;background:#0000000f;border-radius:50%}.offline-banner{text-align:center;background:var(--orange-soft);color:#b0551f;border-radius:13px;padding:8px;font-size:14px;font-weight:700;margin:0 0 10px}.cook-mode{background:var(--bg)}.cook-title{font-size:24px}.cook-body{padding-top:4px}.cook-drawer-head{display:flex;align-items:center;justify-content:space-between;width:100%;background:var(--card);border-radius:16px;box-shadow:var(--shadow);border:1px solid rgba(74,57,30,.05);padding:14px 16px;font-weight:700;font-size:17px;margin-bottom:10px}.cook-ingredients{margin:0 0 14px;padding:0 18px}.cook-ingredients li{margin:6px 0}.cook-steps{display:flex;flex-direction:column;gap:10px}.cook-step{display:flex;flex-direction:column;gap:12px;width:100%;background:var(--card);border-radius:18px;box-shadow:var(--shadow);border:1px solid rgba(74,57,30,.05);padding:16px;transition:opacity .12s}.cook-step-main{display:flex;align-items:flex-start;gap:14px;width:100%;text-align:left;background:none;border:none;padding:0;cursor:pointer;color:inherit}.cook-step.done{opacity:.5}.cook-step.done .cook-step-text{text-decoration:line-through}.cook-step-box{flex-shrink:0;width:32px;height:32px;border-radius:10px;border:2.5px solid var(--green);display:inline-flex;align-items:center;justify-content:center;font-size:18px;color:var(--green-dark);background:var(--green-soft);font-weight:800}.cook-step-text{font-size:1.3rem;line-height:1.35}.step-timer{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 12px;border-radius:14px;background:var(--green-soft);border:1.5px solid transparent}.step-timer.running{border-color:var(--green)}.step-timer.finished{background:var(--orange-soft);border-color:var(--orange);animation:timer-ring .6s ease-in-out 3}@keyframes timer-ring{0%,to{transform:none}25%{transform:translate(-4px)}75%{transform:translate(4px)}}.timer-time{font-size:1.5rem;font-weight:800;font-variant-numeric:tabular-nums;min-width:78px;text-align:center;letter-spacing:.5px}.timer-adjust{flex-shrink:0;width:38px;height:38px;border-radius:11px;border:none;background:var(--card);box-shadow:var(--shadow);font-size:22px;font-weight:700;color:var(--ink);cursor:pointer;line-height:1}.timer-go{padding:9px 16px;font-size:15px;margin-left:auto}.timer-reset{flex-shrink:0;width:38px;height:38px;border-radius:11px;border:none;background:transparent;font-size:18px;color:var(--muted);cursor:pointer}@media (prefers-reduced-motion: reduce){.step-timer.finished{animation:none}}.cook-progress{text-align:center;font-weight:700;color:var(--muted);margin:18px 0;font-size:16px}.shop-item.flash{animation:flash-row 1s ease-out}@keyframes flash-row{0%{background:#fff3cd}to{background:transparent}}.recipe-notes{background:#fff8e6;border:1px solid #f2e2b8;border-radius:14px;padding:10px 14px;margin:12px 0}.recipe-notes-label{font-weight:700;font-size:13px;color:#9a7b1f}.recipe-notes p{margin:4px 0 0;white-space:pre-wrap}.recipe-card-ago{display:block;margin-top:4px;font-size:12px;color:var(--muted)}.deleted-link{display:block;margin:4px auto 90px;color:var(--muted);font-size:14px}.deleted-row{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid var(--line)}.deleted-title{flex:1;font-weight:600}.screen .card,.screen .day-row,.screen .tonight-card,.screen .fill-week-card,.screen .rate-card,.recipe-card{animation:rise-in .3s ease-out backwards}.screen .day-row:nth-child(1){animation-delay:.02s}.screen .day-row:nth-child(2){animation-delay:.05s}.screen .day-row:nth-child(3){animation-delay:.08s}.screen .day-row:nth-child(4){animation-delay:.11s}.screen .day-row:nth-child(5){animation-delay:.14s}.screen .day-row:nth-child(6){animation-delay:.17s}.screen .day-row:nth-child(7){animation-delay:.2s}@keyframes rise-in{0%{transform:translateY(10px);opacity:0}to{transform:none;opacity:1}}@media (prefers-reduced-motion: reduce){.screen .card,.screen .day-row,.screen .tonight-card,.screen .fill-week-card,.screen .rate-card,.recipe-card,.sheet,.confirm-card{animation:none}}
