@import "https://fonts.googleapis.com/css2?family=Montserrat:wght@400..800&display=swap";:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--canvas:#f5f5f4;--surface:#fff;--surface-subtle:#fafaf9;--surface-strong:#f0eeeb;--ink:#1c1917;--ink-secondary:#57534e;--ink-muted:#78716c;--line:#e7e5e4;--line-strong:#d6d3d1;--accent:#c2410c;--accent-hover:#9a3412;--accent-soft:#fff7ed;--success:#047857;--success-soft:#ecfdf5;--danger:#b91c1c;--danger-soft:#fef2f2;--warning:#b45309;--radius-sm:5px;--radius-md:8px;--shadow-modal:0 24px 70px #1c191738;font-family:Montserrat,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box;margin:0;padding:0}html{background:var(--canvas);min-width:320px}body{background:var(--canvas);min-width:320px;min-height:100vh;color:var(--ink)}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation;-webkit-tap-highlight-color:#c2410c1f}button{color:inherit}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}img{max-width:100%}h1,h2,h3,h4,p{text-wrap:pretty}h1,h2,h3,h4,strong,b{color:var(--ink)}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:#c7c3be padding-box padding-box;border:2px solid #0000;border-radius:8px}.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}.app-shell{flex-direction:column;min-height:100vh;display:flex}.app-main{flex:1}.eyebrow{color:var(--ink-muted);letter-spacing:.1em;text-transform:uppercase;font-size:.68rem;font-weight:700;line-height:1.2}.btn{border-radius:var(--radius-sm);cursor:pointer;border:1px solid #0000;justify-content:center;align-items:center;gap:8px;min-height:38px;padding:8px 13px;font-size:.82rem;font-weight:700;line-height:1;transition:background-color .14s,border-color .14s,color .14s,transform .14s;display:inline-flex}.btn:hover:not(:disabled){transform:translateY(-1px)}.btn:active:not(:disabled){transform:translateY(0)}.btn:disabled{cursor:not-allowed;opacity:.55}.btn-primary{border-color:var(--accent);background:var(--accent);color:#fff}.btn-primary:hover:not(:disabled){border-color:var(--accent-hover);background:var(--accent-hover)}.btn-secondary{border-color:var(--line-strong);background:var(--surface);color:var(--ink)}.btn-secondary:hover:not(:disabled){background:var(--surface-subtle);border-color:#a8a29e}.btn-large{min-height:46px;padding-inline:17px;font-size:.88rem}.btn-small{min-height:32px;padding:6px 9px;font-size:.74rem}.icon-button{border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--surface);cursor:pointer;flex:none;justify-content:center;align-items:center;width:36px;height:36px;transition:background-color .14s,border-color .14s,color .14s;display:inline-flex}.icon-button:hover{background:var(--surface-subtle);border-color:#a8a29e}.icon-button.subtle{width:30px;height:30px;color:var(--ink-muted);background:0 0;border-color:#0000}.icon-button.subtle:hover{border-color:var(--line);background:var(--surface-strong);color:var(--ink)}.icon-button.danger:hover,.text-button.danger:hover{color:var(--danger)}.text-button{color:var(--ink-muted);cursor:pointer;background:0 0;border:0;align-items:center;gap:5px;font-size:.74rem;font-weight:650;display:inline-flex}.input-field{border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--surface);width:100%;min-height:42px;color:var(--ink);padding:10px 12px;font-size:.86rem;line-height:1.2;transition:border-color .14s,box-shadow .14s}.input-field::placeholder{color:#a8a29e}.input-field:hover{border-color:#a8a29e}.input-field:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 3px #c2410c1a}.field-group{color:var(--ink-secondary);flex-direction:column;gap:7px;font-size:.77rem;font-weight:700;display:flex}.field-group>span{justify-content:space-between;align-items:baseline;display:flex}.field-group small{color:var(--ink-muted);font-size:.69rem;font-weight:500}.input-with-icon{position:relative;display:block!important}.input-with-icon>svg{z-index:1;color:var(--ink-muted);position:absolute;top:50%;left:12px;transform:translateY(-50%)}.input-with-icon .input-field{padding-left:40px}.form-stack,.product-form{flex-direction:column;gap:18px;display:flex}.form-grid{gap:14px;display:grid}.two-cols{grid-template-columns:repeat(2,minmax(0,1fr))}.three-cols{grid-template-columns:repeat(3,minmax(0,1fr))}.form-actions{justify-content:flex-end;padding-top:4px;display:flex}.form-alert{border-radius:var(--radius-sm);background:var(--danger-soft);color:var(--danger);border:1px solid #fecaca;align-items:center;gap:8px;padding:10px 12px;font-size:.78rem;font-weight:650;display:flex}.success-message{border-radius:var(--radius-sm);background:var(--success-soft);color:var(--success);border:1px solid #a7f3d0;padding:11px 13px;font-size:.8rem;font-weight:700}.topbar{z-index:50;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff5;position:sticky;top:0}.topbar-inner{grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;width:100%;max-width:1560px;min-height:64px;margin:0 auto;padding:0 24px;display:grid}.brand-lockup,.session-controls,.user-chip,.terminal-label{align-items:center;display:flex}.brand-lockup{gap:10px}.brand-mark{background:var(--ink);color:#fff;border-radius:50%;place-items:center;width:34px;height:34px;display:grid}.brand-copy{flex-direction:column;gap:1px;display:flex}.brand-name{letter-spacing:.08em;font-size:.88rem;font-weight:850}.brand-context{color:var(--ink-muted);font-size:.69rem;font-weight:600}.mode-switch{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface-strong);gap:2px;padding:3px;display:flex}.mode-button{border-radius:var(--radius-sm);min-height:32px;color:var(--ink-secondary);cursor:pointer;background:0 0;border:0;align-items:center;gap:7px;padding:6px 13px;font-size:.76rem;font-weight:700;display:flex}.mode-button.active{background:var(--surface);color:var(--ink);box-shadow:0 1px 2px #1c191714}.terminal-label{color:var(--ink-secondary);gap:7px;font-size:.76rem;font-weight:700}.session-controls{justify-content:flex-end;gap:10px}.connection-state{color:var(--ink-muted);align-items:center;gap:6px;font-size:.69rem;font-weight:650;display:inline-flex}.connection-dot{background:var(--danger);border-radius:50%;width:7px;height:7px}.connection-state.online .connection-dot{background:var(--success)}.user-chip{max-width:220px;color:var(--ink-secondary);gap:7px;font-size:.74rem;font-weight:650}.user-chip span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.login-page{background:var(--surface);grid-template-columns:minmax(0,1.12fr) minmax(420px,.88fr);min-height:100vh;display:grid}.login-intro{background:var(--ink);color:#fff;flex-direction:column;justify-content:space-between;min-height:100vh;padding:clamp(36px,6vw,88px);display:flex}.login-brand{letter-spacing:.05em;text-transform:uppercase;align-items:center;gap:10px;font-size:.85rem;font-weight:800;display:flex}.login-brand-mark{color:#fb923c;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:40px;height:40px;display:grid}.login-intro .eyebrow{color:#fb923c}.login-intro h1{color:#fff;letter-spacing:-.055em;text-wrap:balance;max-width:660px;margin-top:15px;font-size:clamp(2.5rem,5vw,5.5rem);font-weight:720;line-height:.98}.login-intro-copy{color:#d6d3d1;max-width:530px;margin-top:24px;font-size:clamp(.95rem,1.4vw,1.15rem);line-height:1.65}.login-proof{color:#a8a29e;letter-spacing:.03em;flex-wrap:wrap;gap:10px 28px;font-family:Montserrat,sans-serif;font-size:.72rem;display:flex}.login-panel{background:var(--surface);place-items:center;min-height:100vh;padding:36px;display:grid}.login-form-wrap{width:min(100%,430px)}.section-heading,.page-heading,.report-heading,.modal-header{justify-content:space-between;align-items:center;gap:20px;display:flex}.section-heading{margin-bottom:28px}.section-heading h2{letter-spacing:-.03em;margin-top:5px;font-size:1.5rem}.demo-label{border:1px solid var(--line-strong);color:var(--ink-muted);letter-spacing:.08em;text-transform:uppercase;border-radius:4px;padding:4px 7px;font-size:.64rem;font-weight:750}.role-selector{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:25px;display:grid}.role-option{border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--surface);cursor:pointer;text-align:left;align-items:flex-start;gap:10px;min-height:74px;padding:13px;display:flex}.role-option>svg{color:var(--ink-muted);margin-top:2px}.role-option span{flex-direction:column;gap:4px;min-width:0;display:flex}.role-option strong{font-size:.82rem}.role-option small{color:var(--ink-muted);font-size:.69rem;font-weight:500}.role-option.active{border-color:var(--accent);background:var(--accent-soft)}.role-option.active>svg{color:var(--accent)}.cashier-layout{grid-template-columns:minmax(0,1fr) 390px;gap:0;width:100%;max-width:1560px;margin:0 auto;display:grid}.catalog{min-width:0;padding:30px 30px 48px 24px}.catalog-heading{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:18px;display:flex}.catalog-heading h1,.page-heading h1{letter-spacing:-.035em;margin-top:3px;font-size:1.6rem;font-weight:760;line-height:1.15}.catalog-heading>p,.page-heading>div>p:last-child{color:var(--ink-muted);font-size:.76rem}.search-control{align-items:center;display:flex;position:relative}.search-control>svg{z-index:1;color:var(--ink-muted);pointer-events:none;position:absolute;left:13px}.search-control .input-field{min-height:48px;padding-left:43px;padding-right:74px;font-size:.9rem}.search-control>kbd{border:1px solid var(--line-strong);background:var(--surface-subtle);min-width:23px;color:var(--ink-muted);text-align:center;border-bottom-width:2px;border-radius:4px;padding:3px 6px;font-family:Montserrat,sans-serif;font-size:.7rem;position:absolute;right:13px}.search-control>button{width:28px;height:28px;color:var(--ink-muted);cursor:pointer;background:0 0;border:0;border-radius:4px;place-items:center;display:grid;position:absolute;right:46px}.search-control>button:hover{background:var(--surface-strong);color:var(--ink)}.search-control.compact{width:min(100%,360px)}.search-control.compact .input-field{min-height:40px;padding-right:12px}.category-tabs{-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none;border-bottom:1px solid var(--line);gap:4px;margin:14px 0 20px;display:flex;overflow-x:auto}.category-tabs::-webkit-scrollbar{display:none}.category-tab{min-height:42px;color:var(--ink-muted);cursor:pointer;white-space:nowrap;background:0 0;border:0;flex:none;align-items:center;gap:7px;padding:8px 10px 10px;font-size:.76rem;font-weight:650;display:inline-flex;position:relative}.category-tab:after{content:"";background:0 0;height:2px;position:absolute;bottom:-1px;left:8px;right:8px}.category-tab small{background:var(--surface-strong);min-width:20px;color:var(--ink-secondary);text-align:center;border-radius:4px;padding:2px 5px;font-size:.63rem}.category-tab:hover,.category-tab.active{color:var(--ink)}.category-tab.active:after{background:var(--accent)}.category-tab.active small{background:var(--accent-soft);color:var(--accent)}.product-grid{grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:12px;display:grid}.product-tile{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);cursor:pointer;text-align:left;flex-direction:column;min-width:0;transition:border-color .14s,transform .14s,box-shadow .14s;display:flex;position:relative;overflow:hidden}.product-tile:hover:not(:disabled){border-color:#a8a29e;transform:translateY(-2px);box-shadow:0 8px 18px #1c191712}.product-tile.selected{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.product-tile:disabled{cursor:not-allowed;filter:grayscale(.85);opacity:.6}.product-media{aspect-ratio:4/2.7;background:var(--surface-strong);place-items:center;display:grid;position:relative;overflow:hidden}.product-media img{z-index:1;object-fit:cover;width:100%;height:100%;transition:transform .22s;position:relative}.product-tile:hover:not(:disabled) .product-media img{transform:scale(1.025)}.product-media-fallback{color:#d6d3d1;font-size:2rem;font-weight:800;position:absolute}.cart-count{z-index:2;background:var(--accent);color:#fff;border:2px solid #fff;border-radius:50%;place-items:center;min-width:27px;height:27px;padding:0 7px;font-size:.72rem;font-weight:800;display:grid;position:absolute;top:9px;right:9px}.product-body{flex-direction:column;flex:1;min-height:134px;padding:12px;display:flex}.product-meta,.product-price-row{justify-content:space-between;align-items:center;gap:10px;display:flex}.product-meta{color:var(--ink-muted);letter-spacing:.015em;margin-bottom:7px;font-family:Montserrat,sans-serif;font-size:.63rem}.stock-state{color:var(--ink-muted);font-family:Montserrat,sans-serif;font-weight:650}.stock-state.low,.stock-state.empty{color:var(--warning)}.stock-state.empty{color:var(--danger)}.product-body>strong{font-size:.84rem;line-height:1.4}.product-price-row{margin-top:auto;padding-top:13px}.product-price-row b{letter-spacing:-.015em;font-size:.9rem}.add-cue{color:var(--accent);align-items:center;gap:3px;font-size:.69rem;font-weight:750;display:inline-flex}.empty-state{border:1px dashed var(--line-strong);border-radius:var(--radius-md);min-height:280px;color:var(--ink-muted);text-align:center;align-content:center;place-items:center;gap:7px;display:grid}.empty-state h2{margin-top:3px;font-size:.95rem}.empty-state p{font-size:.78rem}.cart-panel{border-right:1px solid var(--line);border-left:1px solid var(--line);background:var(--surface);flex-direction:column;min-width:0;height:calc(100vh - 64px);display:flex;position:sticky;top:64px}.cart-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:15px;min-height:82px;padding:17px 18px;display:flex}.cart-header h2{letter-spacing:-.02em;align-items:center;gap:8px;margin-top:4px;font-size:1.05rem;display:flex}.cart-header h2 span{background:var(--accent-soft);min-width:22px;height:22px;color:var(--accent);border-radius:4px;place-items:center;padding:0 5px;font-size:.69rem;display:grid}.cart-items{flex-direction:column;flex:1;min-height:0;padding:0 18px;display:flex;overflow-y:auto}.cart-empty{max-width:230px;color:var(--ink-muted);text-align:center;place-items:center;gap:7px;margin:auto;display:grid}.cart-empty svg{color:#a8a29e;margin-bottom:6px}.cart-empty h3{font-size:.88rem}.cart-empty p{font-size:.74rem;line-height:1.55}.cart-line{border-bottom:1px solid var(--line);flex-direction:column;gap:9px;padding:15px 0;display:flex}.cart-line-top,.cart-line-actions{justify-content:space-between;align-items:center;gap:12px;display:flex}.cart-line-top>div{min-width:0}.cart-line-top h3{text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;line-height:1.4;overflow:hidden}.cart-line-top p{color:var(--ink-muted);margin-top:2px;font-size:.68rem}.cart-line-top>strong{flex:none;font-size:.8rem}.note-button{width:fit-content;max-width:100%;color:var(--ink-muted);cursor:pointer;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;align-items:center;gap:5px;font-size:.68rem;display:inline-flex;overflow:hidden}.note-button:hover{color:var(--accent)}.note-input{min-height:34px;padding:7px 9px;font-size:.74rem}.quantity-control{border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--surface);grid-template-columns:30px 28px 30px;align-items:center;display:grid;overflow:hidden}.quantity-control button{cursor:pointer;background:0 0;border:0;place-items:center;height:30px;display:grid}.quantity-control button:hover{background:var(--surface-strong)}.quantity-control span{text-align:center;font-size:.76rem;font-weight:800}.cart-footer{border-top:1px solid var(--line);background:var(--surface-subtle);flex-direction:column;gap:12px;padding:16px 18px 18px;display:flex}.discount-control{grid-template-columns:18px 1fr auto;align-items:center;gap:8px;display:grid}.discount-control>svg{color:var(--ink-muted)}.discount-control .input-field{background:var(--surface);min-height:34px;padding:7px 9px;font-size:.74rem}.discount-type{border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--surface);cursor:pointer;min-width:38px;height:34px;font-size:.72rem;font-weight:750}.cart-summary,.payment-summary,.receipt-meta,.receipt-totals{flex-direction:column;gap:7px;display:flex}.cart-summary>div,.payment-summary>div,.receipt-meta>div,.receipt-totals>div{justify-content:space-between;align-items:baseline;gap:15px;display:flex}.cart-summary dt,.cart-summary dd{color:var(--ink-secondary);font-size:.74rem}.cart-summary dd,.payment-summary dd,.receipt-meta dd,.receipt-totals dd{margin:0;font-weight:650}.discount-row dt,.discount-row dd{color:var(--success)!important}.cart-total{border-top:1px solid var(--line-strong);margin-top:3px;padding-top:10px}.cart-total dt,.cart-total dd{font-weight:800;color:var(--ink)!important;font-size:1rem!important}.btn-checkout{justify-content:space-between;width:100%;min-height:48px;padding-inline:15px;font-size:.86rem}.owner-layout{background:var(--surface);grid-template-columns:224px minmax(0,1fr);min-height:calc(100vh - 64px);display:grid}.owner-sidebar{border-right:1px solid var(--line);background:var(--surface-subtle);flex-direction:column;height:calc(100vh - 64px);padding:26px 16px 18px;display:flex;position:sticky;top:64px}.owner-sidebar-heading{padding:0 9px 20px}.owner-sidebar-heading h2{letter-spacing:-.02em;margin-top:5px;font-size:.95rem}.owner-nav{flex-direction:column;gap:3px;display:flex}.owner-nav-item{border-radius:var(--radius-sm);min-height:40px;color:var(--ink-secondary);cursor:pointer;text-align:left;background:0 0;border:0;align-items:center;gap:10px;padding:8px 10px;font-size:.77rem;font-weight:650;display:flex;position:relative}.owner-nav-item:hover{background:var(--surface-strong);color:var(--ink)}.owner-nav-item.active{background:var(--ink);color:#fff}.nav-label-mobile{display:none}.owner-refresh{border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--surface);min-height:40px;color:var(--ink-secondary);cursor:pointer;justify-content:center;align-items:center;gap:8px;margin-top:auto;font-size:.74rem;font-weight:650;display:flex}.owner-content{background:var(--surface);min-width:0}.owner-page{width:min(100%,1260px);padding:34px 36px 56px}.owner-page.narrow-page{width:min(100%,760px)}.page-heading{align-items:flex-end;margin-bottom:28px}.page-heading>div>p:last-child{margin-top:8px;line-height:1.5}.kpi-strip{border-top:1px solid var(--line-strong);border-bottom:1px solid var(--line-strong);grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:36px;display:grid}.kpi-strip>div{border-right:1px solid var(--line);min-width:0;padding:19px 20px}.kpi-strip>div:first-child{padding-left:0}.kpi-strip>div:last-child{border-right:0}.kpi-strip dt{color:var(--ink-muted);font-size:.72rem;font-weight:650}.kpi-strip dd{color:var(--ink);letter-spacing:-.04em;text-overflow:ellipsis;white-space:nowrap;margin:8px 0 5px;font-size:clamp(1.25rem,2vw,1.65rem);font-weight:770;overflow:hidden}.kpi-strip small{color:var(--ink-muted);font-size:.68rem}.report-section{border-bottom:1px solid var(--line);padding-bottom:32px}.report-heading{align-items:flex-start;margin-bottom:18px}.report-heading h2{letter-spacing:-.025em;margin-top:4px;font-size:1.05rem}.chart-legend{color:var(--ink-muted);align-items:center;gap:7px;font-size:.68rem;display:flex}.chart-legend span{background:var(--ink);border-radius:2px;width:8px;height:8px;margin-left:7px;display:inline-block}.chart-legend span.profit{background:#ea580c}.chart-wrap{width:100%;height:300px}.split-reports{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px;padding-top:30px;display:grid}.report-list+.report-list{border-left:1px solid var(--line);padding-left:36px}.rank-list,.stock-list{list-style:none}.rank-list li,.stock-list li{border-bottom:1px solid var(--line);align-items:center;gap:10px;min-height:52px;display:grid}.rank-list li{grid-template-columns:28px minmax(0,1fr) auto}.stock-list li{grid-template-columns:minmax(0,1fr) auto}.rank-number{color:var(--ink-muted);font-family:Montserrat,sans-serif;font-size:.68rem}.rank-list li>span:nth-child(2),.stock-list li>span{flex-direction:column;gap:3px;min-width:0;display:flex}.rank-list strong,.stock-list strong{text-overflow:ellipsis;white-space:nowrap;font-size:.76rem;overflow:hidden}.rank-list small,.stock-list small{color:var(--ink-muted);font-size:.65rem}.rank-list b,.stock-list b{font-size:.72rem}.critical{color:var(--danger)!important}.inline-empty{color:var(--ink-muted);padding:18px 0;font-size:.78rem}.product-form{border-top:1px solid var(--line-strong);padding-top:24px}.table-page-heading{margin-bottom:20px}.table-toolbar{justify-content:space-between;margin-bottom:14px;display:flex}.table-scroll{border-top:1px solid var(--line-strong);width:100%;overflow-x:auto}.desktop-table-view{display:block}.mobile-card-list{display:none}.data-table{border-collapse:collapse;width:100%;min-width:820px;font-size:.75rem}.data-table th{border-bottom:1px solid var(--line-strong);color:var(--ink-muted);letter-spacing:.055em;text-align:left;text-transform:uppercase;white-space:nowrap;padding:11px 12px;font-size:.65rem;font-weight:750}.data-table td{border-bottom:1px solid var(--line);color:var(--ink-secondary);vertical-align:middle;padding:12px}.data-table tbody tr:hover{background:var(--surface-subtle)}.data-table td:last-child,.data-table th:last-child{text-align:right}.data-table strong{font-size:.77rem}.mono-cell{font-family:Montserrat,sans-serif;font-size:.7rem;font-weight:650;color:var(--ink)!important}.stock-number,.payment-label{background:var(--surface-strong);color:var(--ink-secondary);border-radius:4px;padding:3px 6px;font-size:.68rem;font-weight:750;display:inline-flex}.profit-cell{font-weight:750;color:var(--success)!important}.row-actions{justify-content:flex-end;gap:2px;display:flex}.page-loading{min-height:50vh;color:var(--ink-muted);justify-content:center;align-items:center;gap:8px;font-size:.8rem;display:flex}.loading-dot{background:var(--accent);border-radius:50%;width:8px;height:8px;animation:1s ease-in-out infinite alternate pulse}@keyframes pulse{to{opacity:.35;transform:scale(.8)}}.modal-backdrop{z-index:100;overscroll-behavior:contain;background:#1c1917a6;place-items:center;padding:20px;display:grid;position:fixed;inset:0;overflow-y:auto}.modal{border-radius:var(--radius-md);background:var(--surface);width:min(100%,560px);max-height:calc(100vh - 40px);box-shadow:var(--shadow-modal);border:1px solid #ffffff38;overflow:hidden}.modal-header{border-bottom:1px solid var(--line);min-height:72px;padding:15px 18px 14px 20px}.modal-header h2{letter-spacing:-.02em;margin-top:4px;font-size:1.08rem}.modal-body{padding:20px;overflow-y:auto}.modal-footer{border-top:1px solid var(--line);background:var(--surface-subtle);justify-content:flex-end;gap:9px;padding:14px 18px;display:flex}.modal-footer.single-action .btn{width:100%}.checkout-body{flex-direction:column;gap:19px;display:flex}.payment-summary{border-top:1px solid var(--line-strong);border-bottom:1px solid var(--line-strong);gap:8px;padding:14px 0}.payment-summary dt,.payment-summary dd{color:var(--ink-secondary);font-size:.77rem}.payment-total{border-top:1px solid var(--line);margin-top:4px;padding-top:10px}.payment-total dt,.payment-total dd{color:var(--ink);font-size:1.05rem;font-weight:800}.payment-methods{border:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.payment-methods legend{color:var(--ink-secondary);grid-column:1/-1;margin-bottom:8px;font-size:.75rem;font-weight:750}.payment-method{border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--surface);cursor:pointer;text-align:left;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;min-height:68px;padding:11px;display:grid}.payment-method>span{flex-direction:column;gap:3px;display:flex}.payment-method strong{font-size:.78rem}.payment-method small{color:var(--ink-muted);font-size:.66rem}.payment-method.active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.cash-payment{flex-direction:column;gap:10px;display:flex}.payment-input{min-height:48px;font-size:1rem;font-weight:750}.quick-values{flex-wrap:wrap;gap:6px;display:flex}.quick-values button{border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--surface);cursor:pointer;min-height:30px;padding:5px 9px;font-size:.68rem;font-weight:650}.quick-values button:hover{border-color:var(--accent);color:var(--accent)}.change-row{border-radius:var(--radius-sm);border:1px solid;justify-content:space-between;align-items:center;padding:11px 12px;font-size:.76rem;display:flex}.change-row.positive{background:var(--success-soft);color:var(--success);border-color:#a7f3d0}.change-row.negative{background:var(--danger-soft);color:var(--danger);border-color:#fecaca}.qris-panel{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);grid-template-columns:220px 1fr;align-items:stretch;gap:18px;padding:16px;display:grid}.qris-stand-card{text-align:center;border-radius:var(--radius-md);background:#fff;border:1px solid #e2e8f0;flex-direction:column;align-items:center;padding:14px 12px;display:flex;box-shadow:0 4px 12px #0000000d}.qris-stand-top{justify-content:space-between;width:100%;margin-bottom:8px;padding:0 4px;display:flex}.qris-logo-tag{font-family:var(--font-sans);letter-spacing:.05em;color:#c026d3;font-size:.85rem;font-weight:800}.gpn-logo-tag{font-family:var(--font-sans);color:#dc2626;font-size:.75rem;font-weight:800}.qris-merchant-info{margin-bottom:8px}.qris-merchant-name{color:#1e293b;letter-spacing:.02em;margin:0;font-size:.88rem;font-weight:800}.qris-nmid{font-family:var(--font-mono);color:#64748b;margin:2px 0 0;font-size:.62rem}.qris-code{border-radius:var(--radius-sm);background:#fff;border:1px solid #cbd5e1;justify-content:center;align-items:center;margin-bottom:8px;padding:6px;display:flex}.qris-code img{border-radius:2px;width:160px;height:160px;display:block}.qris-stand-bottom{border-top:1px dashed #e2e8f0;width:100%;padding-top:6px}.qris-slogan{color:#475569;letter-spacing:.04em;margin:0;font-size:.62rem;font-weight:700}.qris-bank{color:#64748b;margin:2px 0 0;font-size:.64rem}.qris-bank strong{color:#ea580c}.qris-instructions{flex-direction:column;justify-content:center;gap:8px;display:flex}.qris-instructions h3{color:var(--ink);margin:0;font-size:.95rem;font-weight:700;line-height:1.35}.qris-instructions p{color:var(--ink-muted);margin:0;font-size:.78rem;line-height:1.45}.qris-check-box{background:var(--surface-subtle);border:1px solid var(--line);border-radius:var(--radius-sm);flex-direction:column;gap:8px;margin-top:6px;padding:12px;display:flex}.qris-check-box div{justify-content:space-between;align-items:center;display:flex}.qris-check-box small{color:var(--ink-muted);font-size:.72rem}.qris-check-box strong{color:var(--ink);font-size:.85rem}.qris-check-box .qris-amount{color:var(--primary);font-size:1.05rem;font-family:var(--font-mono);font-weight:800}.product-modal{width:min(100%,620px)}.product-modal form{flex-direction:column;min-height:0;display:flex}.success-header{background:var(--success-soft)}.success-title{align-items:center;gap:11px;display:flex}.success-title>span{background:var(--success);color:#fff;border-radius:50%;place-items:center;width:34px;height:34px;display:grid}.receipt-modal{width:min(100%,490px)}.receipt-scroll{background:#eeece9;max-height:min(68vh,700px);padding:22px;overflow-y:auto}.receipt-paper{color:#1c1917;background:#fff;border-radius:1px;width:min(100%,330px);margin:0 auto;padding:24px 20px;font-family:Montserrat,sans-serif;box-shadow:0 2px 12px #1c191717}.receipt-store,.receipt-note{text-align:center}.receipt-store h3{letter-spacing:.05em;text-transform:uppercase;margin-bottom:7px;font-family:inherit;font-size:.93rem}.receipt-store p,.receipt-note span{color:#57534e;font-size:.63rem;line-height:1.5}.receipt-rule{border-top:1px dashed #78716c;margin:13px 0}.receipt-meta,.receipt-totals{gap:5px}.receipt-meta dt,.receipt-meta dd,.receipt-totals dt,.receipt-totals dd{font-size:.65rem}.receipt-meta dd{overflow-wrap:anywhere;text-align:right;max-width:58%}.receipt-items{flex-direction:column;gap:10px;display:flex}.receipt-item{justify-content:space-between;align-items:flex-start;gap:12px;font-size:.67rem;display:flex}.receipt-item>div{flex-direction:column;gap:2px;min-width:0;display:flex}.receipt-item strong,.receipt-item b{font-family:inherit;font-size:.67rem}.receipt-item span{color:#78716c;font-size:.61rem}.receipt-grand-total{border-top:1px dashed #78716c;border-bottom:1px dashed #78716c;margin:4px 0;padding:8px 0}.receipt-grand-total dt,.receipt-grand-total dd{font-size:.78rem;font-weight:800}.receipt-note{flex-direction:column;gap:4px;display:flex}.receipt-note strong{font-family:inherit;font-size:.68rem}.mobile-view-toggle,.mobile-floating-cart-bar,.mobile-back-to-catalog{display:none}.login-presets-grid{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}@media (width<=1120px){.cashier-layout{grid-template-columns:minmax(0,1fr) 350px}.catalog{padding-left:20px;padding-right:20px}.product-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}.kpi-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.kpi-strip>div:nth-child(2){border-right:0}.kpi-strip>div:nth-child(-n+2){border-bottom:1px solid var(--line)}.kpi-strip>div:nth-child(3){padding-left:0}}@media (width<=860px){.topbar-inner{grid-template-columns:auto 1fr auto;padding:0 16px}.brand-context,.connection-state,.user-chip{display:none}.mode-switch,.terminal-label{justify-self:center}.login-page{grid-template-columns:1fr}.login-intro{min-height:42vh;padding:34px 28px}.login-intro h1{max-width:560px;margin-top:12px;font-size:clamp(2.25rem,8vw,4rem)}.login-proof{display:none}.login-panel{min-height:auto;padding:42px 24px 56px}.mobile-view-toggle{background:var(--surface);border-bottom:1px solid var(--line);z-index:25;gap:8px;padding:10px 14px;display:flex;position:sticky;top:58px}.mobile-view-toggle .toggle-btn{border-radius:var(--radius-sm);border:1px solid var(--line-strong);background:var(--surface-subtle);cursor:pointer;color:var(--ink-secondary);flex:1;justify-content:center;align-items:center;gap:8px;padding:9px 12px;font-size:.82rem;font-weight:700;transition:all .14s;display:inline-flex}.mobile-view-toggle .toggle-btn.active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.toggle-badge{background:var(--accent);color:#fff;border-radius:10px;justify-content:center;align-items:center;min-width:19px;height:19px;padding:0 5px;font-size:.68rem;font-weight:800;display:inline-flex}.catalog.mobile-hidden,.cart-panel.mobile-hidden{display:none!important}.mobile-back-to-catalog{display:inline-flex!important}.mobile-floating-cart-bar{z-index:45;color:#fff;background:#1c1917;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;animation:.18s ease-out slideUpFloat;display:flex;position:fixed;bottom:14px;left:12px;right:12px;box-shadow:0 10px 30px #00000059}@keyframes slideUpFloat{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}.floating-cart-info{flex-direction:column;gap:2px;display:flex}.floating-cart-count{color:#a8a29e;font-size:.72rem;font-weight:500}.floating-cart-total{color:#fb923c;font-size:1.05rem;font-weight:800}.catalog{padding-bottom:84px}.cashier-layout{grid-template-columns:1fr}.cart-panel{border-top:1px solid var(--line-strong);border-left:0;border-right:0;height:auto;min-height:560px;position:relative;top:0}.cart-items{max-height:420px}.owner-layout{flex-direction:column;width:100%;min-height:calc(100vh - 58px);display:flex}.owner-sidebar{z-index:30;-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none;border-right:0;border-bottom:1px solid var(--line);background:#fff;width:100%;height:auto;padding:8px 12px;position:sticky;top:58px;overflow-x:auto}.owner-sidebar::-webkit-scrollbar{display:none}.owner-sidebar-heading,.owner-refresh,.nav-label-desktop{display:none}.nav-label-mobile{display:inline}.owner-nav{grid-template-columns:repeat(5,1fr);gap:3px;width:100%;display:grid}.owner-nav-item{text-align:center;white-space:nowrap;border-radius:var(--radius-sm);flex-direction:column;justify-content:center;align-items:center;gap:2px;min-height:48px;padding:6px 1px;font-size:.65rem;font-weight:700;display:flex}.owner-nav-item svg{width:15px;height:15px}.owner-content{flex:1;width:100%;min-width:0}.owner-page{width:100%;padding:20px 14px 48px}.split-reports{grid-template-columns:1fr}.desktop-table-view{display:none}.mobile-card-list{flex-direction:column;gap:10px;margin-top:14px;display:flex}.mobile-product-card,.mobile-tx-card{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);flex-direction:column;gap:10px;padding:14px;display:flex;box-shadow:0 1px 3px #00000008}.mobile-product-card-top,.mobile-tx-header{justify-content:space-between;align-items:center;gap:8px;display:flex}.mobile-product-tags{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.mono-badge{border:1px solid var(--line-strong);background:var(--surface-subtle);color:var(--ink);border-radius:4px;padding:3px 6px;font-family:Montserrat,monospace;font-size:.68rem;font-weight:700}.category-pill{background:var(--surface-subtle);color:var(--ink-secondary);border-radius:4px;padding:3px 7px;font-size:.68rem;font-weight:600}.mobile-card-actions{align-items:center;gap:6px;display:flex}.danger-text{color:var(--danger)!important}.mobile-product-title{color:var(--ink);font-size:.92rem;font-weight:750;line-height:1.35}.mobile-product-stats,.mobile-tx-body{border-top:1px solid var(--line);grid-template-columns:1.2fr 1fr 1fr;gap:8px;padding-top:10px;display:grid}.mobile-tx-body{grid-template-columns:1fr 1fr}.mobile-product-stats>div,.mobile-tx-body>div{flex-direction:column;gap:2px;display:flex}.mobile-product-stats small,.mobile-tx-body small{color:var(--ink-muted);letter-spacing:.03em;text-transform:uppercase;font-size:.65rem;font-weight:600}.mobile-product-stats b{color:var(--accent);font-size:.88rem;font-weight:800}.mobile-product-stats span{color:var(--ink-secondary);font-size:.82rem;font-weight:600}.stock-pill{color:#047857;background:#ecfdf5;border-radius:4px;width:fit-content;padding:2px 7px;font-size:.72rem;font-weight:750;display:inline-block}.stock-pill.critical{color:#dc2626;background:#fef2f2}.mobile-tx-time{color:var(--ink-muted);font-size:.72rem;font-weight:500}.mobile-tx-total{color:var(--ink);font-size:1rem;font-weight:800}.full-width{justify-content:center;width:100%}}@media (width<=620px){.topbar-inner{gap:8px;min-height:58px;padding:0 10px}.brand-mark{width:32px;height:32px}.brand-context,.terminal-label span,.mode-button span{display:none}.mode-button{padding-inline:10px}.catalog{padding:22px 14px 38px}.catalog-heading{align-items:flex-start}.catalog-heading>p{display:none}.catalog-heading h1,.page-heading h1{font-size:1.4rem}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.product-body{min-height:127px;padding:10px}.product-body>strong{font-size:.77rem}.product-price-row{align-items:flex-end}.product-price-row b{font-size:.78rem}.add-cue{background:var(--accent-soft);border-radius:4px;justify-content:center;width:26px;height:26px;font-size:0}.product-meta{flex-direction:column;align-items:flex-start;gap:3px}.cart-panel{min-height:520px}.owner-sidebar{top:58px}.owner-page{padding:24px 14px 42px}.page-heading{flex-direction:column;align-items:flex-start}.table-page-heading .btn{width:100%}.kpi-strip{border:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:24px;display:grid}.kpi-strip>div{background:var(--surface-subtle);border:1px solid var(--line);border-radius:var(--radius-md);padding:12px 14px}.kpi-strip dd{margin:4px 0 2px;font-size:1.25rem}.chart-wrap{height:240px}.chart-legend{display:none}.two-cols,.three-cols,.payment-methods{grid-template-columns:1fr}.modal-backdrop{align-items:end;padding:0}.modal{border-bottom:0;border-left:0;border-right:0;border-radius:10px 10px 0 0;width:100%;max-height:94vh}.qris-panel{text-align:center;grid-template-columns:1fr}.qris-code{width:fit-content;margin:0 auto}.modal-footer .btn{flex:1}.receipt-scroll{padding:16px}}@media (width<=480px){.login-presets-grid{grid-template-columns:1fr;gap:6px}.cart-header{flex-direction:column;align-items:flex-start;gap:10px}.cart-line-top{flex-direction:column;align-items:flex-start;gap:4px}.cart-line-actions{justify-content:space-between}.catalog{padding:16px 12px 90px}.search-control input{font-size:14px}.category-tabs{gap:6px;padding-bottom:6px}.category-tab{padding:6px 10px;font-size:.76rem}}@media (width<=390px){.product-grid{grid-template-columns:1fr}.product-tile{grid-template-columns:118px 1fr;display:grid}.product-media{aspect-ratio:auto;height:100%;min-height:150px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media print{body *{visibility:hidden}#printable-receipt,#printable-receipt *{visibility:visible}#printable-receipt{width:80mm;box-shadow:none;position:absolute;top:0;left:0}}.product-size-badge{background-color:var(--surface-subtle);color:var(--ink-muted);border:1px solid var(--line);border-radius:var(--radius-sm);letter-spacing:.02em;align-items:center;padding:1px 6px;font-size:.68rem;font-weight:600;display:inline-flex}.cart-item-size-tag{color:var(--primary);font-size:.72rem;font-weight:600;display:inline-block}.table-size-badge{background-color:var(--surface-subtle);border-radius:var(--radius-sm);color:var(--ink);font-size:.75rem;font-weight:600;font-family:var(--font-mono);padding:2px 8px;display:inline-block}.size-badge-mobile{color:#1d4ed8;background-color:#eff6ff;border:1px solid #bfdbfe;border-radius:9999px;padding:2px 7px;font-size:.68rem;font-weight:600;display:inline-block}.cart-campaign-box{border-radius:var(--radius-md);background-color:#fff7ed;border:1px solid #fed7aa;flex-direction:column;gap:6px;margin-bottom:10px;padding:10px 12px;display:flex}.campaign-box-header{color:#c2410c;text-transform:uppercase;letter-spacing:.03em;align-items:center;gap:6px;font-size:.75rem;font-weight:700;display:flex}.campaign-select{color:var(--ink);background-color:#fff;border:1px solid #fdba74;font-size:.82rem;font-weight:600}.campaign-notice{margin:0;font-size:.73rem;font-weight:600;line-height:1.3}.campaign-notice.warning{color:#dc2626}.campaign-notice.success{color:#16a34a}.campaign-manager-layout{grid-template-columns:360px 1fr;align-items:flex-start;gap:24px;display:grid}.campaign-form-card{background-color:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:20px}.campaign-form-card .card-header{color:var(--primary);align-items:center;gap:8px;margin-bottom:16px;display:flex}.campaign-form-card .card-header h3{color:var(--ink);font-size:.98rem;font-weight:700}.campaign-form{flex-direction:column;gap:14px;display:flex}.uppercase-input{text-transform:uppercase;letter-spacing:.05em;font-family:var(--font-mono);font-weight:700}.campaign-list-section{flex-direction:column;gap:16px;display:flex}.section-title-row{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;display:flex}.section-title-row h3{color:var(--ink);font-size:1.05rem;font-weight:700}.section-title-row small{color:var(--ink-muted);font-size:.8rem}.campaign-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;display:grid}.campaign-card{background-color:var(--surface);border:1px solid var(--line);border-radius:var(--radius-md);box-shadow:var(--shadow-sm);flex-direction:column;padding:16px;transition:all .2s;display:flex}.campaign-card.inactive{opacity:.65;background-color:#fafaf9}.campaign-card-header{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.campaign-code-tag{color:#c2410c;border-radius:var(--radius-sm);font-family:var(--font-mono);letter-spacing:.05em;background-color:#ffedd5;padding:3px 8px;font-size:.82rem;font-weight:700;display:inline-block}.status-pill{text-transform:uppercase;border-radius:9999px;padding:2px 8px;font-size:.68rem;font-weight:700}.status-pill.online{color:#15803d;background-color:#dcfce7}.status-pill.offline{color:#6b7280;background-color:#f3f4f6}.campaign-title{color:var(--ink);margin-bottom:8px;font-size:.95rem;font-weight:700}.campaign-details{flex-direction:column;gap:4px;margin-bottom:14px;display:flex}.discount-badge-value{color:var(--primary);font-size:1.25rem;font-weight:800;font-family:var(--font-mono)}.min-spend-tag{color:var(--ink-muted);font-size:.75rem}.campaign-card-footer{border-top:1px solid var(--line);justify-content:space-between;align-items:center;margin-top:auto;padding-top:12px;display:flex}@media (width<=960px){.campaign-manager-layout{grid-template-columns:1fr}}.tax-control{background-color:var(--surface-subtle);border:1px solid var(--line);border-radius:var(--radius-md);flex-direction:column;gap:8px;margin-top:8px;margin-bottom:8px;padding:10px 12px;display:flex}.tax-control-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;display:flex}.tax-title{color:var(--ink);align-items:center;gap:6px;font-size:.78rem;font-weight:700;display:inline-flex}.tax-chips{align-items:center;gap:4px;display:flex}.tax-chip{border-radius:var(--radius-sm);border:1px solid var(--line);color:var(--ink-muted);cursor:pointer;background-color:#fff;padding:3px 8px;font-size:.72rem;font-weight:700;transition:all .15s}.tax-chip:hover{border-color:var(--primary);color:var(--primary)}.tax-chip.active{background-color:var(--primary);border-color:var(--primary);color:#fff}.tax-input-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.tax-field-wrap{align-items:center;width:90px;display:inline-flex;position:relative}.tax-field-wrap .tax-input{text-align:right;width:100%;height:32px;padding-left:8px;padding-right:24px;font-size:.85rem;font-weight:700}.tax-suffix{color:var(--ink-muted);pointer-events:none;font-size:.78rem;font-weight:700;position:absolute;right:8px}.tax-nominal-preview{color:var(--ink);font-size:.82rem;font-weight:700;font-family:var(--font-mono)}.product-sale-badge{z-index:2;color:#fff;letter-spacing:.04em;text-transform:uppercase;background:#dc2626;border-radius:6px;align-items:center;padding:3px 8px;font-family:Montserrat,sans-serif;font-size:.65rem;font-weight:800;display:inline-flex;position:absolute;top:9px;left:9px;box-shadow:0 2px 6px #dc262673}.sale-badge-small{color:#dc2626;letter-spacing:.02em;background:#dc26261f;border-radius:4px;align-items:center;padding:2px 6px;font-family:Montserrat,sans-serif;font-size:.62rem;font-weight:750;display:inline-flex}.product-tile.on-sale{border-color:#dc262640}.product-tile.on-sale:hover:not(:disabled){border-color:#dc262673}.product-price-stack{flex-direction:column;align-items:flex-start;gap:1px;display:flex}.price-strike{color:#a8a29e;font-size:.72rem;font-weight:500;text-decoration:line-through}.discount-price{letter-spacing:-.015em;font-size:.92rem;font-weight:800;color:#dc2626!important}.cart-price-strike{color:#a8a29e;font-size:.75rem;text-decoration:line-through}.cart-discount-price{color:#dc2626;font-weight:700}.table-price-strike{color:#a8a29e;margin-right:6px;font-size:.75rem;text-decoration:line-through}.table-discount-price{color:#dc2626;font-weight:700}
