*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.visible{visibility:visible}.table{display:table}.hidden{display:none}.rounded{border-radius:.25rem}.bg-stone-100{--tw-bg-opacity: 1;background-color:rgb(245 245 244 / var(--tw-bg-opacity, 1))}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#1d2d27;background:#f2eee8;line-height:1.4}html,body,#root{margin:0;width:100%;height:100%;overflow:hidden}body{min-width:1024px;min-height:768px;background:#f2eee8}*{box-sizing:border-box}button,input,select{font:inherit}button{cursor:pointer}img{max-width:100%;display:block}.app-shell{width:100%;height:100dvh;background:#f2eee8;overflow:hidden}.tablet-shell{position:relative;display:flex;width:100%;height:100%;background:#f2eee8;overflow:hidden}.sidebar-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#122a2459;z-index:15}.sidebar{position:absolute;inset:0 auto 0 0;width:260px;background:#16372d;color:#fff;padding:18px 16px 16px;transform:translate(-100%);transition:transform .25s ease;z-index:20}.sidebar.open{transform:translate(0);box-shadow:12px 0 26px #00000026}.sidebar-header{display:flex;align-items:center;gap:12px;margin-bottom:18px}.brand-mark{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;background:#dfeee4;color:#16372d;font-weight:800;font-size:1.3rem}.brand-name{font-size:1.3rem;font-weight:800}.brand-subtitle{font-size:.7rem;color:#ffffffbf}.sidebar-nav{display:flex;flex-direction:column;gap:8px}.sidebar-nav-item{display:flex;align-items:center;gap:10px;width:100%;border:0;border-radius:12px;background:transparent;color:#fffc;padding:12px 14px;text-align:left;font-size:.92rem;font-weight:600;transition:background .2s ease,color .2s ease}.sidebar-nav-item.active{background:#dfeee4;color:#16372d}.sidebar-foot{position:absolute;left:16px;right:16px;bottom:18px;border-radius:14px;background:#ffffff14;padding:12px 14px}.sidebar-user{display:flex;align-items:center;gap:8px;font-size:.8rem;color:#dfeee4}.sidebar-address{margin-top:4px;font-size:.72rem;color:#ffffffb3}.main-panel{position:relative;flex:1;min-width:0;height:100%;padding:16px 18px 12px;overflow:hidden;display:flex;flex-direction:column}.topbar-left{display:flex;align-items:center;gap:14px;min-width:0}.sidebar-toggle{flex:none;width:40px;height:40px;border:1px solid rgba(27,60,49,.2);border-radius:12px;background:#ffffffb3;color:#16372d;display:flex;align-items:center;justify-content:center}.topbar{display:flex;align-items:center;justify-content:space-between;min-height:72px;padding:16px 16px 12px 18px;background:#f2eee8;border-bottom:1px solid rgba(21,52,46,.12)}.page-title{font-size:clamp(1.8rem,2vw,2.6rem);font-weight:800;color:#16372d;letter-spacing:-.02em;white-space:nowrap}.topbar-actions{display:flex;align-items:center;gap:14px}.branch-picker,.open-shift,.profile-button{border:1px solid rgba(22,55,45,.22);border-radius:14px;background:#ffffff80;color:#16372d;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px}.branch-picker{padding:0 18px;font-size:1.05rem;font-weight:600}.open-shift{padding:0 18px;background:#dfeee4;border-color:#c7d9c5;font-size:1.04rem;font-weight:700}.profile-button{width:46px;padding:0;border-radius:12px;background:#16372d;color:#fff}.inline-icon{font-size:1.25rem;line-height:1}.caret{font-size:1.15rem;transform:translateY(-1px)}.content-shell{flex:1;display:flex;min-height:0;gap:18px;padding:14px 16px 18px}.product-panel{flex:1;min-width:0;display:flex;flex-direction:column;min-height:0;overflow-y:auto;padding-right:4px}.category-row{display:flex;gap:14px;margin-bottom:16px;width:100%;flex:none}.category-button{flex:1;min-width:0;height:58px;border:1px solid rgba(14,51,46,.25);border-radius:18px;background:#ffffff80;color:#16372d;font-size:1.08rem;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:0 16px}.category-button.active{background:#1b5e4b;color:#fff;border-color:#1b5e4b}.category-icon{font-size:1.2rem}.product-section{display:flex;flex-direction:column;gap:12px;margin-bottom:18px}.product-section-label{font-size:1.05rem;font-weight:800;color:#16372d;letter-spacing:-.02em;padding:0 4px}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.product-card{display:flex;flex-direction:column;background:#ffffff73;border:1px solid rgba(22,55,45,.18);border-radius:17px;overflow:hidden;box-shadow:0 6px 12px #16372d0d}.product-image-wrap{height:140px;background:#ece3d7;display:flex;align-items:center;justify-content:center;border-bottom:1px solid rgba(22,55,45,.08)}.product-image{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.product-name{padding:12px 14px 0;font-size:clamp(1.1rem,1.3vw,1.7rem);font-weight:800;color:#16372d;letter-spacing:-.02em}.product-variants{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px 10px;margin-top:auto}.product-variants.wide-variants{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:10px 6px}.product-variants.wide-variants .variant-button{padding:8px 0;border-radius:8px}.product-variants.wide-variants .variant-size{font-size:.72rem}.product-variants.wide-variants .variant-price{font-size:.95rem}.variant-button{min-height:46px;border:0;border-radius:10px;background:#dfeee4;color:#16372d;display:flex;align-items:center;justify-content:center;gap:2px;flex-direction:column;padding:8px 4px;font-weight:700;box-shadow:inset 0 0 0 1px #16372d0f;transition:background .15s ease,transform .1s ease}.variant-button:hover{background:#cfe5d6}.variant-button:active{transform:scale(.96)}.variant-size{font-size:.88rem}.variant-price{font-size:.92rem}.order-panel{width:390px;min-width:360px;background:#ffffff6b;border:1px solid rgba(22,55,45,.18);border-radius:18px;display:flex;flex-direction:column;min-height:0;overflow:hidden}.order-header{display:flex;align-items:center;justify-content:space-between;padding:18px 18px 12px;border-bottom:1px solid rgba(22,55,45,.12)}.order-header h2{margin:0;font-size:clamp(1.8rem,1.8vw,2.3rem);font-weight:800;color:#16372d;letter-spacing:-.02em}.clear-order{border:0;background:transparent;color:#16372d;font-size:1rem;font-weight:700}.clear-order:disabled{opacity:.35;cursor:default}.order-count{display:inline-block;margin-left:10px;padding:2px 10px;border-radius:999px;background:#1b5e4b;color:#fff;font-size:.9rem;letter-spacing:0;vertical-align:middle}.order-items{padding:12px 14px 0;flex:1;overflow-y:auto;min-height:0}.empty-order{color:#16372d99;font-size:.96rem;padding:28px 8px;text-align:center}.order-item{display:grid;grid-template-columns:52px minmax(0,1fr) auto;grid-template-areas:"thumb meta remove" "thumb qty total";align-items:center;-moz-column-gap:12px;column-gap:12px;row-gap:8px;padding:12px 0;border-bottom:1px solid rgba(22,55,45,.08)}.order-item .order-thumb{grid-area:thumb;align-self:start}.order-item .order-meta{grid-area:meta}.order-item .remove-item{grid-area:remove;align-self:start}.order-item .quantity-box{grid-area:qty;justify-self:start}.order-item .line-total{grid-area:total}.order-thumb{width:52px;height:52px;-o-object-fit:cover;object-fit:cover;border-radius:10px;border:1px solid rgba(22,55,45,.08);background:#f0eadf}.order-meta{display:flex;flex-direction:column;min-width:0}.order-name{font-size:1.08rem;font-weight:800;color:#16372d;line-height:1.2}.order-size{font-size:.9rem;color:#16372db3;margin-top:3px}.quantity-box{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 4px;border:1px solid rgba(22,55,45,.16);border-radius:10px;background:#fff}.qty-button{width:36px;height:36px;border:0;background:transparent;color:#16372d;font-size:1.4rem;font-weight:700}.line-total{font-weight:800;color:#16372d;font-size:1.04rem;text-align:right;min-width:90px}.remove-item{width:34px;height:34px;font-size:1.2rem;line-height:1;border:1px solid rgba(22,55,45,.16);border-radius:8px;background:#ffffffb3;color:#16372d}.totals-box{border-top:1px solid rgba(22,55,45,.12);background:#f6f4f099;padding:14px 18px 18px}.totals-row{display:flex;align-items:center;justify-content:space-between;font-size:1.05rem;color:#16372d;padding:8px 0}.totals-row span:first-child{font-weight:600}.totals-row span:last-child{font-weight:800}.grand-row{margin-top:8px;padding-top:12px;border-top:1px solid rgba(22,55,45,.12);font-size:1.28rem;font-weight:800}.pay-button{width:100%;min-height:68px;border:0;border-radius:18px;margin-top:16px;background:#1a5d4a;color:#fff;font-size:clamp(1.8rem,2vw,2.6rem);font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:12px;letter-spacing:-.02em}.pay-button:disabled{opacity:.5;cursor:not-allowed}.pay-icon{font-size:1.2em}.payment-modal{position:fixed;top:0;right:0;bottom:0;left:0;background:#122a2480;display:flex;align-items:center;justify-content:center;z-index:30}.payment-panel{width:min(920px,88vw);background:#fff;border-radius:28px;box-shadow:0 20px 60px #0003;display:grid;grid-template-columns:1.3fr .8fr;overflow:hidden}.payment-header{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid rgba(22,55,45,.08)}.payment-header h3{margin:4px 0 0;font-weight:800;font-size:1.8rem;color:#16372d}.payment-label{font-weight:700;font-size:.8rem;letter-spacing:.18em;text-transform:uppercase;color:#d68d3b}.close-payment{border:1px solid rgba(22,55,45,.18);background:#fff;color:#16372d;border-radius:12px;padding:10px 18px;font-weight:700}.payment-content{padding:20px 20px 24px;background:#f6f2ee}.payment-methods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:18px}.payment-method{border:1px solid rgba(22,55,45,.15);background:#fff;color:#16372d;min-height:48px;border-radius:12px;font-weight:700}.payment-method.selected{background:#16372d;color:#fff}.cash-buttons{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-bottom:16px}.cash-quick{min-height:42px;border:1px solid rgba(22,55,45,.15);background:#fff;border-radius:10px;color:#16372d;font-weight:700}.cash-quick.exact{background:#dfeee4}.numpad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:18px}.numpad-key{min-height:52px;border:1px solid rgba(22,55,45,.15);background:#fff;border-radius:12px;font-size:1.35rem;font-weight:800;color:#16372d}.payment-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.secondary-action,.primary-action{min-height:52px;border-radius:12px;font-weight:800}.primary-action:disabled,.close-payment:disabled{opacity:.4;cursor:not-allowed}.complete-action{width:100%;margin-top:16px;min-height:60px;font-size:1.15rem}.secondary-action{border:1px solid rgba(22,55,45,.15);background:#dfeee4;color:#16372d}.primary-action{border:0;background:#16372d;color:#fff}.digital-payment{display:flex;flex-direction:column;gap:16px}.digital-payment label{display:flex;flex-direction:column;gap:8px;font-weight:600;color:#16372d}.gcash-note{display:flex;flex-direction:column;gap:6px;padding:18px;border-radius:14px;background:#dbeafe;color:#1e3a8a}.gcash-note strong{font-size:1.15rem}.digital-payment input{border:1px solid rgba(22,55,45,.15);border-radius:12px;min-height:48px;padding:0 14px;background:#fff}.payment-summary{padding:20px 20px 24px;background:#16372d;color:#fff;display:flex;flex-direction:column;justify-content:center}.summary-row{display:flex;align-items:center;justify-content:space-between;padding:10px 0;color:#ffffffe6;font-size:1rem}.summary-row strong{font-size:1.8rem;letter-spacing:-.02em}.change-due strong{color:#9be3b8}.short-by{color:#ffb4a2}.receipt{grid-column:1 / -1;padding:36px 28px 28px;text-align:center}.receipt h3{margin:8px 0 2px;font-weight:800;font-size:1.8rem;color:#16372d}.receipt-check{width:64px;height:64px;margin:0 auto;border-radius:50%;background:#dfeee4;color:#1b5e4b;font-size:2rem;font-weight:800;display:flex;align-items:center;justify-content:center}.receipt-total{margin:14px 0 10px;font-size:2.6rem;font-weight:800;letter-spacing:-.02em;color:#16372d}.receipt-lines{max-width:340px;margin:0 auto 20px}.dark-text{color:#16372d}.receipt .summary-row strong{font-size:1rem;letter-spacing:0}.receipt .change-highlight strong{font-size:1.5rem}.change-highlight strong{color:#1b5e4b}.receipt-done{width:100%;max-width:340px;background:#1b5e4b}.page-scroll{flex:1;min-height:0;overflow-y:auto;padding:18px 16px 24px;display:flex;flex-direction:column;gap:16px}.muted{color:#16372d9e;font-size:.9rem}.card{background:#fff9;border:1px solid rgba(22,55,45,.14);border-radius:16px;padding:16px 18px}.card-title{margin:0 0 12px;font-size:1.1rem;font-weight:800;color:#16372d}.card-list{display:flex;flex-direction:column;gap:10px}.card-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.text-input{min-height:42px;width:min(320px,100%);padding:0 14px;border:1px solid rgba(22,55,45,.18);border-radius:10px;background:#fff}.data-table{width:100%;border-collapse:collapse;font-size:.95rem;color:#16372d}.data-table th{text-align:left;font-size:.78rem;letter-spacing:.06em;text-transform:uppercase;color:#16372d99}.data-table th,.data-table td{padding:10px 8px;border-bottom:1px solid rgba(22,55,45,.08)}.data-table .num,.num{text-align:right;font-variant-numeric:tabular-nums}.badge{display:inline-block;padding:3px 10px;border-radius:999px;background:#dfeee4;color:#16372d;font-size:.78rem;font-weight:700;text-transform:capitalize}.badge-low{background:#fde2d8;color:#9a3412}.badge-gcash{background:#dbeafe;color:#1e40af}.badge-maya{background:#dcfce7;color:#166534}.order-card summary{display:grid;grid-template-columns:90px 1fr auto auto;align-items:center;gap:12px;cursor:pointer;list-style:none;color:#16372d}.order-card summary::-webkit-details-marker{display:none}.order-card-number{font-weight:800}.order-card[open] summary{margin-bottom:8px}.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.stat-value{margin-top:4px;font-size:1.9rem;font-weight:800;letter-spacing:-.02em;color:#16372d}.two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch}.bar-row{display:grid;grid-template-columns:130px 1fr auto;align-items:center;gap:12px;padding:6px 0;color:#16372d;text-transform:capitalize}.bar-track{height:10px;border-radius:999px;background:#e6efe8;overflow:hidden}.bar-fill{height:100%;border-radius:999px;background:#1b5e4b}.chip-row{display:flex;flex-wrap:wrap;gap:8px}.button-row{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.tool-button{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:0 16px;border:1px solid rgba(22,55,45,.2);border-radius:10px;background:#dfeee4;color:#16372d;font-weight:700;text-decoration:none;cursor:pointer}.tool-button:disabled,.tool-button.disabled{opacity:.5;pointer-events:none}.icon-link{color:#1b5e4b}.empty-state{padding:48px 16px;text-align:center;color:#16372d}.empty-state-title{font-size:1.15rem;font-weight:800}.empty-state-hint{margin-top:6px;color:#16372d9e}.image-fallback{display:flex;align-items:center;justify-content:center;background:#ece3d7;color:#16372d;font-weight:800;font-size:1.6rem}.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%);max-width:min(520px,92vw);padding:12px 20px;border-radius:12px;color:#fff;font-weight:600;box-shadow:0 12px 30px #00000040;z-index:60;cursor:pointer}.toast-success{background:#16372d}.toast-error{background:#b42318}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #d68d3b;outline-offset:2px}.period-tabs{display:inline-flex;align-self:flex-start;gap:4px;padding:4px;border-radius:12px;background:#fff9;border:1px solid rgba(22,55,45,.14)}.period-tab{min-height:38px;padding:0 16px;border:0;border-radius:9px;background:transparent;color:#16372d;font-weight:700}.period-tab.active{background:#1b5e4b;color:#fff}.size-chip{display:inline-block;padding:3px 10px;border-radius:8px;background:#dfeee4;color:#16372d;font-size:.88rem;white-space:nowrap}.total-row td{font-weight:800;border-bottom:0}.range-row{display:flex;flex-wrap:wrap;align-items:flex-end;gap:14px}.range-row label{display:flex;flex-direction:column;gap:6px;font-size:.85rem;font-weight:700;color:#16372d}.range-row .text-input{width:230px}.range-warning{color:#9a3412;font-size:.9rem;padding-bottom:10px}.price-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.price-card{display:flex;flex-direction:column;gap:10px}.price-card.dirty{border-color:#d68d3b;box-shadow:0 0 0 2px #d68d3b40}.price-card-head{display:flex;align-items:center;gap:12px}.price-card-head .text-input{flex:1;width:auto;min-width:0}.price-name{font-weight:800}.switch{display:inline-flex;align-items:center;gap:8px;font-size:.85rem;font-weight:700;color:#16372d;white-space:nowrap}.switch input{width:20px;height:20px;accent-color:#1b5e4b}.variant-editor{display:flex;flex-direction:column;gap:8px}.variant-editor-head,.variant-editor-row{display:grid;grid-template-columns:minmax(0,1fr) 100px 100px 40px;gap:10px;align-items:center}.variant-editor-head{font-size:.75rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#16372d99}.variant-editor-row .text-input{width:100%}.variant-editor-item{display:flex;flex-direction:column;gap:4px}.margin-line{padding:5px 10px;border-radius:8px;font-size:.82rem;background:#e6f2ea;color:#1b5e4b}.margin-line.thin{background:#fff1d6;color:#7a4a0a}.margin-line.loss{background:#fde2d8;color:#9a3412}.target-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-top:4px;padding-top:10px;border-top:1px dashed rgba(22,55,45,.2)}.target-row label{display:inline-flex;align-items:center;gap:8px;font-size:.85rem;font-weight:700;color:#16372d}.target-input{width:72px}.negative{color:#b42318}.banner.cost-note{margin:0}.icon-button{width:40px;height:40px;border:1px solid rgba(22,55,45,.16);border-radius:10px;background:#fff;color:#9a3412;display:inline-flex;align-items:center;justify-content:center}.icon-button:disabled{opacity:.35;cursor:not-allowed}.link-button{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;color:#1b5e4b;font-weight:700;padding:4px 0}.price-save{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 22px}.order-header-actions{display:flex;align-items:center;gap:14px}.cart-bar,.sheet-close,.sheet-backdrop{display:none}.cart-bar{position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:20;align-items:center;justify-content:space-between;gap:12px;min-height:56px;padding:0 20px;border:0;border-radius:16px;background:#16372d;color:#fff;font-size:1rem;font-weight:700;box-shadow:0 10px 26px #0000004d}.cart-bar strong{font-size:1.2rem}.sheet-close{min-height:36px;padding:0 16px;border:0;border-radius:10px;background:#1b5e4b;color:#fff;font-weight:700;align-items:center}.banner{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 16px 0;padding:10px 14px;border-radius:12px;font-weight:600;font-size:.95rem}.banner button{flex:none;min-height:36px;padding:0 14px;border:0;border-radius:9px;background:#16372d;color:#fff;font-weight:700}.banner-warn{background:#fff1d6;color:#7a4a0a}.banner-info{background:#dbeafe;color:#1e3a8a}.backup-status{display:flex;flex-wrap:wrap;gap:6px 24px;margin:8px 0 4px;color:#16372d}.backup-status .unbacked{color:#9a3412;font-weight:700}.select-input{width:auto;min-width:160px}.protected{display:inline-flex;align-items:center;gap:5px}@media (min-width: 1100px){.sidebar{position:relative;inset:auto;flex:none;transform:none;box-shadow:none;height:100%}.sidebar-toggle,.sidebar-backdrop{display:none}}@media (max-width: 1200px){body{min-width:0}.order-panel{width:360px;min-width:320px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 820px){.content-shell{flex-direction:column;padding:12px 12px 96px;overflow-y:auto}.product-panel{overflow:visible;flex:none}.order-panel{position:fixed;left:0;right:0;bottom:0;width:100%;min-width:0;max-height:88vh;border-radius:20px 20px 0 0;background:#f6f4f0;box-shadow:0 -14px 34px #00000040;transform:translateY(105%);transition:transform .25s ease;z-index:25}.order-panel.open{transform:none}.sheet-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#122a2473;z-index:24}.cart-bar{display:flex}.sheet-close{display:inline-flex}.main-panel{padding:12px 10px 10px}.topbar{flex-direction:column;align-items:flex-start;gap:10px;min-height:auto}.topbar-actions{width:100%;flex-wrap:wrap}.branch-picker,.open-shift{flex:1 1 auto}.category-row{flex-wrap:wrap;gap:10px}.category-button{flex:1 1 calc(50% - 10px);min-width:120px}.product-grid,.stat-grid,.two-col,.price-grid{grid-template-columns:1fr}.payment-panel{grid-template-columns:1fr;max-height:94vh;overflow-y:auto}}@media (max-width: 540px){.variant-editor-head,.variant-editor-row{grid-template-columns:minmax(0,1fr) 76px 76px 40px;gap:6px}.sidebar{width:220px}.page-title{font-size:1.8rem}.product-image-wrap{height:150px}.product-name{font-size:1.1rem}.pay-button{min-height:58px;font-size:1.5rem}}.sidebar-logout{display:inline-flex;align-items:center;gap:6px;margin-top:10px;padding:6px 10px;border:1px solid rgba(255,255,255,.3);border-radius:8px;background:transparent;color:#dfeee4;font-size:.78rem;font-weight:700}.login-screen{min-height:100vh;min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:16px;background:#eef4ee}.login-card{width:100%;max-width:360px;display:flex;flex-direction:column;gap:14px;padding:28px 24px;border-radius:20px;background:#fff;box-shadow:0 12px 40px #16372d26}.login-card h1{margin:0;font-size:1.5rem;color:#16372d}.login-card p{margin:-8px 0 0}.login-card label{display:flex;flex-direction:column;gap:6px;font-size:.85rem;font-weight:700;color:#16372d}.login-mark{align-self:flex-start}.login-error{padding:8px 12px;border-radius:8px;background:#fde2d8;color:#9a3412;font-size:.85rem}.primary-button{min-height:48px;border:0;border-radius:12px;background:#1a5d4a;color:#fff;font-size:1rem;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:8px}.primary-button:disabled{opacity:.5;cursor:not-allowed}.danger-card{border:1px solid #f1c3b3}.danger-button{min-height:42px;padding:0 16px;border:0;border-radius:10px;background:#b42318;color:#fff;font-weight:800;display:inline-flex;align-items:center;gap:8px}.danger-button:disabled{opacity:.5;cursor:not-allowed}.danger-link{color:#b42318}.cash-received{display:grid;grid-template-columns:1fr auto;align-items:baseline;gap:2px 12px;margin-bottom:14px;padding:12px 16px;border:2px solid rgba(22,55,45,.2);border-radius:14px;background:#fff;color:#16372d}.cash-received.enough{border-color:#1a5d4a;background:#e6f2ea}.cash-received-label{font-size:.78rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#6b7f77}.cash-received-value{grid-row:span 2;font-size:2rem;line-height:1;font-weight:800;letter-spacing:-.02em}.cash-received-hint{font-size:.85rem;font-weight:700;color:#b45309}.cash-received.enough .cash-received-hint{color:#1a5d4a}.numpad-clear{font-size:1rem;color:#b42318}.order-actions{align-items:center;margin-top:10px}.edit-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:flex;align-items:center;justify-content:center;padding:16px;background:#0a1e188c}.edit-panel{width:100%;max-width:640px;max-height:100%;display:flex;flex-direction:column;border-radius:20px;background:#f6f2ee;overflow:hidden}.edit-head{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;background:#fff}.edit-head h3{font-weight:800;margin:0;font-size:1.4rem;color:#16372d}.edit-body{display:flex;flex-direction:column;gap:10px;padding:16px 20px;overflow-y:auto}.edit-line{display:flex;flex-direction:column;gap:8px;padding:10px 12px;border-radius:12px;background:#fff}.edit-line-name{font-weight:700;color:#16372d}.edit-line-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.edit-line-controls .text-input{width:auto;min-width:96px}.edit-line-total{margin-left:auto}.qty-stepper{display:inline-flex;align-items:center;border:1px solid rgba(22,55,45,.2);border-radius:10px;background:#fff}.qty-stepper button{width:36px;height:36px;border:0;background:transparent;font-size:1.2rem;font-weight:800;color:#16372d}.qty-stepper button:disabled{opacity:.35}.qty-stepper span{min-width:28px;text-align:center;font-weight:800}.edit-add{display:flex;flex-wrap:wrap;gap:8px}.edit-add .text-input{flex:1 1 140px;width:auto}.edit-pay{display:flex;flex-direction:column;gap:10px;margin-top:4px}.edit-methods{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:0}.edit-cash{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-weight:700;color:#16372d}.edit-cash .text-input{width:120px}.edit-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;background:#fff}.edit-total{font-size:1.6rem;color:#16372d}.edit-note{font-size:.85rem;font-weight:700;color:#1a5d4a}.edit-note.bad{color:#b42318}.edit-save{min-width:150px;min-height:48px}
