:root{--bg: #ffffff;--surface: #f3f5f4;--surface-strong: #e7ebe9;--ink: #141817;--muted: #5f6a66;--faint: #929c98;--line: #e4e8e6;--protein: #15613f;--carbs: #c07f12;--fat: #b4533a;--shadow: 0 10px 30px rgb(10 20 16 / .14);--blur: rgb(255 255 255 / .86);--tile-0: #e6efe6;--tile-0-ink: #356240;--tile-1: #f5eadb;--tile-1-ink: #8a5a1c;--tile-2: #f6e4df;--tile-2-ink: #9a4632;--tile-3: #e4ebf3;--tile-3-ink: #36577f;--tile-4: #efe8f2;--tile-4-ink: #68487f;--tile-5: #f2efd9;--tile-5-ink: #6c6522;color-scheme:light}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html{-webkit-text-size-adjust:100%}body{margin:0;background:var(--bg);color:var(--ink);font:400 16px/1.4 -apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-variant-numeric:tabular-nums;overscroll-behavior-y:none}button,input{font:inherit;color:inherit}button{background:none;border:0;padding:0;cursor:pointer;text-align:left;touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}a{touch-action:manipulation}button:active:not(:disabled),a.button:active{opacity:.62}button:disabled{cursor:default;opacity:.45}:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:6px}h1,h2,h3,p,ul,ol,dl,dd{margin:0;padding:0}ul,ol{list-style:none}input{outline-offset:0}input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}:root{--accent: #15613f;--accent-ink: #ffffff;--accent-soft: #e2f0e9}.screen{max-width:620px;margin:0 auto;padding-top:calc(env(safe-area-inset-top,0px) + 14px);padding-bottom:calc(env(safe-area-inset-bottom,0px) + 96px);padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px));display:flex;flex-direction:column;gap:12px}.screen-head{display:flex;align-items:center;justify-content:space-between;min-height:44px}.screen-head h1{font-size:32px;font-weight:700;letter-spacing:-.02em}.head-note{color:var(--muted);font-size:14px}.week-range{color:var(--muted);font-size:14px;margin-top:-8px}.preview-note{color:var(--muted);font-size:13px;background:var(--surface);padding:9px 12px;border-radius:11px}.banner{background:var(--accent-soft);color:var(--accent);padding:10px 14px;border-radius:12px;font-weight:600;font-size:15px}.result-count{color:var(--muted);font-size:13px;min-height:18px}.fineprint{color:var(--muted);font-size:13px}.icon-button{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;color:var(--ink);flex:none}.icon-button.small{width:32px;height:32px;color:var(--muted)}.icon-button.active{color:var(--fat)}.icon-button.float{background:var(--blur);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 1px 6px #00000024}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 18px;border-radius:13px;background:var(--accent);color:var(--accent-ink);font-weight:600;font-size:16px;text-decoration:none;text-align:center}.button.quiet{background:var(--surface);color:var(--ink)}.button.small{min-height:32px;padding:0 12px;font-size:14px;border-radius:9px}.button.wide{width:100%}.text-button{color:var(--accent);font-size:14px;font-weight:600}.segmented{display:flex;background:var(--surface);border-radius:11px;padding:3px;gap:2px}.segmented button{flex:1;min-height:34px;border-radius:9px;font-size:14px;font-weight:500;text-align:center;color:var(--muted);padding:0 6px}.segmented button.on{background:var(--bg);color:var(--ink);font-weight:600;box-shadow:0 1px 3px #0000001f}.search,.add-item{display:flex;align-items:center;gap:8px;background:var(--surface);border-radius:12px;padding:0 12px;min-height:44px;color:var(--muted)}.search input,.add-item input{flex:1;min-width:0;border:0;background:none;outline:none;color:var(--ink);height:44px;font-size:16px}.chips{display:flex;gap:8px;overflow-x:auto;margin:0 calc(-1*max(16px,env(safe-area-inset-left,0px)));padding:0 max(16px,env(safe-area-inset-left,0px));scrollbar-width:none}.chips::-webkit-scrollbar{display:none}.chip{flex:none;display:inline-flex;align-items:center;gap:4px;min-height:34px;padding:0 10px 0 13px;border-radius:17px;background:var(--surface);font-size:14px;font-weight:500;white-space:nowrap}.chip svg{color:var(--faint)}.chip.on{background:var(--ink);color:var(--bg)}.chip.on svg{color:inherit;opacity:.7}.recipe-text{min-width:0;display:flex;flex-direction:column;gap:1px}.recipe-name{font-weight:600;font-size:16px;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.recipe-chef{color:var(--accent);font-size:13px;font-weight:500}.recipe-meta{color:var(--muted);font-size:13px}.tile{flex:none;display:block;object-fit:cover;border-radius:14px;background:var(--surface)}.tile-glyph{display:grid;place-items:center;container-type:inline-size;aspect-ratio:1 / 1}.tile-glyph span{font-size:42cqw;line-height:1}.tile-0{background:var(--tile-0);color:var(--tile-0-ink)}.tile-1{background:var(--tile-1);color:var(--tile-1-ink)}.tile-2{background:var(--tile-2);color:var(--tile-2-ink)}.tile-3{background:var(--tile-3);color:var(--tile-3-ink)}.tile-4{background:var(--tile-4);color:var(--tile-4-ink)}.tile-5{background:var(--tile-5);color:var(--tile-5-ink)}.week-bar{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:15px;margin-top:-8px}.hint{color:var(--accent);font-size:14px;font-weight:500}.nights{display:flex;flex-direction:column}.nights.loading{opacity:.5}.night{display:flex;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line)}.night:last-child{border-bottom:0}.night.past{opacity:.5}.day-label{width:32px;flex:none;display:flex;flex-direction:column;align-items:center;line-height:1.15;color:var(--muted)}.day-label span{font-size:12px;font-weight:500}.day-label strong{font-size:19px;font-weight:600;color:var(--ink)}.night.today .day-label strong,.night.today .day-label span{color:var(--accent)}.night-stage{position:relative;flex:1;min-width:0}.night-scroll{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}.night-scroll::-webkit-scrollbar{display:none}.night-card{flex:0 0 calc(100% - 18px);scroll-snap-align:start;min-width:0;display:flex;align-items:center;gap:11px;min-height:72px}.night-card.solo{flex:1;min-height:56px}.night-card.off{background:var(--surface);border-radius:14px;padding:0 16px}.night-arrow{display:none;position:absolute;top:50%;transform:translateY(-50%);width:28px;height:28px;border-radius:50%;background:var(--blur);box-shadow:0 1px 5px #0003;place-items:center;color:var(--ink)}.night-arrow.left{left:4px}.night-arrow.right{right:2px}@media (hover: hover) and (pointer: fine){.night-stage:hover .night-arrow{display:grid}}.heard{color:var(--accent);font-size:13px;font-weight:500;margin-top:-4px}.search-clear{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;color:var(--muted);flex:none}.icon-chip{padding:0 11px;gap:4px}.icon-chip svg{color:inherit}.recipe-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px;margin-top:2px}@media (min-width: 560px){.recipe-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.recipe-card{position:relative;min-width:0}.recipe-card-open{display:flex;flex-direction:column;gap:3px;width:100%}.recipe-card-open .tile{width:100%;height:auto;aspect-ratio:1 / 1;margin-bottom:5px}.recipe-card-open .recipe-name{font-size:15px}.recipe-card-open .recipe-chef,.recipe-card-open .recipe-meta{font-size:12.5px}.recipe-card-open .recipe-meta+.recipe-meta{margin-top:-3px}.card-add{position:absolute;top:8px;right:8px;width:34px;height:34px;border-radius:50%;background:var(--blur);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);display:grid;place-items:center;color:var(--ink);box-shadow:0 1px 5px #0000002e}.card-add.done{background:var(--accent);color:var(--accent-ink);opacity:1!important}.recipe-view{animation:page-in .2s ease-out;padding-bottom:calc(env(safe-area-inset-bottom,0px) + 96px);max-width:620px;margin:0 auto;min-height:100vh}.recipe-top{position:sticky;top:calc(env(safe-area-inset-top,0px) + 10px);z-index:5;display:flex;justify-content:space-between;padding:0 max(12px,env(safe-area-inset-left,0px));height:0}.hero{display:block;width:100%;aspect-ratio:4 / 3;object-fit:cover;background:var(--surface)}.hero.placeholder{background:var(--surface)}.hero-space{height:calc(env(safe-area-inset-top,0px) + 60px)}.recipe-body{padding:16px max(16px,env(safe-area-inset-left,0px)) 0;display:flex;flex-direction:column;gap:14px}.recipe-body section{display:flex;flex-direction:column;gap:10px;margin-top:8px}.recipe-columns,.recipe-left,.recipe-right{display:flex;flex-direction:column;gap:14px;min-width:0}.recipe-title{font-size:27px;line-height:1.15;font-weight:700;letter-spacing:-.02em;text-wrap:balance}.recipe-by{color:var(--accent);font-weight:500;margin-top:-8px}.facts{display:flex;flex-wrap:wrap;gap:8px 22px}.facts dt{color:var(--muted);font-size:12px}.facts dd{font-weight:600;font-size:15px}.diet-line{color:var(--muted);font-size:14px}.section-title{font-size:20px;font-weight:700;letter-spacing:-.01em}.section-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.servings-control{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:14px}.macro-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:2px;background:var(--surface);border-radius:14px;padding:12px 6px}.macro-strip div{display:flex;flex-direction:column;align-items:center}.macro-strip strong{font-size:18px;font-weight:700}.macro-strip span{color:var(--muted);font-size:12px}.macro-note{grid-column:1 / -1;text-align:center;color:var(--muted);font-size:12px;padding-top:8px}.portions{display:flex;flex-wrap:wrap;gap:2px 14px;color:var(--muted);font-size:14px}.portions strong{color:var(--ink);font-weight:600}.ingredients li{padding:9px 0;border-bottom:1px solid var(--line)}.ingredients li:last-child{border-bottom:0}.ingredient-head{font-weight:700;padding-top:16px!important;text-transform:capitalize}.steps{counter-reset:step;display:flex;flex-direction:column;gap:16px}.steps li{counter-increment:step;display:grid;grid-template-columns:28px 1fr;gap:0 8px}.steps li:before{content:counter(step);color:var(--accent);font-weight:700;font-size:18px;grid-row:1 / span 2}.steps h3{font-size:15px;font-weight:700;margin-bottom:2px}.steps p{grid-column:2;line-height:1.5}.scaled{font-weight:600;color:var(--accent)}.source-link{display:inline-flex;gap:5px;align-items:center;color:var(--muted);font-size:14px;padding:12px 0}.action-bar{position:fixed;bottom:0;left:0;right:0;padding:10px max(16px,env(safe-area-inset-left,0px)) calc(env(safe-area-inset-bottom,0px) + 10px);background:var(--blur);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-top:1px solid var(--line);z-index:6}.action-row{display:flex;gap:8px;max-width:588px;margin:0 auto}.grow{flex:1}.square{width:46px;padding:0;flex:none}.stepper{display:inline-flex;align-items:center;background:var(--surface);border-radius:11px;color:var(--ink)}.stepper button{width:38px;height:36px;display:grid;place-items:center}.stepper output{min-width:26px;text-align:center;font-weight:600}.aisle h2{font-size:13px;font-weight:600;color:var(--muted);letter-spacing:.02em;padding:12px 0 2px}.list-row{width:100%;display:flex;align-items:center;gap:12px;min-height:48px;padding:6px 0;border-bottom:1px solid var(--line)}.aisle li:last-child .list-row,.brand-list li:last-child .list-row{border-bottom:0}.check-circle{flex:none;width:24px;height:24px;border-radius:50%;border:2px solid var(--faint);display:grid;place-items:center}.check-circle.add{border-color:var(--line);color:var(--muted)}.check-circle.on{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.list-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}.list-name{font-size:16px}.list-row>.list-name{flex:1;min-width:0}.list-note{color:var(--muted);font-size:13px}.list-amount{color:var(--muted);font-size:14px;text-align:right;flex:none;max-width:42%}@keyframes settle{0%{opacity:1}to{opacity:.42}}.list-row.checked{opacity:.42;animation:settle .3s ease-out}.list-row.checked .list-name,.list-row.checked .list-amount{text-decoration:line-through}.done-head{display:flex;align-items:flex-end;justify-content:space-between}.aisle.done{margin-top:10px;border-top:6px solid var(--surface);padding-top:4px}.pantry-toggle{width:100%;display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:14px;font-weight:500;padding:12px 0}.pantry-toggle[aria-expanded=true] svg{transform:rotate(180deg)}.small-cta{min-height:36px;padding:0 16px;border-radius:18px;font-size:15px}.store-card{background:var(--surface);border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:10px}.store-card h3{font-size:18px;font-weight:700;letter-spacing:-.01em;margin-bottom:2px}.store-card p{color:var(--muted);font-size:14px}.store-card .text-button{align-self:flex-start}.status-line{font-weight:600;color:var(--ink)!important}.brand-pick{color:var(--faint);font-size:14px;flex:none}.brand-pick.set{color:var(--accent);font-weight:600}.price{text-align:right;font-weight:600;flex:none}.head-actions{display:flex;align-items:center}.people{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}.person{background:var(--surface);border-radius:16px;padding:13px 14px;display:flex;flex-direction:column;gap:6px;min-width:0}.person h2{font-size:14px;font-weight:600;color:var(--muted)}.training-line{color:var(--muted);font-size:12.5px;line-height:1.3}.calories-left{font-size:28px;font-weight:700;letter-spacing:-.02em;line-height:1.05;margin-bottom:3px}.calories-left small{font-size:13px;font-weight:500;color:var(--muted);letter-spacing:0}.bar{height:5px;border-radius:3px;background:var(--surface-strong);overflow:hidden}.bar i{display:block;height:100%;border-radius:3px;background:var(--ink);transition:width .25s ease}.bar.protein i{background:var(--protein)}.bar.carbs i{background:var(--carbs)}.bar.fat i{background:var(--fat)}.macro-line{display:grid;grid-template-columns:1fr auto;align-items:baseline;gap:2px 8px;font-size:12px;color:var(--muted)}.macro-line .bar{grid-column:1 / -1}.macro-num{color:var(--ink);font-weight:600;font-size:13px;text-align:right}.macro-num small{color:var(--muted);font-weight:400;font-size:11px}.log-box{display:flex;align-items:center;gap:6px;background:var(--surface);border-radius:14px;padding:4px 5px 4px 13px;min-height:48px}.log-box input{flex:1;min-width:0;border:0;background:none;outline:none;height:40px;font-size:16px}.log-send{width:36px;height:36px;flex:none;border-radius:50%;background:var(--accent);color:var(--accent-ink);display:grid;place-items:center}.who-row{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:13px;margin-top:-4px}.pill.tiny{min-height:28px;padding:0 11px;font-size:13px;border-radius:14px}.meals{display:flex;flex-direction:column}.meal{width:100%;display:flex;gap:11px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}.meal:last-child{border-bottom:0}.meal-text{flex:1;min-width:0;display:flex;flex-direction:column}.meal-kind{color:var(--muted);font-size:13px}.meal-name{font-weight:500}.meal-cal{color:var(--muted);font-size:14px;flex:none}.setting span small{display:block;color:var(--muted);font-size:12px}@keyframes sheet-up{0%{transform:translateY(100%)}to{transform:none}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes page-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}.sheet-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;display:flex;flex-direction:column;justify-content:flex-end}.sheet-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000005c;animation:fade-in .2s ease-out}.sheet{animation:sheet-up .26s cubic-bezier(.2,.8,.2,1);position:relative;background:var(--bg);border-radius:20px 20px 0 0;max-height:86%;display:flex;flex-direction:column;width:100%;max-width:620px;margin:0 auto;box-shadow:var(--shadow)}.sheet-head{display:flex;align-items:center;justify-content:space-between;padding:12px 8px 4px 18px}.sheet-head h2{font-size:19px;font-weight:700}.sheet-body{padding:4px 18px calc(env(safe-area-inset-bottom,0px) + 16px);overflow-y:auto;display:flex;flex-direction:column;gap:10px;-webkit-overflow-scrolling:touch}.sheet-foot{padding:10px 18px calc(env(safe-area-inset-bottom,0px) + 12px);border-top:1px solid var(--line)}.option{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:50px;padding:6px 0;border-bottom:1px solid var(--line)}.option svg{color:var(--accent);flex:none}.option span{display:flex;flex-direction:column;min-width:0}.option small{color:var(--muted);font-size:13px;font-weight:400}.group{font-size:13px;font-weight:600;color:var(--muted);margin-top:8px}.pill-grid{display:flex;flex-wrap:wrap;gap:8px}.pill{min-height:36px;padding:0 13px;border-radius:18px;background:var(--surface);font-size:14px;font-weight:500}.pill.on{background:var(--ink);color:var(--bg)}.row-actions{display:flex;gap:8px}.row-actions .button{flex:1}.row-actions .button.grow{flex:2}.inline-form{display:flex;gap:8px}.inline-form input,.field{flex:1;min-width:0;width:100%;height:44px;border-radius:11px;border:0;background:var(--surface);padding:0 12px;font-size:16px;outline:none}.setting{display:flex;align-items:center;justify-content:space-between;min-height:46px}.setting-field{display:flex;flex-direction:column;gap:4px;margin-top:8px}.setting-field>span,.manual-grid span{font-size:13px;color:var(--muted);font-weight:600}.manual-food{display:flex;flex-direction:column;gap:10px}.manual-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manual-grid label{display:flex;flex-direction:column;gap:3px;min-width:0}.manual-grid span{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.empty{text-align:center;color:var(--muted);padding:44px 18px;display:flex;flex-direction:column;gap:6px}.empty h3{color:var(--ink);font-size:18px;font-weight:700}.tabbar{position:fixed;bottom:0;left:0;right:0;z-index:10;display:flex;justify-content:center;padding:6px max(8px,env(safe-area-inset-left,0px)) calc(env(safe-area-inset-bottom,0px) + 6px);background:var(--blur);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-top:1px solid var(--line)}.tabbar button{flex:1;max-width:150px;display:flex;flex-direction:column;align-items:center;gap:1px;min-height:48px;justify-content:center;color:var(--faint);font-size:11px;font-weight:600}.tabbar button.on{color:var(--accent)}.tab-icon{position:relative;display:block;line-height:0}.badge{position:absolute;top:-5px;left:15px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--accent);color:var(--accent-ink);font-size:11px;font-weight:700;font-style:normal;line-height:18px;text-align:center}.toast{position:fixed;left:50%;transform:translate(-50%);bottom:calc(env(safe-area-inset-bottom,0px) + 74px);z-index:40;background:var(--ink);color:var(--bg);padding:10px 16px;border-radius:13px;font-size:14px;font-weight:500;display:flex;gap:14px;align-items:center;width:max-content;max-width:calc(100% - 32px);box-shadow:var(--shadow)}.toast.high{bottom:calc(env(safe-area-inset-bottom,0px) + 84px)}.toast button{color:inherit;font-weight:700;text-decoration:underline}@media (prefers-reduced-motion: reduce){*{transition:none!important;animation:none!important}}html,body{background:#fff}.directive{color:var(--muted);font-size:15px}.week-range{margin-top:-10px}.center{align-self:center}.screen{padding-bottom:calc(env(safe-area-inset-bottom,0px) + 150px)}.next-bar{position:fixed;left:0;right:0;bottom:calc(env(safe-area-inset-bottom,0px) + 61px);z-index:9;padding:8px max(16px,env(safe-area-inset-left,0px));background:linear-gradient(to top,var(--bg) 70%,transparent)}.next-button{display:flex;justify-content:space-between;max-width:588px;margin:0 auto;padding:0 16px;min-height:52px}.next-label{display:flex;flex-direction:column;line-height:1.2;text-align:left}.next-label small{font-size:12.5px;font-weight:500;opacity:.8}.toast.high{bottom:calc(env(safe-area-inset-bottom,0px) + 128px)}.night-add{flex:1;min-height:56px;display:flex;align-items:center;gap:9px;padding:0 14px;border-radius:14px;background:var(--surface);color:var(--muted);font-size:15px;font-weight:500}.night-add svg{color:var(--accent)}.tabbar button{max-width:120px;font-size:10.5px}.home{gap:18px}.home-head{display:flex;align-items:center;justify-content:space-between;min-height:40px;margin-bottom:-6px}.brand{display:flex;align-items:center;gap:8px;font-weight:700;font-size:16px;letter-spacing:-.01em}.brand-mark{width:24px;height:24px;border-radius:7px;background:var(--accent) url(/icon-192.png) center / cover;display:block}.hello h1{font-size:28px;font-weight:700;letter-spacing:-.02em;line-height:1.15;text-wrap:balance}.hello p{color:var(--muted);font-size:15px;margin-top:2px}.next-card{background:var(--surface);border-radius:20px;padding:16px;display:flex;flex-direction:column;gap:9px}.next-card h2{font-size:21px;font-weight:700;letter-spacing:-.015em;line-height:1.2;margin-top:4px}.next-card>p{color:var(--muted);font-size:15px}.next-card .button{margin-top:4px}.next-card .text-button{padding:5px 0 1px;font-size:15px}.stepper-row{display:flex;gap:14px}.stepper-row li{display:flex;align-items:center;gap:6px;color:var(--faint);font-size:13px;font-weight:600}.step-mark{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:700;background:var(--surface-strong);color:var(--muted)}.stepper-row li.now{color:var(--ink)}.stepper-row li.now .step-mark{background:var(--accent);color:var(--accent-ink)}.stepper-row li.done{color:var(--accent)}.stepper-row li.done .step-mark{background:var(--accent-soft);color:var(--accent)}.home-section{display:flex;flex-direction:column;gap:8px;align-items:flex-start}.home-section h3{font-size:13px;font-weight:600;color:var(--muted)}.home-row{width:100%;display:flex;align-items:center;gap:12px}.home-row>svg{color:var(--faint);flex:none;margin-left:auto}.home-row.plain{justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:10px}.change-link{color:var(--accent);font-size:14px;font-weight:600}.home-macros{width:100%;display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px}.home-person{display:flex;flex-direction:column;gap:1px;background:var(--surface);border-radius:14px;padding:11px 13px}.home-person small{color:var(--muted);font-size:12.5px}.home-person strong{font-size:24px;font-weight:700;letter-spacing:-.02em;line-height:1.15}.home-person .bar{display:block;margin-top:7px}.home-person .training-line{display:block;margin-top:6px}.home-person .bar i{background:var(--accent)}.onboarding{max-width:620px;margin:0 auto;min-height:100vh;display:flex;flex-direction:column;gap:12px;padding:calc(env(safe-area-inset-top,0px) + 24px) max(20px,env(safe-area-inset-left,0px)) calc(env(safe-area-inset-bottom,0px) + 96px);animation:page-in .2s ease-out}.onboarding h1{font-size:30px;font-weight:700;letter-spacing:-.02em;line-height:1.15}.onboarding-line{color:var(--muted);font-size:16px;margin-bottom:6px}.onboarding-foot{position:fixed;left:0;right:0;bottom:0;padding:12px max(20px,env(safe-area-inset-left,0px)) calc(env(safe-area-inset-bottom,0px) + 14px);background:linear-gradient(to top,var(--bg) 78%,transparent)}.onboarding-foot .button{display:flex;max-width:580px;margin:0 auto;min-height:52px}.dots{display:flex;gap:6px;margin-bottom:8px}.dots i{height:4px;flex:1;border-radius:2px;background:var(--surface-strong)}.dots i.on{background:var(--accent)}.welcome{justify-content:center;gap:10px}.welcome h1{font-size:40px}.welcome-mark{width:72px;height:72px;border-radius:20px;background:var(--accent);display:grid;place-items:center;margin-bottom:8px}.welcome-mark{background:var(--accent) url(/icon-192.png) center / cover}.welcome-mark span{display:none}.welcome-line{font-size:18px;color:var(--muted)}.welcome-steps{display:flex;flex-direction:column;gap:12px;margin-top:20px;counter-reset:start}.welcome-steps li{counter-increment:start;display:flex;gap:12px;align-items:baseline;font-size:16px;color:var(--muted)}.welcome-steps li:before{content:counter(start);color:var(--accent);font-weight:700;width:12px;flex:none}.welcome-steps strong{color:var(--ink);font-weight:600}.store-picker{display:flex;flex-direction:column}.store-option{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:62px;padding:8px 0;border-bottom:1px solid var(--line)}.store-text{display:flex;flex-direction:column;min-width:0}.store-name{font-weight:600;font-size:16px;display:flex;align-items:center;gap:8px}.store-name em,.main-tag{font-style:normal;font-size:11.5px;font-weight:700;color:var(--accent);background:var(--accent-soft);border-radius:6px;padding:2px 6px}.store-text small{color:var(--muted);font-size:13px}.store-toggle{flex:1;min-width:0;display:flex;align-items:center;gap:12px}.people-form{display:flex;flex-direction:column;gap:10px;align-items:flex-start}.person-row{width:100%;display:flex;align-items:center;gap:6px}.person-row.known{gap:10px;min-height:44px;font-size:17px;font-weight:600}.order-view{max-width:620px;margin:0 auto;min-height:100vh;padding-bottom:calc(env(safe-area-inset-bottom,0px) + 40px);animation:page-in .2s ease-out}.order-head{position:sticky;top:env(safe-area-inset-top,0px);z-index:5;background:var(--blur);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);display:flex;align-items:center;justify-content:space-between;padding:6px max(10px,env(safe-area-inset-left,0px))}.order-step{color:var(--muted);font-size:13px;font-weight:600;padding-right:6px}.order-body{padding:0 max(16px,env(safe-area-inset-left,0px));display:flex;flex-direction:column;gap:12px}.order-body h1{font-size:28px;font-weight:700;letter-spacing:-.02em;line-height:1.15;text-wrap:balance}.order-line{color:var(--muted);font-size:14px;margin-top:-8px}.order-card{background:var(--surface);border-radius:18px;padding:16px;display:flex;flex-direction:column;gap:10px}.order-card h2{font-size:18px;font-weight:700;letter-spacing:-.01em}.order-card>p{color:var(--muted);font-size:14px}.order-card.muted h2{color:var(--muted)}.order-steps{counter-reset:order;display:flex;flex-direction:column;gap:7px;margin-top:2px}.order-steps li{counter-increment:order;display:grid;grid-template-columns:22px 1fr;font-size:15px}.order-steps li:before{content:counter(order) ".";color:var(--accent);font-weight:700}.prompt-box summary,.item-links summary{color:var(--accent);font-size:14px;font-weight:600;cursor:pointer;padding:4px 0}.prompt-box pre{white-space:pre-wrap;word-break:break-word;font:13.5px/1.45 ui-monospace,Menlo,monospace;background:var(--bg);border-radius:12px;padding:12px;margin:8px 0;max-height:260px;overflow-y:auto;-webkit-user-select:text;user-select:text}.order-row{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.order-row span{display:flex;flex-direction:column}.order-row strong{font-weight:600}.order-row small{color:var(--muted);font-size:13px}.order-row svg{color:var(--faint);flex:none}.item-links{padding:4px 0}.item-links a{color:inherit;text-decoration:none}.item-links svg{color:var(--faint);flex:none}.order-done{margin-top:10px}.order-chips{margin-top:2px}.store-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:58px;padding:6px 0;border-bottom:1px solid var(--line)}.store-row .text-button{flex:none}.home-shelves{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.home-shelf{display:flex;flex-direction:column;gap:2px;background:var(--surface);border-radius:14px;padding:11px 12px;text-align:left;min-height:74px}.home-shelf strong{font-size:15px;font-weight:700}.home-shelf small{color:var(--muted);font-size:12.5px;line-height:1.25}.week-meals{display:flex;flex-direction:column;gap:8px;margin-top:10px}.week-meals .section-title{font-size:17px}.week-meal{display:flex;align-items:center;gap:8px;padding-bottom:8px;border-bottom:1px solid var(--line)}.week-meal .night-card{min-width:0;text-align:left}.week-meal-controls{flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:2px}.shelf{display:flex;flex-direction:column;gap:8px;min-width:0}.shelf-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.shelf-head h2{font-size:17px;font-weight:700;letter-spacing:-.01em}.shelf-row{display:flex;gap:12px;overflow-x:auto;margin:0 calc(-1*max(16px,env(safe-area-inset-left,0px)));padding:0 max(16px,env(safe-area-inset-left,0px)) 4px;scroll-snap-type:x proximity;scroll-padding-inline:max(16px,env(safe-area-inset-left,0px));scrollbar-width:none}.shelf-row::-webkit-scrollbar{display:none}.shelf-row .recipe-card{flex:0 0 158px;scroll-snap-align:start}.keeps-line{font-weight:600}.prompt-parts{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.night{position:relative;transition:background .15s ease;border-radius:14px}.night .night-card{flex:1;min-width:0;text-align:left}.night-tools{flex:none;display:flex;align-items:center;gap:2px}.drag-handle{width:36px;height:44px;display:grid;place-items:center;color:var(--faint);touch-action:none;cursor:grab;border-radius:10px;-webkit-user-select:none;user-select:none}.drag-handle:active{cursor:grabbing;color:var(--accent)}.nights.dragging{-webkit-user-select:none;user-select:none}.night.lifted{opacity:.35}.night.drop-here{background:var(--accent-soft);box-shadow:inset 0 0 0 2px var(--accent)}.night.drop-here .night-add{background:transparent;color:var(--accent)}.drag-ghost{position:fixed;z-index:50;pointer-events:none;transform:translate(-50%,-60%) rotate(-2deg);display:flex;align-items:center;gap:10px;padding:8px 14px 8px 8px;background:var(--bg);border-radius:14px;box-shadow:0 10px 30px #00000038;font-weight:600;max-width:280px}.drag-ghost span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.drag-ghost .tile{width:44px;height:44px;border-radius:10px}.leftover-tag{align-self:flex-start;font-size:11px;font-weight:700;letter-spacing:.02em;text-transform:uppercase;color:var(--accent);background:var(--accent-soft);border-radius:6px;padding:2px 7px;margin-bottom:2px}.night.leftovers .tile{opacity:.75}.recipe-meta.warn{color:#a3461f;font-weight:600}.recipe-meta.strong,.fineprint.strong{color:var(--accent);font-weight:600}.option.danger{color:#b3261e;font-weight:600}.swap-option{justify-content:flex-start}.swap-option .tile{width:44px;height:44px;border-radius:10px}.week-side{display:flex;flex-direction:column;gap:4px}.home-main,.home-aside{display:flex;flex-direction:column;gap:18px;min-width:0}.home-week{display:none}.home-week-days{width:100%;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.home-day{display:flex;flex-direction:column;gap:5px;text-align:left;min-width:0}.home-day small{color:var(--muted);font-size:12px;font-weight:600}.home-day.today small{color:var(--accent)}.home-day.past{opacity:.5}.home-day .tile,.home-day-empty{width:100%;height:auto;aspect-ratio:1 / 1;border-radius:12px}.home-day-empty{display:grid;place-items:center;background:var(--surface);color:var(--faint)}.home-day>span:last-child{font-size:12.5px;font-weight:500;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}:root{--rail: 0px}@media (min-width: 720px){:root{--rail: 92px}.app.has-rail{padding-left:var(--rail)}.tabbar{top:0;right:auto;width:var(--rail);flex-direction:column;justify-content:flex-start;gap:6px;padding:calc(env(safe-area-inset-top,0px) + 18px) 6px calc(env(safe-area-inset-bottom,0px) + 12px) max(6px,env(safe-area-inset-left,0px));border-top:0;border-right:1px solid var(--line)}.tabbar button{flex:none;max-width:none;width:100%;min-height:64px;border-radius:14px;font-size:12px;gap:4px}.tabbar button.on{background:var(--accent-soft)}.badge{left:16px}.has-rail .next-bar{left:var(--rail);bottom:calc(env(safe-area-inset-bottom,0px) + 0px)}.has-rail .toast{left:calc(50% + var(--rail) / 2);bottom:calc(env(safe-area-inset-bottom,0px) + 24px)}.has-rail .toast.high{bottom:calc(env(safe-area-inset-bottom,0px) + 84px)}.screen{max-width:1240px;padding-left:32px;padding-right:32px;padding-top:calc(env(safe-area-inset-top,0px) + 24px);padding-bottom:calc(env(safe-area-inset-bottom,0px) + 110px);gap:14px}.screen-head h1{font-size:36px}.next-button{max-width:720px}.recipe-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:24px 18px}.shelf-row .recipe-card{flex-basis:190px}.chips{margin:0;padding:0;flex-wrap:wrap;overflow:visible}.night{padding:10px 8px}.home-week{display:flex}.people{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}.sheet-layer{justify-content:center;align-items:center;padding:24px}.sheet{border-radius:20px;max-height:min(82vh,760px);max-width:560px;animation:page-in .2s ease-out}.recipe-view,.order-view,.onboarding{max-width:1240px}.hero{aspect-ratio:auto;height:min(42vh,420px)}.recipe-body{padding:24px 32px 0}.recipe-title{font-size:34px}.action-bar{padding-left:32px;padding-right:32px}.action-row{max-width:720px}.steps p{font-size:17px;line-height:1.6}.ingredients li{font-size:16px}}@media (min-width: 720px) and (max-width: 1099px){.home-aside{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}.home-shelves{grid-template-columns:repeat(4,minmax(0,1fr))}.home-day>span:last-child{font-size:13.5px}}@media (min-width: 1100px){.home{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);column-gap:28px;row-gap:18px;align-items:start}.home>.home-head,.home>.hello{grid-column:1 / -1}}@media (min-width: 800px){.week-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:32px;align-items:start}.week-side{position:sticky;top:20px}.week-side .week-meals:first-child{margin-top:0}.recipe-columns{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr);gap:40px;align-items:start}.recipe-left{position:sticky;top:16px;display:flex;flex-direction:column;gap:14px;max-height:calc(100vh - 32px);overflow-y:auto;padding-right:4px}.recipe-right{display:flex;flex-direction:column;gap:14px}.recipe-right>section:first-child{margin-top:8px}.aisles{columns:2 300px;column-gap:40px}.aisles .aisle{break-inside:avoid}}@media (min-width: 1200px){.aisles{columns:3 300px}.home-week-days{gap:12px}}@media (min-width: 720px) and (max-height: 700px){.hero{height:34vh}.tabbar button{min-height:52px}}.wide-only{display:none!important}@media (min-width: 720px){.wide-only{display:flex!important}}.home-shelves{grid-template-columns:repeat(auto-fit,minmax(110px,1fr))}.kid-shelf{background:var(--accent-soft)}.kid-shelf strong{color:var(--accent)}.kid-form{display:flex;flex-direction:column;gap:10px;align-items:stretch;max-width:420px}.kid-form .button{align-self:flex-start}.kids-tools{display:flex;flex-direction:column;gap:10px}.kids-tools .chips{margin:0;padding:0}@media (min-width: 720px){.kids-tools{flex-direction:row;align-items:center}.kids-tools .search{flex:1}}.credential-line{color:var(--muted);font-size:13.5px;margin-top:-10px}.child-panel{border-radius:16px;background:var(--accent-soft);overflow:hidden}.child-panel.not-yet{background:#fbefe8}.child-head{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;text-align:left}.child-head span:first-child{display:flex;flex-direction:column;gap:2px}.child-head small{color:var(--muted);font-size:12.5px;font-weight:600}.child-head strong{font-size:17px;font-weight:700;color:var(--accent)}.child-panel.not-yet .child-head strong{color:#a3461f}.child-toggle{color:var(--accent);font-size:14px;font-weight:600;flex:none}.child-body{padding:0 16px 16px;display:flex;flex-direction:column;gap:12px}.child-block h3{font-size:14px;font-weight:700;margin-bottom:3px;text-transform:none}.child-block p,.child-block li{font-size:15px;line-height:1.5}.child-block ul{display:flex;flex-direction:column;gap:6px}.child-credit{font-size:13.5px;color:var(--muted)}.child-warn{background:#fbefe8;color:#7a3416;border-radius:10px;padding:9px 11px;font-weight:600;font-size:14.5px}.source-tag{font-size:12px;font-weight:600;color:var(--muted);text-decoration:underline;text-underline-offset:2px;white-space:nowrap}.text-button.danger{color:#b3261e;font-weight:600}.share-note{word-break:break-all}.kids-planned{margin:4px 0 18px}.kids-later{margin:6px 0 4px}.install-card{display:flex;align-items:center;gap:8px;background:var(--accent-soft);border-radius:16px;padding:10px 10px 10px 12px;margin:4px 0 14px}.install-open{flex:1;display:flex;align-items:center;gap:12px;text-align:left}.install-open span:last-child{display:flex;flex-direction:column}.install-open small{color:var(--muted);font-size:13px}.install-icon{width:40px;height:40px;border-radius:10px;background:var(--accent) url(/icon-192.png) center / cover;flex:none}.install-steps ol{list-style:decimal;margin:4px 0 8px;padding-left:22px;display:flex;flex-direction:column;gap:10px;font-size:15px;line-height:1.4}.install-steps p{font-size:15px;margin-bottom:6px}.share-glyph{vertical-align:-3px;color:var(--accent)}.install-done{display:flex;align-items:center;gap:8px;color:var(--accent);font-weight:500;margin-bottom:4px}.paste-link{display:flex;gap:8px;width:100%;max-width:420px;margin-top:8px}.paste-link .field{flex:1}.kroger-results{display:flex;flex-direction:column;margin-top:4px}.kroger-results li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid var(--line);font-size:14px}.kroger-results li span{display:flex;flex-direction:column}.kroger-results li small{color:var(--muted);font-size:12px}.kroger-results li svg{color:var(--accent);flex:none}.kroger-results li.missing span{color:#b3261e}.kroger-more{margin-top:6px;font-size:14px}.kroger-more summary{color:var(--muted);cursor:pointer}.kroger-more .text-button{display:block;margin-top:6px}.setup-steps{list-style:decimal;padding-left:22px;display:flex;flex-direction:column;gap:10px;margin:8px 0 14px;font-size:15px;line-height:1.4}.copy-line{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;margin-top:6px;padding:8px 10px;background:var(--surface);border-radius:10px;text-align:left}.copy-line code{font-size:12px;word-break:break-all}.copy-line span{color:var(--accent);font-weight:600;font-size:13px;flex:none}.error-line{color:#b3261e}.wordmark{height:1em;width:auto;display:block;overflow:visible}.brand .wordmark{height:22px}.welcome h1 .wordmark,.onboarding h1 .wordmark{height:40px}
