@font-face{font-family:system-fallback;src:local('Segoe UI')}*{box-sizing:border-box} :root{--bg:#f5f8f6;--surface:#fff;--ink:#163c33;--text:#253d35;--muted:#61746b;--line:#dce5df;--soft:#edf3ed;--accent:#ddeeae;--danger:#a53e37;--shadow:0 16px 50px #163c3312;color-scheme:light;font-family:Inter,'Segoe UI',system-ui,sans-serif;font-size:16px}html[data-theme=dark]{--bg:#14231e;--surface:#1c3028;--ink:#def0cc;--text:#e3eae2;--muted:#b0bfb3;--line:#3b5146;--soft:#293f33;--accent:#ddeeae;--danger:#ffada3;--shadow:0 16px 50px #0003;color-scheme:dark}body{margin:0;background:var(--bg);color:var(--text);line-height:1.5}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button,a,input,select,textarea{outline-offset:4px}button:focus-visible,a:focus-visible{outline:3px solid #83a658}a{color:var(--ink)}button{border:0;background:none;color:inherit}button,.button{min-height:44px}h1,h2,h3,p{margin:0}h1{font-size:2.35rem;line-height:1.16;font-weight:650;letter-spacing:-.055em;color:var(--ink)}h2{font-size:1.17rem;letter-spacing:-.025em;font-weight:650}h3{font-size:1rem}small,.small{font-size:.875rem}.muted{color:var(--muted)}.eyebrow{text-transform:uppercase;letter-spacing:.13em;font-size:.75rem;font-weight:700;color:var(--muted)}.icon{width:22px;height:22px;flex:none;vertical-align:middle}.food-art{width:64px;height:64px;flex:none}.shell{display:grid;grid-template-columns:232px minmax(0,1fr);min-height:100vh}.rail{background:var(--surface);border-right:1px solid var(--line);padding:32px 22px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;gap:28px}.brand{display:flex;align-items:center;gap:10px;color:var(--ink);font-size:1.5rem;letter-spacing:-.06em;font-weight:750}.brand img{width:38px;height:38px}.rail nav{display:grid;gap:8px}.nav-btn{padding:12px 14px;display:flex;gap:12px;align-items:center;text-align:left;border-radius:12px;font-weight:550;color:var(--muted)}.nav-btn.active{background:var(--ink);color:var(--surface)}html[data-theme=dark] .nav-btn.active{background:#ddeeae;color:#153f35}.rail-label{padding:0 12px;margin-bottom:8px}.rail-lists{display:grid;gap:3px}.list-link{padding:10px 12px;display:flex;align-items:center;gap:10px;text-align:left;border-radius:10px;min-width:0}.list-link span:first-of-type{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.list-link.active{background:var(--soft);font-weight:650}.list-count{margin-left:auto;color:var(--muted);font-size:.875rem}.rail-note{margin-top:auto;padding:18px;border-radius:16px;background:var(--soft);font-size:.875rem;color:var(--muted)}.rail-note strong{display:block;color:var(--ink);margin-bottom:5px}.workspace{min-width:0;padding:27px 42px 44px;max-width:1550px;width:100%;margin:auto}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:40px;gap:12px}.breadcrumb{color:var(--muted);font-size:.875rem}.status-button{display:flex;align-items:center;gap:8px;font-size:.8125rem;color:var(--muted);padding:4px 0;min-height:32px}.top-actions{display:flex;align-items:center;gap:16px}.pill{display:flex;align-items:center;gap:8px;border:1px solid var(--line);padding:8px 14px;border-radius:50px;font-size:.875rem;background:var(--surface)}.avatar{width:38px;height:38px;border-radius:50%;background:var(--soft);display:grid;place-items:center;font-weight:650;color:var(--ink)}.pagehead{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:26px}.pagehead .muted{margin-top:10px;font-size:.9375rem}.mobile-list{display:none}.btn{border:1px solid var(--line);background:var(--surface);border-radius:11px;padding:10px 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:600;font-size:.9375rem;text-decoration:none}.btn.primary{background:var(--ink);border-color:var(--ink);color:var(--surface)}html[data-theme=dark] .btn.primary{background:var(--accent);color:#153f35}.btn.soft{background:var(--soft);border-color:transparent}.btn.danger{color:var(--danger)}.text-btn{color:var(--ink);font-size:.875rem;text-decoration:underline;text-underline-offset:4px;padding:4px 8px}.square-btn{width:44px;height:44px;display:inline-grid;place-items:center;border:1px solid var(--line);border-radius:11px;background:var(--surface);flex:none}.main-grid{display:grid;grid-template-columns:minmax(0,1fr) 274px;gap:28px;align-items:start}.search-wrap{position:relative;margin-bottom:24px}.search-wrap>.icon{position:absolute;left:17px;top:16px;color:var(--muted)}.search-wrap input{width:100%;border:1px solid var(--line);border-radius:14px;background:var(--surface);height:56px;padding:12px 55px 12px 50px;box-shadow:0 3px 10px #183a3103;color:var(--text)}.search-wrap .square-btn{position:absolute;right:6px;top:6px;width:44px;background:var(--soft);border:0}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.section-heading .muted{font-size:.8125rem;margin-top:3px}.suggestions{padding:22px;border:1px solid var(--line);border-radius:20px;background:var(--surface);margin-bottom:28px}.suggestion-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.suggestion{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:12px 5px 10px;border:1px solid var(--line);border-radius:14px;background:var(--surface);min-height:128px;font-size:.875rem;transition:border .15s,transform .15s}.suggestion:hover{border-color:#8aa787;transform:translateY(-2px)}.suggestion .tinyplus{position:absolute;right:7px;top:7px;background:var(--soft);border-radius:50%;width:20px;height:20px;display:grid;place-items:center;font-size:16px;font-weight:500}.suggestion-dismiss{position:absolute;top:2px;right:2px;width:32px;height:32px;min-height:32px;background:var(--surface);border-radius:50%;font-size:18px}.suggestion-wrap{position:relative}.suggestion-wrap .suggestion{width:100%}.suggestion small{font-size:.6875rem;color:var(--muted)}.segmented{display:flex;gap:22px;border-bottom:1px solid var(--line);margin-bottom:20px}.tab{padding:10px 0 13px;color:var(--muted);font-size:.9375rem;display:flex;align-items:center;gap:8px;border-bottom:2px solid transparent}.tab.active{color:var(--ink);font-weight:650;border-color:var(--ink)}.badge{border-radius:7px;min-width:23px;text-align:center;background:var(--soft);font-size:.75rem;padding:1px 5px}.list-tools{display:flex;align-items:center;gap:8px;margin-left:auto}.category-label{font-size:.75rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-weight:650;display:flex;align-items:center;gap:12px;margin:22px 0 10px}.category-label:after{content:'';height:1px;flex:1;background:var(--line)}.item-row{display:flex;align-items:center;gap:14px;padding:14px;background:var(--surface);border:1px solid var(--line);border-radius:15px;margin-bottom:8px}.item-row .food-art{width:54px;height:54px}.check-button{width:44px;height:44px;display:grid;place-items:center;flex:none}.check-ring{border:1.7px solid #9caf9e;width:23px;height:23px;border-radius:50%;display:grid;place-items:center}.purchased .check-ring{background:var(--ink);border-color:var(--ink);color:var(--surface)}.check-ring .icon{width:16px;height:16px}.item-info{min-width:0;flex:1}.item-name{font-weight:600;overflow-wrap:anywhere}.item-meta{color:var(--muted);font-size:.8125rem;margin-top:3px;overflow-wrap:anywhere}.item-price{text-align:right;font-weight:650;font-size:.9375rem;white-space:nowrap}.item-price small{display:block;font-weight:400;color:var(--muted);font-size:.6875rem}.edit-button{display:grid;place-items:center;width:44px;flex:none;border-radius:10px;color:var(--muted)}.edit-button:hover{background:var(--soft);color:var(--ink)}.edit-button .icon{width:19px;height:19px}.purchased .item-name{color:var(--muted);text-decoration:line-through}.compact .item-row{padding:7px;gap:8px}.compact .item-row .food-art{width:42px;height:42px}.empty{padding:35px 22px;text-align:center;border:1px dashed #b8c9bb;border-radius:18px;background:var(--surface)}.empty h2{margin:14px 0 6px}.empty .muted{font-size:.9375rem;max-width:360px;margin:auto}.empty-illustration{display:flex;align-items:center;justify-content:center}.empty-illustration .food-art{width:76px;height:76px;transform:rotate(-12deg)}.empty-illustration .food-art:nth-child(2){transform:rotate(5deg);margin-left:-8px;margin-top:-16px}.empty-illustration .food-art:nth-child(3){transform:rotate(12deg);margin-left:-8px}.aside{position:sticky;top:24px}.estimate{border:1px solid var(--line);border-radius:20px;background:var(--surface);padding:23px}.estimate-header{display:flex;align-items:center;gap:8px;margin-bottom:20px}.estimate-header .icon{width:19px}.estimate .amount{font-size:2.5rem;letter-spacing:-.05em;font-weight:650;line-height:1.2;color:var(--ink)}.estimate .amount-label{font-size:.8125rem;color:var(--muted);margin-bottom:5px}.estimate dl{margin:20px 0 0}.estimate dl div{display:flex;justify-content:space-between;gap:12px;font-size:.875rem;margin-top:10px}.estimate dt{color:var(--muted)}.estimate dd{margin:0;font-weight:600}.estimate .total-line{border-top:1px solid var(--line);padding-top:13px;margin-top:17px}.estimate .caption{border-top:1px solid var(--line);padding-top:14px;margin-top:18px;font-size:.75rem;color:var(--muted)}.budget-bar{height:6px;border-radius:10px;background:var(--soft);overflow:hidden;margin-top:12px}.budget-bar span{display:block;height:100%;background:#79965e;border-radius:10px}.budget-bar.over span{background:#bc6a55}.aside-tip{padding:20px 9px;display:flex;gap:10px;color:var(--muted);font-size:.8125rem}.aside-tip .icon{width:19px}.pantry-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.pantry-card{background:var(--surface);border:1px solid var(--line);padding:20px;border-radius:18px}.pantry-top{display:flex;justify-content:space-between;gap:8px;align-items:start}.stock{display:inline-flex;border-radius:7px;padding:3px 8px;font-size:.75rem;background:var(--soft);color:var(--ink);font-weight:600}.stock.low{background:#fbe7df;color:#923f30}.pantry-card h3{margin-top:12px}.pantry-card .muted{font-size:.8125rem;margin-bottom:14px}.pantry-card .btn{width:100%;margin-top:7px}.stock-button{width:100%;display:flex;justify-content:space-between;align-items:center;border:1px solid var(--line);padding:8px 10px;border-radius:9px;font-size:.875rem}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.panel{padding:25px;background:var(--surface);border:1px solid var(--line);border-radius:20px}.panel h2{margin-bottom:10px}.panel p{font-size:.9375rem;color:var(--muted);margin-bottom:18px}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--line);font-size:.9375rem}.setting-row:last-child{border:0}.toggle{appearance:none;width:44px;height:26px;border-radius:50px;background:#a3afa7;position:relative;cursor:pointer;flex:none}.toggle:before{content:'';position:absolute;left:4px;top:4px;width:18px;height:18px;border-radius:50%;background:white}.toggle:checked{background:#50765c}.toggle:checked:before{left:22px}.button-row{display:flex;gap:10px;flex-wrap:wrap}.notice{border-radius:12px;background:var(--soft);padding:13px 15px;font-size:.875rem;margin:14px 0;overflow-wrap:anywhere}.notice.error{color:var(--danger);border:1px solid var(--danger)}.bottomnav{display:none}.field{display:grid;gap:6px;margin-bottom:16px;font-size:.875rem;font-weight:550;min-width:0}.field input,.field select,.field textarea,.select{border:1px solid var(--line);background:var(--surface);border-radius:9px;color:var(--text);padding:11px 12px;width:100%;min-height:46px;font-size:1rem;font-weight:400}.field textarea{resize:vertical;min-height:80px}.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid #829c6c;border-color:transparent}.field small{font-weight:400;color:var(--muted);font-size:.75rem}select{appearance:none;background-image:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="12" height="8"%3E%3Cpath d="m1 1 5 5 5-5" stroke="%2361746b" fill="none" stroke-width="2"/%3E%3C/svg%3E')!important;background-repeat:no-repeat!important;background-position:right 14px center!important;padding-right:36px!important}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.wide{grid-column:1/-1}dialog{padding:0;border:1px solid var(--line);border-radius:24px;background:var(--surface);color:var(--text);max-width:580px;width:calc(100% - 32px);box-shadow:0 30px 110px #061c2860;max-height:calc(100dvh - 36px);overflow:auto}dialog::backdrop{background:#0c291f88;backdrop-filter:blur(3px)}.dialog-head{padding:24px 26px 16px;display:flex;align-items:center;justify-content:space-between;gap:16px;position:sticky;top:0;background:var(--surface);z-index:2}.dialog-head h2{font-size:1.4rem}.dialog-body{padding:0 26px 26px}.dialog-art{display:flex;gap:16px;align-items:center;margin:0 0 23px}.dialog-art .food-art{width:78px;height:78px}.dialog-art p{color:var(--muted);font-size:.875rem}.dialog-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-top:10px}.dialog-footer .btn.primary{min-width:135px}.icon-picker{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 18px}.icon-option{padding:2px;border:2px solid transparent;border-radius:12px;min-width:50px}.icon-option.active{border-color:var(--ink)}.icon-option .food-art{width:44px;height:44px}.form-error{color:var(--danger);font-size:.875rem;min-height:0;margin-bottom:12px}.disclosure{border-top:1px solid var(--line);padding-top:12px;margin-top:6px;margin-bottom:16px}.disclosure summary{cursor:pointer;font-weight:600;min-height:44px;padding:9px 0;font-size:.9375rem}.disclosure .form-grid{margin-top:10px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);max-width:calc(100% - 28px);width:max-content;background:#153f35;color:#fff;border-radius:13px;box-shadow:var(--shadow);z-index:10;padding:0;display:none;align-items:center;gap:20px;font-size:.9375rem}#toast.show{display:flex;padding:12px 18px}#toast button{color:#e4f4b2;text-decoration:underline;min-height:32px;padding:0 6px;white-space:nowrap}.result-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:20px}.search-empty{padding:20px;margin-bottom:16px;background:var(--surface);border:1px solid var(--line);border-radius:12px}.list-choice{display:flex;justify-content:space-between;width:100%;padding:13px;border-bottom:1px solid var(--line);text-align:left}.conflict{border:1px solid var(--danger);border-radius:12px;padding:16px;margin:15px 0}.conflict h3{margin-bottom:8px}input[type=checkbox]{accent-color:#50765c}.hidden{display:none!important}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}@media(min-width:1500px){.suggestion-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1200px){.workspace{padding:24px 28px}.shell{grid-template-columns:205px minmax(0,1fr)}.main-grid{grid-template-columns:minmax(0,1fr) 240px;gap:20px}.rail{padding:28px 16px}.suggestions{padding:18px}.pantry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.item-row{gap:8px;padding:10px}.item-row .food-art{width:45px;height:45px}}@media(max-width:1000px){.main-grid{grid-template-columns:1fr}.aside{position:static;order:-1}.estimate{padding:18px;display:grid;grid-template-columns:1fr 1fr;gap:8px 22px}.estimate-header{grid-column:1/-1;margin:0}.estimate dl{margin:0}.estimate .caption{grid-column:1/-1;margin-top:3px;padding-top:10px}.estimate .total-line{margin-top:8px;padding-top:8px}.estimate .amount{font-size:2rem}.aside-tip{display:none}.settings-grid{grid-template-columns:1fr}.top-actions{gap:8px}}@media(max-width:700px){.shell{display:block}.rail{display:none}.workspace{padding:20px 18px 100px}.topbar{margin-bottom:25px}.breadcrumb{display:none}.topbar:before{content:'GeeCart';color:var(--ink);font-size:1.4rem;letter-spacing:-.05em;font-weight:750}.top-actions .pill{border:0;padding:0;background:none;min-height:44px}.top-actions .pill span{display:none}.avatar{display:none}.top-actions{gap:12px}.status-button{max-width:175px;text-align:right;font-size:.75rem;line-height:1.4}.pagehead{margin-bottom:20px}.pagehead h1{font-size:1.9rem}.pagehead .muted{font-size:.875rem;margin-top:7px}.pagehead>.btn{padding:10px}.pagehead>.btn span{display:none}.mobile-list{display:inline-flex;margin-top:6px}.mobile-list button{font-size:.8125rem;display:flex;align-items:center;gap:6px;color:var(--muted);min-height:36px}.mobile-list .icon{width:14px;height:14px}.main-grid{gap:18px}.estimate{border-radius:15px;padding:15px 17px;grid-template-columns:1fr 1fr;gap:4px 16px}.estimate-header{font-size:.875rem;gap:6px}.estimate-header .icon{width:16px}.estimate .amount{font-size:1.9rem}.estimate .amount-label{font-size:.75rem}.estimate dl div{font-size:.75rem;margin-top:4px}.estimate .total-line{padding-top:5px;margin-top:5px}.estimate .caption{font-size:.6875rem;line-height:1.5}.estimate .text-btn{font-size:.75rem;min-height:28px}.search-wrap{margin-bottom:18px}.search-wrap input{height:54px}.suggestions{padding:16px;margin-bottom:22px;border-radius:16px}.suggestion-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.suggestion{min-height:107px;padding:10px 3px 7px;border-radius:11px;font-size:.75rem}.suggestion .food-art{width:48px;height:48px}.suggestion .tinyplus{width:16px;height:16px;font-size:14px;top:5px;right:5px}.section-heading{gap:8px}.section-heading h2{font-size:1rem}.section-heading .text-btn{font-size:.75rem;padding:0 4px;white-space:nowrap}.section-heading .muted{font-size:.6875rem}.segmented{gap:19px;margin-bottom:14px}.tab{font-size:.875rem}.list-tools .square-btn{height:38px;width:38px;min-height:38px;border:0;background:none}.item-row{padding:9px 6px;gap:5px;border-radius:13px}.item-row .food-art{width:45px;height:45px}.check-button{width:36px}.item-name{font-size:.9375rem}.item-meta{font-size:.75rem}.item-price{font-size:.8125rem}.edit-button{width:36px}.item-price small{font-size:.625rem}.pantry-grid{gap:10px}.pantry-card{padding:14px}.pantry-card .food-art{width:52px;height:52px}.pantry-card .btn{font-size:.8125rem;padding:8px}.pantry-card h3{font-size:.9375rem}.stock{font-size:.625rem}.panel{padding:21px;border-radius:16px}.bottomnav{display:flex;position:fixed;bottom:0;left:0;right:0;justify-content:space-around;background:var(--surface);border-top:1px solid var(--line);padding:8px 10px max(8px,env(safe-area-inset-bottom));z-index:5}.bottomnav button{display:flex;flex-direction:column;gap:3px;align-items:center;justify-content:center;font-size:.6875rem;color:var(--muted);min-width:80px;padding:3px;border-radius:10px}.bottomnav button.active{color:var(--ink);background:var(--soft);font-weight:650}.bottomnav .icon{width:21px;height:21px}#toast{bottom:86px;font-size:.8125rem;gap:12px}.dialog-head{padding:20px 20px 12px}.dialog-body{padding:0 20px 20px}.dialog-head h2{font-size:1.2rem}.form-grid{gap:0 12px}.result-list{grid-template-columns:repeat(3,minmax(0,1fr))}.empty{padding:28px 16px}.category-label{font-size:.6875rem}.pagehead .button-row .btn{padding:10px}.pagehead .button-row .btn span{display:none}}@media(max-width:360px){.workspace{padding-left:12px;padding-right:12px}.suggestion-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.form-grid{grid-template-columns:1fr}.wide{grid-column:auto}.item-row .food-art{width:34px;height:34px}.pantry-grid{grid-template-columns:1fr}}
@media(max-width:700px){.aside{order:2}.suggestion-wrap:nth-child(n+5){display:none}.suggestion{font-size:.875rem}.check-button,.edit-button{width:44px;min-width:44px}.pagehead h1{overflow-wrap:anywhere}.pagehead>div:first-child{min-width:0}.item-price small{font-size:.6875rem}.suggestions .section-heading .muted{font-size:.75rem}.suggestion small{font-size:.6875rem}.stock{font-size:.75rem}.pagehead .button-row{flex-shrink:0}}
/* Keep page headers in a stable position as lists grow or empty. */
.workspace{margin:0 auto}
