:root{--green:#087d39;--dark-green:#063d2c;--mint:#e7f5e9;--mint-strong:#d7eddc;--bg:#fbfcfb;--card:#fff;--text:#171e28;--muted:#637083;--line:#e5ece8;--search:#f0f3f3;--shadow:0 4px 18px #12332105;font-family:"Segoe UI",Arial,sans-serif;font-size:16px;color:var(--text);background:var(--bg);font-synthesis:none;color-scheme:light}*{box-sizing:border-box}body{margin:0}h1,h2,h3,p{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0}button:disabled{opacity:.4;cursor:default}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #58b77e;outline-offset:3px}a{color:var(--green)}input,select,textarea{min-width:0;color:var(--text);background:var(--card);border:1px solid var(--line);border-radius:10px;padding:12px}input::placeholder{color:var(--muted)}.icon{width:24px;height:24px;flex-shrink:0;vertical-align:middle}.app-shell{max-width:1030px;margin:auto;padding:0 34px;min-height:100vh}.connection-bar{height:67px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line)}.wordmark{font-weight:700;text-decoration:none;font-size:17px;letter-spacing:-.6px;color:var(--dark-green)}.wordmark span{font-size:10px;color:var(--muted);letter-spacing:.2px;margin-left:13px;font-weight:400}.connection{font-size:11px;color:var(--green);display:flex;align-items:center;gap:7px}.connection:before{content:"";width:6px;height:6px;border-radius:50%;background:#40a567}.connection.offline{color:#a77a36}.connection.offline:before{background:#a77a36}#main{padding:30px 0 150px;outline:none}.page-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}h1{font-size:2.45rem;letter-spacing:-1.3px;color:var(--dark-green);font-weight:730;line-height:1.15}h2{font-size:1.13rem;font-weight:650;letter-spacing:-.25px;color:var(--dark-green)}h3{font-size:1rem;font-weight:650;line-height:1.35}.context-pill{display:inline-flex;align-items:center;gap:9px;background:var(--mint);border-radius:30px;padding:8px 16px;margin-top:10px;color:var(--dark-green);font-size:.9rem;font-weight:600;max-width:100%;text-align:left}.context-pill span{overflow-wrap:anywhere}.context-pill .icon{width:18px;height:18px}.header-actions{display:flex;gap:10px;flex-shrink:0}.round-button{display:grid;place-items:center;background:#eef3ef;color:var(--dark-green);width:43px;height:43px;border-radius:50%}.round-button:hover{background:var(--mint-strong)}.icon-button{display:inline-grid;place-items:center;width:36px;height:39px;background:transparent;color:var(--muted);border-radius:8px;flex-shrink:0}.icon-button .icon{width:20px;height:20px}.icon-button:hover{background:var(--mint);color:var(--green)}.search-box{display:flex;align-items:center;gap:12px;background:var(--search);border-radius:17px;padding:0 18px;min-height:55px;color:#47576b;margin:0 0 23px}.search-box input{border:0;background:transparent;width:100%;padding:15px 0;font-size:1rem;outline-offset:0}.search-box:focus-within{outline:2px solid #87c6a3}.search-box input:focus-visible{outline:none}.count-grid,.summary-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.stat-card{display:flex;align-items:center;gap:13px;padding:19px;border:1px solid var(--line);background:var(--card);border-radius:15px;box-shadow:var(--shadow)}.stat-card>.icon{width:29px;height:29px;color:#279c4e}.stat-card>div{min-width:0}.stat-card span{font-size:.78rem;color:var(--muted);display:block;line-height:1.4}.stat-card strong{font-size:1.5rem;margin-top:4px;display:block;font-weight:650;line-height:1.25}.stat-card small{font-size:.73rem;color:var(--muted);margin-top:5px;display:block}.circle-check{background:#3aaa50;color:white!important;border-radius:50%;padding:5px;width:31px!important;height:31px!important}.shopping-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:25px}.desktop-summary{position:sticky;top:25px;align-self:start}.desktop-summary .budget-card{padding:22px 18px}.desktop-summary .budget-metrics{display:block}.desktop-summary .budget-metrics>div{padding:11px 0;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.desktop-summary .budget-metrics .icon{display:none}.desktop-summary .budget-metrics strong,.desktop-summary .budget-edit{font-size:1.3rem;margin-top:0}.desktop-summary .budget-metrics span{font-size:.8rem}.desktop-summary .budget-caption{font-size:.7rem;flex-direction:column;align-items:flex-start;gap:6px}.desktop-summary .btn{margin-top:12px}.category-section{margin-bottom:21px}.category-heading{display:flex;align-items:center;gap:11px;background:linear-gradient(100deg,var(--mint),var(--mint-strong));border-radius:14px;padding:13px 16px;width:100%;text-align:left;color:var(--dark-green);min-height:48px}.category-heading .icon{width:22px;height:22px;color:#096933}.category-heading h2{flex:1;min-width:0;overflow-wrap:anywhere}.category-heading>span{font-size:.77rem;white-space:nowrap}.category-heading>.icon:last-child{width:17px}.category-heading .rotated{transform:rotate(180deg)}.category-body{background:var(--card);border-radius:0 0 16px 16px;padding:0 11px}.shopping-row{display:flex;align-items:center;gap:11px;padding:12px 0;border-bottom:1px solid var(--line);min-height:91px}.shopping-row:last-child{border:0}.shopping-check{appearance:none;border:2px solid #203b32;border-radius:6px;flex-shrink:0;width:25px;height:25px;cursor:pointer;padding:0;margin:0;background:var(--card);position:relative}.shopping-check:checked{background:#138e3e;border-color:#138e3e}.shopping-check:checked:after{content:"";position:absolute;left:6px;top:2px;width:7px;height:12px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.product-thumb{display:block;width:63px;height:63px;flex-shrink:0;background-image:url('./assets/products-atlas.png');background-size:600% 400%;background-repeat:no-repeat}.product-thumb.large{width:115px;height:115px;margin:auto}.art-0{background-position:0% 0%}.art-1{background-position:20% 0%}.art-2{background-position:40% 0%}.art-3{background-position:60% 0%}.art-4{background-position:80% 0%}.art-5{background-position:100% 0%}.art-6{background-position:0% 33.3333%}.art-7{background-position:20% 33.3333%}.art-8{background-position:40% 33.3333%}.art-9{background-position:60% 33.3333%}.art-10{background-position:80% 33.3333%}.art-11{background-position:100% 33.3333%}.art-12{background-position:0% 66.6667%}.art-13{background-position:20% 66.6667%}.art-14{background-position:40% 66.6667%}.art-15{background-position:60% 66.6667%}.art-16{background-position:80% 66.6667%}.art-17{background-position:100% 66.6667%}.art-18{background-position:0% 100%}.art-19{background-position:20% 100%}.art-20{background-position:40% 100%}.art-21{background-position:60% 100%}.art-22{background-position:80% 100%}.art-23{background-position:100% 100%}.shopping-info{flex:1;min-width:0}.shopping-info strong{font-size:.93rem;display:block;font-weight:600;overflow-wrap:anywhere;line-height:1.4}.shopping-info span{color:var(--muted);font-size:.8rem;display:block;margin-top:4px;overflow-wrap:anywhere}.shopping-info small{color:var(--muted);font-size:.69rem;display:block;margin-top:3px;line-height:1.4;overflow-wrap:anywhere}.checked .shopping-info strong{text-decoration:line-through;color:#7d858b}.checked .price-chip{color:#7d858b;text-decoration:line-through}.price-chip{border:1px solid var(--line);border-radius:10px;padding:10px 8px;font-size:.8rem;background:var(--card);color:var(--text);min-width:83px;flex-shrink:0}.price-chip.missing{color:var(--muted);border-style:dashed}.shopping-row>.icon-button{width:22px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:43px;border:1px solid transparent;border-radius:10px;padding:10px 17px;font-size:.88rem;font-weight:600}.btn.primary{color:#fff;background:linear-gradient(120deg,#119645,#087b43)}.btn.primary:hover{background:#096e35}.btn.secondary{background:var(--card);border-color:#cce1d1;color:var(--dark-green)}.btn.subtle{background:#f0f6f3;color:#426859;padding:7px 11px;font-weight:450}.btn .icon{width:18px;height:18px}.full{width:100%}.text-link{background:transparent;color:var(--muted);font-size:.8rem;display:inline-flex;align-items:center;gap:5px;padding:3px}.text-link .icon{height:15px;width:15px}.floating-add{display:flex;align-items:center;justify-content:center;background:#00873d;color:#fff;border:1px solid #6cbb90;border-radius:50%;width:62px;height:62px;box-shadow:0 5px 14px #06572e27;position:fixed;bottom:151px;right:max(24px,calc((100vw - 970px)/2));z-index:20}.floating-add>.icon{width:32px;height:32px}.floating-add.labeled{width:auto;border-radius:40px;padding:13px 20px;gap:9px;bottom:97px;font-size:.9rem;font-weight:600}.estimate-bar{position:fixed;left:50%;transform:translateX(-50%);bottom:77px;width:min(963px,calc(100% - 40px));background:#e4f5e5;border:1px solid #cde5cf;border-radius:16px;min-height:57px;padding:12px 20px;display:flex;gap:12px;align-items:center;color:var(--dark-green);z-index:19;font-size:.95rem;box-shadow:0 -8px 15px #fbfcfbcc}.estimate-bar strong{font-size:1.15rem}.estimate-bar>.icon:last-child{margin-left:auto;width:18px}.estimate-bar small{font-size:.7rem;color:#638474;margin-left:auto}.estimate-bar small+.icon{margin-left:0}.mobile-nav{position:fixed;inset:auto 0 0;display:flex;justify-content:center;gap:24px;background:var(--card);border-top:1px solid var(--line);min-height:70px;padding:8px 15px max(8px,env(safe-area-inset-bottom));z-index:25;box-shadow:0 -5px 20px #093d2103}.nav-item{width:100px;display:flex;flex-direction:column;align-items:center;gap:5px;background:transparent;color:#657082;padding:4px 10px;border-radius:10px;font-size:.73rem}.nav-item>.icon{width:25px;height:25px}.nav-item.active{color:var(--green);font-weight:650}.nav-item.active .icon{stroke-width:2.7}.nav-item:hover{background:var(--mint)}.empty-state{text-align:center;padding:37px 20px 50px;background:var(--card);border:1px solid var(--line);border-radius:18px}.empty-state h3{font-size:1.23rem;color:var(--dark-green);margin-top:16px}.empty-state p{color:var(--muted);font-size:.9rem;line-height:1.7;margin:10px auto 20px;max-width:340px}.empty-inline{color:var(--muted);padding:30px 20px;line-height:1.7;font-size:.88rem}.quick-chips{display:flex;gap:9px;overflow-x:auto;scrollbar-width:none;margin:0 0 19px}.chip{display:flex;align-items:center;gap:7px;border:1px solid #d9e9df;background:var(--card);color:#46596c;border-radius:13px;padding:10px 13px;font-size:.8rem;white-space:nowrap}.chip .icon{width:18px;height:18px;color:var(--green)}.filters{display:flex;gap:13px;align-items:flex-end;margin-bottom:15px}.filters label{display:block;flex:1;min-width:0}.filters label>span{display:block;color:var(--muted);font-size:.7rem;margin-bottom:5px}.filters select{width:100%;padding:9px 11px;font-size:.8rem}.favorite-filter{border:1px solid var(--line);height:38px;width:38px}.favorite-filter.active{color:var(--green);background:var(--mint)}.adding-to{color:var(--muted);font-size:.75rem;margin-bottom:22px}.adding-to strong{color:#386950;font-weight:550}.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.section-title h2{font-size:1.25rem}.section-title>span{color:var(--muted);font-size:.77rem}.catalog-results{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:20px}.catalog-row{display:flex;align-items:center;gap:12px;background:var(--card);border:1px solid var(--line);border-radius:14px;padding:15px 12px;min-width:0}.catalog-info{flex:1;min-width:0}.catalog-info h3{font-size:.91rem;overflow-wrap:anywhere}.catalog-info>span{color:#566478;font-size:.73rem;display:block;margin-top:5px}.catalog-info small{font-size:.69rem;color:var(--muted);display:block;margin-top:4px;line-height:1.5}.catalog-row .product-thumb{width:59px;height:59px}.catalog-quantity{width:85px;flex-shrink:0}.stepper{display:flex;align-items:center;border:1px solid var(--line);background:var(--card);border-radius:9px;overflow:hidden;height:33px}.stepper button{background:transparent;flex:1;font-size:1.1rem;color:#445169;height:100%;padding:0}.stepper output{font-size:.8rem;text-align:center;min-width:25px}.size-select{font-size:.68rem;padding:6px 3px;width:100%;margin-top:5px;border-radius:7px;background:var(--card)}.add-product{display:grid;place-items:center;flex-shrink:0;width:39px;height:45px;border-radius:11px;background:linear-gradient(140deg,#129844,#067832);color:#fff}.add-product .icon{width:24px;height:24px}.new-product-panel{background:var(--mint);padding:25px;border-radius:15px;margin:24px 0;display:flex;justify-content:space-between;align-items:center;gap:25px}.new-product-panel p{color:var(--muted);font-size:.85rem;line-height:1.5;margin-top:8px}.new-product-button{display:flex;gap:14px;align-items:center;background:var(--card);border:1px solid var(--line);border-radius:14px;padding:19px;text-align:left;color:var(--dark-green);max-width:440px}.new-product-button>.icon:first-child{background:#e2f3e2;padding:10px;width:47px;height:47px;border-radius:50%}.new-product-button span{flex:1}.new-product-button strong{display:block;font-size:.93rem}.new-product-button small{display:block;font-size:.75rem;color:var(--muted);line-height:1.6;margin-top:5px}.small-note{color:var(--muted);font-size:.76rem;line-height:1.7;margin-top:13px}.attribution{margin-top:27px}.saved-section{margin-top:23px}.saved-row{display:flex;align-items:center;gap:16px;margin-top:9px;padding:15px 17px;border:1px solid var(--line);background:var(--card);border-radius:14px}.saved-row>.product-thumb{width:72px;height:72px}.saved-row>div:not(.saved-actions){flex:1;min-width:0}.saved-row h3{font-size:1rem;overflow-wrap:anywhere}.saved-row p{color:var(--muted);font-size:.83rem;margin-top:5px}.saved-row small{color:var(--muted);font-size:.72rem;line-height:1.5;display:block;margin-top:5px}.saved-actions{display:flex;flex-direction:column;gap:5px;flex-shrink:0;min-width:128px}.saved-actions .btn{font-size:.77rem;min-height:32px;padding:6px 12px}.saved-actions .icon{width:15px;height:15px}.template-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}.template-row{margin:0}.template-row .saved-actions{min-width:90px}.template-row .product-thumb{width:60px;height:60px}.template-row small{font-size:.66rem}.budget-card{padding:25px;border-radius:18px;background:linear-gradient(110deg,#edf9f1,#e3f3e8);margin-bottom:20px;color:var(--dark-green)}.budget-metrics{display:grid;grid-template-columns:1.05fr 1fr 1fr;gap:15px;align-items:center;margin-bottom:23px}.budget-metrics>div{position:relative;border-right:1px solid #d7e8dc;padding-right:12px;min-width:0}.budget-metrics>div:last-child{border:0;padding-right:0}.budget-metrics .icon{display:none}.budget-metrics span{display:block;font-size:.85rem;color:#58786b}.budget-metrics strong,.budget-edit{display:block;font-size:1.7rem;color:var(--text);font-weight:650;letter-spacing:-.5px;margin-top:9px;white-space:nowrap}.budget-edit{padding:0;background:transparent;text-align:left;text-decoration:underline;text-decoration-color:#a1c7ad;text-underline-offset:5px;text-decoration-thickness:1px}.budget-metrics>div:last-child strong{color:#087838}progress{appearance:none;display:block;width:100%;height:13px;background:#cde5d5;border:0;border-radius:20px;overflow:hidden;accent-color:#229d42}progress::-webkit-progress-bar{background:#cde5d5;border-radius:20px}progress::-webkit-progress-value{background:linear-gradient(90deg,#209445,#1a8d3e);border-radius:20px}progress::-moz-progress-bar{background:#239447;border-radius:20px}.budget-caption{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:.78rem;color:#3f6c57;margin-top:12px;line-height:1.5}.exceeded{background:#fff0e6;color:#9b4f28}.exceeded .budget-metrics>div:last-child strong{color:#a84627}.exceeded progress::-webkit-progress-value{background:#bd663c}.summary-stat-grid{gap:12px;margin:21px 0}.summary-stat-grid .stat-card{padding:18px}.summary-stat-grid strong{font-size:1.5rem}.summary-stat-grid strong.quantity-total{font-size:1.08rem;white-space:normal;overflow-wrap:anywhere}.summary-section{margin-top:23px;background:var(--card);border:1px solid var(--line);border-radius:16px;overflow:hidden}.summary-section .category-heading{background:#f0f5f1;border-radius:0;min-height:51px}.category-spending{padding:7px 19px}.spending-row{display:flex;align-items:center;gap:18px;padding:16px 0;border-bottom:1px solid var(--line)}.spending-row:last-child{border:0}.category-symbol{background:var(--mint);color:var(--green);border-radius:13px;width:45px;height:45px;display:grid;place-items:center;flex-shrink:0}.spending-row strong{flex:1;font-size:.9rem;min-width:0;overflow-wrap:anywhere}.spending-row>span:not(.category-symbol){font-size:.85rem;white-space:nowrap}.spending-row small{font-size:.78rem;color:var(--muted);min-width:35px}.spending-row progress{width:120px;height:10px}.history-row{display:flex;gap:17px;align-items:center;margin:0 20px;padding:19px 0;border-bottom:1px solid var(--line)}.history-row:last-child{border:0}.history-row>.icon{background:var(--mint);padding:11px;width:46px;height:46px;color:var(--green);border-radius:12px}.history-row>div{flex:1;min-width:0}.history-row h3{font-size:.94rem;overflow-wrap:anywhere}.history-row p{font-size:.79rem;margin-top:5px;color:var(--muted)}.history-amount{text-align:right;flex:0!important;white-space:nowrap}.history-amount strong{font-size:1rem;font-weight:650}.history-amount small{display:block;font-size:.76rem;margin-top:5px;color:var(--muted)}.month-total{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:22px;border:1px solid var(--line);border-radius:13px;padding:18px 21px}.month-total span{font-size:.77rem;color:var(--muted)}.month-total strong{display:block;color:var(--dark-green);font-size:1.35rem;margin-top:7px}.month-total small{font-size:.75rem;color:var(--muted)}.summary-footer{display:flex;gap:12px;flex-wrap:wrap;margin-top:23px}.profile-card{display:flex;align-items:center;gap:17px;background:var(--card);border:1px solid var(--line);width:100%;border-radius:17px;padding:20px;text-align:left;color:var(--text);margin-bottom:22px}.profile-avatar{width:60px;height:60px;border-radius:50%;background:#c6e3bd;color:#18542e;font-size:1.13rem;display:grid;place-items:center;flex-shrink:0}.profile-card>span:nth-child(2){flex:1}.profile-card strong{display:block;font-size:1.2rem}.profile-card small{display:block;color:var(--muted);font-size:.85rem;margin-top:6px}.profile-card>.icon{color:var(--muted)}.settings-section{margin-bottom:20px}.settings-body{background:var(--card);border:1px solid var(--line);border-top:0;border-radius:0 0 17px 17px;padding:0 16px}.setting-row{display:flex;align-items:center;gap:20px;padding:17px 5px;background:transparent;width:100%;text-align:left;color:var(--text);border-bottom:1px solid var(--line);min-height:80px}.setting-row:last-child{border:0}.setting-row>.icon:first-child{width:25px;height:25px;color:var(--dark-green)}.setting-row>span:nth-child(2){flex:1;min-width:0}.setting-row strong{display:block;font-size:.96rem;font-weight:550;line-height:1.35}.setting-row small{display:block;font-size:.8rem;line-height:1.5;color:var(--muted);margin-top:4px}.setting-value{font-size:.84rem;color:#657082;max-width:140px;text-align:right}.setting-row>.icon:last-child{width:16px;height:16px;color:#657082}.switch{appearance:none;width:46px;height:28px;border:0;border-radius:30px;background:#adb6ae;position:relative;flex-shrink:0;padding:0;cursor:pointer}.switch:before{content:"";position:absolute;left:3px;top:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0002}.switch:checked{background:#269e42}.switch:checked:before{left:21px}.version-label{text-align:center;color:var(--muted);font-size:.75rem;line-height:1.9;margin-top:30px}.skip{position:fixed;top:-70px;left:20px;background:var(--green);color:white;padding:12px;z-index:200;border-radius:8px}.skip:focus{top:10px}.toast{position:fixed;bottom:150px;left:50%;transform:translateX(-50%);background:#0b4931;color:white;border-radius:12px;box-shadow:0 5px 20px #183f2922;padding:13px 17px;z-index:120;font-size:.8rem;display:flex;align-items:center;gap:18px;max-width:calc(100% - 30px);line-height:1.5}.toast[hidden]{display:none}.toast button{background:transparent;font-weight:650;color:#ccf1b9;white-space:nowrap;padding:5px;font-size:.8rem}dialog{padding:0;border:1px solid var(--line);border-radius:20px;color:var(--text);background:var(--card);width:550px;max-width:calc(100% - 24px);max-height:calc(100% - 30px);box-shadow:0 20px 100px #093d2133}dialog::backdrop{background:#1b37295c;backdrop-filter:blur(3px)}#modal-form{padding:28px}.modal-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:22px}.modal-heading h2{font-size:1.35rem}.modal-heading .icon-button{width:33px;height:33px}#modal-form label{display:block;font-size:.83rem;color:var(--muted);margin-top:18px;font-weight:550}#modal-form input,#modal-form select,#modal-form textarea{display:block;width:100%;margin-top:8px;padding:12px;font-size:.95rem}#modal-form label small{font-size:.7rem;font-weight:400}#modal-form p{font-size:.89rem;color:var(--muted);line-height:1.8;margin-top:15px}#modal-form p.small-note{font-size:.75rem}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-columns.three{grid-template-columns:1fr 1fr 1.4fr}.modal-actions{display:flex;justify-content:flex-end;gap:11px;margin-top:27px;border-top:1px solid var(--line);padding-top:20px}.modal-actions .btn{font-size:.83rem}.modal-options{display:grid;gap:7px}.option-row{display:flex;align-items:center;gap:12px;text-align:left;background:#f3f7f3;color:var(--dark-green);border-radius:10px;padding:15px;font-size:.9rem;min-height:47px}.option-row small{margin-left:auto;color:var(--muted);font-size:.7rem}.option-row>.icon:last-child:not(:first-child){width:16px}.danger{color:#b14735}.guide{padding-left:23px;color:var(--muted);font-size:.9rem;line-height:1.8}.guide li{padding:5px}.finish-card{display:flex;align-items:center;flex-direction:column;gap:13px;border-radius:14px;background:var(--mint);padding:25px;color:var(--green)}.finish-card>.icon{width:32px;height:32px}.finish-card strong{font-size:1.15rem}.finish-card span{font-size:.85rem;color:var(--muted)}.history-items{list-style:none;margin:20px 0;padding:0}.history-items li{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding:13px 0;font-size:.83rem}.history-items li strong{white-space:nowrap;font-weight:550}.custom-category-list{display:flex;gap:8px;flex-wrap:wrap}.custom-category-list span{padding:8px 13px;border-radius:8px;background:var(--mint);font-size:.84rem;color:var(--dark-green)}.storage-warning,.error-card{background:#fff4e6;border:1px solid #e8c18f;color:#8a602b;border-radius:12px;padding:18px;line-height:1.7;margin-bottom:20px;font-size:.85rem}.error-card .btn{margin-top:15px;margin-right:10px}#form-error{border-radius:10px;background:#fff0e6;color:#a24530!important;padding:10px 13px;font-size:.83rem!important}.loading{color:var(--green);text-align:center;padding:70px}textarea{resize:vertical}.install-guide h3{margin-top:22px;color:var(--dark-green)}
@media(max-width:850px){.app-shell{max-width:740px;padding:0 23px}.shopping-layout{display:block}.desktop-summary{display:none}.catalog-results{grid-template-columns:1fr}.catalog-row{padding:15px 17px;gap:17px}.catalog-row .product-thumb{width:68px;height:68px}.catalog-info h3{font-size:1rem}.catalog-info>span{font-size:.83rem}.catalog-info small{font-size:.77rem}.catalog-quantity{width:103px}.stepper{height:36px}.size-select{font-size:.75rem}.add-product{width:47px;height:49px}.new-product-panel{display:block}.new-product-button{width:100%;max-width:none;margin-top:20px}.template-grid{grid-template-columns:1fr}.template-row .saved-actions{min-width:128px}.template-row .product-thumb{width:72px;height:72px}.template-row small{font-size:.72rem}.mobile-nav{gap:13px}.estimate-bar{width:min(694px,calc(100% - 40px))}.floating-add{right:max(22px,calc((100vw - 692px)/2))}.summary-stat-grid .stat-card{padding:16px;gap:11px}.budget-metrics strong,.budget-edit{font-size:1.6rem}}
@media(max-width:600px){.app-shell{padding:0 17px}.connection-bar{height:49px}.wordmark{font-size:14px}.wordmark span{display:none}.connection{font-size:10px}#main{padding:24px 0 155px}.page-header{gap:8px;margin-bottom:22px}h1{font-size:1.9rem;letter-spacing:-1px}.header-actions{gap:7px}.round-button{width:36px;height:36px}.round-button .icon{width:20px;height:20px}.context-pill{font-size:.82rem;padding:7px 12px;margin-top:8px;gap:8px}.context-pill .icon{width:16px;height:16px}.search-box{padding:0 15px;border-radius:15px;min-height:52px;margin-bottom:19px}.search-box .icon{width:22px;height:22px}.search-box input{font-size:.93rem;padding:14px 0}.count-grid{gap:8px;margin:18px 0}.stat-card{gap:9px;padding:13px 10px;min-height:76px;border-radius:12px}.stat-card span{font-size:.7rem}.stat-card strong{font-size:1.36rem}.stat-card>.icon{width:25px;height:25px}.circle-check{width:27px!important;height:27px!important}.category-heading{padding:11px 13px;gap:9px;border-radius:12px}.category-heading h2{font-size:1.04rem}.category-heading>span{font-size:.75rem}.category-heading>.icon{width:20px}.shopping-row{gap:9px;min-height:86px;padding:12px 0}.shopping-row .product-thumb{width:52px;height:52px}.shopping-check{width:23px;height:23px;border-radius:5px}.shopping-check:checked:after{left:6px;top:2px;height:11px;width:6px}.shopping-info strong{font-size:.87rem}.shopping-info span{font-size:.76rem}.shopping-info small{font-size:.67rem}.shopping-row>.icon-button{width:20px}.shopping-row .icon-button .icon{width:17px}.price-chip{font-size:.75rem;min-width:74px;padding:9px 6px}.floating-add{width:57px;height:57px;right:20px;bottom:151px}.floating-add>.icon{width:31px;height:31px}.floating-add.labeled{bottom:91px;padding:12px 18px;font-size:.87rem}.estimate-bar{padding:12px 15px;width:calc(100% - 28px);bottom:76px;min-height:56px;font-size:.87rem;gap:9px}.estimate-bar>.icon{width:20px;height:20px}.estimate-bar strong{font-size:1.06rem}.estimate-bar small{font-size:.65rem}.mobile-nav{gap:0;justify-content:space-around;padding:7px 9px max(7px,env(safe-area-inset-bottom));min-height:68px}.nav-item{flex:1;font-size:.69rem;padding:4px;width:auto;max-width:90px;gap:5px}.nav-item .icon{width:24px;height:24px}.catalog-row{gap:10px;padding:13px 12px}.catalog-row .product-thumb{width:57px;height:57px}.catalog-info h3{font-size:.88rem}.catalog-info>span{font-size:.73rem;line-height:1.5}.catalog-info small{font-size:.68rem}.catalog-quantity{width:82px}.stepper{height:31px}.stepper button{font-size:1.08rem;min-width:24px}.stepper output{font-size:.79rem;min-width:24px}.size-select{font-size:.68rem;padding:6px 4px}.add-product{height:42px;width:38px;border-radius:10px}.add-product .icon{width:23px;height:23px}.filters{gap:9px}.filters select{font-size:.73rem}.quick-chips{gap:7px}.chip{font-size:.73rem;padding:9px 11px;border-radius:11px}.chip .icon{width:17px;height:17px}.section-title h2{font-size:1.14rem}.section-title span{font-size:.73rem}.new-product-panel{padding:19px}.new-product-panel h2{font-size:1.15rem}.new-product-button{padding:16px;gap:11px}.new-product-button strong{font-size:.86rem}.new-product-button small{font-size:.73rem}.saved-row{gap:13px;padding:13px 12px}.saved-row>.product-thumb{width:64px;height:64px}.saved-row h3{font-size:.97rem}.saved-row p{font-size:.79rem}.saved-row small{font-size:.69rem}.saved-actions{min-width:103px}.saved-actions .btn{font-size:.73rem;padding:6px 9px}.saved-row>.icon-button{width:20px}.template-row .saved-actions{min-width:96px}.template-row .product-thumb{width:64px;height:64px}.budget-card{padding:21px 18px;border-radius:15px}.budget-metrics{gap:12px;margin-bottom:21px}.budget-metrics>div{padding-right:9px}.budget-metrics span{font-size:.78rem}.budget-metrics strong,.budget-edit{font-size:1.28rem;letter-spacing:-.45px}.budget-caption{font-size:.73rem;gap:8px}.budget-caption>span:last-child{text-align:right}.summary-stat-grid{gap:8px}.summary-stat-grid .stat-card{display:block;padding:14px 10px;min-height:130px}.summary-stat-grid .stat-card>.icon{width:27px;height:27px;margin-bottom:11px}.summary-stat-grid .stat-card span{font-size:.72rem}.summary-stat-grid .stat-card strong{font-size:1.24rem}.summary-stat-grid .stat-card small{font-size:.69rem;line-height:1.5}.summary-stat-grid .quantity-total{font-size:.94rem!important}.category-spending{padding:4px 13px}.spending-row{gap:11px;padding:15px 0}.category-symbol{width:37px;height:40px;border-radius:10px}.category-symbol .icon{width:22px}.spending-row strong{font-size:.79rem}.spending-row>span:not(.category-symbol){font-size:.76rem}.spending-row small{font-size:.7rem;min-width:27px}.spending-row progress{width:68px;height:9px}.history-row{gap:10px;margin:0 13px;padding:18px 0}.history-row>.icon{width:39px;height:42px;padding:9px}.history-row h3{font-size:.86rem}.history-row p{font-size:.74rem}.history-amount strong{font-size:.87rem}.history-amount small{font-size:.68rem}.history-row>.icon-button{width:18px}.summary-section .category-heading h2{font-size:1.01rem}.summary-section .category-heading .text-link{font-size:.72rem}.month-total{padding:16px}.month-total span{font-size:.73rem}.month-total strong{font-size:1.26rem}.month-total small{font-size:.69rem;max-width:100px;text-align:right}.summary-footer .btn{font-size:.8rem}.profile-card{padding:17px;gap:15px;border-radius:15px}.profile-avatar{width:53px;height:53px}.profile-card strong{font-size:1.13rem}.profile-card small{font-size:.77rem}.setting-row{gap:13px;padding:14px 3px;min-height:73px}.setting-row strong{font-size:.91rem}.setting-row small{font-size:.76rem}.setting-value{font-size:.76rem;max-width:90px}.setting-row>.icon:first-child{width:24px;height:24px}.settings-body{padding:0 13px}.settings-section{margin-bottom:19px}.toast{font-size:.79rem;bottom:149px;width:max-content}.modal-heading h2{font-size:1.28rem}#modal-form{padding:24px 20px}.form-columns{gap:12px}.form-columns.three{grid-template-columns:1fr 1fr}.form-columns.three label:last-child{grid-column:1/-1}.modal-actions .btn{padding:10px 14px}dialog{max-height:calc(100% - 24px)}}
@media(max-width:380px){.app-shell{padding:0 13px}h1{font-size:1.7rem}.round-button{width:33px;height:33px}.header-actions{gap:4px}.shopping-row .product-thumb{width:45px;height:45px}.shopping-row{gap:7px}.shopping-info strong{font-size:.82rem}.price-chip{min-width:67px;font-size:.7rem}.catalog-row .product-thumb{width:45px;height:45px}.catalog-row{gap:8px}.catalog-quantity{width:75px}.catalog-info h3{font-size:.82rem}.add-product{width:34px;height:38px}.saved-row{gap:8px}.saved-row>.product-thumb{width:52px;height:52px}.saved-actions{min-width:87px}.saved-row h3{font-size:.86rem}.saved-actions .btn{font-size:.66rem;padding:6px 7px}.budget-metrics strong,.budget-edit{font-size:1.12rem}.budget-metrics span{font-size:.71rem}.spending-row{gap:8px}.spending-row progress{width:45px}.stat-card{gap:7px;padding:12px 8px}.stat-card span{font-size:.64rem}.stat-card>.icon{width:22px;height:22px}.setting-row{gap:10px}.setting-row strong{font-size:.85rem}.setting-row small{font-size:.7rem}.setting-value{font-size:.71rem;max-width:80px}.setting-row>.icon:last-child{width:13px}.estimate-bar small{display:none}}
html[data-font=small]{font-size:14px}html[data-font=large]{font-size:18px}html[data-theme=dark]{--bg:#101b16;--card:#182720;--text:#e5eee8;--muted:#a7b5ad;--line:#2b4034;--search:#25362c;--dark-green:#c6ebd2;--green:#74ce8f;--mint:#213d2b;--mint-strong:#2b4c36;color-scheme:dark}html[data-theme=dark] .budget-card{background:#203d2b}html[data-theme=dark] .budget-metrics span{color:#a9c9b2}html[data-theme=dark] .budget-metrics>div:last-child strong{color:#82d996}html[data-theme=dark] .category-heading .icon{color:#84d59a}html[data-theme=dark] .round-button,html[data-theme=dark] .btn.subtle,html[data-theme=dark] .summary-section .category-heading,html[data-theme=dark] .option-row{background:#253e2e;color:#bfe4c8}html[data-theme=dark] .estimate-bar{background:#22452e;box-shadow:none;border-color:#3c6547}html[data-theme=dark] .search-box,html[data-theme=dark] .catalog-info>span,html[data-theme=dark] .stepper button,html[data-theme=dark] .adding-to strong,html[data-theme=dark] .budget-caption{color:#b4cdbc}html[data-theme=dark] .shopping-check{border-color:#9dccaa}
@media(prefers-color-scheme:dark){html[data-theme=system]{--bg:#101b16;--card:#182720;--text:#e5eee8;--muted:#a7b5ad;--line:#2b4034;--search:#25362c;--dark-green:#c6ebd2;--green:#74ce8f;--mint:#213d2b;--mint-strong:#2b4c36;color-scheme:dark}html[data-theme=system] .budget-card,html[data-theme=system] .round-button,html[data-theme=system] .estimate-bar{background:#203d2b}html[data-theme=system] .budget-metrics span,html[data-theme=system] .budget-caption{color:#b4cdbc}html[data-theme=system] .budget-metrics>div:last-child strong{color:#82d996}}
.estimate-bar{bottom:calc(76px + env(safe-area-inset-bottom))}.floating-add{bottom:calc(151px + env(safe-area-inset-bottom))}.floating-add.labeled{bottom:calc(97px + env(safe-area-inset-bottom))}.toast{bottom:calc(150px + env(safe-area-inset-bottom))}.budget-metrics strong,.budget-edit{white-space:normal;overflow-wrap:anywhere}.price-chip{max-width:110px;overflow-wrap:anywhere}#main{padding-bottom:calc(155px + env(safe-area-inset-bottom))}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}dialog::backdrop{backdrop-filter:none}}
.category-thumb{background-image:none;display:grid;place-items:center;background:var(--mint);border-radius:14px;color:var(--green)}.category-thumb>.icon{width:28px;height:28px}
.product-thumb[class*="art-produce-"]{background-image:url('./assets/produce-atlas.png');background-size:600% 600%}
.product-thumb[class*="art-pantry-"]{background-image:url('./assets/pantry-atlas.png');background-size:600% 600%}
.list-controls{display:flex;align-items:flex-end;gap:16px;margin:-3px 0 18px}.list-controls>label:first-child{flex:1;max-width:260px;min-width:0;color:var(--muted);font-size:.72rem}.list-controls select{display:block;width:100%;margin-top:6px;padding:10px;font-size:.82rem}.pending-control{display:flex;align-items:center;gap:8px;font-size:.82rem;min-height:41px;cursor:pointer;white-space:nowrap}.pending-control input,.purchase-checkbox input{accent-color:var(--green);width:20px;height:20px;padding:0;margin:0;flex-shrink:0}
.catalog-sort{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:.75rem;margin-bottom:14px}.catalog-sort select{font-size:.8rem;padding:8px 10px}
.price-product{display:flex;align-items:center;gap:15px;margin-bottom:18px}.price-product>div{min-width:0;flex:1}.price-product strong{display:block;overflow-wrap:anywhere}.price-product small{display:block;margin-top:6px;color:var(--muted)}.last-price{padding:13px 15px;background:var(--mint);border-radius:12px;margin-top:16px;font-size:.9rem;line-height:1.7}.last-price small{color:var(--muted)}.price-comparison{margin-top:14px;font-size:.85rem;line-height:1.7}.price-comparison[data-trend=up]{color:#a14f20}.price-comparison[data-trend=down]{color:var(--green)}#modal-form .purchase-checkbox{display:flex;align-items:center;gap:10px;margin-top:21px;font-size:.9rem}

.art-produce-0,.art-pantry-0{background-position:0% 0%}.art-produce-1,.art-pantry-1{background-position:20% 0%}.art-produce-2,.art-pantry-2{background-position:40% 0%}.art-produce-3,.art-pantry-3{background-position:60% 0%}.art-produce-4,.art-pantry-4{background-position:80% 0%}.art-produce-5,.art-pantry-5{background-position:100% 0%}.art-produce-6,.art-pantry-6{background-position:0% 20%}.art-produce-7,.art-pantry-7{background-position:20% 20%}.art-produce-8,.art-pantry-8{background-position:40% 20%}.art-produce-9,.art-pantry-9{background-position:60% 20%}.art-produce-10,.art-pantry-10{background-position:80% 20%}.art-produce-11,.art-pantry-11{background-position:100% 20%}.art-produce-12,.art-pantry-12{background-position:0% 40%}.art-produce-13,.art-pantry-13{background-position:20% 40%}.art-produce-14,.art-pantry-14{background-position:40% 40%}.art-produce-15,.art-pantry-15{background-position:60% 40%}.art-produce-16,.art-pantry-16{background-position:80% 40%}.art-produce-17,.art-pantry-17{background-position:100% 40%}.art-produce-18,.art-pantry-18{background-position:0% 60%}.art-produce-19,.art-pantry-19{background-position:20% 60%}.art-produce-20,.art-pantry-20{background-position:40% 60%}.art-produce-21,.art-pantry-21{background-position:60% 60%}.art-produce-22,.art-pantry-22{background-position:80% 60%}.art-produce-23,.art-pantry-23{background-position:100% 60%}.art-produce-24,.art-pantry-24{background-position:0% 80%}.art-produce-25,.art-pantry-25{background-position:20% 80%}.art-produce-26,.art-pantry-26{background-position:40% 80%}.art-produce-27,.art-pantry-27{background-position:60% 80%}.art-produce-28,.art-pantry-28{background-position:80% 80%}.art-produce-29,.art-pantry-29{background-position:100% 80%}.art-produce-30,.art-pantry-30{background-position:0% 100%}.art-produce-31,.art-pantry-31{background-position:20% 100%}.art-produce-32,.art-pantry-32{background-position:40% 100%}.art-produce-33,.art-pantry-33{background-position:60% 100%}.art-produce-34,.art-pantry-34{background-position:80% 100%}.art-produce-35,.art-pantry-35{background-position:100% 100%}
#modal-form .purchase-checkbox input{width:20px;height:20px;padding:0;margin:0;display:inline-block;flex:0 0 20px}
#modal-form .price-comparison[data-trend=up]{color:#a14f20}#modal-form .price-comparison[data-trend=down]{color:var(--green)}
html[data-theme=dark] #modal-form .price-comparison[data-trend=up]{color:#edac75}
.shopping-item+.shopping-item{border-top:1px solid var(--line)}.shopping-item .shopping-row{border-bottom:0}.last-memory{display:block!important;font-size:.7rem!important;line-height:1.55;margin-top:5px;color:var(--muted);overflow-wrap:anywhere}.memory-package{font-size:inherit!important;display:inline!important}.catalog-info .last-memory{max-width:100%}.inline-price-form{padding:12px 14px 15px;margin:0 0 12px;background:var(--mint);border:1px solid var(--line);border-radius:12px}.inline-price-fields{display:grid;grid-template-columns:1fr 1.15fr;gap:12px}.inline-price-fields label{display:flex;flex-direction:column;gap:7px;font-size:.77rem}.inline-price-fields input{min-width:0;width:100%;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--card);color:var(--text);font:inherit;font-size:.85rem}.inline-price-preview{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:8px;min-height:25px;margin:5px 0}.inline-price-form>small{font-size:.72rem;line-height:1.5;color:var(--muted)}.inline-price-actions{display:flex;align-items:center;justify-content:flex-end;gap:22px;margin-top:10px}.inline-price-actions .btn{padding:9px 14px;font-size:.8rem}.inline-price-error{font-size:.78rem;color:#b12e29}.price-line-total{display:block;color:var(--muted);font-size:.78rem;margin-top:6px}.price-comparison{display:block;line-height:1.6}.price-comparison[data-trend=up],#modal-form .price-comparison[data-trend=up]{color:#b12e29}.price-comparison[data-trend=down],#modal-form .price-comparison[data-trend=down]{color:#167536}.price-comparison[data-trend=same]{color:var(--muted)}.price-change-list{list-style:none;padding:0;margin:0}.price-change-list li{padding:14px 0;border-bottom:1px solid var(--line);line-height:1.7}.price-change-list li>strong,.price-change-list li>small{display:block}.price-change-list li>small{color:var(--muted);font-size:.78rem}.price-change-list li>div{font-size:.83rem}.comparison-card{text-align:left;color:var(--text);font-family:inherit;min-width:0}.comparison-card small{line-height:1.55!important}.comparison-card strong{overflow-wrap:anywhere}.comparison-card:disabled{opacity:1;cursor:default}.summary-stat-grid .comparison-card span{line-height:1.6}.estimate-bar{display:block;min-height:0;padding:11px 15px}.estimate-main{display:flex;align-items:center;gap:9px;padding:0;background:transparent;color:inherit;border:0;width:100%;font:inherit;text-align:left;cursor:pointer}.estimate-main .icon:first-child{width:20px;height:20px;flex-shrink:0}.estimate-main .icon:last-child{margin-left:auto;width:18px;height:18px;flex-shrink:0}.estimate-title{flex:1;font-size:.82rem;line-height:1.7}.estimate-title strong{font-size:1rem}.estimate-bar>progress{width:100%;display:block;height:5px;border:0;margin-top:7px;border-radius:5px;overflow:hidden;accent-color:var(--green)}.estimate-bar>progress::-webkit-progress-bar{background:var(--line);border-radius:5px}.estimate-bar>progress::-webkit-progress-value{background:var(--green);border-radius:5px}.estimate-bar>progress::-moz-progress-bar{background:var(--green);border-radius:5px}.estimate-bar[data-tone=yellow]>progress{accent-color:#bd870d}.estimate-bar[data-tone=yellow]>progress::-webkit-progress-value,.budget-card[data-tone=yellow]>progress::-webkit-progress-value{background:#bd870d}.estimate-bar[data-tone=yellow]>progress::-moz-progress-bar,.budget-card[data-tone=yellow]>progress::-moz-progress-bar{background:#bd870d}.estimate-bar[data-tone=red]>progress{accent-color:#b12e29}.estimate-bar[data-tone=red]>progress::-webkit-progress-value,.budget-card[data-tone=red]>progress::-webkit-progress-value{background:#b12e29}.estimate-bar[data-tone=red]>progress::-moz-progress-bar,.budget-card[data-tone=red]>progress::-moz-progress-bar{background:#b12e29}.estimate-bar[data-tone=red] .estimate-title{color:#b12e29}.budget-link{display:block;margin:3px 0 0 29px;font-size:.72rem}.estimate-details{border-top:1px solid var(--line);margin-top:9px;padding-top:6px}.estimate-details p{display:flex;justify-content:space-between;gap:15px;font-size:.79rem;margin:7px 0}.estimate-details p strong{font-size:.84rem}.estimate-details>div{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:13px}.estimate-details .btn{font-size:.77rem;padding:9px 12px}.estimate-details .text-link{font-size:.75rem}body[data-view=lista] .floating-add{bottom:calc(180px + env(safe-area-inset-bottom))}body[data-view=lista][data-estimate-open=true] .floating-add{bottom:calc(350px + env(safe-area-inset-bottom))}body[data-view=lista][data-estimate-open=true] #main{padding-bottom:calc(365px + env(safe-area-inset-bottom))}
html[data-theme=dark] .price-comparison[data-trend=up],html[data-theme=dark] #modal-form .price-comparison[data-trend=up],html[data-theme=dark] .estimate-bar[data-tone=red] .estimate-title{color:#ff968b}html[data-theme=dark] .price-comparison[data-trend=down],html[data-theme=dark] #modal-form .price-comparison[data-trend=down]{color:#82d996}@media(prefers-color-scheme:dark){html[data-theme=system] .price-comparison[data-trend=up],html[data-theme=system] #modal-form .price-comparison[data-trend=up],html[data-theme=system] .estimate-bar[data-tone=red] .estimate-title{color:#ff968b}html[data-theme=system] .price-comparison[data-trend=down],html[data-theme=system] #modal-form .price-comparison[data-trend=down]{color:#82d996}}
@media(max-width:600px){.last-memory{font-size:.62rem!important}.inline-price-form{padding:11px}.inline-price-fields{gap:8px}.inline-price-fields label{font-size:.7rem}.inline-price-fields input{font-size:.78rem}.summary-stat-grid .comparison-card strong{font-size:1.1rem}.summary-stat-grid .comparison-card span{font-size:.72rem}.summary-stat-grid .comparison-card small{font-size:.66rem}.inline-price-preview .price-comparison{font-size:.75rem}}
body[data-view=lista][data-inline-price=true] .floating-add{display:none}@media(max-width:600px){.budget-metrics{gap:7px}.budget-metrics>div{padding-right:4px}.budget-metrics strong,.budget-edit{white-space:nowrap;overflow-wrap:normal;font-size:1rem;letter-spacing:-.4px}}
.catalog-info .included-label{display:block;color:var(--green);font-size:.74rem;font-weight:650;margin-top:5px}.add-product.included-button{background:var(--mint);color:var(--green);border:1px solid var(--line);opacity:1;cursor:default}@media(max-width:600px){.catalog-info .included-label{font-size:.65rem}}
@media(min-width:1100px){body[data-view=lista] .floating-add{right:24px}}
.catalog-guidance{font-size:.8rem;line-height:1.6;color:var(--muted);margin:-8px 0 22px}
