@media screen{html body .stock-count-history-filters{display:flex;flex-wrap:wrap;align-items:end;gap:12px;padding:14px;background:#f8fafc;border-radius:12px}html body .stock-count-history-filters label{display:grid;gap:6px;font-size:13px;flex:1 1 150px}html body .stock-count-history-filters label:first-child{flex:3 1 260px}html body .stock-count-history-filters :is(input,select){width:100%;min-width:0;padding:10px;border:1px solid #cbd5e1;border-radius:8px;background:white;color:#1e293b;box-sizing:border-box}html body .stock-count-page .section-actions{display:flex;flex-wrap:wrap;gap:8px}html body dialog.stock-count-history-dialog{width:min(960px,calc(100vw - 32px));max-height:85vh;max-height:85dvh;box-sizing:border-box;margin:auto;padding:22px;border:1px solid #e2e8f0;border-radius:18px;background:#fff;color:#1e293b;box-shadow:0 24px 80px rgba(15,23,42,.2);overflow-y:auto}html body dialog.stock-count-history-dialog::backdrop{background:rgba(15,23,42,.45)}html body .stock-count-history-dialog .stock-count-summary{align-items:start}html body .stock-count-history-dialog h2{font-size:20px;margin:0 0 6px}html body .stock-count-history-dialog .stock-count-history article>div{min-width:0;overflow-wrap:anywhere}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{display:table-cell!important;width:156px!important;min-width:156px!important;max-width:156px!important;padding:10px 12px!important;vertical-align:middle;white-space:normal;box-sizing:border-box;background:#fff;border-left:1px solid #e2e8f0;box-shadow:-4px 0 8px rgba(15,23,42,.04)}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{display:block!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;line-height:1.4;border-radius:7px!important;background:#f8fafc;color:#334155;white-space:nowrap;box-sizing:border-box}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{background:color-mix(in srgb,var(--app-brand) 7%,white)!important;color:#334155!important;border:1px solid #e2e8f0;padding:4px 8px;font-size:12px;white-space:nowrap}}@media print{.flowsale-menu-toggle{display:none!important}body:has(>.size-note-print),html:has(body>.size-note-print){display:block!important;height:auto!important;min-height:0!important;overflow:visible!important;margin:0!important;padding:0!important}body>.size-note-print,body>.size-note-print *{visibility:visible!important}body>.size-note-print{position:static!important;width:100%!important;box-sizing:border-box}}@media screen{html body nav#flowsale-main-navigation[data-menu-hidden=false],html body nav#flowsale-main-navigation[data-menu-hidden=false]:hover{position:fixed!important;inset:0 auto auto 0!important;height:100dvh!important;min-height:0!important;max-height:100dvh!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;scrollbar-gutter:stable;padding:12px 10px calc(20px + env(safe-area-inset-bottom, 0px))!important;margin:0!important;box-sizing:border-box!important;z-index:900!important;width:240px!important;min-width:240px!important;max-width:240px!important;transform:none!important}html body nav#flowsale-main-navigation[data-menu-hidden=false] .nav-label{display:inline!important;opacity:1!important;visibility:visible!important;width:auto!important;max-width:none!important;transform:none!important}html body main.app-frame[data-menu-hidden=false]:not(.pos-screen-frame):not(.compact-navigation){display:block!important;padding-left:240px!important;margin-left:0!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;max-width:100%!important;min-width:0!important;margin-left:0!important}html body main.app-frame.compact-navigation[data-menu-hidden]:not(.pos-screen-frame){display:block!important;padding-left:0!important;margin-left:0!important}html body nav#flowsale-main-navigation:hover>button,html body nav#flowsale-main-navigation>button{width:100%!important;min-width:0!important;min-height:44px!important;height:auto!important;flex:0 0 auto!important;margin:2px 0!important;padding:8px 10px!important;gap:10px!important;transform:none!important;font-size:14px!important}html body nav#flowsale-main-navigation .nav-icon{width:32px!important;min-width:32px!important;height:32px!important;flex:0 0 32px!important;font-size:20px!important}html body nav#flowsale-main-navigation .sidebar-store-card{width:100%!important;min-width:0!important;flex-shrink:0;padding:10px!important}html body nav#flowsale-main-navigation .sidebar-store-info{min-width:0;white-space:normal!important;overflow-wrap:anywhere}html body nav#flowsale-main-navigation[data-menu-hidden=true]{display:none!important;pointer-events:none!important}html body main.app-frame[data-menu-hidden=true]{display:block!important;grid-template-columns:minmax(0,1fr)!important;padding-left:0!important;margin-left:0!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{width:100%!important;max-width:none!important;margin-left:0!important;grid-column:1/-1!important}html body>button.flowsale-menu-toggle{display:inline-flex!important;align-items:center;justify-content:center;position:fixed!important;top:calc(20px + env(safe-area-inset-top, 0px))!important;bottom:auto!important;left:calc(16px + env(safe-area-inset-left, 0px))!important;z-index:1000;width:44px!important;height:44px!important;min-height:44px;padding:0!important;background:#ffffff!important;color:#243c60!important;border:1px solid #cbd5e1!important;border-radius:9px;margin-bottom:12px;box-shadow:0 4px 16px rgb(0 0 0/18%);font:600 14px/1.5 Tahoma,sans-serif}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;padding:0!important;font-size:12px}html body:has(main.app-frame[data-menu-hidden=true])>button.flowsale-menu-toggle{max-width:none}}html body .app-frame{--bg:#f8fafc;--panel:#ffffff;--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 rgb(24 43 37/5%);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{background:#0f172a!important;color:#f1f5f9;border-right:1px solid #334155}html body .app-frame .side-nav>button{border:0!important;border-radius:9px!important;background:transparent!important;color:#e2e8f0!important;box-shadow:none!important;text-align:left}html body .app-frame .side-nav>button:hover{background:#1e293b!important}html body .app-frame .side-nav>button.active{background:var(--app-brand-soft)!important;color:var(--app-brand-dark)!important;font-weight:700}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{color:var(--ink)!important;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;letter-spacing:-.025em}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:#ffffff!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 *){font-family:inherit;font-size:14px;border-radius:9px!important;box-sizing:border-box}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 *){border:1px solid #cbd5e1!important;background:#fff!important;color:#1e293b!important;min-height:40px;padding:9px 12px;box-shadow:none!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:3px solid var(--app-brand)!important;outline-offset:3px}html body .app-frame .work-area button:not(.business-pos-terminal *){min-height:38px;padding:8px 14px;border:1px solid #cbd5e1;box-shadow:none!important;font-weight:600;transition:background-color .12s,border-color .12s}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 *){background:white!important;color:#334155!important}html body .app-frame button:disabled{cursor:not-allowed;opacity:.5}html body .app-frame .report-tabs{gap:8px;padding:10px;border:1px solid var(--line);border-radius:12px;background:#fff;flex-wrap:wrap}html body .app-frame .report-tabs button{background:#f8fafc!important;color:#334155!important;border:1px solid transparent!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;font-size:14px;color:#1e293b;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}html body .app-frame .stock-table th{background:color-mix(in srgb,var(--app-brand) 5%,white)!important;color:#334155!important;font-size:13px;font-weight:700;padding:14px 16px;border-bottom:1px solid #e2e8f0!important}html body .app-frame .stock-table td{padding:14px 16px;border-bottom:1px solid #e2e8f0!important;line-height:1.55}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 *{transition:none!important;scroll-behavior:auto!important}}}@media screen{html body main.app-frame.pos-screen-frame:has(.business-pos-terminal):before,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),html body main.app-frame.pos-screen-frame:has(.business-pos-terminal)>section.work-area{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;height:100dvh!important;min-height:0!important;margin:0!important;padding:0!important;overflow:auto!important;box-sizing:border-box}html body .business-pos-terminal,html body .business-pos-terminal :is(.bp-main,.bp-side,.bp-footer,.bp-head,.bp-entry,.bp-table-wrap){min-width:0!important;box-sizing:border-box}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);background:#f8fafc!important;border-color:#e2e8f0!important;color:#1e293b!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{background:none!important;color:var(--app-brand-dark)!important;-webkit-text-fill-color:var(--app-brand-dark)!important;filter:none!important;text-shadow:none!important}html body .business-pos-terminal :is(.bp-total span,.bp-brand:after,.bp-brand:before){color:var(--app-brand-dark)!important}html body .business-pos-terminal :is(.bp-total:after,.bp-pay:before,.bp-side button:after){display:none!important}html body .business-pos-terminal :is(.bp-main,.bp-side,.bp-footer,.bp-table-wrap){background:#fff!important;border-color:#e2e8f0!important;box-shadow:none!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;border-color:#e2e8f0!important;color:#334155!important}html body .business-pos-terminal :is(.bp-entry,.bp-table td){background:#fff!important;color:#334155!important}html body .business-pos-terminal :is(.bp-side-grid button,.bp-keypad button){background:#fff!important;color:#334155!important;border-color:#e2e8f0!important;box-shadow:none!important;text-shadow:none!important}html body .business-pos-terminal .bp-member,html body .business-pos-terminal :is(.bp-side-grid button,.bp-keypad button):hover:not(:disabled){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),html body main.app-frame.pos-screen-frame:has(#flowsale-pos)>section.work-area{display:block!important;width:100%!important;min-width:0!important;height:100dvh!important;min-height:0!important;max-height:100dvh!important;padding:0!important;margin:0!important;overflow:hidden!important}#flowsale-pos{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(330px,32%)!important;grid-template-rows:minmax(0,1fr)!important;position:relative!important;inset:auto!important;width:100%!important;height:100%!important;min-height:0!important;max-height:100dvh!important;padding:8px!important;margin:0!important;gap:10px!important;overflow:hidden!important;box-sizing:border-box!important}#flowsale-pos *,#flowsale-pos :after,#flowsale-pos :before{box-sizing:border-box}#flowsale-pos>.cart-panel,#flowsale-pos>.product-panel{display:flex!important;flex-direction:column!important;position:relative!important;inset:auto!important;width:100%!important;min-width:0!important;max-width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important;padding:10px!important;margin:0!important;gap:8px!important;overflow:hidden!important;transform:none!important}#flowsale-pos>.cart-panel>:not(.cart-list):not(style),#flowsale-pos>.product-panel>:not(.product-grid):not(style){position:static!important;inset:auto!important;flex:0 0 auto!important;order:0!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;transform:none!important}#flowsale-pos #pos-compact-header{display:flex!important;flex-wrap:wrap!important;padding:6px!important;gap:6px!important;overflow:visible!important}#flowsale-pos #pos-compact-header>*{position:relative!important;inset:auto!important;width:auto!important;min-width:0!important;height:auto!important;margin:0!important;transform:none!important}#flowsale-pos #pos-compact-header .pos-head-actions,#flowsale-pos #pos-compact-header .sale-mode-tabs{display:flex!important;flex-wrap:wrap!important;gap:4px!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{display:flex!important;flex-wrap:wrap!important;flex:1 1 220px!important}#flowsale-pos #pos-compact-header .pos-voice-message{position:static!important;inset:auto!important;flex:0 0 100%!important;width:100%!important;max-width:none!important;margin:4px 0 0!important;padding:4px 8px!important;font-size:12px!important;white-space:normal!important;box-shadow:none!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;font-size:14px!important;padding:6px 42px 6px 10px!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{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;padding:4px!important;gap:6px!important}#flowsale-pos .category-strip button,#flowsale-pos .pos-quick-view-tabs button{flex:0 0 auto!important;height:32px!important;min-height:32px!important;width:auto!important;min-width:0!important;padding:4px 14px!important;font-size:12px!important}#flowsale-pos .pos-barcode-area{padding:4px!important}#flowsale-pos .pos-barcode-row{display:flex!important;gap:6px!important}#flowsale-pos .barcode-input{flex:1 1!important;min-width:0!important;width:100%!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{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(210px,100%),1fr))!important;grid-template-rows:none!important;grid-auto-rows:max-content!important;align-items:stretch!important;align-content:start!important;flex:1 1!important;width:100%!important;min-height:0!important;height:auto!important;max-height:none!important;overflow:auto!important;padding:6px!important;gap:10px!important}#flowsale-pos .product-card{display:flex!important;flex-direction:column!important;position:relative!important;width:100%!important;min-width:0!important;height:100%!important;align-self:stretch!important;min-height:340px!important;max-height:none!important;padding:10px!important;gap:6px!important;overflow:hidden!important}#flowsale-pos .product-card>:not(.product-favorite-button):not(.wholesale-price-badge){position:relative!important;inset:auto!important;transform:none!important;width:100%!important;margin:0!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{width:100%!important;height:100%!important;object-fit:contain!important}#flowsale-pos .product-card .product-info{display:flex!important;flex-direction:column!important;flex:1 0 auto!important;height:auto!important;min-height:0!important;max-height:none!important;gap:5px!important;overflow:visible!important}#flowsale-pos .product-info>strong{position:static!important;display:block!important;height:auto!important;min-height:42px!important;max-height:none!important;white-space:normal!important;overflow-wrap:anywhere!important;overflow:visible!important;-webkit-line-clamp:unset!important;font-size:14px!important;line-height:1.5!important}#flowsale-pos .product-info .price-warning{position:static!important;font-size:11px!important;padding:3px 5px!important}#flowsale-pos .product-info .stock-chip{padding:4px 6px!important;font-size:12px!important;align-self:start!important}#flowsale-pos .product-info .branch-stock-hint,#flowsale-pos .product-info .product-code{font-size:11px!important}#flowsale-pos .product-card .product-price-fixed{display:block!important;flex:0 0 auto!important;height:auto!important;font-size:22px!important}#flowsale-pos .product-bottom>b,#flowsale-pos .product-mobile-price{display:none!important}#flowsale-pos .product-card .product-bottom{display:grid!important;grid-template-columns:minmax(0,1fr) 40px!important;flex:0 0 auto!important;height:auto!important;padding:0!important;gap:6px!important}#flowsale-pos .product-bottom button,#flowsale-pos .product-bottom select{position:static!important;width:100%!important;min-width:0!important;height:40px!important;min-height:40px!important;margin:0!important}#flowsale-pos .pager{display:flex!important;flex-wrap:wrap!important;gap:8px!important;padding:6px!important;font-size:12px!important}#flowsale-pos .cart-title{padding:8px!important}#flowsale-pos .cart-title h2{font-size:20px!important;margin:4px 0!important}#flowsale-pos .cart-title em{font-size:12px!important}#flowsale-pos .cart-tools{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:none!important;grid-auto-rows:auto!important;height:auto!important;min-height:0!important;max-height:none!important;gap:5px!important;padding:0!important}#flowsale-pos .cart-tools button{position:static!important;height:auto!important;min-height:34px!important;padding:5px!important;font-size:12px!important;white-space:normal!important}#flowsale-pos .customer-box{padding:8px!important}#flowsale-pos .cart-list{display:flex!important;flex-direction:column!important;position:relative!important;inset:auto!important;order:0!important;flex:1 1!important;min-height:80px!important;width:100%!important;padding:4px!important;margin:0!important;overflow:auto!important}#flowsale-pos .cart-item,#flowsale-pos .cart-list{height:auto!important;max-height:none!important;gap:8px!important}#flowsale-pos .cart-item{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;grid-template-areas:"info total" "discount qty"!important;flex:0 0 auto!important;min-height:120px!important;padding:10px!important}#flowsale-pos .cart-item>*{position:static!important;inset:auto!important;transform:none!important;min-width:0!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{display:flex!important;flex-direction:column!important;gap:6px!important;padding:0!important}#flowsale-pos .cart-footer-stack>*{position:static!important;inset:auto!important;width:100%!important;min-height:0!important;height:auto!important;margin:0!important;transform:none!important}#flowsale-pos .cart-summary-box{padding:8px!important}#flowsale-pos .cart-summary-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;min-height:22px!important;font-size:12px!important}#flowsale-pos .cart-summary-row input{position:static!important;width:72px!important;min-width:0!important;max-width:72px!important;height:28px!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.mobile-cart-open>.product-panel,#flowsale-pos:not(.mobile-cart-open)>.cart-panel{display:none!important}#flowsale-pos.mobile-cart-open{grid-template-rows:44px minmax(0,1fr)!important}#flowsale-pos.mobile-cart-open>.cart-panel{display:flex!important;grid-row:2!important;padding-top:10px!important}#flowsale-pos:not(.mobile-cart-open)>.product-panel{padding-bottom:58px!important}#flowsale-pos>.pos-mobile-cart-toggle{display:inline-flex!important;position:fixed!important;inset:auto 18px 14px auto!important;width:auto!important;min-width:120px!important;max-width:calc(100% - 36px)!important;height:44px!important;min-height:44px!important;transform:none!important}#flowsale-pos.mobile-cart-open>.pos-mobile-cart-toggle{position:static!important;inset:auto!important;grid-row:1!important;justify-self:end!important;box-shadow:none!important}}@media (max-height:720px){#flowsale-pos>.cart-panel{overflow-y:auto!important}#flowsale-pos .cart-list{flex:0 0 auto!important;min-height:120px!important;max-height:none!important;overflow:visible!important}}#flowsale-pos .cart-item,#flowsale-pos .cart-panel,#flowsale-pos .product-panel{background:#ffffff!important;border-color:#e2e8f0!important;box-shadow:none!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-title em,#flowsale-pos .cart-title>div>span,#flowsale-pos .cart-total,#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){grid-column:1/-1;overflow-wrap:anywhere}html body .business-pos-terminal .bp-entry input{width:100%;min-width:0;box-sizing:border-box}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{position:static!important;width:auto!important;height:auto!important;display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:14px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc;color:#334155;font-size:13px}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{display:flex;align-items:center;gap:8px}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{padding:22px 26px!important;min-height:0!important;border-radius:16px}html body .app-frame .reports-workspace>.section-intro h2{font-size:28px!important;margin:6px 0}html body .app-frame .reports-workspace>.section-intro p{font-size:14px;margin:0}html body .app-frame .reports-workspace .reports-page{padding:clamp(16px,2vw,28px);border-radius:18px;min-width:0;display:flex;flex-direction:column;gap:20px}html body .app-frame .reports-workspace .report-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:12px;align-items:end;padding:18px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px}html body .app-frame .reports-workspace .quick-range{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px}html body .app-frame .reports-workspace .report-controls label{min-width:0;display:grid;gap:6px;color:#475569;font-size:13px}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{background:var(--app-brand)!important;color:white!important;min-height:42px;white-space:nowrap}html body .app-frame .reports-workspace .report-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0}html body .app-frame .reports-workspace .report-actions .status-pill{margin-right:auto;max-width:100%;white-space:normal;background:color-mix(in srgb,var(--app-brand) 7%,white)!important;color:#334155!important;padding:8px 12px;border-radius:8px;font-size:13px}html body .app-frame .reports-workspace .report-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px;margin:0}html body .app-frame .reports-workspace .report-metrics>*{min-width:0;padding:20px;border-radius:14px;box-shadow:none;background:#fff;border:1px solid #e2e8f0}html body .app-frame .reports-workspace :is(.report-metrics,.bill-summary-card) strong{display:block;font-size:clamp(22px,1.8vw,30px)!important;line-height:1.3;letter-spacing:-.6px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:10px 0}html body .app-frame .reports-workspace .report-tabs{display:flex;flex-wrap:wrap;padding:8px;gap:6px;background:#f8fafc;margin:0}html body .app-frame .reports-workspace .report-tabs button{font-size:13px;padding:9px 12px}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);font-size:11px;font-weight:700;letter-spacing:1px;margin:4px 0 -12px}html body .app-frame .reports-workspace .reports-page>h2{font-size:22px;margin:0}html body .app-frame .reports-workspace .bill-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:12px;margin:0}html body .app-frame .reports-workspace .bill-summary-card{padding:18px;min-width:0;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc}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){padding:22px;border-radius:16px;min-width:0}html body .app-frame .members-page .member-import-card .toolbar{display:grid;grid-template-columns:minmax(220px,1fr) minmax(200px,1fr) auto;gap:16px;align-items:center}html body .app-frame .members-page .member-import-card small{display:block;margin-top:6px;font-size:12px;line-height:1.6;color:#64748b}html body .app-frame .members-page input[type=file]{min-width:0;width:100%;font-size:13px}html body .app-frame .members-page input::file-selector-button{border:0;background:#f1f5f9;color:#334155;padding:7px 10px;border-radius:6px;margin-right:10px}html body .app-frame .members-page .member-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}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{min-width:0;display:grid;gap:7px;font-size:13px;color:#475569;grid-column:auto}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{min-height:80px;resize:vertical}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{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;margin-bottom:18px}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{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.5fr) 252px;gap:16px;padding:18px;border-radius:12px;box-shadow:none;align-items:center}html body .app-frame .members-page .member-row-card>div{min-width:0;overflow-wrap:anywhere}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){font-size:12px;line-height:1.6;color:#64748b}html body .app-frame .members-page .member-row-card p{font-size:13px;margin:4px 0 0}html body .app-frame .members-page .member-row-card .row-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;width:252px;max-width:100%}html body .app-frame .members-page .member-row-card .row-actions button{flex:0 0 80px;padding:8px 6px;min-height:40px;white-space:nowrap}html body .app-frame .members-page .member-pagination{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:16px;background:white;border:1px solid #e2e8f0;border-radius:12px;font-size:13px}html body .app-frame .members-page .member-pagination>span:first-child{margin-right:auto}html body .app-frame .members-page .member-pagination label{display:flex;align-items:center;gap:8px}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{width:100%;min-width:0;box-sizing:border-box}html body .stock-count-page :is(.stock-count-panel,.stock-count-item,.section-intro,.section-intro>div){min-width:0;box-sizing:border-box;overflow-wrap:anywhere}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]{min-height:20px;flex-shrink:0}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;overflow:visible;padding:0}html body .stock-count-page .stock-count-actions{position:static!important;padding:0}html body .stock-count-page .section-intro{display:flex;flex-direction:column;align-items:stretch;gap:16px}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-column:1;grid-row:2;width:100%}html body .stock-count-page .stock-count-item .stock-count-remove{grid-column:2;grid-row:2;width:44px;height:44px}html body .stock-count-page .stock-count-item .variance{grid-column:1/-1;grid-row:3;text-align:left}html body .stock-count-page .stock-count-scan-row{grid-template-columns:minmax(0,1fr)}html body .stock-count-page .section-actions>button{flex:1 1 160px}html body .stock-count-page dialog.stock-count-history-dialog{width:calc(100vw - 16px);max-height:90vh;max-height:90dvh;padding:14px 14px 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:1 1 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]{display:flex!important;flex-flow:column nowrap!important;align-items:stretch!important;justify-content:flex-start!important;gap:4px!important}html body nav#flowsale-main-navigation>button{display:flex!important;flex-direction:row!important;justify-content:flex-start!important;align-items:center!important;border-radius:10px!important;flex:0 0 auto!important;width:100%!important;max-width:100%!important;min-height:44px!important;gap:12px!important;padding:8px 12px!important}html body nav#flowsale-main-navigation>button .nav-label{display:block!important;position:static!important;flex:1 1 auto!important;width:auto!important;min-width:0!important;max-width:none!important;height:auto!important;max-height:none!important;opacity:1!important;visibility:visible!important;clip-path:none!important;transform:none!important;font-size:14px!important;line-height:1.5!important;text-align:left!important;white-space:normal!important;color:inherit!important;overflow-wrap:anywhere}html body nav#flowsale-main-navigation>button .nav-icon{position:static!important;flex:0 0 32px!important;width:32px!important;height:32px!important;margin:0!important;transform:none!important}html body>button.flowsale-menu-backdrop{position:fixed;inset:0;z-index:899;width:100%;height:100dvh;padding:0;border:0;border-radius:0;background:rgb(15 23 42/32%)}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 rgb(15 23 42/18%)!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{padding:calc(76px + env(safe-area-inset-top, 0px)) 16px 24px!important;height:auto!important;min-height:100dvh}html body .app-frame:not(.pos-screen-frame) .page-stack,html body .app-frame:not(.pos-screen-frame) .work-area{min-width:0;max-width:100%;box-sizing:border-box}html body .app-frame:not(.pos-screen-frame) :is(.table-card,.form-card,.metric-card,.toolbar,.section-intro){min-width:0;box-sizing:border-box}html body .app-frame:not(.pos-screen-frame) :is(.stock-table-wrap,.table-wrap,.table-scroll){max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}html body .app-frame:not(.pos-screen-frame) .metric-card strong{overflow-wrap:anywhere;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}html body .modal>.modal-card{box-sizing:border-box;max-width:calc(100vw - 24px)!important;max-height:calc(100vh - 24px)!important;max-height:calc(100dvh - 24px)!important;overflow-y:auto;overscroll-behavior:contain;min-width:0!important}}@media screen and (max-width:1000px){html body main.app-frame[data-menu-hidden]:not(.pos-screen-frame){display:block!important;padding-left:0!important;margin-left:0!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;margin-left:0!important;padding:calc(76px + env(safe-area-inset-top, 0px)) 16px 24px!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{display:flex!important;flex-wrap:wrap;gap:16px;padding:20px!important;min-height:0!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){display:flex!important;flex-wrap:wrap!important;gap:12px;align-items:end}html body .app-frame:not(.pos-screen-frame) :is(.toolbar,.report-controls,.billing-note-toolbar)>:is(input,select,label){flex:1 1 180px;min-width:0!important;max-width:100%}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>*{grid-column:1/-1!important;min-width:0}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){min-width:0;max-width:100%;box-sizing:border-box}html body .app-frame:not(.pos-screen-frame) :is(.stock-pager,.report-actions,.row-actions){flex-wrap:wrap!important;gap:8px}html body .app-frame:not(.pos-screen-frame) :is(.bill-report-table,.table-card>table){display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}html body .app-frame .inventory-management-table :is(th,td).sticky-actions{position:static!important;box-shadow:none}html body .modal>.modal-card{padding:16px!important;grid-template-columns:minmax(0,1fr)!important}html body .modal-card>label{grid-column:1/-1!important;min-width:0}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 :is(dialog,.modal),html body nav#flowsale-main-navigation{font-family:var(--app-font-family)!important;font-size:var(--app-font-body);font-weight:400;line-height:1.6}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 :is(dialog,.modal) :where(button,input,select,textarea),html body nav#flowsale-main-navigation :is(button,.nav-label){font-family:var(--app-font-family)!important}html body nav#flowsale-main-navigation>button .nav-label{font-size:13px!important;font-weight:600!important;line-height:1.5!important;letter-spacing:normal!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{padding:16px!important;min-height:0!important;gap:8px}html body .app-frame:not(.pos-screen-frame) .work-area .db-page .metric-card strong{font-size:24px!important;overflow-wrap:anywhere}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{font-size:16px!important;overflow-wrap:anywhere}html body .app-frame:not(.pos-screen-frame) .work-area .db-page .eyebrow{font-size:var(--app-font-caption)!important;font-weight:600!important;background:transparent!important;letter-spacing:.04em}html body .app-frame:not(.pos-screen-frame) .work-area .db-page .channel-badge{width:auto;height:auto;min-height:28px;padding:4px 10px;align-self:start;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{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(120px,.5fr) auto!important;gap:12px!important;align-items:end}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-column:span 2!important;grid-row:auto!important}html body .app-frame .purchase-page .purchase-receive-card .receive-organized-form>:is(.receive-supplier-field,.receive-step-heading){grid-column:1/-1!important;grid-row:auto!important}html body .app-frame .purchase-page .purchase-receive-card .receive-organized-form .receive-step-heading{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 16px;padding:16px 0 8px;border-top:1px solid var(--line);margin-top:8px}html body .app-frame .purchase-page .purchase-receive-card .receive-organized-form .purchase-product-picker{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;min-width:0}html body .app-frame .purchase-page .purchase-receive-card .receive-organized-form .purchase-product-picker>*{grid-column:1/-1!important;grid-row:auto!important;min-width:0!important;width:100%!important;max-width:100%!important}html body .app-frame .purchase-page .purchase-receive-card .receive-organized-form .purchase-product-search{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important}html body .app-frame .purchase-page .purchase-receive-card .receive-organized-form .purchase-selected-product{white-space:normal!important;overflow-wrap:anywhere;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{display:block;margin-bottom:4px}}@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-columns:minmax(0,1fr)!important;grid-template-rows:auto!important}html body .app-frame .purchase-page .purchase-receive-card .receive-organized-form .receive-barcode-row>*{grid-column:1/-1!important;grid-row:auto!important;min-height:44px}}@media screen{.supplier-picker{display:grid;gap:8px;min-width:0}.supplier-picker-actions{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px}.supplier-picker-actions select{min-width:0;width:100%}html body dialog.supplier-master-dialog{width:min(800px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;border:1px solid #dbe3ee;border-radius:16px;color:#1e293b;background:white}.supplier-master-dialog::backdrop{background:rgb(15 23 42/50%)}.supplier-master-dialog :is(header,footer,nav){display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.supplier-master-dialog h2{margin:0;font-size:20px}.supplier-master-dialog label{display:grid;gap:6px;min-width:0}.supplier-master-dialog :is(input,select,textarea){width:100%;min-width:0;box-sizing:border-box}.supplier-master-dialog fieldset{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0;border:0}.supplier-address{grid-column:1/-1}.supplier-master-list{display:grid;gap:8px;margin:12px 0}.supplier-master-list>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px;border:1px solid #e2e8f0;border-radius:8px;overflow-wrap:anywhere}.supplier-master-list small{display:block}.supplier-import-panel{margin:16px 0;padding:16px;border:1px solid #dbe3ee;border-radius:12px;background:#f8fafc}.supplier-import-list{display:grid;gap:8px;margin:12px 0}html body .supplier-master-dialog .supplier-import-list label{display:flex;align-items:center;gap:12px;padding:10px;background:white;border:1px solid #e2e8f0;border-radius:8px;overflow-wrap:anywhere}html body .supplier-master-dialog .supplier-import-list input[type=checkbox]{width:20px;height:20px;min-height:20px;flex:0 0 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{display:block!important;padding:0!important;border:1px solid #e2e8f0;border-radius:8px}html body .modal .bill-search-modal .bill-search-table{width:100%;min-width:610px;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:12px!important;line-height:1.5}html body .modal .bill-search-modal .bill-search-table :is(th,td){padding:8px!important;height:auto!important;font-size:12px!important;border-bottom:1px solid #e2e8f0;text-align:left;vertical-align:middle;overflow-wrap:anywhere}html body .modal .bill-search-modal .bill-search-table th{position:sticky;top:0;z-index:1;background:#f1f5f9;font-weight:600}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{display:block;font-size:11px!important;font-weight:400;color:#64748b}html body .modal .bill-search-modal .bill-search-table .bill-amount{text-align:right;font-feature-settings:"tnum";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{font-size:11px!important;color:var(--app-brand-dark,#1d4ed8)}html body .modal .bill-search-modal .bill-search-table button{width:auto!important;height:auto!important;min-height:34px!important;padding:5px 7px!important;font-size:12px!important;white-space:normal!important}html body .modal .bill-search-modal .bill-search-table .bill-table-empty{padding:24px!important;text-align:center}html body .modal .modal-card.bill-search-modal{position:relative;width:min(680px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;height:calc(100dvh - 32px)!important;max-height:calc(100dvh - 32px)!important;display:flex!important;flex-direction:column!important;gap:12px!important;padding:18px!important;overflow:hidden!important;font-size:13px!important}html body .modal .bill-search-modal>:is(.modal-head,.bill-search-input,.bill-search-date-filter,.bill-search-type-filter){flex:0 0 auto!important;margin:0!important}html body .modal .bill-search-modal .bill-search-type-filter{display:flex;flex-wrap:wrap;gap:6px;align-items:center}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:white!important}html body .modal .bill-search-modal .bill-search-type-filter small{font-size:11px!important;color:#64748b}html body .modal .bill-search-modal .modal-head{padding:0 0 12px!important;min-height:0!important}html body .modal .bill-search-modal h2{font-size:20px!important;line-height:1.4!important;margin:4px 0 0!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){height:40px!important;min-height:40px!important;padding:8px 10px!important;border-radius:9px!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!important;min-height:0!important;overflow:auto!important;display:grid!important;grid-auto-rows:max-content!important;align-content:start!important;gap:8px!important;padding:2px!important}html body .modal .bill-search-modal button.bill-search-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;height:auto!important;min-height:72px!important;max-height:none!important;padding:10px 12px!important;gap:4px 10px!important;border-radius:10px!important;white-space:normal!important;transform:none!important}html body .modal .bill-search-modal .bill-search-row>div{min-width:0;overflow-wrap:anywhere}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){font-size:12px!important;font-weight:400!important;line-height:1.5!important;margin:0!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{display:grid!important;grid-template-rows:auto auto minmax(140px,1fr) auto auto!important;padding:16px!important;gap:10px!important;overflow:auto!important;font-size:13px!important;line-height:1.5!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{font-size:20px!important;line-height:1.4!important;margin:2px 0 0!important;overflow-wrap:anywhere}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{padding:6px 8px!important;gap:1px!important;border-radius:6px!important;min-width:0;overflow-wrap:anywhere}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{min-height:140px!important;overflow:auto!important;border-radius:8px!important}html body .modal .bill-search-modal .bill-search-detail-item{grid-template-columns:minmax(0,1fr) 68px 84px 84px!important;padding:7px 8px!important;gap:8px!important;font-size:12px!important;line-height:1.5!important}html body .modal .bill-search-modal .bill-search-detail-item>span{min-width:0;overflow-wrap:anywhere;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{width:100%!important;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;border-top:1px solid #e2e8f0;padding-top:8px}html body .modal .bill-search-modal .bill-search-detail-summary p{display:grid!important;gap:2px!important;padding:6px!important;margin:0!important;min-width:0;overflow-wrap:anywhere}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{height:auto!important;min-height:40px!important;padding:8px 10px!important;border-radius:8px!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){min-height:44px!important;height:auto!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{position:fixed;inset:0;width:min(940px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid rgba(var(--app-brand-rgb,249,115,22),.18);border-radius:22px;background:#fff;color:#182230;font-size:14px;box-shadow:0 30px 90px rgba(15,23,42,.24),0 0 0 1px rgba(255,255,255,.7);overflow:auto;overscroll-behavior:contain}.premium-dialog::backdrop{background:rgba(15,23,42,.58);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}html body .premium-dialog header{position:sticky;top:0;z-index:3;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 22px;border-bottom:1px solid rgba(var(--app-brand-rgb,249,115,22),.14);background:radial-gradient(circle at 100% 0,rgba(var(--app-brand-rgb,249,115,22),.12),transparent 42%),linear-gradient(135deg,#fff,var(--app-brand-soft,#fff7ed))}html body .premium-dialog h2{margin:0 0 4px!important;color:#172033;font-size:22px!important;line-height:1.35}html body .premium-dialog header p{margin:0;color:#667085;font-size:13px;font-weight:600}html body .premium-dialog h3{margin:12px 0 0;color:#172033;font-size:17px!important}html body .premium-dialog .premium-content{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;padding:22px;min-width:0;background:#fff}html body .premium-dialog .premium-content>*{min-width:0}html body .premium-dialog label{display:grid;grid-template-columns:minmax(0,1fr);gap:7px;min-width:0;color:#344054;font-weight:750}html body .premium-dialog :is(button,input,select){min-height:44px;max-width:100%;padding:9px 12px;border:1px solid #d8e0ea;border-radius:11px;background:#fff;color:#253044;font:inherit;transition:border-color .18s,box-shadow .18s,background .18s,transform .18s}html body .premium-dialog :is(input,select):focus{border-color:var(--app-brand,#f97316);outline:0;box-shadow:0 0 0 4px rgba(var(--app-brand-rgb,249,115,22),.12)}html body .premium-dialog button{width:auto;cursor:pointer;font-weight:750}html body .premium-dialog button:hover:not(:disabled){border-color:rgba(var(--app-brand-rgb,249,115,22),.38);background:var(--app-brand-soft,#fff7ed)}html body .premium-dialog button:disabled{opacity:.52;cursor:not-allowed}html body .premium-dialog input[type=checkbox]{width:20px;min-height:auto;accent-color:var(--app-brand,#f97316)}html body .premium-dialog .premium-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:12px;border:1px solid rgba(var(--app-brand-rgb,249,115,22),.15);border-radius:15px;background:var(--app-brand-soft,#fff7ed)}html body .premium-dialog .premium-summary span{display:grid;gap:3px;padding:10px 12px;border-radius:11px;background:rgba(255,255,255,.82);color:#667085;font-size:12px;font-weight:650}html body .premium-dialog .premium-summary b{color:var(--app-brand-dark,#c2410c);font-size:20px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}html body .premium-dialog .premium-primary{min-height:48px;border-color:transparent;background:linear-gradient(135deg,var(--app-brand,#f97316),var(--app-brand-dark,#c2410c));color:#fff;box-shadow:0 10px 24px rgba(var(--app-brand-rgb,249,115,22),.22)}html body .premium-dialog .premium-primary:hover:not(:disabled){border-color:transparent;background:linear-gradient(135deg,var(--app-brand-dark,#c2410c),var(--app-brand,#f97316));color:#fff;transform:translateY(-1px)}html body .premium-dialog .premium-table-scroll{max-height:340px;overflow:auto;border:1px solid #e4e9f0;border-radius:14px}html body .premium-dialog table{width:100%;min-width:560px;border-collapse:collapse}html body .premium-dialog :is(th,td){height:auto!important;padding:11px 12px!important;border-bottom:1px solid #edf0f4;font-size:13px!important;text-align:left}html body .premium-dialog th{position:sticky;top:0;z-index:1;background:color-mix(in srgb,var(--app-brand-soft,#fff7ed) 60%,#f8fafc);color:#344054;font-weight:800}html body .premium-dialog tbody tr:last-child td{border-bottom:0}html body .premium-dialog tbody tr:hover{background:rgba(var(--app-brand-rgb,249,115,22),.035)}html body .premium-dialog td input{width:96px}html body .premium-dialog small{display:block;margin-top:3px;color:#7b8798;font-size:12px!important}html body .premium-dialog .premium-config{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-width:0;margin-top:12px;padding:16px;border:1px solid rgba(var(--app-brand-rgb,249,115,22),.14);border-radius:14px;background:#fafbfc}@media (max-width:600px){html body dialog.premium-dialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:17px}html body .premium-dialog .premium-content,html body .premium-dialog header{padding:16px}html body .premium-dialog .premium-summary{grid-template-columns:minmax(0,1fr)}html body .premium-dialog :is(input,select){font-size:16px}}.flowsale-language-picker{position:fixed;bottom:max(12px,env(safe-area-inset-bottom));right:16px;z-index:1000;display:flex;align-items:center;gap:8px;padding:6px 10px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#334155;box-shadow:0 2px 10px #0f172a14;font:12px/1.4 system-ui,sans-serif}html body .flowsale-language-picker select{width:auto!important;min-height:32px!important;height:32px!important;padding:2px 8px!important;font-size:13px!important}@media (max-width:600px){.flowsale-language-picker{bottom:80px;right:8px}.flowsale-language-picker>span{display:none}}@media (max-width:1280px){html body .flowsale-language-picker{top:auto;right:max(10px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));left:auto;z-index:120;width:42px;height:42px;padding:0;border-radius:50%;display:grid;place-items:center;background:#fff;box-shadow:0 3px 12px #0f172a1f}html body .flowsale-language-picker>span{display:none}html body .flowsale-language-picker select{position:absolute;inset:0;width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important;padding:0!important;border:0!important;opacity:0;cursor:pointer}html body .flowsale-language-picker:before{content:"🌐";font-size:20px;line-height:1;pointer-events:none}}@media print{.flowsale-language-picker{display:none!important}}html body:has(main.app-frame.pos-screen-frame) .flowsale-language-picker{display:none!important}