@import"https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai:wght@400;500;600;700;800&display=swap";:root{font-family:IBM Plex Sans Thai,Noto Sans Thai,Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#172033;background:#eef2f6;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh;display:grid;grid-template-columns:272px minmax(0,1fr);background:linear-gradient(135deg,rgba(29,78,216,.08),transparent 34%),linear-gradient(315deg,rgba(4,120,87,.09),transparent 38%),#edf1f5}.sidebar{position:sticky;top:0;height:100vh;padding:20px;display:flex;flex-direction:column;gap:22px;background:#111827;color:#fff;border-right:1px solid rgba(255,255,255,.06)}.brand-row{min-height:64px;display:flex;align-items:center;gap:12px}.brand-mark{width:44px;height:44px;display:grid;place-items:center;border-radius:8px;background:#fff;color:#1d4ed8;overflow:hidden}.brand-mark.has-logo{padding:4px;color:inherit}.brand-mark img{width:100%;height:100%;display:block;object-fit:contain;border-radius:6px}.brand-row strong,.brand-row span,.sidebar-status strong,.sidebar-status span{display:block}.brand-row strong{font-size:17px}.brand-row span,.sidebar-status span{margin-top:3px;color:#a9b4c4;font-size:13px}.main-nav{display:grid;gap:8px}.main-nav button{height:46px;display:flex;align-items:center;gap:12px;padding:0 13px;color:#cfd8e6;background:transparent;border:0;border-radius:8px;text-align:left}.main-nav button:hover,.main-nav button.active{color:#fff;background:#1f2937}.main-nav button.active{box-shadow:inset 3px 0 #38bdf8}.sidebar-status{margin-top:auto;min-height:76px;display:flex;align-items:center;gap:12px;padding:14px;border-radius:8px;color:#dbeafe;background:#38bdf81c;border:1px solid rgba(56,189,248,.18)}.main-area{min-width:0;padding:22px}.topbar{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.topbar p,.section-title p,.stat-card p{margin:0;color:#637083;font-size:13px}.topbar h1,.section-title h2{margin:4px 0 0;font-size:clamp(24px,3vw,34px);line-height:1.1;letter-spacing:0}.topbar-actions,.section-title,.section-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.primary-button,.ghost-button,.icon-button{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;border:1px solid transparent;white-space:nowrap}.primary-button{padding:0 15px;color:#fff;background:#1d4ed8;box-shadow:0 9px 20px #1d4ed82e}.ghost-button{padding:0 13px;color:#253247;background:#fff;border-color:#dce3eb}.icon-button{width:42px;padding:0;color:#273348;background:#fff;border-color:#dce3eb}.icon-button.danger{color:#dc2626}.mobile-only{display:none}.pos-app-shell{min-height:100vh;background:linear-gradient(135deg,rgba(29,78,216,.05),transparent 30%),linear-gradient(315deg,rgba(4,120,87,.06),transparent 34%),#f7f9fc}.pos-page{--pos-sidebar-width: 78px;--pos-sidebar-expanded-width: 226px;--pos-header-height: 88px;--pos-page-x-padding: clamp(14px, 1.7vw, 26px);--pos-page-grid-gap: clamp(8px, 1.4vh, 16px);height:100svh;min-height:0;overflow:hidden;display:grid;grid-template-columns:var(--pos-sidebar-width) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;gap:var(--pos-page-grid-gap);padding:clamp(10px,1.7vh,22px) var(--pos-page-x-padding) clamp(8px,1.2vh,14px);transition:grid-template-columns .22s cubic-bezier(.2,.8,.2,1)}.pos-page.menu-open,.pos-page:has(.pos-sidebar:hover){--pos-sidebar-width: var(--pos-sidebar-expanded-width)}.pos-sidebar{grid-row:1 / 4;position:relative;z-index:50;width:var(--pos-sidebar-width);height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;align-content:start;gap:12px;padding:12px;border:1px solid #647b91;border-radius:12px;background:linear-gradient(180deg,#7f95aa,#8fa6b8 46%,#789b96);color:#0f172a;overflow:visible;box-shadow:inset 0 1px #ffffff6b,inset 0 -1px #0f172a1f,0 18px 38px #1e293b38;transition:width .22s cubic-bezier(.2,.8,.2,1),box-shadow .18s ease,border-color .18s ease;will-change:width}.pos-page.menu-open .pos-sidebar,.pos-page:has(.pos-sidebar:hover) .pos-sidebar{width:var(--pos-sidebar-expanded-width);border-color:#547084;box-shadow:inset 0 1px #ffffff75,inset 0 -1px #0f172a1f,0 24px 50px #1e293b47}.pos-side-brand{min-height:52px;position:relative;display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:10px;width:100%;padding:2px;transition:grid-template-columns .22s cubic-bezier(.2,.8,.2,1)}.pos-side-brand .brand-mark{flex:0 0 auto;color:#0b3766;background:linear-gradient(145deg,#e4edf4,#aebfd0 54%,#9abfba);box-shadow:inset 0 0 0 1px #0f3f793d,0 9px 18px #1e293b2e}.pos-side-brand strong,.pos-side-brand span{display:block;transition:opacity .2s ease,transform .22s ease,max-width .22s ease}.pos-side-brand strong{font-size:17px;color:#172033}.pos-side-brand span{margin-top:3px;color:#40546b;font-size:12px}.pos-side-nav,.pos-side-bottom-nav{display:grid;align-content:start;gap:7px;padding-top:4px}.pos-side-bottom-nav{align-content:end;padding-top:10px;border-top:1px solid rgba(15,23,42,.18)}.pos-side-nav button,.pos-side-bottom-nav button{width:100%;height:50px;display:flex;align-items:center;gap:11px;padding:0 9px;position:relative;overflow:hidden;border:1px solid rgba(15,23,42,.14);border-radius:10px;color:#132338;background:linear-gradient(135deg,#dee8f1c2,#adc1d194);font-weight:900;text-align:left;cursor:pointer;transform:translateZ(0);transition:background .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease,gap .18s ease,padding .18s ease}.pos-side-nav button:after,.pos-side-bottom-nav button:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:inherit;background:linear-gradient(110deg,transparent 0%,rgba(255,255,255,.34) 42%,transparent 70%);opacity:0;transform:translate(-62%);transition:opacity .18s ease,transform .42s cubic-bezier(.2,.8,.2,1);pointer-events:none}.pos-side-nav button>svg,.pos-side-bottom-nav button>svg{width:32px;height:32px;flex:0 0 32px;padding:7px;border-radius:9px;color:#123a63;background:linear-gradient(145deg,#d3e0ea,#9fb2c3);box-shadow:inset 0 0 0 1px #1e40af1f,0 5px 10px #1e293b14;transition:color .18s ease,background .18s ease,box-shadow .18s ease,transform .18s ease}.pos-side-nav button:nth-child(2)>svg{color:#0d665f;background:linear-gradient(145deg,#cce0dc,#92bdb5)}.pos-side-nav button:nth-child(3)>svg{color:#5b21b6;background:linear-gradient(145deg,#d9d1ea,#b5a7d0)}.pos-side-nav button:nth-child(4)>svg{color:#a7370b;background:linear-gradient(145deg,#e1c8b7,#cba280)}.pos-side-bottom-nav button>svg{color:#243447;background:linear-gradient(145deg,#d1dce6,#98aabc)}.pos-side-nav span,.pos-side-bottom-nav span,.pos-side-brand div:not(.brand-mark){min-width:0;max-width:150px;overflow:hidden;white-space:nowrap;opacity:1;transform:translate(0);transition:opacity .18s ease,transform .22s ease,max-width .22s ease}@media(min-width:1041px){.pos-page:not(.menu-open):not(:has(.pos-sidebar:hover)) .pos-side-brand{grid-template-columns:44px;justify-items:center}.pos-page:not(.menu-open):not(:has(.pos-sidebar:hover)) .pos-side-brand div:not(.brand-mark),.pos-page:not(.menu-open):not(:has(.pos-sidebar:hover)) .pos-side-nav span,.pos-page:not(.menu-open):not(:has(.pos-sidebar:hover)) .pos-side-bottom-nav span{max-width:0;opacity:0;transform:translate(-6px)}.pos-page:not(.menu-open):not(:has(.pos-sidebar:hover)) .pos-side-brand div:not(.brand-mark){display:none}.pos-page:not(.menu-open):not(:has(.pos-sidebar:hover)) .pos-side-nav button,.pos-page:not(.menu-open):not(:has(.pos-sidebar:hover)) .pos-side-bottom-nav button{justify-content:center;gap:0;padding:0}}.pos-side-nav button.active,.pos-side-bottom-nav button.active{color:#fff;border-color:#084e52c7;background:linear-gradient(135deg,#174c63,#0f6668);box-shadow:inset 0 0 0 1px #ffffff29,0 10px 22px #0f4c6342;animation:menuActiveSettle .42s cubic-bezier(.2,.8,.2,1) both}.pos-side-nav button.active>svg,.pos-side-bottom-nav button.active>svg{color:#fff;background:linear-gradient(145deg,#ffffff3d,#ffffff14);box-shadow:inset 0 0 0 1px #ffffff57,0 9px 18px #0f172a33;animation:menuIconPop .42s cubic-bezier(.2,.8,.2,1) both}.pos-side-nav button:hover:not(.active),.pos-side-bottom-nav button:hover:not(.active){color:#0f172a;border-color:#0f3a6347;background:linear-gradient(135deg,#eff6fae6,#b9cbd9bf);box-shadow:0 10px 18px #1e293b21;transform:translate(3px) translateY(-1px)}.pos-side-nav button:hover:after,.pos-side-bottom-nav button:hover:after{opacity:1;transform:translate(72%)}.pos-side-nav button:hover:not(.active)>svg,.pos-side-bottom-nav button:hover:not(.active)>svg{transform:scale(1.05) rotate(-2deg);box-shadow:0 8px 16px #1e293b29}.pos-side-nav button:active,.pos-side-bottom-nav button:active{transform:translate(2px) scale(.985)}.pos-side-nav button:focus-visible,.pos-side-bottom-nav button:focus-visible{outline:3px solid rgba(37,99,235,.22);outline-offset:2px}@keyframes menuActiveSettle{0%{transform:translate(-4px) scale(.985)}65%{transform:translate(2px) scale(1.01)}to{transform:translate(0) scale(1)}}@keyframes menuIconPop{0%{transform:scale(.9) rotate(-4deg)}70%{transform:scale(1.08) rotate(2deg)}to{transform:scale(1) rotate(0)}}.pos-header{grid-column:2;height:var(--pos-header-height);min-height:var(--pos-header-height);display:grid;grid-template-columns:230px minmax(320px,1fr) auto;gap:18px;align-items:center;align-content:center}.pos-header.orders-header-compact,.pos-header.settings-header-clean{grid-template-columns:230px minmax(0,1fr) auto}.pos-header-spacer{min-width:0}.pos-brand strong,.pos-brand span{display:block}.pos-brand{min-width:0;min-height:var(--pos-header-height);display:grid;align-content:center}.pos-brand strong{font-size:32px;line-height:1}.pos-brand span{margin-top:5px;color:#64748b;font-size:17px;line-height:1.15;font-weight:700}.pos-search{position:relative;height:clamp(50px,7.6vh,66px);display:grid;grid-template-columns:46px minmax(0,1fr) 52px;align-items:center;gap:8px;padding:0 12px;border:1px solid #dce3eb;border-radius:8px;background:#fff;box-shadow:0 10px 30px #0f172a0a}.pos-section-heading{min-height:clamp(54px,7.4vh,68px);display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:12px;padding:0 16px;border:1px solid #dce3eb;border-radius:12px;background:linear-gradient(180deg,#fff,#fbfdff);box-shadow:0 16px 42px #0f172a0f}.pos-section-heading.product-header-search{width:min(100%,620px);min-height:44px;justify-self:start;grid-template-columns:34px minmax(0,1fr) 38px;gap:8px;padding:0 10px;border-radius:10px;background:#fff;box-shadow:0 8px 22px #0f172a0b;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}.pos-section-heading.product-header-search:focus-within{border-color:#93c5fd;background:#fff;box-shadow:0 0 0 3px #2563eb14,0 10px 24px #0f172a12}.pos-section-heading>svg{justify-self:center;width:28px;height:28px;color:#64748b}.pos-section-heading label{min-width:0;display:block}.pos-section-heading span,.pos-section-heading strong{display:block}.pos-section-heading span{color:#64748b;font-size:12px;font-weight:850;line-height:1}.pos-section-heading strong{margin-top:2px;color:#172033;font-size:24px;line-height:1.05}.pos-section-heading input{width:100%;min-width:0;margin-top:4px;border:0;outline:none;color:#172033;background:transparent;font-size:clamp(19px,1.45vw,25px);line-height:1.08;font-weight:900;letter-spacing:0}.pos-section-heading input::placeholder{color:#475569;opacity:.72}.pos-section-heading b{min-width:52px;padding:9px 12px;border-radius:999px;color:#475569;background:#eef2f7;font-size:14px;font-weight:950;text-align:center;box-shadow:inset 0 1px #ffffffb8}.product-header-search>svg{width:20px;height:20px}.product-header-search span{font-size:10.5px;font-weight:850}.product-header-search input{margin-top:1px;font-size:15px;line-height:1.15;font-weight:850}.product-header-search input::placeholder{color:#64748b;opacity:.78}.product-header-search b{min-width:34px;height:30px;display:grid;place-items:center;padding:0 8px;font-size:12px}.pos-search>svg{justify-self:center;color:#64748b}.pos-search label span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.pos-search input{width:100%;height:100%;border:0;outline:none;color:#172033;background:transparent;font-size:18px;font-weight:800}.pos-search button{width:46px;height:46px;display:grid;place-items:center;border:0;border-radius:8px;color:#273348;background:transparent}.pos-search-popover{position:absolute;z-index:10;left:0;right:auto;top:calc(100% + 8px);width:min(720px,100%);max-height:min(430px,calc(100vh - 150px));overflow:auto;display:grid;gap:8px;padding:10px;border:1px solid #dce3eb;border-radius:12px;background:#fffffffa;box-shadow:0 22px 54px #0f172a29;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.pos-search-popover-head{display:flex;align-items:center;justify-content:space-between;padding:2px 4px 4px;color:#64748b;font-size:12px;font-weight:900}.pos-search-popover-head strong{color:#2563eb;font-size:12px;font-weight:950}.pos-search-result{width:100%;min-height:74px;display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:12px;padding:9px 10px;border:1px solid #e2e8f0;border-radius:8px;color:#172033;background:linear-gradient(180deg,#fff,#f8fbff);text-align:left;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease,background .16s ease}.pos-search-result:hover,.pos-search-result:focus-visible{transform:translateY(-1px);border-color:#93c5fd;background:#fff;box-shadow:0 12px 24px #2563eb1c;outline:none}.pos-search-result-photo{width:52px;height:52px;overflow:hidden;display:block;border-radius:8px;background:#eef4fb}.pos-search-result-photo .product-photo{height:52px;border-radius:8px}.pos-search-result-info{min-width:0;display:grid;gap:2px}.pos-search-result-info strong,.pos-search-result-info small,.pos-search-result-info em{min-width:0;overflow:hidden;display:block;text-overflow:ellipsis;white-space:nowrap}.pos-search-result-info strong{color:#172033;font-size:15px;line-height:1.15;font-weight:950}.pos-search-result-info small{color:#64748b;font-size:12px;line-height:1.25;font-weight:800}.pos-search-result-info em{color:#7c8da5;font-size:11px;line-height:1.25;font-style:normal;font-weight:850}.pos-search-result-meta{display:grid;justify-items:end;gap:6px;padding-left:6px}.pos-search-result-meta strong{color:#172033;font-size:16px;line-height:1;font-weight:950;white-space:nowrap}.pos-search-stock{min-width:58px;padding:4px 8px;border-radius:999px;font-size:11px;line-height:1;font-weight:950;text-align:center;white-space:nowrap}.pos-search-stock.ready{color:#047857;background:#d1fae5}.pos-search-stock.low{color:#b45309;background:#fef3c7}.pos-search-stock.out{color:#dc2626;background:#fee2e2}.pos-search-empty{min-height:76px;display:flex;align-items:center;justify-content:center;gap:10px;padding:16px;border:1px dashed #cbd5e1;border-radius:10px;color:#64748b;background:#f8fafc;font-size:13px;font-weight:850}.pos-scan-status{position:absolute;z-index:8;left:12px;right:12px;top:calc(100% + 7px);min-height:34px;display:flex;align-items:center;padding:7px 12px;border:1px solid #dbe7f4;border-radius:8px;color:#64748b;background:#fffffff5;box-shadow:0 12px 28px #0f172a14;font-size:13px;font-weight:850;line-height:1.2}.pos-scan-status.success{border-color:#bbf7d0;color:#047857;background:#ecfdf5}.pos-scan-status.warning{border-color:#fed7aa;color:#b45309;background:#fff7ed}.scan-toast-layer{position:fixed;z-index:120;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;pointer-events:none}.scan-toast{min-width:min(430px,calc(100vw - 36px));max-width:min(560px,calc(100vw - 36px));min-height:72px;display:grid;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:14px;padding:14px 18px;border:1px solid rgba(219,231,244,.92);border-radius:18px;background:#fffffff5;box-shadow:0 24px 70px #0f172a38,inset 0 1px #ffffffe6;animation:scan-toast-pop 1.6s ease both}.scan-toast-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:14px}.scan-toast strong{color:#172033;font-size:20px;line-height:1.22;font-weight:950}.scan-toast.success{border-color:#86efacf2;background:linear-gradient(135deg,#fffffffa,#ecfdf5fa)}.scan-toast.success .scan-toast-icon{color:#047857;background:#dcfce7}.scan-toast.warning{border-color:#fdba74f2;background:linear-gradient(135deg,#fffffffa,#fff7edfa);animation-duration:2.6s}.scan-toast.warning .scan-toast-icon{color:#b45309;background:#ffedd5}@keyframes scan-toast-pop{0%{opacity:0;transform:translateY(12px) scale(.96)}14%,82%{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(-10px) scale(.98)}}.pos-header-actions{display:flex;align-items:center;gap:14px}.pos-header-actions button{min-width:108px;min-height:clamp(50px,7.6vh,66px);display:grid;place-items:center;gap:3px;padding:8px 14px;border:1px solid #dce3eb;border-radius:8px;background:#fff;color:#172033;font-weight:900;box-shadow:0 10px 30px #0f172a0a}.pos-header-actions button:first-child{border-color:transparent;background:transparent;box-shadow:none}.pos-main-grid{grid-column:2;min-height:0;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,clamp(380px,33vw,470px));gap:clamp(10px,1.25vw,18px)}.pos-content-shell{grid-column:2;width:100%;min-width:0;min-height:0;overflow:auto;display:grid;align-content:start}.orders-content-shell{overflow:hidden;align-content:stretch}.pos-content-shell:has(.settings-page-pro){grid-auto-rows:minmax(0,1fr);align-content:stretch;overflow:hidden}.pos-content-shell .dashboard-page,.pos-content-shell .data-page,.pos-content-shell .settings-page{min-height:100%}.pos-page.dashboard-layout{grid-template-rows:auto minmax(0,1fr) auto}.pos-page.dashboard-layout .pos-content-shell{grid-auto-rows:minmax(0,1fr);overflow:hidden;align-content:stretch}.pos-page.dashboard-layout .pos-footer{grid-row:2}.pos-content-shell .data-page,.pos-content-shell .settings-page article{background:#fff}.pos-product-panel,.pos-sale-panel,.payment-card{border:1px solid #dce3eb;border-radius:8px;background:#fff;box-shadow:0 14px 38px #0f172a0f}.pos-product-panel{position:relative;display:grid;min-height:0;overflow:hidden;gap:clamp(8px,1.3vh,12px);padding:clamp(12px,1.8vh,24px)}.cashier-empty-state{min-height:min(100%,calc(100vh - 170px));display:grid;place-items:center;padding:clamp(18px,3vw,44px);border:1px solid #dce7f4;border-radius:8px;background:linear-gradient(90deg,rgba(37,99,235,.03) 1px,transparent 1px),linear-gradient(rgba(37,99,235,.03) 1px,transparent 1px),linear-gradient(135deg,#fff,#f7fbff 52%,#eefdf8);background-size:30px 30px,30px 30px,auto}.cashier-empty-content{width:min(520px,100%);display:grid;justify-items:center;gap:16px;text-align:center}.cashier-empty-icon{width:82px;height:82px;display:grid;place-items:center;border-radius:20px;color:#155dfc;background:#eaf2ff;box-shadow:inset 0 0 0 1px #bfdbfe,0 18px 42px #2563eb29}.cashier-empty-content h1{margin:0;color:#172033;font-size:clamp(26px,3.2vh,34px);line-height:1.15}.cashier-empty-content p{margin:7px 0 0;color:#64748b;font-size:17px;font-weight:800}.cashier-scan-card{width:min(390px,100%);height:94px;position:relative;overflow:hidden;border:1px solid #cfe0f5;border-radius:8px;background:repeating-linear-gradient(90deg,#172033 0 4px,transparent 4px 9px,#172033 9px 16px,transparent 16px 24px),linear-gradient(#fff,#fff);background-repeat:no-repeat;background-size:250px 48px,auto;background-position:center;box-shadow:0 18px 42px #0f172a14}.cashier-scan-card span{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,transparent,rgba(34,197,94,.16),transparent);transform:translate(-55%)}.cashier-scan-card b{position:absolute;left:50%;top:16px;bottom:16px;width:2px;border-radius:999px;background:#22c55e;box-shadow:0 0 0 6px #22c55e14,0 0 22px #22c55e73}.cashier-empty-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px}.cashier-empty-actions button{min-height:44px;display:inline-flex;align-items:center;gap:8px;padding:0 18px;border:1px solid #bfdbfe;border-radius:8px;color:#155dfc;background:#fff;font-size:15px;font-weight:900}.cashier-empty-actions span{color:#64748b;font-size:14px;font-weight:800}.pos-product-hero{min-height:0;height:100%;display:grid;grid-template-columns:minmax(250px,.92fr) minmax(300px,1.08fr);gap:clamp(14px,1.7vw,28px);align-items:start}.pos-product-media{display:grid;min-height:0;align-content:start;gap:clamp(8px,1.3vh,12px)}.product-photo{position:relative;height:clamp(178px,29vh,310px);min-height:0;overflow:hidden;border-radius:8px;background:radial-gradient(circle at 22% 18%,color-mix(in srgb,var(--accent) 42%,white),transparent 22%),linear-gradient(135deg,color-mix(in srgb,var(--product) 12%,white),color-mix(in srgb,var(--product) 28%,white))}.product-photo img{width:100%;height:100%;object-fit:contain;display:block}.product-photo .phone-back,.product-photo .phone-front{position:absolute;top:9%;bottom:auto;width:auto;height:82%;max-width:46%;aspect-ratio:.48;border-radius:10%/5%;box-shadow:0 20px 42px #0f172a3d}.product-photo .phone-back{left:17%;background:radial-gradient(circle at 22% 18%,#111827 0 8%,transparent 9%),radial-gradient(circle at 53% 18%,#111827 0 8%,transparent 9%),radial-gradient(circle at 24% 46%,#111827 0 8%,transparent 9%),linear-gradient(145deg,#f8fafc,color-mix(in srgb,var(--product) 30%,#f8fafc));border:2px solid rgba(15,23,42,.12)}.product-photo .phone-back span{position:absolute;width:22%;aspect-ratio:1;border-radius:50%;background:#0f172a;box-shadow:inset 0 0 0 5px #ffffff40}.product-photo .phone-back span:nth-child(1){left:17%;top:14%}.product-photo .phone-back span:nth-child(2){left:48%;top:14%}.product-photo .phone-back span:nth-child(3){left:20%;top:42%}.product-photo .phone-front{right:13%;background:radial-gradient(ellipse at 70% 38%,rgba(249,115,22,.86),transparent 20%),radial-gradient(ellipse at 55% 62%,rgba(249,115,22,.58),transparent 25%),linear-gradient(150deg,#1f2937,#050816 72%);border:5px solid #111827}.phone-dynamic{position:absolute;top:5%;left:50%;width:34%;height:4.8%;transform:translate(-50%);border-radius:999px;background:#020617}.phone-shine{position:absolute;inset:10% 14% auto auto;width:34%;height:42%;border-radius:999px;border:2px solid rgba(255,255,255,.22);transform:rotate(-28deg)}.product-photo.thumb,.product-photo.cart{min-height:0;width:100%;height:100%}.product-photo.thumb .phone-back,.product-photo.cart .phone-back{display:none}.product-photo.thumb .phone-front,.product-photo.cart .phone-front{right:28%;top:6%;bottom:auto;width:auto;height:88%;max-width:70%}.pos-product-info{display:grid;min-height:0;min-width:0;align-content:start;gap:clamp(8px,1.35vh,14px)}.pos-product-info h1{margin:0;font-size:clamp(32px,5.4vh,52px);line-height:1.04}.pos-product-info p{max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0;color:#64748b;font-size:clamp(14px,var(--spec-line-size, 20px),22px);line-height:1.18;font-weight:700}.sku-line{display:flex;align-items:center;gap:8px}.sku-line{color:#64748b;font-size:16px;font-weight:800}.sku-link{width:fit-content;max-width:100%;min-height:34px;padding:0 9px;border:1px solid transparent;border-radius:8px;background:transparent;cursor:pointer;text-align:left;transition:color .16s ease,background .16s ease,border-color .16s ease,box-shadow .16s ease}.sku-link:hover,.sku-link:focus-visible{color:#1d4ed8;border-color:#bfdbfe;background:#eff6ff;box-shadow:0 8px 18px #2563eb14;outline:none}.sku-link span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-scan-alert{min-height:38px;display:flex;align-items:center;padding:8px 12px;border:1px solid #dbe7f4;border-radius:8px;color:#64748b;background:#f8fafc;font-size:14px;font-weight:850;line-height:1.25}.product-scan-alert.success{border-color:#bbf7d0;color:#047857;background:#ecfdf5}.product-scan-alert.warning{border-color:#fed7aa;color:#b45309;background:#fff7ed}.price-card,.stock-card,.product-spec-card,.note-card{border:1px solid #dce3eb;border-radius:8px;background:#fff}.price-card{padding:clamp(12px,1.8vh,18px) clamp(14px,1.5vw,22px)}.price-card span{color:#64748b;font-weight:800}.price-card strong{display:block;margin-top:5px;color:#1d4ed8;font-size:clamp(34px,6vh,58px);line-height:1}.stock-card{display:flex;align-items:center;gap:14px;padding:clamp(10px,1.55vh,14px) clamp(14px,1.4vw,18px)}.stock-card svg,.stock-card strong{color:#047857}.stock-card strong,.stock-card span{display:block}.stock-card span{margin-top:4px;color:#64748b}.pos-add-button,.pos-secondary-button,.pos-checkout-button{min-height:clamp(46px,6.6vh,58px);display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:8px;font-size:18px;font-weight:900}.pos-add-button,.pos-checkout-button{border:0;color:#fff;background:#155dfc;box-shadow:0 14px 30px #155dfc38}.pos-add-button:disabled,.pos-checkout-button:disabled{cursor:not-allowed;color:#94a3b8;background:#e2e8f0;box-shadow:none}.pos-secondary-button{border:1px solid #dce3eb;color:#172033;background:#fff}.pos-cash-box{display:grid;gap:clamp(8px,1.4vh,14px);padding:clamp(14px,1.8vh,20px);border:1px solid #dce3eb;border-radius:8px;background:#fff}.pos-cash-box .cash-received-row,.pos-cash-box .change-due-row{min-height:clamp(42px,6vh,58px)}.pos-cash-box .cash-received-row span,.pos-cash-box .change-due-row span{font-size:clamp(18px,2.5vh,24px)}.pos-cash-box .cash-received-row input{width:min(220px,52%);height:clamp(50px,7vh,66px);font-size:clamp(26px,4.2vh,36px)}.pos-cash-box .change-due-row strong{font-size:clamp(32px,5vh,44px);line-height:1}.product-spec-card,.note-card{min-height:0;padding:clamp(12px,1.7vh,18px)}.product-spec-card{padding:clamp(9px,1.25vh,13px) clamp(11px,1.1vw,15px)}.product-spec-card h2,.note-card h2{margin:0 0 clamp(6px,1vh,10px);font-size:16px}.product-spec-card h2{margin-bottom:5px;font-size:14px}.product-spec-card ul{margin:0;padding-left:15px;columns:2;column-gap:20px;color:#64748b;line-height:1.22;font-size:clamp(11px,1.45vh,13px)}.note-card{display:grid;grid-template-rows:auto;gap:0;padding:0;border:0;background:transparent}.note-card textarea{width:100%;min-height:clamp(56px,8vh,84px);padding:12px 14px;border:1px solid #dce3eb;border-radius:8px;outline:none;resize:none;background:#fff;font-size:14px}.note-card span{justify-self:end;color:#94a3b8;font-weight:800}.pos-sale-panel{display:grid;min-height:0;grid-template-rows:auto minmax(0,1fr) auto auto;align-content:stretch;overflow:hidden}.sale-list-header{min-height:clamp(42px,5.8vh,56px);display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 10px 0 18px;color:#fff;background:#111827}.sale-header-title{min-width:0;display:flex;align-items:center;gap:10px}.sale-header-title strong{font-size:16px;white-space:nowrap}.sale-header-title span{min-width:0;padding:5px 9px;border:1px solid rgba(148,163,184,.34);border-radius:999px;color:#cbd5e1;background:#ffffff12;font-size:12px;font-weight:950;letter-spacing:.02em;white-space:nowrap}.sale-list-header button{width:30px;min-width:30px;height:30px;min-height:30px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:6px;color:#ef4444;background:transparent;font-weight:900}.sale-list-header button:hover{background:#ef44441a}.sale-items{height:100%;display:grid;grid-template-columns:minmax(0,1fr);grid-auto-rows:25%;overflow-y:auto;border-bottom:1px solid #e2e8f0}.sale-items.empty{grid-auto-rows:1fr;overflow:hidden}.pos-empty-sale{grid-row:1;height:100%;min-height:0;display:grid;place-items:center;align-content:center;justify-items:center;gap:8px;color:#64748b}.sale-item{position:relative;min-height:58px;overflow:hidden;display:grid;grid-template-columns:38px minmax(0,1fr) minmax(112px,auto);align-items:start;gap:9px;padding:5px 12px;border-bottom:1px solid #e2e8f0}.sale-item .product-photo{grid-column:1;grid-row:1;height:34px;border-radius:8px;transform:none}.sale-item-info{grid-column:2;grid-row:1;min-width:0;display:grid;gap:1px;align-content:start}.sale-item-info strong,.sale-item-info span,.sale-item-info small{min-width:0}.sale-item-info strong{font-size:12px;line-height:1.1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sale-item-info span{color:#64748b;font-size:9.5px;line-height:1.08;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sale-spec-row{min-width:0;display:flex;align-items:center}.sale-item-info small{display:block;color:#64748b;font-size:9.5px;line-height:1.08;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sale-item-info .sale-imei-line{color:#1d4ed8;font-weight:850}.sale-qty{width:56px;height:16px;display:grid;grid-template-columns:16px 1fr 16px;align-items:center;border:1px solid #dce3eb;border-radius:8px;background:#fff;font-size:10px;line-height:1}.sale-qty button{height:100%;display:grid;place-items:center;padding:0;border:0;background:transparent}.sale-qty b{text-align:center}.sale-item-actions{grid-column:3;grid-row:1;display:inline-flex;align-items:center;justify-self:end;align-self:start;gap:8px}.remove-sale-item{width:22px;min-width:22px;height:22px;min-height:22px;display:grid;place-items:center;padding:0;border:0;border-radius:6px;color:#64748b;background:transparent;line-height:0}.remove-sale-item:hover{color:#ef4444;background:#ef444414}.remove-sale-item svg{display:block}.sale-item-price{grid-column:3;grid-row:1;justify-self:end;align-self:end;font-size:13px;line-height:1.15;white-space:nowrap}.pos-summary{display:grid;align-self:end;gap:clamp(7px,1.25vh,14px);padding:clamp(12px,1.55vh,18px) clamp(14px,1.4vw,22px)}.summary-row,.cash-received-row,.change-due-row{display:flex;align-items:center;justify-content:space-between;gap:14px}.pos-summary span,.cash-received-row span,.change-due-row span{color:#64748b;font-weight:800}.summary-label-with-icon{display:inline-flex;align-items:center;gap:6px}.summary-label-with-icon svg{color:#64748b;stroke-width:2.3}.summary-value{color:#172033;font-size:18px;font-weight:900;font-variant-numeric:tabular-nums;white-space:nowrap}.discount-edit{width:auto;min-width:0;display:inline-flex;align-items:center;justify-content:flex-end;gap:5px;color:#172033;font-size:18px;font-weight:900;font-variant-numeric:tabular-nums}.discount-edit input{width:var(--discount-width, 5ch);min-width:1ch;max-width:7ch;height:34px;padding:0;border:0;border-radius:8px;outline:none;background:transparent;color:#172033;font-size:18px;font-weight:900;font-variant-numeric:tabular-nums;text-align:left}.discount-edit input:focus{background:#eef2ff;box-shadow:0 0 0 1px #1d4ed82e}.discount-display{min-width:0;padding:0;border:0;background:transparent;color:#172033;font-size:18px;font-weight:900;font-variant-numeric:tabular-nums;line-height:1.2;text-align:right;white-space:nowrap}.discount-display:focus-visible{outline:2px solid rgba(29,78,216,.24);outline-offset:3px;border-radius:6px}.net-total{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-top:clamp(8px,1.25vh,14px);border-top:1px solid #e2e8f0}.net-total span{font-size:clamp(24px,2.8vh,30px)}.net-total span,.net-total strong{color:#172033;font-weight:900}.net-total strong{color:#1d4ed8;font-size:clamp(34px,4.8vh,48px);line-height:1;white-space:nowrap}.payment-card{display:grid;align-self:end;gap:clamp(8px,1.35vh,14px);margin:0 clamp(10px,1vw,14px) 0;padding:clamp(12px,1.55vh,18px)}.cash-received-row input{width:170px;height:clamp(40px,5.6vh,48px);padding:0 12px;border:1px solid #dce3eb;border-radius:8px;outline:none;text-align:right;font-size:18px}.change-due-row strong{color:#059669;font-size:24px}.payment-methods{display:grid;grid-template-columns:repeat(auto-fit,minmax(94px,1fr));gap:8px}.payment-methods button{min-height:clamp(58px,8vh,82px);display:grid;place-items:center;gap:7px;padding:9px 8px;border:1px solid #dce3eb;border-radius:8px;color:#64748b;background:linear-gradient(180deg,#ffffffeb,#f8fafcfa),var(--pay-glow, transparent);font-weight:900;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,color .16s ease}.payment-methods button:hover{transform:translateY(-1px);color:#172033;border-color:color-mix(in srgb,var(--pay-color, #1d4ed8) 48%,#dce3eb);box-shadow:0 12px 24px #0f172a14}.payment-methods button.active{color:var(--pay-color, #1d4ed8);border-color:var(--pay-color, #1d4ed8);box-shadow:0 0 0 2px color-mix(in srgb,var(--pay-color, #1d4ed8) 16%,transparent)}.payment-methods button.pay-cash{--pay-color: #0f9f6e;--pay-glow: radial-gradient(circle at 50% 8%, rgba(16, 185, 129, .16), transparent 56%)}.payment-methods button.pay-qr{--pay-color: #2563eb;--pay-glow: radial-gradient(circle at 50% 8%, rgba(59, 130, 246, .16), transparent 56%)}.payment-methods button.pay-card{--pay-color: #7c3aed;--pay-glow: radial-gradient(circle at 50% 8%, rgba(124, 58, 237, .16), transparent 56%)}.payment-methods button.pay-transfer{--pay-color: #0f766e;--pay-glow: radial-gradient(circle at 50% 8%, rgba(20, 184, 166, .16), transparent 56%)}.payment-visual{width:clamp(36px,3.2vw,48px);height:clamp(28px,2.8vw,38px);display:grid;place-items:center;border-radius:8px;color:#fff;background:radial-gradient(circle at 22% 18%,rgba(255,255,255,.44),transparent 26%),linear-gradient(135deg,var(--pay-soft),var(--pay-color));box-shadow:inset 0 0 0 1px #ffffff6b,0 8px 16px color-mix(in srgb,var(--pay-color) 24%,transparent)}.payment-visual svg{filter:drop-shadow(0 2px 3px rgba(15,23,42,.2));stroke-width:2.4}.payment-visual.cash{--pay-soft: #34d399}.payment-visual.qr{--pay-soft: #60a5fa}.payment-visual.card{--pay-soft: #a78bfa}.payment-visual.transfer{--pay-soft: #2dd4bf}.pos-checkout-button{width:100%;min-height:clamp(48px,6.4vh,58px);font-size:clamp(17px,2.2vh,20px)}.payment-confirm-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:90;display:grid;place-items:center;padding:22px;background:#0f172a61;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.payment-confirm-modal{width:min(980px,94vw);max-height:min(760px,92vh);display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;border:1px solid rgba(203,213,225,.94);border-radius:8px;background:#fff;box-shadow:0 28px 80px #0f172a38}.payment-confirm-modal>header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-bottom:1px solid #e2e8f0;background:linear-gradient(135deg,#2563eb14,#14b8a612),#fff}.payment-confirm-modal>header span{color:#2563eb;font-size:12px;font-weight:950}.payment-confirm-modal>header h3{margin:2px 0 0;color:#172033;font-size:22px}.payment-confirm-modal>header button{width:38px;height:38px;display:grid;place-items:center;border:1px solid #dce3eb;border-radius:8px;color:#64748b;background:#fff}.payment-confirm-body{min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:14px;padding:16px;overflow:auto;background:#f8fafc}.payment-confirm-receipt,.payment-confirm-panel{min-height:0;border:1px solid #e2e8f0;border-radius:8px;background:#fff}.payment-confirm-receipt{padding:18px;overflow:auto}.payment-confirm-panel{display:grid;align-content:start;gap:12px;padding:14px}.payment-qr-card,.payment-transfer-card{display:grid;justify-items:center;gap:8px;padding:16px;border-radius:8px;background:linear-gradient(180deg,#eff6ff,#fff);color:#172033;text-align:center}.payment-qr-card img{width:176px;height:176px;border-radius:8px;background:#fff}.qr-loading{width:176px;height:176px;display:grid;place-items:center;border:1px dashed #bfdbfe;border-radius:8px;color:#64748b;background:#fff;font-weight:800}.payment-qr-card strong,.payment-transfer-card strong{color:#1d4ed8;font-size:28px;line-height:1}.payment-qr-card b{padding:4px 10px;border-radius:999px;background:#fff;color:#172033;font-size:12px;font-weight:900}.payment-qr-card span,.payment-transfer-card span{color:#64748b;font-size:12px;font-weight:800}.payment-transfer-card{background:linear-gradient(180deg,#f0fdfa,#fff)}.payment-transfer-card svg{color:#0f766e}.payment-transfer-account{width:100%;display:grid;grid-template-columns:82px minmax(0,1fr);gap:6px 10px;padding:10px;border:1px solid #dbe4ef;border-radius:8px;background:#fff;text-align:left}.payment-transfer-account span{color:#64748b;font-size:11px;font-weight:850}.payment-transfer-account b{min-width:0;color:#172033;font-size:12px;font-weight:950;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.payment-api-status{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 12px;border-radius:8px;color:#64748b;background:#f1f5f9;font-size:12px;font-weight:900}.payment-api-status.on{color:#047857;background:#dcfce7}.payment-confirm-main{width:100%;min-height:48px;justify-content:center}.receipt-preview{width:min(100%,420px);margin:0 auto;padding:18px;border:1px solid #dce3eb;border-radius:8px;background:#fff;color:#172033;font-size:13px;box-shadow:0 14px 34px #0f172a14}.receipt-preview.a4{width:min(100%,620px)}.receipt-preview.thermal{max-width:360px}.receipt-preview-head{display:grid;justify-items:center;gap:2px;padding-bottom:10px;border-bottom:1px dashed #cbd5e1;text-align:center}.receipt-preview-head strong{font-size:18px;line-height:1.1}.receipt-preview-head span,.receipt-preview-head small{color:#64748b;font-weight:800}.receipt-preview-meta,.receipt-preview-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 14px;padding:12px 0;border-bottom:1px dashed #cbd5e1}.receipt-preview-meta span,.receipt-preview-summary span{color:#64748b;font-weight:800}.receipt-preview b,.receipt-preview strong{font-variant-numeric:tabular-nums}.receipt-preview-items{padding:10px 0;border-bottom:1px dashed #cbd5e1}.receipt-preview-row{display:grid;grid-template-columns:minmax(0,1fr) 50px 92px;gap:8px;align-items:start;padding:7px 0}.receipt-preview-row.head{color:#64748b;font-size:11px;font-weight:900;text-transform:none}.receipt-preview-row>span:first-child{display:grid;gap:2px;min-width:0}.receipt-preview-row strong,.receipt-preview-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.receipt-preview-row small{color:#64748b;font-size:11px;font-weight:750}.receipt-preview-row>b{justify-self:end}.receipt-preview-qr{display:grid;justify-items:center;gap:5px;margin-top:12px;padding:12px 0 10px;border-top:1px dashed #cbd5e1;border-bottom:0}.receipt-preview-qr img{width:142px;height:142px}.receipt-preview-qr span{color:#172033;font-size:12px;font-weight:900}.receipt-preview-qr strong{color:#1d4ed8;font-size:18px;font-weight:950}.receipt-preview-summary{border-bottom:0}.receipt-preview-summary strong{padding-top:8px;border-top:1px solid #e2e8f0;font-size:16px}.receipt-preview-summary strong:last-child{color:#1d4ed8;font-size:20px}.receipt-preview footer{margin-top:8px;padding-top:10px;border-top:1px dashed #cbd5e1;color:#64748b;text-align:center;font-size:12px;font-weight:800}.receipt-print-only{position:fixed;left:-10000px;top:0;width:80mm;background:#fff}.pos-shortcuts{grid-column:2;min-height:clamp(24px,3.5vh,38px);display:flex;align-items:center;gap:clamp(8px,1vw,16px);padding-top:clamp(4px,.7vh,8px);border-top:1px solid #dce3eb;color:#64748b;font-size:13px;font-weight:600}.pos-shortcuts span{display:inline-flex;align-items:center;gap:8px}.pos-shortcuts b{min-width:34px;min-height:22px;display:inline-grid;place-items:center;padding:0 6px;border:1px solid #dce3eb;border-radius:6px;background:#fff;color:#64748b;font-size:12px;font-weight:700}.pos-shortcuts em{margin-left:auto;font-style:normal}.pos-shortcuts em:before{content:"";display:inline-block;width:7px;height:7px;margin-right:6px;border-radius:50%}.pos-shortcuts .printer-status.browser{color:#2563eb}.pos-shortcuts .printer-status.browser:before{background:#2563eb}.pos-shortcuts .printer-status.offline{color:#dc2626}.pos-shortcuts .printer-status.offline:before{background:#dc2626}.cashier-layout{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:18px;align-items:start}.sales-pane,.cart-panel,.chart-panel,.table-panel,.data-page,.settings-page article{border:1px solid #dde5ed;background:#ffffffeb;box-shadow:0 14px 38px #0f172a0f}.sales-pane,.cart-panel,.chart-panel,.table-panel,.data-page{min-width:0;border-radius:8px}.sales-pane{padding:16px}.sales-tools{display:grid;gap:12px;margin-bottom:16px}.scanner-workspace{display:grid;gap:14px}.barcode-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;padding:14px;border:1px solid #dce3eb;border-radius:8px;background:#f8fafc}.barcode-panel label{display:grid;gap:8px}.barcode-panel label span{color:#64748b;font-size:13px;font-weight:800}.barcode-panel input{width:100%;height:56px;padding:0 14px;border:2px solid #1d4ed8;border-radius:8px;outline:none;background:#fff;color:#172033;font-size:18px;font-weight:800}.barcode-panel .primary-button{min-height:56px}.barcode-panel p{grid-column:1 / -1;margin:0;color:#64748b;font-size:13px}.inline-search-results{grid-column:1 / -1;display:grid;gap:6px}.inline-search-results button,.inline-search-results>span{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 10px;border:1px solid #dce3eb;border-radius:8px;background:#fff;color:#172033}.inline-search-results button span{overflow-wrap:anywhere;font-weight:800}.inline-search-results button strong{white-space:nowrap}.inline-search-results>span{color:#64748b}.scan-product-card{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(0,1fr);gap:18px;padding:16px;border:1px solid #dce3eb;border-radius:8px;background:#fff;overflow:hidden}.scan-product-card .product-visual{height:310px}.scan-product-info{min-width:0;display:grid;align-content:start;gap:12px}.scan-product-info h2{margin:0;font-size:clamp(28px,4vw,44px);line-height:1.05;overflow-wrap:anywhere}.scan-product-info p{margin:0;color:#64748b;font-size:16px;line-height:1.45}.barcode-line,.sale-price,.product-stock-line{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border-radius:8px;background:#f8fafc}.barcode-line span,.sale-price span,.product-stock-line span{color:#64748b;font-size:13px}.barcode-line strong{overflow-wrap:anywhere}.sale-price{color:#fff;background:#111827}.sale-price span{color:#cbd5e1}.sale-price strong{font-size:clamp(30px,4vw,44px);line-height:1}.product-stock-line .ghost-button:disabled{cursor:not-allowed;opacity:.55}.search-box{min-height:48px;display:flex;align-items:center;gap:10px;padding:0 14px;border-radius:8px;background:#f8fafc;border:1px solid #dce3eb;color:#64748b}.search-box input{width:100%;min-width:0;border:0;outline:none;background:transparent;color:#172033}.category-tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px;scrollbar-width:thin}.category-tabs button{min-height:36px;padding:0 12px;border:1px solid #dce3eb;border-radius:8px;background:#fff;color:#334155;white-space:nowrap}.category-tabs button.active{color:#fff;background:#0f766e;border-color:#0f766e}.filter-block{display:grid;gap:7px}.filter-block>span{color:#64748b;font-size:12px;font-weight:800}.brand-tabs button.active{background:#1d4ed8;border-color:#1d4ed8}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px}.product-card{min-height:232px;display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:12px;border:1px solid #dce3eb;border-radius:8px;background:#fff;color:#18243a;text-align:left;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.product-card:hover{transform:translateY(-2px);border-color:#93c5fd;box-shadow:0 12px 24px #2563eb1f}.product-card:disabled{cursor:not-allowed;opacity:.52}.product-card:disabled:hover{transform:none;border-color:#dce3eb;box-shadow:none}.product-card strong{font-size:16px;line-height:1.25}.product-card small{min-height:36px;color:#64748b;line-height:1.35}.product-category{align-self:flex-start;padding:5px 8px;border-radius:8px;background:#edf7f4;color:#0f766e;font-size:12px;font-weight:700}.product-card-footer{margin-top:auto;display:flex;justify-content:space-between;align-items:center;gap:10px}.product-card-footer span{font-weight:800}.product-card-footer em{color:#64748b;font-size:12px;font-style:normal}.product-visual{position:relative;height:94px;overflow:hidden;border-radius:8px;background:radial-gradient(circle at 18% 18%,color-mix(in srgb,var(--accent) 70%,white),transparent 28%),linear-gradient(135deg,color-mix(in srgb,var(--product) 92%,black),color-mix(in srgb,var(--product) 56%,white))}.screen-glow{position:absolute;top:9px;bottom:9px;left:50%;width:58px;transform:translate(-50%);border-radius:14px;background:#ffffffdb;box-shadow:inset 0 0 0 4px #0f172a29,0 12px 24px #0f172a2e}.device-body{position:absolute;left:50%;top:17px;width:30px;height:5px;transform:translate(-50%);display:flex;justify-content:center;gap:4px;border-radius:999px;background:#0f172ab8}.device-body span{width:3px;height:3px;margin-top:1px;border-radius:3px;background:#ffffff8c}.device-chip{position:absolute;right:calc(50% - 21px);top:48px;width:14px;height:14px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 5px #ffffff47,-18px -3px 0 -3px #0f172a38}.cart-panel{position:sticky;top:22px;max-height:calc(100vh - 44px);display:flex;flex-direction:column;padding:16px}.cart-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.cart-header span,.cart-line span,.cash-input span,.change-row span{color:#64748b;font-size:13px}.cart-header strong{display:block;margin-top:4px}.cart-items{min-height:190px;overflow-y:auto;display:grid;align-content:start;gap:10px;padding-right:2px}.empty-cart{min-height:190px;display:grid;place-items:center;align-content:center;gap:10px;color:#7a8798;border:1px dashed #cbd5e1;border-radius:8px}.empty-cart p{margin:0}.cart-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px;border-radius:8px;background:#f8fafc;border:1px solid #e2e8f0}.cart-line strong,.cart-line span{display:block}.cart-line strong{overflow-wrap:anywhere}.qty-control{height:34px;display:grid;grid-template-columns:30px 28px 30px;align-items:center;border:1px solid #d9e2ec;border-radius:8px;background:#fff}.qty-control button{height:100%;display:grid;place-items:center;border:0;background:transparent;color:#243449}.qty-control b{text-align:center}.totals-box{margin-top:14px;padding:12px;display:grid;gap:9px;border-radius:8px;background:#111827;color:#fff}.totals-box div,.change-row{display:flex;justify-content:space-between;gap:12px}.totals-box span{color:#cbd5e1}.editable-total-row label{position:relative;width:min(150px,55%)}.editable-total-row label:before{content:"฿";position:absolute;left:8px;top:50%;transform:translateY(-50%);color:#fffc;font-weight:900;pointer-events:none}.editable-total-row input{width:100%;height:30px;padding:0 0 0 22px;border:0;border-radius:6px;outline:none;color:#fff;background:transparent;font-weight:900;text-align:right}.editable-total-row input:focus{padding:0 8px 0 22px;background:#ffffff1a;box-shadow:0 0 0 1px #ffffff38}.grand-total{padding-top:9px;border-top:1px solid rgba(255,255,255,.14)}.grand-total strong{font-size:24px}.cash-input{margin-top:14px;display:grid;gap:8px}.cash-input input{width:100%;height:44px;padding:0 12px;border:1px solid #dce3eb;border-radius:8px;outline:none;text-align:right}.change-row{margin:12px 0;align-items:center}.change-row strong{font-size:20px;color:#0f766e}.checkout-button{width:100%;min-height:50px;display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:8px;color:#fff;background:#0f766e;font-weight:800}.checkout-button:disabled{cursor:not-allowed;color:#94a3b8;background:#e2e8f0}.dashboard-page{display:grid;gap:9px;min-height:0}.premium-dashboard{height:100%;min-height:0;grid-template-rows:auto minmax(0,1.16fr) minmax(0,.92fr);color:#111827;overflow:hidden;padding:0}.dashboard-hero{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px;padding:0 1px}.dashboard-hero-title{min-width:0;display:inline-flex;align-items:center;gap:0}.dashboard-hero h1,.dashboard-hero p{margin:0}.dashboard-hero h1{font-size:17px;line-height:1.1;font-weight:900}.dashboard-hero p{margin-top:3px;color:#64748b;font-size:11px;font-weight:750}.dashboard-hero-actions{display:inline-flex;align-items:center;gap:10px;flex:0 0 auto;position:relative;overflow:visible}.dashboard-header-actions{position:fixed;z-index:45;top:calc(clamp(10px,1.7vh,22px) + ((var(--pos-header-height, 88px) - 44px) / 2));right:var(--pos-page-x-padding, 26px);display:inline-flex;align-items:center;justify-content:flex-end;gap:10px;pointer-events:auto}.dashboard-refresh-button,.dashboard-bell-button,.dashboard-link-button,.dashboard-period-button{border:1px solid #dbe4ef;border-radius:8px;background:#fff;color:#182033;font-weight:850;box-shadow:0 12px 28px #0f172a0f}.dashboard-refresh-button{min-height:30px;display:inline-flex;align-items:center;gap:7px;padding:0 11px;font-size:11.5px}.dashboard-header-actions .dashboard-refresh-button{min-height:44px;padding:0 15px;border-radius:10px;font-size:14px}.dashboard-header-actions .dashboard-refresh-button svg{width:22px;height:22px}.dashboard-refresh-button.loading svg{animation:dashboard-refresh-spin .7s linear infinite}@keyframes dashboard-refresh-spin{to{transform:rotate(360deg)}}.dashboard-bell-button{position:relative;width:30px;height:30px;display:grid;place-items:center;overflow:visible}.dashboard-header-actions .dashboard-bell-button{width:44px;height:44px;min-width:44px;border-radius:10px;place-items:center;padding:0}.dashboard-header-actions .dashboard-bell-button svg{width:24px;height:24px;display:block;margin:0}.dashboard-bell-button span{position:absolute;top:-5px;right:-5px;min-width:18px;height:18px;display:grid;place-items:center;padding:0 5px;border:2px solid #ffffff;border-radius:999px;color:#fff;background:#ef4444;font-size:11px;font-weight:900;line-height:1;box-shadow:0 8px 18px #ef444447}.dashboard-notification-anchor{position:relative;display:inline-flex;align-items:center;justify-content:center}.dashboard-toast{position:fixed;top:20px;left:50%;z-index:90;min-height:42px;display:inline-flex;align-items:center;gap:8px;padding:0 16px;transform:translate(-50%);border:1px solid #a7f3d0;border-radius:999px;color:#047857;background:#ecfdf5;font-weight:900;box-shadow:0 20px 44px #0f172a2e}.dashboard-notification-popover{position:absolute;top:calc(100% + 10px);right:0;z-index:60;width:min(360px,calc(100vw - 40px));padding:12px;border:1px solid #dbe4ef;border-radius:14px;background:#fff;box-shadow:0 24px 70px #0f172a2e;animation:dashboard-pop-slide .16s ease-out}.dashboard-notification-popover:before{content:"";position:absolute;top:-7px;right:12px;width:14px;height:14px;transform:rotate(45deg);border-left:1px solid #dbe4ef;border-top:1px solid #dbe4ef;background:#fff}.dashboard-notification-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:2px 2px 10px;border-bottom:1px solid #e2e8f0}.dashboard-notification-head strong{display:block;color:#172033;font-size:15px;font-weight:950}.dashboard-notification-head small{display:block;margin-top:2px;color:#64748b;font-size:11.5px;font-weight:800}.dashboard-notification-head button{width:32px;height:32px;display:grid;place-items:center;border:1px solid #dbe4ef;border-radius:9px;color:#64748b;background:#fff}.dashboard-notification-list{display:grid;gap:8px;max-height:300px;overflow:auto;padding:10px 0}.dashboard-notification-item{width:100%;display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:2px 10px;align-items:center;padding:10px;border:1px solid #e2e8f0;border-radius:11px;color:#172033;background:#f8fafc;text-align:left;cursor:pointer}.dashboard-notification-item>span:first-child{grid-row:1 / span 2;width:34px;height:34px;display:grid;place-items:center;border-radius:10px;color:#ea580c;background:#fff7ed}.dashboard-notification-item.danger>span:first-child{color:#ef4444;background:#fef2f2}.dashboard-notification-item.info>span:first-child{color:#2563eb;background:#eff6ff}.dashboard-notification-item strong{display:block;color:#172033;font-size:13px;font-weight:950}.dashboard-notification-item small{display:block;margin-top:2px;color:#64748b;font-size:11px;font-weight:750}.dashboard-notification-item em{grid-column:3;grid-row:1 / span 2;display:inline-flex;align-items:center;gap:4px;color:#2563eb;font-size:11px;font-style:normal;font-weight:900;white-space:nowrap}.dashboard-notification-empty{min-height:92px;display:grid;place-items:center;align-content:center;gap:8px;color:#0f766e;font-weight:900}.dashboard-notification-footer{width:100%;min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;border-radius:10px;color:#2563eb;background:#eff6ff;font-weight:950;cursor:pointer}@keyframes dashboard-pop-slide{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.dashboard-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;min-height:0}.dashboard-metric-card{position:relative;min-height:88px;display:grid;grid-template-columns:36px minmax(0,1fr);grid-template-rows:auto 21px;align-items:start;gap:5px 10px;padding:10px 11px;overflow:hidden;border:1px solid #dbe4ef;border-radius:9px;background:linear-gradient(180deg,#fffffffa,#f8fbfffa);color:inherit;text-align:left;box-shadow:0 12px 28px #0f172a0e}.dashboard-metric-card:hover,.dashboard-top-row:hover,.dashboard-bill-row:hover,.dashboard-alert-row:hover{transform:translateY(-1px);border-color:#93c5fd;box-shadow:0 18px 36px #2563eb1f}.dashboard-metric-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:8px}.dashboard-metric-card.blue .dashboard-metric-icon{color:#2563eb;background:#dbeafe}.dashboard-metric-card.green .dashboard-metric-icon{color:#059669;background:#d1fae5}.dashboard-metric-card.purple .dashboard-metric-icon{color:#7c3aed;background:#ede9fe}.dashboard-metric-card.orange .dashboard-metric-icon{color:#ea580c;background:#ffedd5}.dashboard-metric-card.red{border-color:#fecaca}.dashboard-metric-card.red .dashboard-metric-icon{color:#dc2626;background:#fee2e2}.dashboard-metric-copy{min-width:0}.dashboard-metric-copy>span,.dashboard-metric-copy small{display:block;color:#64748b;font-weight:850;font-size:10.8px}.dashboard-metric-copy strong{display:block;margin-top:2px;color:#111827;font-size:19px;line-height:1.05;font-weight:950;letter-spacing:0}.dashboard-metric-copy small{margin-top:4px;color:#059669;font-size:10.8px}.dashboard-metric-copy small.danger{color:#ef4444}.dashboard-spark,.dashboard-mini-bars,.dashboard-card-link{grid-column:1 / -1}.dashboard-spark{width:100%;height:21px;align-self:end}.dashboard-spark polyline{fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.dashboard-spark.blue polyline{stroke:#2563eb}.dashboard-spark.green polyline{stroke:#16a34a}.dashboard-mini-bars{height:21px;display:flex;align-items:end;gap:4px;align-self:end}.dashboard-mini-bars span{flex:1;min-width:4px;border-radius:4px 4px 2px 2px;border:2px solid #c4b5fd;background:#ede9fe}.dashboard-metric-card.red .dashboard-mini-bars span{border-color:#fecaca;background:#fee2e2}.dashboard-card-link{align-self:end;display:inline-flex;justify-content:flex-end;align-items:center;gap:6px;color:#ea580c;font-size:10.8px;font-weight:900}.dashboard-main-grid{min-height:0;display:grid;grid-template-columns:minmax(0,1.26fr) minmax(330px,.74fr);gap:9px}.dashboard-bottom-grid{min-height:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.04fr);gap:9px}.dashboard-panel{min-width:0;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;padding:11px;border:1px solid #dbe4ef;border-radius:9px;background:linear-gradient(180deg,#fff,#fbfdff);box-shadow:0 12px 28px #0f172a0d}.dashboard-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}.dashboard-panel-head p,.dashboard-panel-head h2{margin:0}.dashboard-panel-head p{color:#64748b;font-size:10.8px;font-weight:850}.dashboard-panel-head h2{color:#111827;font-size:15px;line-height:1.15;font-weight:950}.dashboard-link-button{min-height:26px;display:inline-flex;align-items:center;gap:6px;padding:0 9px;color:#2563eb;font-size:11px;box-shadow:none}.dashboard-period-wrap{position:relative;flex:0 0 auto}.dashboard-period-button{min-height:26px;display:inline-flex;align-items:center;gap:8px;padding:0 9px;font-size:11px;box-shadow:none}.dashboard-period-menu{position:absolute;z-index:20;top:calc(100% + 8px);right:0;width:188px;display:grid;padding:6px;border:1px solid #dbe4ef;border-radius:8px;background:#fff;box-shadow:0 20px 40px #0f172a24}.dashboard-period-menu button{min-height:36px;padding:0 12px;border:0;border-radius:7px;background:transparent;color:#334155;text-align:left;font-weight:850;display:inline-flex;align-items:center;gap:8px}.dashboard-period-menu button.active,.dashboard-period-menu button:hover{color:#1d4ed8;background:#eff6ff}.dashboard-period-custom{display:grid;gap:8px;margin-top:6px;padding:9px;border-top:1px solid #e6edf6}.dashboard-period-custom label{display:grid;gap:5px;color:#64748b;font-size:10px;font-weight:850}.dashboard-period-custom input{width:100%;height:32px;border:1px solid #d6e0ec;border-radius:7px;padding:0 8px;color:#182033;font:inherit;font-size:11px;font-weight:850;background:#f8fbff}.dashboard-period-apply{justify-content:center;min-height:32px!important;margin-top:2px;color:#fff!important;background:#2563eb!important}.dashboard-hour-chart{height:100%;min-height:0;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));align-items:end;gap:8px;padding:4px 2px 0;border-radius:8px;background:linear-gradient(180deg,#f8fbffd1,#ffffffeb),repeating-linear-gradient(0deg,transparent 0,transparent 34px,#e8eef7 35px,transparent 36px)}.dashboard-hour-bar{height:100%;min-width:0;display:grid;grid-template-rows:minmax(0,1fr) 17px;align-items:end;gap:4px;border:0;background:transparent;color:#64748b;font-size:10px;font-weight:800}.dashboard-hour-bar span{width:min(20px,74%);min-height:9px;justify-self:center;border-radius:7px 7px 3px 3px;background:linear-gradient(180deg,#38bdf8,#2563eb);box-shadow:0 10px 20px #2563eb2e}.dashboard-top-table{min-height:0;overflow:auto;display:grid;gap:0;scrollbar-width:thin}.dashboard-top-header{display:grid;grid-template-columns:24px 38px minmax(108px,1fr) 62px 78px;align-items:center;gap:7px;padding:0 6px 6px;color:#64748b;font-size:10.5px;font-weight:900;border-bottom:1px solid #e8eef7}.dashboard-top-header span:last-child{text-align:right}.dashboard-top-row{min-height:0;display:grid;grid-template-columns:24px 38px minmax(108px,1fr) 62px 78px;align-items:center;gap:7px;padding:5px 6px;border:0;border-bottom:1px solid #eef2f7;background:#fff;color:#111827;text-align:left}.dashboard-top-row .product-visual{height:34px;border-radius:8px}.dashboard-top-row>span{min-width:0}.dashboard-top-row strong,.dashboard-top-row small{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-top-row strong{font-size:11.5px;font-weight:900}.dashboard-top-row small{margin-top:2px;color:#64748b;font-size:10.5px;font-weight:750}.dashboard-top-row em,.dashboard-top-row mark{font-size:11.5px;font-style:normal;font-weight:900;text-align:right}.dashboard-top-row mark{color:#16a34a;background:transparent}.dashboard-bill-list,.dashboard-alert-list{min-height:0;overflow:auto;display:grid;gap:4px;align-content:start;grid-auto-rows:max-content;scrollbar-width:thin}.dashboard-bill-row{min-height:0;display:grid;grid-template-columns:42px minmax(0,1fr) 108px 84px;align-items:center;gap:8px;padding:5px 8px;border:1px solid transparent;border-radius:8px;background:#fff;color:#111827;text-align:left}.dashboard-bill-row time{color:#64748b;font-weight:850;font-size:11px}.dashboard-bill-row strong,.dashboard-bill-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-bill-row strong{font-size:11.5px;font-weight:900}.dashboard-bill-row small{color:#64748b;font-size:10.5px;font-weight:750}.dashboard-payment-pill{min-height:22px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 8px;border-radius:999px;font-size:10.8px;font-style:normal;font-weight:900}.dashboard-payment-pill.cash{color:#047857;background:#d1fae5}.dashboard-payment-pill.qr{color:#1d4ed8;background:#dbeafe}.dashboard-payment-pill.transfer{color:#0f766e;background:#ccfbf1}.dashboard-payment-pill.card{color:#7c3aed;background:#ede9fe}.dashboard-bill-row b{text-align:right;font-size:11.5px;font-weight:950}.dashboard-alerts.focus{border-color:#f97316;box-shadow:0 0 0 3px #f973161f,0 18px 36px #0f172a0e}.dashboard-alert-row{min-height:0;display:grid;grid-template-columns:32px minmax(0,1fr) auto;grid-template-areas:"icon title action" "icon detail action";align-items:center;gap:0 8px;padding:6px 9px;border:1px solid transparent;border-radius:8px;text-align:left}.dashboard-alert-row span{grid-area:icon;width:28px;height:28px;display:grid;place-items:center;border-radius:8px}.dashboard-alert-row strong{grid-area:title;font-size:11.5px;font-weight:900}.dashboard-alert-row small{grid-area:detail;color:#64748b;font-size:10.5px;font-weight:750}.dashboard-alert-row em{grid-area:action;display:inline-flex;align-items:center;gap:6px;font-size:10.8px;font-style:normal;font-weight:900}.dashboard-alert-row.danger{color:#dc2626;background:#fff1f2}.dashboard-alert-row.warning{color:#d97706;background:#fffbeb}.dashboard-alert-row.info{color:#2563eb;background:#eff6ff}.dashboard-alert-row.success{color:#047857;background:#ecfdf5}.dashboard-alert-row.neutral{color:#334155;background:#f8fafc}.dashboard-alert-empty{min-height:88px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px dashed #cbd5e1;border-radius:8px;color:#64748b;background:#f8fafc;font-size:12px;font-weight:850}.attention-detail-page{height:100%;min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:10px;padding:12px;overflow:hidden;color:#172033}.attention-detail-hero{min-height:86px;display:flex;align-items:center;gap:14px;padding:16px;border:1px solid #dbe6f4;border-radius:14px;background:radial-gradient(circle at 12% 8%,rgba(37,99,235,.11),transparent 28%),linear-gradient(135deg,#fff,#f8fbff 55%,#f0fdfa);box-shadow:0 16px 40px #0f172a0f}.attention-back-button{width:40px;height:40px;display:grid;place-items:center;border:1px solid #dbe6f4;border-radius:11px;color:#172033;background:#fff;cursor:pointer}.attention-back-button:hover{color:#2563eb;border-color:#93c5fd;background:#eff6ff}.attention-hero-icon{width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center;border-radius:13px}.attention-hero-icon.danger{color:#dc2626;background:#fee2e2}.attention-hero-icon.warning{color:#d97706;background:#fef3c7}.attention-detail-hero p,.attention-detail-hero h1{margin:0}.attention-detail-hero p{color:#64748b;font-size:12px;font-weight:900}.attention-detail-hero h1{margin-top:2px;color:#172033;font-size:24px;line-height:1.15;font-weight:950}.attention-detail-hero span{display:block;margin-top:3px;color:#64748b;font-size:12px;font-weight:800}.attention-kpi-grid{min-height:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.attention-kpi-grid.notifications{grid-template-columns:repeat(4,minmax(0,1fr))}.attention-kpi{min-height:78px;padding:12px 14px;border:1px solid #dbe6f4;border-radius:13px;background:#fff;box-shadow:0 14px 34px #0f172a0d}.attention-kpi span,.attention-kpi small{display:block;color:#64748b;font-weight:850}.attention-kpi span{font-size:12px}.attention-kpi strong{display:block;margin-top:3px;color:#172033;font-size:26px;line-height:1;font-weight:950}.attention-kpi small{margin-top:5px;font-size:11px}.attention-kpi.danger{border-left:4px solid #ef4444}.attention-kpi.warning{border-left:4px solid #f59e0b}.attention-kpi.neutral{border-left:4px solid #2563eb}.attention-kpi.danger-soft{border-left:4px solid #f97316}.attention-table-card,.attention-list-card{min-height:0;overflow:hidden;border:1px solid #dbe6f4;border-radius:14px;background:#fff;box-shadow:0 18px 44px #0f172a0e}.attention-table-card{display:grid;grid-template-rows:42px minmax(0,1fr)}.attention-table-head,.attention-table-row{display:grid;grid-template-columns:minmax(280px,1.6fr) 120px 110px 110px 130px;align-items:center;gap:10px}.attention-table-head{padding:0 16px;color:#64748b;background:#f8fbff;border-bottom:1px solid #e2e8f0;font-size:12px;font-weight:900}.attention-table-body{min-height:0;overflow:auto}.attention-table-row{width:100%;min-height:70px;padding:10px 16px;border:0;border-bottom:1px solid #e8eef6;color:inherit;background:#fff;font:inherit;text-align:left;cursor:pointer}.attention-table-row:hover{background:#f8fbff}.attention-product-cell{min-width:0;display:inline-flex;align-items:center;gap:10px}.attention-product-cell .product-visual{width:46px;height:46px;flex:0 0 46px;border-radius:9px}.attention-product-cell strong,.attention-product-cell small{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attention-product-cell strong{color:#172033;font-size:13px;font-weight:950}.attention-product-cell small{margin-top:3px;color:#64748b;font-size:11px;font-weight:800}.attention-status{width:fit-content;min-width:76px;padding:6px 10px;border-radius:999px;font-style:normal;text-align:center;font-size:11.5px;font-weight:900}.attention-status.danger{color:#dc2626;background:#fee2e2}.attention-status.warning{color:#b45309;background:#fef3c7}.attention-table-row b{color:#172033;font-size:12px;font-weight:900}.attention-table-row mark,.attention-notification-row mark{display:inline-flex;align-items:center;justify-content:flex-end;gap:5px;color:#2563eb;background:transparent;font-size:12px;font-weight:900}.attention-empty-state{min-height:220px;display:grid;place-items:center;align-content:center;gap:8px;color:#64748b;font-weight:900;text-align:center}.attention-empty-state.large{min-height:360px}.attention-list-card{overflow:auto;padding:10px;display:grid;align-content:start;gap:8px}.attention-notification-row{width:100%;min-height:72px;display:grid;grid-template-columns:42px minmax(0,1fr) 110px;align-items:center;gap:12px;padding:10px 12px;border:1px solid #e2e8f0;border-radius:12px;color:inherit;background:#fff;font:inherit;text-align:left;cursor:pointer}.attention-notification-row:hover{border-color:#93c5fd;box-shadow:0 12px 26px #2563eb1a}.attention-notification-row.danger{border-left:4px solid #ef4444;background:linear-gradient(90deg,#fff7f7,#fff)}.attention-notification-row.warning{border-left:4px solid #f59e0b;background:linear-gradient(90deg,#fffbeb,#fff)}.attention-notification-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;color:#2563eb;background:#eff6ff}.attention-notification-row strong,.attention-notification-row small,.attention-notification-row em{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attention-notification-row strong{color:#172033;font-size:13px;font-weight:950}.attention-notification-row small{margin-top:3px;color:#475569;font-size:11.5px;font-weight:800}.attention-notification-row em{margin-top:3px;color:#94a3b8;font-size:10.5px;font-style:normal;font-weight:800}@media(max-width:1040px){.dashboard-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-main-grid,.dashboard-bottom-grid{grid-template-columns:1fr}.dashboard-top-products{min-height:auto}.attention-detail-page{overflow:auto}.attention-kpi-grid,.attention-kpi-grid.notifications{grid-template-columns:repeat(2,minmax(0,1fr))}.attention-table-head{display:none}.attention-table-card{grid-template-rows:minmax(0,1fr)}.attention-table-row{grid-template-columns:minmax(0,1fr) auto;gap:8px}.attention-table-row b,.attention-table-row mark{justify-self:end}}@media(max-width:760px){.dashboard-hero{flex-direction:column}.dashboard-hero-actions{width:100%;justify-content:space-between}.dashboard-refresh-button{flex:1;justify-content:center}.dashboard-metric-grid{grid-template-columns:1fr}.dashboard-panel{padding:14px}.dashboard-panel-head{align-items:flex-start;flex-direction:column}.dashboard-hour-chart{grid-template-columns:repeat(12,46px);overflow-x:auto;padding-bottom:6px}.dashboard-top-header{display:none}.dashboard-top-row{grid-template-columns:28px 44px minmax(0,1fr)}.dashboard-top-row em,.dashboard-top-row mark{grid-column:3;text-align:left}.dashboard-bill-row{grid-template-columns:46px minmax(0,1fr) auto}.dashboard-bill-row b{grid-column:2 / -1;text-align:left}.attention-detail-page{padding:10px}.attention-detail-hero{align-items:flex-start;padding:12px}.attention-detail-hero h1{font-size:20px}.attention-kpi-grid,.attention-kpi-grid.notifications{grid-template-columns:1fr}.attention-notification-row{grid-template-columns:38px minmax(0,1fr)}.attention-notification-row mark{grid-column:2;justify-content:flex-start}}.data-page{padding:18px}.data-page{display:grid;gap:16px}.inventory-overview-page{gap:14px;padding:18px}.category-overview-toolbar{display:grid;grid-template-columns:minmax(240px,1fr) auto;align-items:center;gap:16px}.category-overview-title h2,.category-overview-title p{margin:0}.category-overview-title h2{color:#172033;font-size:clamp(26px,2vw,34px);line-height:1.05}.category-overview-title p{margin-top:5px;color:#64748b;font-size:13px;font-weight:800}.category-overview-actions{display:flex;align-items:center;justify-content:end;gap:10px}.category-overview-actions .primary-button{min-width:150px}.category-search{width:min(310px,34vw);height:38px;display:grid;grid-template-columns:30px minmax(0,1fr) 32px;align-items:center;gap:5px;padding:0 7px;border:1px solid #dce3eb;border-radius:9px;background:#fff;box-shadow:0 7px 18px #0f172a0b}.category-search svg{justify-self:center;color:#64748b;width:17px;height:17px}.category-search input{width:100%;height:100%;min-width:0;border:0;outline:none;color:#172033;background:transparent;font-size:13px;font-weight:850}.category-search input::placeholder{color:#64748b;opacity:.78}.category-search span{min-width:28px;height:26px;display:grid;place-items:center;border-radius:999px;color:#64748b;background:#f1f5f9;font-size:10px;font-weight:950}.inventory-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.category-empty-state{grid-column:1 / -1;min-height:180px;display:grid;place-items:center;align-content:center;gap:8px;border:1px dashed #cbd5e1;border-radius:8px;color:#64748b;background:#f8fafc;font-weight:900}.category-add-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:grid;place-items:center;padding:20px;background:#0f172a3d;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.category-add-modal{width:min(460px,calc(100vw - 32px));display:grid;gap:16px;padding:18px;border:1px solid #dce3eb;border-radius:12px;background:#fff;box-shadow:0 24px 70px #0f172a3d;animation:dashboard-pop-slide .16s ease-out}.category-add-modal-head{display:grid;grid-template-columns:44px minmax(0,1fr) 36px;gap:12px;align-items:center}.category-add-modal-head>span{width:44px;height:44px;display:grid;place-items:center;border-radius:12px;color:#fff;background:linear-gradient(135deg,#2563eb,#0f766e)}.category-add-modal-head h3,.category-add-modal-head p{margin:0}.category-add-modal-head h3{color:#172033;font-size:20px;line-height:1.12;font-weight:900}.category-add-modal-head p{margin-top:3px;color:#64748b;font-size:12px;font-weight:750}.category-add-modal-head button{width:36px;height:36px;display:grid;place-items:center;border:1px solid #dbe4ef;border-radius:10px;color:#64748b;background:#fff;cursor:pointer}.category-add-modal-field{display:grid;gap:7px;color:#64748b;font-weight:850}.category-add-modal-field input{width:100%;height:48px;padding:0 13px;border:1px solid #dbe4ef;border-radius:10px;outline:none;color:#172033;background:#fff;font-size:15px;font-weight:850}.category-add-modal-field input:focus{border-color:#60a5fa;box-shadow:0 0 0 4px #60a5fa2e}.category-design-field{display:grid;gap:8px}.category-design-field>span{color:#64748b;font-size:13px;font-weight:850}.category-icon-picker{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:9px;perspective:700px}.category-icon-picker button{position:relative;height:58px;display:grid;place-items:center;overflow:hidden;border:1px solid color-mix(in srgb,var(--icon-color) 22%,#dbe4ef);border-radius:15px;color:var(--icon-color);background:radial-gradient(circle at 24% 18%,color-mix(in srgb,var(--icon-accent) 82%,white),transparent 34%),linear-gradient(145deg,#fff,color-mix(in srgb,var(--icon-accent) 42%,#f8fafc) 52%,color-mix(in srgb,var(--icon-color) 18%,#e8eef6));box-shadow:inset 0 1px #fffffff2,inset 0 -10px 18px color-mix(in srgb,var(--icon-color) 12%,transparent),0 9px color-mix(in srgb,var(--icon-color) 18%,#cad5e3),0 16px 28px #0f172a1f;cursor:pointer;transform:translateY(0) rotateX(0);transition:transform .17s ease,border-color .17s ease,box-shadow .17s ease,color .17s ease}.category-icon-picker button:before{content:"";position:absolute;inset:6px 7px auto;height:18px;border-radius:999px;background:linear-gradient(180deg,#ffffffc7,#fff0);pointer-events:none}.category-icon-picker button svg{position:relative;z-index:1;width:28px;height:28px;filter:drop-shadow(0 4px 4px color-mix(in srgb,var(--icon-color) 28%,transparent))}.category-icon-picker button:hover,.category-icon-picker button.active{color:var(--icon-color);border-color:color-mix(in srgb,var(--icon-color) 52%,white);box-shadow:inset 0 1px #fffffffa,inset 0 -10px 18px color-mix(in srgb,var(--icon-color) 16%,transparent),0 11px color-mix(in srgb,var(--icon-color) 26%,#cad5e3),0 20px 34px color-mix(in srgb,var(--icon-color) 18%,rgba(15,23,42,.12));transform:translateY(-2px) rotateX(6deg)}.category-icon-picker button.active{outline:3px solid color-mix(in srgb,var(--icon-color) 25%,transparent);outline-offset:2px}.category-icon-picker button:active{transform:translateY(5px) rotateX(0);box-shadow:inset 0 1px #ffffffe6,inset 0 -6px 14px color-mix(in srgb,var(--icon-color) 14%,transparent),0 4px color-mix(in srgb,var(--icon-color) 22%,#cad5e3),0 10px 18px #0f172a1a}.category-color-picker{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:7px}.category-color-picker button{height:34px;border:2px solid #ffffff;border-radius:10px;background:radial-gradient(circle at 28% 28%,var(--swatch-accent),transparent 35%),linear-gradient(135deg,var(--swatch-color),color-mix(in srgb,var(--swatch-color) 58%,white));box-shadow:0 0 0 1px #dbe4ef,0 8px 18px #0f172a14;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}.category-color-picker button.active{box-shadow:0 0 0 3px #2563eb47,0 12px 24px #0f172a24}.category-color-picker button:active{transform:scale(.96)}.category-add-modal-actions{display:grid;grid-template-columns:1fr 1.3fr;gap:10px}.secondary-action-button,.confirm-action-button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:10px;font-weight:900;cursor:pointer}.secondary-action-button{border:1px solid #dbe4ef;color:#334155;background:#fff}.confirm-action-button{border:0;color:#fff;background:#0f766e;box-shadow:0 14px 28px #0f766e33}.inventory-card{position:relative;min-height:250px;display:grid;grid-template-rows:118px minmax(0,1fr) auto;gap:10px;padding:12px;border:1px solid #dce3eb;border-radius:8px;background:#fff;color:#172033;text-align:left;cursor:pointer;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.inventory-card:hover{transform:translateY(-2px);border-color:#93c5fd;box-shadow:0 16px 30px #2563eb1f}.inventory-card .product-visual{height:118px}.category-visual{position:relative;height:118px;display:grid;place-items:center;overflow:hidden;border-radius:8px;color:#fff;background:radial-gradient(circle at 20% 18%,color-mix(in srgb,var(--category-accent) 72%,white),transparent 26%),linear-gradient(135deg,color-mix(in srgb,var(--category-bg) 92%,black),color-mix(in srgb,var(--category-bg) 58%,white))}.category-add-modal>.category-visual{height:112px}.category-visual:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(rgba(255,255,255,.07) 1px,transparent 1px);background-size:34px 34px;opacity:.35}.category-visual-glow{position:absolute;width:112px;height:112px;border-radius:999px;background:color-mix(in srgb,var(--category-accent) 62%,transparent);filter:blur(26px);opacity:.55}.category-visual-icon{position:relative;z-index:1;width:72px;height:72px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.42);border-radius:18px;color:var(--category-icon-color, #0f172a);background:radial-gradient(circle at 28% 18%,color-mix(in srgb,var(--category-icon-accent, #ffffff) 84%,white),transparent 38%),linear-gradient(145deg,#fffffff0,color-mix(in srgb,var(--category-icon-accent, #ffffff) 42%,rgba(255,255,255,.7)));box-shadow:inset 0 1px #ffffffeb,inset 0 -12px 18px color-mix(in srgb,var(--category-icon-color, #0f172a) 12%,transparent),0 9px color-mix(in srgb,var(--category-icon-color, #0f172a) 24%,rgba(255,255,255,.5)),0 18px 34px #0f172a3d}.category-visual-icon:before{content:"";position:absolute;inset:8px 10px auto;height:20px;border-radius:999px;background:linear-gradient(180deg,#ffffffd1,#fff0);pointer-events:none}.category-visual-icon svg{position:relative;z-index:1;filter:drop-shadow(0 5px 4px color-mix(in srgb,var(--category-icon-color, #0f172a) 26%,transparent))}.inventory-card-actions{position:absolute;z-index:2;top:12px;right:12px;display:grid;justify-items:end}.inventory-card-action-trigger{width:26px;height:28px;display:grid;place-items:center;padding:0;border:0;border-radius:6px;color:#f8fafc;background:transparent;filter:drop-shadow(0 1px 2px rgba(15,23,42,.5))}.inventory-card-action-trigger:hover,.inventory-card-action-trigger.active{color:#fff;background:#0f172a29;filter:drop-shadow(0 1px 3px rgba(15,23,42,.58))}.inventory-card-action-menu{position:absolute;top:calc(100% + 7px);right:0;width:128px;display:grid;gap:4px;padding:6px;border:1px solid #dce3eb;border-radius:8px;background:#fff;box-shadow:0 14px 28px #0f172a29}.inventory-card-action-menu button{min-height:34px;display:flex;align-items:center;gap:8px;justify-content:flex-start;padding:0 9px;border:0;border-radius:7px;color:#334155;background:#fff;font-size:12px;font-weight:900}.inventory-card-action-menu button:hover{color:#1d4ed8;background:#eff6ff}.inventory-card-action-menu button.danger{color:#dc2626}.inventory-card-action-menu button.danger:hover{color:#fff;background:#dc2626}.inventory-card-body{display:grid;align-content:start;gap:6px}.inventory-card-body span{justify-self:start;padding:6px 9px;border-radius:8px;color:#0f766e;background:#edf7f4;font-size:12px;font-weight:800}.inventory-category-edit{justify-self:start;max-width:100%;display:grid;grid-template-columns:minmax(96px,1fr) 26px 26px;align-items:center;gap:4px;padding:4px;border-radius:8px;background:#edf7f4}.inventory-category-edit input{min-width:0;height:28px;padding:0 8px;border:1px solid rgba(15,118,110,.24);border-radius:6px;outline:none;color:#0f766e;background:#fff;font-size:12px;font-weight:900}.inventory-category-edit button{width:26px;height:26px;display:grid;place-items:center;padding:0;border:0;border-radius:6px;color:#0f766e;background:#ffffffb8}.inventory-category-edit button:last-child{color:#64748b}.inventory-category-edit button:hover{background:#fff}.inventory-card-body strong{font-size:24px;line-height:1.1}.inventory-card-body small{color:#64748b;line-height:1.45;font-size:12px}.inventory-card-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:10px;border-top:1px solid #e2e8f0}.inventory-card-footer em,.inventory-card-footer span{font-size:12px;font-style:normal;font-weight:800}.inventory-card-footer em{color:#047857}.inventory-card-footer em.warning{color:#b45309}.inventory-card-footer span{color:#1d4ed8}.brand-summary-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}.brand-summary-row div{min-height:66px;display:grid;gap:4px;align-content:center;padding:12px;border:1px solid #dce3eb;border-radius:8px;background:#f8fafc}.brand-summary-row span{color:#64748b;font-size:13px}.brand-summary-row strong{font-size:18px}.inventory-detail-page{width:100%;max-width:100%;min-width:0;overflow:hidden;gap:18px;padding:18px}.inventory-detail-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) max-content;gap:12px;align-items:center;min-width:0}.inventory-detail-title{display:flex;align-items:center;gap:12px;min-width:0}.inventory-detail-title h2,.inventory-detail-title p{margin:0}.inventory-detail-title h2{font-size:clamp(26px,2vw,36px);line-height:1.08}.inventory-detail-title p{margin-top:4px;color:#64748b;font-size:13px;font-weight:800}.inventory-back-button{width:42px;height:42px;display:grid;place-items:center;flex:0 0 auto;border:1px solid #dce3eb;border-radius:8px;color:#172033;background:#fff}.inventory-toolbar-actions{min-width:0;display:grid;grid-template-columns:minmax(210px,240px) repeat(4,max-content) max-content;gap:6px;align-items:center;justify-content:end}.inventory-import-input{display:none}.inventory-action-button,.inventory-filter-button,.inventory-view-toggle button{min-width:0;height:34px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 9px;border:1px solid #dce3eb;border-radius:10px;color:#172033;background:#fff;font-weight:900;white-space:nowrap}.inventory-action-button{width:max-content;min-width:0;padding:0 10px;border-radius:9px;color:#253247;background:linear-gradient(180deg,#fff,#f8fbff);box-shadow:inset 0 1px #ffffffe6,0 7px 16px #0f172a0b;font-size:12px;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease}.inventory-action-button:hover{border-color:#bfdbfe;background:linear-gradient(180deg,#fff,#eef6ff);box-shadow:inset 0 1px #fffffff2,0 10px 20px #0f172a14;transform:translateY(-1px)}.inventory-action-button svg{width:20px;height:20px;flex:0 0 20px;padding:3px;border-radius:6px;color:#64748b;background:#f1f5f9;stroke-width:2.35}.inventory-action-button span,.inventory-add-button span{line-height:1}.inventory-action-button.barcode svg{color:#2563eb;background:#eff6ff}.inventory-action-button.imei svg{color:#0f766e;background:#ecfdf5}.inventory-action-button.import svg{color:#7c3aed;background:#f5f3ff}.inventory-action-button.export svg{color:#ea580c;background:#fff7ed}.inventory-action-button.export .rotate-down{width:15px;height:15px;flex-basis:15px;padding:1px;margin-left:-2px;background:transparent}.inventory-toolbar-search{width:100%;height:34px;min-width:0;display:grid;grid-template-columns:28px minmax(0,1fr) 28px;align-items:center;gap:4px;padding:0 6px;border:1px solid #dce3eb;border-radius:9px;background:#fff;box-shadow:inset 0 1px #fffffff2,0 7px 16px #0f172a0b}.inventory-toolbar-search svg{justify-self:center;width:16px;height:16px;color:#64748b}.inventory-toolbar-search input{min-width:0;width:100%;height:100%;border:0;outline:none;color:#172033;background:transparent;font-size:12px;font-weight:850}.inventory-toolbar-search input::placeholder{color:#64748b;opacity:.78}.inventory-toolbar-search span{height:24px;display:grid;place-items:center;border-radius:999px;color:#64748b;background:#f1f5f9;font-size:9px;font-weight:950}.inventory-action-toast{position:fixed;top:50%;left:calc((var(--pos-page-x-padding, 0px) + var(--pos-sidebar-width, 0px) + var(--pos-page-grid-gap, 0px)) + ((100vw - var(--pos-page-x-padding, 0px) - var(--pos-sidebar-width, 0px) - var(--pos-page-grid-gap, 0px)) / 2));z-index:130;min-width:270px;max-width:min(420px,84vw);display:grid;justify-items:center;gap:10px;padding:22px 26px;border:1px solid rgba(191,219,254,.96);border-radius:14px;color:#172033;background:#fffffff7;box-shadow:0 24px 80px #0f172a38;transform:translate(-50%,-50%);animation:product-image-toast-in .22s ease-out both;pointer-events:none}.inventory-action-toast span{width:52px;height:52px;display:grid;place-items:center;border-radius:999px;color:#fff;background:linear-gradient(135deg,#2563eb,#1d4ed8);box-shadow:0 14px 30px #2563eb47}.inventory-action-toast strong{font-size:21px;line-height:1.2;font-weight:950;text-align:center}.inventory-filter-button{height:34px;gap:6px;padding:0 11px;font-size:12px;font-weight:900}.inventory-add-button{width:auto;min-width:110px;min-height:34px;gap:7px;padding:0 12px;border-radius:10px;background:linear-gradient(135deg,#2563eb,#1d4ed8);box-shadow:inset 0 1px #ffffff2e,0 12px 24px #1d4ed838;font-size:13px;font-weight:950;white-space:nowrap}.inventory-add-button svg{width:20px;height:20px;stroke-width:2.4}.imei-overview-overlay{position:fixed;inset:0 0 0 calc(var(--pos-page-x-padding, 0px) + var(--pos-sidebar-width, 0px) + var(--pos-page-grid-gap, 0px));z-index:78;padding:18px;background:#f8fafcf5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.barcode-print-overlay{position:fixed;inset:0 0 0 calc(var(--pos-page-x-padding, 0px) + var(--pos-sidebar-width, 0px) + var(--pos-page-grid-gap, 0px));z-index:79;padding:14px;background:radial-gradient(circle at 8% 0%,rgba(37,99,235,.08),transparent 30%),linear-gradient(180deg,#f8fafcfa,#f1f5f9f5);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.barcode-print-shell{height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:14px;padding:18px 20px;border:1px solid #dce3eb;border-radius:12px;background:#fff;box-shadow:0 26px 80px #0f172a26}.barcode-print-header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-bottom:4px}.barcode-print-header h2{margin:0;color:#172033;font-size:clamp(28px,2.4vw,40px);line-height:1.1;font-weight:950}.barcode-print-header>div:first-child span{display:block;margin-top:4px;color:#64748b;font-size:13px;font-weight:850}.barcode-print-header>div:last-child{display:flex;align-items:center;justify-content:end;gap:10px}.barcode-print-header>div:last-child .primary-button{min-height:46px;padding:0 20px;border-radius:10px;color:#fff;background:linear-gradient(135deg,#2563eb,#1d4ed8);box-shadow:0 14px 30px #1d4ed83d}.barcode-print-header>div:last-child .primary-button span{margin:0;color:#fff;font-size:14px;font-weight:950}.barcode-print-header>div:last-child>button:last-child{width:46px;height:46px;display:grid;place-items:center;padding:0;border:1px solid #dce3eb;border-radius:10px;color:#64748b;background:#fff;box-shadow:0 10px 24px #0f172a0f}.barcode-print-header>div:last-child>button:last-child:hover{color:#ef4444;border-color:#fecaca;background:#fff5f5}.barcode-print-content{min-height:0;display:grid;grid-template-columns:minmax(300px,360px) minmax(0,1fr);gap:14px}.barcode-product-picker,.barcode-preview-panel{min-height:0;display:grid;align-content:start;gap:12px;padding:14px;border:1px solid #e2e8f0;border-radius:10px;background:#fff}.barcode-product-picker{grid-template-rows:auto auto minmax(0,1fr);box-shadow:0 14px 34px #0f172a0d}.barcode-preview-panel{background:#fbfdff;grid-template-rows:auto auto auto minmax(0,1fr);align-content:stretch;box-shadow:inset 0 1px #fff,0 14px 34px #0f172a0d}.barcode-picker-heading,.barcode-sheet-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px}.barcode-picker-heading strong,.barcode-sheet-toolbar strong{display:block;color:#172033;font-size:15px;font-weight:950}.barcode-picker-heading span,.barcode-sheet-toolbar span{display:block;margin-top:2px;color:#64748b;font-size:11px;font-weight:850}.barcode-sheet-toolbar{padding:10px 2px 0}.barcode-sheet-toolbar b{display:inline-flex;align-items:center;min-height:30px;padding:0 12px;border-radius:999px;color:#1d4ed8;background:#dbeafe;font-size:12px;font-weight:950}.barcode-picker-search{height:48px;display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:8px;padding:0 10px;border:1px solid #dce3eb;border-radius:10px;background:#f8fafc}.barcode-picker-search svg{justify-self:center;color:#64748b}.barcode-picker-search input{width:100%;min-width:0;height:100%;border:0;outline:none;color:#172033;background:transparent;font-size:13px;font-weight:850}.barcode-picker-search span{min-width:34px;padding:3px 8px;border-radius:8px;color:#64748b;background:#eef2f7;font-size:12px;font-weight:950;text-align:center}.barcode-product-list{min-height:0;display:grid;align-content:start;gap:8px;overflow:auto;padding-right:2px}.barcode-product-list button{min-height:70px;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:9px;padding:9px;border:1px solid #e2e8f0;border-radius:10px;color:#172033;background:#fff;text-align:left;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease}.barcode-product-list button:hover{border-color:#bfdbfe;background:#f8fbff;transform:translateY(-1px)}.barcode-product-list button.active{border-color:#93c5fd;background:#eff6ff;box-shadow:0 0 0 3px #2563eb14}.barcode-product-list strong,.barcode-product-list small{display:block}.barcode-product-list strong{font-size:13px;font-weight:950;line-height:1.2}.barcode-product-list small{margin-top:3px;color:#64748b;font-size:11px;font-weight:900;font-variant-numeric:tabular-nums}.barcode-product-list b{color:#1d4ed8;font-size:11px;font-weight:950;white-space:nowrap}.barcode-picker-empty{min-height:140px;display:grid;place-items:center;color:#94a3b8;font-weight:900}.barcode-preview-product{display:grid;grid-template-columns:56px minmax(0,1fr);gap:12px;align-items:center;padding:12px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;box-shadow:0 8px 24px #0f172a0a}.barcode-preview-product strong,.barcode-preview-product span,.barcode-preview-product small{display:block}.barcode-preview-product strong{color:#172033;font-size:15px;font-weight:950}.barcode-preview-product span,.barcode-preview-product small{color:#64748b;font-size:12px;font-weight:850}.barcode-qty-row{display:grid;grid-template-columns:82px 96px;gap:8px;align-items:center;justify-content:start}.barcode-qty-row label{display:grid;align-content:center;height:50px;position:relative}.barcode-qty-row label span{position:absolute;top:-18px;left:0;color:#64748b;font-size:12px;font-weight:900}.barcode-qty-row input,.barcode-qty-row button{height:50px;border:1px solid #dce3eb;border-radius:10px;color:#172033;background:#fff;font-size:14px;font-weight:900}.barcode-qty-row input{padding:0 11px;font-size:14px;font-weight:950;text-align:center}.barcode-qty-row button{padding:0 10px;color:#1d4ed8;border-color:#bfdbfe;background:#eff6ff}.barcode-print-settings{display:grid;gap:10px;padding:12px;border:1px solid #dbeafe;border-radius:10px;background:linear-gradient(180deg,#f8fbff,#fff);box-shadow:0 8px 24px #0f172a0a}.barcode-settings-actions{display:grid;grid-template-columns:minmax(210px,1fr) auto auto auto auto;gap:10px;align-items:center}.barcode-current-template{display:grid;gap:3px;min-height:62px;align-content:center;padding:10px 13px;border:1px solid #dbeafe;border-radius:10px;background:#eff6ff}.barcode-current-template span,.barcode-current-template small{color:#64748b;font-size:11px;font-weight:850}.barcode-current-template strong{color:#1d4ed8;font-size:16px;font-weight:950;line-height:1.1}.barcode-template-options{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.barcode-template-options button{min-height:34px;padding:0 11px;border:1px solid #dce3eb;border-radius:8px;color:#334155;background:#fff;font-size:12px;font-weight:900}.barcode-template-options button.active{color:#1d4ed8;border-color:#93c5fd;background:#eff6ff}.barcode-template-options.designer{display:grid;grid-template-columns:repeat(auto-fit,minmax(118px,1fr));gap:8px}.barcode-template-options.designer button{min-height:54px;display:grid;align-content:center;justify-items:start;gap:3px;padding:8px 10px}.barcode-template-options.designer button span{color:inherit;font-size:13px;font-weight:950}.barcode-template-options.designer button small{color:#64748b;font-size:10px;font-weight:850}.barcode-template-options.designer button.active small{color:#1d4ed8}.barcode-print-settings .ghost-button.active{color:#1d4ed8;border-color:#93c5fd;background:#eff6ff}.barcode-designer-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:120;display:grid;place-items:center;padding:22px;background:#0f172a5c;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.barcode-designer-modal{width:min(1120px,calc(100vw - 44px));max-height:min(780px,calc(100vh - 44px));display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;border:1px solid #dbeafe;border-radius:12px;background:#fff;box-shadow:0 30px 90px #0f172a47;animation:barcode-designer-pop .18s ease-out both}@keyframes barcode-designer-pop{0%{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}.barcode-designer-modal-header{display:flex;align-items:start;justify-content:space-between;gap:14px;padding:18px 18px 14px;border-bottom:1px solid #e2e8f0;background:linear-gradient(180deg,#f8fbff,#fff)}.barcode-designer-modal-header h3{margin:0;color:#172033;font-size:24px;line-height:1.1;font-weight:950}.barcode-designer-modal-header span{display:block;margin-top:5px;color:#64748b;font-size:12px;font-weight:850}.barcode-designer-modal-header>button{width:38px;height:38px;display:grid;place-items:center;padding:0;border:1px solid #dce3eb;border-radius:8px;color:#64748b;background:#fff}.barcode-designer-modal-body{min-height:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.42fr);gap:14px;overflow:auto;padding:16px 18px 18px;background:#f8fafc}.barcode-designer-controls{min-width:0;display:grid;gap:10px}.barcode-designer-controls section{min-width:0;display:grid;align-content:start;gap:9px;padding:14px;border:1px solid #dbeafe;border-radius:8px;background:#fff;box-shadow:0 10px 22px #0f172a0a}.barcode-designer-controls header{display:grid;gap:2px}.barcode-designer-controls header strong{color:#172033;font-size:13px;font-weight:950}.barcode-designer-controls header small{color:#64748b;font-size:11px;font-weight:850}.barcode-field-toggles{display:flex;flex-wrap:wrap;gap:7px}.barcode-field-toggles label{min-height:32px;display:inline-flex;align-items:center;gap:7px;padding:0 10px;border:1px solid #dce3eb;border-radius:999px;color:#64748b;background:#f8fafc;font-size:12px;font-weight:900}.barcode-field-toggles label.active{color:#1d4ed8;border-color:#93c5fd;background:#eff6ff}.barcode-field-toggles input{width:14px;height:14px;accent-color:#1d4ed8}.barcode-designer-inputs,.barcode-designer-number-grid{display:grid;gap:8px}.barcode-designer-number-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.barcode-designer-inputs label,.barcode-designer-number-grid label{min-width:0;display:grid;gap:5px}.barcode-designer-inputs span,.barcode-designer-number-grid span{color:#64748b;font-size:11px;font-weight:900}.barcode-designer-inputs input,.barcode-designer-number-grid input{width:100%;min-width:0;height:36px;padding:0 10px;border:1px solid #dce3eb;border-radius:8px;color:#172033;background:#fff;font-size:12px;font-weight:900}.barcode-designer-number-grid input:disabled{color:#94a3b8;background:#f1f5f9;cursor:not-allowed}.barcode-live-preview-card{position:sticky;top:0;min-width:0;display:grid;gap:10px;align-self:start;padding:14px;border:1px solid #dbeafe;border-radius:10px;background:#fff;box-shadow:0 18px 44px #0f172a14}.barcode-live-preview-card>div:first-child{display:grid;gap:3px}.barcode-live-preview-card strong{color:#172033;font-size:15px;font-weight:950}.barcode-live-preview-card span{color:#64748b;font-size:11px;font-weight:850}.barcode-live-preview-stage{min-height:260px;display:grid;place-items:center;padding:18px;border:1px solid #e2e8f0;border-radius:10px;background:linear-gradient(90deg,rgba(226,232,240,.5) 1px,transparent 1px),linear-gradient(rgba(226,232,240,.5) 1px,transparent 1px),#f8fafc;background-size:18px 18px}.barcode-live-preview-stage.paper{height:260px;min-height:260px;overflow:hidden;padding:18px}.barcode-paper-mini-preview{height:100%;width:min(100%,520px);display:grid;grid-template-rows:minmax(0,1fr) auto;gap:8px;justify-items:center}.barcode-paper-mini-sheet{height:100%;width:100%;min-height:0;display:grid;grid-template-columns:repeat(var(--paper-preview-columns, 4),minmax(0,1fr));align-content:start;gap:7px;padding:12px;border:1px solid #dbeafe;border-radius:10px;background:linear-gradient(90deg,rgba(148,163,184,.12) 1px,transparent 1px),linear-gradient(rgba(148,163,184,.12) 1px,transparent 1px),#fff;background-size:14px 14px;box-shadow:inset 0 0 0 1px #fffc}.barcode-paper-mini-label{aspect-ratio:var(--paper-preview-label-ratio, 2 / 1);min-height:28px;display:grid;align-content:center;justify-items:center;gap:2px;padding:5px;border:1px solid #bfdbfe;border-radius:6px;background:#fffffff5;box-shadow:0 5px 12px #0f172a0f}.barcode-paper-mini-label strong{width:72%;height:5px;overflow:hidden;border-radius:999px;color:transparent;background:#172033}.barcode-paper-mini-label span{width:78%;height:12px;border-radius:2px;background:repeating-linear-gradient(90deg,#172033 0 2px,transparent 2px 4px,#172033 4px 5px,transparent 5px 8px)}.barcode-paper-mini-label small{width:48%;height:4px;overflow:hidden;border-radius:999px;color:transparent;background:#64748b}.barcode-paper-mini-preview>small{color:#64748b;font-size:10px;font-weight:850}.barcode-print-toggle{height:50px;display:inline-flex;align-items:center;gap:8px;padding:0 14px;border:1px solid #dce3eb;border-radius:10px;color:#334155;background:#fff;font-size:12px;font-weight:900;white-space:nowrap}.barcode-print-toggle input{width:16px;height:16px;accent-color:#1d4ed8}.barcode-settings-actions .ghost-button{min-height:50px;border-radius:10px;padding:0 14px;box-shadow:0 8px 18px #0f172a0a}.barcode-history-panel{display:grid;gap:8px;padding:10px;border:1px solid #dbeafe;border-radius:8px;background:#eff6ff}.barcode-history-panel header{display:flex;align-items:center;justify-content:space-between;gap:8px}.barcode-history-panel strong{color:#172033;font-size:13px;font-weight:950}.barcode-history-panel small,.barcode-history-panel span,.barcode-history-panel p{color:#64748b;font-size:11px;font-weight:850}.barcode-history-panel>div{max-height:176px;display:grid;gap:6px;overflow:auto}.barcode-history-panel article{display:grid;grid-template-columns:118px minmax(0,1fr) minmax(92px,auto) auto;align-items:center;gap:8px;padding:7px 8px;border-radius:7px;background:#fff}.barcode-history-panel article strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.barcode-history-panel article b{min-height:24px;display:inline-flex;align-items:center;justify-content:center;padding:0 8px;border-radius:999px;color:#1d4ed8;background:#dbeafe;font-size:10px;font-weight:950;white-space:nowrap}.barcode-label-grid{min-height:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:max(10px,var(--barcode-label-gap, 3mm));overflow:auto;align-content:start;padding:16px;border:1px solid #e2e8f0;border-radius:12px;background:linear-gradient(90deg,rgba(226,232,240,.45) 1px,transparent 1px),linear-gradient(rgba(226,232,240,.45) 1px,transparent 1px),#fff;background-size:22px 22px;box-shadow:inset 0 0 0 1px #ffffffb3}.barcode-label{width:min(100%,var(--barcode-label-width, 58mm));min-height:var(--barcode-label-height, 30mm);display:grid;align-content:center;justify-items:center;gap:3px;padding:9px;border:1px dashed #cbd5e1;border-radius:8px;background:#fff;text-align:center;box-shadow:0 10px 24px #0f172a0d}.barcode-label.preview{width:min(100%,calc(var(--barcode-label-width, 58mm) * 1.8));min-height:calc(var(--barcode-label-height, 30mm) * 1.8);padding:14px;border-style:solid;border-color:#93c5fd;box-shadow:0 18px 36px #0f172a24}.barcode-label.preview svg{height:var(--barcode-preview-height, 44px)}.barcode-label strong{max-width:100%;overflow:hidden;color:#172033;font-size:11px;font-weight:950;text-overflow:ellipsis;white-space:nowrap}.barcode-label em,.barcode-label b,.barcode-label i{max-width:100%;overflow:hidden;color:#64748b;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.barcode-label em{color:#1d4ed8;font-size:10px;font-weight:950}.barcode-label b,.barcode-label i{font-size:9px;font-weight:850}.barcode-label span{color:#1d4ed8;font-size:12px;font-weight:950}.barcode-label svg{width:100%;height:var(--barcode-preview-height, 36px)}.barcode-label small{color:#334155;font-size:10px;font-weight:900;font-variant-numeric:tabular-nums;letter-spacing:0}.barcode-label .barcode-height-note{color:#94a3b8;font-size:8px;font-weight:850}.imei-overview-shell{height:100%;min-height:0;display:grid;grid-template-rows:auto auto auto minmax(0,1fr);gap:12px;padding:18px;border:1px solid #dce3eb;border-radius:8px;background:#fff;box-shadow:0 24px 70px #0f172a29}.imei-overview-header{min-width:0;display:flex;align-items:start;justify-content:space-between;gap:16px}.imei-overview-header h2,.imei-overview-header span{margin:0}.imei-overview-header h2{color:#172033;font-size:clamp(26px,2vw,34px);line-height:1.1;font-weight:950}.imei-overview-header span{display:block;margin-top:4px;color:#64748b;font-size:13px;font-weight:850}.imei-overview-header>button{width:42px;height:42px;display:grid;place-items:center;padding:0;border:1px solid #dce3eb;border-radius:8px;color:#64748b;background:#fff}.imei-overview-stats{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:10px}.imei-overview-stats article{min-height:82px;display:grid;align-content:center;gap:3px;padding:12px 14px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc}.imei-overview-stats article.warning{border-color:#fed7aa;background:#fff7ed}.imei-overview-stats span,.imei-overview-stats small{color:#64748b;font-size:12px;font-weight:850}.imei-overview-stats strong{color:#172033;font-size:27px;line-height:1;font-weight:950}.imei-overview-tools{display:grid;grid-template-columns:minmax(280px,1fr) repeat(3,minmax(140px,auto)) auto;gap:10px;align-items:center}.imei-overview-search{height:44px;min-width:0;display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:6px;padding:0 10px;border:1px solid #dce3eb;border-radius:8px;background:#fff}.imei-overview-search svg{color:#64748b}.imei-overview-search input{min-width:0;height:44px;color:#172033;font-size:13px;font-weight:850;height:100%;border:0;outline:none;background:transparent}.imei-overview-tools>button{height:44px;padding:0 13px;border:1px solid #dce3eb;border-radius:8px;color:#334155;background:#fff;font-weight:900;white-space:nowrap}.imei-filter-dropdown{position:relative;min-width:150px}.imei-filter-dropdown>button{width:100%;height:44px;display:inline-flex;align-items:center;justify-content:space-between;gap:10px;padding:0 12px;border:1px solid #dce3eb;border-radius:8px;color:#172033;background:#fff;font-size:13px;font-weight:950;white-space:nowrap}.imei-filter-dropdown>button.active{border-color:#93c5fd;color:#1d4ed8;background:#eff6ff;box-shadow:0 0 0 3px #2563eb14}.imei-filter-dropdown>button span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.imei-filter-menu{position:absolute;z-index:12;top:calc(100% + 8px);left:0;width:max(100%,190px);max-height:260px;display:grid;gap:4px;padding:8px;overflow:auto;border:1px solid #dce3eb;border-radius:8px;background:#fff;box-shadow:0 18px 42px #0f172a29}.imei-filter-menu:before{content:"";position:absolute;top:-6px;left:24px;width:10px;height:10px;transform:rotate(45deg);border-top:1px solid #dce3eb;border-left:1px solid #dce3eb;background:#fff}.imei-filter-menu small{padding:4px 9px 3px;color:#94a3b8;font-size:10px;font-weight:950}.imei-filter-menu button{min-height:36px;display:grid;grid-template-columns:minmax(0,1fr) 18px;align-items:center;gap:10px;padding:0 9px;border:0;border-radius:7px;color:#334155;background:transparent;font-size:13px;font-weight:900;text-align:left}.imei-filter-menu button:hover,.imei-filter-menu button.active{color:#1d4ed8;background:#eff6ff}.imei-filter-menu button svg{justify-self:end}.imei-overview-table-wrap{min-height:0;overflow:auto;border:1px solid #dce3eb;border-radius:8px}.imei-overview-table{min-width:1120px}.imei-overview-table th{position:sticky;top:0;z-index:1;background:#f8fafc}.imei-overview-table td strong,.imei-overview-table td span{display:block}.imei-overview-table td strong{color:#172033;font-size:13px;font-weight:950}.imei-overview-table td span{margin-top:2px;color:#64748b;font-size:12px;font-weight:800}.imei-overview-code{color:#1d4ed8;font-weight:950;font-variant-numeric:tabular-nums}.imei-status-pill{display:inline-flex;min-height:26px;align-items:center;padding:0 9px;border-radius:7px;font-size:12px;font-weight:900;white-space:nowrap}.imei-status-pill.ready{color:#047857;background:#d1fae5}.imei-status-pill.sold{color:#1d4ed8;background:#dbeafe}.imei-overview-empty{min-height:220px;display:grid;place-items:center;align-content:center;gap:8px;color:#94a3b8;font-size:14px;font-weight:900}.rotate-down{transform:rotate(-90deg)}.inventory-stat-grid{min-width:0;display:grid;grid-template-columns:repeat(4,minmax(136px,1fr));gap:10px}.inventory-stat-grid article{position:relative;min-width:0;min-height:96px;display:grid;grid-template-columns:60px minmax(0,1fr);align-items:center;gap:10px;padding:12px;border:1px solid var(--stat-border, #e2e8f0);border-radius:8px;background:radial-gradient(circle at 92% 0%,var(--stat-glow, rgba(226, 232, 240, .45)),transparent 36%),linear-gradient(135deg,var(--stat-bg-start, #ffffff),var(--stat-bg-end, #f8fafc));box-shadow:inset 0 1px #ffffffd1,0 12px 28px #0f172a0f;overflow:hidden;transition:transform .17s ease,border-color .17s ease,box-shadow .17s ease}.inventory-stat-grid article:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(180deg,var(--stat-accent, #2563eb),transparent 88%)}.inventory-stat-grid article:hover{transform:translateY(-2px);border-color:var(--stat-border-hover, #cbd5e1);box-shadow:inset 0 1px #ffffffe6,0 18px 34px #0f172a1a}.inventory-stat-card.products{--stat-bg-start: #f4fbff;--stat-bg-end: #eefdf8;--stat-glow: rgba(14, 165, 233, .18);--stat-border: #cfe6f3;--stat-border-hover: #7dd3fc;--stat-accent: #0ea5e9}.inventory-stat-card.value{--stat-bg-start: #fbf7ff;--stat-bg-end: #f5f3ff;--stat-glow: rgba(124, 58, 237, .16);--stat-border: #ddd6fe;--stat-border-hover: #a78bfa;--stat-accent: #7c3aed}.inventory-stat-card.low{--stat-bg-start: #fffaf1;--stat-bg-end: #fff7ed;--stat-glow: rgba(245, 158, 11, .18);--stat-border: #fed7aa;--stat-border-hover: #fdba74;--stat-accent: #f59e0b}.inventory-stat-card.empty{--stat-bg-start: #fff7f8;--stat-bg-end: #fff1f2;--stat-glow: rgba(225, 29, 72, .15);--stat-border: #fecdd3;--stat-border-hover: #fb7185;--stat-accent: #e11d48}.inventory-stat-grid article>*{position:relative;z-index:1}.inventory-stat-photo{position:relative;width:58px;height:58px;display:block;overflow:hidden;border-radius:8px;background:radial-gradient(circle at 24% 22%,rgba(255,255,255,.86),transparent 26%),linear-gradient(145deg,#f8fafc,#cbd5e1);box-shadow:inset 0 1px #ffffffd9,inset 0 -18px 28px #0f172a21,0 12px 22px #0f172a1f}.inventory-stat-photo:after{content:"";position:absolute;inset:auto 9px 7px;height:8px;border-radius:999px;background:#0f172a24;filter:blur(6px)}.inventory-stat-photo.products{background:radial-gradient(circle at 20% 18%,rgba(186,230,253,.95),transparent 24%),linear-gradient(145deg,#f8fafc,#cbd5e1 62%,#94a3b8)}.photo-shelf{position:absolute;left:11px;right:9px;bottom:12px;height:10px;border-radius:4px;background:linear-gradient(180deg,#fff,#94a3b8);box-shadow:0 8px 14px #0f172a33}.photo-shelf:before,.photo-shelf:after{content:"";position:absolute;top:-20px;width:5px;height:26px;border-radius:999px;background:linear-gradient(180deg,#cbd5e1,#64748b)}.photo-shelf:before{left:4px}.photo-shelf:after{right:4px}.photo-phone{position:absolute;bottom:21px;width:15px;height:31px;border-radius:5px;background:linear-gradient(165deg,#0f172a 0,#0f172a 45%,#334155);box-shadow:inset 0 0 0 2px #ffffff14,0 8px 12px #0f172a38}.photo-phone:before{content:"";position:absolute;left:5px;right:5px;top:4px;height:2px;border-radius:999px;background:#ffffff47}.photo-phone.one{left:19px;transform:rotate(-7deg)}.photo-phone.two{left:33px;height:37px;bottom:19px;background:linear-gradient(160deg,#1e3a8a 0,#1e3a8a 42%,#0f172a)}.photo-phone.three{right:11px;transform:rotate(8deg);background:linear-gradient(160deg,#0369a1 0,#0369a1 45%,#0f172a)}.inventory-stat-photo.value{background:radial-gradient(circle at 20% 18%,rgba(221,214,254,.92),transparent 24%),linear-gradient(145deg,#faf5ff,#a78bfa 60%,#6d28d9)}.photo-warehouse{position:absolute;left:13px;bottom:16px;width:36px;height:30px;border-radius:5px;background:linear-gradient(90deg,rgba(255,255,255,.28),transparent 28%),linear-gradient(145deg,#ddd6fe,#7c3aed);box-shadow:0 9px 14px #4c1d9540}.photo-warehouse:before{content:"";position:absolute;left:7px;right:7px;top:-12px;height:16px;border-radius:4px 4px 2px 2px;background:linear-gradient(145deg,#f5f3ff,#a78bfa);transform:perspective(60px) rotateX(48deg);transform-origin:bottom}.photo-warehouse:after{content:"";position:absolute;left:13px;bottom:0;width:10px;height:16px;border-radius:3px 3px 0 0;background:#4c1d95}.photo-cash-stack{position:absolute;right:8px;bottom:17px;width:25px;height:18px;border-radius:5px;background:radial-gradient(circle at 50% 50%,#86efac 0 4px,transparent 5px),linear-gradient(180deg,#dcfce7,#22c55e);box-shadow:0 8px 12px #15803d38}.photo-cash-stack:before{content:"";position:absolute;inset:-5px 3px auto -3px;height:18px;border-radius:5px;background:radial-gradient(circle at 50% 50%,#bbf7d0 0 4px,transparent 5px),linear-gradient(180deg,#f0fdf4,#4ade80)}.photo-coin{position:absolute;width:17px;height:17px;border-radius:50%;background:radial-gradient(circle at 35% 28%,#fff7ed 0,#fff7ed 24%,#fbbf24 25%,#fbbf24 68%,#b45309 69%);box-shadow:0 7px 10px #92400e40}.photo-coin.one{right:16px;top:12px}.inventory-stat-photo.low{background:radial-gradient(circle at 20% 18%,rgba(254,240,138,.92),transparent 25%),linear-gradient(145deg,#fff7ed,#fbbf24 56%,#ea580c)}.photo-low-shelf{position:absolute;left:10px;right:10px;bottom:17px;height:9px;border-radius:4px;background:linear-gradient(180deg,#ffedd5,#c2410c);box-shadow:0 8px 12px #9a341233}.photo-low-item{position:absolute;bottom:26px;width:17px;height:20px;border-radius:5px;background:linear-gradient(145deg,#fef3c7,#f97316);box-shadow:0 7px 10px #9a341233}.photo-low-item:before{content:"";position:absolute;left:4px;right:4px;top:4px;height:3px;border-radius:999px;background:#7c2d1252}.photo-low-item.one{left:16px}.photo-low-item.two{left:36px;height:14px}.photo-warning{position:absolute;right:10px;top:10px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 7px 12px #92400e3d}.photo-warning:before{content:"!";position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;color:#f97316;font-size:15px;font-weight:950}.inventory-stat-photo.empty{background:radial-gradient(circle at 20% 18%,rgba(254,205,211,.9),transparent 24%),linear-gradient(145deg,#fff1f2,#fb7185 58%,#be123c)}.photo-empty-shelf{position:absolute;left:12px;right:11px;bottom:18px;height:10px;border-radius:4px;background:linear-gradient(180deg,#ffe4e6,#9f1239);box-shadow:0 8px 13px #88133738}.photo-empty-shelf:before,.photo-empty-shelf:after{content:"";position:absolute;top:-26px;width:5px;height:32px;border-radius:999px;background:linear-gradient(180deg,#fecdd3,#be123c)}.photo-empty-shelf:before{left:3px}.photo-empty-shelf:after{right:3px}.photo-empty-mark{position:absolute;right:6px;top:6px;z-index:1;width:19px;height:19px;border-radius:50%;background:#fff;box-shadow:0 7px 12px #8813373d}.photo-empty-mark:before,.photo-empty-mark:after{content:"";position:absolute;left:6px;top:10px;width:10px;height:2px;border-radius:999px;background:#e11d48}.photo-empty-mark:before{transform:rotate(45deg)}.photo-empty-mark:after{transform:rotate(-45deg)}.inventory-stat-grid span,.inventory-stat-grid small{color:#64748b;font-weight:800}.inventory-stat-grid strong{display:block;margin-top:3px;color:#172033;font-size:clamp(22px,2.1vw,27px);line-height:1.05;font-variant-numeric:tabular-nums}.inventory-stat-grid small{display:block;margin-top:3px;font-size:12px}.brand-management-panel{position:relative;min-width:0;max-width:100%;overflow:visible;display:grid;grid-template-columns:minmax(0,1fr);align-items:center;padding:7px 9px;border:1px solid #e2e8f0;border-radius:8px;background:linear-gradient(180deg,#f8fafce6,#fffffff5),#fff}.brand-panel-title{min-width:0;display:grid;align-items:center}.brand-panel-title span{color:#172033;font-size:13px;font-weight:950}.inventory-brand-tabs{min-width:0;display:flex;align-items:center;gap:7px;overflow:visible;padding-bottom:0;scrollbar-width:thin}.brand-chip{position:relative;width:auto;flex:0 0 auto;min-height:34px;display:inline-grid;grid-template-columns:minmax(0,auto) auto;align-items:center;border:1px solid #dce3eb;border-radius:8px;background:#fff;overflow:hidden;transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease;-webkit-user-select:none;user-select:none}.brand-chip[draggable=true]{cursor:grab}.brand-chip[draggable=true]:active{cursor:grabbing}.brand-chip.dragging,.brand-overflow-popover button.dragging{border-color:#2563eb;opacity:.62;box-shadow:0 8px 20px #2563eb29}.brand-chip.active{border-color:#93c5fd;background:#eff6ff;box-shadow:inset 0 0 0 1px #2563eb2e}.brand-chip:hover{transform:translateY(-1px);border-color:#c5d4e4;box-shadow:0 8px 18px #0f172a14}.brand-chip-main{width:auto;min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 11px;border:0;color:#273348;background:transparent;font-size:13px;font-weight:950;white-space:nowrap;cursor:pointer}.brand-chip-main span{min-width:0;overflow:hidden;text-overflow:ellipsis}.brand-chip.active .brand-chip-main{color:#1d4ed8}.inventory-brand-tabs>.brand-chip:first-child{border-color:#bfdbfe;background:#f8fbff}.inventory-brand-tabs>.brand-chip:first-child .brand-chip-main{padding-inline:12px;color:#1e40af}.inventory-brand-tabs>.brand-chip:first-child.active{border-color:#60a5fa;background:#eaf3ff;box-shadow:inset 0 0 0 1px #2563eb33}.brand-chip-main b{min-width:22px;height:22px;display:inline-grid;place-items:center;padding:0 6px;border-radius:999px;color:#64748b;background:#f1f5f9;font-size:11px;font-weight:950}.brand-chip.active .brand-chip-main b{color:#1d4ed8;background:#dbeafe}.brand-overflow-chip{overflow:visible;z-index:8}.brand-overflow-popover{position:absolute;z-index:50;top:calc(100% + 6px);left:50%;width:190px;max-height:210px;transform:translate(-50%);display:grid;gap:4px;padding:6px;border:1px solid #dce3eb;border-radius:8px;background:#fff;box-shadow:0 12px 26px #0f172a1f;overflow-x:hidden;overflow-y:auto;scrollbar-width:thin}.brand-overflow-popover:before{content:"";position:absolute;left:50%;top:-5px;width:9px;height:9px;transform:rotate(45deg);border-left:1px solid #dce3eb;border-top:1px solid #dce3eb;background:#fff}.brand-overflow-popover button{min-height:32px;display:inline-flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:0 8px;border:0;border-radius:7px;color:#273348;background:#fff;font-size:12px;font-weight:850;text-align:left;cursor:pointer;-webkit-user-select:none;user-select:none}.brand-overflow-popover button[draggable=true]{cursor:grab}.brand-overflow-popover button[draggable=true]:active{cursor:grabbing}.brand-overflow-popover button:hover,.brand-overflow-popover button.active{color:#1d4ed8;background:#eff6ff}.brand-overflow-popover b{min-width:22px;padding:1px 6px;border-radius:999px;color:#64748b;background:#f1f5f9;font-size:11px;text-align:center}.brand-overflow-popover button>span:first-child{min-width:0;display:inline-flex;align-items:center;gap:7px}.brand-overflow-popover button>span:first-child>span{min-width:0;overflow:hidden;text-overflow:ellipsis}.brand-logo-mark{width:22px;height:22px;flex:0 0 22px;display:inline-grid;place-items:center;border:1px solid rgba(148,163,184,.28);border-radius:7px;color:#334155;background:linear-gradient(145deg,#fffffff0,#e2e8f0d1),#f8fafc;box-shadow:inset 0 1px #ffffffeb,0 5px 10px #0f172a14;font-size:9px;font-style:normal;font-weight:950;letter-spacing:0;line-height:1}.brand-logo-all,.brand-logo-more{color:#2563eb;background:linear-gradient(145deg,#eff6ff,#dbeafe),#eff6ff}.brand-logo-apple{color:#111827;background:linear-gradient(145deg,#fff,#d1d5db),#f3f4f6;font-size:15px}.brand-logo-samsung{color:#fff;background:linear-gradient(145deg,#1d4ed8,#0f172a),#1d4ed8;font-size:10px}.brand-logo-google{color:#fff;background:conic-gradient(from 30deg,#4285f4,#34a853,#fbbc05,#ea4335,#4285f4);font-size:12px}.brand-logo-oppo{color:#fff;background:linear-gradient(145deg,#16a34a,#047857),#047857}.brand-logo-vivo{color:#fff;background:linear-gradient(145deg,#2563eb,#4338ca),#2563eb;font-size:13px}.brand-logo-xiaomi{color:#fff;background:linear-gradient(145deg,#fb923c,#ea580c),#ea580c}.brand-logo-honor{color:#fff;background:linear-gradient(145deg,#64748b,#111827),#334155}.brand-logo-realme{color:#172033;background:linear-gradient(145deg,#fde047,#facc15),#facc15;font-size:13px}.brand-logo-infinix{color:#064e3b;background:linear-gradient(145deg,#86efac,#22c55e),#86efac}.brand-logo-nokia{color:#fff;background:linear-gradient(145deg,#0ea5e9,#1d4ed8),#1d4ed8}.brand-chip-actions{height:100%;display:inline-flex;align-items:center;gap:2px;padding:0 7px 0 0}.brand-chip-actions button,.brand-inline-edit button{width:27px;height:27px;display:grid;place-items:center;padding:0;border:0;border-radius:7px;color:#64748b;background:transparent}.brand-chip-actions button:hover,.brand-inline-edit button:hover{color:#1d4ed8;background:#dbeafe}.brand-chip-actions button:last-child:hover{color:#dc2626;background:#fee2e2}.brand-chip-actions button.disabled{cursor:not-allowed;opacity:.38}.brand-chip-actions button.disabled:hover{color:#64748b;background:transparent}.brand-inline-edit{min-height:42px;display:grid;grid-template-columns:minmax(96px,1fr) 27px 27px;align-items:center;gap:4px;padding:4px}.brand-inline-edit input{height:32px;min-width:0;border:1px solid #dce3eb;border-radius:7px;outline:none;color:#172033;background:#fff;font-size:13px;font-weight:850}.brand-inline-edit input{width:116px;padding:0 9px}.brand-panel-actions{display:flex;align-items:center;justify-content:end}.brand-manage-button{width:42px;height:42px;display:grid;place-items:center;padding:0;border:1px solid #dce3eb;border-radius:8px;color:#334155;background:#fff}.brand-manage-button.active{color:#1d4ed8;border-color:#93c5fd;background:#eff6ff}.inventory-status-tabs{min-width:0;display:flex;align-items:center;gap:8px;overflow-x:auto;scrollbar-width:thin}.inventory-status-tabs button{flex:0 0 auto;min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 13px;border:1px solid #dce3eb;border-radius:8px;color:#273348;background:#fff;font-size:12px;font-weight:900;white-space:nowrap}.inventory-status-tabs button.active,.inventory-view-toggle button.active{color:#1d4ed8;border-color:#93c5fd;background:#eff6ff}.inventory-filter-row{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:9px;align-items:center}.inventory-filter-menu-wrap{position:relative;width:max-content}.inventory-filter-button.active{color:#1d4ed8;border-color:#93c5fd;background:linear-gradient(180deg,#f8fbff,#eaf3ff)}.inventory-filter-button b{min-width:19px;padding:1px 6px;border-radius:999px;color:#1d4ed8;background:#dbeafe;font-size:11px;font-weight:950}.inventory-filter-menu{position:absolute;z-index:25;top:calc(100% + 7px);left:0;width:318px;display:grid;gap:10px;padding:10px;border:1px solid #dce3eb;border-radius:8px;background:#fff;box-shadow:0 14px 30px #0f172a21}.filter-menu-section,.filter-menu-select{display:grid;gap:7px}.filter-menu-section>span,.filter-menu-select>span{color:#64748b;font-size:12px;font-weight:900}.filter-price-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.filter-price-grid button{height:32px;padding:0 8px;border:1px solid #dce3eb;border-radius:8px;color:#334155;background:#fff;font-size:12px;font-weight:900;white-space:nowrap}.filter-price-grid button.active{color:#1d4ed8;border-color:#93c5fd;background:#eff6ff}.filter-menu-select select{height:34px;width:100%;padding:0 10px;border:1px solid #dce3eb;border-radius:8px;outline:none;color:#172033;background:#fff;font-size:12px;font-weight:900}.filter-menu-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:2px}.filter-menu-footer span{color:#64748b;font-size:12px;font-weight:900}.filter-menu-footer button{height:30px;padding:0 12px;border:0;border-radius:8px;color:#dc2626;background:#fee2e2;font-size:12px;font-weight:900}.inventory-status-tabs button{min-height:30px;padding:0 11px;color:#64748b}.inventory-sort-tools{min-width:0;display:flex;align-items:center;justify-content:end;gap:10px}.inventory-view-toggle{height:30px;display:inline-grid;grid-template-columns:30px 30px;overflow:hidden;border:1px solid #dce3eb;border-radius:8px;background:#fff;box-shadow:inset 0 1px #fffffff2,0 6px 13px #0f172a0f}.inventory-view-toggle button{width:30px;height:30px;padding:0;border:0;border-radius:0;font-size:12px;line-height:1}.inventory-filter-row .inventory-filter-button,.inventory-filter-row .inventory-status-tabs button,.inventory-filter-row .inventory-view-toggle,.inventory-filter-row .inventory-view-toggle button{height:30px;min-height:30px}.inventory-filter-row .inventory-filter-button,.inventory-filter-row .inventory-status-tabs button{border-radius:8px;background:linear-gradient(180deg,#fff,#f8fafc);box-shadow:inset 0 1px #fffffff5,0 6px 13px #0f172a0e;font-size:11px;line-height:1;transition:transform .15s ease,border-color .15s ease,background .15s ease,box-shadow .15s ease,color .15s ease}.inventory-filter-row .inventory-filter-button{gap:5px;padding:0 10px}.inventory-filter-row .inventory-status-tabs{gap:6px}.inventory-filter-row .inventory-filter-button:hover,.inventory-filter-row .inventory-status-tabs button:hover{transform:translateY(-1px);border-color:#bfdbfe;color:#1d4ed8;background:linear-gradient(180deg,#fff,#eef6ff);box-shadow:inset 0 1px #fffffffa,0 9px 17px #2563eb1a}.inventory-filter-row .inventory-status-tabs button.active,.inventory-filter-row .inventory-view-toggle button.active{color:#1d4ed8;border-color:#93c5fd;background:linear-gradient(180deg,#f8fbff,#e8f2ff);box-shadow:inset 0 0 0 1px #2563eb21,inset 0 1px #ffffffe6}.inventory-filter-row .inventory-view-toggle svg{width:15px;height:15px}.inventory-table-wrap{width:100%;max-width:100%;min-height:0;max-height:342px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;overflow:auto;overscroll-behavior:contain;scroll-behavior:smooth;scrollbar-width:thin}.inventory-table-wrap.menu-open{min-height:220px}.inventory-table{width:max(100%,1040px);min-width:0;table-layout:fixed}.inventory-table th:nth-child(1),.inventory-table td:nth-child(1){width:190px}.inventory-table th:nth-child(2),.inventory-table td:nth-child(2){width:126px}.inventory-table th:nth-child(3),.inventory-table td:nth-child(3){width:78px}.inventory-table th:nth-child(4),.inventory-table td:nth-child(4){width:122px}.inventory-table th:nth-child(5),.inventory-table td:nth-child(5){width:62px}.inventory-table th:nth-child(6),.inventory-table td:nth-child(6),.inventory-table th:nth-child(7),.inventory-table td:nth-child(7),.inventory-table th:nth-child(8),.inventory-table td:nth-child(8){width:78px}.inventory-table th:nth-child(9),.inventory-table td:nth-child(9){width:96px}.inventory-table th:nth-child(10),.inventory-table td:nth-child(10){width:98px}.inventory-table th:nth-child(11),.inventory-table td:nth-child(11){width:42px}.inventory-table th{position:sticky;top:0;z-index:3;height:42px;padding:0 7px;color:#64748b;background:#f8fafc;box-shadow:inset 0 -1px #e2e8f0;font-size:11px;font-weight:900}.inventory-table td{height:58px;padding:6px 7px;color:#172033;font-size:11px;font-weight:800;vertical-align:middle}.inventory-table tbody tr:nth-child(odd){background:#fff}.inventory-table tbody tr:nth-child(2n){background:#f8fafc}.inventory-table tbody tr:hover{background:#eef6ff}.inventory-table tbody tr{position:relative;z-index:0}.inventory-table tbody tr:last-child td{border-bottom:0}.inventory-table td,.inventory-table th{overflow:hidden;text-overflow:ellipsis}.inventory-table td:last-child{overflow:visible}.inventory-table tbody tr:has(.inventory-row-actions>button.active){position:relative;z-index:40}.inventory-table tbody tr:has(.inventory-row-actions>button.active) td{position:relative;z-index:40}.inventory-table th,.inventory-table td:not(:first-child){white-space:nowrap}.inventory-table-wrap::-webkit-scrollbar{width:8px;height:8px}.inventory-table-wrap::-webkit-scrollbar-thumb{border-radius:999px;background:#cbd5e1}.inventory-table-wrap::-webkit-scrollbar-track{background:#f8fafc}.inventory-table-product{grid-template-columns:40px minmax(0,1fr);gap:7px}.inventory-table-product .product-photo{width:38px;height:42px;border-radius:6px}.inventory-table-product strong{color:#172033;display:-webkit-box;overflow:hidden;font-size:12px;line-height:1.18;-webkit-line-clamp:2;-webkit-box-orient:vertical}.inventory-table-product span{display:none;color:#64748b;font-size:12px;font-weight:800}.inventory-code{display:grid;gap:3px;color:#334155;font-variant-numeric:tabular-nums}.inventory-code span,.inventory-code small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inventory-code small{color:#1d4ed8;font-size:11px;font-weight:900}.brand-logo-text{display:inline-flex;align-items:center;min-height:24px;max-width:100%;color:#172033;font-size:12px;font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inventory-price,.inventory-profit{font-variant-numeric:tabular-nums;white-space:nowrap}.inventory-price{color:#1d4ed8}.inventory-profit{color:#059669}.inventory-stepper{width:112px;height:34px;grid-template-columns:32px minmax(34px,1fr) 32px}.inventory-stock-text{display:inline-flex;min-height:26px;align-items:center;justify-content:center;min-width:58px;padding:0 8px;border-radius:7px;color:#172033;background:#f8fafc;font-size:11px;font-weight:900;font-variant-numeric:tabular-nums;white-space:nowrap}.inventory-status{min-height:26px;display:inline-flex;align-items:center;justify-content:center;padding:0 9px;border-radius:7px;font-size:11px;font-weight:900;white-space:nowrap}.inventory-status.success{color:#059669;background:#d1fae5}.inventory-status.warning{color:#d97706;background:#fef3c7}.inventory-status.danger{color:#dc2626;background:#fee2e2}.inventory-row-actions{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;gap:4px}.inventory-table tbody tr:has(.inventory-row-actions>button.active) .inventory-row-actions{z-index:90}.inventory-row-actions button{width:28px;height:28px;display:grid;place-items:center;padding:0;border:1px solid #dce3eb;border-radius:8px;color:#64748b;background:#fff}.inventory-row-actions>button:hover,.inventory-row-actions>button.active{color:#1d4ed8;border-color:#93c5fd;background:#eff6ff}.inventory-product-action-menu{position:absolute;top:calc(100% + 8px);right:0;z-index:80;width:150px;display:grid;gap:4px;padding:6px;border:1px solid #dce3eb;border-radius:8px;background:#fff;box-shadow:0 16px 34px #0f172a29}.inventory-product-action-menu.drop-up{top:auto;bottom:calc(100% + 8px)}.inventory-product-action-menu button{width:100%;height:34px;display:flex;align-items:center;justify-content:flex-start;gap:8px;padding:0 9px;border:0;border-radius:7px;color:#334155;background:#fff;font-size:12px;font-weight:900}.inventory-product-action-menu button:hover{color:#1d4ed8;background:#eff6ff}.inventory-empty-row{min-height:170px;display:grid;place-items:center;color:#64748b;font-weight:900}.inventory-product-grid-view{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:10px}.inventory-product-card{min-width:0;display:grid;grid-template-rows:150px minmax(0,1fr);overflow:hidden;border:1px solid #e2e8f0;border-radius:8px;background:#fff}.inventory-product-card-media{position:relative;display:grid;place-items:center;padding:12px;background:linear-gradient(135deg,#f8fafc,#eef6ff)}.inventory-product-card-media .product-photo{width:100%;height:100%;max-width:190px;border-radius:8px}.inventory-product-card-media .inventory-status{position:absolute;top:10px;left:10px;min-height:26px;padding:0 9px;font-size:11px;box-shadow:0 8px 18px #0f172a14}.inventory-product-card-body{display:grid;gap:10px;padding:12px}.inventory-product-card-body strong{display:block;color:#172033;font-size:14px;font-weight:950;line-height:1.25}.inventory-product-card-body span{display:block;margin-top:2px;color:#64748b;font-size:12px;font-weight:800;line-height:1.25}.inventory-product-card-body dl{display:grid;gap:6px;margin:0}.inventory-product-card-body dl div{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:8px}.inventory-product-card-body dt,.inventory-product-card-body dd{margin:0;font-size:12px;font-weight:850}.inventory-product-card-body dt{color:#64748b}.inventory-product-card-body dd{min-width:0;color:#172033;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inventory-product-card-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:2px;border-top:1px solid #edf2f7}.inventory-product-card-footer span{margin:0;color:#64748b;font-size:11px}.inventory-product-card-footer b{display:block;color:#1d4ed8;font-size:17px;font-weight:950;font-variant-numeric:tabular-nums;white-space:nowrap}.inventory-empty-card{min-height:220px;display:grid;place-items:center;border:1px solid #e2e8f0;border-radius:8px;color:#64748b;background:#fff;font-weight:900}.product-create-overlay{position:fixed;inset:0 0 0 calc(var(--pos-page-x-padding, 0px) + var(--pos-sidebar-width, 0px) + var(--pos-page-grid-gap, 0px));z-index:80;padding:18px;background:#f8fafcf5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.product-image-toast{position:fixed;top:50%;left:calc((var(--pos-page-x-padding, 0px) + var(--pos-sidebar-width, 0px) + var(--pos-page-grid-gap, 0px)) + ((100vw - var(--pos-page-x-padding, 0px) - var(--pos-sidebar-width, 0px) - var(--pos-page-grid-gap, 0px)) / 2));z-index:120;min-width:250px;max-width:min(360px,84vw);display:grid;justify-items:center;gap:8px;padding:22px 26px;border:1px solid rgba(187,247,208,.92);border-radius:14px;color:#172033;background:#fffffff5;box-shadow:0 24px 80px #0f172a38;transform:translate(-50%,-50%);animation:product-image-toast-in .22s ease-out both;pointer-events:none}.product-image-toast span{width:54px;height:54px;display:grid;place-items:center;border-radius:999px;color:#fff;background:linear-gradient(135deg,#10b981,#059669);box-shadow:0 14px 30px #05966947}.product-image-toast strong{font-size:22px;line-height:1.1;font-weight:950}.product-image-toast small{color:#64748b;font-size:12px;font-weight:850}.loss-confirm-backdrop{position:fixed;inset:0 0 0 calc(var(--pos-page-x-padding, 0px) + var(--pos-sidebar-width, 0px) + var(--pos-page-grid-gap, 0px));z-index:125;display:grid;place-items:center;padding:20px;background:#0f172a29;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.loss-confirm-card{width:min(480px,92vw);display:grid;grid-template-columns:46px minmax(0,1fr);gap:14px;padding:18px;border:1px solid #fecaca;border-radius:14px;color:#172033;background:#fffffffa;box-shadow:0 26px 80px #0f172a38;animation:product-image-toast-in .2s ease-out both}.loss-confirm-card>span{width:46px;height:46px;display:grid;place-items:center;border-radius:12px;color:#dc2626;background:#fef2f2}.loss-confirm-card strong{display:block;margin-top:1px;font-size:19px;line-height:1.15;font-weight:950}.loss-confirm-card p{margin:7px 0 0;color:#64748b;font-size:13px;font-weight:850;line-height:1.45}.loss-confirm-actions{grid-column:1 / -1;display:flex;justify-content:flex-end;gap:10px;margin-top:4px}.loss-confirm-actions .ghost-button,.danger-confirm-button{height:38px;min-width:126px;justify-content:center;border-radius:8px;font-size:13px;font-weight:950}.danger-confirm-button{display:inline-flex;align-items:center;gap:7px;padding:0 14px;border:0;color:#fff;background:#dc2626;box-shadow:0 12px 24px #dc26262e}.danger-confirm-button:hover{background:#b91c1c}@keyframes product-image-toast-in{0%{opacity:0;transform:translate(-50%,calc(-50% + 12px)) scale(.96)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}.product-create-shell{height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:14px;overflow:hidden}.product-create-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.product-create-title{min-width:0;display:flex;align-items:center;gap:12px}.product-create-title>button{width:40px;height:40px;display:grid;place-items:center;padding:0;border:1px solid #dce3eb;border-radius:8px;color:#172033;background:#fff}.product-create-title h2{margin:0;color:#172033;font-size:25px;font-weight:950;line-height:1.15}.product-create-title span{display:block;margin-top:3px;color:#64748b;font-size:12px;font-weight:850}.product-create-search{position:relative;width:min(560px,34vw);height:52px;min-width:280px;display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:8px;padding:0 10px;border:1px solid #dce3eb;border-radius:10px;background:#fff;box-shadow:0 10px 26px #0f172a0a}.product-create-search svg{justify-self:center;color:#64748b}.product-create-search input{width:100%;min-width:0;height:100%;border:0;outline:none;color:#172033;background:transparent;font-size:14px;font-weight:850}.product-create-search>span{min-width:36px;padding:4px 9px;border-radius:8px;color:#64748b;background:#f1f5f9;font-size:12px;font-weight:950;text-align:center}.product-create-search-results{position:absolute;top:calc(100% + 8px);left:0;right:0;z-index:4;display:grid;gap:6px;padding:8px;border:1px solid #dbeafe;border-radius:10px;background:#fff;box-shadow:0 18px 42px #0f172a29}.product-create-search-results button{min-height:52px;display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:8px;padding:7px;border:0;border-radius:8px;color:#172033;background:#fff;text-align:left}.product-create-search-results button:hover{background:#eff6ff}.product-create-search-results strong,.product-create-search-results small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-create-search-results strong{font-size:12px;font-weight:950}.product-create-search-results small{margin-top:2px;color:#64748b;font-size:10px;font-weight:850}.product-create-search-results b{color:#1d4ed8;font-size:11px;font-weight:950;white-space:nowrap}.product-create-search-results em{padding:14px;color:#94a3b8;font-size:12px;font-style:normal;font-weight:900;text-align:center}.product-create-actions{display:flex;align-items:center;justify-content:end;gap:10px}.product-create-actions .ghost-button,.product-create-actions .primary-button{height:40px;border-radius:8px}.product-form-error{width:fit-content;max-width:min(760px,46vw);height:40px;display:inline-flex;align-items:center;flex:0 1 auto;gap:9px;padding:0 12px;border:1px solid #fecaca;border-radius:8px;color:#dc2626;background:#fef2f2;font-size:12px;font-weight:900;line-height:1}.product-form-error svg{flex:0 0 auto}.product-form-error span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-create-form{min-height:0;display:grid;grid-template-columns:minmax(360px,.95fr) minmax(420px,1.05fr);align-items:start;gap:12px;overflow:auto;padding:2px 2px 16px}.product-create-column{min-width:0;display:grid;gap:12px}.product-create-card{min-width:0;display:grid;gap:12px;align-content:start;padding:16px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;box-shadow:0 12px 26px #0f172a0a}.product-create-card h3{margin:0;color:#172033;font-size:16px;font-weight:950}.product-create-card label,.field-wide{min-width:0;display:grid;gap:6px}.product-create-card label>span,.field-wide>span{color:#64748b;font-size:12px;font-weight:900}.product-create-card input,.product-create-card select,.product-create-card textarea{width:100%;min-width:0;border:1px solid #dce3eb;border-radius:8px;outline:none;color:#172033;background:#fff;font-size:13px;font-weight:850}.product-create-card input,.product-create-card select{height:40px;padding:0 11px}.product-create-card input:disabled{color:#94a3b8;background:#f8fafc;cursor:not-allowed}.product-create-card textarea{min-height:88px;resize:vertical;padding:10px 11px;line-height:1.45}.product-name-category-row{display:grid;grid-template-columns:minmax(170px,.42fr) minmax(0,1fr);gap:10px;align-items:end}.product-name-category-row label{min-width:0;display:grid;gap:6px}.product-type-dropdown{position:relative;min-width:0}.product-type-dropdown>button{width:100%;height:40px;min-width:0;display:inline-flex;align-items:center;justify-content:space-between;gap:8px;padding:0 11px;border:1px solid #dce3eb;border-radius:8px;color:#172033;background:#fff;font-size:13px;font-weight:900;text-align:left}.product-type-dropdown>button.active{color:#1d4ed8;border-color:#93c5fd;background:#eff6ff}.product-type-dropdown>button span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-type-menu{position:absolute;z-index:35;top:calc(100% + 6px);left:0;right:0;box-sizing:border-box;display:grid;gap:4px;padding:6px;border:1px solid #dce3eb;border-radius:8px;background:#fff;box-shadow:0 14px 28px #0f172a24}.product-type-menu button{min-height:34px;display:flex;align-items:center;justify-content:flex-start;padding:0 9px;border:0;border-radius:7px;color:#334155;background:#fff;font-size:12px;font-weight:900;text-align:left}.product-type-menu button:hover,.product-type-menu button.active{color:#1d4ed8;background:#eff6ff}.product-type-menu-footer{margin-top:4px;padding-top:6px;border-top:1px solid #e2e8f0;background:#fff}.product-type-menu .add-product-type-button{width:100%;min-height:36px;justify-content:center;gap:7px;color:#1d4ed8;background:#eff6ff;border:1px dashed #93c5fd}.product-type-menu .add-product-type-button:hover{color:#fff;background:#1d4ed8;border-color:#1d4ed8}.new-product-type-card{display:grid;grid-template-columns:minmax(0,1fr) 34px 34px;gap:6px;align-items:center;padding:6px;border:1px solid #dce3eb;border-radius:8px;background:#f8fafc}.new-product-type-card input{width:100%;height:34px;min-width:0;padding:0 10px;border:1px solid #dce3eb;border-radius:7px;color:#172033;background:#fff;font-size:12px;font-weight:900}.product-type-menu .new-product-type-card button{width:34px;min-height:34px;justify-content:center;padding:0;border-radius:7px}.product-type-menu .new-product-type-card .confirm{color:#fff;background:#1d4ed8}.product-type-menu .new-product-type-card .cancel{color:#dc2626;background:#fee2e2}.product-brand-menu>span{min-height:34px;display:flex;align-items:center;padding:0 9px;color:#94a3b8;font-size:12px;font-weight:900}.product-brand-menu{right:auto;min-width:min(320px,calc(100vw - 32px));max-height:min(520px,calc(100vh - 260px));overflow-y:auto}.product-brand-option-row{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:6px;border-radius:7px}.product-brand-option-row:has(.product-brand-row-actions){grid-template-columns:minmax(0,1fr) 66px}.product-brand-option-row.active{background:#eff6ff}.product-type-menu .product-brand-select-button{width:100%;min-width:0;color:#334155;background:transparent}.product-type-menu .product-brand-select-button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-brand-row-actions{display:grid;grid-template-columns:30px 30px;gap:4px}.product-type-menu .product-brand-row-actions button{width:30px;min-height:30px;justify-content:center;padding:0;color:#64748b;background:#f8fafc;border:1px solid #dce3eb}.product-type-menu .product-brand-row-actions button:hover:not(:disabled){color:#1d4ed8;background:#eff6ff;border-color:#93c5fd}.product-type-menu .product-brand-row-actions button:last-child{color:#dc2626;background:#fee2e2;border-color:#fecaca}.product-type-menu .product-brand-row-actions button:last-child:hover:not(:disabled){color:#fff;background:#dc2626;border-color:#dc2626}.product-type-menu .product-brand-row-actions button:disabled{color:#cbd5e1;background:#f1f5f9;border-color:#e2e8f0;cursor:not-allowed}.product-brand-menu-footer{position:sticky;bottom:-6px;margin-top:4px;padding-top:6px;border-top:1px solid #e2e8f0;background:#fff}.product-brand-footer-actions{display:grid;grid-template-columns:minmax(0,1fr) 40px;gap:7px}.product-type-menu .add-product-brand-button{width:100%;min-height:36px;justify-content:center;gap:7px;color:#1d4ed8;background:#eff6ff;border:1px dashed #93c5fd}.product-type-menu .add-product-brand-button:hover{color:#fff;background:#1d4ed8;border-color:#1d4ed8}.product-type-menu .toggle-product-brand-delete{width:40px;min-height:36px;justify-content:center;padding:0;color:#64748b;background:#f8fafc;border:1px solid #dce3eb}.product-type-menu .toggle-product-brand-delete:hover,.product-type-menu .toggle-product-brand-delete.active{color:#1d4ed8;background:#eff6ff;border-color:#93c5fd}.new-product-brand-card,.product-brand-inline-edit{display:grid;grid-template-columns:minmax(0,1fr) 36px 36px;gap:7px;align-items:center;padding:7px;border:1px solid #dce3eb;border-radius:8px;background:#f8fafc}.new-product-brand-card input,.product-brand-inline-edit input{width:100%;height:36px;min-width:0;padding:0 10px;border:1px solid #dce3eb;border-radius:7px;color:#172033;background:#fff;font-size:12px;font-weight:900}.product-type-menu .new-product-brand-card button,.product-type-menu .product-brand-inline-edit button{width:36px;min-height:36px;justify-content:center;padding:0;border-radius:7px}.product-type-menu .new-product-brand-card .confirm,.product-type-menu .product-brand-inline-edit .confirm{color:#fff;background:#1d4ed8}.product-type-menu .new-product-brand-card .cancel,.product-type-menu .product-brand-inline-edit .cancel{color:#dc2626;background:#fee2e2}.product-unit-menu{left:0;right:0;width:100%;min-width:0;max-width:100%;max-height:min(360px,calc(100vh - 260px));overflow-y:auto;overflow-x:hidden}.product-unit-option-row{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:6px;border-radius:7px}.product-unit-option-row:has(.product-unit-row-actions){grid-template-columns:minmax(0,1fr) 66px}.product-unit-option-row.active{background:#eff6ff}.product-type-menu .product-unit-select-button{width:100%;min-width:0;color:#334155;background:transparent}.product-type-menu .product-unit-select-button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-unit-row-actions{display:grid;grid-template-columns:30px 30px;gap:4px}.product-type-menu .product-unit-row-actions button{width:30px;min-height:30px;justify-content:center;padding:0;color:#64748b;background:#f8fafc;border:1px solid #dce3eb}.product-type-menu .product-unit-row-actions button:hover:not(:disabled){color:#1d4ed8;background:#eff6ff;border-color:#93c5fd}.product-type-menu .product-unit-row-actions button:last-child{color:#dc2626;background:#fee2e2;border-color:#fecaca}.product-type-menu .product-unit-row-actions button:last-child:hover:not(:disabled){color:#fff;background:#dc2626;border-color:#dc2626}.product-type-menu .product-unit-row-actions button:disabled{color:#cbd5e1;background:#f1f5f9;border-color:#e2e8f0;cursor:not-allowed}.product-unit-menu-footer{position:sticky;bottom:-6px;margin-top:4px;padding-top:6px;border-top:1px solid #e2e8f0;background:#fff}.product-unit-footer-actions{display:grid;grid-template-columns:minmax(0,1fr) 40px;gap:7px}.product-type-menu .add-product-unit-button{width:100%;min-height:36px;justify-content:center;gap:7px;color:#1d4ed8;background:#eff6ff;border:1px dashed #93c5fd}.product-type-menu .add-product-unit-button:hover{color:#fff;background:#1d4ed8;border-color:#1d4ed8}.product-type-menu .toggle-product-unit-manage{width:40px;min-height:36px;justify-content:center;padding:0;color:#64748b;background:#f8fafc;border:1px solid #dce3eb}.product-type-menu .toggle-product-unit-manage:hover,.product-type-menu .toggle-product-unit-manage.active{color:#1d4ed8;background:#eff6ff;border-color:#93c5fd}.new-product-unit-card,.product-unit-inline-edit{display:grid;grid-template-columns:minmax(0,1fr) 34px 34px;gap:6px;align-items:center;padding:6px;border:1px solid #dce3eb;border-radius:8px;background:#f8fafc}.new-product-unit-card input,.product-unit-inline-edit input{width:100%;height:34px;min-width:0;padding:0 10px;border:1px solid #dce3eb;border-radius:7px;color:#172033;background:#fff;font-size:12px;font-weight:900}.product-type-menu .new-product-unit-card button,.product-type-menu .product-unit-inline-edit button{width:34px;min-height:34px;justify-content:center;padding:0;border-radius:7px}.product-type-menu .new-product-unit-card .confirm,.product-type-menu .product-unit-inline-edit .confirm{color:#fff;background:#1d4ed8}.product-type-menu .new-product-unit-card .cancel,.product-type-menu .product-unit-inline-edit .cancel{color:#dc2626;background:#fee2e2}.product-create-fields{display:grid;gap:10px}.product-create-fields.two{grid-template-columns:repeat(2,minmax(0,1fr))}.product-create-fields.three{grid-template-columns:repeat(3,minmax(0,1fr))}.stock-alert-label-row,.stock-alert-inline{display:grid;grid-template-columns:minmax(58px,1fr) auto;gap:6px}.stock-alert-label-row{align-items:end}.stock-alert-label-row span{color:#64748b;font-size:12px;font-weight:900}.stock-alert-label-row span:last-child{min-width:68px;text-align:center}.stock-alert-field.disabled .stock-alert-label-row span:first-child{color:#94a3b8}.stock-alert-inline{align-items:center}.stock-alert-switch{height:40px;min-width:68px;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:3px 8px;border:1px solid #dce3eb;border-radius:8px;color:#64748b;background:#fff;font-weight:950;cursor:pointer;transition:transform .16s ease,border-color .16s ease,background .16s ease,color .16s ease,box-shadow .16s ease}.stock-alert-switch:hover{transform:translateY(-1px);border-color:#bfdbfe;color:#2563eb;background:#eff6ff;box-shadow:0 8px 16px #2563eb1f}.stock-alert-switch.active{color:#047857;border-color:#a7f3d0;background:#ecfdf5;box-shadow:inset 0 0 0 1px #10b98114}.stock-alert-switch-track{position:relative;width:34px;height:18px;display:block;border-radius:999px;background:#cbd5e1;box-shadow:inset 0 1px 2px #0f172a1f;transition:background .16s ease}.stock-alert-switch-track span{position:absolute;top:2px;left:2px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #0f172a38;transition:transform .16s ease}.stock-alert-switch.active .stock-alert-switch-track{background:#10b981}.stock-alert-switch.active .stock-alert-switch-track span{transform:translate(16px)}.stock-alert-switch small{color:inherit;font-size:9.5px;font-weight:950;line-height:1}.product-create-fields.product-core-fields{grid-template-columns:minmax(126px,1.08fr) minmax(124px,1.1fr) minmax(88px,.62fr) minmax(86px,.7fr)}.product-create-fields.price-profit-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(118px,.75fr);align-items:start}.cost-vat-input{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch}.cost-vat-input input{min-width:0;border-radius:8px 0 0 8px}.cost-vat-dropdown{position:relative;min-width:0}.cost-vat-dropdown>button{width:100%;min-width:0;height:40px;display:inline-flex;align-items:center;justify-content:space-between;gap:8px;padding:0 10px 0 11px;border:1px solid #dce3eb;border-left:0;border-radius:0 8px 8px 0;color:#172033;background:#f8fafc;font-size:12px;font-weight:900}.cost-vat-dropdown>button.active{color:#1d4ed8;border-color:#93c5fd;background:#eff6ff}.cost-vat-dropdown>button span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cost-vat-menu{position:absolute;z-index:45;top:calc(100% + 6px);right:0;width:176px;box-sizing:border-box;display:grid;gap:4px;padding:6px;border:1px solid #dce3eb;border-radius:10px;background:#fff;box-shadow:0 16px 32px #0f172a24}.cost-vat-menu button{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 9px;border:0;border-radius:8px;color:#334155;background:#fff;font-size:12px;font-weight:900;text-align:left}.cost-vat-menu button:hover,.cost-vat-menu button.active{color:#1d4ed8;background:#eff6ff}.cost-vat-menu button svg{flex:0 0 auto}.cost-vat-summary{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:10px;padding:8px 10px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;color:#64748b;font-size:12px;font-weight:850}.cost-vat-summary b{margin-left:auto;padding:3px 8px;border-radius:999px;color:#b91c1c;background:#fee2e2;font-size:11px;font-weight:950}.input-with-button{display:grid;grid-template-columns:minmax(0,1fr) 44px}.input-with-button input{border-radius:8px 0 0 8px}.input-with-button button{height:40px;display:grid;place-items:center;padding:0;border:1px solid #dce3eb;border-left:0;border-radius:0 8px 8px 0;color:#334155;background:#fff;font-weight:900}.barcode-field small{color:#64748b;font-size:11px;font-weight:850}.barcode-field .barcode-field-warning{color:#dc2626}.barcode-mini-preview{min-height:48px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 10px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc}.barcode-mini-preview svg{max-width:100%;height:34px}.barcode-mini-preview b{color:#172033;font-size:12px;font-weight:950;font-variant-numeric:tabular-nums}.barcode-preview-svg{width:100%;max-width:100%;display:block}.barcode-preview-empty{min-height:54px;display:grid;place-items:center;gap:6px;color:#94a3b8;font-size:12px;font-weight:900}.product-profit-preview{min-height:63px;display:grid;align-content:center;gap:4px;padding:8px 12px;border-radius:8px;background:#f8fafc}.product-profit-preview.loss{background:#fef2f2}.product-profit-preview span{color:#64748b;font-size:12px;font-weight:900}.product-profit-preview strong{color:#059669;font-size:26px;line-height:1;font-weight:950}.product-profit-preview.loss strong{color:#dc2626}.product-image-uploader{position:relative;width:min(100%,250px);display:grid;grid-template-columns:minmax(0,1fr);gap:8px;align-items:start}.product-image-dropzone{position:relative;min-height:190px;aspect-ratio:1.18;display:grid;place-items:center;align-content:center;gap:8px;overflow:hidden;border:1.5px dashed #b8cdf5;border-radius:8px;background:#f8fbff;color:#1d4ed8;padding:14px;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.product-image-dropzone:hover,.product-image-dropzone.dragging{border-color:#2563eb;background:#eff6ff;box-shadow:0 0 0 4px #2563eb1a}.product-image-dropzone.has-image{padding:0;border-style:solid;background:#fff}.product-image-dropzone img{width:100%;height:100%;object-fit:contain;display:block;background:#f8fafc}.product-image-dropzone.has-image span{position:absolute;left:10px;right:10px;bottom:10px;padding:7px 10px;border-radius:8px;color:#fff;background:#0f172abd;font-size:11px;opacity:0;transform:translateY(4px);transition:opacity .16s ease,transform .16s ease}.product-image-dropzone.has-image:hover span,.product-image-dropzone.has-image.dragging span{opacity:1;transform:translateY(0)}.product-image-dropzone strong{color:#172033;font-size:15px;font-weight:950}.product-image-dropzone span{color:#64748b;font-size:12px;font-weight:900}.product-image-actions{position:absolute;top:6px;right:6px;z-index:3;display:flex;align-items:center}.product-image-actions button{width:26px;min-width:26px;height:26px;min-height:26px;display:grid;place-items:center;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}.product-image-actions button.danger{color:#ef4444;background:transparent}.product-image-actions button.danger:hover{color:#dc2626}.product-image-actions button svg{filter:drop-shadow(0 1px 2px rgba(255,255,255,.95)) drop-shadow(0 2px 5px rgba(15,23,42,.24))}.imei-card-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.imei-card-heading>div{display:grid;gap:3px}.imei-card-heading span{color:#64748b;font-size:12px;font-weight:850}.imei-card-heading .imei-warning-text{color:#dc2626;font-weight:950}.imei-card-heading .imei-complete-text{color:#059669;font-weight:950}.small-toggle{transform:none}.imei-entry-panel{display:grid;gap:10px;padding:12px;border:1px solid #dce3eb;border-radius:8px;background:#fff}.imei-entry-panel.disabled{border-color:#e2e8f0;background:#f1f5f9}.imei-entry-panel.disabled input,.imei-entry-panel.disabled button{color:#94a3b8;background:#e2e8f0;cursor:not-allowed}.imei-entry-panel .input-with-button button:disabled{color:#94a3b8;background:#eef2f6;cursor:not-allowed}.imei-entry-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}.imei-manager-button{min-height:34px;height:40px;padding:0 12px;font-size:12px;white-space:nowrap}.imei-manager-button:disabled{color:#94a3b8;background:#e2e8f0;cursor:not-allowed}.imei-manager-panel{position:fixed;z-index:70;top:24px;right:24px;bottom:24px;left:24px;display:grid;grid-template-rows:auto auto auto minmax(0,1fr);gap:12px;padding:18px;border:1px solid #dce3eb;border-radius:8px;background:#fff;box-shadow:0 24px 70px #0f172a38}.imei-manager-panel>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.imei-manager-panel h3,.imei-manager-panel h4,.imei-manager-panel p{margin:0}.imei-manager-panel h3{font-size:24px;font-weight:950}.imei-manager-panel header span{display:block;margin-top:3px;color:#64748b;font-size:13px;font-weight:850}.imei-manager-panel>header button{width:38px;height:38px;display:grid;place-items:center;padding:0;border:1px solid #dce3eb;border-radius:8px;color:#64748b;background:#fff}.imei-manager-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.imei-manager-stats article{min-height:92px;display:grid;align-content:center;gap:3px;padding:14px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc}.imei-manager-stats span,.imei-manager-stats small{color:#64748b;font-size:12px;font-weight:850}.imei-manager-stats strong{color:#172033;font-size:28px;line-height:1;font-weight:950}.imei-manager-entry{display:grid;gap:6px;padding:10px;border:1px solid #dce3eb;border-radius:8px;background:#fff}.imei-manager-entry .input-with-button{grid-template-columns:minmax(0,1fr) 104px}.imei-manager-entry input{height:46px;font-size:15px;font-weight:850}.imei-manager-entry button{height:46px}.imei-manager-entry>span{min-height:17px;color:#64748b;font-size:12px;font-weight:850}.imei-manager-entry.has-error{border-color:#fecaca;background:#fef2f2}.imei-manager-entry.has-error>span{color:#dc2626}.imei-manager-columns{min-height:0;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(220px,.7fr);gap:12px}.imei-manager-columns section{min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:10px;padding:14px;border:1px solid #e2e8f0;border-radius:8px;background:#fff}.imei-manager-columns h4{color:#172033;font-size:16px;font-weight:950}.imei-manager-columns p{display:grid;place-items:center;min-height:160px;color:#94a3b8;font-size:13px;font-weight:850}.imei-manager-list{min-height:0;display:grid;align-content:start;gap:8px;overflow:auto}.imei-manager-list div{min-height:50px;display:grid;grid-template-columns:34px minmax(0,1fr) 30px;align-items:center;gap:8px;padding:6px;border-radius:8px;background:#f8fafc}.imei-manager-list b{width:28px;height:28px;display:grid;place-items:center;border-radius:7px;color:#1d4ed8;background:#dbeafe;font-size:12px}.imei-manager-list span{min-width:0;display:grid;gap:3px}.imei-manager-list span strong,.imei-manager-list span small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.imei-manager-list span strong{color:#172033;font-size:13px;font-weight:900}.imei-manager-list span small{color:#64748b;font-size:11px;font-weight:800}.imei-manager-list button{width:30px;height:30px;display:grid;place-items:center;padding:0;border:0;border-radius:7px;color:#dc2626;background:#fee2e2}.imei-pending-box{display:grid;place-items:center;align-content:center;gap:8px;border-radius:8px;background:#f8fafc}.imei-pending-box strong{color:#d97706;font-size:44px;line-height:1;font-weight:950}.imei-pending-box span{color:#64748b;font-size:13px;font-weight:850}.product-form{display:grid;grid-template-columns:minmax(190px,.9fr) repeat(4,minmax(130px,1fr)) auto;gap:10px;align-items:end;padding:12px;border:1px solid #dce3eb;border-radius:8px;background:#f8fafc}.product-form label{display:grid;gap:6px}.product-form label span{color:#64748b;font-size:12px;font-weight:800}.product-form input{width:100%;height:40px;min-width:0;padding:0 10px;border:1px solid #dce3eb;border-radius:8px;outline:none;background:#fff}.form-segments{min-height:40px;display:flex;gap:6px;align-items:center;overflow-x:auto}.form-segments button{height:36px;padding:0 10px;border:1px solid #dce3eb;border-radius:8px;background:#fff;color:#334155}.form-segments button.active{color:#fff;background:#0f766e;border-color:#0f766e}.form-group-lock{min-height:40px;display:grid;gap:5px;align-content:center;padding:8px 10px;border:1px solid #dce3eb;border-radius:8px;background:#fff}.form-group-lock span{color:#64748b;font-size:12px;font-weight:800}.form-group-lock strong{font-size:14px}.product-form .checkout-button{min-height:40px;padding:0 14px}.responsive-table{overflow-x:auto}table{width:100%;min-width:820px;border-collapse:collapse}th,td{padding:13px 10px;text-align:left;border-bottom:1px solid #e2e8f0}th{color:#64748b;font-size:13px;font-weight:700}.table-product{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:10px}.table-product strong,.table-product span{display:block}.table-product span{margin-top:3px;color:#64748b;font-size:13px}.stock-stepper{width:112px;height:36px;display:grid;grid-template-columns:32px minmax(32px,1fr) 32px;align-items:center;border:1px solid #d9e2ec;border-radius:8px;background:#fff}.stock-stepper button{height:100%;display:grid;place-items:center;border:0;background:transparent;color:#243449}.stock-stepper b{text-align:center}.pill{display:inline-flex;min-height:28px;align-items:center;padding:0 9px;border-radius:8px;font-size:12px;font-weight:800;white-space:nowrap}.pill.success{color:#047857;background:#d1fae5}.pill.warning{color:#b45309;background:#fef3c7}.pill.info{color:#1d4ed8;background:#dbeafe}.history-payment-pill{min-width:72px;justify-content:center;border-radius:999px}.pay-cash{color:#047857;background:#d1fae5}.pay-qr{color:#1d4ed8;background:#dbeafe}.pay-card{color:#6d28d9;background:#ede9fe}.pay-transfer{color:#0f766e;background:#ccfbf1}.order-list{display:grid;gap:10px}.order-list article{min-height:64px;display:grid;grid-template-columns:minmax(0,1fr) auto auto 58px;align-items:center;gap:12px;padding:12px;border-radius:8px;background:#f8fafc;border:1px solid #e2e8f0}.order-list strong,.order-list span{display:block}.order-list div span{margin-top:4px;color:#64748b;font-size:13px}.order-list time{color:#64748b;text-align:right}.sales-history-page{height:100%;min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:clamp(10px,1.35vh,16px);padding:clamp(10px,1.35vh,16px);overflow:hidden}.sales-history-title{align-items:center;min-height:clamp(82px,13vh,124px);padding:clamp(12px,1.6vh,18px) 20px;border:1px solid #dbeafe;border-radius:14px;background:linear-gradient(135deg,#2563eb1f,#14b8a614 46%,#fffffff0 72%),#fff;box-shadow:0 18px 48px #0f172a14}.sales-history-title>div:first-child{min-width:0;display:grid;grid-template-columns:54px minmax(0,1fr);column-gap:12px;align-items:center}.sales-history-title>div:first-child p,.sales-history-title>div:first-child h2{grid-column:2}.sales-history-title-mark{grid-row:1 / span 2;width:54px;height:54px;display:grid;place-items:center;border-radius:16px;color:#fff;background:linear-gradient(135deg,#2563eb,#0f766e);box-shadow:0 16px 34px #2563eb38}.sales-history-title h2{margin-top:3px;font-size:clamp(18px,1.35vw,24px);line-height:1.12;font-weight:950}.sales-history-controls{display:flex;align-items:center;justify-content:end;gap:10px;flex-wrap:wrap}.sales-history-search{width:min(500px,44vw);height:38px;display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;padding:0 10px;border:1px solid #cfe0f3;border-radius:10px;color:#64748b;background:#ffffffeb;box-shadow:0 12px 28px #0f172a0d}.sales-history-search input{min-width:0;border:0;outline:0;color:#172033;background:transparent;font-size:13px;font-weight:780}.sales-history-search input::placeholder{color:#94a3b8}.sales-history-segments{position:relative;height:38px;display:inline-grid;grid-template-columns:repeat(5,auto);padding:2px;border:1px solid #cfe0f3;border-radius:10px;background:#fffffff0;box-shadow:inset 0 1px #ffffffe6;overflow:visible}.sales-history-segments button{min-width:80px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 11px;border:0;border-right:1px solid #e2e8f0;border-radius:0;color:#64748b;background:transparent;font-size:13px;font-weight:820}.sales-history-segments button:last-child{border-right:0}.sales-history-segments button.active{color:#fff;background:linear-gradient(135deg,#2563eb,#1d4ed8);box-shadow:0 10px 22px #2563eb3d;border-radius:8px;border-right-color:transparent}.sales-history-custom-range{position:absolute;z-index:40;bottom:calc(100% + 12px);right:0;width:min(470px,84vw);display:grid;grid-template-columns:repeat(2,minmax(180px,1fr));gap:12px;padding:14px;border:1px solid #dbeafe;border-radius:14px;background:#fff;box-shadow:0 22px 60px #0f172a29;animation:sales-history-popover-in .16s ease-out both}.sales-history-custom-range:before{content:"";position:absolute;bottom:-7px;right:46px;width:14px;height:14px;border-right:1px solid #dbeafe;border-bottom:1px solid #dbeafe;background:#fff;transform:rotate(45deg)}.sales-history-custom-range label{display:grid;gap:5px;color:#64748b;font-size:12px;font-weight:900}.sales-history-custom-range input{height:40px;min-width:0;padding:0 12px;border:1px solid #dce3eb;border-radius:10px;color:#172033;background:#f8fbff;font-weight:900}@keyframes sales-history-popover-in{0%{opacity:0;transform:translateY(6px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.sales-history-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.sales-history-stat{position:relative;min-height:clamp(58px,8.4vh,78px);display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:10px;padding:clamp(8px,1.2vh,11px) 14px;border:1px solid rgba(207,224,243,.95);border-radius:12px;background:linear-gradient(180deg,#fffffffa,#f8fbfff5),#fff;box-shadow:0 18px 42px #0f172a12;overflow:hidden}.sales-history-stat:before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:#2563eb}.sales-history-stat>div{min-width:0;display:grid;gap:3px}button.sales-history-stat{width:100%;color:inherit;font:inherit;text-align:left;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer}.sales-history-stat.clickable{transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.sales-history-stat.clickable:hover{border-color:#93c5fdf2;box-shadow:0 22px 48px #2563eb1f;transform:translateY(-1px)}.sales-history-stat-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#eff6ff;box-shadow:inset 0 0 0 1px #2563eb1f}.sales-history-stat.revenue .sales-history-stat-icon{color:#2563eb;background:#eff6ff}.sales-history-stat.revenue:before{background:#2563eb}.sales-history-stat.profit .sales-history-stat-icon{color:#059669;background:#ecfdf5}.sales-history-stat.profit:before{background:#059669}.sales-history-stat.cost .sales-history-stat-icon{color:#d97706;background:#fffbeb}.sales-history-stat.cost:before{background:#d97706}.sales-history-stat.average .sales-history-stat-icon{color:#7c3aed;background:#f5f3ff}.sales-history-stat.average:before{background:#7c3aed}.sales-history-stats span,.sales-history-stats small{color:#64748b;font-weight:850}.sales-history-stat div>span{white-space:nowrap;font-size:12.5px;line-height:1.1}.sales-history-stats strong{color:#172033;min-width:0;max-width:100%;overflow:hidden;font-size:clamp(18px,1.45vw,25px);line-height:1;font-weight:850;text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums}.sales-history-stats small{font-size:11.5px;line-height:1.1;white-space:nowrap}.finance-detail-page{height:100%;min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr) minmax(0,.92fr);gap:10px;padding:12px;overflow:hidden}.finance-detail-hero{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px;border:1px solid rgba(207,224,243,.95);border-radius:14px;background:linear-gradient(135deg,#fffffffa,#f8fbfff2),#fff;box-shadow:0 18px 45px #0f172a0f}.finance-detail-back,.finance-detail-mark{display:grid;place-items:center;border:1px solid #dbe6f4;border-radius:12px}.finance-detail-back{width:42px;height:42px;color:#172033;background:#fff;cursor:pointer}.finance-detail-mark{width:48px;height:48px;box-shadow:inset 0 0 0 1px #ffffff7a}.finance-detail-page.sales .finance-detail-mark{color:#2563eb;background:#eff6ff}.finance-detail-page.profit .finance-detail-mark{color:#059669;background:#ecfdf5}.finance-detail-page.cost .finance-detail-mark{color:#d97706;background:#fffbeb}.finance-detail-title{min-width:0;display:grid;gap:2px}.finance-detail-title p{margin:0;color:#64748b;font-size:12px;font-weight:900}.finance-detail-title h1{margin:0;color:#172033;font-size:clamp(24px,2.15vw,36px);line-height:1}.finance-detail-title span{color:#64748b;font-size:13px;font-weight:850}.finance-detail-periods{display:flex;align-items:center;gap:4px;padding:4px;border:1px solid #dbe6f4;border-radius:12px;background:#fff}.finance-detail-periods button{height:36px;padding:0 16px;border:0;border-radius:9px;color:#64748b;background:transparent;font-weight:900;cursor:pointer}.finance-detail-periods button.active{color:#fff;background:#2563eb;box-shadow:0 10px 22px #2563eb3d}.finance-detail-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.finance-detail-kpis article{min-height:74px;display:grid;gap:3px;padding:12px 14px;border:1px solid rgba(207,224,243,.95);border-radius:13px;background:#fff;box-shadow:0 16px 38px #0f172a0e}.finance-detail-kpis span,.finance-detail-kpis small{color:#64748b;font-weight:850}.finance-detail-kpis span{font-size:12px}.finance-detail-kpis strong{color:#172033;font-size:clamp(19px,1.8vw,30px);line-height:1}.finance-detail-kpis small{font-size:11.5px}.finance-detail-grid{min-height:0;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.9fr);gap:10px}.finance-detail-panel,.finance-detail-table-panel{min-height:0;border:1px solid rgba(207,224,243,.95);border-radius:14px;background:#fff;box-shadow:0 18px 44px #0f172a0e;overflow:hidden}.finance-detail-panel{display:grid;grid-template-rows:auto minmax(0,1fr)}.finance-detail-panel-head{padding:12px 14px 8px;border-bottom:1px solid #e5edf7}.finance-detail-panel-head h2{margin:0;color:#172033;font-size:18px;line-height:1.15}.finance-detail-panel-head p{margin:3px 0 0;color:#64748b;font-size:12px;font-weight:850}.finance-detail-chart{min-height:0;height:100%;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));align-items:end;gap:8px;padding:10px 12px 8px}.finance-detail-chart button{height:100%;min-height:142px;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:6px;padding:0;border:0;color:#64748b;background:transparent;font-weight:850}.finance-detail-chart button span{align-self:end;min-height:6px;width:100%;border-radius:9px 9px 4px 4px;background:linear-gradient(180deg,#38bdf8,#2563eb);box-shadow:0 10px 22px #2563eb2e}.finance-detail-page.profit .finance-detail-chart button span{background:linear-gradient(180deg,#86efac,#059669);box-shadow:0 10px 22px #05966926}.finance-detail-page.cost .finance-detail-chart button span{background:linear-gradient(180deg,#fdba74,#d97706);box-shadow:0 10px 22px #d9770626}.finance-detail-chart small{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.finance-detail-rank-list{min-height:0;display:grid;align-content:start;gap:8px;padding:12px;overflow:auto}.finance-detail-rank-row{min-height:54px;display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;border:1px solid #e5edf7;border-radius:12px;background:#f8fafc}.finance-detail-rank-row b{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;color:#2563eb;background:#eff6ff;font-size:13px}.finance-detail-rank-row span{min-width:0;display:grid;gap:1px}.finance-detail-rank-row strong{overflow:hidden;color:#172033;font-size:13.5px;text-overflow:ellipsis;white-space:nowrap}.finance-detail-rank-row small{color:#64748b;font-size:11px;font-weight:850}.finance-detail-rank-row em{color:#059669;font-style:normal;font-size:13px;font-weight:900;white-space:nowrap}.finance-detail-empty{min-height:120px;display:grid;place-items:center;color:#94a3b8;font-weight:900;text-align:center}.finance-detail-table-panel{display:grid;grid-template-rows:auto minmax(0,1fr)}.finance-detail-table{min-height:0;padding:0 12px 12px;overflow:auto}.finance-detail-table-head,.finance-detail-table-row{display:grid;align-items:center;gap:10px}.finance-detail-table-head{position:sticky;top:0;z-index:1;padding:9px 12px;border-bottom:1px solid #dbe6f4;color:#64748b;background:#f8fbff;font-size:12px;font-weight:900}.finance-detail-table-row{width:100%;min-height:54px;padding:9px 12px;border:0;border-bottom:1px solid #edf2f7;color:#172033;background:#fff;font:inherit;text-align:left;cursor:pointer}.finance-detail-table-row:hover{background:#f8fbff}.finance-detail-table-head.sales,.finance-detail-table-row.sales{grid-template-columns:minmax(150px,1.1fr) .7fr .7fr 62px}.finance-detail-table-head.profit,.finance-detail-table-row.profit{grid-template-columns:minmax(150px,1fr) .65fr .65fr .65fr 62px}.finance-detail-table-head.cost,.finance-detail-table-row.cost{grid-template-columns:minmax(145px,.9fr) minmax(160px,1.15fr) .65fr .65fr 62px}.finance-detail-table-row span{min-width:0;display:grid;gap:2px}.finance-detail-table-row strong,.finance-detail-table-row small,.finance-detail-table-row b,.finance-detail-table-row em,.finance-detail-table-row time{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.finance-detail-table-row strong,.finance-detail-table-row b{color:#172033;font-size:13px;font-weight:900}.finance-detail-table-row small,.finance-detail-table-row time{color:#64748b;font-size:11.5px;font-weight:850}.finance-detail-table-row em{color:#059669;font-style:normal;font-size:13px;font-weight:900}.finance-payment-pill{justify-self:start;min-width:80px;padding:5px 10px;border-radius:999px;color:#047857;background:#d1fae5;font-size:12px;font-weight:900;text-align:center}.finance-payment-pill.qr{color:#1d4ed8;background:#dbeafe}.finance-payment-pill.transfer{color:#0f766e;background:#ccfbf1}.finance-payment-pill.card{color:#7c3aed;background:#ede9fe}.dashboard-metric-grid{gap:8px}.dashboard-metric-card{min-height:78px;grid-template-columns:30px minmax(0,1fr);grid-template-rows:auto 17px;gap:4px 9px;padding:10px 12px 9px;border-radius:8px;border-color:#d8e2ee;background:#fff;box-shadow:0 8px 22px #0f172a0b}.dashboard-metric-card:before,.sales-history-stat:before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:#2563eb}.dashboard-metric-card.green:before,.sales-history-stat.profit:before{background:#059669}.dashboard-metric-card.orange:before,.sales-history-stat.cost:before{background:#d97706}.dashboard-metric-card.purple:before,.sales-history-stat.average:before{background:#7c3aed}.dashboard-metric-card.red:before{background:#dc2626}.dashboard-metric-card.red{border-color:#d8e2ee}.dashboard-metric-card:hover,.dashboard-top-row:hover,.dashboard-bill-row:hover,.dashboard-alert-row:hover{transform:translateY(-1px);border-color:#b7c8dd;box-shadow:0 12px 28px #0f172a13}.dashboard-metric-icon{width:30px;height:30px;border-radius:7px;border:1px solid #d8e2ee;background:#f8fafc}.dashboard-metric-card.blue .dashboard-metric-icon,.dashboard-metric-card.green .dashboard-metric-icon,.dashboard-metric-card.purple .dashboard-metric-icon,.dashboard-metric-card.orange .dashboard-metric-icon,.dashboard-metric-card.red .dashboard-metric-icon{color:#334155;background:#f8fafc}.dashboard-metric-icon svg{width:18px;height:18px;stroke-width:2.2}.dashboard-metric-copy>span,.dashboard-metric-copy small{color:#6b778a;font-size:10.5px;font-weight:760}.dashboard-metric-copy strong{margin-top:1px;color:#111827;font-size:clamp(17px,1.12vw,22px);font-weight:900}.dashboard-metric-copy small{margin-top:3px;color:#475569}.dashboard-spark,.dashboard-mini-bars{height:17px;opacity:.9}.dashboard-spark polyline{stroke-width:2.2}.dashboard-mini-bars{gap:5px}.dashboard-mini-bars span{border:0;border-radius:2px;background:#cbd5e1}.dashboard-metric-card.blue .dashboard-mini-bars span,.dashboard-metric-card.blue .dashboard-spark polyline{stroke:#2563eb;background:#93b7f7}.dashboard-metric-card.green .dashboard-mini-bars span,.dashboard-metric-card.green .dashboard-spark polyline{stroke:#059669;background:#86d8b5}.dashboard-metric-card.orange .dashboard-mini-bars span{background:#f2b86d}.dashboard-metric-card.purple .dashboard-mini-bars span{background:#b8a6f3}.dashboard-metric-card.red .dashboard-mini-bars span{background:#f3a8a8}.dashboard-panel,.finance-detail-panel,.finance-detail-table-panel,.attention-table-card,.attention-list-card{border-radius:8px;border-color:#d8e2ee;background:#fff;box-shadow:0 10px 26px #0f172a0b}.finance-detail-page,.attention-detail-page{gap:8px;padding:10px}.finance-detail-hero,.attention-detail-hero{min-height:74px;padding:12px 14px;border-radius:8px;border-color:#d8e2ee;background:#fff;box-shadow:0 10px 26px #0f172a0b}.finance-detail-back,.attention-back-button{width:34px;height:34px;border-radius:7px;color:#334155;background:#fff;box-shadow:none}.finance-detail-mark,.attention-hero-icon{width:38px;height:38px;flex-basis:38px;border:1px solid #d8e2ee;border-radius:8px;color:#334155;background:#f8fafc;box-shadow:none}.finance-detail-page.sales .finance-detail-mark,.finance-detail-page.profit .finance-detail-mark,.finance-detail-page.cost .finance-detail-mark,.attention-hero-icon.danger,.attention-hero-icon.warning{color:#334155;background:#f8fafc}.finance-detail-mark svg,.attention-hero-icon svg{width:20px;height:20px;stroke-width:2.1}.finance-detail-title p,.attention-detail-hero p{color:#64748b;font-size:11.5px;font-weight:800}.finance-detail-title h1,.attention-detail-hero h1{color:#111827;font-size:clamp(21px,1.8vw,30px);font-weight:900}.finance-detail-title span,.attention-detail-hero span{color:#64748b;font-size:12px;font-weight:760}.finance-detail-periods{position:relative;height:34px;gap:0;padding:2px;border-radius:8px;border-color:#d8e2ee;background:#f8fafc}.finance-detail-periods button{height:28px;min-width:76px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:0 12px;border-radius:6px;color:#64748b;font-size:12px;font-weight:780}.finance-detail-periods button.active{color:#fff;background:#2563eb;box-shadow:0 6px 14px #2563eb2e}.finance-detail-periods button svg{flex:0 0 auto}.finance-detail-custom-range{position:absolute;z-index:45;top:calc(100% + 12px);right:0;width:min(480px,82vw);display:grid;grid-template-columns:repeat(2,minmax(170px,1fr)) auto;align-items:end;gap:10px;padding:12px;border:1px solid #dbeafe;border-radius:10px;background:#fff;box-shadow:0 20px 48px #0f172a29}.finance-detail-custom-range:before{content:"";position:absolute;top:-7px;right:36px;width:14px;height:14px;border-left:1px solid #dbeafe;border-top:1px solid #dbeafe;background:#fff;transform:rotate(45deg)}.finance-detail-custom-range label{display:grid;gap:6px;color:#64748b;font-size:11px;font-weight:850}.finance-detail-custom-range input{height:36px;padding:0 10px;border:1px solid #dbe5f1;border-radius:8px;color:#172033;background:#f8fafc;font:inherit}.finance-detail-custom-range button{height:36px;min-width:112px;border:0;border-radius:8px;color:#fff;background:#2563eb;font-size:12px;font-weight:900}.finance-detail-kpis,.attention-kpi-grid{gap:8px}.finance-detail-kpis article,.attention-kpi,.sales-history-stat{min-height:64px;padding:10px 12px;border-radius:8px;border-color:#d8e2ee;background:#fff;box-shadow:0 8px 22px #0f172a0a}.finance-detail-kpis article{position:relative;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:11px;overflow:hidden}.finance-detail-kpis article:before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:#2563eb}.finance-detail-kpis article i{width:38px;height:38px;display:grid;place-items:center;border-radius:9px;color:#2563eb;background:#eff6ff;font-style:normal}.finance-detail-kpis article div{min-width:0}.finance-detail-kpis article.blue:before,.finance-detail-kpis article.blue i{color:#2563eb;background-color:#eff6ff}.finance-detail-kpis article.blue:before{background:#2563eb}.finance-detail-kpis article.green:before{background:#059669}.finance-detail-kpis article.green i{color:#059669;background:#ecfdf5}.finance-detail-kpis article.purple:before{background:#7c3aed}.finance-detail-kpis article.purple i{color:#7c3aed;background:#f5f3ff}.finance-detail-kpis article.orange:before{background:#d97706}.finance-detail-kpis article.orange i{color:#d97706;background:#fff7ed}.attention-kpi{position:relative;border-left-width:1px}.attention-kpi:before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:#2563eb}.attention-kpi.danger,.attention-kpi.warning,.attention-kpi.neutral,.attention-kpi.danger-soft{border-left-width:1px}.attention-kpi.danger:before{background:#dc2626}.attention-kpi.warning:before,.attention-kpi.danger-soft:before{background:#d97706}.finance-detail-kpis span,.finance-detail-kpis small,.attention-kpi span,.attention-kpi small{color:#64748b;font-size:11.5px;font-weight:760}.finance-detail-kpis strong,.attention-kpi strong{color:#111827;font-size:clamp(20px,1.45vw,26px);font-weight:900}.finance-detail-kpis strong,.finance-detail-kpis span,.finance-detail-kpis small{display:block;overflow:hidden;text-overflow:ellipsis}.finance-detail-kpis strong{white-space:nowrap}.finance-detail-panel-head{padding:10px 12px 8px;background:#fff}.finance-detail-panel-head h2{font-size:17px;font-weight:900}.finance-detail-panel-head p{font-size:11.5px;font-weight:760}.finance-detail-chart{gap:7px;padding:10px 12px 9px}.finance-detail-chart button{min-height:128px}.finance-detail-chart button span{border-radius:5px 5px 2px 2px;background:linear-gradient(180deg,#60a5fa,#2563eb);box-shadow:0 6px 14px #2563eb1f}.finance-detail-page.profit .finance-detail-chart button span{background:linear-gradient(180deg,#6ee7b7,#059669);box-shadow:0 6px 14px #0596691a}.finance-detail-page.cost .finance-detail-chart button span{background:linear-gradient(180deg,#fbbf24,#d97706);box-shadow:0 6px 14px #d977061a}.finance-detail-rank-row{min-height:48px;padding:8px 10px;border-radius:7px;background:#fff}.finance-detail-rank-row b{width:24px;height:24px;border-radius:6px;color:#475569;background:#f1f5f9}.finance-detail-table-head,.attention-table-head{min-height:36px;padding:0 12px;background:#f8fafc;color:#64748b;font-size:11.5px;font-weight:800}.finance-detail-table-row,.attention-table-row{min-height:48px;padding:8px 12px;background:#fff}.finance-detail-table-row:nth-child(2n),.attention-table-row:nth-child(2n){background:#fbfdff}.finance-payment-pill,.attention-status{min-height:24px;padding:3px 9px;border-radius:999px;font-size:11px;font-weight:780}.attention-empty-state,.finance-detail-empty{color:#94a3b8;font-size:14px;font-weight:800}.sales-history-layout{min-height:0;display:grid;grid-template-columns:minmax(420px,1fr) minmax(340px,.82fr);gap:14px;align-items:stretch}.sales-history-list{display:grid;align-content:start;height:100%;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;border:1px solid #dce3eb;border-radius:12px;background:#fff;box-shadow:0 14px 34px #0f172a0b}.sales-history-table-head,.sales-history-row{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(82px,.4fr) minmax(78px,.34fr) minmax(78px,.34fr) 48px;align-items:center;column-gap:8px}.sales-history-table-head{position:sticky;top:0;z-index:2;min-height:34px;padding:0 12px;color:#64748b;background:#f8fbff;border-bottom:1px solid #e2e8f0;font-size:11.5px;font-weight:700}.sales-history-table-head span:nth-child(2),.sales-history-table-head span:nth-child(3),.sales-history-table-head span:nth-child(4),.sales-history-table-head span:nth-child(5){text-align:right}.sales-history-row{width:100%;height:42px;min-height:42px;padding:3px 12px;box-sizing:border-box;border:0;border-bottom:1px solid #eef2f7;color:inherit;background:transparent;text-align:left;cursor:pointer}.sales-history-row:last-child{border-bottom:0}.sales-history-row.active{background:linear-gradient(90deg,#2563eb17,#fff0);box-shadow:inset 4px 0 #2563eb}.sales-history-row:hover{background:#f8fbff}.sales-history-row div{min-width:0}.sales-history-row strong,.sales-history-row div span{display:block}.sales-history-row strong{color:#172033;font-size:12px;line-height:1.05;font-weight:780;font-variant-numeric:tabular-nums}.sales-history-row div span{margin-top:1px;color:#64748b;font-size:10.5px;line-height:1.05;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sales-history-row b,.sales-history-row time{justify-self:end;white-space:nowrap}.sales-history-row b{color:#172033;font-size:12px;font-weight:780;font-variant-numeric:tabular-nums}.sales-history-row .pill{justify-self:end;min-height:20px;padding:0 7px;border-radius:999px;font-size:10.5px;font-weight:700}.bill-state-pill{justify-self:end;min-height:20px;display:inline-flex;align-items:center;justify-content:center;padding:0 7px;border-radius:999px;font-size:10px;font-weight:760;white-space:nowrap}.bill-state-pill.paid{color:#475569;background:#f1f5f9}.bill-state-pill.waiting,.bill-state-pill.exchanged{color:#1d4ed8;background:#dbeafe}.bill-state-pill.returned{color:#0f766e;background:#ccfbf1}.bill-state-pill.cancelled{color:#dc2626;background:#fee2e2}.sales-history-row time{color:#64748b;font-size:11px;font-weight:700;font-variant-numeric:tabular-nums}.sales-history-detail{height:100%;max-height:none;min-height:0;display:grid;grid-template-rows:minmax(0,1fr);border:1px solid #d9e2ee;border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 18px 50px #0f172a0f}.sales-history-detail-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:10px 14px 9px;background:linear-gradient(135deg,#2563eb17,#0ea5e90a 44%,#fff0 72%),#fff;border-bottom:1px solid #edf2f7}.sales-history-bill-id span,.sales-history-bill-id small,.sales-history-bill-total span,.sales-history-bill-total small{display:block;color:#64748b;font-weight:750}.sales-history-bill-id span,.sales-history-bill-total span{font-size:11.5px}.sales-history-bill-id strong{display:block;margin-top:3px;color:#172033;font-size:21px;line-height:1;font-weight:850;letter-spacing:0;font-variant-numeric:tabular-nums}.sales-history-bill-id small{margin-top:4px;font-size:12px}.sales-history-bill-total{text-align:right}.sales-history-bill-total b{display:block;margin-top:3px;color:#1d4ed8;font-size:21px;line-height:1;font-weight:850;font-variant-numeric:tabular-nums}.bill-status{width:max-content;margin-top:6px;margin-left:auto;padding:4px 9px;border-radius:999px;font-size:10.5px}.bill-status.paid{color:#047857;background:#d1fae5}.bill-status.waiting{color:#1d4ed8;background:#dbeafe}.sales-history-receipt-paper{display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto;align-content:stretch;gap:10px;min-height:0;margin:12px 14px 14px;padding:14px;border:1px solid #dbe4ef;border-radius:10px;background:linear-gradient(#fff,#fff) padding-box,repeating-linear-gradient(90deg,rgba(148,163,184,.14) 0 1px,transparent 1px 12px);box-shadow:inset 0 0 0 1px #fffc;overflow:auto}.receipt-store{display:grid;gap:3px;text-align:center}.receipt-store strong{color:#172033;font-size:15px;font-weight:850}.receipt-store span{color:#64748b;font-size:11px;font-weight:700}.receipt-info{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 10px;padding:10px 0 2px}.receipt-info span,.receipt-summary span{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:8px}.receipt-info small,.receipt-summary small{color:#64748b;font-size:10.5px;font-weight:720;white-space:nowrap}.receipt-info b,.receipt-summary b{min-width:0;color:#172033;font-size:11.5px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums}.receipt-divider{height:1px;background-image:linear-gradient(90deg,#cbd5e1 55%,transparent 0);background-size:8px 1px}.receipt-items{display:grid;align-content:start;gap:6px;min-height:0;max-height:264px;align-self:start;overflow-y:auto;overflow-x:hidden}.receipt-items-head,.receipt-item{display:grid;grid-template-columns:minmax(0,1fr) 38px minmax(62px,72px);align-items:center;gap:8px;min-width:0}.receipt-items-head{min-height:24px;color:#64748b;font-size:10.5px;font-weight:800;border-bottom:1px solid #e8eef6}.receipt-items-head span:nth-child(2),.receipt-items-head span:nth-child(3){text-align:right}.receipt-item{min-height:34px;padding:3px 0;border-bottom:1px dashed #e2e8f0}.receipt-item>div{min-width:0}.receipt-item strong,.receipt-item small{display:block}.receipt-item strong{color:#172033;font-size:11.5px;line-height:1.15;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.receipt-item small{margin-top:2px;color:#64748b;font-size:10px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.receipt-item em,.receipt-item b{justify-self:end;color:#172033;font-size:11px;font-style:normal;font-weight:800;white-space:nowrap;font-variant-numeric:tabular-nums}.receipt-summary{display:grid;gap:6px;align-self:end;padding-top:8px;border-top:1px solid #dbe4ef}.receipt-total{margin-top:2px;padding-top:7px;border-top:1px dashed #cbd5e1}.receipt-total small{color:#172033;font-size:12px;font-weight:850}.receipt-total b{color:#1d4ed8;font-size:17px;line-height:1;font-weight:850}.sales-history-detail-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;padding:0 18px 14px;background:#fff}.sales-history-detail-meta span{min-height:56px;display:grid;align-content:center;gap:4px;padding:12px 14px;border:1px solid #e8eef6;border-right-width:0;background:#f8fbff}.sales-history-detail-meta span:first-child{border-radius:10px 0 0 10px}.sales-history-detail-meta span:last-child{border-right-width:1px;border-radius:0 10px 10px 0}.sales-history-detail-meta small{color:#64748b;font-size:12px;font-weight:750}.sales-history-detail-meta strong{min-width:0;color:#172033;font-size:14px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sales-history-items{display:grid;align-content:start;gap:6px;max-height:calc(100vh - 510px);overflow:auto;padding:0 18px 14px}.sales-history-items-head,.sales-history-item-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto auto;align-items:center;gap:10px}.sales-history-items-head{min-height:34px;padding:0 10px;color:#64748b;font-size:12px;font-weight:800;border-bottom:1px solid #e8eef6}.sales-history-items-head span:nth-child(3),.sales-history-items-head span:nth-child(4){justify-self:end}.sales-history-item-row{min-height:62px;padding:10px;border:1px solid #edf2f7;border-radius:10px;background:#fff}.sales-history-item-row:hover{border-color:#bfdbfe;background:#f8fbff}.sales-history-item-row>span{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;color:#1d4ed8;background:#dbeafe;font-weight:850}.sales-history-items strong,.sales-history-items small{display:block}.sales-history-items small{margin-top:3px;color:#64748b;font-weight:800}.sales-history-items em{color:#64748b;font-style:normal;font-weight:900}.sales-history-items b{font-weight:850;font-variant-numeric:tabular-nums}.sales-history-item-empty{min-height:78px;display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:14px;padding:15px;color:#64748b;border:1px dashed #d8e2ef;border-radius:12px;background:linear-gradient(135deg,#f8fbff,#fff)}.sales-history-empty-icon{width:44px;height:44px;display:grid;place-items:center;color:#1d4ed8;border-radius:12px;background:#eaf2ff}.sales-history-item-empty strong{color:#172033;font-size:15px}.sales-history-item-empty small{max-width:420px;margin-top:5px;color:#64748b;font-size:13px;line-height:1.45;font-weight:650}.sales-history-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;padding:10px 18px 14px;background:#f8fbff;border-top:1px solid #e8eef6}.sales-history-summary div{min-height:54px;display:grid;align-content:center;gap:3px;padding:9px 12px;color:#64748b;font-size:14px;font-weight:750;border-right:1px solid #dbe4ef}.sales-history-summary div:last-child{border-right:0}.sales-history-summary strong{color:#172033;font-size:15px;font-weight:850;font-variant-numeric:tabular-nums}.sales-history-summary-total{margin-top:0;padding-top:9px;border-top:0}.sales-history-summary-total span{color:#172033;font-size:15px;font-weight:850}.sales-history-summary-total strong{color:#1d4ed8;font-size:23px;line-height:1}.sales-history-empty{min-height:220px;display:grid;place-items:center;align-content:center;gap:8px;color:#64748b;border:1px dashed #dce3eb;border-radius:10px;background:#f8fbff;text-align:center}.sales-history-empty strong{color:#172033;font-size:18px;font-weight:950}.sales-history-empty.compact{min-height:100%;border:0;border-radius:0}.bill-action-backdrop{position:fixed;z-index:80;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:22px;background:#0f172a61;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.bill-action-modal{width:min(1120px,calc(100vw - 44px));max-height:min(780px,calc(100vh - 44px));display:grid;grid-template-rows:auto minmax(0,1fr);border:1px solid #dbe4ef;border-radius:14px;background:#fff;box-shadow:0 28px 80px #0f172a3d;overflow:hidden}.bill-action-header{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;border-bottom:1px solid #e6edf5;background:linear-gradient(135deg,#f8fbff,#fff 58%,#f0fdfa)}.bill-action-header span,.bill-action-header p{color:#64748b;font-size:12px;font-weight:800}.bill-action-header h3{margin:2px 0;color:#172033;font-size:24px;line-height:1}.bill-action-header button{width:42px;height:42px;display:grid;place-items:center;border:1px solid #dbe4ef;border-radius:10px;color:#64748b;background:#fff}.bill-action-body{min-height:0;display:grid;grid-template-columns:minmax(280px,.48fr) minmax(0,1fr);gap:14px;padding:14px;background:#f8fbff;overflow:hidden}.bill-action-panel{min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:12px}.bill-action-status{display:grid;gap:3px;padding:12px 14px;border:1px solid #dbe4ef;border-radius:12px;background:#fff}.bill-action-status strong{color:#172033;font-size:17px}.bill-action-status span{color:#64748b;font-size:12px;font-weight:760}.bill-action-status.returned{border-color:#99f6e4;background:#f0fdfa}.bill-action-status.exchanged,.bill-action-status.waiting{border-color:#bfdbfe;background:#eff6ff}.bill-action-status.cancelled{border-color:#fecaca;background:#fff1f2}.bill-action-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.bill-action-buttons button{min-height:74px;display:grid;place-items:center;gap:6px;border:1px solid #dbe4ef;border-radius:12px;color:#172033;background:#fff;font-size:13px;font-weight:850}.bill-action-buttons button.active{color:#1d4ed8;border-color:#93c5fd;background:#eff6ff;box-shadow:inset 0 0 0 1px #bfdbfe}.bill-action-buttons button:disabled{cursor:not-allowed;color:#94a3b8;background:#f1f5f9;box-shadow:none}.bill-action-form{min-height:0;display:grid;align-content:start;gap:10px;padding:14px;border:1px solid #dbe4ef;border-radius:12px;background:#fff}.bill-action-form>strong{color:#172033;font-size:18px}.bill-action-form p{margin:0;color:#64748b;font-size:12px;line-height:1.45;font-weight:700}.bill-action-locked-note{display:grid;gap:5px;padding:10px 12px;border:1px solid #dbe4ef;border-radius:10px;background:#f8fafc}.bill-action-locked-note strong{color:#172033;font-size:13px}.bill-action-locked-note span{color:#64748b;font-size:12px;font-weight:780;overflow-wrap:anywhere}.bill-action-locked-note.returned,.bill-action-locked-note.exchanged{border-color:#99f6e4;background:#f0fdfa}.bill-action-locked-note.cancelled{border-color:#fecaca;background:#fff1f2}.bill-action-form label{display:grid;gap:6px;color:#64748b;font-size:12px;font-weight:850}.bill-action-form select,.bill-action-form textarea{width:100%;border:1px solid #dbe4ef;border-radius:10px;color:#172033;background:#fff;font:inherit;font-weight:780}.bill-action-form select{height:42px;padding:0 12px}.bill-action-form textarea{min-height:88px;resize:vertical;padding:10px 12px}.bill-action-form textarea:read-only{color:#94a3b8;background:#f1f5f9;resize:none}.bill-action-message{padding:9px 10px;border-radius:10px;font-size:12px;font-weight:850}.bill-action-message.success{color:#047857;background:#d1fae5}.bill-action-message.warning{color:#b91c1c;background:#fee2e2}.bill-action-submit{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:10px;color:#fff;background:#2563eb;font-weight:900;box-shadow:0 12px 24px #2563eb33}.bill-action-submit:disabled{color:#94a3b8;background:#e2e8f0;box-shadow:none}.bill-action-receipt{min-height:0;display:grid;border:1px solid #dbe4ef;border-radius:12px;background:#fff;overflow:hidden;min-width:0}.bill-action-receipt .sales-history-receipt-paper{min-width:0;margin:12px;overflow:hidden}.settings-page-pro{height:100%;min-height:100%;display:grid;grid-template-rows:auto minmax(0,1fr);gap:8px}.settings-page-title{min-height:38px;display:flex;align-items:end;justify-content:space-between;gap:12px}.settings-page-title span{color:#172033;font-size:21px;font-weight:950;line-height:1}.settings-page-title p{margin:0;color:#64748b;font-size:13px;font-weight:800}.settings-workspace,.settings-detail-panel{border:1px solid #dce3eb;border-radius:8px;background:#fff;box-shadow:0 16px 42px #0f172a0e}.settings-workspace{min-height:0;display:grid;grid-template-columns:minmax(250px,318px) minmax(0,1fr);gap:10px;padding:10px;overflow:hidden;background:linear-gradient(180deg,#fff,#fbfdff)}.settings-workspace-store{grid-template-columns:minmax(250px,318px) minmax(0,1fr);padding:8px;border:1px solid #dce3eb;background:linear-gradient(180deg,#fff,#fbfdff);box-shadow:0 16px 42px #0f172a0e}.settings-workspace-store .settings-menu{display:grid}.settings-workspace-store .settings-detail-panel{min-width:0;height:100%;padding:0;border:0;background:transparent;box-shadow:none;overflow:hidden}.settings-workspace-store .settings-detail-header{display:none}.settings-menu{min-height:0;display:grid;align-content:start;gap:7px;overflow:auto;padding-right:2px}.settings-menu button{--settings-accent: #2563eb;--settings-soft: #eff6ff;--settings-softer: #f8fbff;min-height:62px;display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:9px;padding:8px 9px;border:1px solid #e2e8f0;border-radius:8px;background:linear-gradient(135deg,var(--settings-soft),#ffffff 46%),#fff;color:#172033;text-align:left;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease}.settings-menu button:hover{border-color:color-mix(in srgb,var(--settings-accent) 34%,#dce3eb);background:linear-gradient(135deg,var(--settings-soft),#ffffff 58%),#fff}.settings-menu button.active{border-color:color-mix(in srgb,var(--settings-accent) 44%,#dce3eb);background:linear-gradient(90deg,color-mix(in srgb,var(--settings-accent) 15%,#ffffff),#fffffff5 58%),#fff;box-shadow:inset 3px 0 0 var(--settings-accent),0 10px 24px color-mix(in srgb,var(--settings-accent) 14%,transparent)}.settings-menu .settings-section-store{--settings-accent: #2563eb;--settings-soft: #eff6ff}.settings-menu .settings-section-payment{--settings-accent: #0f766e;--settings-soft: #ecfdf5}.settings-menu .settings-section-print{--settings-accent: #0ea5e9;--settings-soft: #f0f9ff}.settings-menu .settings-section-stock{--settings-accent: #f97316;--settings-soft: #fff7ed}.settings-menu .settings-section-devices{--settings-accent: #0f766e;--settings-soft: #ecfdf5}.settings-menu .settings-section-database{--settings-accent: #475569;--settings-soft: #f8fafc}.settings-menu .settings-section-staff{--settings-accent: #64748b;--settings-soft: #f1f5f9}.settings-menu-icon,.settings-detail-icon{display:grid;place-items:center;border-radius:8px;color:var(--settings-accent, #1d4ed8);background:linear-gradient(135deg,var(--settings-soft, #eff6ff),#ffffff);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--settings-accent, #2563eb) 20%,transparent)}.settings-menu-icon{width:38px;height:38px}.settings-menu strong,.settings-menu small{display:block;min-width:0}.settings-menu strong{font-size:13.5px;line-height:1.1}.settings-menu small{margin-top:4px;color:#64748b;font-size:10.5px;font-weight:750;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-menu em{padding:4px 7px;border-radius:999px;color:#475569;background:#eef2f7;font-size:10px;font-style:normal;font-weight:900;white-space:nowrap}.settings-menu button.active em{color:var(--settings-accent);background:color-mix(in srgb,var(--settings-accent) 13%,#ffffff)}.settings-detail-panel{--settings-accent: #2563eb;--settings-soft: #eff6ff;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);align-content:start;gap:10px;padding:12px;overflow:auto;background:linear-gradient(180deg,#fff,#fbfdff 82%)}.settings-detail-store{--settings-accent: #2563eb;--settings-soft: #eff6ff}.settings-detail-payment{--settings-accent: #0f766e;--settings-soft: #ecfdf5}.settings-detail-payment{gap:8px;padding:10px}.settings-detail-payment .settings-detail-header{min-height:78px;padding-bottom:9px}.settings-detail-payment .settings-detail-header h2{font-size:clamp(20px,2.1vw,32px)}.settings-detail-payment .settings-detail-header p{font-size:12.5px}.settings-detail-print{--settings-accent: #0ea5e9;--settings-soft: #f0f9ff}.settings-detail-stock{--settings-accent: #f97316;--settings-soft: #fff7ed}.settings-detail-devices{--settings-accent: #0f766e;--settings-soft: #ecfdf5}.settings-detail-database{--settings-accent: #475569;--settings-soft: #f8fafc}.settings-detail-staff{--settings-accent: #64748b;--settings-soft: #f1f5f9}.settings-detail-panel>:not(.settings-detail-header){align-self:start}.settings-detail-store{grid-template-rows:minmax(0,1fr);gap:0;padding:10px}.settings-detail-store .settings-detail-header{display:none}.settings-detail-panel.settings-detail-store>:not(.settings-detail-header){align-self:stretch}.settings-detail-header{min-height:54px;display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:12px;padding:0 0 10px;border-bottom:1px solid #e2e8f0}.settings-detail-icon{width:42px;height:42px}.settings-detail-header h2,.settings-detail-header p{margin:0}.settings-detail-header h2{color:#172033;font-size:19px;line-height:1.1}.settings-detail-header p{margin-top:4px;color:#64748b;font-size:13px;font-weight:800}.settings-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:12px}.settings-detail-grid.compact{grid-template-columns:1fr}.settings-field{display:grid;gap:7px}.settings-field.wide{grid-column:1 / -1}.settings-field span{color:#64748b;font-size:12px;font-weight:850}.settings-field input,.settings-field select{width:100%;height:44px;padding:0 13px;border:1px solid #dce3eb;border-radius:8px;outline:none;color:#172033;background:#fff;font-weight:900}.settings-field select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:linear-gradient(45deg,transparent 50%,#64748b 50%) right 14px center / 7px 7px no-repeat,linear-gradient(180deg,#fff,#f8fafc);padding-right:34px}.settings-field input:disabled,.settings-field input[readonly],.settings-field select:disabled{color:#475569;background:linear-gradient(180deg,#f8fafc,#fff)}.settings-store-panel{min-height:0;height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto;align-content:start;gap:10px}.settings-logo-row{display:grid;grid-template-columns:40px minmax(0,1fr) auto auto;align-items:center;gap:9px;padding:8px 10px;border:1px solid #e2e8f0;border-radius:8px;background:linear-gradient(135deg,#f0fdfacc,#fffffff5 38%),#fff;box-shadow:0 10px 26px #0f172a09}.settings-logo-row:hover{border-color:#bfdbfe;box-shadow:0 14px 30px #2563eb12}.settings-logo-preview{width:40px;height:40px;display:grid;place-items:center;padding:5px;border:1px solid rgba(20,184,166,.22);border-radius:8px;color:#0f766e;background:linear-gradient(145deg,#f0fdfafa,#ccfbf1f5);box-shadow:inset 0 0 0 1px #ffffffb8;overflow:hidden}.settings-logo-preview.has-logo{background:#fff}.settings-logo-preview img{width:100%;height:100%;display:block;object-fit:contain;border-radius:6px}.settings-logo-copy{min-width:0;display:grid;gap:2px}.settings-logo-copy strong{color:#172033;font-size:14px;font-weight:900}.settings-logo-copy span{color:#64748b;font-size:11px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-logo-remove{width:34px;height:34px;display:grid;place-items:center;border:1px solid #fecaca;border-radius:8px;color:#ef4444;background:#fff7f7}.settings-logo-remove:hover{border-color:#fca5a5;background:#fee2e2}.settings-store-fields{display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);align-items:start;gap:12px;min-height:0;padding:12px;border:1px solid #dce7f3;border-radius:12px;background:linear-gradient(135deg,#eff6ffa8,#f0fdfa80 48%,#fffffff5),#fff;box-shadow:0 16px 34px #0f172a0e;overflow:auto}.settings-store-section{display:grid;align-content:start;gap:10px;min-width:0;padding:12px;border:1px solid #dbe4ef;border-radius:12px;background:linear-gradient(180deg,#f8fafce6,#fff 42%),#fff;box-shadow:0 10px 24px #0f172a0a}.settings-store-section-main{border-left:4px solid #2563eb}.settings-store-section-contact{border-left:4px solid #0f766e}.settings-store-section-address{grid-column:1 / -1;border-left:4px solid #7c3aed}.settings-store-section-header{display:flex;align-items:center;gap:10px;min-width:0;padding-bottom:9px;border-bottom:1px solid #edf2f7}.settings-store-section-header>span{width:32px;height:32px;display:grid;flex:0 0 auto;place-items:center;border-radius:10px;color:#2563eb;background:linear-gradient(145deg,#eff6ff,#fff);box-shadow:inset 0 0 0 1px #dbeafe}.settings-store-section-contact .settings-store-section-header>span{color:#0f766e;background:linear-gradient(145deg,#ecfdf5,#fff);box-shadow:inset 0 0 0 1px #ccfbf1}.settings-store-section-address .settings-store-section-header>span{color:#7c3aed;background:linear-gradient(145deg,#f5f3ff,#fff);box-shadow:inset 0 0 0 1px #ddd6fe}.settings-store-section-header div{min-width:0;display:grid;gap:2px}.settings-store-section-header strong{color:#172033;font-size:15px;font-weight:950;line-height:1.1}.settings-store-section-header small{color:#64748b;font-size:11px;font-weight:800;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-store-form-grid{display:grid;gap:9px}.store-main-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)}.store-main-grid .settings-field:first-child{grid-column:1 / -1}.store-contact-grid{grid-template-columns:minmax(0,1.22fr) minmax(0,.78fr) minmax(0,.78fr)}.store-contact-grid .settings-field:first-child{grid-column:span 2}.store-address-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1.25fr) minmax(0,.9fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1fr)}.settings-address-preview{min-height:36px;display:flex;align-items:center;gap:8px;padding:7px 10px;border:1px dashed #c5d3e4;border-radius:10px;color:#475569;background:linear-gradient(90deg,#f8fafc,#eff6ffa6);font-size:12px;font-weight:850}.settings-address-preview svg{flex:0 0 auto;color:#2563eb}.settings-store-fields .settings-field{gap:5px}.settings-store-fields .settings-field input{height:36px;padding:0 11px;border-color:#d7e0ea;border-radius:9px;font-size:13.5px;letter-spacing:0;box-shadow:inset 0 1px #ffffffbf}.settings-store-fields .settings-field span{color:#64748b;font-size:11px;letter-spacing:0}.settings-store-fields .settings-field input:not([readonly]){border-color:#93c5fd;background:#fff;box-shadow:0 0 0 3px #2563eb14}.settings-inline-actions{display:inline-flex;align-items:center;gap:6px;padding:3px;border:1px solid #e2e8f0;border-radius:8px;background:#fff}.primary-button.compact,.ghost-button.compact{min-height:38px;padding:0 13px;border-radius:8px;font-size:14px}.settings-save-button,.settings-cancel-button{min-height:32px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 11px;border-radius:7px;font-size:13px;font-weight:900}.settings-save-button{border:1px solid #bbf7d0;color:#047857;background:#ecfdf5}.settings-cancel-button{border:1px solid transparent;color:#64748b;background:transparent}.settings-save-button:hover{border-color:#86efac;background:#dcfce7}.settings-cancel-button:hover{color:#172033;background:#f1f5f9}.settings-toggle-row,.settings-info-strip{display:grid;grid-template-columns:minmax(0,1fr) 42px;align-items:center;gap:10px;min-height:52px;padding:9px 11px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;box-shadow:0 8px 22px #0f172a09}.settings-toggle-row .toggle{justify-self:end}.settings-toggle-row>div>strong,.settings-toggle-row>div>span{display:block}.settings-toggle-row>div>strong{color:#172033;font-size:15px}.settings-vat-heading{display:flex!important;align-items:center;gap:8px}.settings-vat-heading em{padding:2px 7px;border-radius:999px;color:#dc2626;background:#fee2e2;font-size:12px;font-style:normal;font-weight:950;line-height:1.35}.settings-toggle-row>div>span{margin-top:4px;color:#64748b;font-size:13px;font-weight:750}.settings-tax-note{margin:-4px 2px 0;color:#64748b;font-size:11.5px;font-weight:800}.settings-payment-vat-row{min-height:58px;padding:8px 10px}.settings-payment-vat-row .settings-vat-heading{font-size:14px}.settings-payment-vat-row>div>span{margin-top:2px;font-size:12px}.settings-info-strip{grid-column:1 / -1;grid-template-columns:24px minmax(0,1fr) auto;color:#64748b;background:linear-gradient(90deg,color-mix(in srgb,var(--settings-accent, #2563eb) 8%,#ffffff),#f8fafcf0);font-weight:800;align-self:end}.settings-store-panel .settings-info-strip{min-height:48px;padding:8px 10px;border-radius:12px;color:#475569;background:linear-gradient(90deg,#eff6fff0,#f8fafcfa 48%,#f0fdfadb);box-shadow:0 12px 26px #0f172a0b}.settings-store-panel .settings-info-strip>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-store-panel .settings-info-strip .ghost-button{min-height:34px;padding-inline:12px;border-radius:9px}.store-admin-panel{height:100%;min-height:0;display:grid;grid-template-rows:minmax(0,1fr);gap:0;align-content:stretch}.store-admin-shell{min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;border:1px solid #d8e2ee;border-radius:10px;background:#fff;box-shadow:0 16px 34px #0f172a0e}.store-admin-header{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid #e5edf6;background:linear-gradient(135deg,#f8fbff,#fff 54%,#f7fbfa)}.store-admin-logo{width:52px;height:52px;display:grid;place-items:center;padding:5px;border:1px solid #cbd8e6;border-radius:12px;color:#0f766e;background:linear-gradient(145deg,#f8fafc,#eef6f3);overflow:hidden}.store-admin-logo:hover{border-color:#94a3b8;background:#f8fafc}.store-admin-logo.has-logo{background:#fff}.store-admin-logo img{width:100%;height:100%;display:block;object-fit:contain;border-radius:8px}.store-admin-title{min-width:0;display:grid;gap:1px}.store-admin-title span{color:#2563eb;font-size:11.5px;font-weight:850}.store-admin-title h3{margin:0;color:#172033;font-size:22px;font-weight:950;line-height:1.1;letter-spacing:0}.store-admin-title p{margin:0;color:#64748b;font-size:12.5px;font-weight:850}.store-admin-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.store-admin-primary,.store-admin-secondary,.store-admin-icon{height:38px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:9px;font-size:13px;font-weight:900;letter-spacing:0;white-space:nowrap}.store-admin-primary{padding:0 14px;border:1px solid #1d4ed8;color:#fff;background:#2563eb;box-shadow:0 10px 22px #2563eb2e}.store-admin-primary:hover{background:#1d4ed8}.store-admin-secondary{padding:0 13px;border:1px solid #d7e0ea;color:#253044;background:#fff}.store-admin-secondary:hover{border-color:#b9c7d8;background:#f8fafc}.store-admin-icon{width:38px;border:1px solid #d7e0ea;color:#64748b;background:#fff}.store-admin-icon.danger{border-color:#fecaca;color:#dc2626;background:#fff7f7}.store-admin-content{min-height:0;display:grid;grid-template-columns:minmax(300px,.72fr) minmax(0,1.28fr);gap:10px;padding:12px;overflow:auto;background:linear-gradient(180deg,#fff,#f8fafc)}.store-admin-card{min-width:0;display:grid;align-content:start;gap:11px;padding:13px;border:1px solid #dbe4ef;border-radius:10px;background:linear-gradient(180deg,#fff,#fbfdff);box-shadow:0 10px 26px #0f172a09}.store-admin-card header{display:flex;align-items:baseline;justify-content:space-between;gap:14px;padding-bottom:8px;border-bottom:1px solid #edf2f7}.store-admin-card header strong{color:#172033;font-size:15px;font-weight:950;line-height:1.15}.store-admin-card header span{min-width:0;color:#64748b;font-size:11px;font-weight:800;text-align:right}.store-admin-card-address{grid-column:1 / -1}.store-admin-grid{display:grid;gap:10px}.store-admin-grid-basic{grid-template-columns:minmax(0,1fr) minmax(0,.9fr)}.store-admin-grid-basic .settings-field:first-child{grid-column:1 / -1}.store-admin-grid-contact{grid-template-columns:minmax(0,1.25fr) repeat(2,minmax(120px,.72fr))}.store-admin-grid-contact .tax-id-field{grid-column:span 2}.store-admin-grid-address{grid-template-columns:minmax(120px,.76fr) minmax(180px,1.24fr) minmax(140px,.9fr)}.store-admin-grid-address .road-field{grid-column:span 1}.store-admin-panel .settings-field{gap:5px}.store-admin-panel .settings-field span{color:#64748b;font-size:11px;font-weight:900}.store-admin-panel .settings-field input{height:36px;padding:0 11px;border:1px solid #d7e0ea;border-radius:8px;color:#172033;background:#fff;font-size:13px;font-weight:900;box-shadow:none}.store-admin-panel .settings-field input[readonly]{color:#475569;background:#f8fafc}.store-admin-panel .settings-field input:not([readonly]){border-color:#93c5fd;background:#fff;box-shadow:0 0 0 3px #2563eb14}.store-address-line{display:grid;grid-template-columns:120px minmax(0,1fr);align-items:center;gap:12px;min-height:40px;padding:8px 10px;border:1px dashed #c7d5e8;border-radius:9px;background:#f8fafc}.store-address-line span{color:#64748b;font-size:11px;font-weight:900}.store-address-line strong{min-width:0;color:#253044;font-size:12.5px;font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:1180px){.store-admin-header{grid-template-columns:52px minmax(0,1fr)}.store-admin-actions{grid-column:1 / -1;justify-content:flex-start;flex-wrap:wrap}.store-admin-content{grid-template-columns:1fr}.store-admin-grid-contact,.store-admin-grid-address{grid-template-columns:repeat(2,minmax(0,1fr))}.store-admin-grid-contact .tax-id-field,.store-admin-grid-address .road-field{grid-column:span 1}}@media(max-width:820px){.settings-detail-store{padding:8px}.store-admin-header{padding:12px}.store-admin-content{padding:10px}.store-admin-grid-basic,.store-admin-grid-contact,.store-admin-grid-address{grid-template-columns:1fr}.store-address-line{grid-template-columns:1fr;gap:4px}}.settings-store-panel.store-branch-redesign{height:100%;min-height:0;display:block}.store-branch-card{height:100%;min-height:0;display:grid;grid-template-columns:minmax(190px,.34fr) minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) auto;grid-template-areas:"branchHeader branchHeader branchHeader" "branchContact branchContact branchContact" "branchPos branchAddress branchAddress" "branchFooter branchFooter branchFooter";align-content:stretch;gap:8px;padding:11px 16px;overflow:hidden;border:1px solid #dbe4ef;border-radius:13px;background:linear-gradient(180deg,#fffffffa,#fafdfffa),#fff;box-shadow:0 22px 54px #0f172a11}.store-branch-header,.store-branch-title,.store-branch-footer,.store-branch-footer>div,.store-branch-footer-actions{display:flex;align-items:center}.store-branch-header{grid-area:branchHeader;justify-content:space-between;gap:18px;min-height:40px}.store-branch-title{min-width:0;gap:12px}.store-branch-title-icon{width:42px;height:42px;display:grid;flex:0 0 auto;place-items:center;border-radius:8px;color:#fff;background:radial-gradient(circle at 28% 22%,rgba(255,255,255,.28),transparent 30%),linear-gradient(145deg,#059669,#047857);box-shadow:0 13px 28px #04785738}.store-branch-title h2,.store-branch-title p,.store-branch-address-card h3{margin:0}.store-branch-title h2{color:#101827;font-size:20px;line-height:1.08;font-weight:950}.store-branch-title p{margin-top:2px;color:#64748b;font-size:12px;font-weight:800}.store-branch-upload,.store-branch-cancel,.store-branch-save{height:36px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;font-size:13px;font-weight:900;white-space:nowrap;transition:transform .14s ease,border-color .14s ease,background .14s ease,box-shadow .14s ease}.store-branch-upload{min-width:136px;padding:0 18px;border:1px solid #d6e0ec;color:#253044;background:#fff;box-shadow:0 8px 20px #0f172a09}.store-branch-upload svg,.store-branch-save svg{color:#059669}.store-branch-upload:hover,.store-branch-cancel:hover{border-color:#b8c7d9;background:#f8fafc;transform:translateY(-1px)}.store-branch-info-card,.store-branch-address-card,.store-branch-step,.store-branch-footer{border:1px solid #dbe4ef;border-radius:10px;background:#fff;box-shadow:0 10px 28px #0f172a09}.store-branch-step{display:grid;gap:9px;padding:11px 12px}.store-branch-contact-step{grid-area:branchContact;align-self:start;gap:6px;padding:8px 10px 9px}.store-branch-contact-step>header small{display:none}.store-branch-pos-step{grid-area:branchPos;align-self:stretch;align-content:start;gap:7px;padding:9px 10px}.store-branch-pos-step>header{gap:7px}.store-branch-pos-step>header small{display:none}.store-branch-address-card{grid-area:branchAddress}.store-branch-step>header{display:flex;align-items:center;gap:8px;min-height:22px}.store-branch-step>header h3{margin:0;color:#101827;font-size:15px;font-weight:950;line-height:1.1}.store-branch-step>header small{color:#64748b;font-size:11px;font-weight:850}.store-branch-step-number{width:21px;height:21px;display:inline-grid;place-items:center;flex:0 0 auto;border-radius:999px;color:#fff;background:linear-gradient(145deg,#10b981,#047857);font-size:12px;font-weight:950;box-shadow:0 8px 18px #0478572e}.store-branch-combined-grid,.store-branch-main-grid{display:grid;min-width:0}.store-branch-combined-grid{grid-template-columns:62px minmax(0,1fr);gap:9px;align-items:start}.store-branch-main-grid{grid-template-columns:58px minmax(0,1fr);gap:4px}.store-branch-combined-fields{min-width:0;display:grid;gap:6px}.store-branch-info-card{min-height:250px;display:grid;grid-template-columns:196px minmax(0,1fr);overflow:hidden}.store-branch-logo-pane{position:relative;display:grid;align-content:start;justify-items:center;gap:2px;padding:0 8px 0 0}.store-branch-logo-pane:after{content:"";position:absolute;top:20px;right:0;width:1px;height:30px;border-radius:999px;background:#dbe4ef}.store-branch-logo-pane strong,.store-branch-field>span{color:#253044;font-size:12px;font-weight:900;white-space:nowrap}.store-branch-logo-box{width:42px;height:42px;display:grid;place-items:center;gap:6px;padding:7px;border:1px solid #dbe7dc;border-radius:9px;color:#5aa32e;background:linear-gradient(145deg,#f5faeffa,#e8f3ddf5),#f3f8ee;overflow:hidden;text-align:center;font-size:7.5px;font-weight:950}.store-branch-logo-box svg{width:15px;height:15px}.store-branch-logo-box.has-logo{background:#fff}.store-branch-logo-box img{width:100%;height:100%;display:block;object-fit:contain;border-radius:7px}.store-branch-logo-pane p{max-width:64px;margin:2px 0 0;color:#64748b;font-size:8.5px;line-height:1.16;font-weight:800}.store-branch-form-grid{min-width:0;display:grid;grid-template-columns:minmax(150px,1fr) minmax(150px,1.04fr) minmax(205px,1.42fr) minmax(150px,1fr);align-content:start;column-gap:12px;row-gap:8px;padding:22px 26px 18px}.store-branch-step .store-branch-form-grid{padding:0}.store-branch-store-grid{grid-template-columns:minmax(160px,1fr) minmax(130px,.8fr) minmax(282px,1.35fr);align-self:start;padding-left:0}.store-branch-store-name-field{grid-column:1;grid-row:1}.store-branch-branch-name-field{grid-column:2;grid-row:1}.store-branch-tax-field{grid-column:3;grid-row:1}.store-branch-tax-field>span{white-space:nowrap;font-size:11px}.store-branch-contact-grid{grid-template-columns:minmax(98px,.8fr) minmax(98px,.8fr) minmax(128px,1fr) minmax(136px,1fr) minmax(112px,.8fr)}.store-branch-field{min-width:0;display:grid;gap:3px}.store-branch-field input{width:100%;height:32px;min-width:0;padding:0 12px;border:1px solid #d6e0ec;border-radius:8px;outline:none;color:#101827;background:#fff;font-size:13px;font-weight:650;letter-spacing:0;box-shadow:inset 0 1px #ffffffb8;transition:border-color .14s ease,box-shadow .14s ease,background .14s ease}.store-branch-field input::placeholder{color:#8b98aa;font-weight:700}.store-branch-field input:focus{border-color:#0f9f72;box-shadow:0 0 0 4px #10b9811f}.store-branch-field input[readonly]{color:#253044;background:#f8fafc;cursor:default}.store-branch-input-wrap,.store-branch-select-wrap{min-width:0;height:32px;display:grid;align-items:center;border:1px solid #d6e0ec;border-radius:8px;background:#fff;overflow:hidden}.store-branch-input-wrap{grid-template-columns:34px minmax(0,1fr)}.store-branch-select-wrap{grid-template-columns:34px minmax(0,1fr) 30px}.store-branch-input-wrap svg,.store-branch-select-wrap svg{justify-self:center;color:#07856b}.store-branch-input-wrap input,.store-branch-select-wrap input{height:30px;padding-inline:0 14px;border:0;box-shadow:none}.store-branch-input-wrap:focus-within,.store-branch-select-wrap:focus-within{border-color:#0f9f72;box-shadow:0 0 0 4px #10b9811f}.store-address-select-field{position:relative}.store-address-select{position:relative;min-width:0}.store-address-select-button{width:100%;height:34px;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) 16px;align-items:center;gap:4px;padding:0 7px 0 8px;border:1px solid #d6e0ec;border-radius:8px;color:#8b98aa;background:#fff;font-size:12px;font-weight:850;text-align:left;transition:border-color .14s ease,box-shadow .14s ease,background .14s ease,color .14s ease}.store-address-select-button svg{justify-self:center;color:#07856b;width:14px;height:14px}.store-address-select-button svg:first-child{display:none}.store-address-select-button svg:last-child{justify-self:end}.store-address-select-button span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.store-address-select-button.has-value{color:#101827;font-weight:900}.store-address-select-button.open,.store-address-select-button:focus-visible{border-color:#0f9f72;box-shadow:0 0 0 4px #10b9811f;outline:none}.store-address-select-field.disabled .store-address-select-button,.store-address-select-button:disabled{color:#94a3b8;background:#f1f5f9;cursor:not-allowed}.store-address-select-menu{position:absolute;z-index:80;top:calc(100% + 8px);left:0;width:100%;max-height:292px;padding:8px;overflow:auto;border:1px solid #cfdceb;border-radius:10px;background:#fff;box-shadow:0 18px 44px #0f172a29;animation:storeAddressMenuIn .14s ease both}.store-address-select-menu:before{content:"";position:absolute;top:-7px;left:30px;width:12px;height:12px;border-top:1px solid #cfdceb;border-left:1px solid #cfdceb;background:#fff;transform:rotate(45deg)}.store-address-select-menu button{position:relative;width:100%;min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 12px;border:0;border-radius:8px;color:#253044;background:transparent;font-size:14px;font-weight:850;text-align:left}.store-address-select-menu button:hover,.store-address-select-menu button.selected{color:#047857;background:#ecfdf5}.store-address-select-menu button svg{flex:0 0 auto;color:#059669}.store-address-select-empty{padding:16px 12px;color:#94a3b8;font-size:13px;font-weight:850;text-align:center}@keyframes storeAddressMenuIn{0%{opacity:0;transform:translateY(-6px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}.line-badge{justify-self:center;display:grid;place-items:center;width:28px;height:22px;border-radius:999px;color:#fff;background:#06c755;font-size:8px;font-style:normal;font-weight:950;line-height:1}.store-branch-address-card{display:grid;gap:9px;padding:11px 12px}.store-branch-address-card header{display:flex;align-items:center;gap:10px;color:#047857}.store-branch-address-card h3{color:#101827;font-size:15px;font-weight:950;line-height:1.1}.store-branch-address-grid{display:grid;grid-template-columns:minmax(98px,.78fr) minmax(98px,.78fr) minmax(98px,.78fr) minmax(88px,.54fr);gap:8px 10px}.store-branch-address-preview{min-height:34px;display:flex;align-items:center;gap:13px;padding:0 12px;border:1px solid #ccebdd;border-radius:8px;color:#047857;background:linear-gradient(90deg,#ecfdf5,#f7fffb)}.store-branch-address-preview strong{min-width:0;color:#047857;font-size:12px;font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.store-branch-pos-row{display:flex;flex-direction:column;gap:7px;min-width:0;overflow:hidden}.store-branch-pos-card,.store-branch-add-pos{width:100%;height:34px;min-width:0;display:inline-flex;align-items:center;gap:6px;padding:0 8px;border:1px solid #dbe4ef;border-radius:8px;background:#fff;overflow:hidden}.store-branch-pos-card{position:relative}.store-branch-pos-card svg:first-child{flex:0 0 auto;color:#047857}.store-branch-pos-card input{width:56px;min-width:0;flex:0 1 56px;border:0;outline:none;color:#101827;background:transparent;font-size:13px;font-weight:900}.store-branch-pos-status{flex:0 0 auto;margin-left:0;padding:0;color:#059669;background:transparent;font-size:8.5px;font-weight:950;line-height:1;white-space:nowrap}.store-branch-pos-card svg:last-child{flex:0 0 auto;margin-left:auto;color:#64748b}.store-branch-add-pos{justify-content:center;color:#475569;border-style:dashed;font-size:13px;font-weight:900}.store-branch-add-pos svg{color:#2563eb}.store-branch-add-pos-locked{color:#64748b;background:linear-gradient(180deg,#fff,#f8fafc);cursor:pointer}.store-branch-add-pos-locked:hover{border-color:#b8c7d9;background:#f1f5f9}.store-branch-add-pos-locked:active{transform:translateY(1px)}.store-branch-footer{grid-area:branchFooter;justify-content:space-between;gap:14px;min-height:44px;padding:7px 14px;background:linear-gradient(90deg,#f8fbff,#fff 42%,#f2fbf7),#fff}.store-branch-footer>div:first-child{min-width:0;gap:10px;color:#64748b;font-size:12px;font-weight:900}.store-branch-footer>div:first-child svg{flex:0 0 auto;color:#047857}.store-branch-footer-actions{justify-content:flex-end;gap:8px}.store-branch-cancel{min-width:116px;padding:0 16px;border:1px solid #d6e0ec;color:#253044;background:#fff}.store-branch-cancel svg{color:#475569}.store-branch-save{min-width:128px;padding:0 18px;border:1px solid #07856b;color:#fff;background:linear-gradient(145deg,#0ea36d,#047857);box-shadow:0 14px 28px #0478572e}.store-branch-save svg{color:#fff}.store-branch-save:hover{transform:translateY(-1px);box-shadow:0 18px 32px #0478573d}@media(max-width:1280px){.store-branch-card{padding:12px;grid-template-columns:minmax(190px,.34fr) minmax(0,1fr) minmax(0,1fr)}.store-branch-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.store-branch-store-grid{grid-template-columns:minmax(140px,1fr) minmax(120px,.86fr) minmax(220px,1.25fr)}.store-branch-contact-grid{grid-template-columns:minmax(90px,.78fr) minmax(90px,.78fr) minmax(118px,1fr) minmax(126px,1fr) minmax(108px,.82fr)}}@media(max-width:1020px){.store-branch-info-card{grid-template-columns:1fr}.store-branch-logo-pane{grid-template-columns:auto 145px minmax(0,1fr);align-items:center;border-right:0;border-bottom:1px solid #e5edf6}.store-branch-form-grid,.store-branch-address-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.store-branch-footer{align-items:stretch;flex-direction:column}}@media(max-width:720px){.store-branch-header,.store-branch-title{align-items:flex-start}.store-branch-header{flex-direction:column}.store-branch-form-grid,.store-branch-address-grid,.store-branch-logo-pane{grid-template-columns:1fr}.store-branch-logo-pane p{max-width:none}.store-branch-upload,.store-branch-cancel,.store-branch-save{width:100%}.store-branch-footer-actions{flex-direction:column}}.settings-info-strip.muted{grid-template-columns:24px minmax(0,1fr)}.settings-info-strip svg{color:var(--settings-accent, #2563eb)}.settings-system-report{grid-column:1 / -1;display:grid;gap:12px;padding:14px;border:1px solid #dbe4ef;border-radius:10px;background:#fff;box-shadow:0 12px 28px #0f172a0a}.settings-system-report header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:10px;border-bottom:1px solid #e6edf5}.settings-system-report header strong,.settings-system-report header span{display:block}.settings-system-report header strong{color:#172033;font-size:17px;font-weight:950}.settings-system-report header span{margin-top:2px;color:#64748b;font-size:12px;font-weight:800}.settings-system-report header b{width:fit-content;padding:7px 10px;border-radius:999px;color:#0f766e;background:#ecfdf5;font-size:12px;font-weight:950;white-space:nowrap}.settings-system-table{display:grid;overflow:hidden;border:1px solid #e2e8f0;border-radius:9px}.settings-system-row{display:grid;grid-template-columns:minmax(160px,1.1fr) 145px minmax(220px,1.6fr) 92px;align-items:center;gap:12px;min-height:58px;padding:10px 12px;border-bottom:1px solid #e6edf5;background:#fff}.settings-system-row:last-child{border-bottom:0}.settings-system-row.head{min-height:38px;color:#64748b;background:#f8fafc;font-size:12px;font-weight:950}.settings-system-row strong,.settings-system-row small{display:block}.settings-system-row strong{color:#172033;font-size:14px;font-weight:950}.settings-system-row small,.settings-system-row p{margin:0;color:#64748b;font-size:12px;font-weight:800}.settings-system-status{width:fit-content;padding:6px 9px;border-radius:999px;color:#2563eb;background:#dbeafe;font-size:11px;font-weight:950;white-space:nowrap}.settings-system-status.database,.settings-system-status.payment{color:#047857;background:#d1fae5}.settings-system-status.browser{color:#1d4ed8;background:#dbeafe}.settings-system-status.offline{color:#b91c1c;background:#fee2e2}.settings-system-status.imei{color:#7c3aed;background:#ede9fe}.settings-system-row button{height:34px;border:1px solid #dbe4ef;border-radius:8px;color:#172033;background:#fff;font-size:12px;font-weight:900;cursor:pointer}.settings-system-row button:hover{border-color:#93c5fd;color:#2563eb;background:#eff6ff}.settings-action-row{display:flex;flex-wrap:wrap;gap:10px}.settings-tool-button{min-width:210px;justify-content:flex-start;text-align:left}.settings-tool-button>span{display:grid;gap:2px}.settings-tool-button strong{color:#172033;font-size:14px;font-weight:900}.settings-tool-button small{color:#64748b;font-size:11px;font-weight:800}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important}.settings-devices-dashboard,.settings-staff-panel{grid-column:1 / -1}.settings-devices-dashboard{display:grid;gap:10px}.settings-devices-hero,.settings-device-list-panel,.settings-device-config-panel{border:1px solid #dbe4ef;border-radius:10px;background:#fff;box-shadow:0 12px 28px #0f172a0a}.settings-devices-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 14px;background:linear-gradient(135deg,#ecfdf5f5,#fffffffa 56%),#fff}.settings-devices-hero strong,.settings-devices-hero span{display:block}.settings-devices-hero strong{color:#172033;font-size:15px;font-weight:950}.settings-devices-hero span{margin-top:3px;color:#64748b;font-size:12px;font-weight:800}.settings-devices-hero b{padding:7px 10px;border-radius:999px;color:#0f766e;background:#d1fae5;font-size:11px;font-weight:950;white-space:nowrap}.settings-device-status-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.settings-device-status-card{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:9px;padding:10px;border:1px solid #dbe4ef;border-radius:10px;background:#fff}.settings-device-status-card>span{display:grid;place-items:center;width:36px;height:36px;border-radius:9px;color:#0f766e;background:#ecfdf5}.settings-device-status-card.browser>span{color:#2563eb;background:#eff6ff}.settings-device-status-card.offline>span{color:#dc2626;background:#fee2e2}.settings-device-status-card small,.settings-device-status-card strong,.settings-device-status-card em{display:block;min-width:0}.settings-device-status-card small{color:#64748b;font-size:10.5px;font-weight:850}.settings-device-status-card strong{color:#172033;font-size:13px;font-weight:950;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.settings-device-status-card em{color:#64748b;font-size:10.5px;font-style:normal;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.settings-devices-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:10px}.settings-device-list-panel,.settings-device-config-panel{display:grid;align-content:start;gap:10px;padding:12px}.settings-device-list-panel header strong,.settings-device-config-panel header strong{display:block;color:#172033;font-size:15px;font-weight:950}.settings-device-list-panel header span,.settings-device-config-panel header span{display:block;margin-top:2px;color:#64748b;font-size:11.5px;font-weight:800}.settings-device-list{display:grid;gap:8px}.settings-device-card{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px;padding:10px;border:1px solid #dbe4ef;border-radius:10px;background:linear-gradient(135deg,#ecfdf5d9,#fffffff5 42%),#fff}.settings-device-icon,.settings-staff-avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:9px;color:#0f766e;background:#ecfdf5;box-shadow:inset 0 0 0 1px #0f766e29}.settings-device-card strong,.settings-device-card small{display:block}.settings-device-card strong{color:#172033;font-size:14px;font-weight:950}.settings-device-card small{margin-top:2px;color:#64748b;font-size:12px;font-weight:800}.settings-device-card p{margin:2px 0 0;color:#64748b;font-size:11px;font-weight:750}.settings-device-card .settings-system-status{grid-column:1 / -1;margin-left:48px}.settings-device-card button,.settings-staff-row button{height:34px;border:1px solid #dbe4ef;border-radius:8px;color:#172033;background:#fff;font-size:12px;font-weight:900;cursor:pointer}.settings-device-card button:hover,.settings-staff-row button:hover:not(:disabled){border-color:#5eead4;color:#0f766e;background:#f0fdfa}.settings-device-card button{grid-column:1 / -1;justify-self:start;margin-left:48px}.settings-device-form-grid{display:grid;grid-template-columns:1fr;gap:8px;padding:0;border:0;background:transparent}.settings-device-form-grid .settings-field{gap:5px}.settings-device-form-grid .settings-field input,.settings-device-form-grid .settings-field select{height:36px;font-size:13px}.settings-database-report{background:linear-gradient(135deg,#f8fafcf2,#fff 48%),#fff}.settings-staff-panel{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(0,1.15fr);gap:12px}.settings-staff-form-card,.settings-staff-list-card{display:grid;align-content:start;gap:10px;padding:12px;border:1px solid #dbe4ef;border-radius:10px;background:#fff;box-shadow:0 12px 28px #0f172a0a}.settings-staff-form-card header strong,.settings-staff-list-card header strong{display:block;color:#172033;font-size:15px;font-weight:950}.settings-staff-form-card header span,.settings-staff-list-card header span{display:block;margin-top:2px;color:#64748b;font-size:11.5px;font-weight:800}.settings-staff-form{display:grid;gap:8px}.settings-staff-form .settings-field{gap:5px}.settings-staff-form .settings-field span{font-size:11px}.settings-staff-form .settings-field input,.settings-staff-form .settings-field select{height:36px;padding:0 10px;border-radius:7px;font-size:13px;font-weight:800}.settings-staff-form .settings-field select{background:linear-gradient(45deg,transparent 50%,#64748b 50%) right 12px center / 6px 6px no-repeat,linear-gradient(180deg,#fff,#f8fafc);padding-right:30px}.settings-permission-picker{display:flex;flex-wrap:wrap;gap:6px}.settings-permission-picker label{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:5px 9px;border:1px solid #dbe4ef;border-radius:999px;color:#475569;background:#fff;font-size:11.5px;font-weight:900}.settings-permission-picker label.active{border-color:#93c5fd;color:#1d4ed8;background:#eff6ff}.settings-permission-picker input{width:13px;height:13px;accent-color:#2563eb}.settings-staff-form .primary-button{height:40px;min-height:40px;border-radius:8px;font-size:14px}.settings-staff-list{display:grid;gap:9px}.settings-staff-row{display:grid;grid-template-columns:42px minmax(0,1fr) 36px;align-items:center;gap:10px;padding:10px;border:1px solid #e2e8f0;border-radius:10px;background:linear-gradient(135deg,#f8fafc,#fff 44%)}.settings-staff-avatar{color:#475569;background:#f1f5f9;box-shadow:inset 0 0 0 1px #64748b29}.settings-staff-row strong,.settings-staff-row small,.settings-staff-row em{display:block;min-width:0}.settings-staff-row strong{color:#172033;font-size:14px;font-weight:950}.settings-staff-row small{margin-top:2px;color:#64748b;font-size:12px;font-weight:800}.settings-staff-row em{margin-top:4px;color:#2563eb;font-size:11px;font-style:normal;font-weight:850;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-staff-row button{width:34px;padding:0;color:#ef4444}.settings-staff-row button:disabled{cursor:not-allowed;opacity:.45}@media(max-width:980px){.settings-devices-hero,.settings-device-status-grid,.settings-devices-layout,.settings-staff-panel{grid-template-columns:1fr}.settings-device-card{align-items:start}}.settings-action-row .ghost-button,.settings-info-strip .ghost-button{min-height:42px;display:inline-flex;align-items:center;gap:8px}.settings-printer-modal{width:min(860px,calc(100vw - 44px))}.settings-printer-body{min-height:0;display:grid;gap:12px;padding:16px 18px 18px;overflow:auto;background:#f8fafc}.settings-printer-panel{display:grid;gap:12px;padding:14px;border:1px solid #dbe4ef;border-radius:10px;background:#fff;box-shadow:0 12px 26px #0f172a0b}.settings-printer-panel header{display:flex;align-items:center;gap:10px}.settings-printer-panel header>svg{width:38px;height:38px;padding:9px;border-radius:8px;color:#2563eb;background:#eff6ff}.settings-printer-panel strong,.settings-printer-panel span{display:block}.settings-printer-panel header strong{color:#172033;font-size:16px;font-weight:950}.settings-printer-panel header span,.settings-printer-switch>div>span{color:#64748b;font-size:12px;font-weight:800}.settings-printer-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.settings-printer-fields label{display:grid;gap:6px}.settings-printer-fields label>span{color:#64748b;font-size:12px;font-weight:850}.settings-printer-fields input,.settings-printer-fields select{width:100%;height:42px;padding:0 12px;border:1px solid #dce3eb;border-radius:8px;outline:none;color:#172033;background:#fff;font-size:14px;font-weight:850}.settings-printer-fields input:focus,.settings-printer-fields select:focus{border-color:#93c5fd;box-shadow:0 0 0 3px #2563eb14}.settings-printer-switch{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:8px;background:#f8fafc}.settings-modal-footer{display:flex;justify-content:flex-end;gap:10px;padding-top:2px}.settings-stock-modal{width:min(760px,calc(100vw - 44px))}.settings-stock-modal-body,.settings-imei-modal-body{display:grid;gap:14px;padding:16px 18px 18px;background:#f8fafc}.settings-unit-add{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;padding:14px;border:1px solid #dbe4ef;border-radius:10px;background:#fff}.settings-unit-add label{display:grid;gap:6px}.settings-unit-add span,.settings-unit-row span{color:#64748b;font-size:12px;font-weight:800}.settings-unit-add input,.settings-unit-edit-form input,.settings-imei-search input{width:100%;height:42px;border:1px solid #dce3eb;border-radius:8px;outline:none;color:#172033;background:#fff;font-size:14px;font-weight:850}.settings-unit-add input,.settings-unit-edit-form input{padding:0 12px}.settings-unit-add input:focus,.settings-unit-edit-form input:focus,.settings-imei-search input:focus{border-color:#93c5fd;box-shadow:0 0 0 3px #2563eb14}.settings-unit-list{display:grid;gap:8px;max-height:340px;overflow:auto}.settings-unit-row{min-height:56px;display:grid;grid-template-columns:minmax(0,1fr) 38px 38px;align-items:center;gap:8px;padding:10px 12px;border:1px solid #dbe4ef;border-radius:10px;background:#fff}.settings-unit-row strong{display:block;color:#172033;font-size:15px;font-weight:950}.settings-unit-edit-form{grid-column:1 / -1;display:grid;grid-template-columns:minmax(0,1fr) 38px 38px;gap:8px;align-items:center}.settings-icon-action{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #dbe4ef;border-radius:8px;color:#64748b;background:#fff;cursor:pointer}.settings-icon-action.save{color:#fff;border-color:#2563eb;background:#2563eb}.settings-icon-action.danger{color:#ef4444}.settings-icon-action:disabled{color:#cbd5e1;background:#f8fafc;cursor:not-allowed}.settings-unit-message{margin:0;color:#64748b;font-size:13px;font-weight:850}.settings-imei-modal{width:min(1040px,calc(100vw - 44px))}.settings-imei-stat-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.settings-imei-stat-grid article{padding:12px;border:1px solid #dbe4ef;border-radius:10px;background:#fff}.settings-imei-stat-grid span,.settings-imei-stat-grid small{display:block;color:#64748b;font-size:11px;font-weight:850}.settings-imei-stat-grid strong{display:block;margin:4px 0 2px;color:#172033;font-size:24px;font-weight:950}.settings-imei-stat-grid .warning{border-color:#fecaca;background:#fff1f2}.settings-imei-stat-grid .warning strong{color:#ef4444}.settings-imei-search{height:46px;display:flex;align-items:center;gap:10px;padding:0 12px;border:1px solid #dbe4ef;border-radius:10px;color:#64748b;background:#fff}.settings-imei-search input{flex:1;height:100%;padding:0;border:0;box-shadow:none}.settings-imei-table-wrap{min-height:320px;max-height:430px;overflow:auto;border:1px solid #dbe4ef;border-radius:10px;background:#fff}.settings-imei-table{width:100%;border-collapse:collapse;color:#172033}.settings-imei-table th,.settings-imei-table td{padding:11px 12px;border-bottom:1px solid #e6edf5;text-align:left;font-size:13px;font-weight:850;vertical-align:middle}.settings-imei-table th{position:sticky;top:0;z-index:1;color:#64748b;background:#f8fafc;font-size:12px;font-weight:900}.settings-imei-table td span{display:block;color:#64748b;font-size:11px;font-weight:800}.settings-imei-code{font-variant-numeric:tabular-nums;letter-spacing:0}.settings-imei-pill{width:fit-content;padding:5px 9px;border-radius:999px;font-size:11px!important;font-weight:950!important}.settings-imei-pill.ready{color:#047857!important;background:#d1fae5}.settings-imei-pill.sold{color:#2563eb!important;background:#dbeafe}.settings-imei-empty{min-height:220px;display:grid;place-items:center;align-content:center;gap:10px;color:#94a3b8;font-size:14px;font-weight:850}.settings-barcode-done{width:100%;min-height:42px;margin-top:4px}.settings-payment-grid{display:grid;grid-template-columns:repeat(4,minmax(118px,1fr));justify-content:stretch;align-items:stretch;gap:8px}.settings-payment-grid button{--payment-accent: #2563eb;--payment-soft: #eff6ff;--payment-off: #94a3b8;width:100%;min-height:64px;display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;justify-items:start;gap:8px;padding:9px 10px;border:1px solid #dce3eb;border-radius:8px;color:var(--payment-off);background:#fff;font-weight:900;text-align:left;cursor:pointer;opacity:.72;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,color .16s ease,opacity .16s ease}.settings-payment-grid button.enabled{color:var(--payment-accent);border-color:color-mix(in srgb,var(--payment-accent) 32%,#dce3eb);background:linear-gradient(135deg,color-mix(in srgb,var(--payment-accent) 14%,#ffffff),#fff 68%);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--payment-accent) 9%,transparent),0 8px 18px color-mix(in srgb,var(--payment-accent) 12%,transparent);opacity:1}.settings-payment-grid button:not(.enabled):hover{opacity:.9;border-color:#cbd5e1;background:#f8fafc}.settings-payment-grid .settings-payment-cash{--payment-accent: #059669;--payment-soft: #ecfdf5}.settings-payment-grid .settings-payment-qr{--payment-accent: #2563eb;--payment-soft: #eff6ff}.settings-payment-grid .settings-payment-transfer{--payment-accent: #0f766e;--payment-soft: #f0fdfa}.settings-payment-grid .settings-payment-card{--payment-accent: #7c3aed;--payment-soft: #f5f3ff}.settings-payment-grid button span{color:#64748b;font-size:12.5px;line-height:1.2;white-space:nowrap}.settings-payment-grid button.enabled span{color:#172033}.settings-payment-grid button b{padding:3px 7px;border-radius:999px;background:#f1f5f9;color:#64748b;font-size:10px}.settings-payment-grid button.enabled b{color:var(--payment-accent);background:color-mix(in srgb,var(--payment-accent) 13%,#ffffff)}.settings-payment-flow{display:grid;gap:8px}.settings-payment-finance-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.settings-payment-account-card{display:grid;gap:8px;padding:10px;border:1px solid #dbe4ef;border-radius:10px;background:linear-gradient(135deg,#f8fafce0,#fff 48%),#fff;box-shadow:0 12px 28px #0f172a0a}.settings-payment-account-card.promptpay{border-color:#bfdbfe;background:linear-gradient(135deg,#eff6fffa,#fff 52%),#fff}.settings-payment-account-card.transfer{border-color:#a7f3d0;background:linear-gradient(135deg,#f0fdfafa,#fff 52%),#fff}.settings-payment-account-card header{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:8px}.settings-payment-logo{display:grid;place-items:center;width:36px;height:36px;border-radius:8px;background:#fff;box-shadow:inset 0 0 0 1px #94a3b83d}.promptpay-logo{color:#2563eb}.transfer-logo{color:#0f766e}.settings-payment-account-card header strong,.settings-payment-account-card header small{display:block;min-width:0}.settings-payment-account-card header strong{color:#172033;font-size:14px;font-weight:950}.settings-payment-account-card header small{margin-top:2px;color:#64748b;font-size:11px;font-weight:800}.settings-payment-account-card header em{padding:4px 7px;border-radius:999px;color:#0f766e;background:#d1fae5;font-size:10px;font-style:normal;font-weight:950;white-space:nowrap}.settings-payment-card-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.settings-payment-card-fields.transfer-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-payment-card-fields .settings-field{gap:4px}.settings-payment-card-fields .settings-field span{font-size:10.5px}.settings-payment-card-fields .settings-field input,.settings-payment-card-fields .settings-field select{height:34px;padding:0 9px;border-radius:7px;font-size:12.5px;font-weight:850}.settings-payment-flow .settings-toggle-row{min-height:44px;padding:7px 9px}@media(max-width:1240px){.settings-payment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-payment-finance-cards{grid-template-columns:1fr}}.settings-locked-toggle-row{cursor:default}.settings-locked-toggle-row .toggle{cursor:pointer}.settings-locked-toast{position:fixed;z-index:160;top:22px;left:50%;display:inline-flex;min-height:46px;align-items:center;gap:10px;padding:0 18px;border:1px solid #fecaca;border-radius:999px;color:#b91c1c;background:#fff7f7;box-shadow:0 18px 45px #b91c1c29;font-size:14px;font-weight:950;transform:translate(-50%);animation:settings-locked-toast-in .22s ease-out both}.settings-locked-toast svg{flex:0 0 auto}@keyframes settings-locked-toast-in{0%{opacity:0;transform:translate(-50%,-8px) scale(.98)}to{opacity:1;transform:translate(-50%) scale(1)}}.settings-receipt-layout{display:grid;gap:12px;padding:14px;border:1px solid #e2e8f0;border-radius:8px;background:#fff}.settings-receipt-layout>div:first-child strong,.settings-receipt-fields>strong{display:block;color:#172033;font-size:15px}.settings-receipt-layout>div:first-child span{display:block;margin-top:3px;color:#64748b;font-size:12px;font-weight:800}.settings-receipt-paper-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.settings-receipt-paper-options button{min-height:70px;display:grid;align-content:center;gap:3px;padding:12px 14px;border:1px solid #dce3eb;border-radius:8px;color:#172033;background:#fff;text-align:left;font-weight:900}.settings-receipt-paper-options button.active{border-color:#2563eb;background:linear-gradient(135deg,#eff6ff,#fff);box-shadow:inset 0 0 0 1px #2563eb14}.settings-receipt-paper-options small{color:#64748b;font-size:12px;font-weight:800}.settings-receipt-fields{display:grid;gap:10px;padding:14px;border:1px solid #e2e8f0;border-radius:8px;background:#fff}.settings-receipt-fields>div{display:flex;flex-wrap:wrap;gap:8px}.settings-receipt-fields button{min-height:34px;display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border:1px solid #dce3eb;border-radius:999px;color:#64748b;background:#fff;font-size:12px;font-weight:900}.settings-receipt-fields button span{width:15px;height:15px;border:1px solid #cbd5e1;border-radius:5px}.settings-receipt-fields button.active{color:#1d4ed8;border-color:#93c5fd;background:#eff6ff}.settings-receipt-fields button.active svg{color:#1d4ed8}.settings-print-suite{display:grid;gap:12px}.settings-print-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 16px;align-items:center;padding:14px;border:1px solid #dbeafe;border-radius:10px;background:linear-gradient(135deg,#2563eb0e,#14b8a60a),#fff;box-shadow:0 10px 26px #0f172a0b}.settings-print-hero-title{min-width:0;display:grid;grid-template-columns:44px minmax(0,1fr);gap:11px;align-items:center}.settings-print-hero-icon,.settings-print-panel-header>span{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #bfdbfe;border-radius:9px;color:#2563eb;background:#eff6ff}.settings-print-hero-title strong,.settings-print-panel-header strong{display:block;color:#172033;font-size:18px;line-height:1.15}.settings-print-hero-title span,.settings-print-panel-header small{display:block;margin-top:3px;color:#64748b;font-size:12px;font-weight:800;line-height:1.3}.settings-print-hero-toggle{display:inline-flex;align-items:center;justify-content:flex-end;gap:10px;padding:8px 10px;border:1px solid #dbe4ef;border-radius:999px;background:#ffffffd1}.settings-print-hero-toggle>span{color:#334155;font-size:12px;font-weight:900;white-space:nowrap}.settings-print-flow{grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:7px;padding-top:4px}.settings-print-flow span{min-height:30px;display:inline-flex;align-items:center;gap:7px;padding:6px 9px;border:1px solid #e2e8f0;border-radius:999px;color:#475569;background:#ffffffdb;font-size:12px;font-weight:850}.settings-print-flow svg{color:#2563eb}.settings-print-main{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(300px,.82fr);gap:12px;align-items:start}.settings-print-panel{display:grid;gap:12px;padding:14px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;box-shadow:0 10px 24px #0f172a09}.settings-print-panel-header{display:grid;grid-template-columns:44px minmax(0,1fr);gap:11px;align-items:center;padding-bottom:11px;border-bottom:1px solid #e8eef5}.settings-print-paper-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.settings-print-paper-options button{min-height:58px;display:grid;align-content:center;gap:2px;padding:10px 12px;border:1px solid #dce3eb;border-radius:9px;color:#172033;background:linear-gradient(180deg,#fff,#fbfdff);text-align:left;font-weight:900;cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.settings-print-paper-options button.active{border-color:#2563eb;background:linear-gradient(135deg,#eff6ff,#fff 75%);box-shadow:inset 0 0 0 1px #2563eb1a}.settings-print-paper-options button strong{font-size:16px}.settings-print-paper-options button small{color:#64748b;font-size:11px;font-weight:800}.settings-receipt-config-button{min-height:68px;display:grid;grid-template-columns:minmax(0,1fr) 22px;align-items:center;gap:12px;padding:11px 12px;border:1px solid #dbeafe;border-radius:10px;color:#172033;background:linear-gradient(135deg,#2563eb12,#fffffff5),#fff;text-align:left;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.settings-receipt-config-button:hover{border-color:#93c5fd;box-shadow:0 12px 24px #2563eb14;transform:translateY(-1px)}.settings-receipt-config-button>div{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:10px}.settings-receipt-config-button>div>svg{width:36px;height:36px;padding:9px;border-radius:9px;color:#2563eb;background:#eff6ff}.settings-receipt-config-button span,.settings-receipt-config-button strong,.settings-receipt-config-button small{display:block;min-width:0}.settings-receipt-config-button strong{font-size:14px}.settings-receipt-config-button small{margin-top:2px;color:#64748b;font-size:11px;font-weight:800}.settings-receipt-config-button>svg{color:#64748b;transform:rotate(180deg)}.settings-print-fields{display:grid;gap:9px;padding:12px;border:1px solid #edf2f7;border-radius:9px;background:#f8fafc}.settings-print-fields>strong,.settings-print-footer-field>span{color:#334155;font-size:12px;font-weight:900}.settings-print-fields>div{display:flex;flex-wrap:wrap;gap:7px}.settings-print-fields button{min-height:30px;display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border:1px solid #dbe4ef;border-radius:999px;color:#64748b;background:#fff;font-size:11px;font-weight:900;cursor:pointer}.settings-print-fields button span{width:14px;height:14px;border:1px solid #cbd5e1;border-radius:4px}.settings-print-fields button.active{color:#1d4ed8;border-color:#93c5fd;background:#eff6ff}.settings-print-footer-field{display:grid;gap:7px}.settings-print-footer-field input{width:100%;height:42px;padding:0 12px;border:1px solid #dce3eb;border-radius:8px;outline:none;color:#172033;background:#fff;font-weight:900}.settings-print-barcode-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px;border:1px solid #ccfbf1;border-radius:9px;background:linear-gradient(135deg,#f0fdfa,#fff)}.settings-print-barcode-card strong,.settings-print-barcode-card span{display:block}.settings-print-barcode-card strong{color:#172033;font-size:14px}.settings-print-barcode-card span{margin-top:2px;color:#64748b;font-size:12px;font-weight:800}.settings-print-tool-grid{display:grid;grid-template-columns:1fr;gap:9px}.settings-print-tool{min-height:58px;display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:9px;padding:10px;border:1px solid #dce3eb;border-radius:9px;color:#172033;background:#fff;text-align:left;cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease}.settings-print-tool:hover{border-color:#93c5fd;background:#f8fbff;box-shadow:0 10px 20px #2563eb14;transform:translateY(-1px)}.settings-print-tool>svg{width:34px;height:34px;padding:8px;border-radius:8px;color:#2563eb;background:#eff6ff}.settings-print-tool span,.settings-print-tool strong,.settings-print-tool small{display:block;min-width:0}.settings-print-tool strong{color:#172033;font-size:13px;line-height:1.2}.settings-print-tool small{margin-top:2px;color:#64748b;font-size:11px;font-weight:800}.settings-receipt-modal{width:min(1120px,calc(100vw - 28px))}.settings-receipt-modal-body{display:grid;grid-template-columns:minmax(360px,.86fr) minmax(380px,1fr);gap:14px;padding:14px;overflow:auto}.settings-receipt-editor-panel,.settings-receipt-preview-panel{display:grid;align-content:start;gap:12px;padding:14px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;box-shadow:0 10px 24px #0f172a09}.settings-receipt-editor-block{display:grid;gap:5px}.settings-receipt-editor-block>strong,.settings-receipt-preview-head strong{color:#172033;font-size:16px;line-height:1.2}.settings-receipt-editor-block>span{color:#64748b;font-size:12px;font-weight:800}.receipt-modal-fields{margin-top:7px;padding:12px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc;display:grid;gap:12px}.receipt-field-group{display:grid;gap:8px}.receipt-field-group>strong{color:#475569;font-size:12px;font-weight:950}.receipt-field-group>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.receipt-checkbox-option{min-height:36px;display:flex;align-items:center;gap:9px;padding:8px 10px;border:1px solid #e2e8f0;border-radius:8px;color:#334155;background:#fff;font-size:12px;font-weight:900;line-height:1.15;cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,color .16s ease}.receipt-checkbox-option input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.receipt-checkbox-box{width:18px;height:18px;flex:0 0 18px;display:inline-flex;align-items:center;justify-content:center;border:1.5px solid #cbd5e1;border-radius:5px;color:transparent;background:#fff;box-shadow:inset 0 1px #ffffffd9;transition:border-color .16s ease,background .16s ease,color .16s ease,box-shadow .16s ease}.receipt-checkbox-option:hover{border-color:#bfdbfe;background:#fff}.receipt-checkbox-option.active{color:#172033;border-color:#93c5fd;background:linear-gradient(135deg,#eff6ff,#fff);box-shadow:0 8px 18px #2563eb14}.receipt-checkbox-option.active .receipt-checkbox-box{color:#fff;border-color:#2563eb;background:#2563eb;box-shadow:0 5px 12px #2563eb38}.receipt-checkbox-option:has(input:focus-visible){outline:2px solid #93c5fd;outline-offset:2px}.receipt-modal-footer-field{padding-top:4px}.settings-receipt-modal-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:2px}.settings-receipt-modal-actions .ghost-button,.settings-receipt-modal-actions .primary-button{min-height:38px;border-radius:8px}.settings-receipt-preview-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.settings-receipt-preview-head span{padding:5px 9px;border-radius:999px;color:#1d4ed8;background:#eff6ff;font-size:11px;font-weight:900}.settings-receipt-preview-paper{min-height:500px;display:grid;align-items:start;justify-items:center;padding:18px;border:1px solid #e2e8f0;border-radius:10px;background:linear-gradient(#e8eef5 1px,transparent 1px),linear-gradient(90deg,#e8eef5 1px,transparent 1px),#f8fafc;background-size:22px 22px;overflow:auto}.settings-receipt-preview-paper .receipt-preview{width:min(100%,350px)}.settings-receipt-preview-paper .receipt-preview.a4{width:min(100%,500px)}.receipt-preview.compact{padding:14px;font-size:12px}.receipt-preview.compact .receipt-preview-head strong{font-size:16px}.receipt-preview.compact .receipt-preview-row{grid-template-columns:minmax(0,1fr) 38px 78px;gap:6px;padding:5px 0}.receipt-preview.compact .receipt-preview-summary{gap:5px 12px}.receipt-preview.compact .receipt-preview-summary strong:last-child{font-size:17px}.receipt-preview.compact footer{font-size:11px}@media(max-width:1120px){.settings-print-main,.settings-receipt-modal-body,.settings-print-hero{grid-template-columns:1fr}.settings-print-hero-toggle{justify-self:start}}@media(max-width:640px){.settings-print-paper-options{grid-template-columns:1fr}.settings-print-hero-title,.settings-print-panel-header{grid-template-columns:38px minmax(0,1fr)}.settings-print-hero-icon,.settings-print-panel-header>span{width:38px;height:38px}}.toggle{position:relative;width:40px;height:24px;flex:0 0 auto;display:inline-block;cursor:pointer;vertical-align:middle}.toggle input{position:absolute;opacity:0;pointer-events:none}.toggle span{position:absolute;top:0;right:0;bottom:0;left:0;display:block;margin:0;border:0;border-radius:999px;background:#c8c8c8;overflow:hidden;color:transparent;font-size:0;line-height:0;box-shadow:inset 0 1px 2px #0f172a14;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease}.toggle span:after{content:"";position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #0f172a2e,0 0 0 1px #0f172a0a;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}.toggle input:checked+span{background:#22c55e;box-shadow:inset 0 1px 2px #0f172a14}.toggle input:checked+span:after{transform:translate(16px)}.toggle input:focus-visible+span{outline:3px solid rgba(37,99,235,.18);outline-offset:3px}@media(max-width:1180px){.app-shell{grid-template-columns:238px minmax(0,1fr)}.dashboard-grid{grid-template-columns:1fr}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-detail-page{height:auto;overflow:auto}.finance-detail-hero{grid-template-columns:auto auto minmax(0,1fr)}.finance-detail-periods{grid-column:1 / -1;justify-self:start}.finance-detail-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-detail-grid{grid-template-columns:1fr}}@media(max-width:1320px){.pos-page{--pos-sidebar-width: 78px;--pos-sidebar-expanded-width: 238px;--pos-page-x-padding: 18px;padding:18px;grid-template-columns:var(--pos-sidebar-width) minmax(0,1fr)}.pos-header{grid-template-columns:210px minmax(280px,1fr) auto}.pos-main-grid{grid-template-columns:minmax(0,1fr) minmax(350px,400px)}.pos-product-hero{grid-template-columns:minmax(260px,.9fr) minmax(320px,1.1fr);gap:24px}.product-photo{height:clamp(180px,29vh,290px);min-height:0}.scan-product-card{grid-template-columns:1fr}.scan-product-card .product-visual{height:230px}.inventory-detail-toolbar{grid-template-columns:minmax(230px,1fr) max-content}.inventory-toolbar-actions{grid-template-columns:minmax(190px,220px) repeat(4,max-content) max-content}.inventory-stat-grid{grid-template-columns:repeat(4,minmax(136px,1fr))}.category-overview-toolbar{grid-template-columns:minmax(240px,1fr) auto}.category-overview-actions{justify-content:end}.inventory-filter-row{grid-template-columns:auto minmax(0,1fr) auto}.brand-management-panel{grid-template-columns:1fr}.inventory-sort-tools{grid-column:auto;justify-content:end}}@media(min-width:1041px)and (max-height:760px){.pos-page{gap:8px;padding-top:10px;padding-bottom:8px}.pos-sidebar{gap:10px;padding:10px}.pos-side-brand{min-height:46px}.pos-side-nav button,.pos-side-bottom-nav button{height:42px}.pos-brand strong{font-size:28px}.pos-brand span,.pos-shortcuts{font-size:13px}.pos-product-panel{padding:12px}.pos-product-hero{gap:18px}.product-photo{height:clamp(170px,26vh,230px)}.pos-product-info h1{font-size:clamp(32px,5.4vh,40px)}.pos-product-info p{font-size:clamp(14px,var(--spec-line-size, 17px),18px)}.sku-line,.product-spec-card h2,.note-card h2,.sale-item-info span,.sale-item-info small{font-size:13px}.price-card strong{font-size:clamp(34px,5.8vh,44px)}.pos-add-button,.pos-secondary-button{min-height:46px;font-size:16px}.pos-cash-box{gap:6px;padding:10px 12px}.pos-cash-box .cash-received-row,.pos-cash-box .change-due-row{min-height:36px}.pos-cash-box .cash-received-row span,.pos-cash-box .change-due-row span{font-size:16px}.pos-cash-box .cash-received-row input{height:42px;font-size:24px}.pos-cash-box .change-due-row strong{font-size:28px}.product-spec-card{padding:10px 12px}.note-card{padding:0}.product-spec-card ul{font-size:12px;line-height:1.25}.note-card textarea{min-height:46px;padding:8px}.sale-list-header{min-height:42px}.sale-item{grid-template-columns:34px minmax(0,1fr) minmax(96px,auto);min-height:48px;gap:7px;padding:5px 9px}.sale-item .product-photo{height:30px}.sale-item-info{gap:1px}.sale-item-info strong{font-size:11px}.sale-qty{width:52px;height:15px;grid-template-columns:15px 1fr 15px;font-size:9px}.sale-item-actions{gap:6px}.pos-summary{gap:6px;padding:10px 14px;font-size:13px}.summary-value,.discount-edit,.discount-edit input{font-size:16px}.discount-edit input{height:28px}.net-total{padding-top:7px}.net-total span{font-size:20px}.net-total strong{font-size:30px}.change-due-row strong{font-size:19px}.payment-card{gap:8px;padding:10px 12px;margin-bottom:0}.cash-received-row input{height:34px;font-size:16px}.payment-methods button{min-height:50px;gap:4px;padding:6px 4px;font-size:12px}.payment-visual{width:34px;height:26px;border-radius:7px}.pos-checkout-button{min-height:42px;font-size:16px}.pos-shortcuts b{min-width:36px;min-height:24px}}@media(max-width:1040px){.pos-page{--pos-sidebar-width: 0px;--pos-page-x-padding: 0px;--pos-page-grid-gap: 0px;height:auto;min-height:100vh;overflow:visible;grid-template-columns:1fr}.pos-sidebar{grid-column:1;grid-row:auto;width:100%;height:auto;min-height:auto;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:auto;align-items:center}.pos-side-nav,.pos-side-bottom-nav{display:flex;overflow-x:auto}.pos-page .pos-side-nav button,.pos-page .pos-side-bottom-nav button{width:auto;min-width:48px;padding:0 12px}.pos-page .pos-side-nav span,.pos-page .pos-side-bottom-nav span{display:inline}.pos-header,.pos-main-grid,.pos-content-shell,.pos-shortcuts{grid-column:1}.pos-header,.pos-main-grid,.pos-product-hero{grid-template-columns:1fr}.pos-header-actions{justify-content:stretch}.pos-header-actions button{flex:1}.pos-sale-panel{order:2}.pos-shortcuts{flex-wrap:wrap}.cashier-layout{grid-template-columns:1fr}.cart-panel{position:static;max-height:none}.inventory-toolbar-actions{grid-template-columns:1fr 1fr}.inventory-add-button{grid-column:1 / -1}.inventory-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-filter-row{grid-template-columns:1fr}.sales-history-title,.sales-history-controls{align-items:stretch;flex-direction:column}.sales-history-controls{justify-content:stretch}.sales-history-search{width:100%}.sales-history-segments{width:100%;justify-content:start;overflow-x:auto;overflow-y:visible}.sales-history-custom-range{right:auto;left:0;width:min(470px,calc(100vw - 28px))}.sales-history-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-history-layout{grid-template-columns:1fr}.sales-history-list,.sales-history-items{max-height:none}.sales-history-detail{height:auto;max-height:none;min-height:0}.sales-history-detail-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-history-detail-meta span,.sales-history-detail-meta span:first-child,.sales-history-detail-meta span:last-child{border-right-width:1px;border-radius:10px}.brand-panel-actions{justify-content:start;flex-wrap:wrap}.inventory-filter-button{justify-self:start}.inventory-sort-tools{justify-content:start;flex-wrap:wrap}}@media(max-width:760px){.pos-page{padding:12px;gap:12px}.finance-detail-page{padding:8px}.finance-detail-hero{grid-template-columns:auto minmax(0,1fr)}.finance-detail-mark{display:none}.finance-detail-periods{width:100%;overflow-x:auto}.finance-detail-kpis{grid-template-columns:1fr}.finance-detail-table-head{display:none}.finance-detail-table-row.sales,.finance-detail-table-row.profit,.finance-detail-table-row.cost{grid-template-columns:1fr 1fr}.pos-brand strong{font-size:28px}.pos-search{height:auto;min-height:58px;grid-template-columns:38px minmax(0,1fr) 42px}.pos-header-actions{display:none}.pos-product-panel{overflow:visible;padding:14px}.pos-product-media{padding-top:0}.product-photo{height:auto;min-height:260px}.pos-product-info h1{font-size:36px}.pos-product-info p{font-size:clamp(14px,var(--spec-line-size, 17px),18px)}.product-spec-card ul{columns:1}.sale-item{grid-template-columns:58px minmax(0,1fr) minmax(96px,auto)}.pos-shortcuts{display:none}.mobile-only{display:inline-flex}.app-shell{display:block}.sidebar{position:fixed;z-index:30;inset:0 auto 0 0;width:min(84vw,310px);transform:translate(-104%);transition:transform .18s ease}.sidebar.open{transform:translate(0)}.brand-row .mobile-only{margin-left:auto;color:#fff;background:#1f2937;border-color:#ffffff14}.scrim{position:fixed;z-index:20;top:0;right:0;bottom:0;left:0;width:100%;min-height:100%;border:0;background:#0f172a7a}.main-area{padding:14px}.topbar{min-height:66px;margin-bottom:12px}.topbar h1{font-size:24px}.topbar-actions{display:none}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.barcode-panel,.scan-product-card{grid-template-columns:1fr}.barcode-panel .primary-button{width:100%}.scan-product-card .product-visual{height:220px}.sale-price,.barcode-line,.product-stock-line{align-items:flex-start;flex-direction:column}.product-card{min-height:222px;padding:10px}.product-visual{height:82px}.cart-panel{padding:13px}.stats-grid{grid-template-columns:1fr}.inventory-detail-page{padding:12px}.inventory-detail-title{align-items:flex-start}.inventory-detail-title h2{font-size:25px}.inventory-toolbar-actions{grid-template-columns:1fr}.inventory-action-button,.inventory-add-button,.inventory-filter-button{width:100%}.inventory-stat-grid{grid-template-columns:1fr}.category-overview-actions{display:grid;grid-template-columns:1fr}.category-search{width:100%}.inventory-stat-grid article{min-height:88px}.brand-management-panel{padding:8px}.brand-add-form,.brand-add-form input{width:100%}.bar-chart{height:240px;gap:8px}.rank-list div{grid-template-columns:24px 50px minmax(0,1fr)}.rank-list strong{grid-column:3;color:#64748b;font-size:13px}.order-list article{grid-template-columns:minmax(0,1fr) auto}.order-list .pill,.order-list time{justify-self:start}.sales-history-stats{grid-template-columns:1fr}.sales-history-table-head{display:none}.sales-history-row,.sales-history-item-row{grid-template-columns:1fr}.sales-history-detail-header{display:grid}.sales-history-bill-total{text-align:left}.bill-status{margin-left:0}.sales-history-detail-meta{grid-template-columns:1fr}.sales-history-items-head{display:none}.sales-history-summary{grid-template-columns:1fr}.sales-history-summary div{border-right:0;border-bottom:1px solid #dbe4ef}.sales-history-summary div:last-child{border-bottom:0}.sales-history-row b,.sales-history-row .pill,.sales-history-row time{justify-self:start}.settings-workspace,.settings-detail-grid,.settings-store-fields{grid-template-columns:1fr}.store-main-grid,.store-contact-grid,.store-address-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.store-contact-grid .settings-field:first-child{grid-column:1 / -1}.settings-system-report header{align-items:flex-start;flex-direction:column}.settings-system-table{border:0;gap:8px;overflow:visible}.settings-system-row.head{display:none}.settings-system-row{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;border:1px solid #e2e8f0;border-radius:9px}.settings-system-row p{grid-column:1 / -1}.settings-system-row button{grid-column:1 / -1;width:100%}.settings-payment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-payment-grid button{min-height:58px}.settings-payment-finance-cards,.settings-payment-card-fields,.settings-payment-card-fields.transfer-fields{grid-template-columns:1fr}.settings-logo-row{grid-template-columns:46px minmax(0,1fr)}.settings-logo-row .ghost-button,.settings-logo-remove{justify-self:start}.settings-menu{max-height:none}.settings-menu button{grid-template-columns:42px minmax(0,1fr)}.settings-menu em{grid-column:2;justify-self:start}.settings-info-strip,.settings-toggle-row{grid-template-columns:1fr}.settings-info-strip .ghost-button,.settings-toggle-row .toggle{justify-self:end}}@media(max-width:460px){.main-area{padding:10px}.sales-pane,.cart-panel,.chart-panel,.table-panel,.data-page{padding:12px}.product-grid,.store-main-grid,.store-contact-grid,.store-address-grid{grid-template-columns:1fr}.product-card{min-height:204px}.barcode-panel{padding:12px}.barcode-panel input{height:52px;font-size:15px}.scan-product-card{padding:12px}.scan-product-card .product-visual{height:190px}.category-tabs button{min-height:34px;padding:0 10px;font-size:13px}.cart-line{grid-template-columns:1fr}.qty-control{width:92px}.grand-total strong{font-size:21px}}@media(max-width:1040px){.barcode-print-overlay{top:0;right:0;bottom:0;left:0;padding:12px}.barcode-print-content{grid-template-columns:1fr;overflow:auto}.barcode-product-picker,.barcode-preview-panel{min-height:320px}.barcode-print-settings{grid-template-columns:1fr}.barcode-settings-actions{grid-template-columns:1fr 1fr}.barcode-current-template{grid-column:1 / -1}.barcode-designer-modal-body,.settings-printer-fields{grid-template-columns:1fr}.barcode-live-preview-card{position:static}.product-create-overlay{top:0;right:0;bottom:0;left:0;padding:12px}.product-create-form{grid-template-columns:1fr}.product-create-fields.three{grid-template-columns:repeat(2,minmax(0,1fr))}.product-create-fields.product-core-fields{grid-template-columns:minmax(120px,.8fr) minmax(150px,1.2fr)}.product-create-fields.price-profit-row,.product-form,.inventory-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-form .wide-field,.product-form .checkout-button,.form-segments,.form-group-lock{grid-column:1 / -1}}@media(max-width:560px){.barcode-print-header,.barcode-print-header>div:last-child{align-items:stretch;flex-direction:column}.barcode-qty-row{grid-template-columns:1fr}.product-create-header{align-items:stretch;flex-direction:column}.product-create-search{width:100%;min-width:0}.product-create-actions{justify-content:stretch}.product-create-actions .ghost-button,.product-create-actions .primary-button{flex:1}.product-create-fields.two,.product-create-fields.three,.product-create-fields.product-core-fields,.product-create-fields.price-profit-row,.cost-vat-input{grid-template-columns:1fr}.cost-vat-input input{border-radius:8px 8px 0 0}.cost-vat-dropdown>button{border-left:1px solid #dce3eb;border-top:0;border-radius:0 0 8px 8px}.cost-vat-menu{left:0;right:0;width:auto}.product-name-category-row,.product-image-uploader,.product-form,.inventory-card-grid{grid-template-columns:1fr}.inventory-card{min-height:276px;grid-template-rows:128px minmax(0,1fr) auto}.inventory-card .product-visual{height:128px}.section-actions{width:100%;flex-wrap:wrap;justify-content:flex-start}}.report-print-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:180;display:flex;align-items:center;justify-content:center;padding:24px;background:#0f172a6b;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.report-print-modal{width:min(1120px,calc(100vw - 40px));max-height:calc(100vh - 40px);display:flex;flex-direction:column;overflow:hidden;border:1px solid #dbe5f1;border-radius:18px;background:#fff;box-shadow:0 24px 70px #0f172a40}.report-print-header{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 22px;border-bottom:1px solid #e2e8f0;background:linear-gradient(135deg,#f8fbff,#eef7ff)}.report-print-title{display:flex;align-items:center;gap:12px}.report-print-title>span{width:46px;height:46px;display:grid;place-items:center;border:1px solid #bfdbfe;border-radius:14px;color:#1d4ed8;background:#eff6ff}.report-print-title small{display:block;color:#64748b;font-size:13px;font-weight:800}.report-print-title h2{margin:0;color:#111827;font-size:28px;line-height:1}.report-print-close{width:44px;height:44px;display:grid;place-items:center;border:1px solid #dbe5f1;border-radius:12px;color:#64748b;background:#fff;cursor:pointer}.report-print-body{min-height:0;display:grid;grid-template-columns:330px minmax(0,1fr);gap:16px;padding:16px;overflow:auto;background:#f6f9fd}.report-print-picker{min-width:0;display:flex;flex-direction:column;gap:12px}.report-print-group{padding:12px;border:1px solid #dbe5f1;border-radius:16px;background:#fff;box-shadow:0 12px 34px #0f172a0f}.report-print-group>strong{display:block;margin:2px 4px 10px;color:#64748b;font-size:14px;font-weight:900}.report-print-option{width:100%;min-height:72px;display:grid;grid-template-columns:42px minmax(0,1fr) 34px 22px;align-items:center;gap:10px;padding:10px;border:1px solid transparent;border-radius:14px;color:#111827;background:transparent;text-align:left;cursor:pointer}.report-print-option:hover{border-color:#dbeafe;background:#f8fbff}.report-print-option.active{border-color:#93c5fd;background:#eff6ff;box-shadow:inset 4px 0 #2563eb}.report-print-option>span{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;color:#2563eb;background:#eef4ff}.report-print-option div{min-width:0}.report-print-option div b{display:block;color:#111827;font-size:16px;font-weight:900;line-height:1.15}.report-print-option div small{display:block;margin-top:4px;color:#64748b;font-size:12px;font-weight:800;line-height:1.35}.report-print-option em{min-width:30px;justify-self:end;padding:4px 8px;border-radius:999px;color:#475569;background:#eef2f7;font-size:12px;font-style:normal;font-weight:900;text-align:center}.report-print-option>svg{justify-self:center;color:#2563eb}.report-print-preview{min-width:0}.report-print-paper{min-height:560px;padding:22px;border:1px solid #dbe5f1;border-radius:18px;background:#fff;box-shadow:0 12px 34px #0f172a0f}.report-print-paper-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:14px;border-bottom:1px dashed #cbd5e1}.report-print-paper-head strong{display:block;color:#111827;font-size:24px;font-weight:900}.report-print-paper-head span{display:block;margin-top:4px;color:#64748b;font-size:13px;font-weight:800}.report-print-paper-head>b{flex:0 0 auto;padding:9px 12px;border:1px solid #bfdbfe;border-radius:999px;color:#1d4ed8;background:#eff6ff;font-size:14px;font-weight:900;white-space:nowrap}.report-print-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}.report-print-summary-grid>div{min-width:0;padding:12px;border:1px solid #e2e8f0;border-radius:14px;background:#f8fbff}.report-print-summary-grid span{display:block;color:#64748b;font-size:12px;font-weight:800}.report-print-summary-grid strong{display:block;margin-top:4px;color:#111827;font-size:18px;font-weight:900;line-height:1.1}.report-print-summary-report{padding:18px;border:1px solid #e2e8f0;border-radius:16px;background:#fff}.report-print-summary-report h3{margin:0 0 12px;color:#111827;font-size:21px}.report-print-summary-report dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}.report-print-summary-report dl div{padding:14px;border-radius:14px;background:#f8fafc}.report-print-summary-report dt{color:#64748b;font-size:13px;font-weight:800}.report-print-summary-report dd{margin:5px 0 0;color:#111827;font-size:22px;font-weight:900}.report-print-table-wrap{border:1px solid #e2e8f0;border-radius:16px;overflow:auto;background:#fff}.report-print-table{width:100%;border-collapse:collapse;table-layout:fixed}.report-print-table th{padding:12px;border-bottom:1px solid #e2e8f0;color:#64748b;background:#f8fafc;font-size:13px;font-weight:900;text-align:left}.report-print-table td{padding:12px;border-bottom:1px solid #eef2f7;color:#111827;font-size:14px;font-weight:800;vertical-align:middle}.report-print-table tr:last-child td{border-bottom:0}.report-row-pill{min-width:82px;display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;color:#475569;background:#eef2f7;font-size:12px;font-weight:900;white-space:nowrap}.report-row-pill.success,.report-row-pill.ready{color:#047857;background:#dcfce7}.report-row-pill.warning,.report-row-pill.low{color:#b45309;background:#fef3c7}.report-row-pill.danger,.report-row-pill.out{color:#dc2626;background:#fee2e2}.report-print-empty{padding:32px!important;color:#94a3b8!important;text-align:center!important}.report-print-footer{display:flex;justify-content:flex-end;gap:10px;padding:14px 18px;border-top:1px solid #e2e8f0;background:#fff}.report-print-footer button{height:46px;padding:0 18px;border:1px solid #dbe5f1;border-radius:12px;color:#111827;background:#fff;font-size:16px;font-weight:900;cursor:pointer}.report-print-footer button.primary{display:inline-flex;align-items:center;gap:9px;border-color:#2563eb;color:#fff;background:#2563eb;box-shadow:0 12px 28px #2563eb38}.report-print-modal-backdrop{display:grid;place-items:center;padding:24px;background:#0f172a6b;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.report-print-modal{width:min(96vw,1720px);height:min(92vh,980px);max-height:calc(100vh - 48px);display:grid;grid-template-rows:82px minmax(0,1fr) 68px;border:1px solid rgba(219,229,241,.95);border-radius:18px;background:#f6f9fd;box-shadow:0 30px 80px #0f172a3d;overflow:hidden;animation:report-modal-pop .2s ease-out both}@keyframes report-modal-pop{0%{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}.report-print-header{min-height:0;display:grid;grid-template-columns:minmax(280px,1fr) auto 58px;align-items:center;gap:18px;padding:14px 22px;border-bottom:1px solid #dfe7f2;background:#fff}.report-print-title>span{width:50px;height:50px;border-radius:10px;background:#eff6ff;box-shadow:0 10px 24px #2563eb14}.report-print-title h2{font-size:23px;font-weight:950}.report-print-title small{margin-top:4px;color:#64748b;font-size:12.5px;font-weight:760}.report-print-header-tools{position:relative;display:inline-flex;align-items:center;justify-content:flex-end;gap:12px}.report-print-date-wrap{position:relative}.report-print-date-chip,.report-print-store-chip{height:50px;display:inline-flex;align-items:center;gap:11px;padding:0 16px;border:1px solid #dbe5f1;border-radius:10px;color:#172033;background:#fff;box-shadow:0 12px 28px #0f172a0a}.report-print-date-chip{background:#f0f6ff;cursor:pointer;text-align:left}.report-print-date-chip svg,.report-print-store-chip svg{color:#2563eb;flex:0 0 auto}.report-print-date-chip span{display:grid;gap:2px;min-width:0}.report-print-date-chip strong,.report-print-store-chip span{font-size:13px;font-weight:900;white-space:nowrap}.report-print-date-chip strong{max-width:260px;overflow:hidden;text-overflow:ellipsis}.report-print-date-chip small{color:#64748b;font-size:12px;font-weight:760}.report-print-date-menu{position:absolute;top:calc(100% + 10px);right:0;z-index:20;width:330px;display:grid;gap:12px;padding:14px;border:1px solid #dbe5f1;border-radius:10px;background:#fff;box-shadow:0 20px 46px #0f172a29}.report-print-date-menu>strong{color:#172033;font-size:12px;font-weight:900}.report-print-date-menu>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.report-print-date-menu label{display:grid;gap:6px;color:#64748b;font-size:10.5px;font-weight:800}.report-print-date-menu input{width:100%;height:34px;padding:0 9px;border:1px solid #dbe5f1;border-radius:8px;color:#172033;background:#f8fafc;font:inherit}.report-print-date-menu footer{display:grid;grid-template-columns:1fr 1.35fr;gap:8px}.report-print-date-menu button{height:34px;border:1px solid #dbe5f1;border-radius:8px;color:#475569;background:#fff;font-size:11.5px;font-weight:850}.report-print-date-menu button.primary{border-color:#2563eb;color:#fff;background:#2563eb}.report-print-store-chip{min-width:220px;justify-content:space-between;cursor:pointer}.report-print-store-menu{position:absolute;top:calc(100% + 10px);right:64px;z-index:10;width:260px;padding:10px;border:1px solid #dbe5f1;border-radius:10px;background:#fff;box-shadow:0 18px 38px #0f172a29}.report-print-store-menu button{width:100%;min-height:58px;display:grid;grid-template-columns:36px minmax(0,1fr) 20px;align-items:center;gap:10px;padding:10px;border:1px solid #bfdbfe;border-radius:8px;color:#172033;background:#eff6ff;text-align:left}.report-print-store-menu b,.report-print-store-menu small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.report-print-store-menu b{font-size:13px;font-weight:950}.report-print-store-menu small{color:#64748b;font-size:11px;font-weight:760}.report-print-close{width:46px;height:46px;border-radius:10px;color:#64748b;background:#fff}.report-print-body{display:grid;grid-template-columns:270px minmax(0,1fr) 244px;gap:18px;padding:20px 22px 16px;overflow:hidden;background:#f6f9fd}.report-print-picker,.report-print-settings,.report-print-workspace{min-height:0}.report-print-picker{overflow-y:auto;gap:10px}.report-print-group,.report-print-settings,.report-print-preview{border:1px solid #dfe7f2;border-radius:8px;background:#fff;box-shadow:0 12px 30px #0f172a0e}.report-print-group{padding:14px}.report-print-group>strong,.report-print-settings h3,.report-print-settings strong{margin:0 0 10px;color:#172033;font-size:12px;font-weight:850;letter-spacing:0}.report-print-option{position:relative;min-height:58px;grid-template-columns:14px 30px minmax(0,1fr) 28px;gap:8px;padding:8px;border:1px solid #e5edf6;border-radius:8px;background:#fff;box-shadow:none}.report-print-option+.report-print-option{margin-top:8px}.report-print-option:hover{border-color:#bfd4ef;background:#fbfdff}.report-print-option.active{border-color:#93c5fd;background:#f4f8ff;box-shadow:inset 2px 0 #2563eb}.report-print-option i{width:13px;height:13px;display:grid;place-items:center;border:2px solid #cbd5e1;border-radius:999px}.report-print-option.active i{border-color:#2563eb}.report-print-option.active i:after{content:"";width:5px;height:5px;border-radius:50%;background:#2563eb}.report-print-option>span{width:30px;height:30px;border-radius:7px}.report-print-option.blue>span{color:#2563eb;background:#eff6ff}.report-print-option.green>span{color:#059669;background:#ecfdf5}.report-print-option.orange>span{color:#d97706;background:#fff7ed}.report-print-option.purple>span{color:#7c3aed;background:#f5f3ff}.report-print-option.red>span{color:#e11d48;background:#fff1f2}.report-print-option div b{font-size:12.5px;line-height:1.15;font-weight:850}.report-print-option div small{color:#64748b;font-size:10.5px;line-height:1.25;font-weight:650}.report-print-option em{align-self:center;min-width:24px;height:24px;display:grid;place-items:center;padding:0 6px;color:#64748b;background:#f1f5f9;border-radius:999px;font-size:11px;font-weight:800}.report-print-store-chip:focus-visible,.report-print-store-menu button:focus-visible{outline:3px solid rgba(37,99,235,.2);outline-offset:2px}.report-print-workspace{display:grid;grid-template-rows:62px minmax(0,1fr);gap:12px;overflow:hidden}.report-print-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.report-print-metric{min-width:0;min-height:62px;display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:8px;padding:8px 9px;border:1px solid #e5edf6;border-radius:8px;background:#fff;box-shadow:0 12px 30px #0f172a0e}.report-print-metric>span{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;color:#2563eb;background:#eff6ff}.report-print-metric.green>span{color:#059669;background:#ecfdf5}.report-print-metric.purple>span{color:#7c3aed;background:#f5f3ff}.report-print-metric.orange>span,.report-print-metric.yellow>span{color:#d97706;background:#fff7ed}.report-print-metric small,.report-print-metric em{display:block;color:#64748b;font-size:10px;font-style:normal;font-weight:780}.report-print-metric div{min-width:0}.report-print-metric strong{display:block;margin:1px 0 0;color:#111827;font-size:clamp(13px,1.06vw,16px);line-height:1;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.report-print-preview{min-height:0;display:grid;grid-template-rows:48px minmax(0,1fr);overflow:hidden}.report-print-preview-head{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:0 18px;border-bottom:1px solid #e5edf6;color:#475569}.report-print-preview-head strong{color:#172033;font-size:13px;font-weight:900}.report-print-preview-head small{color:#64748b;font-size:12px;font-weight:760}.report-print-zoom{height:32px;display:inline-grid;grid-template-columns:32px 58px 32px;align-items:center;border:1px solid #dbe5f1;border-radius:8px;overflow:hidden}.report-print-zoom button{height:100%;border:0;color:#64748b;background:#fff}.report-print-zoom span{color:#475569;font-size:12px;font-weight:900;text-align:center}.report-print-paper-scroll{min-height:0;overflow:auto;padding:18px;background:#f8fafc}.report-print-paper{width:min(620px,100%);min-height:876px;margin:0 auto;padding:30px;transform:scale(var(--report-preview-scale, 1));transform-origin:top center;border:1px solid #d7dde7;border-radius:2px;color:#111827;background:#fff;box-shadow:0 18px 45px #0f172a29;font-family:Arial,Noto Sans Thai,Tahoma,sans-serif;font-size:9.5px;font-weight:400;line-height:1.35}.report-print-paper.landscape{width:min(820px,100%);min-height:580px}.report-print-paper.letter{width:min(610px,100%)}.report-print-paper.margin-narrow{padding:24px}.report-print-paper.margin-wide{padding:42px}.report-print-paper-head{align-items:center;padding-bottom:12px}.report-print-paper-brand{min-width:0;display:inline-flex;align-items:center;gap:18px}.report-print-logo{width:54px;height:54px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#0f172a;overflow:hidden;text-align:center;font-size:10px;font-weight:800;line-height:1.05}.report-print-logo img{width:100%;height:100%;object-fit:cover}.report-print-paper-head strong{font-size:22px;line-height:1;font-weight:800}.report-print-paper-head span{color:#172033;font-size:11.5px;font-weight:700}.report-print-paper-head small,.report-print-store-lines{display:block;margin-top:6px;color:#64748b;font-size:9.5px;font-weight:500}.report-print-qr{display:grid;justify-items:end;gap:5px;color:#475569;font-size:8.5px;font-weight:600}.report-print-qr img{width:58px;height:58px}.report-print-code{color:#475569;font-size:9px;font-weight:600}.report-print-store-lines{display:flex;justify-content:space-between;gap:18px;padding:6px 0 10px;border-bottom:1px dashed #cbd5e1}.report-print-summary-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:0;margin:12px 0 14px;border:1px solid #dfe7f2;border-radius:6px;overflow:hidden}.report-print-summary-grid>div{padding:8px 9px;border:0;border-right:1px solid #dfe7f2;border-radius:0;background:#f8fafc}.report-print-summary-grid>div:last-child{border-right:0}.report-print-summary-grid span{color:#64748b;font-size:8.5px;font-weight:500}.report-print-summary-grid strong{font-size:13px;font-weight:700}.report-print-summary-report,.report-print-table-wrap{padding:0;border:0;border-radius:0}.report-print-summary-report h3,.report-print-table-wrap h3{margin:12px 0 6px;color:#111827;font-size:12.5px;font-weight:700}.report-print-table{min-width:0;border:1px solid #dfe7f2;border-radius:6px;overflow:hidden;table-layout:auto}.report-print-table th,.report-print-table td{padding:5px 6px;border-right:1px solid #e5edf6;font-size:8.5px}.report-print-table th:last-child,.report-print-table td:last-child{border-right:0}.report-print-table th{color:#475569;background:#f8fafc;font-weight:700}.report-print-table td{color:#253044;font-weight:500}.report-print-total-row td{color:#111827;background:#f8fafc;font-weight:700}.report-print-table.compact{margin-top:6px}.report-print-signatures{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:70px;margin-top:42px}.report-print-signatures span{padding-top:10px;border-top:1px solid #94a3b8;color:#475569;font-size:12px;font-weight:800;text-align:center}.report-print-settings{display:grid;align-content:start;gap:12px;padding:14px;overflow-y:auto}.report-print-settings section{display:grid;gap:8px;padding-bottom:12px;border-bottom:1px solid #e5edf6}.report-print-settings section:last-child{border-bottom:0}.report-print-check,.report-print-radio{min-height:24px;display:inline-flex;align-items:center;gap:8px;color:#475569;font-size:11.5px;font-weight:720}.report-print-check input,.report-print-radio input{width:15px;height:15px;accent-color:#2563eb}.report-print-settings select{height:32px;padding:0 10px;border:1px solid #dbe5f1;border-radius:8px;color:#253044;background:#fff;font-size:11.5px;font-weight:760}.report-print-orientation{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.report-print-orientation button{height:36px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #dbe5f1;border-radius:8px;color:#64748b;background:#fff;font-size:11.5px;font-weight:800}.report-print-orientation button.active{border-color:#7fb2ff;color:#2563eb;background:#eff6ff}.report-print-select-field,.report-print-copies{display:grid;gap:6px;color:#64748b;font-size:10.5px;font-weight:800}.report-print-copies>div{height:32px;display:grid;grid-template-columns:34px minmax(0,1fr) 34px;border:1px solid #dbe5f1;border-radius:8px;overflow:hidden;background:#fff}.report-print-copies button{border:0;color:#64748b;background:#fff}.report-print-copies b{display:grid;place-items:center;border-inline:1px solid #e5edf6;color:#172033}.report-print-settings section>small{color:#64748b;font-size:10px;font-weight:650}.report-print-footer{display:grid;grid-template-columns:minmax(0,1fr) 210px 210px 230px;align-items:center;gap:12px;padding:10px 22px;border-top:1px solid #dfe7f2;background:#fff}.report-print-footer button{height:46px;display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:8px;font-size:14px}.report-print-footer button.pdf{grid-column:2;color:#dc2626;border-color:#fecaca}.report-print-footer button.excel{color:#059669;border-color:#bbf7d0}.report-print-footer button.primary{border-radius:8px}@media(max-width:1280px){.report-print-header{grid-template-columns:minmax(240px,1fr) auto 52px;gap:12px;padding-inline:24px}.report-print-date-chip,.report-print-store-chip{height:52px;padding-inline:12px}.report-print-store-chip{min-width:190px}.report-print-body{grid-template-columns:240px minmax(0,1fr) 220px;gap:14px;padding:22px 20px 16px}.report-print-group,.report-print-settings{padding:14px}.report-print-option{min-height:56px;grid-template-columns:14px 28px minmax(0,1fr) 24px;gap:7px;padding:10px}.report-print-option>span{width:28px;height:28px}.report-print-workspace{grid-template-rows:54px minmax(0,1fr);gap:10px}.report-print-metrics{gap:6px}.report-print-metric{min-height:54px;grid-template-columns:24px minmax(0,1fr);gap:6px;padding:7px 8px}.report-print-metric>span{width:24px;height:24px}.report-print-metric strong{font-size:clamp(12px,1.05vw,14px)}.report-print-metric small{font-size:9.5px;white-space:nowrap}.report-print-metric em{display:none}.report-print-paper-scroll{padding:20px}.report-print-paper{width:min(520px,100%);min-height:736px;padding:26px}.report-print-paper.landscape{width:min(720px,100%);min-height:360px}.report-print-footer{grid-template-columns:minmax(0,1fr) 180px 180px 190px;gap:10px;padding-inline:24px}}@media(max-width:900px){.report-print-body{grid-template-columns:1fr}.report-print-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media print{body *{visibility:hidden!important}.barcode-print-overlay,.barcode-print-overlay *,.receipt-print-only,.receipt-print-only *{visibility:visible!important}.barcode-print-overlay{position:static!important;inset:auto!important;padding:0!important;background:#fff!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}.barcode-print-shell{height:auto!important;padding:0!important;border:0!important;box-shadow:none!important}.barcode-print-header,.barcode-product-picker,.barcode-preview-product,.barcode-qty-row,.barcode-print-settings,.barcode-sheet-toolbar,.barcode-designer-modal-backdrop,.barcode-history-panel{display:none!important}.barcode-print-content,.barcode-preview-panel{display:block!important;padding:0!important;border:0!important;background:transparent!important}.barcode-label-grid{display:grid!important;grid-template-columns:repeat(var(--barcode-print-columns, 3),var(--barcode-label-width, 58mm))!important;gap:var(--barcode-label-gap, 3mm)!important;overflow:visible!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}.barcode-label{width:var(--barcode-label-width, 58mm)!important;min-height:var(--barcode-label-height, 30mm)!important;break-inside:avoid;border:.2mm dashed #cbd5e1!important;border-radius:1.5mm!important;padding:2mm!important}.receipt-print-only{position:fixed!important;inset:0 auto auto 0!important;width:80mm!important;min-height:auto!important;padding:0!important;background:#fff!important}.receipt-print-only .receipt-preview{width:80mm!important;max-width:80mm!important;margin:0!important;padding:4mm!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#000!important;background:#fff!important;font-size:10.5pt!important}.receipt-print-only .receipt-preview.a4{width:190mm!important;max-width:190mm!important;padding:10mm!important}.receipt-print-only .receipt-preview-qr img{width:34mm!important;height:34mm!important}.receipt-print-only .receipt-preview-summary strong:last-child,.receipt-print-only .receipt-preview-qr span{color:#000!important}}@media print{.report-print-modal-backdrop,.report-print-modal-backdrop *{visibility:visible!important}.report-print-modal-backdrop{position:static!important;inset:auto!important;display:block!important;padding:0!important;background:#fff!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}.report-print-modal{width:100%!important;max-height:none!important;border:0!important;border-radius:0!important;box-shadow:none!important}.report-print-header,.report-print-picker,.report-print-settings,.report-print-metrics,.report-print-preview-head,.report-print-footer,.report-print-close{display:none!important}.report-print-body{display:block!important;overflow:visible!important;padding:0!important;background:#fff!important}.report-print-workspace,.report-print-preview,.report-print-paper-scroll{display:block!important;overflow:visible!important;padding:0!important;border:0!important;box-shadow:none!important;background:#fff!important}.report-print-paper{width:auto!important;min-height:auto!important;padding:0!important;transform:none!important;border:0!important;border-radius:0!important;box-shadow:none!important}}
