@charset "UTF-8";:root{--pos-sidebar-bg: #0b1f33;--pos-sidebar-width: 260px;--pos-sidebar-active: #1677ff;--pos-page-bg: #eef2f7;--pos-primary: #1677ff;--pos-card-radius: 10px;--pos-font: "Leelawadee UI", "Sarabun", "Tahoma", "Segoe UI", system-ui, sans-serif;--pos-space: 1rem;--pos-space-sm: .75rem;--pos-font-base: .95rem;--pos-pos-pay-width: 420px}html[data-screen-mode=normal]{--pos-sidebar-width: 200px;--pos-card-radius: 8px;--pos-space: .65rem;--pos-space-sm: .45rem;--pos-font-base: .88rem;--pos-pos-pay-width: 300px;font-size:14.5px}html:has(.pos-pos-layout),html:has(.pos-pos-layout) body{height:100%;overflow:hidden}*{box-sizing:border-box}body{margin:0;font-family:var(--pos-font);background:var(--pos-page-bg);color:#1f2937}a{text-decoration:none}.pos-layout{min-height:100vh;display:flex;background:var(--pos-page-bg)}.pos-sidebar{width:var(--pos-sidebar-width);background:var(--pos-sidebar-bg);color:#dbeafe;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;z-index:1040;transition:transform .2s ease}.pos-sidebar-brand{padding:1.25rem 1rem 1rem;border-bottom:1px solid rgba(255,255,255,.08)}.pos-sidebar-brand h1{margin:0;font-size:1.05rem;color:#fff;font-weight:700}.pos-sidebar-brand p{margin:.25rem 0 0;font-size:.78rem;color:#93c5fd}.pos-sidebar-nav{flex:1;overflow-y:auto;padding:.75rem 0}.pos-sidebar-link{display:flex;align-items:center;gap:.75rem;padding:.7rem 1rem;color:#cbd5e1;font-size:.92rem;border-left:3px solid transparent}.pos-sidebar-link:hover{background:#ffffff0d;color:#fff}.pos-sidebar-link.active{background:#1677ff2e;color:#fff;border-left-color:var(--pos-sidebar-active)}.pos-sidebar-link .num{width:1.25rem;opacity:.75;font-size:.82rem}.pos-sidebar-footer{padding:.85rem 1rem;font-size:.75rem;color:#64748b;border-top:1px solid rgba(255,255,255,.08)}.pos-main{flex:1;margin-left:var(--pos-sidebar-width);min-width:0;display:flex;flex-direction:column;min-height:100vh}.pos-topbar{background:#fff;border-bottom:1px solid #e5e7eb;padding:.85rem 1.25rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;position:sticky;top:0;z-index:1030}.pos-topbar-title h2{margin:0;font-size:1.05rem;font-weight:700}.pos-topbar-title p{margin:.15rem 0 0;font-size:.82rem;color:#6b7280}.pos-topbar-actions{display:flex;align-items:center;gap:.75rem}.pos-content{padding:1.25rem;flex:1}.pos-card{background:#fff;border:1px solid #e5e7eb;border-radius:var(--pos-card-radius);box-shadow:0 1px 2px #0f172a0a}.pos-page-header{padding:1rem 1.25rem;border-bottom:1px solid #eef2f7;display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.pos-page-header-icon{width:42px;height:42px;border-radius:10px;background:#1677ff1f;color:var(--pos-primary);display:inline-flex;align-items:center;justify-content:center;font-size:1.2rem}.pos-filter-bar{padding:1rem 1.25rem;border-bottom:1px solid #eef2f7;background:#fafbfc}.pos-table-wrap{padding:0 1.25rem 1rem}.pos-table{margin-bottom:0}.pos-table thead th{background:#f8fafc;font-size:.82rem;font-weight:600;color:#475569;white-space:nowrap;vertical-align:middle}.pos-table tbody td{font-size:.88rem;vertical-align:middle}.pos-table-footer{padding:.85rem 1.25rem 1.25rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.pos-link{color:var(--pos-primary);font-weight:500}.pos-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;padding:1rem 1.25rem 1.25rem}.pos-summary-card{border-radius:10px;padding:1rem;color:#fff}.pos-summary-card.blue{background:linear-gradient(135deg,#2563eb,#1d4ed8)}.pos-summary-card.green{background:linear-gradient(135deg,#059669,#047857)}.pos-summary-card.orange{background:linear-gradient(135deg,#ea580c,#c2410c)}.pos-summary-card.purple{background:linear-gradient(135deg,#7c3aed,#6d28d9)}.pos-summary-card.cyan{background:linear-gradient(135deg,#0891b2,#0e7490)}.pos-summary-card small{opacity:.9}.pos-summary-card strong{display:block;font-size:1.35rem;margin-top:.25rem}.pos-info-box{margin:0 1.25rem 1.25rem;padding:1rem 1.25rem;background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px}.pos-auth-page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#fff;position:relative}.pos-auth-shutdown{position:fixed;right:1rem;bottom:1rem;z-index:1050;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.55rem 1rem;border:1px solid #fecaca;border-radius:999px;background:#fff;color:#b91c1c;font-size:.95rem;font-weight:600;box-shadow:0 4px 16px #0f172a1f;touch-action:manipulation}.pos-auth-shutdown:hover:not(:disabled){background:#fef2f2;border-color:#f87171;color:#991b1b}.pos-auth-shutdown:disabled{opacity:.75;cursor:wait}html[data-screen-mode=normal] .pos-auth-shutdown{right:.65rem;bottom:.65rem;min-height:40px;padding:.4rem .85rem;font-size:.88rem}.pos-auth-brand{background:linear-gradient(160deg,#0b1f33,#1677ff);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem;text-align:center}.pos-auth-brand .app-logo{filter:drop-shadow(0 4px 12px rgba(0,0,0,.2))}.pos-auth-form{display:flex;align-items:center;justify-content:center;padding:2rem;background:var(--pos-page-bg)}.pos-auth-card{width:100%;max-width:420px;background:#fff;border-radius:12px;padding:2rem;box-shadow:0 8px 30px #0f172a14}.pos-pos-layout{height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;display:flex;flex-direction:column;background:#f3f4f6;overflow:hidden}.pos-pos-header{background:#0b1f33;color:#fff;padding:.85rem 1.25rem;display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.pos-pos-body{flex:1;min-height:0;display:grid;grid-template-columns:1fr minmax(320px,var(--pos-pos-pay-width));gap:var(--pos-space);padding:var(--pos-space);overflow:hidden}.pos-pos-main-panel{display:flex;flex-direction:column;min-height:0;height:100%;overflow:hidden}.pos-pos-scan-bar{padding:1rem 1rem .75rem;background:linear-gradient(180deg,#f8fbff,#fff);border-bottom:1px solid #e5e7eb}.pos-pos-suggest{padding:0 1rem}.pos-pos-cart-table{flex:1;min-height:0;padding:0;overflow:auto}.pos-pos-cart-table .pos-table thead th{position:sticky;top:0;z-index:1;box-shadow:inset 0 -1px #e5e7eb}.pos-pos-pay-panel{min-height:0;height:100%;overflow:hidden}.pos-pos-pay-body{flex:1;min-height:0;overflow:auto}.pos-pos-pay-header{background:linear-gradient(135deg,#1677ff,#0b1f33);color:#fff;padding:1rem 1.25rem}.pos-pos-pay-header small{opacity:.85}.pos-pos-total{font-size:clamp(2.4rem,4vw,3.2rem);font-weight:800;color:var(--pos-primary);line-height:1.05;letter-spacing:-.02em}.pos-pay-amount-block{text-align:center;padding:.65rem .5rem .35rem}.pos-pay-amount-label{font-size:.95rem;color:#64748b;margin-bottom:.2rem}.pos-pay-cash-received{background:#f8fafc;border:1px solid #e2e8f0;border-radius:.85rem}.pos-pay-cash-value{font-size:clamp(2.2rem,3.6vw,2.85rem);font-weight:800;color:#0b1f33;line-height:1.05;font-variant-numeric:tabular-nums}.pos-pay-change-row{display:flex;justify-content:space-between;align-items:center;font-size:1.15rem;padding:0 .15rem}.pos-pay-change-row strong{font-size:1.45rem;font-weight:800;font-variant-numeric:tabular-nums}.pos-touch-toggle .btn{min-height:48px;font-size:1.05rem;font-weight:600}.pos-numpad{display:grid;grid-template-columns:repeat(3,1fr);gap:.55rem;margin-top:.25rem}.pos-numpad-key{min-height:58px;border:1px solid #cbd5e1;border-radius:.75rem;background:#fff;color:#0b1f33;font-size:1.55rem;font-weight:700;line-height:1;touch-action:manipulation;user-select:none;-webkit-tap-highlight-color:transparent}.pos-numpad-key:active{background:#e8f1ff;border-color:#1677ff;transform:scale(.98)}.pos-numpad-key--wide{font-size:1.1rem}.pos-numpad-key--exact{grid-column:span 2;background:#e8f1ff;border-color:#91caff;color:#0958d9}.pos-touch-checkout{min-height:56px;font-size:1.15rem;font-weight:700;touch-action:manipulation}@media (max-width: 991.98px){.pos-sidebar{transform:translate(-100%)}.pos-sidebar.open{transform:translate(0)}.pos-main{margin-left:0}.pos-auth-page{grid-template-columns:1fr}.pos-auth-brand{min-height:220px}.pos-pos-body{grid-template-columns:1fr}}html[data-screen-mode=normal] body{font-size:var(--pos-font-base)}html[data-screen-mode=normal] .pos-content{padding:.65rem .75rem}html[data-screen-mode=normal] .pos-topbar{padding:.45rem .75rem}html[data-screen-mode=normal] .pos-topbar-title h2{font-size:.95rem}html[data-screen-mode=normal] .pos-topbar-title p{font-size:.72rem}html[data-screen-mode=normal] .pos-sidebar-brand{padding:.75rem .65rem .55rem}html[data-screen-mode=normal] .pos-sidebar-brand h1{font-size:.92rem}html[data-screen-mode=normal] .pos-sidebar-link{padding:.45rem .65rem;gap:.45rem;font-size:.82rem}html[data-screen-mode=normal] .pos-page-header{padding:.65rem .75rem}html[data-screen-mode=normal] .pos-page-header-icon{width:34px;height:34px;font-size:1rem}html[data-screen-mode=normal] .pos-filter-bar,html[data-screen-mode=normal] .pos-table-wrap{padding-left:.75rem;padding-right:.75rem}html[data-screen-mode=normal] .pos-table thead th,html[data-screen-mode=normal] .pos-table tbody td{font-size:.78rem;padding:.35rem .4rem}html[data-screen-mode=normal] .pos-summary-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.55rem;padding:.65rem .75rem .85rem}html[data-screen-mode=normal] .pos-summary-card{padding:.65rem}html[data-screen-mode=normal] .pos-summary-card strong{font-size:1.1rem}html[data-screen-mode=normal] .pos-auth-page{grid-template-columns:minmax(220px,38%) 1fr}html[data-screen-mode=normal] .pos-auth-brand,html[data-screen-mode=normal] .pos-auth-form{padding:1rem}html[data-screen-mode=normal] .pos-auth-card{max-width:360px;padding:1.15rem}html[data-screen-mode=normal] .pos-pos-header{padding:.35rem .65rem;gap:.35rem}html[data-screen-mode=normal] .pos-pos-header-logo{width:28px!important;height:28px!important}html[data-screen-mode=normal] .pos-pos-header strong{font-size:.92rem;line-height:1.2}html[data-screen-mode=normal] .pos-pos-header .small{font-size:.72rem;line-height:1.2}html[data-screen-mode=normal] .pos-pos-header .btn-sm{padding:.2rem .45rem;font-size:.78rem;line-height:1.25}html[data-screen-mode=normal] .pos-pos-body{gap:.4rem;padding:.4rem}html[data-screen-mode=normal] .pos-pos-main-panel,html[data-screen-mode=normal] .pos-pos-pay-panel{min-height:0;height:100%}html[data-screen-mode=normal] .pos-pos-scan-bar{padding:.4rem .5rem .35rem;flex-shrink:0}html[data-screen-mode=normal] .pos-pos-scan-bar .input-group-lg>.form-control,html[data-screen-mode=normal] .pos-pos-scan-bar .input-group-lg>.input-group-text,html[data-screen-mode=normal] .pos-pos-scan-bar .input-group-lg>.btn{min-height:36px;padding-top:.3rem;padding-bottom:.3rem;font-size:.88rem}html[data-screen-mode=normal] .pos-pos-cart-table .text-center.py-5{padding-top:1.25rem!important;padding-bottom:1.25rem!important}html[data-screen-mode=normal] .pos-pos-meta{padding:.35rem .65rem .45rem!important;flex-shrink:0;font-size:.75rem}html[data-screen-mode=normal] .pos-pos-pay-header{padding:.4rem .65rem;flex-shrink:0}html[data-screen-mode=normal] .pos-pos-pay-header .h5{font-size:.9rem}html[data-screen-mode=normal] .pos-pos-pay-header small{font-size:.72rem}html[data-screen-mode=normal] .pos-pos-pay-body{padding:.45rem .55rem!important;overflow:hidden}html[data-screen-mode=normal] .pos-pay-amount-block{padding:.25rem .35rem .15rem}html[data-screen-mode=normal] .pos-pay-amount-label{font-size:.8rem;margin-bottom:.05rem}html[data-screen-mode=normal] .pos-pos-total{font-size:clamp(1.45rem,2.8vw,1.85rem)}html[data-screen-mode=normal] .pos-pay-cash-value{font-size:clamp(1.3rem,2.6vw,1.65rem)}html[data-screen-mode=normal] .pos-pay-cash-received{border-radius:.55rem}html[data-screen-mode=normal] .pos-pay-change-row{font-size:.88rem;margin-bottom:.35rem!important}html[data-screen-mode=normal] .pos-pay-change-row strong{font-size:1.05rem}html[data-screen-mode=normal] .pos-touch-toggle{margin-top:.35rem!important;margin-bottom:.35rem!important}html[data-screen-mode=normal] .pos-touch-toggle .btn{min-height:34px;padding:.25rem .4rem;font-size:.86rem}html[data-screen-mode=normal] .pos-numpad{gap:.28rem;margin-top:.1rem}html[data-screen-mode=normal] .pos-numpad-key{min-height:36px;font-size:1.05rem;border-radius:.4rem}html[data-screen-mode=normal] .pos-numpad-key--wide{font-size:.86rem}html[data-screen-mode=normal] .pos-touch-checkout{min-height:40px;font-size:.95rem;margin-top:auto!important;flex-shrink:0}html[data-screen-mode=normal] .pos-pos-pay-panel .mb-2{margin-bottom:.3rem!important}html[data-screen-mode=normal] .pos-pos-pay-panel .mb-3{margin-bottom:.35rem!important}html[data-screen-mode=normal] .pos-pos-pay-panel .mt-3{margin-top:.35rem!important}html[data-screen-mode=normal] .btn-lg{padding:.4rem .75rem;font-size:.95rem}html[data-screen-mode=normal] .form-control,html[data-screen-mode=normal] .form-select{min-height:34px;padding:.25rem .5rem;font-size:.86rem}html[data-screen-mode=normal] .modal-dialog{max-width:min(920px,96vw);margin:.5rem auto}html[data-screen-mode=normal] .modal-body{padding:.75rem}@media (max-width: 1100px){html[data-screen-mode=normal] .pos-pos-body{grid-template-columns:1fr minmax(260px,300px);gap:.4rem;padding:.4rem}}@media (max-height: 800px){html[data-screen-mode=normal] .pos-numpad-key{min-height:34px;font-size:1rem}html[data-screen-mode=normal] .pos-touch-checkout{min-height:38px;font-size:.92rem}html[data-screen-mode=normal] .pos-pos-total{font-size:1.45rem}html[data-screen-mode=normal] .pos-pay-cash-value{font-size:1.3rem}}@media (max-width: 1024px){html[data-screen-mode=normal] .pos-sidebar{width:180px}html[data-screen-mode=normal]{--pos-sidebar-width: 180px}}.app-logo[data-v-891c657f]{display:inline-block;width:auto;max-width:100%;object-fit:contain}.app-logo-rounded[data-v-891c657f]{border-radius:8px}
