:root{--bg: oklch(.975 .005 220);--surface: oklch(.995 .003 220);--fg: oklch(.24 .02 220);--fg-2: oklch(.5 .015 220);--muted: oklch(.66 .012 220);--border: oklch(.92 .008 220);--accent: oklch(.24 .02 220);--accent-soft: oklch(.955 .012 220);--brand: oklch(.62 .13 195);--brand-strong: oklch(.53 .13 195);--brand-soft: oklch(.95 .04 195);--brand-grad: linear-gradient(135deg, oklch(.66 .13 190), oklch(.6 .13 215));--success: oklch(.62 .15 150);--warn: oklch(.72 .14 75);--danger: oklch(.6 .21 25);--info: oklch(.6 .17 265);--font: "Nunito", system-ui, sans-serif;--font-logo: "Caveat", "Nunito", cursive;--radius: 14px;--radius-sm: 9px}.header-left h1.logo,h1.logo{font-family:var(--font-logo);font-weight:700;font-size:36px;line-height:1;color:var(--brand);letter-spacing:0}*{margin:0;padding:0;box-sizing:border-box}html,body{height:100%}body{font-family:var(--font);background:var(--bg);color:var(--fg);font-size:15px;line-height:1.5;-webkit-font-smoothing:antialiased}button{font-family:inherit}.app{max-width:420px;margin:0 auto;min-height:100vh;min-height:100dvh;background:var(--bg);position:relative;overflow-x:hidden;padding-bottom:calc(96px + env(safe-area-inset-bottom))}.app.with-fab{padding-bottom:calc(164px + env(safe-area-inset-bottom))}.sidebar{display:none}@media(min-width:760px){body{background:#e0eaed}.shell{display:flex;align-items:stretch;min-height:100vh}.sidebar{display:flex;flex-direction:column;gap:6px;width:248px;flex-shrink:0;position:sticky;top:0;align-self:flex-start;height:100vh;background:var(--surface);border-right:1px solid var(--border);padding:24px 14px calc(20px + env(safe-area-inset-bottom))}.sidebar-logo{font-family:var(--font-logo),cursive;font-size:34px;line-height:1;color:var(--brand);padding:4px 10px 18px}.sidebar-nav{display:flex;flex-direction:column;gap:4px}.sidebar-item{display:flex;align-items:center;gap:12px;padding:11px 12px;border:none;background:transparent;border-radius:12px;font-family:inherit;font-size:15px;font-weight:600;color:var(--fg-2);cursor:pointer;text-align:left;transition:background .15s ease,color .15s ease}.sidebar-item svg{width:22px;height:22px}.sidebar-item:hover{background:var(--accent-soft)}.sidebar-item.active{background:var(--accent-soft);color:var(--brand)}.sidebar-add{margin-top:auto;display:flex;align-items:center;justify-content:center;gap:8px;padding:13px;border:none;border-radius:14px;background:var(--brand-grad);color:#fff;font-family:inherit;font-size:15px;font-weight:700;cursor:pointer}.sidebar-add svg{width:20px;height:20px}.app{flex:1;max-width:none;margin:0;min-height:100vh;box-shadow:none;padding-bottom:40px}.app.with-fab{padding-bottom:40px}.shell .bottom-nav,.shell .add-bar{display:none}}.header{padding:20px 20px 16px;display:flex;align-items:center;justify-content:space-between;background:var(--bg);position:sticky;top:0;z-index:50}.header-left h1{font-size:24px;font-weight:700;letter-spacing:-.03em}.header-left p{font-size:13px;color:var(--muted)}.sub-mode{display:inline-flex;align-items:center;gap:4px}.sub-mode svg{width:13px;height:13px}.header-actions{display:flex;gap:8px}.icon-btn{width:40px;height:40px;border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .15s ease;position:relative;color:var(--fg)}.icon-btn:hover{background:var(--fg);color:var(--surface);border-color:var(--fg)}.icon-btn svg{width:20px;height:20px}.notif-badge{position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;padding:0 4px;background:var(--danger);color:#fff;font-size:10px;font-weight:700;border-radius:9px;display:flex;align-items:center;justify-content:center}.stats-strip{display:flex;gap:12px;padding:0 20px;margin-bottom:20px}.stat-box{flex:1;background:var(--surface);border-radius:var(--radius);padding:14px;border:1px solid var(--border);cursor:pointer;transition:all .15s ease}.stat-box:hover{border-color:var(--fg)}.stat-box .value{font-size:22px;font-weight:700;letter-spacing:-.02em}.stat-box .label{font-size:12px;color:var(--muted);margin-top:2px}.stat-box.alert{border-color:var(--danger);background:#fef7f7}.stat-box.alert .value{color:var(--danger)}.priority-section{padding:0 20px;margin-bottom:20px}.priority-header{display:flex;align-items:center;gap:8px;margin-bottom:12px}.priority-header svg{width:18px;height:18px;color:var(--danger)}.priority-header h2{font-size:14px;font-weight:600;color:var(--danger);text-transform:uppercase;letter-spacing:.03em}.priority-scroll{display:flex;gap:10px;overflow-x:auto;padding-bottom:4px}.priority-scroll::-webkit-scrollbar{display:none}.priority-card{flex-shrink:0;width:140px;background:var(--surface);border:1px solid var(--danger);border-radius:var(--radius);padding:12px;cursor:pointer;transition:all .15s ease}.priority-card:hover{background:#fef7f7}.priority-card .name{font-weight:600;font-size:14px;margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.priority-card .expiry{font-size:12px;color:var(--danger);font-weight:600}.priority-card .qty{font-size:11px;color:var(--muted);margin-top:4px}.search-row{display:flex;gap:10px;padding:0 20px;margin-bottom:16px}.search-input{flex:1;display:flex;align-items:center;gap:10px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:0 14px;height:46px}.search-input svg{width:18px;height:18px;color:var(--muted);flex-shrink:0}.search-input input{flex:1;border:none;background:none;font-size:16px;font-family:inherit;color:var(--fg);outline:none}.search-input input::placeholder{color:var(--muted)}.filter-tabs{display:flex;gap:6px;padding:0 20px;margin-bottom:20px;overflow-x:auto}.filter-tabs::-webkit-scrollbar{display:none}.filter-tab{padding:8px 14px;border-radius:20px;font-size:13px;font-weight:500;background:transparent;border:1px solid var(--border);color:var(--fg-2);cursor:pointer;white-space:nowrap;transition:all .15s ease}.filter-tab:hover{border-color:var(--fg);color:var(--fg)}.filter-tab.active{background:var(--brand);border-color:var(--brand);color:#fff}.product-list{padding:0 20px}.list-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.list-title{font-size:14px;font-weight:600;color:var(--fg-2);text-transform:uppercase;letter-spacing:.03em}.list-count{font-size:13px;color:var(--muted)}.product-item{display:flex;align-items:center;gap:14px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:14px;margin-bottom:8px;cursor:pointer;transition:all .15s ease}.product-item:hover{border-color:var(--fg)}.product-icon{width:44px;height:44px;background:var(--accent-soft);border-radius:var(--radius-sm);display:flex;align-items:center;justify-content:center;flex-shrink:0}.product-icon svg{width:22px;height:22px;color:inherit}.product-info{flex:1;min-width:0}.product-name{font-weight:600;font-size:15px;margin-bottom:2px}.product-meta{font-size:13px;color:var(--muted)}.product-right{text-align:right;flex-shrink:0}.product-qty{font-weight:600;font-size:15px;margin-bottom:4px}.status-tag{display:inline-block;padding:3px 8px;border-radius:4px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.02em}.status-tag.ok{background:#e8f5ec;color:var(--success)}.status-tag.soon{background:#fef6e6;color:var(--warn)}.status-tag.urgent,.status-tag.expired{background:#fef2f2;color:var(--danger)}.status-tag.none{background:var(--accent-soft);color:var(--fg-2)}.swipe-wrapper{position:relative;overflow:hidden;border:1px solid var(--border);border-radius:var(--radius);margin-bottom:8px}.swipe-wrapper .product-item{margin-bottom:0;border:none;border-radius:0;position:relative;z-index:2;transition:transform .28s cubic-bezier(.22,1,.36,1);touch-action:pan-y}.swipe-wrapper .product-item.dragging{transition:none}.swipe-wrapper.swiped-left .product-item{transform:translate(-216px)}.swipe-wrapper.swiped-right .product-item{transform:translate(var(--open-right, 120px))}.swipe-actions{position:absolute;top:0;bottom:0;display:flex;z-index:1}.swipe-actions.right{right:0;width:216px}.swipe-actions.left{left:0;width:var(--open-right, 120px)}.swipe-qty-picker{display:flex;flex:1;background:var(--danger)}.qty-btn{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;font-weight:600;font-size:14px;border:none;background:transparent;cursor:pointer;transition:background .15s ease;gap:2px}.qty-btn:hover{background:#00000014}.qty-btn:disabled{opacity:.35;cursor:default}.qty-btn span{font-size:11px;font-weight:400;opacity:.85}.qty-btn.delete-all{background:#0000002e}.qty-btn.waste{flex:1;width:100%;background:var(--warn)}.swipe-hint{display:flex;align-items:center;gap:8px;padding:4px 0 12px;font-size:12px;color:var(--muted)}.swipe-hint svg{width:16px;height:16px}.swipe-wheel{display:flex;align-items:stretch;width:100%;background:var(--danger)}.sw-window{position:relative;flex:1;min-width:0;overflow:hidden}.sw-readout{position:absolute;top:6px;left:0;right:0;text-align:center;color:#fff;font-weight:800;font-size:15px;line-height:1;pointer-events:none;z-index:3;letter-spacing:.01em}.sw-center{position:absolute;top:24px;bottom:8px;left:50%;width:2px;transform:translate(-50%);background:#fff;border-radius:1px;pointer-events:none;z-index:2}.sw-track{position:relative;z-index:1;height:100%;display:flex;align-items:flex-end;overflow-x:scroll;scroll-snap-type:x mandatory;padding:0 calc(50% - var(--iw) / 2);scrollbar-width:none;-webkit-overflow-scrolling:touch}.sw-track::-webkit-scrollbar{display:none}.sw-tick{flex:0 0 var(--iw);width:var(--iw);height:100%;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding-bottom:8px;scroll-snap-align:center}.sw-mark{width:2px;height:12px;border-radius:1px;background:#ffffff73}.sw-tick.major .sw-mark{height:18px;background:#ffffffb3}.sw-tick.active .sw-mark{background:#fff;height:22px}.sw-lab{margin-top:3px;font-size:10px;font-weight:600;color:#ffffffd9;white-space:nowrap}.sw-go{flex:0 0 56px;display:flex;align-items:center;justify-content:center;border:none;background:#0000002e;color:#fff;cursor:pointer;transition:background .15s ease}.sw-go:active{background:#0000004d}.sw-go svg{width:24px;height:24px}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translate(-50%);width:100%;max-width:420px;background:var(--surface);border-top:1px solid var(--border);padding:8px 8px calc(8px + env(safe-area-inset-bottom));display:flex;justify-content:space-around;z-index:100}.nav-item{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 12px;background:none;border:none;color:var(--muted);font-size:11px;font-weight:500;cursor:pointer;transition:all .15s ease}.nav-item svg{width:22px;height:22px}.nav-item.active{color:var(--brand)}.nav-item:hover:not(.active){color:var(--fg-2)}.page-header{display:flex;align-items:center;gap:12px;padding:20px;position:sticky;top:0;background:var(--bg);z-index:50}.back-btn{width:40px;height:40px;border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .15s ease;color:var(--fg)}.back-btn:hover{background:var(--fg);color:var(--surface);border-color:var(--fg)}.back-btn svg{width:20px;height:20px}.page-header h1{font-size:20px;font-weight:700;letter-spacing:-.02em}.shopping-header{display:flex;align-items:center;justify-content:space-between;padding:0 20px;margin-bottom:16px}.shopping-header h2{font-size:16px;font-weight:600}.shopping-header .count{font-size:13px;color:var(--muted);cursor:pointer}.shopping-category{padding:0 20px;margin-bottom:20px}.shopping-category-title{font-size:12px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.03em;margin-bottom:10px}.shopping-item{display:flex;align-items:center;gap:12px;padding:14px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);margin-bottom:8px;cursor:pointer;transition:all .15s ease}.shopping-item:hover{border-color:var(--fg)}.shopping-item.checked{opacity:.5}.shopping-item.checked .shopping-name{text-decoration:line-through}.checkbox{width:24px;height:24px;border:2px solid var(--border);border-radius:6px;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:all .15s ease}.checkbox svg{width:14px;height:14px;opacity:0;color:#fff}.shopping-item.checked .checkbox{background:var(--success);border-color:var(--success)}.shopping-item.checked .checkbox svg{opacity:1}.shopping-name{flex:1;font-weight:500}.shopping-qty{font-size:13px;color:var(--muted)}.shop-step{display:flex;align-items:center;gap:2px;flex-shrink:0}.shop-step button{width:26px;height:26px;border:1px solid var(--border);background:var(--surface);border-radius:7px;font-size:16px;font-weight:700;line-height:1;color:var(--fg-2);cursor:pointer;display:flex;align-items:center;justify-content:center}.shop-step button:active{background:var(--accent-soft)}.shop-step-val{min-width:48px;text-align:center;font-size:13px;font-weight:600;color:var(--fg)}.shopping-source{font-size:11px;padding:3px 8px;background:var(--accent-soft);border-radius:4px;color:var(--fg-2)}.shopping-delete{background:none;border:none;color:var(--muted);cursor:pointer;padding:4px;display:flex;align-items:center}.shopping-delete:hover{color:var(--danger)}.shopping-delete svg{width:16px;height:16px}.generate-list-btn{display:flex;align-items:center;justify-content:center;gap:10px;margin:0 20px 20px;padding:16px;background:var(--surface);border:2px dashed var(--border);border-radius:var(--radius);font-size:14px;font-weight:500;color:var(--fg-2);cursor:pointer;transition:all .15s ease;width:calc(100% - 40px)}.generate-list-btn:hover{border-color:var(--fg);color:var(--fg)}.generate-list-btn svg{width:20px;height:20px}.quick-add{padding:4px 20px 16px}.quick-add-title{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin-bottom:10px}.quick-add-chips{display:flex;flex-wrap:wrap;gap:8px}.quick-chip{display:inline-flex;align-items:center;gap:5px;padding:7px 12px 7px 9px;background:var(--accent-soft);color:var(--brand);border:1px solid transparent;border-radius:999px;font-family:inherit;font-size:13px;font-weight:600;cursor:pointer;transition:background .15s ease,transform .1s ease}.quick-chip:hover{border-color:var(--brand)}.quick-chip:active{transform:scale(.96)}.quick-chip svg{width:14px;height:14px}.member-you{color:var(--muted);font-weight:400;font-size:13px}.ai-complete-btn{display:inline-flex;align-items:center;gap:7px;margin-top:10px;padding:8px 14px;border:1px solid var(--brand);background:var(--accent-soft);color:var(--brand);border-radius:999px;font-family:inherit;font-size:13px;font-weight:600;cursor:pointer}.ai-complete-btn:disabled{opacity:.6}.ai-complete-btn svg{width:15px;height:15px}.dictate-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:12px;padding:12px;border:1px solid var(--border);background:var(--surface);border-radius:var(--radius);font-family:inherit;font-size:14px;font-weight:600;color:var(--fg-2);cursor:pointer;transition:all .15s ease}.dictate-btn svg{width:18px;height:18px}.dictate-btn.on{background:var(--danger);border-color:var(--danger);color:#fff;animation:pulse 1.2s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.65}}.splash{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;background:radial-gradient(120% 120% at 30% 20%,#2ec6d2,#0c8fa0 55%,#0a7585);z-index:9999}.splash-logo{font-family:var(--font-logo),cursive;color:#fff;font-size:54px;font-weight:700;line-height:1;text-shadow:0 3px 12px rgba(0,0,0,.15)}.splash-spin{width:30px;height:30px;border-radius:50%;border:3px solid rgba(255,255,255,.35);border-top-color:#fff;animation:splash-spin .8s linear infinite}@keyframes splash-spin{to{transform:rotate(360deg)}}.ticket-intro{padding:40px 28px;display:flex;flex-direction:column;align-items:center;gap:18px;text-align:center}.ticket-illus{width:80px;height:80px;border-radius:20px;background:var(--accent-soft);display:flex;align-items:center;justify-content:center}.ticket-illus svg{width:38px;height:38px;color:var(--brand)}.ticket-intro p{color:var(--muted);font-size:14px;line-height:1.5;max-width:300px}.ticket-intro .btn-primary{width:auto;padding:0 22px}.ticket-list{padding:12px 20px 0;display:flex;flex-direction:column;gap:10px}.ticket-item{display:flex;gap:12px;align-items:flex-start;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:12px;transition:opacity .15s ease}.ticket-item.off{opacity:.45}.ticket-item .check-box{margin-top:6px}.ticket-fields{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}.ticket-sub{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ticket-sub .form-select{width:auto;flex:1;min-width:0;height:38px}.ticket-price{font-weight:700;font-size:14px;color:var(--brand)}.qty-stepper.small{height:38px}.qty-stepper.small button{width:34px}.qty-stepper.small span{min-width:28px;text-align:center;font-weight:600}.ai-block{padding:4px 0 0}.ai-suggest-card.busy{opacity:.7;pointer-events:none}.ai-text{flex:1;min-width:0}.ai-selects{display:flex;flex-direction:column;gap:6px;flex-shrink:0;align-self:center}.ai-select{border:1px solid var(--border);background:var(--surface);color:var(--brand);font-family:inherit;font-size:12.5px;font-weight:600;padding:7px 9px;border-radius:10px;cursor:pointer;width:110px}.add-cat-hint{flex-shrink:0;font-size:11px;font-weight:600;color:var(--brand);background:var(--accent-soft);padding:3px 8px;border-radius:999px;white-space:nowrap}.qty-row{display:flex;align-items:center;gap:12px;padding:0 20px;margin-bottom:14px}.qty-row-label{font-size:13px;font-weight:600;color:var(--muted);flex-shrink:0}.qty-row-value{font-size:15px;font-weight:700;color:var(--brand);flex-shrink:0;min-width:34px;text-align:right}.qwheel{position:relative;flex:1;min-width:0;height:44px;background:var(--surface);border:1px solid var(--border);border-radius:12px;overflow:hidden}.qwheel-center{position:absolute;top:6px;bottom:6px;left:50%;width:56px;transform:translate(-50%);background:var(--accent-soft);border-radius:9px;pointer-events:none}.qwheel-track{position:relative;z-index:1;height:100%;display:flex;align-items:center;overflow-x:scroll;scroll-snap-type:x mandatory;padding:0 calc(50% - 28px);scrollbar-width:none;-webkit-overflow-scrolling:touch}.qwheel-track::-webkit-scrollbar{display:none}.qwheel-item{flex:0 0 56px;width:56px;border:none;background:transparent;font-family:inherit;font-size:14px;font-weight:600;color:var(--muted);opacity:.5;scroll-snap-align:center;cursor:pointer;transition:opacity .15s ease,transform .15s ease,color .15s ease;white-space:nowrap}.qwheel-item.active{opacity:1;color:var(--brand);transform:scale(1.2)}.suggest-list{padding:0 20px;margin-bottom:14px;display:flex;flex-direction:column;gap:6px}.suggest-row{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;background:var(--surface);border:1px solid var(--border);border-radius:10px;font-family:inherit;font-size:14px;color:var(--fg);cursor:pointer;text-align:left;transition:border-color .15s ease}.suggest-row:hover{border-color:var(--brand)}.suggest-row svg{width:16px;height:16px;color:var(--brand);flex-shrink:0}.suggest-name{flex:1;font-weight:600}.suggest-cat{font-size:12px;color:var(--muted)}.browse{padding:0 20px;margin-bottom:16px}.browse-toggle{display:flex;align-items:center;gap:8px;width:100%;padding:11px 14px;background:var(--surface);border:1px solid var(--border);border-radius:10px;font-family:inherit;font-size:13px;font-weight:600;color:var(--fg-2);cursor:pointer}.browse-toggle svg{width:16px;height:16px}.browse-toggle svg:last-child{margin-left:auto;transition:transform .2s ease}.browse-toggle svg.rot{transform:rotate(90deg)}.browse .quick-add-chips{margin-top:12px}.meal-current{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--accent-soft);border-radius:var(--radius);padding:14px 16px}.meal-current-label{font-size:12px;color:var(--muted);margin-bottom:2px}.meal-current-title{font-size:16px;font-weight:700;color:var(--brand)}.check-row{display:flex;align-items:center;gap:10px;margin-top:12px;font-size:14px;color:var(--fg);cursor:pointer;-webkit-user-select:none;user-select:none}.check-box{width:22px;height:22px;border-radius:6px;border:1.5px solid var(--border);display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:all .15s ease}.check-box.on{background:var(--brand);border-color:var(--brand)}.check-box svg{width:14px;height:14px;color:#fff}.drawer-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:400;background:#0b181c73;display:flex;align-items:flex-end;justify-content:center;animation:sheet-fade .2s ease}@keyframes sheet-fade{0%{opacity:0}to{opacity:1}}.drawer{width:100%;max-width:420px;max-height:86vh;display:flex;flex-direction:column;background:var(--surface);border-radius:22px 22px 0 0;padding:10px 20px calc(20px + env(safe-area-inset-bottom));box-shadow:0 -10px 30px #0b181c2e;animation:sheet-up .28s cubic-bezier(.22,1,.36,1)}@keyframes sheet-up{0%{transform:translateY(100%)}to{transform:translateY(0)}}.drawer-handle{width:40px;height:4px;border-radius:2px;background:var(--border);margin:0 auto 14px;flex-shrink:0}.drawer-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;flex-shrink:0}.drawer-title{font-weight:700;font-size:17px}.drawer-sub{font-size:13px;color:var(--muted);margin-top:2px}.drawer-body{overflow-y:auto;-webkit-overflow-scrolling:touch}.seg{display:flex;gap:4px;background:var(--accent-soft);border-radius:12px;padding:4px;margin-bottom:16px;flex-shrink:0}.seg-btn{flex:1;border:none;background:transparent;font-family:inherit;font-size:13px;font-weight:600;color:var(--muted);padding:9px 0;border-radius:9px;cursor:pointer;transition:all .15s ease}.seg-btn.active{background:var(--surface);color:var(--brand);box-shadow:0 1px 4px #00000014}.ing-row{display:flex;gap:8px;margin-bottom:8px}.ing-row .ing-qty{flex:0 0 80px}.ing-del{flex:0 0 40px;border:1px solid var(--border);background:var(--surface);border-radius:10px;color:var(--muted);cursor:pointer;display:flex;align-items:center;justify-content:center}.ing-del svg{width:16px;height:16px}.ing-add{display:inline-flex;align-items:center;gap:6px;background:none;border:none;color:var(--brand);font-family:inherit;font-size:13px;font-weight:600;cursor:pointer;padding:4px 0}.ing-add svg{width:16px;height:16px}.form-section{padding:0 20px;margin-bottom:20px}.form-label{display:block;font-size:13px;font-weight:600;color:var(--fg-2);margin-bottom:8px;text-transform:uppercase;letter-spacing:.02em}.form-input,.form-select{width:100%;min-width:0;max-width:100%;height:50px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:0 16px;font-size:16px;font-family:inherit;color:var(--fg);transition:border-color .15s ease}input[type=date].form-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:flex;align-items:center;text-align:left}input[type=date].form-input::-webkit-date-and-time-value{text-align:left;margin:0}input[type=date].form-input::-webkit-calendar-picker-indicator{margin-left:auto}.form-input:focus,.form-select:focus{outline:none;border-color:var(--fg)}.form-row{display:flex;gap:12px}.form-row>*{flex:1 1 0;min-width:0}.qty-stepper{display:flex;align-items:center;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);height:50px;overflow:hidden}.qty-stepper button{width:50px;height:100%;border:none;background:var(--surface);font-size:22px;color:var(--fg);cursor:pointer;transition:background .15s ease}.qty-stepper button:hover{background:var(--accent-soft)}.qty-stepper input{flex:1;height:100%;border:none;text-align:center;font-size:17px;font-weight:600;font-family:inherit;background:none;color:var(--fg);outline:none;min-width:0}.btn-primary{width:100%;height:52px;background:var(--brand);color:#fff;border:none;border-radius:var(--radius);font-size:16px;font-weight:600;cursor:pointer;transition:all .15s ease}.btn-primary:hover{opacity:.9}.btn-primary:disabled{opacity:.4;cursor:not-allowed}.btn-secondary{width:100%;height:52px;background:var(--surface);color:var(--fg);border:1px solid var(--border);border-radius:var(--radius);font-size:16px;font-weight:600;cursor:pointer;transition:all .15s ease}.btn-secondary:hover{border-color:var(--fg)}.btn-danger{color:var(--danger)}.btn-danger:hover{border-color:var(--danger)}.btn-row{display:flex;gap:12px;padding:0 20px}.btn-row>*{flex:1}.empty-state{text-align:center;padding:48px 24px;color:var(--muted)}.empty-state svg{width:40px;height:40px;margin-bottom:12px;opacity:.5}.empty-state p{font-size:14px}.toast{position:fixed;bottom:100px;left:50%;transform:translate(-50%) translateY(100px);background:var(--fg);color:var(--surface);padding:14px 20px;border-radius:var(--radius);font-size:14px;font-weight:500;z-index:500;opacity:0;transition:all .3s ease;pointer-events:none;white-space:nowrap}.toast.show{transform:translate(-50%) translateY(0);opacity:1}.scan-screen{position:fixed;top:0;right:0;bottom:0;left:0;background:#000;z-index:200;display:flex;flex-direction:column;align-items:center}.scan-topbar{position:absolute;top:0;left:0;right:0;display:flex;align-items:center;gap:12px;padding:calc(16px + env(safe-area-inset-top)) 16px 16px;z-index:2;background:linear-gradient(to bottom,rgba(0,0,0,.6),transparent)}.scan-topbar .back-btn{background:#ffffff26;border-color:transparent;color:#fff}.scan-topbar .back-btn:hover{background:#ffffff4d}.scan-title{color:#fff;font-weight:600;font-size:16px}.scan-video{width:100%;height:100%;object-fit:cover}.scan-frame{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:78%;max-width:320px;aspect-ratio:1.4 / 1;border:3px solid rgba(255,255,255,.9);border-radius:16px;box-shadow:0 0 0 9999px #00000073}.scan-mode-banner{position:absolute;top:64px;left:50%;transform:translate(-50%);z-index:5;display:flex;align-items:center;gap:10px;padding:8px 16px 8px 8px;border-radius:999px;font-size:13px;font-weight:700;color:#fff;box-shadow:0 4px 16px #00000059;max-width:92%}.smb-icon{flex-shrink:0;width:30px;height:30px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center}.smb-icon svg{width:20px;height:20px}.smb-text{line-height:1.25}.scan-mode-banner.plus{background:var(--brand)}.scan-mode-banner.plus .smb-icon{color:var(--brand)}.scan-mode-banner.minus{background:var(--danger)}.scan-mode-banner.minus .smb-icon{color:var(--danger)}.scan-screen.consume .scan-frame{border-color:#fff;box-shadow:0 0 0 9999px #d6453a57}.scan-bottom{position:absolute;bottom:calc(28px + env(safe-area-inset-bottom));left:0;right:0;display:flex;flex-direction:column;align-items:center;gap:14px;padding:0 20px}.scan-hint{text-align:center;color:#fff;font-size:14px;font-weight:500;text-shadow:0 1px 4px rgba(0,0,0,.6)}.scan-done{width:auto;padding:0 32px}.scan-removed{position:absolute;bottom:calc(108px + env(safe-area-inset-bottom));left:0;right:0;padding:0 16px}.scan-removed-title{text-align:center;color:#fff;font-size:11px;font-weight:600;margin-bottom:8px;text-shadow:0 1px 4px rgba(0,0,0,.6)}.scan-removed-list{display:flex;gap:8px;overflow-x:auto;justify-content:flex-start;scrollbar-width:none;padding-bottom:2px}.scan-removed-list::-webkit-scrollbar{display:none}.removed-chip{flex-shrink:0;display:inline-flex;align-items:center;gap:6px;padding:8px 13px 8px 10px;border-radius:999px;border:none;background:#ffffffeb;color:var(--fg);font-family:inherit;font-size:13px;font-weight:600;cursor:pointer}.removed-chip svg{width:15px;height:15px;color:var(--danger)}.scan-error{margin:auto;padding:24px;text-align:center;color:#fff;display:flex;flex-direction:column;align-items:center;gap:16px}.scan-error svg{width:48px;height:48px;color:var(--warn)}.scan-error p{font-size:15px;max-width:300px;line-height:1.5}.notif-tabs{display:flex;gap:4px;margin:0 20px 20px;background:var(--accent-soft);border-radius:var(--radius);padding:4px}.notif-tab{flex:1;padding:10px;border:none;background:transparent;border-radius:var(--radius-sm);font-size:13px;font-weight:500;font-family:inherit;color:var(--fg-2);cursor:pointer;transition:all .15s ease}.notif-tab.active{background:var(--surface);color:var(--fg);box-shadow:0 1px 3px #00000014}.notif-list{padding:0 20px}.notif-item{display:flex;gap:14px;padding:16px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);margin-bottom:10px}.notif-item.unread{border-left:3px solid var(--danger)}.notif-icon{width:40px;height:40px;border-radius:var(--radius-sm);display:flex;align-items:center;justify-content:center;flex-shrink:0}.notif-icon.danger{background:#fef2f2;color:var(--danger)}.notif-icon.warn{background:#fef6e6;color:var(--warn)}.notif-icon.success{background:#e8f5ec;color:var(--success)}.notif-icon.info{background:#f0f4ff;color:var(--info)}.notif-icon svg{width:20px;height:20px}.notif-content{flex:1}.notif-title{font-weight:600;font-size:14px;margin-bottom:2px}.notif-desc{font-size:13px;color:var(--muted);margin-bottom:4px}.notif-time{font-size:11px;color:var(--muted)}.week-nav{display:flex;align-items:center;justify-content:space-between;padding:0 20px;margin-bottom:20px}.week-nav button{width:36px;height:36px;border-radius:var(--radius-sm);background:var(--surface);border:1px solid var(--border);display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--fg)}.week-nav button:hover{background:var(--fg);color:var(--surface);border-color:var(--fg)}.week-nav button svg{width:18px;height:18px}.week-nav span{font-weight:600;font-size:15px}.day-card{margin:0 20px 12px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}.day-header{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;background:var(--accent-soft);border-bottom:1px solid var(--border)}.day-card.today .day-header{background:#eef2ff}.day-name{font-weight:600;font-size:14px}.day-date{font-size:12px;color:var(--muted)}.day-meals{padding:12px}.meal-slot{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--border)}.meal-slot:last-child{border-bottom:none}.meal-type{width:60px;font-size:12px;font-weight:500;color:var(--muted)}.meal-content{flex:1;font-size:14px}.meal-content.empty{color:var(--muted);font-style:italic}.meal-add{width:28px;height:28px;border-radius:6px;background:var(--accent-soft);border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .15s ease;color:var(--fg);flex-shrink:0}.meal-add:hover{background:var(--fg);color:var(--surface)}.meal-add svg{width:16px;height:16px}.stats-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:0 20px;margin-bottom:24px}.stats-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px}.stats-card .value{font-size:28px;font-weight:700;letter-spacing:-.02em}.stats-card .value.success{color:var(--success)}.stats-card .value.danger{color:var(--danger)}.stats-card .value.warn{color:var(--warn)}.stats-card .label{font-size:12px;color:var(--muted);margin-top:4px}.stats-card .trend{display:flex;align-items:center;gap:4px;font-size:12px;margin-top:8px}.stats-card .trend.up{color:var(--success)}.stats-card .trend.down{color:var(--danger)}.stats-card .trend svg{width:14px;height:14px}.chart-section{padding:0 20px;margin-bottom:24px}.chart-title{font-size:14px;font-weight:600;margin-bottom:12px}.chart-placeholder{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);height:170px;display:flex;align-items:flex-end;padding:30px 20px 28px;gap:8px}.chart-bar{flex:1;background:var(--brand);opacity:.85;border-radius:5px 5px 0 0;position:relative;min-height:4px}.bar-val{position:absolute;top:-18px;left:50%;transform:translate(-50%);font-size:11px;font-weight:700;color:var(--brand)}.chart-bar:after{content:attr(data-label);position:absolute;bottom:-20px;left:50%;transform:translate(-50%);font-size:10px;color:var(--muted)}.chart-empty{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:18px;font-size:13px;color:var(--muted);line-height:1.5}.history-section{padding:0 20px}.history-title{font-size:14px;font-weight:600;margin-bottom:12px}.history-item{display:flex;gap:14px;padding:12px 0;border-bottom:1px solid var(--border);align-items:center}.history-content{flex:1;min-width:0}.history-undo{flex-shrink:0;width:34px;height:34px;border-radius:9px;border:1px solid var(--border);background:var(--surface);color:var(--muted);display:flex;align-items:center;justify-content:center;cursor:pointer}.history-undo:hover{border-color:var(--brand);color:var(--brand)}.history-undo svg{width:17px;height:17px}.history-date{width:44px;text-align:center}.history-date .day{font-size:18px;font-weight:700}.history-date .month{font-size:11px;color:var(--muted)}.history-content{flex:1}.history-action{font-size:14px;margin-bottom:2px}.history-time{font-size:12px;color:var(--muted)}.budget-overview{margin:0 20px 24px;padding:20px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius)}.budget-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px}.budget-spent{font-size:32px;font-weight:700;letter-spacing:-.02em}.budget-limit{font-size:14px;color:var(--muted)}.budget-period{font-size:12px;color:var(--muted);padding:4px 10px;background:var(--accent-soft);border-radius:20px}.budget-bar{height:8px;background:var(--accent-soft);border-radius:4px;overflow:hidden;margin-bottom:8px}.budget-bar-fill{height:100%;background:var(--success);border-radius:4px;transition:width .3s ease}.budget-bar-fill.warning{background:var(--warn)}.budget-bar-fill.danger{background:var(--danger)}.budget-remaining{font-size:13px;color:var(--muted)}.budget-categories{padding:0 20px}.budget-cat-title{font-size:14px;font-weight:600;margin-bottom:12px}.budget-cat-item{display:flex;align-items:center;gap:14px;padding:14px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);margin-bottom:8px}.budget-cat-icon{width:40px;height:40px;border-radius:var(--radius-sm);background:var(--accent-soft);display:flex;align-items:center;justify-content:center;flex-shrink:0}.budget-cat-icon svg{width:20px;height:20px;color:var(--fg-2)}.budget-cat-info{flex:1}.budget-cat-name{font-weight:500;font-size:14px;margin-bottom:4px}.budget-cat-bar{height:4px;background:var(--accent-soft);border-radius:2px;overflow:hidden}.budget-cat-bar-fill{height:100%;background:var(--fg);border-radius:2px}.budget-cat-amount{font-weight:600;font-size:14px}.waste-score{margin:0 20px 24px;padding:24px;background:linear-gradient(135deg,#e8f5ec,#d1fae5);border-radius:var(--radius);text-align:center}.waste-score .value{font-size:56px;font-weight:700;color:var(--success);line-height:1}.waste-score .label{font-size:14px;color:var(--success);font-weight:500;margin-top:4px}.waste-score .desc{font-size:13px;color:var(--fg-2);margin-top:12px}.waste-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:0 20px;margin-bottom:24px}.waste-stat{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px;text-align:center}.waste-stat .value{font-size:24px;font-weight:700}.waste-stat .value.success{color:var(--success)}.waste-stat .value.danger{color:var(--danger)}.waste-stat .label{font-size:12px;color:var(--muted);margin-top:4px}.tips-section{padding:0 20px}.tips-title{font-size:14px;font-weight:600;margin-bottom:12px}.tip-card{display:flex;gap:14px;padding:14px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);margin-bottom:10px}.tip-icon{width:40px;height:40px;border-radius:var(--radius-sm);background:#fef6e6;display:flex;align-items:center;justify-content:center;color:var(--warn);flex-shrink:0}.tip-icon svg{width:20px;height:20px}.tip-content h4{font-size:14px;font-weight:600;margin-bottom:4px}.tip-content p{font-size:13px;color:var(--muted)}.recipe-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px;margin-bottom:12px;cursor:pointer;transition:all .15s ease}.recipe-card:hover{border-color:var(--fg)}.recipe-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:10px}.recipe-title{font-weight:600;font-size:16px;margin-bottom:4px}.recipe-meta{font-size:13px;color:var(--muted)}.fav-btn{width:32px;height:32px;border-radius:50%;background:none;border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--border);transition:all .2s ease;flex-shrink:0}.fav-btn:hover,.fav-btn.active{color:var(--danger)}.fav-btn svg{width:20px;height:20px}.recipe-tags{display:flex;gap:6px;margin-bottom:8px;flex-wrap:wrap}.recipe-tag{padding:4px 10px;background:var(--accent-soft);border-radius:4px;font-size:12px;color:var(--fg-2)}.recipe-tag.available{background:#e8f5ec;color:var(--success)}.recipe-adaptations{display:flex;gap:6px;flex-wrap:wrap}.adaptation{padding:4px 10px;background:#fef6e6;border-radius:4px;font-size:12px;color:var(--warn)}.ai-suggest-card{display:flex;align-items:center;gap:16px;background:linear-gradient(135deg,#f0f0f0,#e8e8e8);border-radius:var(--radius);padding:20px;margin-top:8px;cursor:pointer;transition:all .2s ease}.ai-suggest-card:hover{transform:translateY(-2px)}.ai-icon{width:48px;height:48px;background:var(--fg);color:var(--surface);border-radius:var(--radius-sm);display:flex;align-items:center;justify-content:center;flex-shrink:0}.ai-icon svg{width:24px;height:24px}.ai-title{font-weight:600;font-size:15px;margin-bottom:4px}.ai-desc{font-size:13px;color:var(--muted)}.ingredient-list{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}.ingredient-item{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid var(--border)}.ingredient-item:last-child{border-bottom:none}.ingredient-status{width:10px;height:10px;border-radius:50%;flex-shrink:0}.ingredient-status.in-stock{background:var(--success)}.ingredient-status.missing{background:var(--danger)}.ingredient-qty{margin-left:auto;font-size:13px;color:var(--muted)}.adaptation-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:14px;margin-bottom:10px}.adaptation-member{display:flex;align-items:center;gap:10px;margin-bottom:8px}.adaptation-note{font-size:13px;color:var(--fg-2);padding-left:42px}.member-avatar{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:14px;color:#fff;flex-shrink:0}.member-avatar.large{width:56px;height:56px;font-size:22px}.family-member{display:flex;align-items:center;gap:14px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px;margin-bottom:10px;cursor:pointer;transition:all .15s ease}.family-member:hover{border-color:var(--fg)}.member-info{flex:1}.member-name{font-weight:600;font-size:16px;margin-bottom:2px}.member-diet{font-size:13px;color:var(--muted)}.member-badges{display:flex;gap:6px;flex-wrap:wrap}.diet-badge{padding:4px 10px;border-radius:4px;font-size:11px;font-weight:600;text-transform:uppercase}.diet-badge.veg{background:#e8f5ec;color:var(--success)}.diet-badge.allergy{background:#fef2f2;color:var(--danger)}.chevron{width:20px;height:20px;color:var(--muted);flex-shrink:0}.add-member-btn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;padding:18px;background:var(--surface);border:2px dashed var(--border);border-radius:var(--radius);font-size:14px;font-weight:500;color:var(--muted);cursor:pointer;transition:all .15s ease}.add-member-btn:hover{border-color:var(--fg);color:var(--fg)}.add-member-btn svg{width:20px;height:20px}.diet-options,.restriction-options{display:flex;flex-wrap:wrap;gap:8px}.diet-option{padding:10px 16px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);font-size:14px;font-family:inherit;font-weight:500;color:var(--fg-2);cursor:pointer;transition:all .15s ease}.diet-option:hover{border-color:var(--fg);color:var(--fg)}.diet-option.active{background:var(--brand);border-color:var(--brand);color:#fff}.restriction-option{padding:8px 14px;background:var(--surface);border:1px solid var(--border);border-radius:20px;font-size:13px;font-family:inherit;color:var(--fg-2);cursor:pointer;transition:all .15s ease}.restriction-option:hover{border-color:var(--fg);color:var(--fg)}.restriction-option.active{background:var(--danger);border-color:var(--danger);color:#fff}.form-group{margin-bottom:20px}.menu-item{display:flex;align-items:center;gap:14px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px;margin-bottom:10px;cursor:pointer;transition:all .15s ease}.menu-item:hover{border-color:var(--fg)}.menu-icon{width:44px;height:44px;background:var(--accent-soft);border-radius:var(--radius-sm);display:flex;align-items:center;justify-content:center;flex-shrink:0}.menu-icon svg{width:22px;height:22px;color:var(--fg-2)}.menu-info{flex:1}.menu-title{font-weight:600;font-size:15px;margin-bottom:2px}.menu-desc{font-size:13px;color:var(--muted)}.menu-badge{background:var(--danger);color:#fff;font-size:11px;font-weight:600;padding:3px 8px;border-radius:10px;margin-right:8px}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:14px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px;margin-bottom:10px}.setting-text{flex:1}.setting-title{font-weight:600;font-size:15px;margin-bottom:2px}.setting-desc{font-size:13px;color:var(--muted)}.switch{position:relative;width:46px;height:28px;flex-shrink:0}.switch input{opacity:0;width:0;height:0}.switch .slider{position:absolute;top:0;right:0;bottom:0;left:0;background:var(--border);border-radius:999px;transition:.2s;cursor:pointer}.switch .slider:before{content:"";position:absolute;width:22px;height:22px;left:3px;top:3px;background:#fff;border-radius:50%;transition:.2s}.switch input:checked+.slider{background:var(--success)}.switch input:checked+.slider:before{transform:translate(18px)}.add-bar{position:fixed;bottom:calc(90px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%);width:100%;max-width:420px;padding:0 29px;z-index:150;pointer-events:none}.add-btn{pointer-events:auto;width:100%;height:56px;display:flex;align-items:center;justify-content:center;gap:10px;background:var(--brand-grad);color:#fff;border:none;border-radius:var(--radius);font-family:inherit;font-size:16px;font-weight:700;cursor:pointer;box-shadow:0 6px 16px #009b9b4d;box-shadow:0 6px 16px oklch(.62 .13 195 / .3);transition:transform .15s ease}.add-btn:active{transform:scale(.98)}.add-btn svg{width:22px;height:22px}.fab{display:none}.fab-menu{position:fixed;bottom:calc(160px + env(safe-area-inset-bottom));right:calc(50% - 190px);display:flex;flex-direction:column;gap:10px;z-index:199;opacity:0;pointer-events:none;transform:translateY(20px);transition:all .25s ease}.fab-menu.open{opacity:1;pointer-events:auto;transform:translateY(0)}@media(max-width:460px){.fab,.fab-menu{right:20px}}.fab-option{display:flex;align-items:center;gap:12px;padding:12px 16px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);cursor:pointer;white-space:nowrap;box-shadow:0 4px 12px #00000014;transition:all .15s ease}.fab-option:hover{border-color:var(--fg);transform:translate(-4px)}.fab-option.soon{opacity:.6}.fab-option-icon{width:40px;height:40px;background:var(--accent-soft);border-radius:var(--radius-sm);display:flex;align-items:center;justify-content:center;flex-shrink:0}.fab-option-icon svg{width:20px;height:20px;color:var(--fg)}.fab-option-text{font-weight:500;font-size:14px}.fab-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0000004d;z-index:198;opacity:0;pointer-events:none;transition:opacity .25s ease}.fab-backdrop.open{opacity:1;pointer-events:auto}.opt-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.opt-grid.two{grid-template-columns:repeat(2,1fr)}.opt-btn{padding:12px 8px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);font-size:13px;font-weight:500;font-family:inherit;color:var(--fg-2);cursor:pointer;transition:all .15s ease;text-align:center}.opt-btn:hover{border-color:var(--fg);color:var(--fg)}.opt-btn.active{background:var(--brand);border-color:var(--brand);color:#fff}.opt-btn .sub{display:block;font-size:11px;font-weight:400;opacity:.75;margin-top:3px}.opt-btn.date{text-align:left;padding:12px 14px}.health-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px}.health-head{display:flex;justify-content:space-between;align-items:center}.health-score{font-size:30px;font-weight:800;letter-spacing:-.02em}.health-score span{font-size:14px;color:var(--muted);font-weight:600}.health-verdict{font-size:13px;color:var(--fg-2);margin-top:2px}.health-bar{display:flex;height:12px;border-radius:6px;overflow:hidden;gap:2px;margin:14px 0 10px;background:var(--accent-soft)}.health-bar .hb{min-width:8px}.health-legend{display:flex;flex-wrap:wrap;gap:12px;font-size:12px;color:var(--fg-2)}.health-legend span{display:inline-flex;align-items:center;gap:5px}.health-legend .dot{width:10px;height:10px;border-radius:3px}.health-note{font-size:12px;color:var(--muted);margin-top:10px}.hb.ns-a,.dot.ns-a{background:#038141}.hb.ns-b,.dot.ns-b{background:#85bb2f}.hb.ns-c,.dot.ns-c{background:#fecb02}.hb.ns-d,.dot.ns-d{background:#ee8100}.hb.ns-e,.dot.ns-e{background:#e63e11}.enrich-card{display:flex;gap:12px;align-items:center;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:12px}.enrich-photo{width:56px;height:56px;border-radius:var(--radius-sm);object-fit:cover;background:var(--accent-soft);flex-shrink:0}.enrich-info{flex:1;min-width:0}.enrich-badges{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.nutri-badge{font-weight:800;color:#fff;border-radius:6px;padding:3px 9px;font-size:14px;letter-spacing:.02em}.nutri-badge.ns-a{background:#038141}.nutri-badge.ns-b{background:#85bb2f}.nutri-badge.ns-c{background:#fecb02;color:#3a2e00}.nutri-badge.ns-d{background:#ee8100}.nutri-badge.ns-e{background:#e63e11}.meta-badge{background:var(--accent-soft);color:var(--fg-2);border-radius:6px;padding:3px 9px;font-size:12px;font-weight:600}.allergen-warn{display:flex;gap:6px;align-items:center;margin-top:8px;color:var(--danger);font-size:12px;font-weight:600}.allergen-warn svg{width:16px;height:16px;flex-shrink:0}.estimate-hint{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;margin-top:8px;padding:10px 14px;background:#f0f4ff;border:1px solid #dde5ff;border-radius:var(--radius-sm);font-size:13px;color:var(--fg-2);font-family:inherit;cursor:pointer;text-align:left;transition:all .15s ease}.estimate-hint:hover{border-color:var(--info)}.estimate-hint .estimate-apply{flex-shrink:0;font-weight:600;color:var(--info)}.screen-fade{animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.local-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;padding:10px 12px;border:1px solid var(--warn);border-radius:12px;background:#fef6e6;font-size:13px}.local-banner div{display:flex;flex-direction:column;gap:2px}.local-banner strong{font-weight:700}.local-banner button{flex-shrink:0;padding:8px 12px;border:0;border-radius:10px;background:var(--warn);color:#1d1d1d;font-weight:700;cursor:pointer}.product-icon.has-img{width:60px;height:60px}.product-img{width:54px;height:54px;object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none}.icon-pick-row{display:flex;align-items:center;gap:12px}.icon-pick-current{width:60px;height:60px;border-radius:16px;background:var(--card, #fff);border:1px solid var(--border, #e6e0d6);display:grid;place-items:center}.icon-picker{margin-top:10px}.icon-pick-auto{margin:8px 0 0;background:none;border:none;color:var(--primary, #2f7d4f);font-weight:600;padding:4px 0}.icon-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(56px,1fr));gap:6px;margin-top:10px;max-height:280px;overflow-y:auto}.icon-cell{aspect-ratio:1;border-radius:12px;border:1px solid var(--border, #e6e0d6);background:var(--card, #fff);display:grid;place-items:center;padding:2px}.icon-cell.active{border-color:var(--primary, #2f7d4f);box-shadow:0 0 0 2px var(--primary, #2f7d4f) inset}.dp{position:relative}.dp-field{display:flex;align-items:center;justify-content:space-between;text-align:left;cursor:pointer}.dp-field.empty{color:var(--muted)}.dp-ico{color:var(--muted);font-size:12px}.dp-pop{max-width:360px;margin-top:8px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:12px;box-shadow:0 10px 30px #1422261f}.dp-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;text-transform:capitalize}.dp-nav{width:34px;height:34px;border-radius:10px;border:1px solid var(--border);background:var(--surface);color:var(--fg);display:grid;place-items:center}.dp-nav svg{width:16px;height:16px}.dp-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.dp-week{margin-bottom:4px;text-align:center;font-size:12px;font-weight:700;color:var(--muted)}.dp-day{height:40px;border-radius:10px;border:none;background:none;color:var(--fg);font:inherit;font-weight:600}.dp-day.today{box-shadow:0 0 0 1.5px var(--brand) inset}.dp-day.sel{background:var(--brand-grad);color:#fff}.dp-quick{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.dp-quick button{border:1px solid var(--border);background:var(--accent-soft);color:var(--fg);border-radius:999px;padding:6px 12px;font:inherit;font-size:13px;font-weight:700}.dp-quick .clear{color:var(--danger);background:none}.scan-known{position:absolute;top:0;right:0;bottom:0;left:0;z-index:30;display:flex;align-items:flex-end;justify-content:center;background:#1422268c;padding:16px}.scan-known-card{width:100%;max-width:420px;background:var(--surface);border-radius:22px;padding:18px;display:flex;flex-direction:column;gap:12px;box-shadow:0 20px 50px #1422264d}.scan-known-head{display:flex;align-items:center;gap:12px}.scan-known-sub{color:var(--fg-2);font-size:14px;margin-top:2px}.scan-known-ask{font-weight:700;text-align:center;margin-top:4px}.scan-known-stepper{display:flex;align-items:center;justify-content:center;gap:18px}.scan-known-stepper button{width:54px;height:54px;border-radius:16px;border:1px solid var(--border);background:var(--accent-soft);color:var(--fg);display:grid;place-items:center}.scan-known-stepper span{font-size:34px;font-weight:800;min-width:56px;text-align:center}.scan-known-cancel{background:none;border:none;color:var(--fg-2);font:inherit;font-weight:700;padding:8px}.store-bar{margin:0 20px 10px}.store-chip{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--border);background:var(--surface);color:var(--fg);border-radius:999px;padding:9px 14px;font:inherit;font-weight:700}.store-chip svg{width:18px;height:18px}.store-picker{margin:0 20px 12px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:12px}.store-grid{display:flex;flex-wrap:wrap;gap:8px}.store-opt{border:1px solid var(--border);background:var(--accent-soft);color:var(--fg);border-radius:999px;padding:8px 14px;font:inherit;font-weight:700}.store-opt.active{background:var(--brand-grad);color:#fff;border-color:transparent}.store-opt.none{background:none;color:var(--fg-2)}.store-new{display:flex;gap:8px;margin-top:10px}.store-new .form-input{flex:1}.usual-here{margin:0 20px 14px}.usual-title{font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);margin-bottom:8px}.usual-list{display:flex;flex-wrap:wrap;gap:6px}.usual-chip{border:1px solid var(--brand);background:var(--brand-soft);color:var(--brand-strong);border-radius:999px;padding:6px 12px;font:inherit;font-size:14px;font-weight:700}.scan-frame.date-frame{width:86%;max-width:420px;height:120px;aspect-ratio:auto}.store-new .form-input{flex:1 1 0;width:auto;min-width:0}.store-new .btn-secondary{flex:0 0 auto;width:auto;height:50px;padding:0 20px}.store-bar{display:flex;flex-wrap:wrap;gap:8px}.store-msg{margin:0 20px 12px;padding:10px 14px;border-radius:var(--radius-sm);background:var(--accent-soft);color:var(--fg-2);font-size:14px}.removed-chip.added{cursor:default}.scan-known-exp .form-label{display:block;margin-bottom:6px}.scan-known-exp-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.scan-known-card{max-height:88vh;overflow-y:auto}.scan-added-card{position:absolute;bottom:calc(108px + env(safe-area-inset-bottom));left:16px;right:16px;background:#fffffff5;color:var(--fg);border-radius:16px;padding:10px 14px;box-shadow:0 6px 24px #0000004d}.scan-added-title{font-size:12px;font-weight:700;color:var(--muted);margin-bottom:6px;text-transform:uppercase;letter-spacing:.03em}.scan-added-list{list-style:none;margin:0;padding:0;max-height:28vh;overflow-y:auto}.scan-added-row{display:flex;align-items:center;gap:10px;padding:8px 0;border-top:1px solid rgba(0,0,0,.07);font-size:15px;font-weight:600}.scan-added-row:first-child{border-top:none}.scan-added-check{width:22px;height:22px;border-radius:50%;background:#2e9e5b;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:13px;flex-shrink:0}.scan-added-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scan-added-count{font-weight:800;font-size:16px}.usual-chip.on{background:var(--accent, #2e9e5b);color:#fff;border-color:transparent}.scan-known-multi{display:flex;flex-direction:column;gap:12px;max-height:38vh;overflow-y:auto}.scan-known-multi-row{border-top:1px solid rgba(0,0,0,.08);padding-top:10px}.scan-known-multi-row:first-child{border-top:none;padding-top:0}.scan-known-multi-n{font-size:12px;font-weight:700;color:var(--muted);margin-bottom:4px}.form-multi{display:flex;flex-direction:column;gap:14px;margin-top:12px}.form-multi .scan-known-multi-row{border-top:1px solid rgba(0,0,0,.08);padding-top:12px;position:relative}.form-multi .scan-known-multi-row:first-child{border-top:none;padding-top:0}.form-multi .scan-known-multi-n{font-size:12px;font-weight:700;color:var(--muted);margin-bottom:4px}.form-group{background:var(--surface, #fff);border:1px solid rgba(0,0,0,.07);border-radius:18px;padding:14px 14px 4px;margin-bottom:16px}.form-group .form-section{margin-bottom:16px}.form-group-title{font-size:13px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);margin:0 0 12px}.form-group.deduced{background:#46a0a012}.deduced-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.deduced-toggle{border:none;background:transparent;color:var(--accent, #3a9a9a);font-weight:700;font-size:14px;padding:6px 4px;cursor:pointer;font-family:inherit}.deduced-summary{font-size:16px;font-weight:600;padding:2px 0 12px}.deduced-learned{font-weight:500;font-size:13px;color:var(--muted)}.form-group{margin:0 16px 28px;padding:18px 0 6px;border:1px solid rgba(0,0,0,.09);box-shadow:0 1px 3px #0000000a}.form-group .form-section{padding:0 18px}.form-group-title{padding:0 18px;margin-bottom:16px}.form-group.deduced .deduced-head{padding:0 18px}.form-group.deduced .form-group-title{padding:0}.form-group.deduced .deduced-summary{padding:2px 18px 14px}.product-hero{padding-top:22px}.hero-icon-wrap{display:flex;flex-direction:column;align-items:center;gap:8px;margin-bottom:22px}.hero-icon{width:148px;height:148px;border-radius:32px;background:#fff;border:1px solid rgba(0,0,0,.08);box-shadow:0 2px 10px #0000000f;display:grid;place-items:center;padding:0;cursor:pointer;font-size:42px;color:var(--muted)}.hero-icon img{width:120px;height:120px;object-fit:contain}.hero-icon-change{border:1px solid var(--accent, #3a9a9a);color:var(--accent, #3a9a9a);background:transparent;border-radius:999px;padding:8px 18px;font-weight:700;font-size:14px;font-family:inherit;cursor:pointer}.hero-icon-source{font-size:12px;color:var(--muted)}.product-hero .icon-picker{margin:0 18px 20px}.hero-nutri{display:flex;align-items:center;gap:12px;padding-top:4px}.hero-nutri .enrich-info{flex:1}.form-save{width:calc(100% - 32px);margin:4px 16px 14px;display:flex;align-items:center;justify-content:center;gap:8px}.form-save svg{width:20px;height:20px}.form-actions{display:flex;gap:8px;margin:0 16px 24px}.action-chip{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 6px;border-radius:14px;border:1px solid rgba(0,0,0,.09);background:transparent;color:var(--fg-2, #444);font-size:12px;font-weight:600;font-family:inherit;cursor:pointer}.action-chip svg{width:20px;height:20px}.action-chip.danger{color:#c0392b}.hero-row{display:flex;gap:14px;align-items:flex-start;padding:0 18px 16px}.hero-icon-col{display:flex;flex-direction:column;align-items:center;gap:8px;flex:0 0 auto}.product-hero .hero-icon{width:112px;height:112px;border-radius:26px}.product-hero .hero-icon img{width:88px;height:88px}.product-hero .hero-icon-change{display:flex;align-items:center;gap:6px;padding:6px 12px;font-size:13px}.product-hero .hero-icon-change svg{width:14px;height:14px}.hero-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}.hero-info .form-label{margin-bottom:0}.hero-badges{margin:0}.hero-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.hero-barcode{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}.hero-ai{margin:0!important;padding:6px 12px;font-size:13px}.product-hero .icon-picker{margin:0 18px 16px}.tooltip{position:fixed;z-index:9999;transform:translate(-50%,-100%);max-width:260px;padding:7px 11px;border-radius:10px;background:#1c2428f0;color:#fff;font-size:13px;font-weight:600;line-height:1.3;pointer-events:none;box-shadow:0 6px 18px #00000038;animation:tooltip-in .12s ease-out}.tooltip.below{transform:translate(-50%)}@keyframes tooltip-in{0%{opacity:0;margin-top:3px}to{opacity:1;margin-top:0}}.hero-name{padding:0 18px 16px;display:flex;flex-direction:column;gap:8px}.hero-name .form-label{margin-bottom:0}.hero-info{justify-content:center}@media(max-width:520px){.product-hero .hero-icon{width:96px;height:96px;border-radius:22px}.product-hero .hero-icon img{width:76px;height:76px}}.ticket-size{margin-top:8px;font-size:14px;padding:8px 12px}.status-tag.still-good{background:#e9f2fb;color:#3b6ea5}.dp-title{display:flex;gap:6px;align-items:center}.dp-pill{border:1px solid var(--border);background:var(--surface);color:var(--fg);border-radius:999px;padding:6px 12px;font:inherit;font-weight:800;text-transform:capitalize;cursor:pointer}.dp-pill span{font-size:10px;color:var(--muted)}.dp-pill.on{background:var(--accent-soft);border-color:var(--brand)}.dp-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:6px 0 4px}.dp-choices button{height:46px;border-radius:12px;border:1px solid var(--border);background:var(--surface);color:var(--fg);font:inherit;font-weight:700;text-transform:capitalize;cursor:pointer}.dp-choices button.sel{background:var(--brand-grad);color:#fff;border-color:transparent}.dp-choices button.today{box-shadow:0 0 0 1.5px var(--brand) inset}.icon-btn.on{background:var(--brand-grad);color:#fff}.select-hint{display:flex;gap:14px}.select-hint button{border:none;background:none;color:var(--brand);font:inherit;font-weight:700;padding:4px 0;cursor:pointer}.select-row{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:12px 14px;margin-bottom:8px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--fg);font:inherit;cursor:pointer}.select-row.on{border-color:var(--brand);background:var(--accent-soft)}.select-name{flex:1;font-weight:700;min-width:0}.select-stores{font-size:12px;color:var(--muted);max-width:40%;text-align:right}.select-bar{position:sticky;bottom:76px;z-index:20;margin:12px 0 0;padding:14px;border:1px solid var(--border);border-radius:18px;background:var(--surface);box-shadow:0 -6px 24px #0000001a;display:flex;flex-direction:column;gap:10px}.select-bar-title{font-weight:800;font-size:14px}.select-bar-actions{display:flex;gap:8px}.select-bar-actions .btn-primary{flex:1;display:flex;align-items:center;justify-content:center;gap:6px}.select-bar-actions .btn-primary svg{width:18px;height:18px}.select-tabs{display:flex;gap:6px}.select-tabs button{flex:1;border:1px solid var(--border);background:none;color:var(--fg-2);border-radius:10px;padding:8px 6px;font:inherit;font-size:13px;font-weight:700;cursor:pointer}.select-tabs button.on{background:var(--accent-soft);color:var(--fg);border-color:var(--brand)}.product-list.selecting{padding-bottom:190px}.select-bar{position:fixed;left:0;right:0;bottom:calc(76px + env(safe-area-inset-bottom,0px));margin:0 auto;max-width:620px;width:calc(100% - 24px);padding:10px 12px 12px;gap:8px}@media(min-width:760px){.select-bar{bottom:16px;left:248px}}.select-bar-top{display:flex;align-items:center;gap:10px}.select-bar-top .select-bar-title{flex:1}.select-close{width:36px;height:36px;flex:0 0 auto;border-radius:10px;border:1px solid var(--border);background:none;color:var(--fg);display:grid;place-items:center;cursor:pointer}.select-close svg{width:16px;height:16px}.select-apply{display:flex;align-items:center;gap:6px;border:none;border-radius:12px;padding:9px 16px;background:var(--brand-grad);color:#fff;font:inherit;font-weight:800;cursor:pointer;white-space:nowrap}.select-apply:disabled{opacity:.4;cursor:default}.select-apply svg{width:16px;height:16px}.select-choices{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}.select-choices::-webkit-scrollbar{display:none}.select-choices .store-opt{flex:0 0 auto;padding:7px 13px;white-space:nowrap}.form-footer{position:sticky;bottom:0;z-index:20;display:flex;align-items:center;gap:10px;padding:10px 16px calc(10px + env(safe-area-inset-bottom));margin-top:8px;background:var(--surface, #fff);border-top:1px solid var(--border, rgba(0,0,0,.08));box-shadow:0 -6px 16px #0000000d}.form-footer .form-actions{margin:0;flex:0 0 auto;gap:8px}.form-footer .action-chip{flex:0 0 auto;width:46px;height:46px;padding:0;justify-content:center;border-radius:14px}.form-footer .form-save{flex:1;width:auto;margin:0;min-height:46px}.app{overflow-x:clip}.app:has(.form-footer),.app.with-fab:has(.form-footer){padding-bottom:0}h1.logo{line-height:0}h1.logo img{display:block;height:50px;width:auto}.sidebar-logo img{display:block;height:84px;width:auto}.splash-logo-img{display:block;height:150px;width:auto;filter:drop-shadow(0 6px 14px rgba(0,0,0,.2))}.sync-ico{display:inline-flex;align-items:center;justify-content:center;width:32px;height:40px;color:var(--success)}.sync-ico svg{width:20px;height:20px}.sync-ico.off{color:var(--danger)}.install-banner{display:flex;align-items:center;gap:12px;margin:10px 16px 0;padding:10px 12px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 4px 14px #00000014}.install-banner img{width:40px;height:40px;border-radius:10px;flex:none}.install-text{display:flex;flex-direction:column;min-width:0;flex:1;font-size:12px;color:var(--fg-muted, var(--fg))}.install-text strong{font-size:14px;color:var(--fg)}.install-go{flex:none;border:0;border-radius:999px;padding:8px 14px;font-weight:700;color:#fff;background:var(--brand-grad);cursor:pointer}.install-x{flex:none;border:0;background:none;font-size:22px;line-height:1;color:var(--fg);opacity:.5;cursor:pointer;padding:4px 6px}.form-section>.form-group{margin:0 0 16px;padding:18px 18px 6px}.form-section>.form-group>.form-label{display:block;margin-bottom:10px}.ai-suggest-card{flex-wrap:wrap;row-gap:14px}.ai-suggest-card .ai-text{flex:1 1 0}.ai-suggest-card .ai-selects{flex:1 1 100%;flex-direction:row;gap:10px;align-self:stretch}.ai-suggest-card .ai-select{flex:1 1 0;width:auto;min-width:0;padding:11px 12px;font-size:14px;border-radius:12px}.shopping-stock{display:block;font-size:12px;font-weight:600;color:var(--muted);margin-top:1px}.usual-stock{font-weight:600;opacity:.7;font-size:12px}body.is-selecting .add-bar{display:none}.store-edit-row{gap:8px}.store-edit-btn{flex:0 0 auto;width:auto;height:38px;padding:0 12px;font-size:13px}.store-edit-input{flex:1;min-width:0;height:38px;border:1px solid var(--border);border-radius:10px;padding:0 12px;font:inherit;background:var(--surface);color:var(--fg)}.product-brand{font-size:11px;font-weight:700;letter-spacing:.02em;color:var(--muted);line-height:1.2;margin-top:1px}.brand-field{position:relative;margin-top:8px}.brand-field .form-input{padding-right:40px}.brand-clear{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:32px;height:32px;border:none;background:none;font-size:22px;line-height:1;color:var(--muted);cursor:pointer}.brand-menu{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:30;background:var(--surface);border:1px solid var(--border);border-radius:14px;box-shadow:0 10px 28px #00000024;overflow:hidden;max-height:260px;overflow-y:auto}.brand-opt{display:block;width:100%;text-align:left;padding:12px 14px;border:none;border-bottom:1px solid var(--border);background:none;font:inherit;font-size:15px;font-weight:600;color:var(--fg);cursor:pointer}.brand-opt:last-child{border-bottom:none}.brand-opt.add{color:var(--brand-strong);font-weight:800}.brand-suggest{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px}.brand-suggest span{font-size:12px;color:var(--muted);font-weight:600;width:100%}.brand-suggest .usual-chip{padding:5px 11px;font-size:13px}.confirm-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;background:#0f171c73;display:flex;align-items:center;justify-content:center;padding:24px;animation:confirm-fade .15s ease}.confirm-box{width:100%;max-width:360px;background:var(--surface);border-radius:22px;padding:22px 20px 16px;box-shadow:0 20px 60px #0000004d;animation:confirm-pop .18s ease}.confirm-title{font-size:18px;font-weight:800;color:var(--fg);line-height:1.25}.confirm-msg{margin-top:8px;font-size:14px;color:var(--fg-2);line-height:1.4}.confirm-actions{display:flex;gap:10px;margin-top:20px}.confirm-btn{flex:1;height:46px;border-radius:14px;border:1px solid var(--border);background:none;font:inherit;font-weight:800;font-size:15px;color:var(--fg);cursor:pointer}.confirm-btn.primary{border:none;background:var(--brand-grad);color:#fff}.confirm-btn.primary.danger{background:var(--danger)}@keyframes confirm-fade{0%{opacity:0}to{opacity:1}}@keyframes confirm-pop{0%{opacity:0;transform:scale(.94)}to{opacity:1;transform:scale(1)}}.search-by,.search-value{border:none;background:none;font:inherit;color:var(--fg);outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.search-by{flex:0 0 auto;font-weight:800;font-size:14px;color:var(--brand-strong);padding:0 22px 0 4px;margin-right:6px;border-right:1px solid var(--border);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%23888' stroke-width='1.6'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 8px center}.search-value{flex:1;min-width:0;font-size:16px}.cselect-btn{text-align:left;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font:inherit}.cselect-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;background:#0f171c73;display:flex;align-items:flex-end;justify-content:center;animation:confirm-fade .15s ease}.cselect-sheet{width:100%;max-width:520px;max-height:70vh;display:flex;flex-direction:column;background:var(--surface);border-radius:24px 24px 0 0;padding:10px 14px calc(16px + env(safe-area-inset-bottom,0px));box-shadow:0 -10px 40px #00000040;animation:cselect-up .2s ease}.cselect-handle{width:40px;height:4px;border-radius:2px;background:var(--border);margin:0 auto 10px;flex:0 0 auto}.cselect-title{font-weight:800;font-size:16px;padding:4px 8px 10px;color:var(--fg);flex:0 0 auto}.cselect-list{overflow-y:auto;-webkit-overflow-scrolling:touch;display:flex;flex-direction:column;gap:2px}.cselect-opt{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;text-align:left;padding:14px 12px;border:none;border-radius:14px;background:none;font:inherit;font-size:16px;font-weight:600;color:var(--fg);cursor:pointer}.cselect-opt:active{background:var(--accent-soft)}.cselect-opt.on{background:var(--brand-soft);color:var(--brand-strong);font-weight:800}@keyframes cselect-up{0%{transform:translateY(40px);opacity:0}to{transform:none;opacity:1}}@media(min-width:760px){.cselect-overlay{align-items:center}.cselect-sheet{border-radius:22px}}.search-field{position:relative;flex:1;min-width:0;height:24px}.search-field input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;background:transparent;z-index:1}.search-hint{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;pointer-events:none;color:var(--muted);font-size:16px}.search-hint span{position:absolute;left:0;right:0;top:0;line-height:24px;white-space:nowrap;opacity:0;animation:search-hint 12s infinite}.search-hint span:nth-child(2){animation-delay:3s}.search-hint span:nth-child(3){animation-delay:6s}.search-hint span:nth-child(4){animation-delay:9s}@keyframes search-hint{0%{opacity:0;transform:translateY(100%)}4%{opacity:1;transform:translateY(0)}21%{opacity:1;transform:translateY(0)}25%{opacity:0;transform:translateY(-100%)}to{opacity:0;transform:translateY(-100%)}}@media(prefers-reduced-motion:reduce){.search-hint span{animation:none}.search-hint span:first-child{opacity:1}}.confirm-input{margin-top:14px;width:100%}.recipe-photo-btn{width:100%;justify-content:center}.recipe-photo-hint{margin-top:8px;font-size:12px;color:var(--muted);text-align:center}.opt-grid.five{grid-template-columns:repeat(6,1fr)}.opt-grid.five .opt-btn{grid-column:span 2;padding:12px 4px;font-size:14px;font-weight:600;text-align:center}.opt-grid.five .opt-btn:nth-child(n+4){grid-column:span 3}.recipe-photo{padding-bottom:14px;margin-bottom:18px;border-bottom:1px solid var(--border)}.form-group .ing-row{margin-bottom:10px}.ing-link{font-size:12px;color:var(--muted);margin:-2px 2px 8px}.ing-link.linked{color:var(--success)}.ing-sugg-brand{color:var(--muted);font-weight:400}.ing-sugg-tag{margin-left:auto;font-size:11px;color:var(--success);font-weight:600;white-space:nowrap}.ingredient-main{display:flex;flex-direction:column;gap:2px;min-width:0}.ingredient-sub{font-size:12px;color:var(--muted)}.btn-row{padding:0 16px;gap:8px}.btn-row>.btn-primary,.btn-row>.btn-secondary{height:46px;border-radius:14px;font-size:15px;display:flex;align-items:center;justify-content:center}.form-footer .action-chip.cancel{width:auto;height:46px;flex-direction:row;padding:0 18px;font-size:15px}.stats-strip{gap:8px;margin-bottom:14px}.stat-box{padding:8px 6px;border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;min-width:0;text-align:center}.stat-box .value{font-size:20px;line-height:1.15;font-variant-numeric:tabular-nums;white-space:nowrap;max-width:100%}.stat-box .label{margin-top:0;font-size:11px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.conso-seg{display:flex;gap:6px;margin:0 16px 14px;padding:4px;border-radius:14px;background:#0000000d}.conso-seg button{flex:1;height:38px;border:none;border-radius:11px;background:transparent;font:inherit;font-size:14px;font-weight:600;color:var(--muted);cursor:pointer}.conso-seg button.on{background:var(--surface, #fff);color:var(--fg);box-shadow:0 1px 4px #0000001a}.conso-kpis{display:flex;gap:8px;padding:0 16px}.conso-kpis .stat-box{flex-direction:column;align-items:center;gap:0;cursor:default;padding:10px}.conso-kpis .stat-box:hover{border-color:var(--border)}.conso-note{margin:8px 20px 14px;font-size:12px;color:var(--muted);text-align:center}.conso-chart{display:flex;align-items:stretch;gap:3px;height:170px;padding:8px 4px 0;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius)}.conso-col{flex:1;min-width:0;display:flex;flex-direction:column;border:none;background:transparent;padding:0;cursor:pointer;font:inherit}.conso-bar-wrap{flex:1;display:flex;align-items:flex-end}.conso-bar{width:100%;background:var(--brand);opacity:.4;border-radius:4px 4px 0 0;min-height:2px}.conso-col.sel .conso-bar{opacity:1}.conso-lbl{height:22px;line-height:22px;font-size:10px;color:var(--muted);text-align:center;white-space:nowrap;overflow:visible}.conso-col.sel .conso-lbl{color:var(--fg);font-weight:700}.conso-top-row{display:flex;align-items:center;gap:10px;padding:8px 0;font-size:14px}.conso-top-name{flex:0 0 38%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conso-top-track{flex:1;height:8px;border-radius:4px;background:#0000000f;overflow:hidden}.conso-top-track i{display:block;height:100%;background:var(--brand);border-radius:4px}.conso-top-qty{flex:0 0 auto;color:var(--muted);font-size:13px;min-width:30px;text-align:right}.conso-link{display:flex;align-items:center;justify-content:center;gap:8px;height:46px;border-radius:14px;font-size:14px;margin-bottom:12px}.conso-link svg{width:18px;height:18px}@keyframes swipe-demo{0%,12%{transform:translate(0)}34%,48%{transform:translate(-76px)}70%,80%{transform:translate(56px)}to{transform:translate(0)}}.swipe-wrapper .product-item.swipe-demo{transition:none;animation:swipe-demo 2.8s cubic-bezier(.4,0,.2,1) .9s 1 both}@media(prefers-reduced-motion:reduce){.swipe-wrapper .product-item.swipe-demo{animation:none}}.ingredient-item>svg{width:18px;height:18px;flex:0 0 18px;color:var(--muted)}.price-row{display:flex;gap:8px}.price-row .form-input{flex:1;min-width:0}.price-scan-btn{flex:0 0 48px;height:48px;border-radius:14px;border:1px solid var(--border);background:var(--surface);color:var(--brand);display:grid;place-items:center;cursor:pointer}.price-scan-btn svg{width:22px;height:22px}.ticket-match{font-size:12px;color:var(--success);font-weight:600;margin-bottom:4px}.member-avatar.has-img{background:#fff;border:1px solid rgba(0,0,0,.08);overflow:hidden;border-radius:28%}.member-avatar.has-img img{width:100%;height:100%;object-fit:cover;display:block}.avatar-edit{display:flex;flex-direction:column;align-items:center;gap:8px;margin:0 auto;border:none;background:transparent;padding:0;font:inherit;cursor:pointer}.avatar-edit-hint{font-size:13px;font-weight:600;color:var(--brand)}.avatar-sheet{max-height:82vh}.avatar-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;overflow-y:auto;padding:2px 2px 12px}.avatar-opt{aspect-ratio:1;border-radius:22%;border:2px solid transparent;background:#fff;padding:0;cursor:pointer;overflow:hidden;box-shadow:0 0 0 1px #00000014}.avatar-opt img{width:100%;height:100%;display:block;object-fit:cover}.avatar-opt.on{border-color:var(--brand)}.avatar-reset{flex:0 0 auto;height:46px;border-radius:14px;font-size:15px}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.two-fields .form-label{white-space:nowrap}.recipe-notes{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:12px 14px;font-size:14px;line-height:1.5;white-space:pre-wrap;color:var(--fg)}.scan-added-card{bottom:calc(138px + env(safe-area-inset-bottom));padding:0 14px}.scan-added-card.open{padding-top:8px}.scan-added-card .scan-added-list{max-height:24vh}.scan-added-bar{display:flex;align-items:center;gap:10px;width:100%;height:46px;background:none;border:none;padding:0;font:inherit;font-size:15px;font-weight:600;color:var(--fg);text-align:left;cursor:pointer}.scan-added-card.open .scan-added-bar{border-top:1px solid rgba(0,0,0,.07)}.scan-added-chev{color:var(--muted);font-size:14px;flex-shrink:0}.search-clear{flex:0 0 auto;width:26px;height:26px;border-radius:50%;border:none;background:var(--border);color:var(--muted);display:inline-flex;align-items:center;justify-content:center;padding:0;cursor:pointer}.search-clear svg,.search-input .search-clear svg{width:13px;height:13px;color:inherit}.search-clear.abs{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.open-hint{margin:0 8px 10px;font-size:13px;color:var(--muted);line-height:1.4}.open-chips{display:flex;flex-wrap:wrap;gap:8px;padding:0 8px 12px}.open-result{margin:0 8px 14px;font-size:14px;font-weight:700;color:var(--fg)}.opened-note{margin-top:10px;font-size:13px;font-weight:700;color:var(--brand-strong)}.open-btn{margin-top:10px}.qty-btn.open{background:var(--brand-strong)}.date-actions{display:flex;flex-wrap:wrap;align-items:stretch;gap:8px;margin-top:10px}.date-actions .ai-complete-btn{margin-top:0;flex:1 1 auto;justify-content:center;min-height:42px}.date-actions .opened-note{margin:0;align-self:center}.list-sentinel{height:1px}.swipe-wrapper.grp{margin-bottom:0;border-left:4px solid var(--brand)}.swipe-wrapper.grp-first{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-style:dashed}.swipe-wrapper.grp-middle{border-radius:0;border-top-width:0;border-bottom-style:dashed}.swipe-wrapper.grp-last{border-top-width:0;border-top-left-radius:0;border-top-right-radius:0;margin-bottom:8px}.group-chip{display:inline-flex;align-items:center;gap:4px;margin-top:4px;padding:2px 8px;border-radius:999px;border:1px solid var(--border);background:var(--surface);color:var(--brand);font-size:12px;font-weight:700;cursor:pointer}.group-chip svg{transition:transform .2s ease}.group-chip.open svg{transform:rotate(180deg)}.swipe-wrapper .swipe-actions{visibility:hidden;transition:visibility 0s linear .32s}.swipe-wrapper.is-active .swipe-actions,.swipe-wrapper.swiped-left .swipe-actions,.swipe-wrapper.swiped-right .swipe-actions{visibility:visible;transition:none}@media(max-width:759px){.view-toggle{display:none!important}}@media(min-width:760px){.app.wide{max-width:none;margin:0;min-width:0}.product-list.tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px;align-items:start}.product-list.tiles>.swipe-hint,.product-list.tiles>.list-sentinel,.product-list.tiles>.empty-state{grid-column:1 / -1}.product-list.tiles .swipe-wrapper{margin-bottom:0}.product-list.tiles .swipe-actions{display:none}.product-list.tiles .product-item{flex-direction:column;align-items:stretch;gap:12px;padding:16px;height:100%}.product-list.tiles .product-icon{width:76px;height:76px}.product-list.tiles .product-img{width:66px;height:66px}.product-list.tiles .product-right{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;gap:8px;margin-top:auto}.product-list.tiles .group-chip{margin-top:6px}}@media(min-width:760px){.shell .header .logo{display:none}.shell .header{justify-content:flex-end}}.servings-stepper{display:flex;align-items:center;justify-content:center;gap:10px;margin:4px 20px 6px;font-size:15px;color:var(--muted);flex-wrap:wrap}.servings-stepper strong{min-width:28px;text-align:center;font-size:20px;color:var(--text, inherit)}.servings-reset{border:0;background:none;color:var(--brand);font-size:13px;font-weight:600;cursor:pointer;padding:4px 6px}.servings-input{width:64px;text-align:center;font-size:20px;font-weight:700;border:1px solid var(--border, #ddd);border-radius:10px;padding:6px 4px;background:transparent;color:inherit}.stats-desktop{display:none}@media(min-width:760px){.stats-mobile{display:none!important}.app.wide .stats-desktop{display:flex;padding:0;margin:0;gap:12px}.app.wide .stats-desktop .stat-box{min-width:150px}.shell .header{justify-content:space-between}.app.wide .header-left:has(.stats-desktop){display:flex;align-items:center}.app.wide .search-row{max-width:none}}@media(min-width:760px){.product-list.tiles{grid-auto-rows:1fr;align-items:stretch}.product-list.tiles .swipe-wrapper{height:100%;display:flex;flex-direction:column}.product-list.tiles .swipe-wrapper>.product-item,.product-list.tiles .swipe-wrapper>.swipe-content{flex:1;height:100%;box-sizing:border-box}.product-list.tiles .product-info{flex:1}}@media(min-width:760px){.shell .app{max-width:none;margin:0;min-width:0}.app .screen-fade{padding-left:12px;padding-right:12px}}.ai-block{padding:0 0 14px}.recipe-icon{flex:none;display:flex;align-items:center;justify-content:center;border-radius:16px;background:var(--brand-soft, oklch(.95 .03 190));color:var(--brand);overflow:hidden}.recipe-icon img{display:block;object-fit:contain}.recipe-icon svg{width:46%;height:46%}.recipe-header{gap:12px;align-items:center}.recipe-header .recipe-info{flex:1;min-width:0}.recipe-icon-row{display:flex;align-items:center;gap:14px}.recipe-icon-btn{width:68px;height:68px;border-radius:18px;border:1px dashed var(--border, #ddd);background:var(--brand-soft, oklch(.95 .03 190));display:grid;place-items:center;color:var(--brand);cursor:pointer;flex:none}.recipe-icon-hint{display:flex;flex-direction:column;align-items:flex-start;font-size:13px;color:var(--muted)}.sticky-zone{position:sticky;top:0;z-index:60;background:var(--bg);padding-bottom:4px;box-shadow:0 6px 10px -8px #0000002e}.sticky-zone .header{position:static;padding-bottom:10px}.sticky-zone .week-nav,.sticky-zone .filter-tabs,.sticky-zone .search-row{margin-bottom:8px}.sticky-zone .btn-row{margin:0 0 8px!important}.sticky-zone,.sticky-zone .header{padding-bottom:14px}.sticky-zone .header-left p{margin-top:4px}.sticky-zone .week-nav,.sticky-zone .filter-tabs,.sticky-zone .search-row{margin-bottom:0}.sticky-zone+*{margin-top:18px}.sticky-zone+.generate-list-btn{margin-bottom:14px}.sticky-zone~.product-list{margin-top:18px}.screen-fade{min-width:0;max-width:100%}.sticky-zone .header-actions{flex-shrink:0}.list-header-outer{margin:0 20px 12px}.ai-gen{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px;display:flex;flex-direction:column;gap:14px}.ai-gen.busy{opacity:.75;pointer-events:none}.ai-gen-head{display:flex;align-items:center;gap:14px}.ai-gen-fields{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}.ai-field{display:flex;flex-direction:column;gap:4px;flex:1 1 140px;min-width:0}.ai-field>span{font-size:12px;font-weight:700;color:var(--muted)}.ai-gen .ai-select{width:100%;text-align:left;padding:11px 12px;font-size:14px;border-radius:12px}.ai-gen-btn{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 22px}.ai-gen-btn svg{width:18px;height:18px}@media(max-width:520px){.ai-gen-btn{flex:1 1 100%}}.access-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}.access-email{font-size:14px;font-weight:600;min-width:0;overflow-wrap:anywhere}.access-actions{display:flex;gap:8px}.access-text{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:5px}.access-badge{font-size:11.5px;font-weight:700;padding:3px 8px;border-radius:999px}.access-badge.ok{background:#e6f4ea;color:#2f7a46}.access-badge.wait{background:#fff3e0;color:#a85d00}.notif-actions{display:flex;justify-content:flex-end;padding:0 20px 10px}.notif-clear{border:1px solid var(--border);background:var(--surface);color:var(--danger);font:inherit;font-size:13px;font-weight:700;padding:8px 14px;border-radius:999px;cursor:pointer}.notif-item{align-items:center}.notif-dismiss{flex:0 0 auto;width:32px;height:32px;margin-left:auto;border:none;border-radius:10px;background:transparent;color:var(--muted);display:grid;place-items:center;cursor:pointer}.notif-dismiss:hover{background:var(--accent-soft);color:var(--fg)}.tab-host[hidden]{display:none!important}.access-share-link{display:block;margin:10px auto 0;border:none;background:none;color:var(--brand);font:inherit;font-size:13px;font-weight:600;text-decoration:underline;cursor:pointer}.scan-consume-sheet{gap:14px;padding-top:10px}.scs-head{padding:4px 4px 0}.scs-name{font-size:18px;font-weight:800}.scs-stock{font-size:13px;color:var(--muted);margin-top:2px}.scs-tabs{display:flex;gap:6px}.scs-tabs button{flex:1;border:1px solid var(--border);background:none;color:var(--fg-2);border-radius:12px;padding:10px 6px;font:inherit;font-size:14px;font-weight:700;cursor:pointer}.scs-tabs button.on{background:var(--accent-soft);color:var(--fg);border-color:var(--brand)}.scs-stepper{display:flex;align-items:center;justify-content:center;gap:14px}.scs-stepper>button:not(.scs-all){width:48px;height:48px;border-radius:14px;border:1px solid var(--border);background:var(--surface);color:var(--fg);font-size:24px;font-weight:700;cursor:pointer}.scs-stepper>button:disabled{opacity:.35}.scs-stepper>span{min-width:44px;text-align:center;font-size:28px;font-weight:800}.scs-all{border:none;background:none;color:var(--brand);font:inherit;font-weight:700;cursor:pointer}.scs-go{width:100%;min-height:50px}.scs-fracs{display:grid;grid-template-columns:1fr;gap:8px}.scs-fracs .btn-secondary{min-height:48px;font-size:15px}.scs-cancel{border:none;background:none;color:var(--muted);font:inherit;font-weight:600;padding:8px;cursor:pointer}.household-code{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px;padding:10px 12px;border:1px dashed var(--border);border-radius:12px;font-size:13px;color:var(--muted)}.household-code strong{color:var(--fg);letter-spacing:2px;font-size:15px}.household-code button{border:none;background:none;color:var(--brand);font:inherit;font-weight:700;cursor:pointer}.toast.has-action{pointer-events:auto;display:flex;align-items:center;gap:14px}.toast-action{border:none;background:none;color:var(--brand-light, #7fd3dc);font:inherit;font-weight:800;padding:0;cursor:pointer}.lss-sheet{max-height:86vh;display:flex;flex-direction:column;gap:10px}.lss-title{font-size:18px;font-weight:800;padding:0 4px}.lss-list{overflow-y:auto;flex:1 1 auto;margin:0 -4px;padding:0 4px}.lss-group{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin:12px 0 4px}.lss-group-row{display:flex;justify-content:space-between;align-items:center}.lss-group-row button{border:none;background:none;color:var(--brand);font:inherit;font-size:12px;font-weight:700;text-transform:none;letter-spacing:0;cursor:pointer}.lss-row{display:flex;align-items:center;gap:12px;padding:10px 2px;border-bottom:1px solid var(--border);cursor:pointer}.lss-row input{width:20px;height:20px;accent-color:var(--brand);flex:0 0 auto}.lss-text{display:flex;flex-direction:column;min-width:0}.lss-name{font-size:15px;font-weight:600}.lss-reason{font-size:12.5px;color:var(--muted)}.lss-go{width:100%;min-height:50px}.update-banner{position:fixed;left:50%;top:calc(env(safe-area-inset-top,0px) + 10px);transform:translate(-50%);z-index:400;border:none;background:var(--brand);color:#fff;font:inherit;font-size:14px;padding:11px 18px;border-radius:999px;box-shadow:0 6px 20px #0000002e;cursor:pointer;white-space:nowrap}.swipe-wrapper.mouse .swipe-actions{display:none}.swipe-wrapper.mouse .product-item{position:relative}.pi-actions{display:flex;gap:6px}.pi-act{border:1px solid var(--border);background:var(--surface);color:var(--fg-2);font:inherit;font-size:12.5px;font-weight:700;padding:6px 10px;border-radius:999px;cursor:pointer;white-space:nowrap}.pi-act:hover{border-color:var(--brand);color:var(--fg)}.pi-act.consume{background:var(--accent-soft);border-color:transparent;color:var(--fg)}.pi-act.waste:hover{border-color:var(--danger);color:var(--danger)}.product-list:not(.tiles) .pi-actions{position:absolute;right:14px;top:50%;transform:translateY(-50%);padding:6px;border-radius:999px;background:var(--surface);box-shadow:0 2px 12px #00000014;opacity:0;pointer-events:none;transition:opacity .12s}.product-list:not(.tiles) .product-item:hover .pi-actions,.product-list:not(.tiles) .pi-actions:focus-within{opacity:1;pointer-events:auto}.product-list.tiles .pi-actions{width:100%;padding-top:10px;border-top:1px solid var(--border)}.product-list.tiles .pi-act{flex:1;text-align:center}.cs-range{display:flex;flex-direction:column;gap:8px}.cs-range-value{text-align:center;font-size:28px;font-weight:800}.cs-range input[type=range]{width:100%;accent-color:var(--brand);cursor:pointer}.cs-range-ends{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:var(--muted)}.cs-range-ends button{border:none;background:none;color:var(--brand);font:inherit;font-weight:700;cursor:pointer}.product-list.selecting .pi-actions{display:none}.product-list.tiles .swipe-wrapper.grp{border-left:0;border-radius:var(--radius);margin-bottom:0}.product-list.tiles .swipe-wrapper.grp .product-item{box-shadow:inset 0 0 0 2px var(--brand)}.product-list.tiles .pi-actions{gap:4px}.product-list.tiles .pi-act{flex:1 1 0;min-width:0;padding:6px 4px;font-size:12px;overflow:hidden;text-overflow:ellipsis}@media(min-width:760px){.product-list.tiles{grid-template-columns:repeat(auto-fill,minmax(255px,1fr))}}.product-list.tiles .pi-act{flex:1 1 auto;text-overflow:clip;padding:6px}html.kiosk .product-list.tiles .pi-act{padding:10px 6px;font-size:14px}html.kiosk .product-list.tiles .product-name{font-size:16px}@media(min-width:600px){html.kiosk .shell{display:flex;align-items:stretch;min-height:100vh}html.kiosk .sidebar{display:flex;flex-direction:column;gap:6px;width:96px;flex-shrink:0;position:sticky;top:0;align-self:flex-start;height:100vh;background:var(--surface);border-right:1px solid var(--border);padding:16px 8px}html.kiosk .sidebar-logo{padding:0 0 12px}html.kiosk .sidebar-logo img{height:auto;width:100%}html.kiosk .sidebar-nav{display:flex;flex-direction:column;gap:6px}html.kiosk .sidebar-item,html.kiosk .sidebar-add{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:12px 4px;border:none;border-radius:14px;font-family:inherit;font-size:12px;font-weight:700;text-align:center;cursor:pointer}html.kiosk .sidebar-item{background:transparent;color:var(--fg-2)}html.kiosk .sidebar-item.active{background:var(--accent-soft);color:var(--brand)}html.kiosk .sidebar-item svg,html.kiosk .sidebar-add svg{width:26px;height:26px}html.kiosk .sidebar-add{margin-top:auto;background:var(--brand-grad);color:#fff}html.kiosk .sidebar-add span{font-size:11px;line-height:1.15}html.kiosk .shell .header .logo{display:none}html.kiosk .product-list.tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(196px,1fr));gap:12px;align-items:start}html.kiosk .product-list.tiles>.swipe-hint,html.kiosk .product-list.tiles>.list-sentinel,html.kiosk .product-list.tiles>.empty-state{grid-column:1 / -1}html.kiosk .product-list.tiles .swipe-wrapper{margin-bottom:0}html.kiosk .product-list.tiles .swipe-actions{display:none}html.kiosk .product-list.tiles .product-item{flex-direction:column;align-items:stretch;gap:8px;padding:12px;height:100%}html.kiosk .product-list.tiles .product-icon{width:60px;height:60px}html.kiosk .product-list.tiles .product-img{width:52px;height:52px}html.kiosk .product-list.tiles .product-name{font-size:15px}html.kiosk .product-list.tiles .product-right{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;gap:6px;margin-top:auto}html.kiosk .product-list.tiles .pi-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}html.kiosk .product-list.tiles .pi-act{padding:11px 4px;font-size:14px;min-height:44px}html.kiosk .product-list.tiles .pi-act.consume,html.kiosk .product-list.tiles .pi-actions.two .pi-act.waste{grid-column:1 / -1}}@media(min-width:600px){html.kiosk .select-bar{left:112px}}html.modal-open,html.modal-open body{overflow:hidden;overscroll-behavior:none}.cselect-overlay,.confirm-overlay,.drawer-overlay,.fab-backdrop,.cselect-sheet,.confirm-box,.drawer{overscroll-behavior:contain}.plan-actions{display:flex;flex-wrap:wrap;gap:10px;margin:0 20px 16px}.plan-actions .generate-list-btn{margin:0;flex:1 1 260px}.plan-shop-btn{flex:1 1 260px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--border);background:var(--surface);color:var(--fg);font:inherit;font-size:14px;font-weight:700;border-radius:14px;padding:12px 16px;cursor:pointer}.plan-shop-btn svg{width:18px;height:18px}.plan-shop-btn:hover{border-color:var(--brand)}.week-board{display:flex;flex-direction:column;gap:12px;margin:0 20px 24px}.plan-day{background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:12px;display:flex;flex-direction:column;gap:10px}.plan-day.today{border-color:var(--brand);box-shadow:0 0 0 2px color-mix(in oklab,var(--brand) 25%,transparent)}.plan-day.past{opacity:.6}.plan-day-head{display:flex;align-items:baseline;gap:6px;padding:2px 4px}.plan-dow{font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}.plan-num{font-size:22px;font-weight:800;line-height:1}.plan-month{font-size:13px;color:var(--muted)}.plan-today{margin-left:auto;font-size:11px;font-weight:800;color:#fff;background:var(--brand);padding:3px 8px;border-radius:999px}.plan-day.today .plan-dow{color:var(--brand)}.plan-slots{display:grid;grid-template-columns:1fr 1fr;gap:8px}.plan-meal{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:120px;padding:22px 8px 10px;border-radius:14px;border:1.5px dashed var(--border);background:transparent;color:var(--muted);font:inherit;cursor:pointer;text-align:center;transition:border-color .15s,background .15s}.plan-meal:hover{border-color:var(--brand);color:var(--brand)}.plan-meal.filled{border:1px solid transparent;background:var(--accent-soft);color:var(--fg)}.plan-meal.filled:hover{border-color:var(--brand)}.plan-slot-label{position:absolute;top:7px;left:10px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}.plan-meal-icon{width:52px;height:52px;display:grid;place-items:center}.plan-meal-icon img{width:52px;height:52px;object-fit:contain}.plan-meal-icon svg{width:28px;height:28px;color:var(--muted)}.plan-meal-name{font-size:13.5px;font-weight:700;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.plan-missing{font-size:11px;font-weight:700;color:#a85d00;background:#fff3e0;padding:2px 7px;border-radius:999px}.plan-empty{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700}.plan-empty svg{width:16px;height:16px}@media(min-width:900px){.week-board{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;align-items:stretch}.plan-day{padding:10px}.plan-day-head{flex-direction:column;align-items:center;gap:2px;padding:4px 0 6px}.plan-today{margin:4px 0 0}.plan-slots{grid-template-columns:1fr;flex:1}.plan-meal{min-height:150px}}.product-list.tiles .swipe-wrapper.grp .product-item{box-shadow:none}.product-list.tiles .swipe-wrapper.grp{box-shadow:0 0 0 2px var(--brand);border-radius:var(--radius)}.product-list.tiles .swipe-wrapper.grp{border-color:var(--brand)}.cs-range-row{display:flex;align-items:center;gap:12px}.cs-step{flex:0 0 auto;width:48px;height:48px;border-radius:14px;border:1px solid var(--border);background:var(--surface);color:var(--fg);font-size:24px;font-weight:700;cursor:pointer}.cs-step:disabled{opacity:.35}.cs-range input[type=range]{-webkit-appearance:none;-moz-appearance:none;appearance:none;flex:1;height:48px;background:transparent;margin:0;touch-action:pan-y}.cs-range input[type=range]::-webkit-slider-runnable-track{height:12px;border-radius:999px;background:var(--accent-soft)}.cs-range input[type=range]::-moz-range-track{height:12px;border-radius:999px;background:var(--accent-soft)}.cs-range input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:38px;height:38px;margin-top:-13px;border-radius:50%;background:var(--brand);border:4px solid #fff;box-shadow:0 2px 8px #00000040;cursor:grab}.cs-range input[type=range]::-moz-range-thumb{width:30px;height:30px;border-radius:50%;background:var(--brand);border:4px solid #fff;box-shadow:0 2px 8px #00000040;cursor:grab}.cs-range-value{font-size:34px}.week-board{display:flex;flex-direction:row;gap:14px;margin:0 0 24px;padding:6px 20px 14px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:0 20px;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scrollbar-width:thin}.week-board .plan-day{flex:0 0 clamp(250px,78vw,320px);scroll-snap-align:center;padding:14px}.week-board .plan-day-head{flex-direction:row;align-items:baseline;gap:8px;padding:2px 4px 4px}.week-board .plan-today{margin:0 0 0 auto}.week-board .plan-slots{grid-template-columns:1fr}.week-board .plan-meal{min-height:150px}.week-board .plan-meal-icon,.week-board .plan-meal-icon img{width:64px;height:64px}.week-board .plan-meal-name{font-size:15px}.week-carousel{position:relative}.carousel-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:44px;height:44px;border-radius:50%;border:1px solid var(--border);background:var(--surface);color:var(--fg);display:grid;place-items:center;box-shadow:0 4px 14px #0000001f;cursor:pointer}.carousel-arrow svg{width:20px;height:20px}.carousel-arrow.prev{left:6px}.carousel-arrow.next{right:6px}.carousel-arrow:hover{border-color:var(--brand);color:var(--brand)}@media(hover:none){.carousel-arrow{display:none}}.week-board{scrollbar-width:none}.week-board::-webkit-scrollbar{display:none}.plan-actions{margin-top:18px}.week-board{align-items:stretch}.week-board .plan-day{min-height:max(340px,calc(100dvh - 330px))}.week-board .plan-slots{flex:1;grid-auto-rows:1fr}.week-board .plan-meal{min-height:0;height:100%}.week-board{-webkit-mask-image:linear-gradient(to right,transparent 0,#000 56px,#000 calc(100% - 56px),transparent 100%);mask-image:linear-gradient(to right,transparent 0,#000 56px,#000 calc(100% - 56px),transparent 100%)}.price-compare{margin-top:10px;border:1px solid var(--border);border-radius:14px;padding:10px 12px;background:var(--surface)}.pc-title{font-size:13px;color:var(--muted);margin-bottom:6px}.pc-title strong{color:var(--fg)}.pc-row{display:flex;align-items:baseline;gap:8px;padding:5px 0;font-size:14px;border-top:1px solid var(--border)}.pc-row:first-of-type{border-top:0}.pc-store{font-weight:700}.pc-date{font-size:12px;color:var(--muted)}.pc-price{margin-left:auto;font-weight:700}.pc-price small{font-weight:500;color:var(--muted)}.pc-row.best .pc-price{color:#2f7a46}.shopping-price{display:block;font-size:12px;font-weight:600;color:#a85d00;margin-top:2px}.shopping-price.best{color:#2f7a46}.cheapest-summary{display:flex;gap:10px;align-items:flex-start;margin:0 20px 14px;padding:12px 14px;border-radius:14px;background:#e6f4ea;color:#1e5a33;font-size:13.5px;line-height:1.45}.cheapest-summary svg{flex:0 0 auto;width:18px;height:18px;margin-top:1px}.search-row .sort-select{flex:0 0 auto;max-width:46%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 14px;border-radius:14px;font-size:14px}.sort-default-link{display:block;margin:-8px 20px 10px auto;border:none;background:none;color:var(--brand);font:inherit;font-size:12.5px;font-weight:700;cursor:pointer;text-align:right}.settings-select{flex:0 0 auto;max-width:52%}.search-row .sort-select,.settings-select{border:1px solid var(--border);background:var(--surface);color:var(--fg);font-weight:600;min-height:46px;padding:0 14px;border-radius:14px}.search-row .sort-select{display:inline-flex;align-items:center;gap:7px}.search-row .sort-select svg{width:18px;height:18px;flex:none;color:var(--muted);stroke:currentColor}.search-row .sort-select .sort-label{overflow:hidden;text-overflow:ellipsis}@media(max-width:640px){.search-row .sort-select{width:46px;padding:0;justify-content:center}.search-row .sort-select .sort-label{display:none}.search-row .sort-select svg{width:20px;height:20px;color:var(--fg)}}html.kiosk .store-bar,html.kiosk .store-msg,html.kiosk .store-picker{display:none!important}.product-list.tiles .product-icon,html.kiosk .product-list.tiles .product-icon{width:100%;height:auto;aspect-ratio:16 / 10;border-radius:14px;display:grid;place-items:center;overflow:hidden}.product-list.tiles .product-icon .product-img,html.kiosk .product-list.tiles .product-icon .product-img{width:auto;height:78%;max-width:70%;object-fit:contain}.product-list.tiles .product-icon>svg,html.kiosk .product-list.tiles .product-icon>svg{width:38%;height:38%}.product-list.tiles .product-icon .product-photo{width:100%;height:100%;object-fit:cover}.product-list.tiles{grid-auto-rows:auto!important}.product-list.tiles .product-item{gap:8px}.product-list.tiles .product-right{margin-top:2px!important}.product-list.tiles .pi-actions{margin-top:auto}.notif-shop{margin-top:6px;border:1px solid var(--border);background:var(--surface);color:var(--brand);font:inherit;font-size:12.5px;font-weight:700;padding:5px 10px;border-radius:999px;cursor:pointer}.dup-intro{margin:0 20px 14px;font-size:14px;line-height:1.5;color:var(--muted)}.dup-list{display:flex;flex-direction:column;gap:12px;margin:0 20px 24px}.dup-card{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:12px 14px}.dup-badge{display:inline-block;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin-bottom:6px}.dup-row{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid var(--border);cursor:pointer}.dup-row input{width:18px;height:18px;accent-color:var(--brand)}.dup-name{font-weight:600;flex:1;min-width:0}.dup-count{font-size:12.5px;color:var(--muted)}.dup-actions{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}.dup-actions>*{flex:1 1 180px}.swipe-wrapper.is-expired{border-color:color-mix(in srgb,var(--danger) 45%,var(--border))}.swipe-wrapper.grp.is-expired{border-left-color:color-mix(in srgb,var(--danger) 45%,var(--border))}.product-list.tiles .swipe-wrapper.grp.is-expired{box-shadow:0 0 0 2px color-mix(in srgb,var(--danger) 45%,var(--border))}.swipe-wrapper.is-expired .product-item{background:color-mix(in srgb,var(--danger) 7%,var(--surface))}.arr-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:400;display:grid;place-items:center;background:#0f192352;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);animation:arr-fade .3s ease both;cursor:pointer}.arr-overlay.leaving{animation:arr-fade-out .38s ease-in both}.arr-overlay.leaving .arr-card{animation:arr-card-out .38s ease-in both}@keyframes arr-fade{0%{opacity:0}}@keyframes arr-fade-out{to{opacity:0}}.arr-card{width:min(320px,calc(100vw - 40px));background:var(--surface);border-radius:28px;padding:26px 22px 18px;text-align:center;box-shadow:0 30px 70px #0f192347;animation:arr-card-in .6s cubic-bezier(.2,1.5,.4,1) both}@keyframes arr-card-in{0%{opacity:0;transform:scale(.6) rotate(-4deg)}}@keyframes arr-card-out{to{opacity:0;transform:scale(.85) translateY(20px)}}.arr-stage{position:relative;width:132px;height:132px;margin:0 auto 10px;display:grid;place-items:center}.arr-hero{position:relative;animation:arr-drop .75s cubic-bezier(.2,1.6,.4,1) both,arr-wiggle 1.2s .75s ease-in-out infinite}@keyframes arr-drop{0%{opacity:0;transform:translateY(-70px) scale(.4) rotate(-25deg)}60%{opacity:1;transform:translateY(6px) scale(1.12,.9) rotate(6deg)}to{transform:none}}@keyframes arr-wiggle{0%,to{transform:rotate(0)}25%{transform:rotate(-5deg) scale(1.03)}75%{transform:rotate(5deg) scale(1.03)}}.arr-visual{display:grid;place-items:center;overflow:hidden}.arr-visual img{width:100%;height:100%;object-fit:contain}.arr-hero .arr-visual{width:112px;height:112px;border-radius:30px;box-shadow:0 10px 24px #0f192324}.arr-hero .arr-visual svg{width:60px;height:60px}.arr-hero .arr-visual img{padding:8px}.arr-badge{position:absolute;right:-10px;top:-8px;background:var(--brand);color:#fff;font-weight:700;font-size:14px;padding:3px 9px;border-radius:999px;animation:arr-pop .4s .5s cubic-bezier(.2,1.8,.4,1) both}@keyframes arr-pop{0%{transform:scale(0)}}.arr-burst{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.arr-burst i{position:absolute;left:50%;top:50%;width:9px;height:9px;margin:-4.5px;border-radius:3px;background:var(--brand);animation:arr-confetti .9s .35s cubic-bezier(.1,.8,.3,1) both}.arr-burst i:nth-child(3n+2){background:#f5b83d;border-radius:50%}.arr-burst i:nth-child(3n){background:#f07167;width:6px;height:12px}@keyframes arr-confetti{0%{opacity:0;transform:rotate(var(--a)) translateY(0) scale(.4)}20%{opacity:1}to{opacity:0;transform:rotate(var(--a)) translateY(-92px) rotate(160deg) scale(1)}}.arr-who{font-size:13px;color:var(--fg-2);font-weight:500}.arr-name{font-size:20px;font-weight:700;margin:2px 0 12px;line-height:1.2;animation:arr-name .4s .2s ease both}@keyframes arr-name{0%{opacity:0;transform:translateY(6px)}}.arr-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-bottom:10px}.arr-chip{transition:transform .3s,opacity .3s}.arr-chip .arr-visual{width:32px;height:32px;border-radius:10px}.arr-chip .arr-visual svg{width:18px;height:18px}.arr-chip .arr-visual img{padding:3px}.arr-chip.wait{opacity:.3;transform:scale(.85)}.arr-chip.on{transform:scale(1.15)}.arr-chip.on .arr-visual{box-shadow:0 0 0 2px var(--brand)}.arr-total{font-size:12px;color:var(--fg-2)}html.kiosk .arr-card{width:min(400px,calc(100vw - 60px))}html.kiosk .arr-name{font-size:24px}@media(prefers-reduced-motion:reduce){.arr-overlay,.arr-card,.arr-hero,.arr-burst i,.arr-name,.arr-badge{animation:none!important}}.egg-feast{position:fixed;top:0;right:0;bottom:0;left:0;z-index:420;overflow:hidden;cursor:pointer;display:grid;place-items:center;background:#0f19234d;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);animation:egg-feast-bg 4.2s ease both}@keyframes egg-feast-bg{0%{opacity:0}8%,88%{opacity:1}to{opacity:0}}.egg-feast>*{grid-area:1 / 1}.egg-feast-glow{width:46vmin;height:46vmin;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.95) 0%,rgba(255,255,255,.55) 45%,transparent 70%);animation:egg-glow 4.2s ease both}@keyframes egg-glow{0%{transform:scale(0)}15%{transform:scale(1.05)}20%,85%{transform:scale(1)}to{transform:scale(.6);opacity:0}}.egg-feast-logo{width:min(42vmin,220px);height:auto;position:relative;z-index:2;filter:drop-shadow(0 10px 20px rgba(0,0,0,.18));transform-origin:50% 65%;animation:egg-logo-in .55s cubic-bezier(.2,1.6,.4,1) both,egg-logo-chomp .26s .75s ease-in-out 9,egg-logo-out .5s 3.5s ease-in both}@keyframes egg-logo-in{0%{transform:scale(0) rotate(-20deg)}}@keyframes egg-logo-chomp{50%{transform:scale(1.1,.86)}}@keyframes egg-logo-out{40%{transform:scale(1.15)}to{transform:scale(0);opacity:0}}.egg-feast-food{width:11vmin;height:11vmin;max-width:64px;max-height:64px;object-fit:contain;z-index:1;filter:drop-shadow(0 4px 8px rgba(0,0,0,.2));animation:egg-food-in .75s cubic-bezier(.55,0,.75,.4) both}@keyframes egg-food-in{0%{opacity:0;transform:translate(var(--x),var(--y)) scale(.3) rotate(0)}25%{opacity:1;transform:translate(calc(var(--x) * .95),calc(var(--y) * .95)) scale(1.1) rotate(calc(var(--rot) * .2))}90%{opacity:1;transform:translate(0) scale(.45) rotate(var(--rot))}to{opacity:0;transform:translate(0) scale(.2) rotate(var(--rot))}}.egg-feast-text{align-self:end;margin-bottom:18vh;z-index:2;font-size:clamp(30px,8vmin,54px);font-weight:800;color:#fff;letter-spacing:-.5px;text-shadow:0 3px 14px rgba(0,0,0,.3);animation:egg-text 4.2s cubic-bezier(.2,1.5,.4,1) both}@keyframes egg-text{0%,60%{opacity:0;transform:translateY(20px) scale(.8)}70%,86%{opacity:1;transform:none}to{opacity:0}}.egg-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:410;display:grid;place-items:center;background:#0f192359;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);animation:arr-fade .3s ease both}.egg-card{width:min(330px,calc(100vw - 40px));background:var(--surface);border-radius:28px;padding:24px 22px 20px;text-align:center;box-shadow:0 30px 70px #0f192347;animation:arr-card-in .6s cubic-bezier(.2,1.5,.4,1) both}.egg-chomp{height:110px;width:auto;margin:4px auto 8px;display:block;transform-origin:50% 70%;animation:egg-chomp .32s ease-in-out 7}.egg-chomp.done{animation:egg-happy .6s cubic-bezier(.2,1.6,.4,1) both;height:80px}@keyframes egg-chomp{0%,to{transform:scale(1)}50%{transform:scale(1.12,.82) rotate(-3deg)}}@keyframes egg-happy{0%{transform:scale(.8)}60%{transform:scale(1.12) rotate(4deg)}to{transform:none}}.egg-chew-text{font-size:26px;font-weight:800;color:var(--brand)}.egg-chew-text span{animation:egg-dot .9s infinite}.egg-chew-text span:nth-child(2){animation-delay:.15s}.egg-chew-text span:nth-child(3){animation-delay:.3s}@keyframes egg-dot{0%,to{opacity:.2}50%{opacity:1}}.egg-idea{animation:arr-name .4s ease both}.egg-title{font-size:20px;font-weight:700;margin:4px 0 6px;line-height:1.25}.egg-sub{font-size:14px;color:var(--fg-2)}.egg-actions{display:flex;gap:8px;margin-top:16px}.egg-actions button{flex:1}.egg-hello{position:relative;padding-top:30px}.egg-avatar{width:72px;height:72px;margin:0 auto 14px;border-radius:50%;display:grid;place-items:center;font-size:32px;font-weight:800;color:#fff;background:linear-gradient(135deg,var(--brand),#f5b83d);animation:egg-happy .7s .15s cubic-bezier(.2,1.6,.4,1) both}.egg-wave{position:absolute;top:18px;right:calc(50% - 58px);font-size:30px;transform-origin:70% 80%;animation:egg-wave 1.4s .4s ease-in-out 2}@keyframes egg-wave{0%,60%,to{transform:rotate(0)}10%,30%{transform:rotate(18deg)}20%,40%{transform:rotate(-10deg)}}.egg-msg{font-size:17px;font-weight:600;line-height:1.4}@media(prefers-reduced-motion:reduce){.egg-feast-food{display:none}.egg-chomp,.egg-avatar,.egg-wave,.egg-feast-logo,.egg-feast-glow,.egg-feast-text{animation:none!important}}.shop-quick{padding:0 20px 4px;position:relative}.shop-quick .search-input input{flex:1;min-width:0;border:none;background:none;font:inherit;font-size:15px;color:var(--fg);outline:none}.shop-quick-go{flex:none;width:34px;height:34px;border-radius:10px;border:none;background:var(--brand);color:#fff;display:grid;place-items:center;cursor:pointer}.shop-quick-go svg{width:18px;height:18px;stroke:#fff}.shop-quick-sugg{display:flex;gap:6px;overflow-x:auto;padding-top:8px;scrollbar-width:none}.shop-quick-sugg::-webkit-scrollbar{display:none}.shop-quick-sugg button{flex:none;border:1px solid var(--border);background:var(--surface);color:var(--fg);border-radius:999px;padding:7px 12px;font:inherit;font-size:13.5px;font-weight:600;cursor:pointer}.store-bar{flex-wrap:nowrap!important;overflow-x:auto;scrollbar-width:none}.store-bar::-webkit-scrollbar{display:none}.store-chip{flex:none;padding:7px 12px!important;font-size:13.5px;max-width:60vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.store-chip svg{width:16px!important;height:16px!important;flex:none}@media(max-width:640px){.shopping-item{padding:10px 12px;gap:10px;margin-bottom:6px}.shopping-category-title{margin-bottom:6px}.shop-step button{width:30px;height:30px}.shop-step-val{min-width:40px}}.plan-short{display:none}@media(max-width:640px){html:not(.kiosk) .plan-actions{flex-wrap:nowrap;gap:8px;margin-top:14px}html:not(.kiosk) .plan-actions .generate-list-btn,html:not(.kiosk) .plan-actions .plan-shop-btn{flex:1 1 0;min-width:0;padding:10px 8px;font-size:13px;gap:6px;border-radius:12px}html:not(.kiosk) .plan-actions .generate-list-btn{border-width:1.5px}html:not(.kiosk) .plan-actions svg{width:16px;height:16px;flex:none}html:not(.kiosk) .plan-long{display:none}html:not(.kiosk) .plan-short{display:inline;white-space:nowrap}html:not(.kiosk) .carousel-arrow{display:none}html:not(.kiosk) .week-board{flex-direction:column;overflow:visible;padding:0 16px 16px;gap:8px;-webkit-mask-image:none;mask-image:none;scroll-snap-type:none}html:not(.kiosk) .week-board .plan-day{flex:none;min-height:0;padding:8px;border-radius:16px;flex-direction:row;align-items:stretch;gap:8px}html:not(.kiosk) .week-board .plan-day-head{flex:0 0 46px;flex-direction:column;align-items:center;justify-content:center;gap:0;padding:0}html:not(.kiosk) .week-board .plan-dow{font-size:11px}html:not(.kiosk) .week-board .plan-num{font-size:22px}html:not(.kiosk) .week-board .plan-month{display:none}html:not(.kiosk) .week-board .plan-today{display:none}html:not(.kiosk) .week-board .plan-day.today{background:color-mix(in srgb,var(--brand) 6%,var(--surface))}html:not(.kiosk) .week-board .plan-slots{flex:1;min-width:0;grid-template-columns:1fr 1fr;grid-auto-rows:auto;gap:6px}html:not(.kiosk) .week-board .plan-meal{height:auto;min-height:58px;padding:18px 6px 6px;flex-direction:row;gap:6px;justify-content:flex-start;text-align:left}html:not(.kiosk) .week-board .plan-slot-label{top:4px;left:8px;font-size:9.5px}html:not(.kiosk) .week-board .plan-meal-icon,html:not(.kiosk) .week-board .plan-meal-icon img{width:30px;height:30px;flex:none}html:not(.kiosk) .week-board .plan-meal-icon svg{width:18px;height:18px}html:not(.kiosk) .week-board .plan-meal-name{font-size:12.5px}html:not(.kiosk) .week-board .plan-missing{position:absolute;top:3px;right:5px;font-size:9.5px;padding:1px 5px}html:not(.kiosk) .week-board .plan-empty{font-size:12px;margin:auto}html:not(.kiosk) .week-board .plan-empty svg{width:14px;height:14px}}.add-bar.round{left:auto;right:max(18px,calc(50% - 192px));transform:none;width:auto;max-width:none;padding:0}.add-bar.round .add-btn{width:58px;height:58px;border-radius:50%;padding:0}.add-bar.round .add-btn svg{width:26px;height:26px}.add-bar.round .add-btn-label{display:none}.recipe-search{padding:0 20px 10px}.recipe-search .search-input input{flex:1;min-width:0}.ai-gen-toggle{width:100%;display:flex;align-items:center;gap:12px;text-align:left;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:10px 14px 10px 10px;font:inherit;color:var(--fg);cursor:pointer}.ai-gen-toggle:hover{border-color:var(--brand)}.ai-gen-toggle .ai-icon{width:40px;height:40px;flex:none}.ai-gen-toggle .ai-text{flex:1;min-width:0;display:flex;flex-direction:column}.ai-gen-toggle .ai-title{font-weight:700;font-size:14.5px}.ai-gen-toggle .ai-desc{font-size:12.5px;color:var(--muted)}.ai-gen-toggle>svg:last-child{width:18px;height:18px;color:var(--muted);flex:none}.ai-gen-head{position:relative}.ai-gen-close{margin-left:auto;width:34px;height:34px;border-radius:10px;border:1px solid var(--border);background:var(--surface);color:var(--muted);display:grid;place-items:center;cursor:pointer;flex:none}.ai-gen-close svg{width:16px;height:16px}@media(max-width:640px){.recipe-card{padding:12px;margin-bottom:8px}.recipe-card .recipe-header{margin-bottom:6px}.recipe-card .recipe-icon{width:52px!important;height:52px!important;border-radius:14px}.recipe-card .recipe-icon img{width:44px!important;height:44px!important}.recipe-card .recipe-tags{margin-bottom:0;padding-left:64px}.recipe-card .recipe-adaptations{padding-left:64px;margin-top:6px}.recipe-card .recipe-tag{font-size:11.5px;padding:3px 8px}}.more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.more-grid .menu-item{position:relative;margin:0;flex-direction:column;align-items:flex-start;gap:10px;padding:14px;min-height:118px}.more-grid .menu-item .chevron{display:none}.more-grid .menu-icon{width:42px;height:42px}.more-grid .menu-info{min-width:0;width:100%}.more-grid .menu-title{font-size:15px}.more-grid .menu-desc{font-size:12.5px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.more-grid .menu-badge{position:absolute;top:12px;right:12px}@media(min-width:900px){.more-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.store-bar{margin-top:16px!important}.recipe-search.search-row{display:flex;gap:8px;align-items:stretch}.recipe-search .search-input{flex:1;min-width:0}.search-row .sort-select.active{border-color:var(--brand);color:var(--brand)}.search-row .sort-select.active svg{color:var(--brand)}.shopping-groups{padding-top:4px}html.kiosk .shopping-groups{padding-top:20px}.shop-quick-label{font-size:11.5px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);padding:10px 2px 0}.shop-quick-sugg.wrap{flex-wrap:wrap;overflow:visible}.shop-quick-sugg button{display:inline-flex;align-items:center;gap:5px}.shop-quick-sugg button svg{width:13px;height:13px;color:var(--brand);stroke:var(--brand)}.voice-btn{flex:none;width:46px;min-height:46px;border-radius:14px;border:1px solid var(--border);background:var(--surface);color:var(--brand);display:grid;place-items:center;cursor:pointer}.voice-btn svg{width:20px;height:20px;stroke:currentColor}.voice-btn:hover{border-color:var(--brand)}.shop-quick-mic{flex:none;width:34px;height:34px;border-radius:10px;border:none;background:var(--accent-soft);color:var(--brand);display:grid;place-items:center;cursor:pointer}.shop-quick-mic svg{width:18px;height:18px;stroke:currentColor}.voice-sheet{padding-bottom:calc(18px + env(safe-area-inset-bottom));text-align:center}.voice-orb{width:84px;height:84px;margin:10px auto;border-radius:50%;border:none;cursor:pointer;display:grid;place-items:center;color:#fff;background:var(--brand-grad, var(--brand));box-shadow:0 10px 24px #009b9b59;box-shadow:0 10px 24px oklch(.62 .13 195 / .35);position:relative}.voice-orb svg{width:36px;height:36px;stroke:#fff}.voice-orb.on:before,.voice-orb.on:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;border:3px solid var(--brand);animation:voice-ring 1.4s ease-out infinite}.voice-orb.on:after{animation-delay:.7s}@keyframes voice-ring{0%{transform:scale(1);opacity:.7}to{transform:scale(1.7);opacity:0}}.voice-orb.think{animation:voice-think 1s ease-in-out infinite}@keyframes voice-think{50%{transform:scale(.92);opacity:.75}}.voice-hint{font-size:14px;color:var(--fg-2);margin-bottom:12px}.voice-text{width:100%;box-sizing:border-box;resize:none;border:1px solid var(--border);border-radius:14px;padding:12px 14px;font:inherit;font-size:16px;color:var(--fg);background:var(--surface);text-align:left}.voice-text:focus{outline:none;border-color:var(--brand)}.voice-error{margin-top:10px;font-size:13.5px;color:var(--danger)}.voice-actions{display:flex;gap:8px;margin-top:14px}.voice-actions button{flex:1}.voice-said{font-size:15px;font-style:italic;color:var(--fg-2);margin:6px 0 14px}.voice-rows{display:flex;flex-direction:column;gap:8px;text-align:left}.voice-row{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--border);border-radius:14px;background:var(--surface);cursor:pointer}.voice-row.off{opacity:.45}.voice-row input{width:20px;height:20px;accent-color:var(--brand);flex:none}.voice-kind{width:30px;height:30px;flex:none;border-radius:9px;display:grid;place-items:center;background:var(--accent-soft);color:var(--brand)}.voice-kind svg{width:16px;height:16px;stroke:currentColor}.voice-kind.k-stock_remove,.voice-kind.k-stock_finish,.voice-kind.k-stock_waste{background:#fef2f2;color:var(--danger)}.voice-label{font-size:15px;font-weight:600}.voice-ask{padding:10px 12px;border:1.5px dashed var(--brand);border-radius:14px}.voice-ask-q{font-weight:700;margin-bottom:8px}.voice-ask-opts{display:flex;flex-wrap:wrap;gap:6px}.voice-unknown{margin-top:10px;font-size:13px;color:#a85d00;text-align:left}.voice-done-ico{width:64px;height:64px;margin:8px auto 6px;border-radius:50%;background:var(--success, #2f7a46);display:grid;place-items:center;animation:egg-happy .5s cubic-bezier(.2,1.6,.4,1) both}.voice-done-ico svg{width:32px;height:32px;stroke:#fff;color:#fff}.voice-done-title{font-size:18px;font-weight:800;margin-bottom:12px}.voice-row.done{cursor:default}.voice-row.done svg{width:18px;height:18px;color:var(--success, #2f7a46);stroke:currentColor;flex:none}.voice-done-bar{height:4px;border-radius:4px;background:var(--brand);margin-top:14px;transform-origin:left;animation:voice-countdown 7s linear both}@keyframes voice-countdown{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.product-list.tiles .product-icon{container-type:inline-size}.product-list.tiles .product-icon .product-img,html.kiosk .product-list.tiles .product-icon .product-img{width:58cqw!important;max-width:none!important;height:auto!important;aspect-ratio:1}.product-list.tiles .product-icon>svg,html.kiosk .product-list.tiles .product-icon>svg{width:32cqw!important;max-width:none!important;height:auto!important}.voice-reply{font-size:15px;color:var(--fg);margin:-4px 0 12px;line-height:1.4}.voice-answer{display:flex;gap:12px;align-items:flex-start;text-align:left;background:var(--accent-soft);border-radius:16px;padding:14px}.voice-answer p{margin:0;font-size:17px;font-weight:600;line-height:1.45}.voice-answer-ico{width:34px;height:34px;flex:none;border-radius:10px;background:var(--brand);display:grid;place-items:center}.voice-answer-ico svg{width:18px;height:18px;stroke:#fff;color:#fff}.voice-replay{display:flex;gap:8px;align-items:flex-start;width:100%;text-align:left;border:none;background:none;font:inherit;color:var(--fg);cursor:pointer;padding:0}.voice-replay svg,.voice-replay-ico svg{width:18px;height:18px;flex:none;color:var(--brand);stroke:currentColor;margin-top:2px}.voice-replay-ico{flex:none;border:none;background:var(--surface);border-radius:10px;width:34px;height:34px;display:grid;place-items:center;cursor:pointer}.voice-answer p{flex:1}.vosk-diag{flex-basis:100%;margin-top:10px;padding:10px 12px;border-radius:12px;background:var(--accent-soft);font-size:13px;display:flex;flex-direction:column;gap:6px}.vosk-diag-row{display:flex;align-items:center;gap:8px;font-weight:600}.vosk-dot{width:9px;height:9px;border-radius:50%;background:var(--muted)}.vosk-dot.s-ready{background:#2f9e5b}.vosk-dot.s-error{background:var(--danger)}.vosk-dot.s-loading,.vosk-dot.s-mic,.vosk-dot.s-suspended{background:#e0a020}.vosk-meter{height:6px;border-radius:6px;background:#00000014;overflow:hidden}.vosk-meter span{display:block;height:100%;background:var(--brand);transition:width .15s}.vosk-heard{color:var(--fg-2)}.voice-pick{display:flex;gap:8px;align-items:center;flex:0 1 360px;min-width:0}.voice-pick-select{flex:1;min-width:0;height:46px;border:1px solid var(--border);border-radius:14px;background:var(--surface);color:var(--fg);font:inherit;padding:0 12px}.voice-pick-note{font-size:13px;color:var(--fg-2)}.screen-dim{position:fixed;top:0;right:0;bottom:0;left:0;z-index:900;background:#000;opacity:0;pointer-events:none;transition:opacity 1.2s ease}.screen-dim.on{opacity:1;pointer-events:auto;cursor:pointer}.screen-dim-clock{position:absolute;transform:translate(-50%,-50%);text-align:center;color:#ffffff8c;transition:left 3s ease,top 3s ease;white-space:nowrap}.screen-dim-time{font-size:96px;font-weight:300;letter-spacing:2px;line-height:1}.screen-dim-date{font-size:22px;margin-top:10px;text-transform:capitalize}.screen-dim-hint{font-size:14px;margin-top:18px;color:#ffffff4d}.screen-dim.shield{pointer-events:auto}.recipe-cost{color:var(--brand);font-weight:600}.recipe-cost-pill{margin-top:10px;display:inline-flex;align-items:center;gap:4px;border:1px solid var(--border);background:var(--surface);border-radius:999px;padding:6px 12px;font:inherit;font-size:14px;font-weight:700;color:var(--brand);cursor:pointer}.recipe-cost-pill span{font-weight:500;color:var(--fg-2)}.recipe-cost-pill svg{width:14px;height:14px;transform:rotate(90deg)}.recipe-cost-detail{margin:12px auto 0;max-width:420px;text-align:left;background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:10px 14px}.recipe-cost-line{display:flex;justify-content:space-between;gap:10px;font-size:14px;padding:4px 0;border-bottom:1px dashed var(--border)}.recipe-cost-line:last-of-type{border-bottom:none}.recipe-cost-line .real{color:var(--brand);font-weight:600}.recipe-cost-note{font-size:12px;color:var(--muted);margin:8px 0 0}.plan-cost{font-size:11px;font-weight:700;color:var(--brand)}.week-label{display:flex;flex-direction:column;align-items:center;line-height:1.2}.week-cost{font-size:12px;font-weight:600;color:var(--brand)}.basket{display:block;width:calc(100% - 40px);margin:12px 20px 0;text-align:left;border:1px solid var(--border);background:var(--surface);border-radius:14px;padding:10px 14px;font:inherit;color:var(--fg);cursor:pointer}.basket-head{display:flex;align-items:center;gap:10px;font-size:14.5px}.basket-head>span{flex:1}.basket-head strong{color:var(--brand)}.basket-head em{font-style:normal;color:var(--fg-2)}.basket-head svg{width:18px;height:18px;color:var(--brand);stroke:currentColor;flex:none}.basket-head svg:last-child{width:14px;height:14px;color:var(--muted);transform:rotate(90deg)}.basket-stores{margin-top:8px;display:flex;flex-direction:column;gap:4px}.basket-store{display:flex;justify-content:space-between;font-size:14px;padding:4px 0;border-top:1px dashed var(--border)}.basket-store small{color:var(--muted);font-weight:400}.basket-note{font-size:12px;color:var(--muted);margin:6px 0 0}.scan-known-price{margin:12px 0 4px;text-align:left}.scan-known-price .form-label span{font-weight:400;color:var(--muted)}.scan-known-price-row{display:flex;align-items:center;gap:8px}.scan-known-price-row .form-input{flex:1;font-size:18px;font-weight:700}.scan-known-price-row span{font-weight:700;color:var(--fg-2)}.scan-known-price-hint{font-size:12px;color:var(--muted);margin-top:4px}.alexa-link{display:flex;flex-direction:column;gap:10px}.alexa-row{display:flex;gap:8px}.alexa-row .form-input{flex:1 1 auto;min-width:0;font-size:18px;letter-spacing:3px}.alexa-row .btn-primary{flex:0 0 auto;width:auto;padding:0 20px}@media(max-width:380px){.alexa-row{flex-direction:column}.alexa-row .btn-primary{width:100%}}.alexa-linked .btn-secondary{flex:0 0 auto;width:auto;height:40px;padding:0 14px;font-size:14px}.alexa-linked{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:14px;padding:8px 12px;border-radius:12px;background:var(--accent-soft)}.pharma-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:18px}.pharma-stat{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:14px 10px;text-align:center}.pharma-stat .value{font-size:26px;font-weight:800}.pharma-stat .label{font-size:12px;color:var(--muted);margin-top:2px}.pharma-stat.danger .value{color:var(--danger)}.pharma-stat.warn .value{color:var(--warn, #c9861a)}.pharma-section{margin-bottom:18px}.pharma-title{font-size:14px;font-weight:700;margin:4px 2px 8px;display:flex;align-items:center;gap:8px}.pharma-title span{font-size:12px;color:var(--muted);font-weight:600;background:var(--soft, var(--border));border-radius:10px;padding:1px 8px}.pharma-note{font-size:13px;color:var(--muted);margin:-2px 2px 10px}.kind-seg{margin:0 20px 16px}.med-forms{display:flex;flex-wrap:wrap;gap:8px}.stock-switch{margin:0 20px 14px}html.kiosk .stock-switch{margin-top:4px}.med-photo-btn{display:flex;width:calc(100% - 40px);margin:0 20px 16px;justify-content:center;padding:14px;font-size:15px}@media(min-width:1000px){.pharma-items{display:grid;grid-template-columns:repeat(auto-fill,minmax(420px,1fr));gap:0 14px}}.shop-cat-head{display:flex;align-items:center;gap:10px;margin:4px 0 10px}.shop-cat-ico{width:34px;height:34px;border-radius:11px;display:flex;align-items:center;justify-content:center;background:var(--cat-bg);color:var(--cat-fg);flex-shrink:0}.shop-cat-ico svg{width:19px;height:19px}.shop-cat-name{font-size:15px;font-weight:800;color:var(--cat-fg);letter-spacing:.01em;flex:1}.shop-cat-count{min-width:26px;height:24px;padding:0 8px;border-radius:12px;background:var(--cat-bg);color:var(--cat-fg);font-size:13px;font-weight:800;display:flex;align-items:center;justify-content:center}.shopping-category .shopping-item{border-left:4px solid var(--cat-bg)}.shop-thumb{width:40px;height:40px;border-radius:12px;background:var(--cat-bg);color:var(--cat-fg);display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden}.shop-thumb img{width:34px;height:34px;object-fit:contain}.shop-thumb svg{width:20px;height:20px}.shopping-item.checked .shop-thumb{filter:grayscale(1)}.view-chip{margin-left:auto;padding:0 12px}.shop-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:10px}.shop-tile{position:relative;background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:10px 8px;text-align:center;cursor:pointer;transition:transform .12s ease,opacity .15s ease;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.shop-tile:active{transform:scale(.96)}.shop-tile-img{width:100%;aspect-ratio:1;border-radius:14px;background:var(--cat-bg);color:var(--cat-fg);display:flex;align-items:center;justify-content:center;margin-bottom:8px}.shop-tile-img img{width:78%;height:78%;object-fit:contain}.shop-tile-img svg{width:40%;height:40%}.shop-tile-name{font-size:13px;font-weight:700;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.4em}.shop-tile-qty{font-size:12px;color:var(--muted);margin-top:3px}.shop-tile.checked{opacity:.45}.shop-tile.checked .shop-tile-img{filter:grayscale(1)}.shop-tile-check{position:absolute;top:8px;right:8px;width:30px;height:30px;border-radius:50%;background:var(--success);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 6px #0003}.shop-tile-check svg{width:16px;height:16px}@media(min-width:900px){.shop-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}}.stow-banner{display:flex;align-items:center;gap:10px;width:calc(100% - 40px);margin:0 20px 14px;padding:12px 14px;border:none;border-radius:var(--radius);background:var(--brand-grad, var(--brand));color:#fff;font:inherit;font-size:14px;text-align:left;cursor:pointer;box-shadow:0 4px 14px #00848440;box-shadow:0 4px 14px oklch(.55 .12 195 / .25)}.stow-banner span{flex:1}.stow-banner svg{width:20px;height:20px;flex-shrink:0}.cart-btn{position:relative;color:var(--success)}.cart-btn.bump{animation:cartBump .45s ease}.cart-badge{position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--success);color:#fff;font-size:11px;font-weight:700;line-height:18px;text-align:center}@keyframes cartBump{0%{transform:scale(1)}35%{transform:scale(1.25)}70%{transform:scale(.95)}to{transform:scale(1)}}.shopping-item.leaving,.shop-tile.leaving{animation:shopLeave .38s ease forwards;pointer-events:none}@keyframes shopLeave{0%,35%{transform:none;opacity:1}to{transform:translate(40px);opacity:0}}.shopping-item.leaving{opacity:1}.cart-ico{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#c8f6d0;color:#007835;color:oklch(.5 .14 150);flex-shrink:0}.cart-ico svg{width:20px;height:20px}.cart-title{display:flex;flex-direction:column;flex:1;min-width:0}.cart-title strong{font-size:15px}.cart-title small{font-size:12px;color:var(--muted)}.cart-stack{display:flex;flex-shrink:0}.cart-stack>span{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;border:2px solid var(--surface);margin-left:-8px;overflow:hidden}.cart-stack>span:first-child{margin-left:0}.cart-stack img{width:22px;height:22px;object-fit:contain}.cart-stack svg{width:14px;height:14px}.cart-more{background:var(--bg);color:var(--muted);font-size:11px;font-weight:700}.cart-chev{width:18px;height:18px;color:var(--muted);transform:rotate(90deg);transition:transform .15s ease;flex-shrink:0}.cart-chev.open{transform:rotate(-90deg)}.cart-summary .cart-chev{transform:none}.cart-row{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid var(--border);animation:cartPop .25s ease}.cart-row .shop-thumb{width:36px;height:36px}.cart-name{flex:1;font-size:14px;font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cart-qty{color:var(--muted);font-size:13px}.cart-back{width:36px;height:36px;border-radius:10px;border:none;background:var(--bg);color:var(--muted);display:grid;place-items:center;cursor:pointer;flex-shrink:0}.cart-back svg{width:17px;height:17px}.cart-back:active{color:var(--fg)}.cart-stow{width:100%;margin-top:14px;display:flex;align-items:center;justify-content:center;gap:8px}.cart-stow svg{width:18px;height:18px}.cart-clear{display:block;margin:10px auto 0;background:none;border:none;color:var(--muted);font:inherit;font-size:13px;text-decoration:underline;cursor:pointer}@keyframes cartPop{0%{transform:scale(.96);opacity:0}to{transform:none;opacity:1}}.stow-row{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--border)}.stow-name{flex:1;font-weight:600;font-size:14px;min-width:0}.stow-date{display:flex;align-items:center;gap:6px;width:190px;flex-shrink:0}.stow-date>*:first-child{flex:1;min-width:0}.stow-scan{width:40px;height:40px;flex-shrink:0}.stow-nodate{font-size:12px;color:var(--muted)}.stow-date{width:205px}.stow-date .form-input,.stow-date button:first-child{font-size:13px}.cart-summary{display:flex;align-items:center;gap:12px;width:calc(100% - 40px);margin:12px 20px 28px;padding:12px 14px;border-radius:18px;background:var(--surface);border:1px solid var(--border);box-shadow:0 2px 10px #0000000a;font:inherit;color:inherit;text-align:left;cursor:pointer}.cart-summary:active{transform:scale(.99)}.cart-sheet .drawer-body{flex:1;min-height:0}.cart-sheet-head .icon-btn{flex-shrink:0}.cart-sheet-list .cart-row:last-child,.cart-sheet-list .stow-row:last-child{border-bottom:none}.cart-sheet .cart-row{gap:8px}.cart-sheet .shop-step{flex-shrink:0}.cart-sheet-foot{flex-shrink:0;padding-top:4px;border-top:1px solid var(--border)}.cart-empty{text-align:center;color:var(--muted);padding:28px 0}.cart-empty svg{width:36px;height:36px;opacity:.5}.stow-name small{display:block;font-weight:500;font-size:12px;color:var(--muted)}.med-chip{display:inline-flex;align-items:center;gap:6px;padding-left:8px}.med-chip img{width:22px;height:22px;object-fit:contain}.med-hero{align-items:center}.med-hero-icon{cursor:default}.med-hero .hero-info{display:flex;flex-direction:column;gap:2px}.med-hero .hero-info small{font-size:12px;color:var(--muted)}.cart-sheet .cart-back{width:34px;height:34px}.cart-del:active{color:var(--danger, #c0392b)}[data-dragtrash]{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.shopping-item.dragging,.shop-tile.dragging,.cart-row.dragging{opacity:.3;transform:scale(.97);transition:opacity .15s,transform .15s}.dragtrash-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:900;pointer-events:none}.dragtrash-ghost{position:fixed;transform:translate(-50%,calc(-100% - 18px)) rotate(-2deg);display:flex;align-items:center;gap:8px;padding:6px 14px 6px 6px;border-radius:26px;background:var(--surface);box-shadow:0 10px 28px #00000040;font-weight:600;font-size:14px;white-space:nowrap;animation:ghostIn .15s ease}.dragtrash-ghost .shop-thumb{width:34px;height:34px;border-radius:50%}.dragtrash-ghost .shop-thumb img{width:26px;height:26px}@keyframes ghostIn{0%{transform:translate(-50%,-100%) scale(.8);opacity:0}}.dragtrash-zone{position:fixed;left:0;right:0;bottom:0;height:130px;padding-bottom:env(safe-area-inset-bottom);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:#f05653;box-shadow:0 -8px 24px #e234394d;border-radius:24px 24px 0 0;color:#fff;font-weight:600;font-size:14px;animation:zoneIn .2s ease;transition:background .15s}.dragtrash-zone svg{width:30px;height:30px;transition:transform .15s}.dragtrash-zone.over{background:var(--danger)}.dragtrash-zone.over svg{transform:scale(1.35) rotate(-8deg)}@keyframes zoneIn{0%{transform:translateY(100%)}}.med-opened{margin-top:18px}.ticket-store{padding-bottom:4px}.ticket-store-chips{display:flex;flex-wrap:wrap;gap:6px}.ticket-known{display:flex;align-items:center;gap:6px;margin:4px 2px 2px;font-size:12px;color:var(--muted)}.ticket-known.on{color:var(--success);font-weight:600}.ticket-known.on svg{width:14px;height:14px;flex-shrink:0}.ticket-known span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ticket-known button{background:none;border:none;padding:0;font:inherit;font-weight:500;color:var(--muted);text-decoration:underline;cursor:pointer;flex-shrink:0}.ticket-known .ticket-known-suggest{color:var(--brand);text-decoration:none;font-weight:600;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scan-switch{margin-left:auto}
