.pos-pane{display:flex;flex-direction:column;gap:6px;padding:6px;min-height:0;min-width:0}.summary-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:0 0 auto}.console-primary-actions .MuiButton-root{font-weight:700;text-transform:none}.pos-pane.pos-summary{overflow:hidden;min-height:0}.pos-summary.pos-console{display:flex;flex-direction:column;gap:6px;overflow:hidden;min-height:0}.console-scroll{display:flex;flex-direction:column;gap:6px;flex:1 1 auto;min-height:0;overflow-y:auto;scrollbar-gutter:stable;padding-right:2px}.console-primary-actions{flex:0 0 auto}.pos-pane.pos-summary.pos-surface.pos-console{background:#fff!important;border:1px solid #ccd4e0!important;color:#17233d}.pos-layout{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;gap:6px;height:100vh;overflow:hidden;padding:6px;background:#e7ebf1;color:#17233d}.pos-content-shell{grid-column:1 / -1;display:grid;grid-template-columns:minmax(0,1fr) 284px;gap:6px;min-height:0;align-items:stretch;height:100%}.pos-content-shell>.pos-pane{min-height:0}.pos-header{grid-column:1 / -1;display:flex;align-items:center;gap:12px;padding:5px 10px;border:1px solid #ccd4e0;background:#fff}.pos-header-brand{flex:0 0 auto;line-height:1.15;display:flex;align-items:center;gap:10px}.pos-header-logo{height:34px;width:auto;object-fit:contain}.pos-header-brand-name{font-weight:900;font-size:1rem;color:#c0392b;max-width:220px}.pos-header-eyebrow{display:block;letter-spacing:.14em;text-transform:uppercase;color:#6b7688;font-size:.62rem}.pos-header-status{flex:0 0 auto;display:flex;align-items:center;gap:6px;flex-wrap:nowrap}.pos-status-dot{width:9px;height:9px;border-radius:50%;display:inline-block}.pos-status-dot.online{background:#1f9d55;box-shadow:0 0 0 3px #1f9d552e}.pos-status-dot.offline{background:#d9534f;box-shadow:0 0 0 3px #d9534f2e}.pos-header-chip{display:flex;flex-direction:column;line-height:1.1;padding:3px 8px;background:#f3f5f9;border:1px solid #dde3ec;min-width:78px}.pos-header-chip-label{font-size:.6rem;text-transform:uppercase;letter-spacing:.06em;color:#6b7688}.pos-header-chip-value{font-weight:800;font-size:.8rem;color:#17233d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:140px}.pos-pane.pos-items.pos-surface{background:#fff!important;border:1px solid #ccd4e0;box-shadow:none}.pos-items .pos-mode-bar{border-bottom:1px solid #e3e7ee;color:#17233d}.pos-items .pos-scan-row{background:#f6f8fb;border:1px solid #dde3ec}.pos-items .pos-product-search .MuiOutlinedInput-root{background:#fff}.pos-grid-wrap{flex:1;min-height:0;overflow:auto;border:1px solid #ccd4e0}.pos-items,.pos-summary{display:flex;flex-direction:column;min-height:0}.pos-summary .pos-pane,.pos-items .pos-pane{min-height:0}.pos-grid-table{width:100%;border-collapse:collapse;font-size:.8rem}.pos-grid-table th,.pos-grid-table td,.pos-grid-table .MuiTableCell-root{padding:4px 8px;border-bottom:1px solid #e3e7ee;border-right:1px solid #edf0f5;color:#17233d;white-space:nowrap}.pos-grid-table thead tr{background:#1a2456}.pos-grid-table thead .MuiTableCell-root{color:#fff;font-weight:700;border-right-color:#ffffff24}.pos-sku-cell{white-space:normal!important;max-width:200px;line-height:1.2}.pos-sku-code{display:block;font-weight:800;font-variant-numeric:tabular-nums}.pos-sku-name{display:block;margin-top:1px;font-size:.72rem;color:#5a6478;white-space:normal;overflow-wrap:anywhere}.pos-barcode-cell{font-size:.74rem;font-weight:600;letter-spacing:.02em;font-variant-numeric:tabular-nums;color:#5a6478;white-space:nowrap}.pos-grid-row{cursor:pointer}.pos-grid-row:hover{background:#f1f5fc}.pos-grid-row.selected{background:#dce8fb}.pos-grid-empty{text-align:center;padding:28px!important;color:#6b7688;white-space:normal!important}.pos-grid-cell-editable{padding:0!important}.pos-grid-input{width:100%;min-width:56px;box-sizing:border-box;padding:4px 8px;border:none;background:transparent;color:#17233d;font:inherit;font-weight:700;text-align:right;font-variant-numeric:tabular-nums}.pos-grid-input:focus{outline:2px solid #1a2456;outline-offset:-2px;background:#eef2fb}.pos-line-delete.MuiIconButton-root{width:30px;height:30px;color:#b0261f;border-radius:6px}.pos-line-delete.MuiIconButton-root:hover{background:#fdeaea;color:#8c1a15}.pos-grid-price{font-weight:700;font-variant-numeric:tabular-nums}.qty-stepper{display:inline-flex;align-items:center;gap:2px;padding:2px;border:1px solid #ccd4e0;border-radius:8px;background:#f4f7fb}.qty-stepper .qty-btn{width:26px;height:26px;border-radius:6px;color:#1a2456;background:#fff;border:1px solid #ccd4e0;padding:0}.qty-stepper .qty-btn:hover{background:#1a2456;color:#fff}.qty-stepper .qty-btn.Mui-disabled{opacity:.4}.qty-stepper .qty-value{min-width:30px;text-align:center;font-weight:800;font-variant-numeric:tabular-nums}.pos-grid-row.selected .qty-stepper{border-color:#1a2456;background:#eef2fb}.discount-chip.MuiButton-root{min-width:64px;height:32px;font-weight:700;text-transform:none;white-space:nowrap}.pos-bill-summary{display:grid;grid-template-columns:1fr 1fr;column-gap:12px;border-top:1px solid #e3e7ee;border-bottom:1px solid #e3e7ee;padding:2px 0}.pos-bill-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:1px 2px;font-size:.74rem}.pos-bill-row span:first-child{color:#6b7688}.pos-bill-row span:last-child{font-weight:700;color:#17233d;font-variant-numeric:tabular-nums}.pos-bill-bars{display:flex;flex-direction:column;gap:4px}.pos-bill-bar{display:flex;align-items:center;justify-content:space-between;padding:6px 10px;font-weight:800}.pos-bill-bar span{text-transform:uppercase;letter-spacing:.08em;font-size:.72rem}.pos-bill-bar strong{font-size:1.1rem;font-variant-numeric:tabular-nums}.pos-bill-bar.net{background:#1f9d55;color:#fff}.pos-bill-bar.tender,.pos-bill-bar.return{background:#eef1f6;color:#17233d;border:1px solid #ccd4e0}.pos-function-bar{grid-column:1 / -1;display:flex;flex-wrap:nowrap;gap:4px;padding:5px 6px;background:#fff;border:1px solid #ccd4e0;overflow-x:auto}.pos-fkey-btn{display:flex;align-items:center;gap:4px;flex:0 0 auto;min-width:0;padding:3px 7px;color:#17233d;border-color:#ccd4e0;text-transform:none;font-weight:700;font-size:.74rem;white-space:nowrap}.pos-fkey-btn.secondary{color:#6b7688;border-color:#dde3ec;font-weight:600}.pos-fkey-badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:18px;padding:0 4px;background:#1a2456;color:#fff;font-size:.66rem;font-weight:800}@media(max-width:1280px){.pos-layout{height:auto;min-height:100vh;overflow:visible}.pos-content-shell{grid-template-columns:minmax(0,1fr)}.pos-grid-wrap{max-height:52vh}}@media(min-width:900px)and (max-width:1280px)and (min-aspect-ratio:5/4){.pos-layout{height:100vh;min-height:0;overflow:hidden}.pos-content-shell{grid-template-columns:minmax(0,1fr) 260px}.pos-grid-wrap{max-height:none}}@media(pointer:coarse),(max-width:1280px){.pos-fkey-btn{min-height:52px;padding:6px 12px;font-size:.9rem}.pos-grid-table th,.pos-grid-table td,.pos-grid-table .MuiTableCell-root{padding-top:10px;padding-bottom:10px}.console-cash-buttons .MuiButton-root,.console-primary-actions .MuiButton-root{min-height:48px}.qty-stepper .qty-btn{width:34px;height:34px}.discount-chip.MuiButton-root{height:38px}.keypad-key.MuiButton-root{height:60px}}.kiosk-prompt-overlay{position:fixed;inset:0;z-index:1400;display:flex;align-items:center;justify-content:center;cursor:pointer;background:#0a192fb8;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.kiosk-prompt-card{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;max-width:460px;padding:40px 48px;background:#fff;color:#17233d;box-shadow:0 24px 60px -24px #00000073;cursor:default}.pos-surface{border:1px solid #ccd4e0;background:#fff;box-shadow:none}.pos-mode-bar{display:flex;align-items:center;justify-content:flex-start;gap:12px;margin-bottom:4px;padding:0 0 6px;border-bottom:1px solid #e3e7ee;background:transparent}.pos-scan-row{display:flex;align-items:center;gap:12px;padding:8px;background:#f6f8fb;border:1px solid #dde3ec}.pos-scan-row>.MuiSvgIcon-root{flex:0 0 auto}.pos-scan-row .pos-product-search .MuiOutlinedInput-root{height:48px}.pos-scan-row .pos-scan-add{flex:0 0 auto;height:48px;align-self:center;white-space:nowrap}.pos-product-search .MuiOutlinedInput-root,.console-customer-search .MuiOutlinedInput-root{background:#fff}.return-lookup-panel{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(220px,1fr) auto;gap:12px;align-items:center;padding:10px;margin-bottom:10px;background:#f59e0b14;border:1px solid rgba(245,158,11,.32)}.return-panel{display:flex;flex-direction:column;gap:8px;padding:10px;margin-bottom:8px;background:#f59e0b14;border:1px solid rgba(245,158,11,.32);border-radius:6px}.return-lookup-row{display:flex;gap:8px;align-items:center}.return-lookup-row .return-invoice-search{flex:1 1 auto}.return-lookup-row .MuiButton-root{flex:0 0 auto;height:40px;white-space:nowrap}.return-invoice-body{display:flex;flex-direction:column;gap:8px}.return-source-card{padding:6px 8px;background:#fff;border:1px solid #e2c88a;border-radius:6px}.return-scan-row{display:flex;align-items:center;gap:8px;padding:6px 8px;background:#fff;border:1px solid #e2c88a;border-radius:6px}.return-scan-row .MuiButton-root{flex:0 0 auto;white-space:nowrap}.return-invoice-lines{display:flex;flex-direction:column;gap:4px;max-height:148px;overflow-y:auto}.return-invoice-line{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:5px 8px;background:#fff;border:1px solid #e6eaf1;border-radius:6px}.return-invoice-line .MuiButton-root{flex:0 0 auto}.return-source-card{grid-column:1 / -1;padding:10px;background:#fff;border:1px solid #e9ebec}.customer-dialog{padding-top:var(--field-gap-y)!important}.thermal-receipt{box-sizing:border-box;width:72mm;max-width:100%;margin:0 auto;padding:10px 6px;color:#111;background:#fff;font-family:Courier New,monospace;font-size:13.5px;line-height:1.3;text-align:center;border:1px dashed #999}.thermal-receipt *{box-sizing:border-box}.thermal-receipt.thermal-58{width:48mm;padding:8px 4px;font-size:12px}.thermal-receipt .MuiTypography-root{font-family:inherit;font-size:.95rem;line-height:1.3}.thermal-receipt.thermal-58 .MuiTypography-root{font-size:.82rem;line-height:1.25}.thermal-receipt.thermal-58 .receipt-line{column-gap:4px;font-size:.8rem}.thermal-receipt.thermal-58 .receipt-grid{gap:2px 4px;font-size:.82rem}.receipt-logo{font-weight:900;letter-spacing:.04em}.receipt-logo-img{display:block;max-width:70%;max-height:72px;margin:0 auto 6px;object-fit:contain}.receipt-grid{display:grid;grid-template-columns:auto 1fr;gap:2px 8px;text-align:left;margin:5px 0;font-size:.9rem}.receipt-grid span{white-space:nowrap}.receipt-grid span:nth-child(2n){text-align:right;white-space:normal;overflow-wrap:anywhere}.thermal-receipt .MuiDivider-root{margin:5px 0}.receipt-line{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;column-gap:6px;row-gap:0;text-align:left;margin:3px 0;font-size:.9rem}.receipt-line>span:not(:first-child){text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.receipt-line>span:first-child{overflow-wrap:anywhere;word-break:normal}.receipt-fullspan{grid-column:1 / -1;font-weight:700}.receipt-name-ar{display:block;text-align:left;direction:rtl;font-weight:700;font-family:Segoe UI,Tahoma,Arial,sans-serif}.receipt-item-code{display:block;font-weight:800;letter-spacing:.02em}.receipt-discount{font-weight:700;line-height:1.3;font-size:.86em}.receipt-line>span.receipt-discount{grid-column:1 / -1;text-align:left;padding-left:6px;white-space:normal;overflow-wrap:anywhere}.receipt-head{font-weight:900;border-bottom:1px dashed #555;padding-bottom:4px}.receipt-barcode{margin:14px auto 4px;padding:10px 0;font-family:Courier New,monospace;font-size:1rem;letter-spacing:.12em;border-top:1px dashed #555;border-bottom:1px dashed #555}@media print{body *{visibility:hidden}.thermal-receipt,.thermal-receipt *{visibility:visible}.thermal-receipt{position:absolute;left:0;top:0;width:72mm;border:0}.thermal-receipt.thermal-58{width:48mm}@page{margin:0}}.pos-summary{display:grid;gap:6px;align-content:start}.pos-console{display:grid;gap:4px;padding:6px;background:#fff}.console-customer-row,.console-primary-actions,.console-cash-entry,.console-cash-buttons{display:grid;gap:6px}.console-customer-row{grid-template-columns:minmax(0,1fr) 52px;gap:4px;align-items:stretch}.console-customer-search .MuiInputBase-root,.console-salesman .MuiInputBase-root,.console-new-customer.MuiButton-root{min-height:32px}.console-salesman .MuiFormHelperText-root{margin:1px 0 0;font-size:.65rem}.console-new-customer.MuiButton-root{min-width:0;padding:2px 4px;font-size:.7rem}.console-customer-chips{padding:1px 0}.console-customer-chips .MuiChip-root{height:20px;font-size:.68rem}.console-customer-card,.console-settlement{display:grid;gap:4px;padding:6px;background:#f6f8fb;border:1px solid #dde3ec}.console-cash-entry{grid-template-columns:minmax(0,1fr)}.console-cash-buttons{grid-template-columns:1fr auto;align-items:center}.console-cash-buttons .MuiButton-root,.console-cash-buttons .MuiIconButton-root{min-height:36px}.console-cash-buttons .MuiIconButton-root{border:1px solid #ccd4e0;border-radius:0}.console-split{display:grid;gap:8px}.console-split-due{display:flex;align-items:baseline;justify-content:space-between;font-size:.82rem;font-weight:700;color:#41506a}.console-split-due strong{font-size:1rem;color:#17233d;font-variant-numeric:tabular-nums}.console-primary-actions{grid-template-columns:1fr;position:sticky;bottom:0;padding-top:4px;background:#fff}.console-primary-actions .MuiButton-root{min-height:46px;font-size:1rem}.pos-fx-strip{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 10px;background:#0ab39c14;border:1px solid rgba(10,179,156,.3)}.pos-fx-amount{font-weight:800;color:#0ab39c;font-variant-numeric:tabular-nums}.pos-fx-rate{font-size:.7rem;color:#6b7688}.return-blocker-title{display:flex;align-items:center;gap:10px}.thermal-receipt .receipt-policy{margin-top:6px;font-size:.78rem;line-height:1.35;white-space:normal;overflow-wrap:anywhere}:root{--bg: #f3f3f9;--surface: #ffffff;--surface-2: #f3f6f9;--border: #e9ebec;--text: #212529;--text-2: #878a99;--primary: #405189;--primary-soft: rgba(64, 81, 137, .1);--accent: #4b38b3;--success: #0ab39c;--warning: #f7b84b;--danger: #f06548;--info: #299cdb;--shadow-sm: 0 1px 2px rgba(56, 65, 74, .1);--shadow-md: 0 3px 12px -4px rgba(56, 65, 74, .18), 0 1px 4px -2px rgba(56, 65, 74, .08);--shadow-lg: 0 12px 40px -16px rgba(56, 65, 74, .32), 0 4px 16px -8px rgba(56, 65, 74, .14);--field-gap-x: 20px;--field-gap-y: 22px;--table-stripe: rgba(56, 65, 74, .035);--table-hover: rgba(64, 81, 137, .06);--topbar-h: 70px;--sidebar-w: 250px;--sb-bg: #2a3042;--sb-text: #abb9e8;--sb-text-active: #ffffff;--sb-section: #7c8db5;--sb-hover-bg: rgba(255, 255, 255, .05);--sb-active-bg: rgba(255, 255, 255, .07);--sb-border: rgba(255, 255, 255, .06)}[data-theme=dark]{--table-stripe: rgba(255, 255, 255, .03);--table-hover: rgba(255, 255, 255, .05);--bg: #16191c;--surface: #212529;--surface-2: #2a2f34;--border: rgba(255, 255, 255, .09);--text: #ced4da;--text-2: #878a99;--primary: #5c6ea8;--primary-soft: rgba(92, 110, 168, .2);--accent: #6f5fd6;--shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);--shadow-md: 0 8px 24px -12px rgba(0, 0, 0, .6);--shadow-lg: 0 24px 60px -24px rgba(0, 0, 0, .7)}html,body,#root{min-height:100%;margin:0}body{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.app-frame{min-height:100vh;background:var(--bg);color:var(--text)}.topbar{z-index:1201;border-bottom:1px solid var(--border);background:var(--surface);box-shadow:0 1px 2px #38414a1a}@media(min-width:981px){.topbar.topbar-offset{left:var(--sidebar-w);width:calc(100% - var(--sidebar-w))}[dir=rtl] .topbar.topbar-offset{left:auto;right:var(--sidebar-w)}}.topbar .MuiToolbar-root{gap:10px;min-width:0;min-height:var(--topbar-h);align-items:center}.topbar-actions{display:flex;align-items:center;gap:8px;margin-left:auto;flex-wrap:nowrap}.topbar-search{flex:1;max-width:340px;min-width:0}.topbar-search .MuiInputBase-root{height:38px;border-radius:6px;background:var(--surface-2)}.topbar-search .MuiOutlinedInput-notchedOutline{border-color:transparent}.topbar-search .MuiInputBase-root.Mui-focused .MuiOutlinedInput-notchedOutline{border-color:var(--border)}.topbar-actions .MuiIconButton-root{color:var(--text-2);border-radius:8px}.topbar-actions .MuiIconButton-root:hover{color:var(--text);background:var(--surface-2)}.topbar-user{display:flex;align-items:center;gap:10px;padding:6px 8px 6px 10px;border-radius:8px;cursor:pointer;transition:background .19s cubic-bezier(.22,1,.36,1);-webkit-user-select:none;user-select:none}.topbar-user:hover{background:var(--surface-2)}.topbar-user:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.topbar-user-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:.85rem;color:#fff;background:linear-gradient(135deg,var(--accent),var(--primary));flex-shrink:0}.topbar-user-meta{display:flex;flex-direction:column;line-height:1.15}.topbar-user-name{font-size:.82rem;font-weight:600;color:var(--text)}.topbar-user-role{font-size:.7rem;color:var(--text-2);text-transform:capitalize}.topbar-user-caret{color:var(--text-2);flex-shrink:0;transition:transform .19s cubic-bezier(.22,1,.36,1)}.topbar-user[aria-expanded=true] .topbar-user-caret{transform:rotate(180deg)}.profile-menu{margin-top:8px!important;overflow:visible!important}.profile-menu:before{content:"";position:absolute;top:-12px;left:-8px;right:-8px;height:14px}.profile-menu-head{padding:8px 14px 6px;min-width:0}@media(max-width:760px){.topbar-user-meta,.topbar-hide-sm{display:none}}.topbar-divider{width:1px;height:26px;background:var(--border);margin-inline:2px}.topbar-kbd,.cmd-kbd{display:inline-grid;place-items:center;min-width:18px;height:20px;padding:0 5px;font-size:.68rem;font-weight:700;color:var(--text-2);background:var(--surface-2);border:1px solid var(--border);border-radius:6px}.command-palette.MuiDialog-paper,.command-palette{position:fixed;top:12vh;margin:0;width:min(600px,calc(100vw - 32px));border-radius:16px;overflow:hidden}.cmd-input-row{display:flex;align-items:center;gap:10px;padding:14px 18px;border-bottom:1px solid var(--border);color:var(--text-2)}.cmd-input-row .MuiInputBase-root{font-size:1rem;color:var(--text)}.cmd-list{max-height:46vh;overflow-y:auto;padding:8px}.cmd-group{font-size:.68rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--text-2);padding:10px 10px 4px}.cmd-item{display:flex;align-items:center;gap:12px;width:100%;padding:10px 12px;border:none;background:transparent;border-radius:10px;cursor:pointer;color:var(--text);font:inherit;text-align:left}.cmd-item.active{background:var(--primary-soft);color:var(--primary)}.cmd-item-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:var(--surface-2);color:var(--text-2)}.cmd-item.active .cmd-item-icon{background:color-mix(in srgb,var(--primary) 18%,transparent);color:var(--primary)}.cmd-item-label{flex:1;font-weight:600}.cmd-item-enter{opacity:.6}.cmd-empty{padding:30px;text-align:center}.cmd-footer{display:flex;gap:16px;padding:10px 16px;border-top:1px solid var(--border);color:var(--text-2);font-size:.75rem}.cmd-footer span{display:inline-flex;align-items:center;gap:5px}.toast-stack{position:fixed;top:18px;right:18px;z-index:2000;display:flex;flex-direction:column;gap:10px;max-width:calc(100vw - 36px)}.toast{display:flex;align-items:center;gap:10px;min-width:280px;max-width:380px;padding:12px 14px;border-radius:12px;background:var(--surface);color:var(--text);border:1px solid var(--border);border-left:4px solid var(--toast-accent, var(--primary));box-shadow:var(--shadow-lg);animation:toast-in .22s cubic-bezier(.16,1,.3,1)}.toast-success{--toast-accent: #22c55e}.toast-error{--toast-accent: #ef4444}.toast-warning{--toast-accent: #f59e0b}.toast-info{--toast-accent: #06b6d4}.toast-icon{display:grid;place-items:center;color:var(--toast-accent)}.toast-message{flex:1;font-size:.88rem;font-weight:500;line-height:1.35}.toast-close{display:grid;place-items:center;border:none;background:transparent;color:var(--text-2);cursor:pointer;border-radius:6px;padding:3px;font-size:16px}.toast-close:hover{background:var(--surface-2);color:var(--text)}@keyframes toast-in{0%{opacity:0;transform:translate(16px)}to{opacity:1;transform:translate(0)}}@media(prefers-reduced-motion:reduce){.toast{animation:none}}.header-select{min-width:145px}.header-select .MuiInputBase-root{height:40px}.sidebar,.MuiDrawer-paper.sidebar,.MuiPaper-root.sidebar{width:var(--sidebar-w);border-right:none;background-color:var(--sb-bg);background-image:none;color:var(--sb-text);overflow-x:hidden;overflow-y:auto}.content{min-height:100vh;padding:24px;margin-left:var(--sidebar-w)}[dir=rtl] .content{margin-left:0;margin-right:var(--sidebar-w)}.pos-kiosk .sidebar{display:none}.pos-kiosk .content{margin-left:0;padding:0;min-height:0}[dir=rtl] .pos-kiosk .content{margin-right:0}.pos-kiosk .content>.MuiToolbar-root{min-height:58px}.sidebar .MuiList-root{padding:10px 0 20px}.nav-group{margin-bottom:2px}.nav-group-label{line-height:20px;font-size:.6875rem;font-weight:600;letter-spacing:.05em;color:var(--sb-section);text-transform:uppercase;background:transparent;padding:14px 24px 6px}.sidebar .MuiListItemButton-root{min-height:38px;margin:1px 0;padding:8px 24px;border-radius:0;color:var(--sb-text);font-weight:400;transition:color .18s ease,background .18s ease}.sidebar .MuiListItemButton-root:hover{color:var(--sb-text-active);background:var(--sb-hover-bg)}.sidebar .MuiListItemButton-root:hover .MuiListItemIcon-root{color:var(--sb-text-active)}.sidebar .MuiListItemButton-root.Mui-selected,.sidebar .MuiListItemButton-root.active{color:var(--sb-text-active);background:var(--sb-active-bg);box-shadow:none}.sidebar .MuiListItemButton-root.Mui-selected:before,.sidebar .MuiListItemButton-root.active:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--success)}[dir=rtl] .sidebar .MuiListItemButton-root.Mui-selected:before,[dir=rtl] .sidebar .MuiListItemButton-root.active:before{left:auto;right:0}.sidebar .MuiListItemButton-root.Mui-selected:hover,.sidebar .MuiListItemButton-root.active:hover{color:var(--sb-text-active);background:var(--sb-active-bg)}.sidebar .MuiListItemButton-root.Mui-selected .MuiListItemIcon-root,.sidebar .MuiListItemButton-root.active .MuiListItemIcon-root{color:var(--success)}.sidebar .MuiListItemButton-root.Mui-selected .MuiListItemText-primary,.sidebar .MuiListItemButton-root.active .MuiListItemText-primary{font-weight:500}.sidebar .MuiListItemText-primary{font-size:.875rem}.sidebar .MuiListItemIcon-root{min-width:34px;color:var(--sb-text);transition:color .18s ease}.sidebar .MuiListItemIcon-root .MuiSvgIcon-root{font-size:18px}.sidebar-brand{display:flex;align-items:center;gap:10px;min-height:var(--topbar-h);padding:16px 24px;font-weight:700;font-size:1.15rem;letter-spacing:.01em;color:#fff;border-bottom:1px solid var(--sb-border);position:sticky;top:0;background:var(--sb-bg);z-index:1}.sidebar-brand{flex-wrap:wrap;row-gap:2px}.sidebar-brand .brand-app-label{flex-basis:100%;font-size:.68rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;opacity:.62}.sidebar-collapsed .sidebar-brand .brand-app-label{display:none}.app-launcher-paper{min-width:268px;max-width:320px}.app-launcher-title{font-size:.7rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;line-height:2.4}.app-launcher-item{align-items:flex-start;gap:4px;padding-top:8px;padding-bottom:8px}.app-launcher-item .MuiListItemIcon-root{margin-top:2px}.app-launcher-text{display:flex;flex-direction:column;min-width:0}.app-launcher-label{font-weight:650;line-height:1.3}.app-launcher-blurb{font-size:.74rem;line-height:1.35;opacity:.7;white-space:normal}.brand-logo-img{height:30px;width:auto;max-width:150px;object-fit:contain}.sidebar-brand .brand-logo-img{height:28px}.sidebar-brand .brand-mark{width:32px;height:32px;border-radius:8px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,var(--accent),var(--primary))}.sidebar-profile{margin:14px 16px 6px;padding:10px 12px;display:flex;align-items:center;gap:10px;border-radius:8px;border:1px solid var(--sb-border);background:#ffffff0a;color:var(--sb-text-active);cursor:pointer;transition:background .16s ease,border-color .16s ease}.sidebar-profile .MuiTypography-root{color:var(--sb-text-active)}.sidebar-profile .MuiTypography-caption{color:var(--sb-text)!important}.sidebar-profile:hover{border-color:#ffffff29;background:#ffffff14}.sidebar-profile:focus-visible{outline:2px solid var(--success);outline-offset:2px}.sidebar-profile .MuiSvgIcon-root{color:var(--sb-text)}.login-screen{min-height:100vh;display:grid;place-items:center;background:radial-gradient(900px 500px at 20% -10%,rgba(139,92,246,.18),transparent 55%),radial-gradient(900px 500px at 100% 110%,rgba(99,102,241,.18),transparent 55%),var(--bg)}.login-panel{width:min(420px,calc(100vw - 32px));display:grid;gap:18px;padding:28px}.login-card{width:min(960px,calc(100vw - 32px));display:grid;grid-template-columns:1.05fr 1fr;border:1px solid var(--border);border-radius:24px;overflow:hidden;box-shadow:var(--shadow-lg)}.login-aside{position:relative;padding:44px;color:#fff;background:radial-gradient(600px 300px at 90% 0%,rgba(255,255,255,.16),transparent 60%),linear-gradient(150deg,#8b5cf6,#6366f1 55%,#4f46e5);display:flex;align-items:center;overflow:hidden}.login-aside:after{content:"";position:absolute;right:-80px;bottom:-80px;width:260px;height:260px;border-radius:50%;background:#ffffff1f;filter:blur(8px)}.login-aside-content{position:relative;z-index:1}.login-brand{display:flex;align-items:center;gap:12px;font-weight:800;font-size:1.4rem;letter-spacing:-.02em}.login-brand .brand-mark{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;background:#ffffff29;color:#fff;border:1px solid rgba(255,255,255,.24)}.login-feature{display:flex;gap:14px;align-items:flex-start}.login-feature-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#ffffff29;border:1px solid rgba(255,255,255,.2);color:#fff;flex-shrink:0}.login-form{padding:44px;display:grid;gap:16px;align-content:center;background:var(--surface)}.login-brand-mobile{display:none;color:var(--text);font-size:1.2rem;margin-bottom:8px}.login-brand-mobile .brand-mark{background:linear-gradient(135deg,var(--accent),var(--primary));border:none;width:40px;height:40px}@media(max-width:820px){.login-card{grid-template-columns:1fr;width:min(440px,calc(100vw - 32px))}.login-aside{display:none}.login-brand-mobile{display:flex;align-items:center;gap:10px}}.dashboard-grid{display:grid;grid-template-columns:repeat(5,minmax(150px,1fr));gap:16px}.dashboard{display:grid;gap:20px}.page-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:18px}.kpi-card{display:flex;flex-direction:column;gap:2px}.kpi-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.kpi-icon{width:44px;height:44px;border-radius:12px;display:grid;place-items:center}.kpi-delta{height:24px;font-weight:700}.kpi-delta .MuiChip-icon{font-size:15px}.dash-main{display:grid;grid-template-columns:2fr 1fr;gap:20px}.dashboard-kpis{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.dashboard-metric{min-height:156px}.dashboard-metric-top{display:flex;align-items:center;gap:10px;margin-bottom:8px}.dashboard-metric-top .MuiTypography-root{line-height:1.2}.dashboard-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(300px,.9fr);gap:20px;align-items:stretch}.dashboard-layout-balanced{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-sales-panel,.dashboard-status-panel{min-height:320px}.panel-heading,.dashboard-row-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.dash-chart{margin-top:12px}.dash-grid-line{stroke:var(--border);stroke-width:1}.dash-chart-line{stroke:var(--primary)}.dash-chart-dot{fill:var(--primary)}.dash-chart-axis{display:flex;justify-content:space-between;color:var(--text-2);font-size:.75rem;padding:0 4px}.dashboard-progress-row{display:grid;gap:7px}.dashboard-progress-row .MuiLinearProgress-root{height:7px}.dashboard-status-row,.dashboard-list-row{display:flex;align-items:center;gap:12px;min-width:0;padding:10px 0;border-bottom:1px solid var(--border)}.dashboard-status-row:last-child,.dashboard-list-row:last-child{border-bottom:none}.dashboard-status-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;color:var(--text-2);background:var(--surface-2)}.dashboard-status-success{color:#16a34a;background:#22c55e1f}.dashboard-status-warning{color:#d97706;background:#f59e0b24}.dashboard-status-error{color:#dc2626;background:#ef44441f}.dashboard-status-info{color:#0284c7;background:#06b6d41f}.dashboard-mini-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dashboard-mini-stat{padding:12px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2)}.dashboard-empty{padding:16px 0}.quick-actions-panel .MuiButton-root{padding-block:11px}.dash-bars{height:190px;display:flex;align-items:flex-end;gap:8px;padding-top:16px}.dash-bar{flex:1;border-radius:8px 8px 4px 4px;background:linear-gradient(180deg,var(--accent),var(--primary));opacity:.9;transition:opacity .16s ease,transform .16s ease}.dash-bar:hover{opacity:1;transform:scaleY(1.03);transform-origin:bottom}@media(max-width:900px){.dash-main,.dashboard-layout,.dashboard-layout-balanced{grid-template-columns:1fr}}.metric,.wide-panel,.module-page,.settings-panel{padding:20px;border-radius:10px;border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-sm)}.pos-category-row{display:flex;flex-wrap:wrap;gap:6px}.pos-category-chip{cursor:pointer}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:12px;overflow-y:auto;padding-right:4px;align-content:start;flex:1;min-height:120px}.pos-lookup-wrap{overflow:auto;border-radius:10px;border:1px solid rgba(255,255,255,.06)}.pos-lookup-table{width:100%;border-collapse:collapse;color:#eaf7f3}.pos-lookup-table th,.pos-lookup-table td,.pos-lookup-table .MuiTableCell-root{padding:10px 12px;border-bottom:1px solid rgba(255,255,255,.04)}.pos-lookup-table thead tr{background:#ffffff0a;color:#ffffffeb;font-weight:700}.pos-lookup-row:hover{background:#ffffff08;cursor:pointer}.pos-lookup-row:active,.pos-lookup-row.Mui-selected{background:#1ebca41a}.product-tile{display:flex;flex-direction:column;padding:14px;border-radius:16px;border:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,#ffffff14,#ffffff08);cursor:pointer;position:relative;overflow:hidden;transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease}.product-tile:hover{transform:translateY(-2px);box-shadow:0 14px 34px -20px #000000bf;border-color:var(--tile-accent, var(--primary))}.product-tile:active{transform:translateY(0)}.product-tile:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.product-tile-thumb{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;font-weight:800;font-size:1.05rem;color:#fff;margin-bottom:10px;background:var(--tile-accent, var(--primary));box-shadow:inset 0 -4px #0000002e}.product-tile-name{font-weight:600;font-size:.85rem;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-tile-price{margin-top:8px;font-weight:700;font-size:.95rem;color:var(--tile-accent, var(--primary));font-variant-numeric:tabular-nums}.product-grid-empty{grid-column:1 / -1;padding:32px;text-align:center}.pos-cart .cart-touch-list{display:flex;flex-direction:column;gap:12px;flex:1 1 auto;min-height:0;max-height:none;align-content:start;overflow-y:auto}.pos-cart .cart-touch-list>.empty-cart{flex:1 1 auto}.pos-actions-toolbar{display:flex;flex-wrap:wrap;gap:6px;flex:0 0 auto}.cart-touch-row{display:flex;flex-direction:column;gap:10px}.cart-line-name{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.cart-line-controls{display:flex;align-items:center;gap:10px;padding-top:10px;border-top:1px dashed var(--border)}.cart-line-controls .qty-stepper{display:grid;grid-template-columns:32px minmax(42px,56px) 32px;align-items:center;gap:0;border:1px solid var(--border);border-radius:10px;background:var(--surface-2);padding:2px}.cart-line-controls .qty-stepper .MuiIconButton-root{min-height:30px;min-width:30px;border-radius:8px}.cart-line-controls .qty-stepper .MuiOutlinedInput-root{background:transparent}.cart-line-controls .qty-stepper .MuiOutlinedInput-notchedOutline{border:none}.cart-line-controls .qty-stepper .MuiOutlinedInput-input{padding:4px 2px;text-align:center;font-weight:800}.cart-line-controls .line-total{margin-left:auto;font-size:1.15rem}.metric{position:relative;overflow:hidden;transition:box-shadow .2s ease,transform .2s ease}.metric:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}.wide-panel{grid-column:span 2;min-height:260px}.chart-bars{height:190px;display:flex;align-items:end;gap:12px;padding-top:20px}.chart-bars span{flex:1;background:linear-gradient(180deg,var(--accent),var(--primary));border-radius:6px 6px 2px 2px}.chart-bars.inventory span{background:linear-gradient(180deg,#34d399,#22c55e)}@media(max-width:980px){.pos-cart .cart-touch-list{max-height:none}}.pos-mode-bar,.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.cart-touch-list{display:grid;gap:12px;max-height:calc(100vh - 280px);overflow:auto;padding-right:4px}.cart-touch-row{padding:14px;border-radius:16px;background:#ffffff0e;border:1px solid rgba(255,255,255,.08);cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.cart-touch-row:hover{border-color:#ffffff38;box-shadow:0 10px 24px -20px #000c}.cart-touch-row.selected{border-color:#4dd9c4;background:#4dd9c424}.cart-line-info{min-width:0}.qty-stepper{display:grid;grid-template-columns:48px minmax(70px,1fr) 48px;align-items:center;gap:6px}.qty-stepper .MuiInputBase-input{text-align:center;font-size:1.1rem;font-weight:800}.line-total{font-size:1.25rem;font-weight:900;color:var(--primary);text-align:right;font-variant-numeric:tabular-nums}.empty-cart{min-height:0;height:100%;border:1.5px dashed var(--border);border-radius:12px;display:grid;place-items:center;align-content:center;gap:10px;color:var(--text-2);background:var(--surface-2)}.customer-panel,.cash-panel,.totals-card,.customer-card{display:grid;gap:12px}.customer-card,.totals-card{padding:16px;border-radius:16px;background:#ffffff0f;border:1px solid rgba(255,255,255,.08)}.customer-card{background:linear-gradient(135deg,#4dd9c424,#ffffff0d)}.classic-pos-panel{display:grid;gap:8px;padding:10px;border-radius:8px;background:#263238;border:1px solid rgba(255,255,255,.12);box-shadow:inset 0 0 0 1px #ffffff0f}.entry-status{min-height:54px;display:grid;align-content:center;padding:8px 10px;color:#f5fbff;background:#111820;border-radius:6px;border:1px solid #3f5666}.classic-action-grid{display:grid;grid-template-columns:repeat(3,minmax(74px,1fr));gap:4px}.classic-keypad-grid{display:grid;grid-template-columns:repeat(4,minmax(58px,1fr));gap:4px}.classic-bottom-grid{display:grid;grid-template-columns:repeat(3,minmax(74px,1fr)) minmax(92px,1fr);gap:4px}.classic-start-row{display:grid;grid-template-columns:minmax(160px,1fr) 120px;gap:4px}.classic-btn.MuiButton-root{min-height:62px;padding:6px;border-radius:4px;color:#fff;font-weight:900;font-size:.86rem;line-height:1.08;text-transform:none;white-space:normal;overflow-wrap:anywhere;box-shadow:inset 0 -3px #00000029}.classic-btn.green.MuiButton-root{background:linear-gradient(180deg,#26b51f,#0b8d13)}.classic-btn.orange.MuiButton-root{background:linear-gradient(180deg,#f36f28,#d84b12)}.classic-btn.grey.MuiButton-root{background:linear-gradient(180deg,#82909f,#5b6876)}.classic-btn.start.MuiButton-root{min-height:78px;background:linear-gradient(180deg,#697887,#465461);font-size:1.28rem;letter-spacing:.04em}.classic-btn.supervisor.MuiButton-root{grid-column:4;grid-row:1 / span 2;min-height:128px;background:linear-gradient(180deg,#6acf28,#36a50d);font-size:1rem}.classic-btn.wide.MuiButton-root{grid-column:span 3}@media(max-width:1280px){.pos-items,.pos-summary{padding:12px}.cart-touch-row{grid-template-columns:minmax(160px,1fr) 170px 76px 48px;gap:8px;padding:12px}.classic-action-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.classic-keypad-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.classic-bottom-grid{grid-template-columns:repeat(3,minmax(0,1fr)) minmax(84px,1fr)}.classic-btn.MuiButton-root{min-height:56px;font-size:.78rem}.classic-btn.start.MuiButton-root{min-height:68px}.classic-btn.supervisor.MuiButton-root{min-height:116px}}.scan-row,.module-toolbar,.total-row,.pos-actions{display:flex;align-items:center;gap:12px}.scan-row,.module-toolbar{margin-bottom:16px}.module-toolbar{justify-content:space-between;padding-bottom:14px;gap:12px;flex-wrap:wrap}.module-toolbar .MuiButton-root{margin-left:8px}.module-derived-note{display:flex;align-items:flex-start;gap:8px;margin-bottom:16px;padding:10px 12px;border:1px solid rgba(25,118,210,.25);border-radius:6px;background:#1976d20f;color:inherit}.module-derived-note .MuiSvgIcon-root{margin-top:2px;color:#1976d2;flex:0 0 auto}.module-page .MuiTableContainer-root{border:none;border-top:1px solid var(--border);border-radius:0;overflow:auto;margin-inline:-20px;width:calc(100% + 40px);max-width:calc(100% + 40px)}.module-page .MuiTable-root .MuiTableCell-root:first-of-type{padding-left:20px}.module-page .MuiTable-root .MuiTableCell-root:last-of-type{padding-right:20px}.module-page .MuiTableCell-root{white-space:nowrap}.module-page .table-empty{white-space:normal}@media(max-width:640px){.module-toolbar{align-items:flex-start}.module-toolbar>.MuiBox-root{width:100%}.module-toolbar .MuiTextField-root{flex:1 1 100%;min-width:0}.module-toolbar .MuiButton-root{flex:1 1 auto;margin-left:0}}.module-page .MuiTable-root{border-collapse:separate;border-spacing:0}.module-page .MuiTableCell-root{padding-top:12px;padding-bottom:12px}.module-page .MuiTableHead-root .MuiTableCell-root{position:sticky;top:0;z-index:2}.inv-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:16px}.dashboard,.dashboard>*{min-width:0}.module-page{min-width:0}@media(max-width:600px){.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.inv-toolbar .MuiToggleButton-root{flex:1 1 100%}}.form-page{display:grid;gap:var(--field-gap-x)}.form-page-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.profile-avatar{width:72px;height:72px;border-radius:22px;display:grid;place-items:center;font-size:1.9rem;font-weight:800;color:#fff;background:linear-gradient(135deg,var(--accent),var(--primary));box-shadow:0 12px 26px -10px var(--primary);flex-shrink:0}.profile-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:20px;align-items:start}@media(max-width:900px){.profile-grid{grid-template-columns:1fr}}.table-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:54px 20px}.table-empty-icon{width:64px;height:64px;border-radius:18px;display:grid;place-items:center;margin-bottom:10px;color:var(--primary);background:var(--primary-soft)}.table-empty-icon .MuiSvgIcon-root{font-size:32px}.total-row{justify-content:space-between}.keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.keypad button{min-height:44px}.settings-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,380px);gap:20px;align-items:start}.field-grid,.settings-fields,.product-form,.customer-dialog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--field-gap-y) var(--field-gap-x);align-items:start}.field-grid .form-wide,.settings-fields .form-wide,.product-form .form-wide,.customer-dialog .form-wide{grid-column:1 / -1}.settings-fields{margin-top:var(--field-gap-y)}.settings-section-head{display:flex;align-items:center;gap:12px}.settings-section-icon{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;color:var(--primary);background:var(--primary-soft);flex-shrink:0}.settings-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px;padding-top:18px;border-top:1px solid var(--border)}.settings-actions-sticky{position:sticky;bottom:0;align-items:center;background:var(--surface);margin-top:24px;padding-bottom:6px;z-index:2}.settings-side{display:grid;gap:14px;position:sticky;top:calc(var(--topbar-h) + 16px)}.settings-hint{padding:0 4px}@media(max-width:720px){.field-grid,.settings-fields,.product-form,.customer-dialog,.role-form-header,.reports-header{grid-template-columns:minmax(0,1fr)}}@media(max-width:900px){.settings-side{position:static}}.cash-session-dialog{display:grid;gap:var(--field-gap-y);padding-top:var(--field-gap-y)!important}.reports-page{display:grid;gap:16px}.reports-header{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,175px) minmax(0,175px) auto;gap:var(--field-gap-x);align-items:center;padding:18px;border-radius:16px;border:1px solid var(--border);background:var(--surface)}.report-metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(170px,1fr));gap:14px}.report-metric,.report-panel{padding:18px;border-radius:16px;border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-sm)}.report-metric{position:relative;overflow:hidden}.report-metric:before{content:"";position:absolute;inset:0 auto 0 0;width:5px}.report-metric.blue:before{background:var(--primary)}.report-metric.orange:before{background:#f59e0b}.report-metric.green:before{background:#22c55e}.report-metric.purple:before{background:var(--accent)}.report-metric.teal:before{background:#06b6d4}.report-section-grid{display:grid;grid-template-columns:repeat(2,minmax(320px,1fr));gap:16px}.report-panel{overflow:auto}.report-panel-title{display:flex;justify-content:space-between;gap:12px;align-items:center}.report-chart-panel{min-height:250px}.report-bars{height:190px;display:flex;align-items:end;gap:8px;padding-top:18px;overflow-x:auto}.report-bar-wrap{min-width:34px;height:100%;display:grid;grid-template-rows:1fr auto;gap:6px;align-items:end;text-align:center}.report-bar-wrap span{display:block;width:100%;min-height:6px;border-radius:6px 6px 2px 2px;background:linear-gradient(180deg,var(--accent),var(--primary))}.settings-panel{display:grid;gap:14px}.role-dialog{display:grid;gap:var(--field-gap-y);padding-top:var(--field-gap-y)!important}.role-form-header{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) repeat(2,auto);gap:var(--field-gap-x);align-items:center}.role-permission-matrix{max-height:62vh;overflow:auto;border:1px solid var(--border);border-radius:12px}.role-permission-matrix .MuiTableCell-head{font-weight:800;background:var(--surface-2)}.permission-check{margin:0}.product-form{padding-top:var(--field-gap-y)}.field-grid .MuiTextField-root,.field-grid .MuiFormControl-root,.field-grid .MuiAutocomplete-root,.product-form .MuiTextField-root,.product-form .MuiFormControl-root,.product-form .MuiAutocomplete-root,.form-page .MuiTextField-root,.form-page .MuiFormControl-root,.form-page .MuiAutocomplete-root,.login-form .MuiTextField-root,.settings-panel .MuiTextField-root,.settings-panel .MuiFormControl-root,.settings-panel .MuiAutocomplete-root,.cash-session-dialog .MuiTextField-root,.customer-dialog .MuiTextField-root,.customer-dialog .MuiFormControl-root,.role-dialog .MuiTextField-root{width:100%}.field-grid .MuiFormHelperText-root,.product-form .MuiFormHelperText-root,.settings-fields .MuiFormHelperText-root,.customer-dialog .MuiFormHelperText-root{margin-inline:2px}.store-price-matrix{display:grid;gap:12px;padding:16px;border:1px solid var(--border);border-radius:14px;background:var(--surface-2)}.store-price-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:12px;border-radius:12px;background:var(--surface);border:1px solid var(--border)}.store-price-row .MuiTextField-root{flex:1 1 110px;min-width:96px}.store-price-name{flex:1 1 140px;min-width:120px}.store-price-abs{flex:0 0 auto;padding:6px 10px;border-radius:8px;background:var(--primary-soft);color:var(--primary);font-weight:700;white-space:nowrap}.tax-breakdown{display:flex;flex-wrap:wrap;gap:16px 28px;align-items:center;padding:14px 16px;border-radius:12px;background:var(--surface-2);border:1px solid var(--border)}.receipt-preview{width:290px;min-height:460px;padding:18px;background:#fff;border:1px dashed #9aa8b8;display:grid;gap:10px;align-content:start}@media(max-width:980px){.content{margin-left:0;padding:16px}[dir=rtl] .content{margin-right:0}.sidebar{display:none}.sidebar-mobile{display:block}.dashboard-grid,.pos-layout,.reports-header,.report-metrics-grid,.report-section-grid,.role-form-header,.settings-grid,.product-form{grid-template-columns:1fr}.pos-fullscreen{min-height:auto;padding:10px;gap:12px}.cart-touch-list{max-height:none}.cart-touch-row{grid-template-columns:minmax(180px,1fr) minmax(160px,210px) 80px 48px}.return-lookup-panel{grid-template-columns:1fr}.line-total{text-align:left}.store-price-row{grid-template-columns:1fr}}@media(max-width:760px){.topbar .MuiToolbar-root{flex-wrap:nowrap;overflow-x:auto;padding:6px 8px}.topbar .MuiTypography-root{min-width:160px}.header-select{min-width:132px}.content{padding:8px}.pos-kiosk .content>.MuiToolbar-root{min-height:64px}.pos-mode-bar,.panel-heading,.scan-row,.pos-actions{align-items:stretch;flex-direction:column}.pos-mode-bar .MuiToggleButtonGroup-root{width:100%}.pos-mode-bar .MuiToggleButton-root{flex:1}.pos-scan-row{display:grid;grid-template-columns:32px 1fr}.pos-scan-row .MuiAutocomplete-root,.pos-scan-row .MuiButton-root{grid-column:1 / -1}.return-lookup-panel,.cart-touch-row{grid-template-columns:1fr}.qty-stepper{grid-template-columns:56px minmax(88px,1fr) 56px}.line-total{text-align:left;font-size:1.45rem}.classic-pos-panel{padding:8px}.classic-start-row{grid-template-columns:1fr 110px}.classic-bottom-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.classic-btn.supervisor.MuiButton-root{grid-column:1 / -1;grid-row:auto;min-height:72px}}@media(max-width:520px){.pos-fullscreen{padding:6px;border-radius:0}.pos-items,.pos-summary{padding:10px}.classic-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.classic-keypad-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.classic-start-row{grid-template-columns:1fr}.classic-btn.MuiButton-root{min-height:54px;font-size:.74rem}.classic-btn.wide.MuiButton-root{grid-column:span 2}.customer-card,.totals-card{padding:10px}}.page-header-bar{display:flex;align-items:center;justify-content:space-between;gap:12px 16px;flex-wrap:wrap;margin-bottom:22px}.page-header-bar .page-header-title.page-header-title{font-size:1.5rem;font-weight:700;color:var(--text);letter-spacing:-.02em;line-height:1.2}.page-header-right{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.page-breadcrumb{display:inline-flex;align-items:center;gap:2px;font-size:.8125rem;color:var(--text-2);white-space:nowrap}.page-breadcrumb .MuiSvgIcon-root{font-size:16px;opacity:.6}.page-breadcrumb .current{color:var(--text);font-weight:500;text-transform:capitalize}.page-header-context{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.page-header-context .header-select .MuiInputBase-root{height:36px;background:var(--surface)}@media(max-width:640px){.page-header-context{width:100%}.page-header-context .header-select{flex:1 1 30%;min-width:110px}}.sidebar,.content,.topbar.topbar-offset{transition:width .22s ease,margin .22s ease,left .22s ease}.app-frame.sidebar-collapsed{--sidebar-w: 74px}@media(min-width:981px){.sidebar-collapsed .brand-label{display:none}.sidebar-collapsed .sidebar-brand{justify-content:center;padding-inline:0}.sidebar-collapsed .sidebar-profile{justify-content:center;margin-inline:12px;padding:8px}.sidebar-collapsed .sidebar-profile>*:not(:first-child){display:none}.sidebar-collapsed .sidebar .MuiListItemButton-root{justify-content:center;padding-inline:0}.sidebar-collapsed .sidebar .MuiListItemText-root{display:none}.sidebar-collapsed .sidebar .MuiListItemIcon-root{min-width:0}.sidebar-collapsed .nav-group-label{color:transparent;overflow:hidden;white-space:nowrap;position:relative;height:13px;padding:8px 0 0}.sidebar-collapsed .nav-group-label:after{content:"";position:absolute;left:18px;right:18px;top:8px;height:1px;background:var(--sb-border)}}.module-page .MuiTable-root tbody .MuiTableRow-root:nth-of-type(2n){background-color:var(--table-stripe)}.module-page .MuiTable-root tbody .MuiTableRow-root:hover{background-color:var(--table-hover)}.module-page .MuiTable-root .MuiTableCell-root{border-bottom:1px solid var(--border)}.module-page .MuiTable-root tbody .MuiTableRow-root:last-child .MuiTableCell-root{border-bottom:none}.module-page .MuiTable-root .MuiChip-root{border-radius:4px;font-weight:500;font-size:.75rem;height:22px}.dash2{display:grid;gap:20px}.dash2-hello{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.ecom-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.ecom-stat{padding:20px;border-radius:10px;border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-sm);display:flex;flex-direction:column}.ecom-stat-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.ecom-stat-label{font-size:.72rem;font-weight:600;letter-spacing:.03em;text-transform:uppercase;color:var(--text-2)}.ecom-stat-sub{color:var(--text-2);white-space:nowrap}.ecom-stat-body{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 14px}.ecom-stat-value{font-size:1.6rem;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.1}.ecom-stat-icon{width:46px;height:46px;border-radius:8px;display:grid;place-items:center;flex-shrink:0}.ecom-stat-link.MuiButton-root{align-self:flex-start;padding-inline:0;min-width:0}.ecom-row{display:grid;gap:20px;align-items:stretch}.ecom-row-71{grid-template-columns:minmax(0,2fr) minmax(300px,1fr)}.ecom-row-11{grid-template-columns:repeat(2,minmax(0,1fr))}.ecom-row-13{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}.ecom-panel{padding:20px;border-radius:10px;border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-sm);min-width:0}@media(max-width:992px){.ecom-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ecom-row-71,.ecom-row-11,.ecom-row-13{grid-template-columns:1fr}}@media(max-width:520px){.ecom-stats{grid-template-columns:1fr}}.revenue-cells{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--border);border-radius:8px;margin:14px 0 6px;overflow:hidden}.revenue-cells>div{padding:12px 16px;border-right:1px solid var(--border)}.revenue-cells>div:last-child{border-right:none}.rc-value{font-size:1.15rem;font-weight:600;font-variant-numeric:tabular-nums}.rc-label{font-size:.78rem;color:var(--text-2)}@media(max-width:600px){.revenue-cells{grid-template-columns:repeat(2,1fr)}.revenue-cells>div:nth-child(2){border-right:none}}.combo-bar{fill:#4b38b3}.combo-line{stroke:#0ab39c}.chart-axis-text{fill:var(--text-2);font-size:10px}.chart-legend span{display:inline-flex;align-items:center;gap:6px;font-size:.8rem;color:var(--text-2)}.lg-dot{width:9px;height:9px;border-radius:50%;display:inline-block;flex-shrink:0}.donut-wrap{display:flex;align-items:center;gap:24px;flex-wrap:wrap;justify-content:center;padding:8px 0}.donut-total{font-size:20px;font-weight:700;fill:var(--text)}.donut-sub{font-size:11px;fill:var(--text-2)}.donut-legend{min-width:150px}.donut-legend-row{display:flex;align-items:center;gap:8px;font-size:.82rem}.donut-legend-row .ll-label{flex:1;color:var(--text)}.donut-legend-row .ll-val{color:var(--text-2);font-weight:600}.ecom-list{display:flex;flex-direction:column}.ecom-list-row{display:flex;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid var(--border);min-width:0}.ecom-list-row:last-child{border-bottom:none}.ecom-thumb{width:38px;height:38px;border-radius:8px;display:grid;place-items:center;color:#fff;font-weight:700;flex-shrink:0}.ecom-thumb-warn{background:#f7b84b29;color:#f7b84b}.ecom-thumb-ok{background:#0ab39c29;color:#0ab39c}.ecom-list-main{flex:1;min-width:0}.ecom-list-metric{text-align:right;min-width:62px;display:flex;flex-direction:column;line-height:1.2}.ecom-list-metric b{font-size:.9rem;font-variant-numeric:tabular-nums}.ecom-list-metric span{font-size:.7rem;color:var(--text-2)}@media(max-width:480px){.ecom-list-metric:nth-of-type(2){display:none}}.ecom-table-wrap{overflow-x:auto;margin-inline:-20px;width:calc(100% + 40px);border-top:1px solid var(--border)}.ecom-table{width:100%;border-collapse:collapse;font-size:.85rem}.ecom-table th:first-child,.ecom-table td:first-child{padding-left:20px}.ecom-table th:last-child,.ecom-table td:last-child{padding-right:20px}.ecom-table th{text-align:left;color:var(--text-2);font-weight:600;font-size:.75rem;padding:10px 12px;border-bottom:1px solid var(--border);white-space:nowrap}.ecom-table td{padding:12px;border-bottom:1px solid var(--border);white-space:nowrap}.ecom-table tbody tr:last-child td{border-bottom:none}.ecom-table .et-invoice{color:var(--primary);font-weight:600}.ecom-table .et-empty{text-align:center;color:var(--text-2);padding:24px}.notif-menu{margin-top:6px!important;width:360px;max-width:calc(100vw - 24px)}.notif-menu-head{display:flex;align-items:center;justify-content:space-between;padding:10px 8px 10px 16px}.notif-menu-list{max-height:380px;overflow-y:auto}.notif-menu-empty,.notif-empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:30px 16px;color:var(--text-2)}.notif-menu-empty .MuiSvgIcon-root,.notif-empty .MuiSvgIcon-root{font-size:34px;opacity:.5}.notif-menu-foot{padding:6px 10px}.notif-menu-row,.notif-row{display:flex;gap:12px;padding:11px 16px;cursor:pointer;border-bottom:1px solid var(--border);align-items:flex-start;transition:background .14s ease}.notif-menu-row:hover,.notif-row:hover{background:var(--surface-2)}.notif-menu-row.unread,.notif-row.unread{background:var(--primary-soft)}.notif-row:last-child{border-bottom:none}.notif-icon{width:34px;height:34px;border-radius:8px;display:grid;place-items:center;flex-shrink:0;color:var(--info);background:#299cdb24}.notif-icon.sev-warning{color:var(--warning);background:#f7b84b29}.notif-icon.sev-critical{color:var(--danger);background:#f0654824}.notif-page{max-width:820px}.ctx-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ctx-item{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:6px;background:var(--surface-2);border:1px solid var(--border);font-size:.8rem;font-weight:600;color:var(--text);white-space:nowrap}.ctx-item .MuiSvgIcon-root{font-size:15px;color:var(--text-2)}.ctx-company{background:var(--primary-soft);border-color:transparent;color:var(--primary)}.ctx-company .MuiSvgIcon-root{color:var(--primary)}.ctx-currency{background:#0ab39c24;border-color:transparent;color:var(--success);font-variant-numeric:tabular-nums}.purchase-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:var(--field-gap-y) var(--field-gap-x);align-items:start}.purchase-form-grid>.MuiTextField-root,.purchase-form-grid>.MuiFormControl-root,.purchase-form-grid>.MuiAutocomplete-root{width:100%;min-width:0}.purchase-form-grid>.form-wide{grid-column:1 / -1}.module-page>.purchase-form-grid{margin-block:4px 8px}.purchase-form-section{grid-column:1 / -1;margin-top:4px;padding-top:12px;border-top:1px solid var(--border)}.module-page>.purchase-form-grid>.purchase-form-section:first-child{margin-top:0;padding-top:0;border-top:none}.purchase-stat-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(150px,100%),1fr));gap:16px 24px}.purchase-stat{display:grid;gap:2px;min-width:0;padding:4px 0}.purchase-stat .MuiTypography-h6{font-variant-numeric:tabular-nums;line-height:1.3;overflow-wrap:anywhere}.purchase-empty{display:grid;justify-items:center;gap:10px;padding:44px 24px;text-align:center;color:var(--text-2)}.module-page .MuiTableCell-root .MuiTextField-root{min-width:84px}.module-page .MuiTableCell-root .MuiInputBase-input{font-variant-numeric:tabular-nums}
