:root{--bg:#faf7f2;--surface:#fff;--surface-2:#f3eee6;--text:#1f1c18;--muted:#5f574d;--border:#e3dbcf;--accent:#2f6b4f;--accent-ink:#fff;--accent-soft:#e2efe7;--danger:#a33a2b;--danger-soft:#fbe9e5;--focus:#1d5fd1;--low:#2f6b4f;--low-soft:#e2efe7;--medium:#8a5a00;--medium-soft:#fbefd6;--high:#a33a2b;--high-soft:#fbe5e0;--leftovers:#3b5b85;--leftovers-soft:#e3ebf6;--takeout:#6a4a8c;--takeout-soft:#eee6f6;--radius:14px;--shadow:0 1px 2px #1e140a0f, 0 4px 16px #1e140a0d;--tap:48px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);-webkit-text-size-adjust:100%;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:17px;line-height:1.45}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#171512;--surface:#211e1a;--surface-2:#2a2621;--text:#f2ede6;--muted:#b9afa2;--border:#3a342d;--accent:#7cc6a0;--accent-ink:#10221a;--accent-soft:#1f3529;--danger:#f19a8b;--danger-soft:#3a211c;--focus:#8ab4ff;--low:#7cc6a0;--low-soft:#1f3529;--medium:#f0c46a;--medium-soft:#3a2f17;--high:#f19a8b;--high-soft:#3a211c;--leftovers:#9dbbe6;--leftovers-soft:#1f2a3a;--takeout:#c9a8ec;--takeout-soft:#2c2238;--shadow:none}}*{box-sizing:border-box}body{background:var(--bg);min-height:100dvh;margin:0}#root{flex-direction:column;max-width:560px;min-height:100dvh;margin:0 auto;display:flex}h1,h2,h3{margin:0;line-height:1.2}h1{letter-spacing:-.01em;font-size:1.6rem}h2{font-size:1.2rem}h3{font-size:1.02rem}p{margin:0}:focus-visible{outline:3px solid var(--focus);outline-offset:2px;border-radius:6px}h1[tabindex="-1"]:focus,h2[tabindex="-1"]:focus{outline:none}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}main{flex-direction:column;flex:1;gap:16px;padding:16px 16px 140px;display:flex}main.with-tabs{padding-bottom:220px}.muted{color:var(--muted)}.small{font-size:.88rem}.stack{flex-direction:column;gap:12px;display:flex}.row{align-items:center;gap:8px;display:flex}.wrap{flex-wrap:wrap}.spread{justify-content:space-between}button,.btn{font:inherit;color:inherit;cursor:pointer}.btn{min-height:var(--tap);border:1px solid var(--border);background:var(--surface);border-radius:999px;justify-content:center;align-items:center;gap:6px;padding:10px 18px;font-weight:600;text-decoration:none;display:inline-flex}.btn.primary{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}.btn.block{width:100%}.btn.small{min-height:40px;padding:6px 14px;font-size:.92rem}.btn.ghost{background:0 0;border-color:#0000}.btn:disabled{opacity:.5;cursor:not-allowed}.btn[aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent);color:var(--text)}.link{min-height:40px;color:var(--accent);text-underline-offset:3px;background:0 0;border:none;padding:8px 0;font-weight:600;text-decoration:underline}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:14px 16px}.card.quiet{background:var(--surface-2);box-shadow:none}.sync-note:empty{width:1px;height:1px;position:absolute;overflow:hidden}.card.issue{border-color:var(--danger);background:var(--danger-soft)}.topbar-inner{justify-content:space-between;align-items:center;gap:8px;padding:14px 16px 4px;display:flex}.topnav{display:none}.notice{background:var(--medium-soft);border:1px solid var(--medium);border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;margin:8px 16px 0;padding:10px 12px 10px 14px;font-size:.92rem;font-weight:600;display:flex}.brand{flex-shrink:0;display:flex}.brand img{width:108px;height:34px;image-rendering:pixelated;display:block}.badge{text-transform:uppercase;letter-spacing:.04em;white-space:nowrap;border-radius:999px;align-items:center;gap:4px;padding:3px 10px;font-size:.8rem;font-weight:700;display:inline-flex}.k-low{color:var(--low);background:var(--low-soft)}.k-medium{color:var(--medium);background:var(--medium-soft)}.k-high{color:var(--high);background:var(--high-soft)}.k-leftovers{color:var(--leftovers);background:var(--leftovers-soft)}.k-takeout{color:var(--takeout);background:var(--takeout-soft)}.k-off{color:var(--muted);background:var(--surface-2)}.chips{flex-wrap:wrap;gap:8px;display:flex}.chip{position:relative}.chip input{opacity:0;cursor:pointer;margin:0;position:absolute;inset:0}.chip span{border:1.5px solid var(--border);background:var(--surface);border-radius:999px;align-items:center;min-height:44px;padding:8px 14px;font-size:.95rem;font-weight:600;display:inline-flex}.chip input:checked+span{border-color:currentColor}.chip input:focus-visible+span{outline:3px solid var(--focus);outline-offset:2px}.chip.plain input:checked+span{background:var(--accent-soft);border-color:var(--accent)}.plain-fieldset{border:0;min-width:0;margin:0;padding:0}.plain-fieldset legend{margin-bottom:6px;padding:0}.day-pick{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);margin:0;padding:12px 14px 14px}.day-pick legend{align-items:center;gap:8px;padding:0 4px;font-weight:700;display:flex}.day-pick.unset{border-style:dashed}.kind-grid{grid-template-columns:repeat(3,1fr);gap:8px;margin-top:8px;display:grid}.stars{flex-wrap:nowrap;gap:4px;margin-top:8px;display:flex}.star{width:44px;height:44px;color:var(--border);cursor:pointer;background:0 0;border:none;border-radius:8px;padding:0;font-size:1.9rem;line-height:1}.star.on{color:var(--accent)}.star:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.kind-grid .chip span{justify-content:center;width:100%;padding:8px 6px}.kind-grid .chip input:checked+span{border-width:2px}.chip span.k-low{background:var(--low-soft)}.chip span.k-medium{background:var(--medium-soft)}.chip span.k-high{background:var(--high-soft)}.chip span.k-leftovers{background:var(--leftovers-soft)}.chip span.k-takeout{background:var(--takeout-soft)}.chip span.k-off{background:var(--surface-2)}.legend-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.legend-list li{grid-template-columns:92px 1fr;align-items:start;gap:8px;display:grid}.slots,.list-sections,.days{flex-direction:column;gap:16px;display:flex}.slot{flex-direction:column;gap:8px;display:flex}.slot-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.slot-day{font-size:.95rem;font-weight:800}.recipe-title{text-align:left;min-height:32px;color:var(--text);text-decoration:underline;-webkit-text-decoration-color:var(--border);text-decoration-color:var(--border);text-underline-offset:4px;background:0 0;border:none;padding:0;font-size:1.12rem;font-weight:700}.meta{color:var(--muted);flex-wrap:wrap;gap:4px 12px;font-size:.88rem;display:flex}.slot-actions{flex-wrap:wrap;gap:8px;display:flex}details.why summary{cursor:pointer;color:var(--accent);align-items:center;min-height:36px;font-size:.9rem;font-weight:600;display:flex}details.why ul{color:var(--muted);margin:4px 0 0;padding-left:18px;font-size:.9rem}.bottom{z-index:5;background:color-mix(in srgb, var(--bg) 92%, transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-top:1px solid var(--border);padding-bottom:env(safe-area-inset-bottom);position:fixed;bottom:0;left:0;right:0}.bottom-inner{flex-direction:column;gap:8px;max-width:560px;margin:0 auto;padding:10px 16px;display:flex}nav.tabs{grid-template-columns:repeat(3,1fr);display:grid}nav.tabs button{min-height:52px;color:var(--muted);background:0 0;border:none;flex-direction:column;justify-content:center;align-items:center;gap:2px;font-size:.92rem;font-weight:700;display:flex}nav.tabs button[aria-current=page]{color:var(--accent)}nav.tabs svg{width:22px;height:22px}.icon-inline{vertical-align:-.2em;flex-shrink:0;width:1.1em;height:1.1em}dialog.sheet{background:var(--bg);width:100%;max-width:560px;max-height:88dvh;color:var(--text);border:none;border-radius:20px 20px 0 0;margin:auto auto 0;padding:0}dialog.sheet::backdrop{background:#0006}.sheet-head{background:var(--bg);border-bottom:1px solid var(--border);z-index:1;justify-content:space-between;align-items:flex-start;gap:8px;padding:16px 16px 10px;display:flex;position:sticky;top:0}.sheet-body{flex-direction:column;gap:14px;padding:16px 16px 28px;display:flex}.close{border:1px solid var(--border);background:var(--surface);border-radius:999px;min-width:44px;min-height:44px;font-size:1.2rem;line-height:1}.option{text-align:left;background:var(--surface);border:1.5px solid var(--border);border-radius:var(--radius);flex-direction:column;gap:6px;width:100%;padding:14px 16px;display:flex}.option:hover{border-color:var(--accent)}.diff{color:var(--muted);font-size:.85rem}.diff b{color:var(--text)}.list-section h2{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:4px 0 6px;font-size:.85rem}.items{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);margin:0;padding:0;list-style:none;overflow:hidden}.item{border-top:1px solid var(--border)}.item:first-child{border-top:none}.item-row{align-items:stretch;display:flex}.item-check{cursor:pointer;flex:1;align-items:center;gap:12px;min-height:56px;padding:10px 6px 10px 14px;display:flex}.item-check input{width:24px;height:24px;accent-color:var(--accent);flex:none;margin:0}.item-name{font-weight:600}.item-qty{color:var(--muted);font-size:.92rem}.item.done .item-name,.item.done .item-qty{color:var(--muted);text-decoration:line-through}.item-more{min-width:52px;color:var(--muted);border:none;border-left:1px solid var(--border);background:0 0;font-size:1.2rem}.item-detail{flex-direction:column;gap:8px;padding:4px 14px 14px 50px;font-size:.9rem;display:flex}.item-detail ul{margin:0;padding-left:18px}.updated{color:var(--medium);font-size:.82rem;font-weight:600}.progress{background:var(--surface-2);border-radius:999px;height:8px;overflow:hidden}.progress>div{background:var(--accent);height:100%;transition:width .2s}.input{font:inherit;min-height:var(--tap);border:1.5px solid var(--border);background:var(--surface);color:var(--text);border-radius:12px;width:100%;padding:10px 14px}.stepper{align-items:center;gap:16px;display:flex}.stepper output{text-align:center;min-width:2ch;font-size:1.6rem;font-weight:800}.stepper button{border:1.5px solid var(--border);background:var(--surface);border-radius:999px;width:52px;height:52px;font-size:1.5rem;font-weight:700}.toast{z-index:20;background:var(--text);color:var(--bg);border-radius:12px;align-items:center;gap:12px;max-width:calc(100% - 32px);padding:10px 10px 10px 16px;display:flex;position:fixed;bottom:160px;left:50%;transform:translate(-50%);box-shadow:0 6px 24px #00000040}.toast button{color:var(--bg);background:0 0;border:none;min-height:40px;padding:0 8px;font-weight:800;text-decoration:underline}.hero{flex-direction:column;gap:12px;padding:24px 0 8px;display:flex}.hero h1{font-size:2rem}.review h3,.review h4,.review ul,.review ol{margin:0}.review h4{margin-top:4px}table.safety{border-collapse:collapse;width:100%}table.safety th,table.safety td{text-align:left;vertical-align:top;border-top:1px solid var(--border);padding:4px 8px 4px 0}.trace-output{white-space:pre-wrap;word-break:break-word;background:var(--surface-2);border-radius:8px;max-height:320px;padding:8px;font-size:.8rem;overflow:auto}.steps-ol{gap:6px;margin:0;padding-left:20px;display:grid}.tabs-inline{background:var(--surface-2);border-radius:999px;grid-template-columns:1fr 1fr;padding:4px;display:grid}.tabs-inline button{background:0 0;border:none;border-radius:999px;min-height:44px;font-weight:700}.tabpanel{gap:inherit;flex-direction:column;display:flex}.tabs-inline button[aria-selected=true]{background:var(--surface);box-shadow:var(--shadow)}textarea.input{resize:vertical;min-height:90px}.pending-title{font-weight:700}.progress.indeterminate>div{width:35%;animation:1.4s ease-in-out infinite indeterminate}@keyframes indeterminate{0%{transform:translate(-100%)}to{transform:translate(300%)}}@media (prefers-reduced-motion:reduce){.progress.indeterminate>div{opacity:.4;width:100%;animation:none}}.summary{grid-template-columns:auto 1fr;gap:6px 16px;margin:0;display:grid}.summary dt{color:var(--muted);font-size:.92rem}.summary dd{margin:0;font-weight:600}.people{border:1px solid var(--border);border-radius:var(--radius);margin:0;padding:0;list-style:none;overflow:hidden}.person-row{border-top:1px solid var(--border);align-items:center;gap:8px;padding-right:6px;display:flex}.person-row:first-child{border-top:none}.person-check{cursor:pointer;flex:1;align-items:center;gap:12px;min-height:56px;padding:10px 14px;display:flex}.person-check input{width:24px;height:24px;accent-color:var(--accent);flex:none;margin:0}@media (hover:hover){.btn:not(:disabled):hover{background:var(--surface-2)}.btn.primary:not(:disabled):hover{background:color-mix(in srgb, var(--accent) 88%, var(--text))}.btn.ghost:not(:disabled):hover{background:var(--surface-2)}.btn[aria-pressed=true]:hover{background:var(--accent-soft)}.link:hover,details.why summary:hover{color:color-mix(in srgb, var(--accent) 80%, var(--text))}.recipe-title:hover{-webkit-text-decoration-color:var(--accent);text-decoration-color:var(--accent)}.chip:hover span{border-color:var(--muted)}.item-check:hover,.person-check:hover,.item-more:hover,.close:hover{background:var(--surface-2)}nav.tabs button:hover,.topnav button:hover{color:var(--text)}.tabs-inline button[aria-selected=false]:hover{background:color-mix(in srgb, var(--surface) 50%, transparent)}}@media (pointer:fine){:root{--tap:40px}.btn.small{min-height:34px;padding:4px 12px}.chip span{min-height:36px;padding:6px 12px}.item-check,.person-check{min-height:46px}.item-check input,.person-check input{width:20px;height:20px}.close{min-width:36px;min-height:36px}.stepper button{width:40px;height:40px}.link{min-height:0;padding:2px 0}details.why summary{min-height:28px}}@media (width>=900px){:root{--page-max:1280px;font-size:16px}html{scrollbar-gutter:stable}#root{max-width:none}.topbar{z-index:6;background:color-mix(in srgb, var(--bg) 92%, transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid var(--border);position:sticky;top:0}.topbar-inner{max-width:var(--page-max);min-height:60px;margin:0 auto;padding:10px 32px}.topnav{gap:4px;margin-left:32px;margin-right:auto;display:flex}.topnav button{min-height:38px;color:var(--muted);background:0 0;border:none;border-radius:999px;align-items:center;gap:8px;padding:6px 14px;font-weight:700;display:inline-flex}.topnav button[aria-current=page]{background:var(--accent-soft);color:var(--accent)}.notice{max-width:calc(var(--page-max,1160px) - 64px);margin:0 auto 10px}.topnav svg{width:18px;height:18px}main{gap:20px;width:100%;max-width:760px;margin:0 auto;padding:32px 32px 140px}main.wide{max-width:var(--page-max)}main.with-tabs{padding-bottom:140px}main:not(:has(.bottom-inner)):not(:has(~.bottom .bottom-inner)){padding-bottom:64px}h1{font-size:2rem}.hero{padding-top:48px}.hero h1{font-size:2.75rem}.tabs-inline{max-width:360px}.slots{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr;gap:20px;display:grid}.slot>.stack:last-child{flex:1}.slot .slot-actions{margin-top:auto;padding-top:4px}.list-sections{columns:300px 3;column-gap:20px;display:block}.list-sections>*{break-inside:avoid;margin-bottom:20px}.days{grid-template-columns:1fr 1fr;align-items:start;display:grid}main.more{columns:2;column-gap:20px;display:block}main.more>*{break-inside:avoid;margin-bottom:20px}main.more>h1{column-span:all}nav.tabs{display:none}.bottom:not(:has(.bottom-inner)){display:none}.bottom-inner{max-width:var(--page-max);flex-direction:row;justify-content:flex-end;align-items:center;gap:16px;padding:12px 32px}.bottom-inner>p{margin:0 auto 0 0!important}.bottom-inner .row{flex:none}.bottom .btn.block{width:auto;min-width:260px}dialog.sheet{border-radius:20px;width:calc(100% - 64px);max-width:640px;max-height:min(85dvh,860px);margin:auto;box-shadow:0 24px 64px #00000040}dialog.sheet[open]{animation:.16s ease-out dialog-in}.sheet-head{padding:20px 24px 14px}.sheet-body{padding:20px 24px 28px}.toast{bottom:96px}}@media (width>=1200px){.slots{grid-template-columns:repeat(4,minmax(0,1fr))}}@keyframes dialog-in{0%{opacity:0;transform:translateY(8px)scale(.98)}}@media (prefers-reduced-motion:reduce){dialog.sheet[open]{animation:none}}
