:root{--cream:#FAF7F2;--navy:#1E3A5F;--mustard:#E8B233;--olive:#6B8B3D;--tomato:#C45439;--ink:#23384c;--muted:#6b756e;--line:#e4e4d9;--white:#fffefa;--green-bg:#edf1e6;--radius:20px;--shadow:0 12px 40px #253a4e0b;color-scheme:light;font-family:'Bricolage Grotesque',Arial,sans-serif;color:var(--ink);background:var(--cream);font-size:15px;line-height:1.5}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}a{color:inherit}button{color:inherit}input,select,textarea{min-width:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--mustard);outline-offset:4px}button{touch-action:manipulation}[hidden]{display:none!important}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:'Funnel Display','Bricolage Grotesque',sans-serif;line-height:1.12;letter-spacing:-.04em}h1{font-size:clamp(2rem,3.7vw,3.7rem);font-weight:600}h2{font-size:1.6rem}h3{font-size:1.25rem}p{margin-bottom:1rem}small{font-size:.8rem}.skip-link{position:fixed;top:10px;left:10px;background:var(--navy);color:white;z-index:100;padding:12px;border-radius:8px;transform:translateY(-200%)}.skip-link:focus{transform:none}.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7;flex-shrink:0}.demo-banner{position:sticky;top:0;z-index:50;padding:9px 20px;text-align:center;background:var(--mustard);color:#42380e;font-size:.83rem;font-weight:700;border-bottom:1px solid #dba72a}.app-shell{display:flex;min-height:100vh}.sidebar{width:254px;flex:0 0 254px;background:#f1f1e8;display:flex;flex-direction:column;padding:35px 20px 24px;border-right:1px solid #e3e5d9;position:sticky;top:0;height:100vh}.is-demo .sidebar{top:40px;height:calc(100vh - 40px)}.brand{display:flex;align-items:center;gap:9px;text-decoration:none;font-size:.93rem;letter-spacing:-.05em;font-weight:700;line-height:1.1}.brand img{object-fit:contain}.brand small{font-size:.53rem;letter-spacing:.17em;display:block;margin-top:7px;font-weight:600}.nav-caption{font-family:'Caveat',cursive;color:var(--olive);font-size:1.5rem;margin:35px 14px 16px}.nav-item{width:100%;border:0;background:transparent;display:flex;align-items:center;gap:14px;text-align:left;padding:15px 13px;border-radius:12px;margin-bottom:7px;font-size:.93rem;font-weight:600;transition:background .15s}.nav-item:hover{background:#e7e9de}.nav-item.active{background:var(--navy);color:white;box-shadow:0 5px 10px #1e3a5f13}.nav-item small{display:block;font-size:.68rem;font-weight:400;margin-top:3px;opacity:.7}.nav-icon{display:flex}.nav-item .icon{width:22px;height:22px}.admin-nav{margin-top:15px;border-top:1px solid var(--line);border-radius:0 0 12px 12px}.sidebar-note{margin:auto 14px 25px;padding-top:45px}.handwritten{display:block;font-family:'Caveat',cursive;font-size:2.1rem;line-height:1.1;color:var(--olive);transform:rotate(-4deg);transform-origin:left}.sidebar-note p{font-size:.78rem;line-height:1.6;color:var(--muted);margin:20px 0 12px}.sidebar-note a{font-size:.7rem;text-decoration:none;border-bottom:1px solid #c5cdb9;padding-bottom:4px}.back-link{font-size:.75rem;text-decoration:none;color:var(--muted);padding:15px 14px 0;border-top:1px solid var(--line)}.workspace{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{min-height:88px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:18px 34px;gap:20px}.location{display:flex;align-items:center;gap:10px;font-size:.78rem;color:var(--muted)}.status-dot{width:7px;height:7px;background:var(--olive);border-radius:50%}.topbar-divider{color:#b8bfb3;margin:0 4px}#current-section{color:var(--navy)}.topbar-actions{display:flex;gap:12px;align-items:center}.member-button{display:flex;align-items:center;gap:9px;background:var(--white);border:1px solid var(--line);border-radius:40px;padding:9px 14px;font-size:.78rem}.member-button .icon{width:17px}.basket-button{display:none;border:1px solid var(--line);background:var(--white);align-items:center;gap:9px;border-radius:50px;padding:10px 13px}.basket-button span:last-child{font-size:.73rem;background:var(--mustard);border-radius:50%;min-width:21px;height:21px;display:grid;place-items:center}.content-layout{display:grid;grid-template-columns:minmax(0,1fr) 298px;gap:30px;padding:34px;align-items:start;flex:1}.content-layout.wide{grid-template-columns:minmax(0,1fr)}.content-layout.wide .cart-panel{display:none}main{min-width:0;outline:none}.eyebrow{font-size:.64rem;letter-spacing:.16em;font-weight:700;text-transform:uppercase;color:var(--olive);margin-bottom:12px}.hero{position:relative;border-radius:var(--radius);background:#e6ebdd;overflow:hidden;min-height:244px;display:flex;align-items:center;margin-bottom:24px}.hero-content{position:relative;z-index:1;width:66%;padding:30px 0 30px 30px}.hero h1{margin:0 0 13px;max-width:390px;font-size:clamp(2rem,3.2vw,3.35rem)}.hero p{font-size:.82rem;line-height:1.6;max-width:270px;margin:0;color:#50604e}.hero-image{position:absolute;width:46%;height:100%;right:0;top:0;object-fit:cover;object-position:55% 50%;mask-image:linear-gradient(to right,transparent,#000 25%)}.hero-stamp{position:absolute;right:18px;bottom:16px;background:var(--mustard);border-radius:50%;height:76px;width:76px;display:grid;place-content:center;text-align:center;transform:rotate(10deg);font-family:'Caveat';font-size:1.05rem;line-height:1;color:#584612;z-index:1}.hero.weekly{background:#eee3d7}.hero.weekly .eyebrow{color:var(--tomato)}.hero.weekly p{color:#785d4d}.hero.weekly .hero-image{opacity:.85}.quick-start{display:flex;gap:20px;padding:0 1px 23px;justify-content:space-between}.quick-start span{display:flex;align-items:center;gap:7px;font-size:.67rem;color:var(--muted)}.quick-start b{width:21px;height:21px;border-radius:50%;display:grid;place-items:center;background:#e9eddc;color:var(--olive);font-size:.65rem;flex-shrink:0}.toolbar{display:flex;align-items:center;gap:9px;margin-bottom:15px}.search-box{display:flex;align-items:center;gap:9px;flex:1;background:var(--white);border:1px solid var(--line);border-radius:12px;padding:10px 13px;min-width:0}.search-box .icon{color:#8d9686;width:18px;height:18px}.search-box input{padding:0;outline:0;border:0;width:100%;background:transparent;font-size:.8rem}.tool-button{border:1px solid var(--line);background:var(--white);border-radius:12px;display:flex;align-items:center;justify-content:center;gap:7px;padding:10px;font-size:.75rem;height:43px}.tool-button .icon{width:19px}.tool-button:hover{border-color:#96a581}.categories{display:flex;gap:7px;margin:0 0 23px;overflow:auto;scrollbar-width:thin;padding-bottom:5px}.category-chip{border:1px solid var(--line);background:transparent;white-space:nowrap;border-radius:30px;padding:7px 13px;font-size:.69rem;transition:background .15s}.category-chip.active{background:var(--navy);border-color:var(--navy);color:white}.category-chip:hover:not(.active){background:#eaeddf}.section-heading{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:17px;gap:12px}.section-heading h2{font-size:1.25rem;margin:0}.section-heading>span{font-size:.68rem;color:var(--muted)}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.product-card{background:var(--white);border:1px solid var(--line);border-radius:16px;overflow:hidden;display:flex;flex-direction:column;position:relative;transition:transform .18s,box-shadow .18s}.product-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.product-photo{width:100%;height:150px;object-fit:cover;background:#ecece2;display:block}.product-image-button{padding:0;border:0;background:transparent;width:100%;text-align:left}.product-badge{position:absolute;top:10px;left:10px;border-radius:20px;padding:4px 8px;background:#fffefae8;font-size:.55rem;color:#4d6240;max-width:calc(100% - 20px)}.product-body{padding:14px;display:flex;flex-direction:column;flex:1}.product-supplier{font-size:.59rem;color:var(--muted);margin-bottom:6px;line-height:1.4}.product-title{font-size:.97rem;margin:0 0 7px;line-height:1.2;letter-spacing:-.02em}.product-title button{border:0;padding:0;background:none;text-align:left;font:inherit}.product-origin{font-size:.61rem;color:#78816f;display:flex;gap:4px;align-items:center;margin-bottom:18px}.product-origin .icon{width:11px;height:11px}.product-bottom{display:flex;justify-content:space-between;gap:5px;align-items:end;margin-top:auto}.product-price{font-size:1rem;font-weight:700;letter-spacing:-.04em}.product-price small{font-size:.6rem;font-weight:400;color:var(--muted);letter-spacing:0}.price-pending{font-size:.7rem;line-height:1.4;color:var(--muted)}.add-button{height:34px;width:34px;border-radius:50%;border:1px solid #d8dfc9;background:#edf1e6;color:var(--olive);display:grid;place-items:center;flex-shrink:0}.add-button:hover{background:var(--olive);color:white}.add-button .icon{width:18px}.origin-note{display:flex;align-items:center;gap:15px;border:1px dashed #cbd3bd;border-radius:13px;padding:18px;margin-top:25px;color:var(--olive)}.origin-note p{font-size:.72rem;color:var(--muted);margin:0}.origin-note .icon{width:28px;height:28px}.origin-note strong{display:block;color:var(--navy);margin-bottom:3px;font-size:.78rem;font-weight:600}.cart-panel{position:sticky;top:25px;border:1px solid var(--line);background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.cart-heading{padding:22px 20px 17px;display:flex;justify-content:space-between;align-items:center}.cart-heading h2{font-size:1.35rem;margin:0}.cart-heading span{font-size:.7rem;color:var(--muted)}.cart-close{display:none}.cart-tabs{display:flex;padding:0 18px 15px;gap:4px;border-bottom:1px solid var(--line)}.cart-tab{width:50%;border:0;background:none;font-size:.68rem;border-radius:8px;padding:8px 4px;color:var(--muted)}.cart-tab.active{background:var(--green-bg);color:var(--olive);font-weight:600}.cart-empty{text-align:center;padding:35px 25px 38px;color:var(--muted)}.empty-basket-icon{height:62px;width:62px;background:#f0f1e8;border-radius:50%;display:grid;place-items:center;margin:0 auto 15px;color:#95a17f}.empty-basket-icon .icon{width:27px;height:27px}.cart-empty strong{font-weight:500;font-size:.88rem;color:var(--navy);display:block;margin-bottom:7px}.cart-empty p{font-size:.72rem;line-height:1.7;margin:0}.cart-lines{padding:3px 18px;max-height:41vh;overflow:auto}.cart-line{display:grid;grid-template-columns:41px minmax(0,1fr) auto;gap:10px;padding:15px 0;border-bottom:1px solid #eeeee5;align-items:center}.cart-line:last-child{border:0}.cart-line img{height:43px;width:41px;border-radius:8px;object-fit:cover}.cart-line-name{font-size:.73rem;font-weight:600;display:block;line-height:1.3}.cart-line-detail{font-size:.64rem;color:var(--muted);display:flex;align-items:center;gap:8px;margin-top:5px}.text-link{border:0;background:transparent;text-decoration:underline;text-underline-offset:3px;padding:0;font-size:inherit;color:var(--olive)}.cart-line-price{font-size:.74rem;text-align:right}.remove-line{border:0;background:transparent;color:#9b9d91;padding:3px 0 3px 7px;display:block;margin-left:auto}.remove-line .icon{width:13px;height:13px}.cart-summary{border-top:1px solid var(--line);padding:19px}.cart-subtotal{display:flex;justify-content:space-between;gap:10px;font-size:.81rem;align-items:baseline;margin-bottom:5px}.cart-subtotal strong{font-size:1.45rem;letter-spacing:-.05em}.cart-summary .fine-print{font-size:.62rem;line-height:1.6;margin:0 0 17px;color:var(--muted)}.button{border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:9px;text-decoration:none;border-radius:11px;padding:12px 17px;font-size:.8rem;font-weight:600;min-height:44px}.button.primary{background:var(--navy);color:white}.button.primary:hover{background:#2e5074}.button.olive{background:var(--olive);color:white}.button.secondary{border-color:var(--line);background:var(--white)}.button.secondary:hover{border-color:#a6b197}.button.mustard{background:var(--mustard);color:#4f3d0b}.button.danger{background:#f6e7e1;color:var(--tomato)}.button.full{width:100%}.button.small{min-height:34px;padding:7px 12px;font-size:.7rem}.button .icon{width:17px;height:17px}.cart-member{background:#f4f5ed;padding:15px 18px;font-size:.68rem;color:var(--muted);display:flex;gap:9px}.cart-member .icon{width:15px;height:15px;color:var(--olive)}.cart-member strong{display:block;color:var(--navy);font-weight:600;margin-bottom:2px}.cart-notice{border-radius:9px;background:#fbf3de;padding:10px;font-size:.66rem;color:#7b6727;line-height:1.6;margin:0 0 12px}.cart-note{font-size:.67rem;display:block;margin-bottom:12px;color:var(--muted)}.cart-note input{margin-top:5px;width:100%;padding:9px;border:1px solid var(--line);border-radius:8px;background:white;font-size:.72rem}.app-footer{border-top:1px solid var(--line);padding:20px 34px;display:flex;justify-content:space-between;gap:10px;color:#8a9085;font-size:.65rem}.app-footer div{display:flex;gap:15px}.app-footer a{text-decoration:none}.service-notice,.connection-notice{margin:20px 34px 0;border:1px solid #e3d8ac;background:#fbf4de;border-radius:12px;padding:13px 17px;font-size:.78rem;color:#79662a;line-height:1.7}.connection-notice{border-color:#ecc9c0;background:#faeee9;color:#924b39}.notice{border-radius:12px;padding:15px 18px;background:var(--green-bg);color:#516a34;font-size:.79rem;margin-bottom:20px;line-height:1.7}.notice.warning{background:#fbf3de;color:#7b6727}.notice.error{background:#faeae4;color:#9b4a35}.notice p:last-child{margin-bottom:0}.pickup-card{border-radius:13px;background:#fff9f0;border:1px solid #eaddc9;display:flex;align-items:center;gap:13px;padding:16px 18px;margin-bottom:20px;font-size:.76rem}.pickup-card .icon{color:var(--tomato);width:28px;height:28px}.pickup-card strong{display:block;font-size:.85rem;font-weight:600}.pickup-card small{font-size:.69rem;color:var(--muted);display:block;margin-top:3px}.loading-state,.empty-state{text-align:center;padding:70px 20px;color:var(--muted)}.loading-state p{font-size:.8rem;margin-top:15px}.spinner{display:inline-block;width:25px;height:25px;border:2px solid #dce2ce;border-top-color:var(--olive);border-radius:50%;animation:spin .8s linear infinite}.empty-state h2{color:var(--navy);font-size:1.4rem;margin-bottom:10px}.empty-state p{max-width:440px;margin:0 auto 20px;font-size:.85rem}.empty-state .icon{height:38px;width:38px;color:var(--olive);margin-bottom:15px}@keyframes spin{to{transform:rotate(360deg)}}
dialog{border:1px solid var(--line);border-radius:24px;padding:0;background:var(--white);color:var(--ink);box-shadow:0 30px 100px #172c4355;max-width:calc(100% - 30px);max-height:calc(100dvh - 40px);width:520px}dialog::backdrop{background:#1e354a70;backdrop-filter:blur(3px)}.dialog-top{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:22px 25px 0}.dialog-top .eyebrow{margin-bottom:0}.icon-button{background:transparent;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;width:32px;height:32px;flex-shrink:0}.icon-button .icon{width:16px;height:16px}.dialog-body{padding:20px 25px 25px}.dialog-body h2{font-size:2rem;margin-bottom:10px}.dialog-subtitle{font-size:.82rem;color:var(--muted);line-height:1.7}.dialog-product-identity{display:flex;gap:18px;align-items:center;margin-bottom:20px}.dialog-product-identity img{width:90px;height:90px;border-radius:13px;object-fit:cover}.dialog-product-identity h2{font-size:1.7rem;margin-bottom:6px}.dialog-product-identity p{font-size:.72rem;color:var(--muted);margin:0 0 3px}.dialog-product-identity strong{font-size:.95rem}.product-description{font-size:.77rem;line-height:1.7;color:var(--muted)}.allergen-note{font-size:.67rem;color:var(--muted);border-top:1px solid var(--line);padding-top:12px;margin:16px 0}.weigh-mode{display:flex;background:#f0f1e9;border-radius:10px;padding:4px;margin:20px 0 17px}.weigh-mode button{width:50%;border:0;background:transparent;border-radius:7px;font-size:.73rem;padding:9px;color:var(--muted)}.weigh-mode button.active{background:white;box-shadow:0 2px 4px #00000008;color:var(--navy);font-weight:600}.form-field{display:block;margin-bottom:15px;font-size:.75rem;font-weight:600}.form-field>span{display:block;margin-bottom:7px}.form-field input,.form-field select,.form-field textarea,.admin-product input,.admin-product select{width:100%;border:1px solid #dce0d2;border-radius:9px;padding:11px 12px;background:white;color:var(--ink);font-size:.85rem}.form-field textarea{min-height:80px;resize:vertical}.form-field small{display:block;margin:5px 0 0;color:var(--muted);font-weight:400;font-size:.65rem;line-height:1.5}.input-row{display:flex;gap:12px}.input-row>*{flex:1;min-width:0}.measurement-input{position:relative}.measurement-input input{font-size:1.45rem;padding-right:50px;font-weight:600;letter-spacing:-.04em}.measurement-input>span{position:absolute;right:14px;top:15px;color:var(--muted);font-size:.8rem;font-weight:400}.weight-result{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:17px;background:var(--green-bg);border-radius:12px;margin:14px 0 20px}.weight-result>div:first-child{font-size:.69rem;color:#65744f}.weight-result strong{display:block;color:var(--olive);font-size:1.1rem;margin-top:3px}.weight-result>strong{font-size:1.8rem;letter-spacing:-.06em}.dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}.dialog-actions>*{flex:1}.form-error{color:#a94a34;background:#f9eae4;border-radius:9px;padding:11px 13px;font-size:.75rem;margin:0 0 15px;line-height:1.6}.form-success{color:var(--olive);background:var(--green-bg);border-radius:9px;padding:12px;font-size:.78rem}.auth-switch{display:flex;gap:4px;padding:4px;border-radius:10px;background:#eff1e7;margin-bottom:22px}.auth-switch button{width:50%;border:0;background:none;border-radius:8px;padding:10px;font-size:.75rem}.auth-switch button.active{background:white;color:var(--navy);box-shadow:0 2px 7px #00000008}.checkbox-label{display:flex;gap:10px;align-items:start;font-size:.72rem;color:var(--muted);line-height:1.6;margin-bottom:20px}.checkbox-label input{margin-top:5px;accent-color:var(--olive);width:17px;height:17px;flex-shrink:0}.scan-video{width:100%;border-radius:14px;background:#1e3a5f;max-height:260px;object-fit:cover}.scan-status{font-size:.75rem;color:var(--muted);margin-top:10px}.voice-example{font-family:'Caveat',cursive;font-size:1.7rem;color:var(--olive);margin:20px 0}.voice-result{padding:15px;background:#f0f3e8;border-radius:12px;font-size:.85rem;margin-top:15px}.voice-pulse{background:#f9e9e3;border:1px solid #e7c5b8;color:var(--tomato)}.receipt-mark{width:66px;height:66px;border-radius:50%;background:var(--green-bg);display:grid;place-items:center;margin-bottom:20px;color:var(--olive)}.receipt-mark .icon{width:32px;height:32px}.receipt-line{display:flex;justify-content:space-between;gap:20px;padding:11px 0;border-bottom:1px solid var(--line);font-size:.8rem}.receipt-line small{display:block;font-size:.65rem;color:var(--muted);margin-top:4px}.receipt-total{display:flex;justify-content:space-between;font-size:1.15rem;font-weight:600;padding:18px 0}.toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);z-index:110;background:var(--navy);color:white;border-radius:12px;padding:13px 22px;box-shadow:0 8px 35px #1e3a5f33;font-size:.8rem;max-width:calc(100% - 30px);width:max-content;text-align:center}.toast.error{background:var(--tomato)}.page-intro{margin-bottom:25px}.page-intro h1{font-size:2.7rem;margin-bottom:12px}.page-intro p{max-width:650px;font-size:.85rem;color:var(--muted);line-height:1.7}.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:28px}.balance-card{padding:28px;border-radius:18px;background:var(--navy);color:white;position:relative;overflow:hidden}.balance-card:after{content:'✳';position:absolute;right:-12px;bottom:-42px;font-size:180px;color:#ffffff0c;line-height:1}.balance-card .eyebrow{color:#c2d4a5}.balance-amount{font-size:3.3rem;letter-spacing:-.06em;line-height:1.2;margin:8px 0 18px}.balance-card p{font-size:.75rem;color:#d5dfe6;max-width:280px;line-height:1.7;margin-bottom:0}.info-card{padding:25px;border:1px solid var(--line);border-radius:18px;background:var(--white)}.info-card h2{font-size:1.3rem}.info-card p{font-size:.77rem;line-height:1.8;color:var(--muted)}.info-card .badge{margin-bottom:15px}.badge{display:inline-flex;align-items:center;gap:5px;padding:4px 9px;background:var(--green-bg);border-radius:20px;color:var(--olive);font-size:.61rem;font-weight:600}.badge.pending{background:#faf0d6;color:#8e7424}.badge.blocked{background:#fae9e3;color:var(--tomato)}.orders-list{display:grid;gap:12px}.order-card{background:var(--white);border:1px solid var(--line);border-radius:14px;padding:18px 20px}.order-header{display:flex;align-items:start;justify-content:space-between;gap:20px}.order-header h3{font-size:1.05rem;margin:0 0 5px}.order-header small{font-size:.67rem;color:var(--muted)}.order-amount{text-align:right;font-size:1rem;font-weight:600}.order-amount .badge{display:flex;margin-top:5px}.order-card details{font-size:.74rem;margin-top:12px}.order-card summary{cursor:pointer;color:var(--olive)}.order-details{margin-top:10px}.order-detail-line{display:flex;justify-content:space-between;gap:15px;padding:7px 0;color:var(--muted);border-bottom:1px solid #f0f1e9}.ledger{margin-top:28px}.ledger h2{font-size:1.25rem}.ledger-entry{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding:13px 0;font-size:.76rem}.ledger-entry small{color:var(--muted);display:block;font-size:.65rem;margin-top:3px}.positive{color:var(--olive)}.negative{color:var(--tomato)}.admin-tabs{display:flex;gap:8px;margin:20px 0 25px;overflow:auto;padding-bottom:5px}.admin-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:25px}.stat-card{border:1px solid var(--line);padding:20px;border-radius:14px;background:var(--white);font-size:.72rem;color:var(--muted)}.stat-card strong{display:block;font-size:1.9rem;color:var(--navy);margin:5px 0;letter-spacing:-.05em}.admin-panel{background:var(--white);border:1px solid var(--line);border-radius:17px;padding:23px;margin-bottom:20px}.admin-panel h2{font-size:1.3rem}.admin-product{border-bottom:1px solid var(--line);padding:18px 0}.admin-product:last-child{border:0;padding-bottom:0}.admin-product summary{display:flex;justify-content:space-between;gap:15px;cursor:pointer;font-size:.84rem;align-items:center}.admin-product summary small{color:var(--muted);font-size:.68rem;text-align:right}.admin-product form{margin-top:20px}.admin-product .form-field{font-size:.7rem}.admin-product .form-field input,.admin-product .form-field select{padding:9px 10px;font-size:.75rem}.admin-member{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:15px;padding:18px 0;border-bottom:1px solid var(--line);align-items:start}.admin-member:first-of-type{padding-top:0}.admin-member:last-child{border:0;padding-bottom:0}.admin-member strong{font-size:.85rem;display:block}.admin-member small{font-size:.68rem;color:var(--muted);word-break:break-word}.admin-member .badge{margin-top:7px}.member-actions{display:flex;gap:5px;flex-wrap:wrap;justify-content:end;max-width:250px}.admin-order{border-top:1px solid var(--line);padding-top:20px;margin-top:20px}.admin-order:first-of-type{border:0;margin-top:0;padding-top:0}.order-quantity{display:flex;align-items:center;gap:10px;font-size:.73rem;margin:10px 0}.order-quantity span{flex:1}.order-quantity input{width:100px;padding:8px;border:1px solid var(--line);border-radius:7px;font-size:.75rem}.admin-login{max-width:460px;margin:30px auto;padding:30px}.admin-exports{display:flex;gap:10px;flex-wrap:wrap}.noscript{position:fixed;inset:0;background:var(--cream);padding:60px;font-size:1.2rem}.cart-backdrop{position:fixed;inset:0;background:#17304770;border:0;z-index:70}.view-fade{animation:enter .25s ease-out}@keyframes enter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1600px){.content-layout{grid-template-columns:minmax(0,1fr) 330px;gap:38px;padding:40px;max-width:1640px;width:100%;margin:0 auto}.product-photo{height:195px}.hero{min-height:290px}.hero-content{padding:40px}.hero p{max-width:340px}.hero h1{max-width:480px}}
@media(max-width:1250px){.sidebar{width:222px;flex-basis:222px;padding-left:15px;padding-right:15px}.brand{font-size:.81rem}.brand img{width:45px;height:45px}.brand small{font-size:.47rem}.nav-item{padding:14px 10px;gap:11px;font-size:.82rem}.nav-item small{font-size:.61rem}.content-layout{padding:26px;gap:22px;grid-template-columns:minmax(0,1fr) 270px}.topbar{padding:18px 26px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-photo{height:160px}.hero h1{font-size:2.45rem}.hero-content{padding-left:25px}.quick-start{gap:10px}.quick-start span{font-size:.59rem}.tool-label{display:none}.hero-stamp{height:66px;width:66px;font-size:.95rem}}
@media(max-width:1040px){.sidebar{width:190px;flex-basis:190px;padding:28px 12px 20px}.brand{font-size:.73rem;gap:4px}.brand img{width:39px;height:39px}.brand small{font-size:.41rem}.nav-item{font-size:.76rem;gap:9px;padding:14px 8px}.nav-item .icon{height:18px;width:18px}.nav-item small{font-size:.56rem}.sidebar-note{margin-left:8px;margin-right:8px}.content-layout{grid-template-columns:minmax(0,1fr);padding:26px 28px}.cart-panel{display:none}.basket-button{display:flex}.cart-panel.is-open{display:block;position:fixed;right:0;top:0;height:100dvh;max-height:100dvh;width:360px;max-width:94vw;z-index:80;border-radius:20px 0 0 20px;overflow:auto}.is-demo .cart-panel.is-open{top:0}.cart-close{display:grid}.cart-heading{padding-top:25px}.cart-lines{max-height:45dvh}.hero{min-height:250px}.hero h1{font-size:2.9rem}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.product-photo{height:140px}.location{font-size:.69rem}.app-footer{padding:20px 28px}.service-notice,.connection-notice{margin:20px 28px 0}.content-layout.wide .cart-panel.is-open{display:block}}
@media(max-width:800px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-photo{height:165px}.hero h1{font-size:2.5rem}.hero p{max-width:240px}.location>span:last-child,.topbar-divider{display:none}.topbar{min-height:74px;padding:15px 25px}.member-button{font-size:.69rem}.account-grid{grid-template-columns:1fr}.admin-summary{gap:9px}.stat-card{padding:15px;font-size:.65rem}.stat-card strong{font-size:1.5rem}.admin-member{grid-template-columns:1fr}.member-actions{justify-content:start;max-width:none}}
@media(max-width:640px){.app-shell{display:block}.sidebar{position:relative;top:0!important;width:auto;height:auto!important;padding:16px 19px 0;border-right:0;border-bottom:1px solid var(--line);background:var(--cream);display:block}.brand{font-size:1.02rem;gap:9px;max-width:250px}.brand img{height:47px;width:47px}.brand small{font-size:.5rem;letter-spacing:.14em;margin-top:5px}.nav-caption,.sidebar-note,.back-link{display:none}.sidebar nav{display:flex;overflow:auto;margin:17px -5px 0;gap:2px;scrollbar-width:none}.nav-item{display:flex;flex-direction:column;align-items:center;gap:5px;padding:12px 11px;border-radius:0;font-size:.62rem;line-height:1.3;min-width:78px;white-space:nowrap;margin:0;flex:1;position:relative;border:0}.nav-item small{display:none}.nav-item .icon{width:19px;height:19px}.nav-item.active{background:transparent;color:var(--olive);box-shadow:none}.nav-item.active:after{content:'';height:3px;border-radius:3px 3px 0 0;position:absolute;bottom:0;left:15px;right:15px;background:var(--olive)}.admin-nav{margin-top:0;flex:.8}.topbar{padding:13px 19px;min-height:65px;gap:8px}.location{font-size:.64rem;gap:7px}.topbar-actions{gap:7px}.member-button{border:0;background:transparent;padding:7px 3px;font-size:.67rem;gap:5px}.member-button .icon{width:15px}.member-button span:last-child{max-width:97px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.basket-button{border:0;background:var(--green-bg);padding:7px 10px;gap:7px}.basket-button .icon{width:18px}.content-layout{padding:22px 18px;gap:20px}.hero{min-height:230px;margin-bottom:20px;border-radius:17px}.hero-content{padding:25px 0 25px 22px;width:67%}.hero h1{font-size:2.45rem;margin-bottom:12px}.eyebrow{font-size:.57rem;letter-spacing:.13em}.hero p{font-size:.73rem;max-width:208px;line-height:1.65}.hero-image{width:48%;object-position:60% 50%;opacity:.87}.hero-stamp{height:62px;width:62px;right:11px;bottom:13px;font-size:.87rem}.quick-start{padding-bottom:21px;gap:8px}.quick-start b{height:17px;width:17px;font-size:.53rem}.quick-start span{font-size:.57rem;gap:5px;line-height:1.3}.toolbar{gap:7px;margin-bottom:13px}.search-box{padding:10px 11px;gap:7px}.search-box input{font-size:.72rem}.tool-button{padding:10px;width:40px;flex-shrink:0}.categories{margin-bottom:20px;gap:6px}.category-chip{padding:6px 11px;font-size:.64rem}.section-heading{margin-bottom:14px}.section-heading h2{font-size:1.18rem}.section-heading>span{font-size:.59rem}.product-grid{gap:11px}.product-photo{height:145px}.product-body{padding:12px}.product-supplier{font-size:.55rem;min-height:15px}.product-title{font-size:.95rem;line-height:1.22}.product-origin{font-size:.56rem;margin-bottom:13px;align-items:start}.product-origin .icon{margin-top:2px}.product-price{font-size:.95rem}.product-price small{font-size:.56rem}.add-button{width:31px;height:31px}.product-badge{font-size:.51rem;top:8px;left:8px;padding:4px 7px}.origin-note{margin-top:21px;padding:14px;gap:12px}.origin-note strong{font-size:.71rem}.origin-note p{font-size:.65rem}.app-footer{padding:18px;flex-direction:column;font-size:.61rem;gap:8px}.service-notice,.connection-notice{margin:16px 18px 0;font-size:.71rem;padding:12px 14px}.demo-banner{font-size:.69rem;line-height:1.45;padding:9px 10px}.page-intro h1{font-size:2.3rem}.page-intro p{font-size:.78rem}.account-grid{gap:15px}.balance-card{padding:23px}.balance-amount{font-size:3rem}.info-card{padding:21px}.page-intro{margin-bottom:21px}.admin-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.stat-card{padding:12px 9px;font-size:.58rem}.stat-card strong{font-size:1.4rem}.admin-panel{padding:18px}.input-row{gap:10px}.admin-product .input-row{flex-wrap:wrap}.admin-product .input-row>*{flex-basis:43%}.admin-product summary{font-size:.78rem}.admin-product summary small{font-size:.6rem}.order-card{padding:16px}.order-header h3{font-size:.95rem}.order-header small{font-size:.61rem}.dialog-body{padding:18px 21px 22px}.dialog-top{padding:18px 21px 0}.dialog-body h2{font-size:1.75rem}.dialog-product-identity{gap:13px}.dialog-product-identity img{width:72px;height:72px}.dialog-product-identity h2{font-size:1.45rem}.dialog-product-identity p{font-size:.65rem}.measurement-input input{font-size:1.3rem}.dialog-actions{flex-wrap:wrap}.dialog-actions>*{min-width:130px}.pickup-card{padding:13px;font-size:.7rem;gap:10px}.pickup-card strong{font-size:.76rem}.pickup-card small{font-size:.63rem}.admin-login{padding:22px;margin-top:0}.cart-panel.is-open{width:365px}.toast{bottom:17px;font-size:.73rem;padding:12px 17px}.cart-lines{max-height:44dvh}.cart-heading h2{font-size:1.45rem}.admin-tabs{margin-bottom:17px}.order-quantity{font-size:.67rem}.order-quantity input{width:83px}.order-quantity small{font-size:.62rem}}
@media(max-width:360px){.hero h1{font-size:2.05rem}.hero-content{padding-left:18px}.hero p{max-width:185px;font-size:.67rem}.hero-stamp{height:54px;width:54px;font-size:.8rem}.quick-start span{font-size:.51rem}.product-photo{height:125px}.product-body{padding:10px}.product-title{font-size:.85rem}.product-price{font-size:.85rem}.product-price small{font-size:.5rem}.nav-item{padding:11px 7px;font-size:.58rem}.location{font-size:.57rem}.status-dot{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.cart-heading .cart-close{display:none}
@media(max-width:1040px){.cart-heading .cart-close{display:grid}}

.credit-history{border-top:1px solid var(--line);margin-top:26px;padding-top:23px}.credit-history h3{margin-bottom:10px}.credit-history-entry{display:flex;align-items:start;justify-content:space-between;gap:18px;padding:17px 0;border-bottom:1px solid var(--line);font-size:.75rem}.credit-history-entry:last-child{border:0}.credit-history-entry strong{display:block;font-size:1rem;color:var(--navy)}.credit-history-entry small{display:block;font-size:.64rem;color:var(--muted);margin:4px 0}.credit-history-entry>div:last-child{display:flex;flex-direction:column;align-items:end;gap:8px;flex-shrink:0}.ledger-reference{word-break:break-all}.receipt-line small{word-break:break-word}@media(max-width:640px){.credit-history-entry{flex-direction:column;gap:10px}.credit-history-entry>div:last-child{align-items:start;gap:7px}}
