:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#182b24;font-synthesis:none;--ink:#182b24;--muted:#536b60;--accent:#1c634e;--accent-dark:#124a3d;--tint:#e6f2eb;--line:#dce6df;--surface:#fff;background:#f4f7f5;font-family:Segoe UI,Roboto,system-ui,sans-serif}*{box-sizing:border-box}body{min-width:290px;margin:0}button,input,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.52}a{color:var(--accent)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline-offset:3px;outline:3px solid #568b71}h1,h2,h3,p{margin:0}h1{letter-spacing:-.053em;font-size:clamp(1.9rem,4vw,2.85rem);font-weight:760;line-height:1.1}h2{letter-spacing:-.022em;font-size:1.2rem}h3{letter-spacing:-.012em;font-size:1.02rem}small{color:var(--muted);font-size:.875rem;line-height:1.4;display:block}svg{flex-shrink:0}ul{margin:0;padding:0;list-style:none}.app{grid-template-columns:238px minmax(0,1fr);min-height:100dvh;display:grid}.sidebar{background:var(--surface);border-right:1px solid var(--line);flex-direction:column;gap:36px;height:100dvh;padding:28px 17px 18px;display:flex;position:sticky;top:0}.brand,.account{text-align:left;background:0 0;border:0;border-radius:12px;align-items:center;gap:12px;padding:8px;font-weight:730;display:flex}.brand{font-size:1.05rem}.brand-mark,.large-mark{color:#fff;background:var(--accent-dark);border-radius:12px;flex-shrink:0;place-items:center;width:42px;height:42px;display:grid}.large-mark{border-radius:18px;width:62px;height:62px;margin-bottom:16px}.sidebar nav{gap:5px;display:grid}.sidebar nav button{min-height:48px;color:var(--muted);text-align:left;background:0 0;border:0;border-radius:12px;align-items:center;gap:13px;padding:0 14px;font-weight:650;display:flex}.sidebar nav button:hover,.account:hover,.icon-button:hover{background:#eef5f0}.sidebar nav .active,.sidebar nav .active:hover{background:var(--tint);color:var(--accent-dark)}.account{margin-top:auto}.account strong,.account small{display:block}.avatar{background:var(--accent);color:#fff;text-shadow:0 1px 3px #0009;border:1px solid #fff8;border-radius:50%;flex-shrink:0;place-items:center;width:38px;height:38px;font-size:.76rem;font-weight:760;display:inline-grid}.avatar.mini{width:28px;height:28px;font-size:.66rem}.avatars{flex-wrap:wrap;justify-content:flex-end;row-gap:3px;max-width:90px;display:flex}.avatars .avatar{margin-left:-4px}.repeat-mark{color:var(--accent);text-shadow:none;background:#dcebe4}.main{width:100%;max-width:1370px;margin-inline:auto}.topbar{border-bottom:1px solid var(--line);justify-content:flex-end;align-items:center;min-height:75px;margin:0 5%;display:flex}.connection{color:var(--accent-dark);align-items:center;gap:7px;font-size:.875rem;font-weight:650;display:flex}.connection>span{background:#43866d;border-radius:50%;width:8px;height:8px}.connection.offline{color:#884815}.connection.offline>span{background:#b46225}.mobile-brand,.mobile-account{display:none}.page{padding:28px 5% 60px}.heading{justify-content:space-between;gap:1rem;margin-bottom:24px;display:flex}.heading p{color:var(--muted);margin-top:8px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:17px;box-shadow:0 2px 3px #17352608}.input-wrap{margin-bottom:16px;position:relative}.quick{background:var(--surface);color:var(--muted);border:1px solid #c9dad0;border-radius:15px;align-items:center;gap:11px;padding:7px 8px 7px 16px;display:flex}.quick:focus-within{outline-offset:1px;outline:2px solid #71a289}.quick input{min-width:0;color:var(--ink);background:0 0;border:0;outline:none;flex:1;padding:10px 0}.quick input:focus-visible{outline:none}.primary,.secondary,.text-button,.link-button,.icon-button,.chip{text-align:center;border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;gap:7px;min-height:44px;padding:9px 13px;font-weight:680;line-height:1.2;text-decoration:none;display:inline-flex}.primary{background:var(--accent-dark);color:#fff}.primary:not(:disabled):hover{background:var(--accent)}.secondary{background:var(--surface);color:var(--accent-dark);border-color:#c9dbd0}.secondary:not(:disabled):hover,.chip:hover{background:var(--tint)}.text-button,.link-button,.icon-button{color:var(--accent-dark);background:0 0}.text-button:not(:disabled):hover,.link-button:not(:disabled):hover{background:var(--tint)}.link-button{padding-inline:10px}.icon-button{flex:0 0 44px;width:44px;padding:0}.detail-add{min-height:40px;padding-left:4px;font-size:.875rem}.suggestions{z-index:3;position:absolute;top:63px;left:0;right:0;overflow:hidden;box-shadow:0 8px 24px #18332623}.suggestions li+li{border-top:1px solid var(--line)}.suggestions button{background:0 0;border:0;justify-content:space-between;align-items:center;width:100%;min-height:46px;padding:8px 15px;font-weight:650;display:flex}.suggestions button:hover{background:var(--tint)}.quick-picks{flex-wrap:wrap;gap:8px;margin-bottom:18px;display:flex}.chip{min-height:42px;color:var(--accent-dark);border-color:var(--line);background:#fff;border-radius:40px;font-size:.875rem}.repeat-chip{background:#e7f2ec}.list-grid{grid-template-columns:minmax(0,1fr) minmax(255px,32%);align-items:start;gap:22px;display:grid}.shop-card{grid-area:1/2;align-content:start;gap:12px;padding:17px;display:grid}.shop-card .section-line{justify-content:start}.shop-card p{color:var(--muted);margin-top:3px;font-size:.875rem}.shop-card>.text-button{min-height:39px}.store-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;display:grid}.store-choices button{overflow-wrap:anywhere;min-height:44px;padding-inline:5px;font-size:.88rem}.store-choices button[aria-pressed=true]{color:var(--accent-dark);background:var(--tint);border-color:#609779}.print-button{min-height:48px}.tile-icon{background:var(--tint);width:44px;height:44px;color:var(--accent);border-radius:11px;flex:none;place-items:center;display:grid}.groceries{grid-area:1/1;min-width:0}.section-line{justify-content:space-between;align-items:center;gap:11px;display:flex}.list-heading{min-height:40px;margin-bottom:7px}.category{margin-bottom:12px;overflow:hidden}.category h3{color:#245944;background:#eaf3ed;padding:12px 14px;font-size:.875rem}.item-line{grid-template-columns:minmax(0,1fr) auto auto 41px;align-items:center;gap:8px;min-height:66px;padding:7px 8px 7px 14px;display:grid}.item-line+.item-line{border-top:1px solid #edf2ee}.item-detail{overflow-wrap:anywhere}.item-detail strong{font-size:.98rem}.item-detail p,.line-price{color:var(--muted);margin-top:3px;font-size:.875rem}.line-price{font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap;min-width:34px}.dots{width:40px}.totals{gap:7px;margin:0 0 4px;font-size:.92rem;display:grid}.totals>div{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.totals .grand{background:var(--tint);color:var(--accent-dark);border-radius:8px;margin:3px 0 1px;padding:10px;font-weight:750}.totals .grand strong{white-space:nowrap;font-size:1.13rem}.total-empty{font-size:.875rem}.empty{text-align:center;color:var(--ink);justify-items:center;gap:8px;padding:38px 16px;display:grid}.empty>span{background:var(--tint);color:var(--accent);border-radius:15px;place-items:center;width:55px;height:55px;margin-bottom:4px;display:grid}.empty p{color:var(--muted);max-width:33ch;font-size:.925rem}.pending{border-color:#d7d9bc;margin:0 0 15px;padding:6px 15px}.pending-line{border-bottom:1px solid var(--line);overflow-wrap:anywhere;flex-wrap:wrap;align-items:center;gap:10px;padding:9px 0;display:flex}.pending-line:last-child{border:0}.pending-line>span{color:var(--muted);font-size:.9rem}.pending-actions,.row-actions,.receipt-links{flex-wrap:wrap;gap:8px;display:flex}.pending-actions{flex-basis:100%}.segments{gap:8px;margin:0 0 14px;padding:3px 2px;display:flex;overflow-x:auto}.segments button{white-space:nowrap;border:1px solid var(--line);background:#fff;border-radius:11px;min-height:44px;padding:8px 13px;font-weight:650}.segments button[aria-pressed=true]{color:var(--accent-dark);background:var(--tint);border-color:#bfd4c8}.settings-panel{max-width:785px;padding:16px 18px}.settings-panel h3,.favorites h2{margin:5px 0 12px}.favorites h2:not(:first-child){margin-top:22px}.rows li,.history-list li>button,.history-row{overflow-wrap:anywhere;border-bottom:1px solid #eaf0eb;align-items:center;gap:10px;min-width:0;min-height:56px;padding:10px 0;display:flex}.rows li:last-child,.history-list li:last-child>button{border-bottom:0}.rows li small,.history-list small{margin-top:3px}.grow{flex:1;min-width:0}.history-list{max-width:760px;overflow:hidden}.history-list li>button,.history-row{text-align:left;border:0;border-bottom:1px solid var(--line);width:100%;font:inherit;background:#fff;padding:13px 16px}.history-list li>button:hover{background:#f0f6f2}.history-list .tile-icon{width:42px;height:42px}.heart-on svg{fill:#c1ded0;stroke:#1b654e}.muted{color:var(--muted)}.success{color:var(--accent);margin-top:8px}.spaced{margin-top:13px}.callout{color:#254f3f;background:#e6f1ea;border:1px solid #d0e5d7;border-radius:12px;margin:8px 0 14px;padding:13px}.page-notice{justify-content:space-between;align-items:center;padding-block:3px;display:flex}.print-confirm p{margin:6px 0 11px}.receipt-date{color:var(--muted);margin-bottom:13px;font-size:.9rem}.receipt-rows{margin:12px 0}dialog{border:1px solid var(--line);width:min(540px,100% - 22px);max-height:88dvh;color:var(--ink);background:var(--surface);overscroll-behavior:contain;border-radius:19px;padding:0;box-shadow:0 12px 55px #1b2c2455}dialog::backdrop{background:#1428207a}.dialog-body{padding:15px 20px 20px}.dialog-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.dialog-head h2{overflow-wrap:anywhere}.dialog-body p{line-height:1.45}.fields{align-items:start;gap:11px;display:grid}.fields>button{justify-self:start}label{gap:5px;font-size:.925rem;font-weight:640;display:grid}input:not([type=checkbox]),select{width:100%;min-height:43px;color:var(--ink);background:#fff;border:1px solid #c9dbd0;border-radius:9px;padding:8px 10px;font-size:1rem}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23245944' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 8px center;background-repeat:no-repeat;padding-right:32px}.quick input:not([type=checkbox]){background:0 0;border:0;width:auto;padding-inline:0}.cols,.columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}fieldset{border:1px solid var(--line);border-radius:10px;min-width:0;margin:0;padding:9px 12px}legend{font-size:.93rem;font-weight:680}.checks{grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:2px 12px;display:grid}.check,.checks label{align-items:center;gap:7px;min-height:38px;font-weight:560;display:flex}input[type=checkbox]{width:19px;height:19px;accent-color:var(--accent);flex-shrink:0}.error,.danger{color:#a82825}.error{background:#fff4f2;border:1px solid #f0c8c4;border-radius:9px;padding:10px}.subsection{border-top:1px solid var(--line);margin-top:14px}summary{cursor:pointer;padding:11px 0;font-weight:670}.subsection p{margin-bottom:8px}.routing{margin:0;padding:0;list-style:none}.routing li,.removable li{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:5px;display:flex}.routing li span{flex:1}.routing button{background:var(--tint);border:0;border-radius:8px;width:43px;height:40px;font-size:1.35rem}.welcome{background:radial-gradient(at 50% 0,#daeae0,#f4f7f5 68%);place-items:center;min-height:100dvh;padding:23px;display:grid}.welcome-card{border:1px solid var(--line);background:#fff;border-radius:24px;width:min(100%,410px);padding:29px;box-shadow:0 12px 50px #12352313}.welcome-card h1{font-size:clamp(1.95rem,5vw,2.6rem)}.welcome-card p{margin:12px 0 18px;line-height:1.5}.welcome-card .fields>button{justify-self:stretch;min-height:48px;margin-top:5px}@media (width<=930px){.app{grid-template-columns:192px minmax(0,1fr)}.sidebar{padding-inline:12px}.page{padding-inline:4%}.topbar{margin-inline:4%}.list-grid{grid-template-columns:minmax(0,1fr) minmax(215px,35%);gap:14px}}@media (width<=730px){.app{display:block}.sidebar{top:auto;bottom:0;z-index:6;height:auto;padding:4px 4px calc(4px + env(safe-area-inset-bottom));border:0;border-top:1px solid var(--line);display:block;position:fixed;inset-inline:0}.sidebar .brand,.account{display:none}.sidebar nav{grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;display:grid}.sidebar nav button{flex-direction:column;justify-content:center;gap:3px;min-height:53px;padding:5px 1px;font-size:.76rem}.topbar{gap:9px;min-height:59px;margin-inline:14px}.mobile-brand{align-items:center;gap:8px;margin-right:auto;font-size:.98rem;display:flex}.mobile-brand .brand-mark{border-radius:9px;width:34px;height:34px}.mobile-account{width:33px;height:33px;display:grid}.connection{font-size:.72rem}.connection>span{width:6px;height:6px}.page{padding:20px 13px calc(89px + env(safe-area-inset-bottom))}.heading{margin-bottom:16px}.heading p{font-size:.875rem}.list-grid{flex-direction:column;gap:12px;display:flex}.list-grid>*{width:100%}.shop-card{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px;padding:12px}.shop-card .section-line,.shop-card .store-choices,.shop-card .totals,.shop-card .store-count,.shop-card .total-empty,.shop-card .restore-button{grid-column:1/-1}.store-choices{grid-template-columns:repeat(3,minmax(0,1fr))}.shop-card .print-button,.shop-card>.text-button:not(.restore-button){grid-column:1/-1}.shop-card .tile-icon{width:37px;height:37px}.shop-card h2{font-size:1.08rem}.shop-card p{margin-top:0}.empty{padding-block:24px}.settings-panel{padding-inline:12px}.dialog-body{padding-inline:13px}}@media (width<=400px){.quick{gap:8px;padding-left:10px}.quick .primary{padding-inline:8px;font-size:.85rem}.quick>svg{width:18px}.connection{font-size:.69rem}.item-line{gap:5px;padding-left:10px}.avatars{max-width:55px}}
