:root{color:#242238;--ink:#242238;--muted:#5e5b73;--accent:#5b4c9b;--surface:#fff;--line:#eceaf2;--check:#7365ad;--side:clamp(18px, 5vw, 33px);--add-height:81px;background:#f5f4fa;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-weight:450;line-height:1.45}*{box-sizing:border-box}body{background:radial-gradient(at 100% 0,#e5e3fb 0,#e5e3fb00 58%),linear-gradient(#e6eafa,#f5f4fa 450px);min-width:260px;min-height:100dvh;margin:0}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:default}svg{vertical-align:middle;flex-shrink:0}h1,h2,p{margin:0}[hidden]{display:none!important}:focus-visible{outline-offset:3px;outline:3px solid #7462bd}.sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.app-frame{width:min(100%,620px);min-height:100dvh;margin:0 auto}.list-header{padding:max(15px, env(safe-area-inset-top)) var(--side) 23px}.header-top,.header-main{justify-content:space-between;align-items:center;gap:12px;display:flex}.header-top{margin-bottom:27px}.header-main{align-items:end}.header-actions{gap:6px;display:flex}.brand{letter-spacing:-.016em;align-items:center;gap:9px;font-size:.86rem;font-weight:720;display:flex}.brand img{border-radius:11px;box-shadow:0 1px 2px #25223b22}.icon-button{background:#ffffff94;border:1px solid #fff9;border-radius:50%;flex:0 0 44px;place-items:center;width:44px;height:44px;padding:0;display:inline-grid}.icon-button:disabled{opacity:.32}.icon-button.small{background:0 0;border:0;flex-basis:38px;width:38px;height:38px}.order-button{background:#f9f8ffc9;margin-bottom:1px}.heading-content{min-width:0}h1{letter-spacing:-.066em;overflow-wrap:anywhere;font-size:clamp(2.4rem,10vw,3.15rem);font-weight:770;line-height:1.05}.heading-meta{color:var(--muted);flex-wrap:wrap;align-items:center;gap:9px;margin-top:9px;font-size:.84rem;display:flex}.status{color:#53468a;align-items:center;gap:6px;font-weight:650;display:inline-flex}.status[data-connection=synced]{color:#245b4c}.status[data-connection=unavailable]{color:#7f533b}.status-dot{background:currentColor;border-radius:50%;width:7px;height:7px}.meta-divider{background:#837f99;border-radius:50%;width:3px;height:3px}.list-picker,.find-field{margin-top:16px;display:flex}.list-picker select,.find-field{width:100%}.find-field{color:var(--muted);background:#ffffffe0;border:1px solid #fff;border-radius:17px;align-items:center;gap:9px;padding:3px 5px 3px 13px}.find-field input,.quick-form input{background:0 0;border:0;outline:none;width:100%;min-width:0;padding:8px 0;font-size:1rem}.find-field:focus-within,.quick-form:focus-within{outline:2px solid #978aca}.list-content{padding:0 var(--side) calc(var(--add-height) + max(15px, env(safe-area-inset-bottom)) + 20px)}.read-only-content{padding-bottom:calc(24px + env(safe-area-inset-bottom))}.grocery-section{margin-bottom:18px}.section-heading,.purchased-trigger{letter-spacing:-.018em;align-items:center;gap:9px;font-size:.99rem;font-weight:700;display:flex}.section-heading{margin:0 0 8px 3px}.section-count{color:var(--muted);text-align:center;font-variant-numeric:tabular-nums;background:#e9e7f3;border-radius:20px;min-width:20px;margin-left:2px;padding:1px 5px;font-size:.73rem;font-weight:650}.section-icon{color:#564b86;background:#e8e3f7;border-radius:9px;flex:none;place-items:center;width:29px;height:29px;display:inline-grid}.section-produce,.section-garden,.bought{color:#396c58;background:#dcefe4}.section-bakery,.section-pantry,.section-grains{color:#815834;background:#f6e7d6}.section-dairy,.section-frozen,.section-beverages{color:#465e98;background:#e0e8fb}.section-meat,.section-snacks,.section-care{color:#8b4c63;background:#f7e3ea}.grocery-card{background:var(--surface);border:1px solid #edebf4;border-radius:20px;margin:0;padding:0;list-style:none;box-shadow:0 2px 3px #28234e04}.grocery-row{align-items:center;gap:0;min-width:0;min-height:48px;margin:0 8px 0 5px;display:flex}.grocery-row+.grocery-row{border-top:1px solid var(--line)}.complete,.item-details{background:0 0;border:0;min-height:46px}.complete{flex:0 0 44px;place-items:center;padding:0;display:inline-grid}.checkmark{color:#fff;border:1.5px solid #9185b1;border-radius:8px;place-items:center;width:21px;height:21px;display:inline-grid}.purchased-row .checkmark{background:var(--check);border-color:var(--check)}.item-details{text-align:left;flex:1;align-content:center;min-width:0;padding:9px 3px;display:grid}.item-name{letter-spacing:-.015em;overflow-wrap:anywhere;font-size:.98rem;font-weight:625}.item-note{color:var(--muted);overflow-wrap:anywhere;margin-top:2px;font-size:.77rem}.purchased-row .item-name{color:var(--muted);text-decoration:line-through}.row-trailing{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:3px 6px;max-width:43%;padding-right:5px;display:flex}.quantity{color:var(--muted);overflow-wrap:anywhere;font-variant-numeric:tabular-nums;font-size:.81rem}.urgent{color:#8b443b;background:#fbece7;border-radius:8px;padding:2px 6px;font-size:.69rem;font-weight:700}.purchased-trigger{text-align:left;background:#efedf7;border:1px solid #e8e4f1;border-radius:16px;width:100%;padding:8px 12px}.purchased-trigger>:last-child{margin-left:auto}.purchased-card{margin-top:7px}.rotate{transform:rotate(180deg)}.quick-add{bottom:0;z-index:2;width:min(100%,620px);padding:7px var(--side) max(12px, env(safe-area-inset-bottom));background:linear-gradient(#f5f4fa00,#f5f4fa 45%);margin:0 auto;position:fixed;inset-inline:0}.quick-add-inner{position:relative}.quick-form{color:var(--muted);background:#fff;border:1px solid #ded8ed;border-radius:24px;align-items:center;gap:10px;padding:6px 6px 6px 15px;display:flex;box-shadow:0 9px 28px #38276215,0 2px 5px #3827620b}.quick-form input{color:var(--ink)}.quick-form input::placeholder{color:#625d78}.add-button{color:#fff;background:#28233e;border:0;border-radius:18px;flex:0 0 45px;place-items:center;width:45px;height:45px;padding:0;display:grid}.suggestions{bottom:calc(100% + 8px);background:#fff;border:1px solid #e5e0f0;border-radius:20px;max-height:min(310px,42dvh);padding:3px 8px 6px;position:absolute;inset-inline:0;overflow:auto;box-shadow:0 12px 34px #35274f22}.suggestion-head{color:var(--muted);justify-content:space-between;align-items:center;padding-inline:8px 0;font-size:.78rem;font-weight:670;display:flex}.suggestions ul{margin:0;padding:0;list-style:none}.suggestions li+li{border-top:1px solid var(--line)}.suggestions li button{text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;gap:7px;width:100%;min-height:44px;padding:7px 10px;display:flex}.suggestions li span{overflow-wrap:anywhere;font-weight:620}.suggestions li small{color:var(--muted);font-weight:450;display:block}.suggestions li svg{color:var(--accent)}.toast{z-index:3;bottom:calc(var(--add-height) + env(safe-area-inset-bottom));color:#fff;background:#312a49;border-radius:16px;align-items:center;gap:11px;width:max-content;max-width:calc(100% - 32px);padding:10px 14px;font-size:.84rem;display:flex;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 5px 14px #32274530}.app-frame:has(.suggestions) .toast{visibility:hidden}.toast-no-add{bottom:max(16px, env(safe-area-inset-bottom))}.toast button{color:#fff;background:#fff2;border:0;border-radius:10px;padding:5px 8px;font-weight:680}.empty{color:var(--muted);text-align:center;margin:20px auto;padding:20px}.empty p{margin-top:8px}.sync-notice,.warning{color:#4b3c78;background:#eae6f8;border-radius:13px;align-items:center;gap:7px;margin:0 0 10px;padding:9px 12px;font-size:.82rem;display:flex}.warning{color:#773f31;background:#fff0e7}.sync-issue{align-items:center;gap:8px;margin-bottom:10px;display:flex}.sync-issue p{flex:1;margin:0}.sheet{color:var(--ink);overscroll-behavior:contain;background:#f8f7fc;border:0;border-radius:26px 26px 0 0;width:min(100%,490px);max-width:100%;max-height:min(88dvh,710px);margin:auto auto 0;padding:0;box-shadow:0 8px 64px #221a4b44}.sheet::backdrop{background:#21183e55}.sheet-content{padding:16px var(--side) max(20px, env(safe-area-inset-bottom))}.sheet-heading{justify-content:space-between;align-items:center;gap:11px;margin-bottom:14px;display:flex}.sheet-heading h2{letter-spacing:-.037em;font-size:1.37rem;font-weight:730}.sheet-form,.sheet-form fieldset{border:0;gap:11px;min-width:0;margin:0;padding:0;display:grid}.sheet-form label{gap:4px;font-size:.86rem;font-weight:670;display:grid}.sheet-form input:not([type=checkbox]),.sheet-form textarea,select{background:#fff;border:1px solid #ded9ed;border-radius:12px;width:100%;min-width:0;padding:10px 12px;font-size:1rem}.sheet-form textarea{resize:vertical}.form-columns{grid-template-columns:1fr 1fr;gap:10px;display:grid}.sheet-form .toggle-line{align-items:center;gap:8px;min-height:36px;display:flex}.toggle-line input{accent-color:var(--accent);width:20px;height:20px;margin:0}.primary{color:#fff;background:#2e2747;border:0;border-radius:17px;width:100%;min-height:47px;padding:9px 17px;font-weight:680}.primary:disabled{opacity:.55}.text-button{color:#57468d;background:0 0;border:0;border-radius:11px;min-height:43px;padding:6px 9px;font-size:.87rem;font-weight:650}.danger{color:#993e43}.remove-confirm{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.remove-confirm span{width:100%;font-size:.88rem}.remove-confirm button{background:#fff;border:1px solid #e1daeb;border-radius:11px;padding:8px 12px}.order-list,.household-options{border:1px solid var(--line);background:#fff;border-radius:16px;margin:0 0 15px;padding:0 9px;list-style:none}.sheet:has(.order-list){max-height:min(90dvh,800px)}.order-list{max-height:min(610px,65dvh);overflow-y:auto}.order-list li{align-items:center;gap:3px;min-height:43px;display:flex}.order-list li+li,.household-options li+li{border-top:1px solid var(--line)}.order-label{overflow-wrap:anywhere;margin-right:auto;padding:5px 7px}.order-list .icon-button{flex-basis:40px;width:40px;height:42px}.settings-summary{gap:3px;margin-bottom:13px;display:grid}.settings-summary p,.inline-help{color:var(--muted);font-size:.82rem}.inline-help{padding-bottom:11px}.settings-options{background:#fff;border-radius:16px;margin-bottom:13px;display:grid}.settings-options button,.household-options button{text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;gap:9px;width:100%;min-height:46px;padding:10px 13px;display:flex}.settings-options button+button{border-top:1px solid var(--line)}.settings-options svg,.household-options svg{color:var(--accent)}.landing{width:min(100%,440px);min-height:100dvh;padding:max(20px, env(safe-area-inset-top)) var(--side) max(20px, env(safe-area-inset-bottom));grid-template-rows:auto 1fr;gap:24px;margin:auto;display:grid}.welcome-card{background:#fcfbff;border:1px solid #e9e4f5;border-radius:24px;align-self:start;margin-top:min(7vh,40px);padding:20px;box-shadow:0 12px 36px #3628590a}.welcome-card h1{margin:6px 0;font-size:clamp(1.8rem,7vw,2.25rem)}.welcome-card>p{color:var(--muted);margin-bottom:16px;font-size:.88rem}.welcome-icon{color:var(--accent);background:#eee9fb;border-radius:18px;place-items:center;width:57px;height:57px;display:inline-grid}.welcome-card>.text-button{width:100%;margin-top:8px}.household-options button{padding-inline:4px}.household-options button span{overflow-wrap:anywhere;flex:1}.landing-actions{flex-wrap:wrap;gap:4px;margin-top:10px;display:flex}@media (width>=660px){.list-header{padding-top:24px}.sheet{border-radius:26px;margin:auto}}@media (width<=330px){.header-top{gap:4px}.brand{gap:6px}.header-actions{gap:3px}.row-trailing{max-width:34%}}@media (hover:hover){.icon-button:not(:disabled):hover,.suggestions button:hover,.settings-options button:hover{background:#edeaf7}.item-details:hover .item-name{color:var(--accent)}.text-button:hover{background:#eeeaf8}}
