:root{color-scheme:light dark;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:light-dark(#20231f,#f1f4ee);background:light-dark(#f5f6f3,#151714);font-synthesis:none}*{box-sizing:border-box}html{scrollbar-gutter:stable}body{margin:0;min-width:320px;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}.app-frame{--surface: light-dark(#fff, #222520);--soft: light-dark(#eef3ea, #293126);--text: light-dark(#20231f, #f1f4ee);--muted: light-dark(#667064, #b4bdb0);--line: light-dark(#d9ded5, #3c4339);--brand: light-dark(#356b3b, #92c999);--brand-text: light-dark(#fff, #122015);width:min(100%,720px);min-height:100vh;margin:0 auto;background:light-dark(#f5f6f3,#151714);color:var(--text)}.tabs{position:sticky;top:0;z-index:10;display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid var(--line);background:var(--surface)}.tabs button{min-height:42px;border:0;border-bottom:3px solid transparent;background:transparent;color:var(--muted);font-size:.78rem}.tabs button[aria-selected=true]{color:var(--brand);border-bottom-color:var(--brand)}main{padding:0 .45rem .75rem}.capture{position:sticky;top:42px;z-index:9;display:grid;grid-template-columns:auto minmax(0,1fr) 42px;gap:.35rem;align-items:start;padding:.4rem 0 .25rem;background:light-dark(#f5f6f3,#151714)}.capture.without-store{grid-template-columns:minmax(0,1fr) 42px}.capture.search-only{grid-template-columns:minmax(0,1fr)}.capture select,.capture textarea{min-height:42px;border:1px solid var(--line);border-radius:.65rem;background:var(--surface);color:var(--text)}.capture select{max-width:8rem;padding:.35rem .5rem;font-size:.82rem;font-weight:600}.capture textarea{width:100%;max-height:7.5rem;resize:none;overflow-y:auto;padding:.6rem .7rem;font-size:1rem;line-height:1.3}.mic-button{display:grid;place-items:center;width:42px;height:42px;padding:0;border:0;border-radius:.65rem;background:var(--brand);color:var(--brand-text)}.capture-hint{grid-column:1 / -1;color:var(--muted);font-size:.75rem}.run-button{grid-column:1 / -1;justify-self:end;border:0;background:transparent;color:var(--brand);font-size:.82rem;font-weight:600}.shop-view-toolbar{display:flex;align-items:center;justify-content:space-between;min-height:28px;padding:0 0 .25rem}.shop-view-toolbar>button{display:flex;align-items:center;gap:.2rem;min-height:28px;padding:0 .35rem;border:0;border-radius:.4rem;background:transparent;color:var(--brand);font-size:.78rem;font-weight:650}.account-status,.account-button{display:flex;align-items:center;gap:.25rem;min-width:0;min-height:28px;padding:0 .35rem;border:0;background:transparent;color:var(--muted);font-size:.72rem}.account-button>span{max-width:8rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-button small{color:var(--brand);font-size:.65rem}.local-status{cursor:default}.account-detail{margin:.25rem .2rem .75rem;color:var(--muted);font-size:.85rem}.account-form{display:grid;gap:.5rem;padding:.25rem}.account-form label{color:var(--muted);font-size:.78rem}.account-form input{min-height:42px;border:1px solid var(--line);border-radius:.5rem;background:var(--surface);color:var(--text);padding:.5rem .6rem}.action-sheet .account-form .auth-submit{justify-content:center;border:0;border-radius:.5rem;background:var(--brand);color:var(--brand-text);font-weight:650}.account-form p{margin:.1rem 0;color:var(--muted);font-size:.78rem}.action-sheet .account-form .google-auth{justify-content:center;border:1px solid light-dark(#747775,#8e918f);border-radius:.5rem;background:light-dark(#fff,#131314);color:light-dark(#1f1f1f,#e3e3e3);font-family:Google Sans,Roboto,Arial,sans-serif;font-size:.875rem;font-weight:500}.google-auth img{width:28px;height:28px}.account-form .auth-privacy{line-height:1.35}.auth-divider{display:flex;align-items:center;gap:.5rem;color:var(--muted);font-size:.7rem;text-transform:uppercase}.auth-divider:before,.auth-divider:after{content:"";flex:1;height:1px;background:var(--line)}.auth-divider span{white-space:nowrap}.list-section{margin-bottom:.3rem;overflow:hidden;border:1px solid var(--line);border-radius:.55rem;background:var(--surface)}.section-header{display:grid;grid-template-columns:minmax(0,1fr) 38px 38px;min-height:38px}.section-toggle,.icon-button,.weekly-heading{border:0;background:transparent;color:var(--text)}.section-toggle{display:flex;align-items:center;gap:.45rem;min-width:0;padding:.3rem .5rem;text-align:left;font-weight:600}.section-toggle small,.weekly-heading small{margin-left:auto;color:var(--muted);font-size:.78rem;font-weight:400;white-space:nowrap}.collapsed-icon{transform:rotate(-90deg)}.icon-button{display:grid;place-items:center;border-left:1px solid var(--line);color:var(--muted)}.add-button{color:var(--brand)}.section-body{border-top:1px solid var(--line)}.shopping-row{position:relative;display:grid;grid-template-columns:29px minmax(0,1fr) 32px 32px;min-height:35px;border-top:1px solid var(--line);background:var(--surface)}.shopping-row:first-child{border-top:0}.shopping-row>input{align-self:center;width:18px;height:18px;margin:0 0 0 .4rem;accent-color:var(--brand)}.shopping-row button{border:0;background:transparent;color:var(--muted)}.shopping-row .item-name{min-width:0;padding:0 .35rem;overflow:hidden;color:var(--text);font-size:.88rem;text-align:left;text-overflow:ellipsis;white-space:nowrap}.shopping-row .drag-handle,.shopping-row .row-actions{display:grid;place-items:center;padding:0}.shopping-row .drag-handle{touch-action:none;cursor:grab}.shopping-row .drag-handle:active{cursor:grabbing}.shopping-row.completed .item-name{color:var(--muted);text-decoration:line-through}.shopping-row.dragging{z-index:2;opacity:.78;box-shadow:0 3px 12px #0000002e}.group-heading{padding:.2rem .5rem;background:var(--soft);color:var(--muted);font-size:.7rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.return-heading{color:light-dark(#8a4c16,#ffc078)}.empty-list{padding:.45rem .55rem;color:var(--muted);font-size:.8rem}.all-items-view{margin-bottom:.3rem}.aggregate-list{margin-bottom:.3rem;overflow:hidden;border:1px solid var(--line);border-radius:.55rem;background:var(--surface)}.aggregate-heading{margin-top:.1rem}.aggregate-row{display:grid;grid-template-columns:29px minmax(0,1fr) auto 32px;min-height:35px;align-items:center;border-top:1px solid var(--line);background:var(--surface)}.aggregate-row:first-child{border-top:0}.aggregate-row>input{width:18px;height:18px;margin:0 0 0 .4rem;accent-color:var(--brand)}.aggregate-row button{border:0;background:transparent;color:var(--muted)}.aggregate-row .item-name{min-width:0;height:35px;padding:0 .35rem;overflow:hidden;color:var(--text);font-size:.88rem;text-align:left;text-overflow:ellipsis;white-space:nowrap}.aggregate-row .row-actions{display:grid;place-items:center;width:32px;height:35px;padding:0}.aggregate-row.completed .item-name{color:var(--muted);text-decoration:line-through}.store-tag{align-self:center;max-width:7.5rem;padding:.12rem .35rem;overflow:hidden;border-radius:999px;background:var(--soft);color:var(--muted);font-size:.68rem;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.unassigned-tag{color:light-dark(#7a5512,#f2c66d)}.aggregate-edit{border-top:1px solid var(--line)}.aggregate-edit:first-child{border-top:0}.inline-add{display:grid;grid-template-columns:minmax(0,1fr) 38px 38px;gap:.2rem;padding:.25rem;background:var(--soft)}.inline-add input{min-width:0;min-height:38px;border:1px solid var(--line);border-radius:.5rem;background:var(--surface);color:var(--text);padding:.4rem .55rem;font-size:1rem}.inline-add button{display:grid;place-items:center;border:0;border-radius:.45rem;background:transparent;color:var(--muted)}.inline-add button:first-of-type{background:var(--brand);color:var(--brand-text)}.inline-edit{border-top:1px solid var(--line)}.weekly-heading{display:flex;align-items:center;width:100%;min-height:38px;padding:.35rem .55rem;text-align:left;font-weight:600}.meal-row{padding:.38rem .55rem;border-top:1px solid var(--line)}.meal-row strong,.meal-row small{display:block}.meal-row strong{font-size:.88rem}.meal-row small{margin-top:.05rem;color:var(--muted);font-size:.75rem}.dialog-scrim{position:fixed;inset:0;z-index:30;display:flex;align-items:flex-end;justify-content:center;background:#00000073}.action-sheet{width:min(100%,720px);padding:.75rem;border-radius:1rem 1rem 0 0;background:var(--surface)}.action-sheet h2{margin:0 .25rem .5rem;font-size:1rem}.action-sheet button{display:flex;align-items:center;gap:.55rem;width:100%;min-height:48px;border:0;border-top:1px solid var(--line);background:transparent;color:var(--text);text-align:left}.action-sheet button strong{margin-left:auto;color:var(--brand)}.action-sheet button:last-child{justify-content:center;margin-top:.25rem;border:0;border-radius:.5rem;background:var(--soft);text-align:center}.action-sheet button:disabled{color:var(--muted);cursor:default}.action-sheet .danger-action{color:light-dark(#a92c2c,#ff9690)}.placeholder-view{padding:1rem .5rem}.placeholder-view h1{margin:0;font-size:1.1rem}.placeholder-view p{color:var(--muted)}.snackbar{position:fixed;z-index:40;right:max(.75rem,calc((100vw - 720px)/2 + .75rem));bottom:.75rem;left:max(.75rem,calc((100vw - 720px)/2 + .75rem));display:flex;align-items:center;justify-content:space-between;gap:.75rem;min-height:46px;padding:.5rem .65rem .5rem .85rem;border-radius:.65rem;background:light-dark(#252923,#eef3ea);color:light-dark(#fff,#20231f);box-shadow:0 5px 18px #00000038;font-size:.84rem}.snackbar button{display:flex;align-items:center;gap:.3rem;min-height:34px;padding:0 .55rem;border:0;border-radius:.45rem;background:transparent;color:inherit;font-weight:700}@media(min-width:721px){.app-frame{border-inline:1px solid var(--line)}main{padding-inline:.75rem}}
