@media screen{html body .stock-count-history-filters{background:#f8fafc;border-radius:12px;flex-wrap:wrap;align-items:end;gap:12px;padding:14px;display:flex}html body .stock-count-history-filters label{flex:150px;gap:6px;font-size:13px;display:grid}html body .stock-count-history-filters label:first-child{flex:3 260px}html body .stock-count-history-filters :is(input,select){color:#1e293b;box-sizing:border-box;background:#fff;border:1px solid #cbd5e1;border-radius:8px;width:100%;min-width:0;padding:10px}html body .stock-count-page .section-actions{flex-wrap:wrap;gap:8px;display:flex}html body dialog.stock-count-history-dialog{box-sizing:border-box;color:#1e293b;background:#fff;border:1px solid #e2e8f0;border-radius:18px;width:min(960px,100vw - 32px);max-height:85dvh;margin:auto;padding:22px;overflow-y:auto;box-shadow:0 24px 80px #0f172a33}html body dialog.stock-count-history-dialog::backdrop{background:#0f172a73}html body .stock-count-history-dialog .stock-count-summary{align-items:start}html body .stock-count-history-dialog h2{margin:0 0 6px;font-size:20px}html body .stock-count-history-dialog .stock-count-history article>div{overflow-wrap:anywhere;min-width:0}html body .stock-count-history-dialog .stock-count-history-actions{flex-wrap:wrap}html body .stock-count-history-filters label{min-width:0}html body .app-frame .inventory-management-table :is(th,td).sticky-actions{vertical-align:middle;white-space:normal;box-sizing:border-box;background:#fff;border-left:1px solid #e2e8f0;box-shadow:-4px 0 8px #0f172a0a;width:156px!important;min-width:156px!important;max-width:156px!important;padding:10px 12px!important;display:table-cell!important}html body .app-frame .inventory-management-table th.sticky-actions{text-align:center;background:#f8fafc}html body .app-frame .inventory-management-table td.sticky-actions button{color:#334155;white-space:nowrap;box-sizing:border-box;background:#f8fafc;line-height:1.4;border-radius:7px!important;width:130px!important;min-width:0!important;max-width:100%!important;min-height:34px!important;margin:4px 0!important;padding:6px 8px!important;font-size:12px!important;display:block!important}html body .app-frame .inventory-management-table td.sticky-actions button:hover{background:color-mix(in srgb, var(--app-brand) 7%, white);border-color:var(--app-brand)}html body .app-frame .inventory-management-table .ok-chip{white-space:nowrap;border:1px solid #e2e8f0;padding:4px 8px;font-size:12px;background:color-mix(in srgb, var(--app-brand) 7%, white)!important;color:#334155!important}}@media print{.flowsale-menu-toggle{display:none!important}:is(html:has(body>.size-note-print),body:has(>.size-note-print)){height:auto!important;min-height:0!important;margin:0!important;padding:0!important;display:block!important;overflow:visible!important}body>.size-note-print,body>.size-note-print *{visibility:visible!important}body>.size-note-print{box-sizing:border-box;width:100%!important;position:static!important}}@media screen{html body nav#flowsale-main-navigation[data-menu-hidden=false],html body nav#flowsale-main-navigation[data-menu-hidden=false]:hover{overscroll-behavior:contain;scrollbar-gutter:stable;height:100dvh!important;min-height:0!important;max-height:100dvh!important;padding:12px 10px calc(20px + env(safe-area-inset-bottom,0px))!important;box-sizing:border-box!important;z-index:900!important;width:240px!important;min-width:240px!important;max-width:240px!important;margin:0!important;position:fixed!important;inset:0 auto auto 0!important;overflow:hidden auto!important;transform:none!important}html body nav#flowsale-main-navigation[data-menu-hidden=false] .nav-label{opacity:1!important;visibility:visible!important;width:auto!important;max-width:none!important;display:inline!important;transform:none!important}html body main.app-frame[data-menu-hidden=false]:not(.pos-screen-frame):not(.compact-navigation){margin-left:0!important;padding-left:240px!important;display:block!important}html body main.app-frame[data-menu-hidden]:not(.pos-screen-frame):before{display:none!important}html body main.app-frame[data-menu-hidden]:not(.pos-screen-frame)>section.work-area{width:100%!important;min-width:0!important;max-width:100%!important;margin-left:0!important}html body main.app-frame.compact-navigation[data-menu-hidden]:not(.pos-screen-frame){margin-left:0!important;padding-left:0!important;display:block!important}html body nav#flowsale-main-navigation>button,html body nav#flowsale-main-navigation:hover>button{flex:none!important;gap:10px!important;width:100%!important;min-width:0!important;height:auto!important;min-height:44px!important;margin:2px 0!important;padding:8px 10px!important;font-size:14px!important;transform:none!important}html body nav#flowsale-main-navigation .nav-icon{flex:0 0 32px!important;width:32px!important;min-width:32px!important;height:32px!important;font-size:20px!important}html body nav#flowsale-main-navigation .sidebar-store-card{flex-shrink:0;width:100%!important;min-width:0!important;padding:10px!important}html body nav#flowsale-main-navigation .sidebar-store-info{overflow-wrap:anywhere;min-width:0;white-space:normal!important}html body nav#flowsale-main-navigation[data-menu-hidden=true]{pointer-events:none!important;display:none!important}html body main.app-frame[data-menu-hidden=true]{grid-template-columns:minmax(0,1fr)!important;margin-left:0!important;padding-left:0!important;display:block!important}html body main.app-frame[data-menu-hidden=true]:before{display:none!important}html body main.app-frame[data-menu-hidden=true]>section.work-area{grid-column:1/-1!important;width:100%!important;max-width:none!important;margin-left:0!important}html body>button.flowsale-menu-toggle{z-index:1000;border-radius:9px;justify-content:center;align-items:center;min-height:44px;margin-bottom:12px;font:600 14px/1.5 Tahoma,sans-serif;box-shadow:0 4px 16px #0000002e;top:calc(20px + env(safe-area-inset-top,0px))!important;bottom:auto!important;left:calc(16px + env(safe-area-inset-left,0px))!important;color:#243c60!important;background:#fff!important;border:1px solid #cbd5e1!important;width:44px!important;height:44px!important;padding:0!important;display:inline-flex!important;position:fixed!important}html body>button.flowsale-menu-toggle:focus-visible{outline:3px solid var(--app-brand);outline-offset:3px}html body:has(main.app-frame[data-menu-hidden=false])>button.flowsale-menu-toggle{left:218px!important}html body main.app-frame[data-menu-hidden]:not(.pos-screen-frame)>section.work-area{padding-top:calc(76px + env(safe-area-inset-top,0px))!important}html body main.app-frame[data-menu-hidden=false]:not(.pos-screen-frame):not(.compact-navigation)>section.work-area{padding-top:calc(20px + env(safe-area-inset-top,0px))!important;padding-left:32px!important}@media (max-width:420px){html body>button.flowsale-menu-toggle{max-width:44px;font-size:12px;padding:0!important}html body:has(main.app-frame[data-menu-hidden=true])>button.flowsale-menu-toggle{max-width:none}}html body .app-frame{--bg:#f8fafc;--panel:#fff;--ink:#1e293b;--muted:#64748b;--line:#e2e8f0;--brand:var(--app-brand);--brand-dark:var(--app-brand-dark);--soft:var(--app-brand-soft);--green:var(--app-brand);--radius:14px;--shadow:0 4px 20px #182b250d;background:var(--bg);color:var(--ink);font-family:Noto Sans Thai,Tahoma,system-ui,sans-serif;line-height:1.5}html body .app-frame .side-nav{color:#f1f5f9;border-right:1px solid #334155;background:#0f172a!important}html body .app-frame .side-nav>button{text-align:left;color:#e2e8f0!important;box-shadow:none!important;background:0 0!important;border:0!important;border-radius:9px!important}html body .app-frame .side-nav>button:hover{background:#1e293b!important}html body .app-frame .side-nav>button.active{font-weight:700;background:var(--app-brand-soft)!important;color:var(--app-brand-dark)!important}html body .app-frame .nav-section-label{color:#94a3b8!important}html body .app-frame .work-area{background:var(--bg)}html body .app-frame :is(.table-card,.metric-card){border:1px solid var(--line)!important;border-radius:var(--radius)!important;background:var(--panel)!important;color:var(--ink)!important;box-shadow:var(--shadow)!important}html body .app-frame .metric-card strong{font-variant-numeric:tabular-nums;letter-spacing:-.025em;color:var(--ink)!important}html body .app-frame .metric-card :is(span,small){color:var(--muted)!important}html body .app-frame .metric-card.dark{background:var(--app-brand-dark)!important}html body .app-frame .metric-card.dark strong{color:#fff!important}html body .app-frame .metric-card.dark :is(span,small){color:#e2e8f0!important}html body .app-frame .work-area :is(button,input,select,textarea):not(.business-pos-terminal *){box-sizing:border-box;font-family:inherit;font-size:14px;border-radius:9px!important}html body .app-frame .work-area :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea):not(.business-pos-terminal *){min-height:40px;padding:9px 12px;color:#1e293b!important;box-shadow:none!important;background:#fff!important;border:1px solid #cbd5e1!important}html body .app-frame .work-area :is(input,textarea)::placeholder{color:#64748b;opacity:1}html body .app-frame :is(input[type=checkbox],input[type=radio]){accent-color:var(--app-brand)}html body .app-frame :is(button,input,select,textarea,a,summary):focus-visible{outline-offset:3px;outline:3px solid var(--app-brand)!important}html body .app-frame .work-area button:not(.business-pos-terminal *){border:1px solid #cbd5e1;min-height:38px;padding:8px 14px;font-weight:600;transition:background-color .12s,border-color .12s;box-shadow:none!important}html body .app-frame .work-area button.primary:not(.business-pos-terminal *){background:var(--app-brand)!important;color:#fff!important;border-color:var(--app-brand)!important}html body .app-frame .work-area button.primary:hover:not(:disabled):not(.business-pos-terminal *){background:var(--app-brand-dark)!important}html body .app-frame .work-area button.secondary:not(.business-pos-terminal *){color:#334155!important;background:#fff!important}html body .app-frame button:disabled{cursor:not-allowed;opacity:.5}html body .app-frame .report-tabs{border:1px solid var(--line);background:#fff;border-radius:12px;flex-wrap:wrap;gap:8px;padding:10px}html body .app-frame .report-tabs button{color:#334155!important;background:#f8fafc!important;border:1px solid #0000!important}html body .app-frame .report-tabs button.active{background:var(--app-brand)!important;color:#fff!important}html body .app-frame .stock-table{border-collapse:separate;border-spacing:0;color:#1e293b;font-variant-numeric:tabular-nums;font-size:14px}html body .app-frame .stock-table th{padding:14px 16px;font-size:13px;font-weight:700;background:color-mix(in srgb, var(--app-brand) 5%, white)!important;color:#334155!important;border-bottom:1px solid #e2e8f0!important}html body .app-frame .stock-table td{padding:14px 16px;line-height:1.55;border-bottom:1px solid #e2e8f0!important}html body .app-frame .stock-table tbody tr:nth-child(2n){background:#f8fafc}html body .app-frame .stock-table tbody tr:hover{background:color-mix(in srgb, var(--app-brand) 3%, white)}html body .app-frame .stock-table small{color:#64748b;font-size:12px}html body .app-frame .stock-table tfoot,html body .app-frame .stock-table tfoot :is(tr,td,th){font-weight:700;background:color-mix(in srgb, var(--app-brand) 7%, white)!important;color:#334155!important}html body .app-frame .stock-table-wrap{overflow-x:auto}html body .app-frame .danger-cell{color:#b42332!important}html body .app-frame .ok-text{color:var(--app-brand)!important}html body .app-frame .form-error{color:#991b2c;background:#fff1f2;border:1px solid #f1c3cb;border-radius:9px;padding:12px 16px}html body .app-frame .success-banner{color:#145838;background:#eaf7ee;border:1px solid #bfdcc9;border-radius:9px;padding:12px 16px}html body .app-frame summary{cursor:pointer;padding:14px 0;font-weight:600}@media (max-width:640px){html body .app-frame .stock-table :is(th,td){padding:10px 12px}html body .app-frame .report-tabs button{min-height:44px}}@media (prefers-reduced-motion:reduce){html body .app-frame *{scroll-behavior:auto!important;transition:none!important}}}
@media screen{html body:has(.business-pos-terminal) nav#flowsale-main-navigation[data-menu-hidden]{display:none!important}html body main.app-frame.pos-screen-frame:has(.business-pos-terminal):before{display:none!important}html body main.app-frame.pos-screen-frame:has(.business-pos-terminal){box-sizing:border-box;width:100%!important;min-width:0!important;max-width:100%!important;height:100dvh!important;min-height:0!important;margin:0!important;padding:0!important;display:block!important;overflow:auto!important}html body main.app-frame.pos-screen-frame:has(.business-pos-terminal)>section.work-area{box-sizing:border-box;width:100%!important;min-width:0!important;max-width:100%!important;height:100dvh!important;min-height:0!important;margin:0!important;padding:0!important;display:block!important;overflow:auto!important}html body .business-pos-terminal,html body .business-pos-terminal :is(.bp-main,.bp-side,.bp-footer,.bp-head,.bp-entry,.bp-table-wrap){box-sizing:border-box;min-width:0!important}html body .business-pos-terminal .bp-table-wrap{max-width:100%;overflow:auto}html body .business-pos-terminal{--pos-navy:var(--app-brand-dark);--pos-blue:var(--app-brand);--pos-gold:var(--app-brand);--pos-gold-soft:color-mix(in srgb, var(--app-brand) 7%, white);--bp-gold:var(--app-brand);--bp-gold-soft:color-mix(in srgb, var(--app-brand) 7%, white);color:#1e293b!important;background:#f8fafc!important;border-color:#e2e8f0!important}html body .business-pos-terminal :is(.bp-total,.bp-brand){background:color-mix(in srgb, var(--app-brand) 7%, white)!important;color:var(--app-brand-dark)!important;border-color:color-mix(in srgb, var(--app-brand) 18%, white)!important;box-shadow:none!important}html body .business-pos-terminal .bp-total strong{color:var(--app-brand-dark)!important;-webkit-text-fill-color:var(--app-brand-dark)!important;filter:none!important;text-shadow:none!important;background:0 0!important}html body .business-pos-terminal :is(.bp-total span){color:var(--app-brand-dark)!important}html body .business-pos-terminal :is(){display:none!important}html body .business-pos-terminal :is(.bp-main,.bp-side,.bp-footer,.bp-table-wrap){box-shadow:none!important;background:#fff!important;border-color:#e2e8f0!important}html body .business-pos-terminal :is(.bp-head,.bp-table th,.bp-footer-total){background:color-mix(in srgb, var(--app-brand) 5%, white)!important;color:#334155!important;border-color:#e2e8f0!important}html body .business-pos-terminal :is(.bp-entry,.bp-table td){color:#334155!important;background:#fff!important}html body .business-pos-terminal :is(.bp-side-grid button,.bp-keypad button){color:#334155!important;box-shadow:none!important;text-shadow:none!important;background:#fff!important;border-color:#e2e8f0!important}html body .business-pos-terminal :is(.bp-side-grid button,.bp-keypad button):hover:not(:disabled),html body .business-pos-terminal .bp-member{background:color-mix(in srgb, var(--app-brand) 7%, white)!important;color:var(--app-brand-dark)!important;border-color:color-mix(in srgb, var(--app-brand) 18%, white)!important;box-shadow:none!important}html body .business-pos-terminal :is(.bp-head b,.bp-entry>button,.bp-keypad button:last-child,.bp-pay){background:var(--app-brand)!important;color:#fff!important;border-color:var(--app-brand)!important;box-shadow:none!important}html body .business-pos-terminal .bp-pay:hover:not(:disabled){background:var(--app-brand-dark)!important}html body .business-pos-terminal :is(input,button):focus-visible{outline:2px solid var(--app-brand)!important;outline-offset:2px!important;box-shadow:none!important}html body:has(#flowsale-pos) nav#flowsale-main-navigation[data-menu-hidden]{display:none!important}html body main.app-frame.pos-screen-frame:has(#flowsale-pos){width:100%!important;min-width:0!important;height:100dvh!important;min-height:0!important;max-height:100dvh!important;margin:0!important;padding:0!important;display:block!important;overflow:hidden!important}html body main.app-frame.pos-screen-frame:has(#flowsale-pos)>section.work-area{width:100%!important;min-width:0!important;height:100dvh!important;min-height:0!important;max-height:100dvh!important;margin:0!important;padding:0!important;display:block!important;overflow:hidden!important}#flowsale-pos{box-sizing:border-box!important;grid-template-rows:minmax(0,1fr)!important;grid-template-columns:minmax(0,1fr) minmax(330px,32%)!important;gap:10px!important;width:100%!important;height:100%!important;min-height:0!important;max-height:100dvh!important;margin:0!important;padding:8px!important;display:grid!important;position:relative!important;inset:auto!important;overflow:hidden!important}#flowsale-pos *,#flowsale-pos :before,#flowsale-pos :after{box-sizing:border-box}#flowsale-pos>.product-panel,#flowsale-pos>.cart-panel{flex-direction:column!important;gap:8px!important;width:100%!important;min-width:0!important;max-width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important;margin:0!important;padding:10px!important;display:flex!important;position:relative!important;inset:auto!important;overflow:hidden!important;transform:none!important}#flowsale-pos>.product-panel>:not(.product-grid):not(style),#flowsale-pos>.cart-panel>:not(.cart-list):not(style){flex:none!important;order:0!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;position:static!important;inset:auto!important;transform:none!important}#flowsale-pos #pos-compact-header{flex-wrap:wrap!important;gap:6px!important;padding:6px!important;display:flex!important;overflow:visible!important}#flowsale-pos #pos-compact-header>*{width:auto!important;min-width:0!important;height:auto!important;margin:0!important;position:relative!important;inset:auto!important;transform:none!important}#flowsale-pos #pos-compact-header .pos-head-actions,#flowsale-pos #pos-compact-header .sale-mode-tabs{flex-wrap:wrap!important;gap:4px!important;display:flex!important}#flowsale-pos #pos-compact-header button{width:auto!important;min-width:0!important;height:36px!important;min-height:36px!important;padding:6px 10px!important;font-size:12px!important}#flowsale-pos #pos-compact-header .pos-search-voice-wrap{flex-wrap:wrap!important;flex:220px!important;display:flex!important}#flowsale-pos #pos-compact-header .pos-voice-message{white-space:normal!important;width:100%!important;max-width:none!important;box-shadow:none!important;flex:0 0 100%!important;margin:4px 0 0!important;padding:4px 8px!important;font-size:12px!important;position:static!important;inset:auto!important}#flowsale-pos #pos-compact-header .pos-search-voice-wrap input{width:100%!important;min-width:0!important;height:36px!important;min-height:36px!important;padding:6px 42px 6px 10px!important;font-size:14px!important}#flowsale-pos #pos-compact-header .pos-voice-search-button{position:absolute!important;inset:0 0 auto auto!important}#flowsale-pos .category-strip,#flowsale-pos .pos-quick-view-tabs{flex-wrap:nowrap!important;gap:6px!important;padding:4px!important;display:flex!important;overflow:auto hidden!important}#flowsale-pos .category-strip button,#flowsale-pos .pos-quick-view-tabs button{flex:none!important;width:auto!important;min-width:0!important;height:32px!important;min-height:32px!important;padding:4px 14px!important;font-size:12px!important}#flowsale-pos .pos-barcode-area{padding:4px!important}#flowsale-pos .pos-barcode-row{gap:6px!important;display:flex!important}#flowsale-pos .barcode-input{flex:1!important;width:100%!important;min-width:0!important;height:38px!important;min-height:38px!important}#flowsale-pos .pos-camera-button{width:auto!important;min-width:0!important;min-height:38px!important;padding:6px!important;font-size:12px!important}#flowsale-pos .product-grid{flex:1 1 0!important;grid-template-rows:none!important;grid-template-columns:repeat(auto-fill,minmax(min(210px,100%),1fr))!important;grid-auto-rows:max-content!important;align-content:start!important;align-items:stretch!important;gap:10px!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;padding:6px!important;display:grid!important;overflow:auto!important}#flowsale-pos .product-card{flex-direction:column!important;align-self:stretch!important;gap:6px!important;width:100%!important;min-width:0!important;height:100%!important;min-height:340px!important;max-height:none!important;padding:10px!important;display:flex!important;position:relative!important;overflow:hidden!important}#flowsale-pos .product-card>:not(.product-favorite-button):not(.wholesale-price-badge){width:100%!important;margin:0!important;position:relative!important;inset:auto!important;transform:none!important}#flowsale-pos .product-card .product-thumb{flex:0 0 110px!important;height:110px!important;min-height:110px!important;max-height:110px!important}#flowsale-pos .product-thumb img{object-fit:contain!important;width:100%!important;height:100%!important}#flowsale-pos .product-card .product-info{flex-direction:column!important;flex:1 0 auto!important;gap:5px!important;height:auto!important;min-height:0!important;max-height:none!important;display:flex!important;overflow:visible!important}#flowsale-pos .product-info>strong{white-space:normal!important;overflow-wrap:anywhere!important;-webkit-line-clamp:unset!important;height:auto!important;min-height:42px!important;max-height:none!important;font-size:14px!important;line-height:1.5!important;display:block!important;position:static!important;overflow:visible!important}#flowsale-pos .product-info .price-warning{padding:3px 5px!important;font-size:11px!important;position:static!important}#flowsale-pos .product-info .stock-chip{align-self:start!important;padding:4px 6px!important;font-size:12px!important}#flowsale-pos .product-info .product-code,#flowsale-pos .product-info .branch-stock-hint{font-size:11px!important}#flowsale-pos .product-card .product-price-fixed{flex:none!important;height:auto!important;font-size:22px!important;display:block!important}#flowsale-pos .product-mobile-price,#flowsale-pos .product-bottom>b{display:none!important}#flowsale-pos .product-card .product-bottom{flex:none!important;grid-template-columns:minmax(0,1fr) 40px!important;gap:6px!important;height:auto!important;padding:0!important;display:grid!important}#flowsale-pos .product-bottom select,#flowsale-pos .product-bottom button{width:100%!important;min-width:0!important;height:40px!important;min-height:40px!important;margin:0!important;position:static!important}#flowsale-pos .pager{flex-wrap:wrap!important;gap:8px!important;padding:6px!important;font-size:12px!important;display:flex!important}#flowsale-pos .cart-title{padding:8px!important}#flowsale-pos .cart-title h2{margin:4px 0!important;font-size:20px!important}#flowsale-pos .cart-title em{font-size:12px!important}#flowsale-pos .cart-tools{grid-template-rows:none!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-rows:auto!important;gap:5px!important;height:auto!important;min-height:0!important;max-height:none!important;padding:0!important;display:grid!important}#flowsale-pos .cart-tools button{white-space:normal!important;height:auto!important;min-height:34px!important;padding:5px!important;font-size:12px!important;position:static!important}#flowsale-pos .customer-box{padding:8px!important}#flowsale-pos .cart-list{flex-direction:column!important;flex:1 1 0!important;order:0!important;gap:8px!important;width:100%!important;height:auto!important;min-height:80px!important;max-height:none!important;margin:0!important;padding:4px!important;display:flex!important;position:relative!important;inset:auto!important;overflow:auto!important}#flowsale-pos .cart-item{flex:none!important;grid-template:"info total""discount qty"/minmax(0,1fr) auto!important;gap:8px!important;height:auto!important;min-height:120px!important;max-height:none!important;padding:10px!important;display:grid!important}#flowsale-pos .cart-item>*{min-width:0!important;position:static!important;inset:auto!important;transform:none!important}#flowsale-pos .cart-item>div:first-child{grid-area:info!important}#flowsale-pos .cart-item>b{grid-area:total!important;font-size:13px!important}#flowsale-pos .cart-item>.cart-item-discount{grid-area:discount!important}#flowsale-pos .cart-item>.qty-row{grid-area:qty!important}#flowsale-pos .cart-item>div:first-child>strong{font-size:13px!important}#flowsale-pos .cart-footer-stack{flex-direction:column!important;gap:6px!important;padding:0!important;display:flex!important}#flowsale-pos .cart-footer-stack>*{width:100%!important;height:auto!important;min-height:0!important;margin:0!important;position:static!important;inset:auto!important;transform:none!important}#flowsale-pos .cart-summary-box{padding:8px!important}#flowsale-pos .cart-summary-row{justify-content:space-between!important;align-items:center!important;gap:8px!important;min-height:22px!important;font-size:12px!important;display:flex!important}#flowsale-pos .cart-summary-row input{width:72px!important;min-width:0!important;max-width:72px!important;height:28px!important;position:static!important}#flowsale-pos .cart-total{padding:8px!important}#flowsale-pos .cart-total strong{font-size:28px!important}#flowsale-pos .cart-footer-stack .checkout-button{min-height:44px!important;font-size:18px!important}#flowsale-pos .cart-panel>.cart-last-added,#flowsale-pos .cart-panel>.cart-visible-scrollbar,#flowsale-pos>.pos-mobile-cart-toggle{display:none!important}@media (max-width:1100px){#flowsale-pos{grid-template-columns:minmax(0,1fr)!important}#flowsale-pos:not(.mobile-cart-open)>.cart-panel,#flowsale-pos.mobile-cart-open>.product-panel{display:none!important}#flowsale-pos.mobile-cart-open{grid-template-rows:44px minmax(0,1fr)!important}#flowsale-pos.mobile-cart-open>.cart-panel{grid-row:2!important;padding-top:10px!important;display:flex!important}#flowsale-pos:not(.mobile-cart-open)>.product-panel{padding-bottom:58px!important}#flowsale-pos>.pos-mobile-cart-toggle{width:auto!important;min-width:120px!important;max-width:calc(100% - 36px)!important;height:44px!important;min-height:44px!important;display:inline-flex!important;position:fixed!important;inset:auto 18px 14px auto!important;transform:none!important}#flowsale-pos.mobile-cart-open>.pos-mobile-cart-toggle{box-shadow:none!important;grid-row:1!important;justify-self:end!important;position:static!important;inset:auto!important}}@media (max-height:720px){#flowsale-pos>.cart-panel{overflow-y:auto!important}#flowsale-pos .cart-list{flex:none!important;min-height:120px!important;max-height:none!important;overflow:visible!important}}#flowsale-pos .product-panel,#flowsale-pos .cart-panel,#flowsale-pos .cart-item{box-shadow:none!important;background:#fff!important;border-color:#e2e8f0!important}#flowsale-pos .cart-title,#flowsale-pos .cart-total{background:color-mix(in srgb, var(--app-brand) 5%, white)!important;border-color:#e2e8f0!important}#flowsale-pos .cart-total,#flowsale-pos .cart-title em,#flowsale-pos .cart-title>div>span,#flowsale-pos .sale-date-field>span{background:color-mix(in srgb, var(--app-brand) 7%, white)!important}#flowsale-pos .cart-summary-box{background:#f8fafc!important}#flowsale-pos .cart-total strong{color:var(--app-brand-dark)!important}#flowsale-pos .checkout-button{background:var(--app-brand)!important;box-shadow:none!important}}@media screen and (max-width:1180px){html body .business-pos-terminal{grid-template-columns:minmax(0,1fr)!important;height:auto!important;min-height:100dvh!important}html body .business-pos-terminal :is(.bp-head,.bp-entry){grid-template-columns:minmax(0,1fr) auto!important}html body .business-pos-terminal .bp-entry>span,html body .business-pos-terminal .bp-head>span:nth-child(2){overflow-wrap:anywhere;grid-column:1/-1}html body .business-pos-terminal .bp-entry input{box-sizing:border-box;width:100%;min-width:0}html body .business-pos-terminal .bp-footer{grid-template-columns:repeat(2,minmax(0,1fr))!important}html body .business-pos-terminal .bp-footer-total{grid-column:1/-1}}
@media screen{html body .app-frame .reports-workspace .stock-report-pagination{color:#334155;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;flex-wrap:wrap;align-items:center;gap:10px;padding:14px;font-size:13px;display:flex;width:auto!important;height:auto!important;position:static!important}html body .app-frame .reports-workspace .stock-report-pagination>span:first-child{margin-right:auto}html body .app-frame .reports-workspace .stock-report-pagination label{align-items:center;gap:8px;display:flex}html body .app-frame .reports-workspace .stock-report-pagination select{width:auto}html body .app-frame .reports-workspace{gap:20px;min-width:0}html body .app-frame .reports-workspace>.section-intro{border-radius:16px;min-height:0!important;padding:22px 26px!important}html body .app-frame .reports-workspace>.section-intro h2{margin:6px 0;font-size:28px!important}html body .app-frame .reports-workspace>.section-intro p{margin:0;font-size:14px}html body .app-frame .reports-workspace .reports-page{border-radius:18px;flex-direction:column;gap:20px;min-width:0;padding:clamp(16px,2vw,28px);display:flex}html body .app-frame .reports-workspace .report-controls{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;grid-template-columns:repeat(4,minmax(0,1fr)) auto;align-items:end;gap:12px;padding:18px;display:grid}html body .app-frame .reports-workspace .quick-range{flex-wrap:wrap;grid-column:1/-1;gap:8px;display:flex}html body .app-frame .reports-workspace .report-controls label{color:#475569;gap:6px;min-width:0;font-size:13px;display:grid}html body .app-frame .reports-workspace .report-controls :is(input,select){width:100%;min-width:0;font-size:14px}html body .app-frame .reports-workspace .primary-action{white-space:nowrap;min-height:42px;background:var(--app-brand)!important;color:#fff!important}html body .app-frame .reports-workspace .report-actions{flex-wrap:wrap;align-items:center;gap:8px;margin:0;display:flex}html body .app-frame .reports-workspace .report-actions .status-pill{white-space:normal;border-radius:8px;max-width:100%;margin-right:auto;padding:8px 12px;font-size:13px;background:color-mix(in srgb, var(--app-brand) 7%, white)!important;color:#334155!important}html body .app-frame .reports-workspace .report-metrics{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px;margin:0;display:grid}html body .app-frame .reports-workspace .report-metrics>*{min-width:0;box-shadow:none;background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:20px}html body .app-frame .reports-workspace :is(.report-metrics,.bill-summary-card) strong{letter-spacing:-.6px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:10px 0;line-height:1.3;display:block;font-size:clamp(22px,1.8vw,30px)!important}html body .app-frame .reports-workspace .report-tabs{background:#f8fafc;flex-wrap:wrap;gap:6px;margin:0;padding:8px;display:flex}html body .app-frame .reports-workspace .report-tabs button{padding:9px 12px;font-size:13px}html body .app-frame .reports-workspace .report-tabs button.active{background:color-mix(in srgb, var(--app-brand) 9%, white)!important;color:var(--app-brand-dark)!important;border-color:color-mix(in srgb, var(--app-brand) 25%, white)!important}html body .app-frame .reports-workspace .print-report-kicker{color:var(--app-brand-dark);letter-spacing:1px;margin:4px 0 -12px;font-size:11px;font-weight:700}html body .app-frame .reports-workspace .reports-page>h2{margin:0;font-size:22px}html body .app-frame .reports-workspace .bill-summary-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:12px;margin:0;display:grid}html body .app-frame .reports-workspace .bill-summary-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;min-width:0;padding:18px}html body .app-frame .reports-workspace .period-summary-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:14px}}@media screen and (max-width:1000px){html body .app-frame .reports-workspace .report-controls{grid-template-columns:repeat(2,minmax(0,1fr))}html body .app-frame .reports-workspace .report-controls .primary-action{grid-column:1/-1}}@media screen and (max-width:560px){html body .app-frame .reports-workspace .report-controls{grid-template-columns:minmax(0,1fr);padding:12px}}
@media screen{html body .app-frame .members-page{gap:20px;min-width:0}html body .app-frame .members-page :is(.table-card,.member-form){border-radius:16px;min-width:0;padding:22px}html body .app-frame .members-page .member-import-card .toolbar{grid-template-columns:minmax(220px,1fr) minmax(200px,1fr) auto;align-items:center;gap:16px;display:grid}html body .app-frame .members-page .member-import-card small{color:#64748b;margin-top:6px;font-size:12px;line-height:1.6;display:block}html body .app-frame .members-page input[type=file]{width:100%;min-width:0;font-size:13px}html body .app-frame .members-page input::file-selector-button{color:#334155;background:#f1f5f9;border:0;border-radius:6px;margin-right:10px;padding:7px 10px}html body .app-frame .members-page .member-form{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:16px;display:grid}html body .app-frame .members-page .member-form h2{grid-column:1/-1;margin:0 0 4px;font-size:20px}html body .app-frame .members-page .member-form label{color:#475569;grid-column:auto;gap:7px;min-width:0;font-size:13px;display:grid}html body .app-frame .members-page .member-form label:has(textarea){grid-column:span 2}html body .app-frame .members-page .member-form :is(input,select,textarea){width:100%;min-width:0;font-size:14px}html body .app-frame .members-page .member-form textarea{resize:vertical;min-height:80px}html body .app-frame .members-page .member-form>button{grid-column:1/-1;justify-self:end;min-width:180px}html body .app-frame .members-page .member-list-card .toolbar{grid-template-columns:minmax(0,1fr) auto;gap:12px;margin-bottom:18px;display:grid}html body .app-frame .members-page .member-list-card .toolbar input{width:100%;min-width:0;font-size:14px}html body .app-frame .members-page .member-row-card{box-shadow:none;border-radius:12px;grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.5fr) 252px;align-items:center;gap:16px;padding:18px;display:grid}html body .app-frame .members-page .member-row-card>div{overflow-wrap:anywhere;min-width:0}html body .app-frame .members-page .member-row-card :is(b,strong){font-size:14px}html body .app-frame .members-page .member-row-card :is(small,span){color:#64748b;font-size:12px;line-height:1.6}html body .app-frame .members-page .member-row-card p{margin:4px 0 0;font-size:13px}html body .app-frame .members-page .member-row-card .row-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;width:252px;max-width:100%;display:flex}html body .app-frame .members-page .member-row-card .row-actions button{white-space:nowrap;flex:0 0 80px;min-height:40px;padding:8px 6px}html body .app-frame .members-page .member-pagination{background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-wrap:wrap;align-items:center;gap:10px;padding:16px;font-size:13px;display:flex}html body .app-frame .members-page .member-pagination>span:first-child{margin-right:auto}html body .app-frame .members-page .member-pagination label{align-items:center;gap:8px;display:flex}html body .app-frame .members-page .member-pagination select{width:auto}}@media screen and (max-width:1100px){html body .app-frame .members-page .member-form,html body .app-frame .members-page .member-row-card{grid-template-columns:repeat(2,minmax(0,1fr))}html body .app-frame .members-page .member-row-card .row-actions{grid-column:1/-1;justify-content:end}html body .app-frame .members-page .member-import-card .toolbar{grid-template-columns:minmax(0,1fr)}}@media screen and (max-width:600px){html body .app-frame .members-page :is(.member-form,.member-list-card .toolbar,.member-row-card){grid-template-columns:minmax(0,1fr)}html body .app-frame .members-page .member-form label:has(textarea){grid-column:auto}}
@media screen{html body .stock-count-page{box-sizing:border-box;width:100%;min-width:0}html body .stock-count-page :is(.stock-count-panel,.stock-count-item,.section-intro,.section-intro>div){box-sizing:border-box;overflow-wrap:anywhere;min-width:0}html body .stock-count-page .stock-count-layout{grid-template-columns:minmax(0,420px) minmax(0,1fr)}html body .stock-count-page .stock-count-summary{flex-wrap:wrap;align-items:center}html body .stock-count-page :is(button,input,select){min-height:44px}html body .stock-count-page input[type=checkbox]{flex-shrink:0;min-height:20px}html body .stock-count-page .stock-count-blind{min-height:44px}html body .stock-count-page :is(input,select,textarea){font-size:16px!important}html body .stock-count-page .stock-count-scanner :is(video,canvas,img){max-width:100%}html body .stock-count-page .stock-count-history-dialog{overscroll-behavior:contain}}@media screen and (max-width:1000px){html body .stock-count-page .stock-count-layout{grid-template-columns:minmax(0,1fr)}html body .stock-count-page .stock-count-items{max-height:none;padding:0;overflow:visible}html body .stock-count-page .stock-count-actions{padding:0;position:static!important}html body .stock-count-page .section-intro{flex-direction:column;align-items:stretch;gap:16px;display:flex}html body .stock-count-page .section-actions{justify-content:flex-start}}@media screen and (max-width:600px){html body .stock-count-page .stock-count-panel{padding:14px!important}html body .stock-count-page .stock-count-item{grid-template-columns:minmax(0,1fr) 44px;gap:10px}html body .stock-count-page .stock-count-item>div{grid-column:1/-1}html body .stock-count-page .stock-count-item>input{grid-area:2/1;width:100%}html body .stock-count-page .stock-count-item .stock-count-remove{grid-area:2/2;width:44px;height:44px}html body .stock-count-page .stock-count-item .variance{text-align:left;grid-area:3/1/auto/-1}html body .stock-count-page .stock-count-scan-row{grid-template-columns:minmax(0,1fr)}html body .stock-count-page .section-actions>button{flex:160px}html body .stock-count-page dialog.stock-count-history-dialog{width:calc(100vw - 16px);max-height:90dvh;padding:14px;padding-bottom:max(14px, env(safe-area-inset-bottom))}html body .stock-count-page .stock-count-history-filters{padding:10px}html body .stock-count-page .stock-count-history-filters label{flex:100%}html body .stock-count-page .stock-count-history article{grid-template-columns:minmax(0,1fr)}}
@media screen{html body nav#flowsale-main-navigation[data-menu-hidden=false]{flex-flow:column!important;justify-content:flex-start!important;align-items:stretch!important;gap:4px!important;display:flex!important}html body nav#flowsale-main-navigation>button{border-radius:10px!important;flex-direction:row!important;flex:none!important;justify-content:flex-start!important;align-items:center!important;gap:12px!important;width:100%!important;max-width:100%!important;min-height:44px!important;padding:8px 12px!important;display:flex!important}html body nav#flowsale-main-navigation>button .nav-label{overflow-wrap:anywhere;opacity:1!important;visibility:visible!important;clip-path:none!important;text-align:left!important;white-space:normal!important;width:auto!important;min-width:0!important;max-width:none!important;height:auto!important;max-height:none!important;color:inherit!important;flex:auto!important;font-size:14px!important;line-height:1.5!important;display:block!important;position:static!important;transform:none!important}html body nav#flowsale-main-navigation>button .nav-icon{flex:0 0 32px!important;width:32px!important;height:32px!important;margin:0!important;position:static!important;transform:none!important}html body>button.flowsale-menu-backdrop{z-index:899;background:#0f172a52;border:0;border-radius:0;width:100%;height:100dvh;padding:0;position:fixed;inset:0}html body nav#flowsale-main-navigation.compact-menu-drawer[data-menu-hidden=false]{width:min(260px,80vw)!important;min-width:0!important;max-width:calc(100vw - 64px)!important;padding-top:calc(76px + env(safe-area-inset-top,0px))!important;background:#f8fafc!important;box-shadow:8px 0 24px #0f172a2e!important}html body:has(main.app-frame.compact-navigation)>button.flowsale-menu-toggle{left:calc(16px + env(safe-area-inset-left,0px))!important}html body main.app-frame.compact-navigation:not(.pos-screen-frame)>section.work-area{min-height:100dvh;padding:calc(76px + env(safe-area-inset-top,0px)) 16px 24px!important;height:auto!important}html body .app-frame:not(.pos-screen-frame) .work-area,html body .app-frame:not(.pos-screen-frame) .page-stack{box-sizing:border-box;min-width:0;max-width:100%}html body .app-frame:not(.pos-screen-frame) :is(.table-card,.form-card,.metric-card,.toolbar,.section-intro){box-sizing:border-box;min-width:0}html body .app-frame:not(.pos-screen-frame) :is(.stock-table-wrap,.table-wrap,.table-scroll){-webkit-overflow-scrolling:touch;max-width:100%;overflow-x:auto}html body .app-frame:not(.pos-screen-frame) .metric-card strong{overflow-wrap:anywhere;font-variant-numeric:tabular-nums}html body .modal>.modal-card{box-sizing:border-box;overscroll-behavior:contain;overflow-y:auto;min-width:0!important;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px)!important}}@media screen and (max-width:1000px){html body main.app-frame[data-menu-hidden]:not(.pos-screen-frame){margin-left:0!important;padding-left:0!important;display:block!important}html body main.app-frame[data-menu-hidden]:not(.pos-screen-frame):before{display:none!important}html body main.app-frame[data-menu-hidden]:not(.pos-screen-frame)>section.work-area{width:100%!important;padding:calc(76px + env(safe-area-inset-top,0px)) 16px 24px!important;margin-left:0!important}html body .app-frame:not(.pos-screen-frame) .cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))!important}html body .app-frame:not(.pos-screen-frame) .section-intro{flex-wrap:wrap;gap:16px;min-height:0!important;padding:20px!important;display:flex!important}html body .app-frame:not(.pos-screen-frame) .section-intro>div{min-width:0;max-width:100%}html body .app-frame:not(.pos-screen-frame) .section-actions{flex-wrap:wrap}html body .app-frame:not(.pos-screen-frame) :is(.toolbar,.report-controls,.billing-note-toolbar){align-items:end;gap:12px;flex-wrap:wrap!important;display:flex!important}html body .app-frame:not(.pos-screen-frame) :is(.toolbar,.report-controls,.billing-note-toolbar)>:is(input,select,label){flex:180px;max-width:100%;min-width:0!important}html body .app-frame:not(.pos-screen-frame) :is(.db-grid,.profile-main-grid,.billing-form-grid){grid-template-columns:minmax(0,1fr)!important}}@media screen and (max-width:600px){html body .app-frame:not(.pos-screen-frame) :is(.form-card,.profile-form-grid,.billing-detail-meta,.point-mode-grid){grid-template-columns:minmax(0,1fr)!important}html body .app-frame:not(.pos-screen-frame) .form-card>*{min-width:0;grid-column:1/-1!important}html body .app-frame:not(.pos-screen-frame) :is(.form-card,.table-card){padding:14px!important}html body .app-frame:not(.pos-screen-frame) :is(.form-card,.table-card) :is(input,select,textarea){box-sizing:border-box;min-width:0;max-width:100%}html body .app-frame:not(.pos-screen-frame) :is(.stock-pager,.report-actions,.row-actions){gap:8px;flex-wrap:wrap!important}html body .app-frame:not(.pos-screen-frame) :is(.bill-report-table,.table-card>table){-webkit-overflow-scrolling:touch;max-width:100%;display:block;overflow-x:auto}html body .app-frame .inventory-management-table :is(th,td).sticky-actions{box-shadow:none;position:static!important}html body .modal>.modal-card{grid-template-columns:minmax(0,1fr)!important;padding:16px!important}html body .modal-card>label{min-width:0;grid-column:1/-1!important}html body .modal-head{flex-wrap:wrap;gap:10px}}@media screen and (pointer:coarse){html body .app-frame button,html body .modal button{min-height:44px}html body :is(.app-frame,.modal) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px!important}}@media screen and (prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}html body .app-frame *,html body .modal *{transition:none!important;animation:none!important}}
@media screen{:root{--app-font-family:"Noto Sans Thai", "Leelawadee UI", Tahoma, system-ui, sans-serif;--app-font-body:13px;--app-font-caption:12px;--app-font-control:13px;--app-font-title:24px}html body .app-frame:not(.pos-screen-frame),html body nav#flowsale-main-navigation,html body :is(dialog,.modal){font-size:var(--app-font-body);font-weight:400;line-height:1.6;font-family:var(--app-font-family)!important}html body .app-frame:not(.pos-screen-frame) :where(h1,h2,h3,p,span,small,b,strong,label,table,button,input,select,textarea),html body nav#flowsale-main-navigation :is(button,.nav-label),html body :is(dialog,.modal) :where(button,input,select,textarea){font-family:var(--app-font-family)!important}html body nav#flowsale-main-navigation>button .nav-label{letter-spacing:normal!important;font-size:13px!important;font-weight:600!important;line-height:1.5!important}html body .app-frame:not(.pos-screen-frame) .work-area :is(button,input,select,textarea){font-size:var(--app-font-control)!important;font-weight:500!important;line-height:1.5!important}html body .app-frame:not(.pos-screen-frame) .work-area :is(label,th,td){font-size:var(--app-font-body)!important;line-height:1.6!important}html body .app-frame:not(.pos-screen-frame) .work-area :is(label,th){font-weight:600!important}html body .app-frame:not(.pos-screen-frame) .work-area td{font-weight:400!important}html body .app-frame:not(.pos-screen-frame) .work-area small{font-size:var(--app-font-caption)!important;font-weight:400!important;line-height:1.6!important}html body .app-frame:not(.pos-screen-frame) .work-area :is(h2,h3){font-size:18px!important;font-weight:700!important;line-height:1.4!important}html body .app-frame:not(.pos-screen-frame) .work-area .section-intro :is(h1,h2){font-size:var(--app-font-title)!important;font-weight:700!important;line-height:1.4!important}html body .app-frame:not(.pos-screen-frame) .work-area .section-intro p{font-size:var(--app-font-body)!important;font-weight:400!important;line-height:1.6!important}html body .app-frame:not(.pos-screen-frame) .work-area .metric-card strong{font-size:clamp(22px,2vw,28px)!important;font-weight:700!important;line-height:1.3!important}html body .app-frame:not(.pos-screen-frame) .work-area .db-page .metric-card{gap:8px;min-height:0!important;padding:16px!important}html body .app-frame:not(.pos-screen-frame) .work-area .db-page .metric-card strong{overflow-wrap:anywhere;font-size:24px!important}html body .app-frame:not(.pos-screen-frame) .work-area .db-page :is(.metric-card>span,.db-table-row,.db-reset-note,.order-main p,.order-items,.order-items span){font-size:var(--app-font-body)!important;font-weight:400!important;line-height:1.6!important}html body .app-frame:not(.pos-screen-frame) .work-area .db-page :is(.db-table-row b,.db-table-row span,.db-reset-note b){font-size:var(--app-font-body)!important;font-weight:600!important}html body .app-frame:not(.pos-screen-frame) .work-area .db-page .order-main h3{overflow-wrap:anywhere;font-size:16px!important}html body .app-frame:not(.pos-screen-frame) .work-area .db-page .eyebrow{letter-spacing:.04em;font-size:var(--app-font-caption)!important;background:0 0!important;font-weight:600!important}html body .app-frame:not(.pos-screen-frame) .work-area .db-page .channel-badge{align-self:start;width:auto;height:auto;min-height:28px;padding:4px 10px;font-size:var(--app-font-caption)!important;font-weight:600!important}}@media screen and (max-width:600px){:root{--app-font-title:22px;--app-font-control:16px}}@media screen and (pointer:coarse){:root{--app-font-control:16px}}
@media screen{html body .app-frame .purchase-page .purchase-history-head{align-items:end;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(120px,.5fr) auto!important;gap:12px!important;display:grid!important}html body .app-frame .purchase-page .purchase-history-head>div{grid-column:1/-1}html body .app-frame .purchase-page .purchase-history-head>label{min-width:0}html body .app-frame .purchase-page .purchase-history-head input{width:100%;min-width:0}html body .app-frame .purchase-page .purchase-receive-card>.receive-organized-form{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}html body .app-frame .purchase-page .purchase-receive-card .receive-organized-form>:is(.receive-date-field,.receive-branch-field){grid-area:auto/span 2!important}html body .app-frame .purchase-page .purchase-receive-card .receive-organized-form>:is(.receive-supplier-field,.receive-step-heading){grid-area:auto/1/auto/-1!important}html body .app-frame .purchase-page .purchase-receive-card .receive-organized-form .receive-step-heading{border-top:1px solid var(--line);flex-wrap:wrap;align-items:baseline;gap:8px 16px;margin-top:8px;padding:16px 0 8px;display:flex}html body .app-frame .purchase-page .purchase-receive-card .receive-organized-form .purchase-product-picker{min-width:0;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;display:grid!important}html body .app-frame .purchase-page .purchase-receive-card .receive-organized-form .purchase-product-picker>*{grid-area:auto/1/auto/-1!important;width:100%!important;min-width:0!important;max-width:100%!important}html body .app-frame .purchase-page .purchase-receive-card .receive-organized-form .purchase-product-search{grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;display:grid!important}html body .app-frame .purchase-page .purchase-receive-card .receive-organized-form .purchase-selected-product{overflow-wrap:anywhere;white-space:normal!important;background:var(--app-brand-soft,#eff6ff)!important;color:var(--app-brand-dark,#1e40af)!important;padding:12px!important;line-height:1.6!important}html body .app-frame .purchase-page .purchase-receive-card .receive-organized-form .purchase-selected-product strong{margin-bottom:4px;display:block}}@media screen and (max-width:700px){html body .app-frame .purchase-page .purchase-history-head,html body .app-frame .purchase-page .purchase-receive-card>.receive-organized-form{grid-template-columns:minmax(0,1fr)!important}html body .app-frame .purchase-page .purchase-receive-card .receive-organized-form>*{grid-column:1/-1!important;min-width:0!important}html body .app-frame .purchase-page .purchase-receive-card .receive-organized-form>:is(.receive-date-field,.receive-branch-field){grid-column:1/-1!important}html body .app-frame .purchase-page .purchase-receive-card .receive-organized-form .receive-barcode-row{grid-template-rows:auto!important;grid-template-columns:minmax(0,1fr)!important}html body .app-frame .purchase-page .purchase-receive-card .receive-organized-form .receive-barcode-row>*{min-height:44px;grid-area:auto/1/auto/-1!important}}
@media screen{.supplier-picker{gap:8px;min-width:0;display:grid}.supplier-picker-actions{grid-template-columns:minmax(0,1fr) auto auto;gap:8px;display:grid}.supplier-picker-actions select{width:100%;min-width:0}html body dialog.supplier-master-dialog{color:#1e293b;background:#fff;border:1px solid #dbe3ee;border-radius:16px;width:min(800px,100vw - 24px);max-height:calc(100dvh - 32px);padding:24px;overflow:auto}.supplier-master-dialog::backdrop{background:#0f172a80}.supplier-master-dialog :is(header,footer,nav){flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.supplier-master-dialog h2{margin:0;font-size:20px}.supplier-master-dialog label{gap:6px;min-width:0;display:grid}.supplier-master-dialog :is(input,select,textarea){box-sizing:border-box;width:100%;min-width:0}.supplier-master-dialog fieldset{border:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0;display:grid}.supplier-address{grid-column:1/-1}.supplier-master-list{gap:8px;margin:12px 0;display:grid}.supplier-master-list>div{overflow-wrap:anywhere;border:1px solid #e2e8f0;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:10px;display:flex}.supplier-master-list small{display:block}.supplier-import-panel{background:#f8fafc;border:1px solid #dbe3ee;border-radius:12px;margin:16px 0;padding:16px}.supplier-import-list{gap:8px;margin:12px 0;display:grid}html body .supplier-master-dialog .supplier-import-list label{overflow-wrap:anywhere;background:#fff;border:1px solid #e2e8f0;border-radius:8px;align-items:center;gap:12px;padding:10px;display:flex}html body .supplier-master-dialog .supplier-import-list input[type=checkbox]{flex:0 0 20px;width:20px;height:20px;min-height:20px}.supplier-import-list small{display:block}.supplier-master-dialog [role=alert],.supplier-picker>[role=alert]{color:#b91c1c}}@media screen and (max-width:600px){.supplier-picker-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.supplier-picker-actions select{grid-column:1/-1}.supplier-master-dialog fieldset{grid-template-columns:minmax(0,1fr)}html body dialog.supplier-master-dialog{padding:16px}}
@media screen{html body .modal .bill-search-modal .bill-search-list.bill-search-table-scroll{border:1px solid #e2e8f0;border-radius:8px;padding:0!important;display:block!important}html body .modal .bill-search-modal .bill-search-table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:100%;min-width:610px;line-height:1.5;font-size:12px!important}html body .modal .bill-search-modal .bill-search-table :is(th,td){text-align:left;vertical-align:middle;overflow-wrap:anywhere;border-bottom:1px solid #e2e8f0;height:auto!important;padding:8px!important;font-size:12px!important}html body .modal .bill-search-modal .bill-search-table th{z-index:1;background:#f1f5f9;font-weight:600;position:sticky;top:0}html body .modal .bill-search-modal .bill-search-table th:first-child{width:27%}html body .modal .bill-search-modal .bill-search-table th:nth-child(2){width:25%}html body .modal .bill-search-modal .bill-search-table th:nth-child(3){width:14%}html body .modal .bill-search-modal .bill-search-table th:nth-child(4){width:16%}html body .modal .bill-search-modal .bill-search-table th:nth-child(5){width:18%}html body .modal .bill-search-modal .bill-search-table strong{display:block;font-size:12px!important;font-weight:600!important}html body .modal .bill-search-modal .bill-search-table small{color:#64748b;font-weight:400;display:block;font-size:11px!important}html body .modal .bill-search-modal .bill-search-table .bill-amount{text-align:right;font-variant-numeric:tabular-nums}html body .modal .bill-search-modal .bill-search-table tbody tr:nth-child(2n){background:#f8fafc}html body .modal .bill-search-modal .bill-search-table tbody tr:hover{background:#eff6ff}html body .modal .bill-search-modal .bill-table-status{color:var(--app-brand-dark,#1d4ed8);font-size:11px!important}html body .modal .bill-search-modal .bill-search-table button{white-space:normal!important;width:auto!important;height:auto!important;min-height:34px!important;padding:5px 7px!important;font-size:12px!important}html body .modal .bill-search-modal .bill-search-table .bill-table-empty{text-align:center;padding:24px!important}html body .modal .modal-card.bill-search-modal{position:relative;flex-direction:column!important;gap:12px!important;width:min(680px,100vw - 24px)!important;max-width:calc(100vw - 24px)!important;height:calc(100dvh - 32px)!important;max-height:calc(100dvh - 32px)!important;padding:18px!important;font-size:13px!important;display:flex!important;overflow:hidden!important}html body .modal .bill-search-modal>:is(.modal-head,.bill-search-input,.bill-search-date-filter,.bill-search-type-filter){flex:none!important;margin:0!important}html body .modal .bill-search-modal .bill-search-type-filter{flex-wrap:wrap;align-items:center;gap:6px;display:flex}html body .modal .bill-search-modal .bill-search-type-filter button{width:auto!important;min-height:40px!important;padding:6px 12px!important;font-size:13px!important}html body .modal .bill-search-modal .bill-search-type-filter button[aria-pressed=true]{background:var(--app-brand,#2563eb)!important;color:#fff!important}html body .modal .bill-search-modal .bill-search-type-filter small{color:#64748b;font-size:11px!important}html body .modal .bill-search-modal .modal-head{min-height:0!important;padding:0 0 12px!important}html body .modal .bill-search-modal h2{margin:4px 0 0!important;font-size:20px!important;line-height:1.4!important}html body .modal .bill-search-modal .modal-head span{font-size:11px!important}html body .modal .bill-search-modal :is(input,button){font-size:13px!important;font-weight:500!important;line-height:1.5!important}html body .modal .bill-search-modal :is(.bill-search-input,.bill-search-date-filter input,.bill-search-date-filter button,.modal-head button){border-radius:9px!important;height:40px!important;min-height:40px!important;padding:8px 10px!important}html body .modal .bill-search-modal .bill-search-date-filter{grid-template-columns:minmax(0,1fr) auto auto!important;gap:8px!important}html body .modal .bill-search-modal .bill-search-date-filter>b{grid-column:1/-1;font-size:12px!important}html body .modal .bill-search-modal .bill-search-list{flex:1 1 0!important;grid-auto-rows:max-content!important;align-content:start!important;gap:8px!important;min-height:0!important;padding:2px!important;display:grid!important;overflow:auto!important}html body .modal .bill-search-modal button.bill-search-row{white-space:normal!important;border-radius:10px!important;grid-template-columns:minmax(0,1fr) auto auto!important;gap:4px 10px!important;height:auto!important;min-height:72px!important;max-height:none!important;padding:10px 12px!important;display:grid!important;transform:none!important}html body .modal .bill-search-modal .bill-search-row>div{overflow-wrap:anywhere;min-width:0}html body .modal .bill-search-modal .bill-search-row :is(strong,b){font-size:14px!important;font-weight:600!important;line-height:1.5!important}html body .modal .bill-search-modal .bill-search-row :is(span,em){margin:0!important;font-size:12px!important;font-weight:400!important;line-height:1.5!important}html body .modal .bill-search-modal .bill-search-row em{padding:3px 7px!important}html body .modal .bill-search-modal .bill-search-row .bill-search-view{grid-column:1/-1}html body .modal .bill-search-modal .bill-search-detail{grid-template-rows:auto auto minmax(140px,1fr) auto auto!important;gap:10px!important;padding:16px!important;font-size:13px!important;line-height:1.5!important;display:grid!important;overflow:auto!important}html body .modal .bill-search-modal .bill-search-detail-head{padding-bottom:8px!important}html body .modal .bill-search-modal .bill-search-detail-head h3{overflow-wrap:anywhere;margin:2px 0 0!important;font-size:20px!important;line-height:1.4!important}html body .modal .bill-search-modal .bill-search-detail-head span{font-size:11px!important}html body .modal .bill-search-modal .bill-search-detail-meta{gap:6px!important}html body .modal .bill-search-modal .bill-search-detail-meta p{overflow-wrap:anywhere;min-width:0;border-radius:6px!important;gap:1px!important;padding:6px 8px!important}html body .modal .bill-search-modal .bill-search-detail-meta span{font-size:11px!important;font-weight:400!important}html body .modal .bill-search-modal .bill-search-detail-meta b{font-size:12px!important;font-weight:500!important}html body .modal .bill-search-modal .bill-search-detail-items{border-radius:8px!important;min-height:140px!important;overflow:auto!important}html body .modal .bill-search-modal .bill-search-detail-item{grid-template-columns:minmax(0,1fr) 68px 84px 84px!important;gap:8px!important;padding:7px 8px!important;font-size:12px!important;line-height:1.5!important}html body .modal .bill-search-modal .bill-search-detail-item>span{overflow-wrap:anywhere;min-width:0;font-size:12px!important}html body .modal .bill-search-modal .bill-search-detail-item b{font-size:12px!important;font-weight:500!important}html body .modal .bill-search-modal .bill-search-detail-item small{font-size:11px!important}html body .modal .bill-search-modal .bill-search-detail-summary{border-top:1px solid #e2e8f0;padding-top:8px;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;width:100%!important;margin:0!important}html body .modal .bill-search-modal .bill-search-detail-summary p{overflow-wrap:anywhere;min-width:0;gap:2px!important;margin:0!important;padding:6px!important;display:grid!important}html body .modal .bill-search-modal .bill-search-detail-summary span{font-size:11px!important;font-weight:400!important}html body .modal .bill-search-modal .bill-search-detail-summary b{font-size:13px!important;font-weight:600!important}html body .modal .bill-search-modal .bill-search-detail-summary .grand b{font-size:16px!important}html body .modal .bill-search-modal .bill-search-detail-actions{gap:8px!important}html body .modal .bill-search-modal .bill-search-detail-actions button{border-radius:8px!important;height:auto!important;min-height:40px!important;padding:8px 10px!important}}@media screen and (max-width:600px){html body .modal .bill-search-modal .bill-search-table button{min-height:44px!important}html body .modal .modal-card.bill-search-modal{padding:12px!important}html body .modal .bill-search-modal input{font-size:16px!important}html body .modal .bill-search-modal :is(.bill-search-date-filter button,.modal-head button){height:auto!important;min-height:44px!important}html body .modal .bill-search-modal button.bill-search-row{grid-template-columns:minmax(0,1fr) auto!important}html body .modal .bill-search-modal .bill-search-row>div{grid-column:1/-1}html body .modal .bill-search-modal .bill-search-row>b{text-align:right}html body .modal .bill-search-modal .bill-search-detail{padding:12px!important}html body .modal .bill-search-modal .bill-search-detail-meta,html body .modal .bill-search-modal .bill-search-detail-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}html body .modal .bill-search-modal .bill-search-detail-item{min-width:480px}html body .modal .bill-search-modal .bill-search-detail-actions button{min-height:44px!important}}
html body dialog.premium-dialog{color:#1e293b;background:#fff;border:1px solid #dbe3ef;border-radius:16px;width:min(900px,100vw - 24px);max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);margin:auto;padding:0;font-size:14px;position:fixed;inset:0;overflow:auto}.premium-dialog::backdrop{background:#0f172a88}html body .premium-dialog header{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:12px;padding:16px;display:flex}html body .premium-dialog h2{margin:0;font-size:20px!important}html body .premium-dialog h3{font-size:16px!important}html body .premium-dialog .premium-content{grid-template-columns:minmax(0,1fr);gap:14px;min-width:0;padding:16px;display:grid}html body .premium-dialog .premium-content>*{min-width:0}html body .premium-dialog label{grid-template-columns:minmax(0,1fr);gap:6px;min-width:0;display:grid}html body .premium-dialog :is(button,input,select){font:inherit;border:1px solid #cbd5e1;border-radius:8px;max-width:100%;min-height:44px;padding:8px 10px}html body .premium-dialog button{cursor:pointer;width:auto}html body .premium-dialog button:disabled{opacity:.5;cursor:not-allowed}html body .premium-dialog input[type=checkbox]{width:20px;min-height:auto}html body .premium-dialog .premium-summary{background:#eff6ff;border-radius:10px;flex-wrap:wrap;gap:16px;padding:14px;display:flex}html body .premium-dialog .premium-primary{color:#fff;background:#2563eb}html body .premium-dialog .premium-table-scroll{max-height:340px;overflow:auto}html body .premium-dialog table{border-collapse:collapse;width:100%;min-width:560px}html body .premium-dialog :is(th,td){text-align:left;border-bottom:1px solid #e2e8f0;height:auto!important;padding:8px!important;font-size:13px!important}html body .premium-dialog th{background:#f1f5f9;position:sticky;top:0}html body .premium-dialog td input{width:90px}html body .premium-dialog small{color:#64748b;display:block;font-size:12px!important}html body .premium-dialog .premium-config{grid-template-columns:minmax(0,1fr);gap:12px;min-width:0;margin-top:12px;display:grid}@media (max-width:600px){html body .premium-dialog :is(input,select){font-size:16px}}
