@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+Thai:wght@400;500;600;700&display=swap";
:root{--yellow:#ffd337;--yellow-light:#fff7d9;--orange:#e86b2b;--orange-dark:#be4516;--ink:#292b27;--muted:#777a72;--line:#e8e9e1;--paper:#f7f8f3;--green:#43714d;--red:#b43d35;--font:"DM Sans", "Noto Sans Thai", sans-serif}*{box-sizing:border-box}body{color:var(--ink);background:var(--paper);font-family:var(--font);-webkit-font-smoothing:antialiased;margin:0;font-size:16px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}button{border:0}button:focus-visible,a:focus-visible{outline-offset:4px;outline:3px solid #be4516}input:focus,select:focus,textarea:focus{outline:2px solid var(--orange);outline-offset:1px}h1,h2,h3,p{margin:0}button svg{flex-shrink:0}svg{vertical-align:middle;flex-shrink:0}input,select,textarea{min-width:0}::selection{background:#ffdf6f}.topbar{border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;height:94px;padding:0 42px;display:flex}.brand{align-items:center;gap:13px;display:flex}.brand-mark{background:var(--yellow);border-radius:15px;place-items:center;width:49px;height:53px;display:grid;transform:rotate(-5deg)}.brand-mark svg{transform:rotate(5deg)}.brand strong{letter-spacing:-1px;font-size:23px;font-weight:800;line-height:1.15;display:block}.brand strong span{font-weight:500}.brand-caption{color:var(--muted);letter-spacing:.1px;margin-top:5px;font-size:13px;display:block}.topbar-right{align-items:center;gap:15px;display:flex}.demo-badge{color:#856412;background:#fffae8;border:1px solid #e9d59a;border-radius:5px;padding:4px 8px;font-size:12px}.store-status{align-items:center;gap:8px;font-size:14px;font-weight:500;display:flex}.store-status>span{background:#5c9265;border-radius:50%;width:7px;height:7px}.store-status.closed>span{background:var(--muted)}.topbar-divider{background:var(--line);width:1px;height:24px;margin:0 3px}.icon-button{color:#74776e;background:0 0;border-radius:9px;justify-content:center;align-items:center;min-width:40px;height:40px;display:inline-flex}.icon-button:hover{color:var(--ink);background:#f2f3ed}.kiosk-main{grid-template-columns:minmax(0,1fr) 360px;max-width:1700px;min-height:calc(100vh - 148px);margin:auto;display:grid}.catalog{min-width:0;padding:32px 38px 25px 42px}.catalog-heading{justify-content:space-between;align-items:center;gap:15px;margin-bottom:26px;display:flex}.eyebrow{letter-spacing:2.1px;color:#95978e;margin-bottom:7px;font-size:11px;font-weight:700}.catalog-heading h1{letter-spacing:-1.2px;font-size:39px;font-weight:600;line-height:1.45}.sun-dot{color:var(--orange);margin-left:3px}.catalog-heading p{color:var(--muted);margin-top:1px;font-size:16px}.school-stamp{background:#fff6cb;border:1px solid #d8c263;border-radius:6px;flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;width:111px;height:99px;margin-right:9px;display:flex;transform:rotate(5deg)}.school-stamp>span:first-child{color:#867327;font-size:11px}.school-stamp strong{font-size:28px;font-weight:700;line-height:1.4}.school-stamp>span:last-child{letter-spacing:1px;color:#867327;font-size:7px}.scan-search{background:#fff;border:1px solid #dfe2d8;border-radius:12px;align-items:center;gap:15px;width:100%;height:58px;padding:0 19px;display:flex;box-shadow:0 2px 3px #242a1f03}.scan-search>svg{color:#7a7f70}.scan-search input{background:0 0;border:0;outline:none;flex:1;width:0;height:54px;font-size:16px}.scan-search:focus-within{border-color:var(--orange);box-shadow:0 0 0 2px #f5b28d45}.scan-search button{background:0 0}.scan-label{color:#a2a59c;letter-spacing:1px;align-items:center;gap:6px;font-size:10px;font-weight:600;display:flex}.category-tabs{scrollbar-width:none;gap:9px;margin:24px 0 27px;padding:3px;display:flex;overflow-x:auto}.category-tabs button{white-space:nowrap;background:#fff;border:1px solid #e2e4da;border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:48px;padding:12px 16px;font-size:15px;font-weight:500;display:flex}.category-tabs button:hover{border-color:#ceb34c}.category-tabs button.active{background:var(--yellow);border-color:var(--yellow);font-weight:600}.category-count{background:#fff8c9;border-radius:4px;padding:1px 6px;font-size:11px}.catalog-meta{justify-content:space-between;align-items:center;gap:10px;margin-bottom:16px;display:flex}.catalog-meta h2{align-items:center;gap:10px;font-size:19px;font-weight:600;display:flex}.catalog-meta h2 span{color:var(--muted);font-size:13px;font-weight:400}.catalog-meta>span{color:#83887b;align-items:center;gap:6px;font-size:12px;display:flex}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;display:grid}.product-card{background:#fff;border:1px solid #e3e6dc;border-radius:14px;scroll-margin-block:20px 80px;transition:border-color .15s,box-shadow .15s,transform .15s;position:relative;overflow:hidden}.product-card:hover{border-color:#e3c155;transform:translateY(-2px);box-shadow:0 5px 14px #5353300a}.product-card.keyboard-selected{outline-offset:2px;background:#fff4d2;border-color:#a33712;outline:3px solid #a33712;box-shadow:0 0 0 7px #ffd33755,0 8px 20px #7834111a}.product-card.keyboard-selected.sold-out{opacity:1}.product-card.keyboard-selected.sold-out .product-visual{opacity:.55}.keyboard-selected .in-cart-badge{top:19px;bottom:auto}.product-image-wrap{padding:10px 10px 0;position:relative}.product-visual{color:#7f9d96;background:#edf2ee;border-radius:9px;justify-content:center;align-items:center;height:138px;display:flex;overflow:hidden}.product-visual img{object-fit:cover;width:100%;height:100%;transition:transform .35s}.product-card:hover .product-visual img{transform:scale(1.035)}.visual-snacks{color:#bf8b49;background:#fff0d8}.visual-food{color:#ba7750;background:#fff0e5}.visual-supplies{color:#6f849e;background:#edf0f5}.stock-pill{color:#49684d;background:#fffdf7ee;border-radius:5px;padding:4px 8px;font-size:10px;font-weight:500;position:absolute;top:19px;left:19px;box-shadow:0 1px 2px #00000005}.stock-pill.low{color:#a56327;background:#fff5dcee}.in-cart-badge{background:var(--yellow);border-radius:5px;align-items:center;gap:4px;padding:3px 7px;font-size:12px;font-weight:700;display:flex;position:absolute;bottom:9px;right:19px}.product-info{padding:14px 16px 15px}.product-info h3{letter-spacing:-.4px;font-size:24px;font-weight:600;line-height:1.5}.product-info>p{color:#909387;margin-top:2px;font-size:12px;line-height:1.5}.product-bottom{justify-content:space-between;align-items:center;margin-top:11px;display:flex}.product-bottom>strong{letter-spacing:-.6px;font-size:26px;font-weight:700;line-height:1}.product-bottom>strong>span{color:#94978d;letter-spacing:0;margin-left:6px;font-size:11px;font-weight:400}.product-bottom>button{background:var(--yellow);border-radius:11px;place-items:center;width:42px;height:42px;transition:background .15s;display:grid}.product-bottom>button:hover{background:#ffc20e}.sold-out{opacity:.55}.sold-out .stock-pill{color:#6d7269;background:#fff}.sold-out .product-bottom>button{background:#e7e9e1}.keyboard-qty{color:#fff;pointer-events:none;background:#a33712;border-radius:8px;align-items:center;gap:8px;padding:8px 10px;font-size:14px;font-weight:700;line-height:1.5;display:flex;position:absolute;bottom:8px;left:18px;right:18px;box-shadow:0 2px 8px #292b2733}.keyboard-qty small{font-size:12px;font-weight:500;display:block}.catalog-footnote{letter-spacing:.4px;color:#a0a394;justify-content:space-between;margin-top:26px;font-size:11px;display:flex}.cart-panel{border-left:1px solid var(--line);background:#fff;flex-direction:column;height:calc(100vh - 54px);min-height:590px;max-height:1000px;padding:30px 26px 20px;display:flex;position:sticky;top:0}.cart-heading{justify-content:space-between;align-items:center;display:flex}.cart-heading>div{align-items:center;gap:9px;display:flex}.cart-heading h2{letter-spacing:-.5px;font-size:21px;font-weight:600}.cart-heading>div>span{background:#fff3c2;border-radius:50%;place-items:center;min-width:25px;height:25px;margin-left:2px;font-size:12px;font-weight:600;display:grid}.cart-subtitle{color:#909487;margin-top:6px;font-size:13px}.empty-cart{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;min-height:200px;padding:28px 0 30px;display:flex}.empty-cart-icon{color:#acb09d;background:#f6f7f0;border-radius:50%;place-items:center;width:96px;height:96px;margin-bottom:21px;display:grid;position:relative}.empty-cart-icon>span{background:var(--yellow);color:#685925;border:3px solid #fff;border-radius:50%;place-items:center;width:27px;height:27px;font-size:21px;line-height:1;display:grid;position:absolute;bottom:3px;right:2px}.empty-cart h3{color:#646b5d;margin-bottom:9px;font-size:18px;font-weight:500}.empty-cart p{color:#a0a497;font-size:13px;line-height:1.9}.inline-plus{color:#877425;background:#fff3bf;border-radius:3px;justify-content:center;align-items:center;width:17px;height:17px;display:inline-flex}.cart-lines{flex:1;min-height:150px;margin:18px -7px 18px 0;padding-right:7px;overflow:auto}.cart-line{border-bottom:1px solid #eff0ea;gap:11px;padding:17px 0;display:flex}.cart-line>.product-visual{flex-shrink:0;width:57px;height:66px}.cart-line>.product-visual svg{width:27px}.cart-line-body{flex:1}.cart-line-body h3{font-size:14px;font-weight:600;line-height:1.5}.cart-line-body>span{color:var(--muted);font-size:12px}.cart-line>strong{margin-top:2px;font-size:16px}.quantity-control{border:1px solid #e7e9e1;border-radius:7px;align-items:center;gap:0;height:30px;margin-top:7px;display:inline-flex}.quantity-control button{background:0 0;place-items:center;width:30px;height:28px;display:grid}.quantity-control strong{text-align:center;min-width:21px;font-size:12px}.cart-summary{border-top:1px dashed #dfe3d6;padding-top:21px}.summary-line{color:#828779;justify-content:space-between;gap:12px;margin-bottom:12px;font-size:14px;display:flex}.summary-total{justify-content:space-between;align-items:center;gap:12px;margin:21px 0 23px;display:flex}.summary-total>span{font-size:18px;font-weight:500}.summary-total>strong{letter-spacing:-1.4px;font-size:36px;line-height:1.1}.checkout-button{background:var(--orange);color:#fff;border-radius:11px;justify-content:space-between;align-items:center;width:100%;height:58px;padding:0 20px;scroll-margin-block:20px 80px;font-size:19px;font-weight:600;display:flex;box-shadow:0 5px 12px #e86b2b15}.checkout-button:disabled{color:#a6a89e;opacity:1;box-shadow:none;background:#edece6}.checkout-button:not(:disabled):hover{background:var(--orange-dark)}.checkout-button.keyboard-selected:not(:disabled){outline-offset:3px;background:#a33712;outline:3px solid #a33712;box-shadow:0 0 0 8px #ffd33755}.checkout-button small{font-size:12px;font-weight:500;line-height:1.4;display:block}.checkout-keyboard-hint{color:var(--muted);text-align:center;margin-top:13px;font-size:12px;line-height:1.7}.payment-logos{color:#929689;justify-content:center;align-items:center;gap:7px;margin-top:17px;font-size:11px;display:flex}.dot-separator{margin:0 4px}.cooperative-note{background:#faf9ef;border-radius:9px;align-items:center;gap:12px;margin-top:28px;padding:15px 13px;display:flex}.note-icon{color:#a68d41;border:1px solid #e5dbb7;border-radius:8px;place-items:center;width:31px;height:33px;display:grid}.cooperative-note p{color:#9a9475;font-size:11px;line-height:1.85}.cooperative-note strong{color:#7e795e;font-weight:500}.kiosk-footer{border-top:1px solid var(--line);z-index:3;background:#fff;justify-content:space-between;align-items:center;gap:20px;min-height:54px;padding:10px 40px;display:flex;position:sticky;bottom:0}.kiosk-footer>div{color:#91968a;align-items:center;gap:19px;font-size:11px;display:flex}.kiosk-footer>div>span{white-space:nowrap}.kiosk-footer>div>svg{color:#868d7b}.kiosk-footer kbd{font:11px var(--font);color:#717867;background:#fafbf7;border:1px solid #e3e5dc;border-bottom-width:2px;border-radius:4px;justify-content:center;align-items:center;min-width:21px;min-height:21px;margin-right:4px;padding:0 3px;display:inline-flex}.orange-heart{color:var(--orange);margin-left:4px;font-size:18px}.staff-link{color:var(--orange-dark);align-items:center;font-size:12px;display:flex}.toast{color:#fff;z-index:100;background:#292f25;border-radius:12px;align-items:center;gap:10px;max-width:90vw;padding:14px 22px;font-size:15px;display:flex;position:fixed;bottom:76px;left:50%;transform:translate(-50%);box-shadow:0 6px 25px #0002}.toast svg{color:var(--yellow)}.error-banner{color:#9d3f20;background:#fff2e8;border:1px solid #f0c9b2;border-radius:10px;justify-content:space-between;align-items:center;gap:20px;margin-bottom:16px;padding:14px 18px;font-size:15px;display:flex}.error-banner button{color:inherit;white-space:nowrap;background:0 0;text-decoration:underline}.loading-state,.empty-results{text-align:center;min-height:200px;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:30px;display:flex}.empty-results h3{color:var(--ink);font-size:20px;font-weight:500}.empty-results p{font-size:14px;line-height:1.8}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.modal{width:min(500px,100vw - 28px);max-height:90vh;color:var(--ink);background:#fff;border:1px solid #e6e8e0;border-radius:22px;padding:27px;box-shadow:0 30px 120px #15201840}.modal::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#1c231b77}.modal.wide{width:min(700px,100vw - 28px)}.modal-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px;display:flex}.modal-header h2{font-size:24px;font-weight:600}.modal-close:focus-visible{color:#a33712;outline-offset:2px;background:#fff4d2;outline:3px solid #a33712;box-shadow:0 0 0 6px #ffd33755}.modal>p{line-height:1.7}.modal-actions{justify-content:flex-end;gap:10px;margin-top:24px;display:flex}.primary-button,.secondary-button,.danger-button{border-radius:9px;justify-content:center;align-items:center;gap:10px;min-height:45px;padding:11px 18px;font-size:15px;font-weight:600;display:inline-flex}.primary-button{background:var(--yellow);color:#302a16}.primary-button:hover{background:#f6c323}.secondary-button{background:#fff;border:1px solid #dadfd1}.secondary-button:hover{background:#f7f8f2}.danger-button{color:#fff;background:#b13e32}.full-width{width:100%}.field{margin:15px 0;font-size:14px;font-weight:500;display:block}.field input,.field select,.field textarea{width:100%;height:46px;color:var(--ink);background:#fff;border:1px solid #dfe3d7;border-radius:8px;margin-top:7px;padding:10px 12px;display:block}.field textarea{height:85px}.field .muted{margin-left:5px;font-weight:400}.muted{color:var(--muted);font-size:14px}.center{text-align:center;margin:14px 0}.form-error{color:#a43925;background:#fff0ea;border-radius:8px;margin:13px 0;padding:12px;font-size:14px;line-height:1.7}.checkout-amount{text-align:center;padding:8px 0 20px}.checkout-input-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:26px;display:grid}.settings-wide{grid-column:1/-1}.config-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;display:grid}.config-fields{border:0;min-width:0;margin:20px 0;padding:0}.config-fields legend{margin-bottom:12px;font-weight:600}.config-details{border-top:1px solid var(--line);padding:16px 0}.config-details summary{cursor:pointer;font-weight:600}.config-clear-secret{align-items:center;gap:8px;margin:-4px 0 12px;font-size:12px;display:flex}.config-actions{flex-wrap:wrap}@media (max-width:650px){.config-form-grid{grid-template-columns:1fr}}.student-id-keypad .field{margin:0 0 8px}.student-id-input{font-variant-numeric:tabular-nums;letter-spacing:2px;width:100%;color:var(--ink);background:#fffdf3;border:2px solid #c5cbbd;border-radius:10px;padding:12px 14px;font-size:26px;font-weight:600}.student-id-input::placeholder{letter-spacing:0;color:var(--muted);font-size:19px;font-weight:400}.student-id-help{color:var(--muted);align-items:center;gap:6px;margin:10px 0 12px;font-size:12px;display:flex}.student-number-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:12px;display:grid}.student-number-grid button{touch-action:manipulation;background:#f5f7ef;border:1px solid #d7dccc;border-bottom-width:3px;border-radius:10px;justify-content:center;align-items:center;min-height:52px;font-size:24px;font-weight:600;display:flex}.student-number-grid button:not(:disabled):hover{background:var(--yellow-light);border-color:#c29b24}.student-number-grid button:not(:disabled):active{background:var(--yellow);border-bottom-width:1px}.student-number-grid .student-key-action{color:#9a3e1b;background:#fff1e8;font-size:15px}.student-number-grid button:focus-visible{outline-offset:2px;color:var(--ink);background:#fff4d2;border-color:#a33712;outline:3px solid #a33712;box-shadow:0 0 0 6px #ffd33755}.checkout-payment-details .payment-choices{margin-top:0}.student-id-receipt{overflow-wrap:anywhere;background:#f5f7ef;border-radius:8px;margin:12px 0;padding:10px 12px;font-size:14px}.student-id-receipt strong{font-variant-numeric:tabular-nums}@media (max-width:600px){.checkout-input-grid{grid-template-columns:1fr;gap:22px}}.checkout-amount>span{color:var(--muted);font-size:14px;display:block}.checkout-amount>strong{letter-spacing:-2px;margin-top:3px;font-size:52px;display:block}.payment-choices{grid-template-columns:1fr 1fr;gap:12px;margin:5px 0 20px;display:grid}.payment-choices>button,.payment-choices>.transfer-choice{background:#fff;border:1px solid #dfe2d7;border-radius:12px;flex-direction:column;align-items:center;gap:9px;min-height:135px;padding:20px 10px;display:flex}.payment-choices>button.selected,.payment-choices>.transfer-choice{background:#fff9df;border:2px solid #d8ad15;padding:19px 9px}.payment-choices>button>svg,.transfer-choice>svg{width:28px;height:28px}.payment-choices>button>strong,.transfer-choice>strong{font-size:19px}.payment-choices>button>span,.transfer-choice>span{color:var(--muted);font-size:12px}.payment-choices.transfer-only{grid-template-columns:1fr}.gateway-checklist{margin:16px 0;padding-left:20px;line-height:2}.gateway-url{overflow-wrap:anywhere}.payment-notice{color:#859075;align-items:center;gap:8px;margin:18px 0;font-size:12px;display:flex}.qr-wrap{border:1px solid #e4e6df;border-radius:14px;justify-content:center;width:fit-content;margin:auto;padding:12px;display:flex}.cash-instruction{text-align:center;background:#fff8db;border-radius:14px;margin-bottom:24px;padding:25px 15px}.cash-instruction h3{margin:14px 0 8px;font-size:21px;font-weight:500}.cash-instruction p{color:#8e8051;font-size:14px}.waiting-note{color:#817529;justify-content:center;align-items:center;gap:10px;font-size:14px;display:flex}.small-print{color:var(--muted);font-size:12px}.receipt-heading{text-align:center}.success-icon{color:#4c8556;background:#edf6e9;border-radius:50%;justify-content:center;align-items:center;width:78px;height:78px;margin:6px 0 16px;display:inline-flex}.receipt-heading h3{font-size:25px;font-weight:600}.receipt-heading p{color:var(--muted);margin-top:8px;font-size:14px}.receipt{background:#f9faf6;border:1px solid #e7eade;border-radius:11px;margin:23px 0;padding:20px}.receipt-meta{justify-content:space-between;align-items:center;font-size:13px;display:flex}.receipt-meta span{color:var(--muted);font-size:12px}.receipt>p{color:var(--muted);margin:8px 0 20px;font-size:12px}.receipt .summary-total{border-top:1px dashed #d9ddcf;margin-bottom:0;padding-top:17px}.receipt .summary-total>span{font-size:13px}.receipt .summary-total>strong{font-size:27px}.help-steps{margin:10px 0 22px;padding-left:25px}.help-steps li{padding:9px 0 12px 8px}.help-steps p{color:var(--muted);margin-top:5px;font-size:14px;line-height:1.8}.help-steps+.muted{margin-bottom:18px}.admin-shell{grid-template-columns:245px minmax(0,1fr);min-height:100vh;display:grid}.admin-sidebar{border-right:1px solid var(--line);background:#fff;flex-direction:column;height:100vh;padding:30px 20px;display:flex;position:sticky;top:0}.admin-sidebar .brand{gap:9px;margin:0 0 40px}.brand.small strong{white-space:nowrap;font-size:18px}.brand.small .brand-mark{width:43px;height:47px}.sidebar-label{letter-spacing:2px;color:#acafa5;margin:0 16px 11px;font-size:10px;font-weight:600}.admin-nav{flex-direction:column;gap:7px;display:flex}.admin-nav button{text-align:left;color:#777e6e;background:0 0;border-radius:10px;align-items:center;gap:12px;padding:14px 15px;font-size:15px;display:flex}.admin-nav button.active{background:var(--yellow-light);color:#81691a;font-weight:600}.admin-nav button.active svg{color:#b89722}.admin-nav button>span{background:var(--orange);color:#fff;border-radius:5px;margin-left:auto;padding:1px 6px;font-size:11px}.sidebar-bottom{flex-direction:column;gap:12px;margin-top:auto;padding:20px 10px 0;display:flex}.sidebar-bottom a,.sidebar-bottom button{text-align:left;color:var(--muted);background:0 0;align-items:center;gap:9px;padding:8px 0;font-size:14px;display:flex}.sidebar-profile{border-top:1px solid var(--line);align-items:center;gap:10px;padding:15px 0;display:flex}.profile-avatar{background:var(--yellow);border-radius:50%;place-items:center;width:38px;height:38px;font-size:12px;font-weight:700;display:grid}.sidebar-profile strong{font-size:13px;display:block}.sidebar-profile small{color:var(--muted);font-size:11px}.admin-content{min-width:0}.admin-topbar{border-bottom:1px solid var(--line);color:var(--muted);background:#fff;justify-content:space-between;align-items:center;gap:20px;min-height:78px;padding:23px 36px;font-size:13px;display:flex}.admin-topbar>div{align-items:center;gap:13px;display:flex}.admin-workspace{max-width:1600px;margin:0 auto;padding:32px 36px}.page-heading{justify-content:space-between;align-items:center;gap:18px;margin-bottom:27px;display:flex}.page-heading h1{letter-spacing:-.7px;font-size:29px;font-weight:600}.page-heading-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.page-heading-actions button{white-space:nowrap}.export-description{border:1px solid var(--line);background:#f6f8f2;border-radius:10px;padding:13px 16px;font-size:13px;line-height:1.8}.export-description p{color:var(--muted);margin-top:4px}.export-periods{flex-wrap:wrap;gap:20px;margin:20px 0 6px;display:flex}.export-note{margin-top:10px}.page-heading p{color:var(--muted);margin-top:6px;font-size:14px}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:25px;display:grid}.metric{border:1px solid var(--line);background:#fff;border-radius:13px;min-height:150px;padding:20px}.metric.highlight{background:#ffdc56;border-color:#ebc336}.metric-top{color:#858b7c;justify-content:space-between;align-items:center;gap:10px;font-size:13px;display:flex}.metric.highlight .metric-top{color:#82702e}.metric-top>svg{width:19px;height:19px}.metric>strong{letter-spacing:-1px;margin:13px 0 9px;font-size:32px;line-height:1.3;display:block}.metric>small{color:#999e90;font-size:11px}.metric.highlight>small{color:#8c772e}.admin-columns{grid-template-columns:minmax(0,1.6fr) minmax(270px,1fr);gap:22px;margin-bottom:24px;display:grid}.panel{border:1px solid var(--line);background:#fff;border-radius:13px;min-width:0;padding:23px}.panel-heading{justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px;display:flex}.panel-heading h2{font-size:17px;font-weight:600}.panel-heading>span{color:#9aa090;font-size:11px}.text-button{color:var(--orange-dark);background:0 0;align-items:center;gap:5px;font-size:12px;display:inline-flex}.chart-empty{text-align:center;min-height:140px;color:var(--muted);justify-content:center;align-items:center;font-size:13px;display:flex}.hourly-chart{align-items:flex-end;gap:10px;height:175px;padding-top:10px;display:flex}.chart-column{flex-direction:column;flex:1;justify-content:flex-end;align-items:center;gap:8px;min-width:0;height:100%;display:flex}.chart-column .bar{background:var(--yellow);border-radius:5px 5px 1px 1px;width:100%;max-width:38px;min-height:3px;position:relative}.chart-column .bar:hover{background:var(--orange)}.chart-column>span{color:#9aa08f;font-size:10px}.chart-column .bar>span{color:#7d845a;white-space:nowrap;font-size:10px;position:absolute;top:-18px;left:50%;transform:translate(-50%)}.chart-note{color:#a1a593;margin-top:18px;font-size:11px}.top-item{border-bottom:1px solid #f0f2ea;align-items:center;gap:10px;padding:12px 0;display:flex}.rank{color:#bdc2b4;width:16px;font-size:13px}.top-item>.product-visual{flex-shrink:0;width:41px;height:41px}.top-item>.product-visual svg{width:22px}.top-item>div:last-child{flex:1}.top-item strong{font-size:13px;font-weight:500}.top-item .summary-line{margin:0;font-size:11px;line-height:1.6}.top-item:last-child{border-bottom:0}.table-wrap{overflow:auto}.data-table{border-collapse:collapse;white-space:nowrap;text-align:left;width:100%;font-size:13px}.data-table th{color:#9aa08f;background:#f8f9f4;border-bottom:1px solid #edf0e6;padding:12px 13px;font-size:11px;font-weight:500}.data-table td{vertical-align:middle;border-bottom:1px solid #edf0e6;padding:15px 13px}.data-table tr:last-child td{border-bottom:0}.data-table td:first-child{font-weight:500}.data-table td small{color:#a1a694;margin-top:3px;font-size:11px;display:block}.data-table .row-product{align-items:center;gap:11px;display:flex}.row-product>.product-visual{width:44px;height:44px}.row-product>.product-visual svg{width:24px}.status-badge{color:#61814d;background:#edf5e9;border-radius:5px;align-items:center;gap:5px;padding:4px 9px;font-size:11px;display:inline-flex}.status-badge.pending{color:#ab7c22;background:#fff3d5}.status-badge.cancelled{color:#959b8b;background:#f1f2ed}.status-badge.low{color:#b8733e;background:#fff0e8}.status-badge.out{color:#b46458;background:#f9eae7}.table-actions{align-items:center;gap:4px;display:flex}.table-actions .icon-button{width:33px;min-width:33px;height:33px}.table-actions .primary-button{min-height:34px;padding:7px 11px;font-size:12px}.admin-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-bottom:23px;display:flex}.admin-search{color:#959d87;background:#fff;border:1px solid #e0e5d6;border-radius:9px;align-items:center;gap:9px;width:310px;max-width:100%;min-height:43px;padding:0 13px;display:flex}.admin-search input{background:0 0;border:0;outline:none;width:100%;height:40px;font-size:14px}.filter-tabs{gap:5px;display:flex}.filter-tabs button{color:#9ba18f;background:0 0;border-radius:7px;padding:10px 13px;font-size:12px}.filter-tabs button.active{color:#7e6720;background:#fff0b3}.pagination{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;margin-top:20px;font-size:12px;display:flex}.pagination>div{align-items:center;gap:10px;display:flex}.pagination button{border:1px solid var(--line);background:#fff;border-radius:6px;min-height:32px;padding:6px 10px}.low-stock-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.stock-alert{background:#fffbf2;border:1px solid #f0dec3;border-radius:9px;align-items:center;gap:10px;padding:14px;display:flex}.stock-alert svg{color:#c49e55}.stock-alert strong{font-size:13px;font-weight:500;display:block}.stock-alert span{color:#b89960;font-size:11px}.form-grid{grid-template-columns:1fr 1fr;gap:0 16px;display:grid}.form-grid .span-2{grid-column:span 2}.form-grid .field{margin:7px 0}.budget-value{letter-spacing:-1.6px;margin:10px 0 23px;font-size:46px;font-weight:600}.budget-card{background:var(--yellow);border-color:#e3c553}.settings-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;padding:16px 0;display:flex}.settings-row strong{font-size:15px;display:block}.settings-row p{color:var(--muted);margin-top:4px;font-size:12px}.toggle{background:#d9decf;border-radius:20px;flex-shrink:0;width:47px;height:26px;padding:3px}.toggle>span{background:#fff;border-radius:50%;width:20px;height:20px;transition:transform .2s;display:block}.toggle.on{background:#86a966}.toggle.on>span{transform:translate(21px)}.login-page{background:radial-gradient(at 25% 20%,#ffed9b 0,#0000 45%),#f6f7ee;justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.login-card{background:#fff;border:1px solid #e2e7d5;border-radius:19px;width:420px;max-width:100%;padding:38px;box-shadow:0 14px 50px #6d73300b}.login-card>.brand{justify-content:center;margin-bottom:37px}.login-card h1{text-align:center;font-size:27px;font-weight:600}.login-card>p{color:var(--muted);text-align:center;margin-top:8px;font-size:14px}.login-card form{margin-top:26px}.login-card input{letter-spacing:normal;text-align:left;height:53px;font-size:16px}.staff-login-card{width:480px}.permission-note{color:#69725b;background:#f5f7ee;border-radius:8px;align-items:flex-start;gap:9px;margin:16px 0;padding:13px;font-size:12px;line-height:1.8;display:flex}.permission-note svg{flex-shrink:0;margin-top:3px}.success-banner{color:#4b6b31;background:#f1f7e9;border-radius:8px;align-items:center;gap:8px;margin:14px 0;padding:12px 15px;font-size:13px;display:flex}.role-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:25px;display:grid}.role-cards>div{border:1px solid var(--line);background:#fafbf6;border-radius:9px;padding:16px;font-size:13px}.role-cards p{color:var(--muted);margin-top:7px;line-height:1.8}.panel-heading h2{align-items:center;gap:8px;display:flex}.admin-sidebar{overflow-y:auto}.stock-alert:disabled{cursor:default;opacity:1}@media (max-width:760px){.role-cards{grid-template-columns:1fr}.staff-login-card h1{font-size:24px}}.login-card .primary-button{margin-top:8px}.back-to-shop{color:#9ba389;justify-content:center;align-items:center;gap:7px;margin-top:24px;font-size:13px;display:flex}.demo-login{color:#8f7730;text-align:center;background:#fff8de;border-radius:7px;margin-top:20px;padding:12px;font-size:12px}.barcode-preview{border:1px dashed #d9dece;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;margin-top:17px;padding:20px;display:flex}.barcode-preview svg{max-width:100%;height:auto}.details-items{background:#f7f9f2;border-radius:10px;margin:18px 0;padding:16px}.attribution{color:var(--muted);margin-top:24px;font-size:12px;line-height:1.9}.attribution a{text-decoration:underline}@media (min-width:1600px){.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.kiosk-main{grid-template-columns:minmax(0,1fr) 380px}.product-visual{height:155px}}@media (max-width:1200px){.topbar{padding:0 26px}.kiosk-main{grid-template-columns:minmax(0,1fr) 325px}.catalog{padding:28px 24px}.product-grid{gap:12px}.product-info{padding:11px 12px 13px}.product-info h3{font-size:21px}.product-visual{height:122px}.category-tabs{gap:6px}.category-tabs button{padding:11px 12px;font-size:14px}.cart-panel{padding:26px 21px}.cart-heading h2{font-size:20px}.catalog-meta>span{display:none}.admin-shell{grid-template-columns:215px minmax(0,1fr)}.admin-sidebar{padding:27px 14px}.admin-workspace{padding:26px}.metric-grid{gap:12px}.metric{padding:17px}.metric>strong{font-size:27px}.admin-columns{grid-template-columns:minmax(0,1.3fr) minmax(260px,1fr)}.product-info>p{font-size:11px}.kiosk-footer{padding:10px 24px}.kiosk-footer>div{gap:12px}}@media (max-width:1020px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.school-stamp{display:none}.catalog-heading h1{font-size:34px}.scan-label{display:none}.category-tabs button{padding:10px 12px}.category-tabs button svg,.kiosk-footer>div:last-child>span{display:none}.admin-columns{grid-template-columns:1fr}.admin-shell{grid-template-columns:190px minmax(0,1fr)}.admin-sidebar .brand strong{font-size:17px}.admin-sidebar .brand-mark{width:35px;height:39px}.admin-sidebar .brand{gap:8px}.admin-sidebar .brand-caption{font-size:10px}.metric-grid,.low-stock-list{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-topbar{padding:21px 26px}}@media (max-width:760px){.topbar{height:78px;padding:0 19px}.brand{gap:10px}.brand strong{font-size:20px}.brand-mark{width:42px;height:47px}.brand-caption{font-size:11px}.topbar-right{gap:5px}.topbar-right .store-status,.topbar-divider{display:none}.topbar-right .demo-badge{margin-right:6px;font-size:10px}.topbar-right .icon-button{width:32px;min-width:32px}.kiosk-main{flex-direction:column;display:flex}.catalog{padding:26px 19px}.catalog-heading{margin-bottom:21px}.catalog-heading h1{font-size:34px}.eyebrow{letter-spacing:1.7px;font-size:9px}.catalog-heading p{font-size:14px}.school-stamp{width:81px;height:77px;margin-right:5px;display:flex}.school-stamp strong{font-size:22px}.school-stamp>span:first-child{font-size:9px}.school-stamp>span:last-child{font-size:5px}.scan-search{gap:10px;height:53px;padding:0 14px}.scan-search input{height:49px;font-size:14px}.category-tabs{gap:7px;margin:19px 0 22px}.category-tabs button{padding:10px 12px;font-size:13px}.category-tabs button svg{width:17px;display:block}.category-tabs button:last-child{margin-right:2px}.category-count{display:none}.product-grid{gap:12px}.product-visual{height:140px}.product-info h3{font-size:21px;line-height:1.5}.product-info>p{min-height:30px;font-size:10px}.product-bottom>strong{font-size:24px}.product-bottom>button{width:42px;height:42px}.product-bottom>strong>span{margin-left:4px;font-size:9px}.product-image-wrap{padding:7px 7px 0}.stock-pill{padding:3px 6px;font-size:9px;top:13px;left:13px}.catalog-footnote{font-size:9px}.cart-panel{border-left:0;border-top:1px solid var(--line);height:auto;min-height:430px;max-height:none;padding:25px 22px;position:relative}.cart-heading h2{font-size:23px}.empty-cart{min-height:190px;padding:25px 0}.empty-cart-icon{width:65px;height:65px;margin-bottom:12px}.empty-cart-icon svg{width:33px}.cart-lines{max-height:450px}.cart-summary{padding-top:20px}.cooperative-note{justify-content:center;margin-top:20px}.summary-total{margin:16px 0 20px}.payment-logos{font-size:12px}.kiosk-footer{justify-content:center;min-height:46px;padding:12px 19px;position:relative}.kiosk-footer>div:first-child{display:none}.kiosk-footer>div:last-child>span{display:block}.toast{padding:12px 15px;font-size:14px;bottom:20px}.admin-shell{flex-direction:column;display:flex}.admin-sidebar{border-right:0;border-bottom:1px solid var(--line);height:auto;padding:17px 19px;position:relative}.admin-sidebar .brand{margin:0 0 20px}.admin-sidebar .brand strong{font-size:20px}.admin-sidebar .brand-caption{font-size:11px}.admin-nav{flex-direction:row;gap:7px;overflow:auto}.admin-nav button{white-space:nowrap;gap:6px;padding:9px 12px;font-size:12px}.admin-nav button>svg{width:16px}.sidebar-label,.sidebar-bottom{display:none}.admin-topbar{min-height:55px;padding:15px 20px;font-size:11px}.admin-topbar .store-status{font-size:12px}.admin-workspace{padding:24px 19px}.page-heading{flex-wrap:wrap;gap:10px}.page-heading-actions{justify-content:flex-start;width:100%}.page-heading-actions button{min-height:40px;padding:9px 12px;font-size:12px}.page-heading h1{font-size:25px}.page-heading p{font-size:12px;line-height:1.7}.page-heading>.primary-button{white-space:nowrap;min-height:40px;padding:9px 12px;font-size:12px}.metric-grid{gap:11px}.metric{min-height:140px;padding:16px}.metric-top{font-size:12px}.metric-top svg{width:16px}.metric>strong{font-size:28px}.metric>small{font-size:10px}.panel{padding:18px}.admin-columns{gap:16px;margin-bottom:17px}.low-stock-list,.form-grid{grid-template-columns:1fr}.form-grid .span-2{grid-column:auto}.modal{padding:22px}.modal-header h2{font-size:22px}.admin-toolbar{gap:12px}.filter-tabs{flex-wrap:wrap}.filter-tabs button{padding:8px 10px}.admin-search{width:100%}.login-card{padding:30px 25px}.settings-row{gap:14px}.settings-row p{font-size:11px}.data-table{font-size:12px}.budget-value{font-size:40px}}.verification-check{align-items:center;gap:10px;margin-top:18px;font-size:14px;line-height:1.7;display:flex}.verification-check input{accent-color:#ad8413;width:19px;height:19px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
