.pos-layout{--ink:#132b42;--muted:#65748a;--teal:#075083;--dark:#064b80;--line:#bdcbdc;--bg:#f3f6fb;background:#f4f7fc;display:grid;grid-template-columns:178px minmax(0,1fr);grid-template-rows:54px minmax(0,1fr);min-height:100vh;font-family:'Segoe UI',Arial,sans-serif;font-size:12px;color:var(--ink)}
.pos-grid input:focus,.pos-grid select:focus{background:#fffecb}
.pos-top{grid-column:1/-1;display:flex;align-items:center;gap:18px;background:#064b80;color:#fff;padding:0 16px;border-bottom:1px solid #00365c;min-width:0}.pos-brand{display:flex;align-items:center;gap:9px;flex:none}.pos-brand svg{width:24px}.pos-brand strong{font-size:18px;letter-spacing:-.6px}.pos-brand small{display:block;font-size:9px;letter-spacing:.5px;font-weight:400;color:#c9e1f6;margin-top:2px}.pos-top nav{display:flex;align-self:stretch;align-items:stretch;gap:2px;min-width:0}.pos-top nav a{padding:0 11px;display:flex;align-items:center;font-size:12px;white-space:nowrap;color:#caddf1;border-bottom:3px solid transparent}.pos-top nav a.active{background:#ffffff16;border-bottom-color:#a8d0f8;color:#fff;font-weight:600}.pos-top nav a:hover{background:#ffffff12}.pos-branch{margin-left:auto;display:flex;flex-direction:column;gap:2px;font-size:8px;letter-spacing:.8px;color:#bcd4ed;flex:none}.pos-branch select{background:#175b92;color:white;border:1px solid #7ba0be;font-size:11px;border-radius:2px;padding:5px;max-width:190px}.pos-branch option{background:#fff;color:#18344e}.pos-session{font-size:10px;white-space:nowrap;display:flex;gap:6px;align-items:center;color:#dae9d8}.pos-session svg{width:16px}
.pos-command{grid-row:2;grid-column:1;background:#eaf1fc;border-right:1px solid #bccbdd;padding:12px 8px;display:flex;flex-direction:column;min-height:calc(100vh - 54px)}.pos-command-title{padding:0 5px 13px;border-bottom:1px solid #c2d0e0;font-size:13px;color:#064b80;font-weight:650;margin-bottom:9px}.pos-command-title small{display:block;font-size:10px;color:#64758b;margin-top:5px;font-weight:400}.pos-command>button{border:0;border-left:3px solid transparent;background:transparent;display:flex;align-items:center;gap:7px;padding:12px 5px;color:#1d3d5c;text-align:left;font-size:10px;font-weight:600;min-height:40px}.pos-command>button svg{width:16px;height:16px;flex:none}.pos-command>button:hover,.pos-command>button:focus-visible{background:#cfe2f8;border-left-color:#075083}.pos-command .command-charge{background:#d3e6f7;border-left-color:#075083;color:#004b80}.pos-command .command-cancel{color:#b52c30}.pos-command-bottom{margin-top:auto;padding:18px 7px 0;border-top:1px solid #c1cede;font-size:10px;color:#6d7f92;line-height:1.8}.pos-command-bottom strong{display:block;color:#315e7d}.pos-command-bottom button{display:flex;align-items:center;gap:8px;width:100%;margin-top:12px;border:1px solid #bdcbda;background:#f8fbff;border-radius:2px;padding:8px;font-size:10px;color:#315e7d}.pos-command-bottom svg{width:14px;height:14px}
.pos-main{grid-column:2;grid-row:2;min-width:0;padding:0;display:flex;flex-direction:column}.pos-main>.source-notice{order:4;border-radius:0;margin:0;border-width:1px 0 0;background:#f3f7fc;color:#61788f;font-size:10px}.pos-main>.source-notice summary{padding:7px 12px;font-size:10px}.pos-main>.footer{order:5;padding:6px 12px;background:#edf2f9;margin:0;color:#6f8397;font-size:9px}.pos-titlebar{background:#dceaf9;border-bottom:1px solid #b8cde0;display:flex;align-items:center;gap:16px;padding:9px 13px;min-height:42px}.pos-titlebar h1{display:flex;gap:8px;align-items:center;font-size:15px;letter-spacing:0;margin:0;color:#064b80;font-weight:650}.pos-titlebar h1 svg{width:17px}.pos-titlebar>span{font-size:10px;color:#4a657c}.pos-titlebar .btn{margin-left:auto;background:#f5faff;font-size:10px;padding:5px 9px;border-color:#adbfce}.pos-document{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:9px 14px;border-bottom:1px solid #c1cddd;background:#f8faff;font-size:10px;min-height:40px}.pos-document b{font-size:9px;color:#63778b;font-weight:600}.pos-document label{display:flex;align-items:center;gap:7px;flex:1;max-width:360px}.pos-document input{font-size:11px;padding:5px 7px;border-radius:2px;min-width:0;flex:1}.pos-demo{margin-left:auto;color:#6e8092;background:#edf2f7;padding:3px 6px;border:1px solid #c2d0df;font-size:9px}
.pos-work{display:grid;grid-template-columns:minmax(0,1fr) 285px;flex:1;min-height:calc(100vh - 285px);background:white}.pos-detail{display:flex;flex-direction:column;border-right:1px solid #bfccdc;min-width:0}.pos-scanbar{display:flex;align-items:center;gap:7px;padding:10px;border-bottom:1px solid #c4d1e2;background:#f5f8fd}.pos-scanbar>label{font-size:9px;font-weight:700;color:#075083;white-space:nowrap}.pos-scanbar>input{min-width:90px;flex:1;border-radius:2px;padding:9px 10px;font-family:Consolas,monospace;font-size:13px;border-color:#93b4d0}.pos-scanbar>input:focus{outline:2px solid #2c68ca;background:#fffec9}.pos-layout .btn,.pos-dialog .btn{border-radius:2px;border-color:#b7c8dc;font-size:11px;padding:8px 10px;box-shadow:none}.pos-layout .btn.primary{background:#075083;border-color:#075083}.pos-default-price{background:#edf3fb;border-bottom:1px solid #bdcede;display:flex;align-items:center;gap:12px;padding:7px 11px;color:#57738e;font-size:10px;flex-wrap:wrap}.pos-default-price label{display:flex;align-items:center;gap:8px;font-weight:600}.pos-default-price select{padding:4px 8px;border-radius:2px;font-size:10px;min-width:128px}.pos-default-price>span{font-size:9px;color:#6b7e94}.pos-grid-wrap{flex:1;min-height:350px;overflow:auto;background:#fff}.pos-grid{width:100%;border-collapse:collapse;font-size:11px;white-space:nowrap}.pos-grid th{background:#064b80;color:#f6faff;padding:10px 9px;letter-spacing:.3px;font-size:9px;border-right:1px solid #4679a3;border-bottom:1px solid #003e6c;position:sticky;top:0;z-index:1}.pos-grid td{padding:8px 9px;border-right:1px solid #c9d2df;border-bottom:1px solid #c9d2df;vertical-align:middle}.pos-grid tr:nth-child(even){background:#f4f7fc}.pos-grid tr.selected{background:#d8eaff;box-shadow:inset 3px 0 #075083}.pos-grid .code{color:#075083;font-weight:700}.pos-grid .pos-description{white-space:normal;min-width:180px;max-width:380px}.pos-description strong{display:block;font-size:11px;line-height:1.5;font-weight:600}.pos-description small{font-size:9px;margin-top:4px;color:#76879a}.pos-grid input{width:64px;text-align:right;padding:5px;border-radius:1px;border-color:#b3c6da;font-size:12px}.pos-grid select{padding:5px;border-radius:1px;max-width:120px;font-size:10px}.pos-layout input:focus,.pos-layout select:focus,.pos-dialog input:focus,.pos-dialog select:focus{background:#fffecb;outline:2px solid #386ee6;outline-offset:0}.pos-delete{border:0;background:transparent;color:#b85452;font-size:20px;padding:0 5px}.pos-grid .pos-empty-row td{border:0;background:#fff;padding:0}.pos-empty-row>td>div{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:270px;gap:12px;color:#8396aa;white-space:normal;text-align:center;padding:25px}.pos-empty-row svg{width:32px;height:32px;color:#b0c4d8}.pos-empty-row strong{font-size:14px;font-weight:500;color:#57758f}.pos-empty-row span{font-size:11px}.pos-grid-status{border-top:1px solid #bdcddd;background:#eff5fc;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:8px 12px;color:#637d94;font-size:9px}
.pos-summary{display:flex;flex-direction:column;background:#f5f8fd;padding:12px;gap:10px;min-width:0}.pos-summary-heading{font-size:10px;font-weight:650;color:#075083;letter-spacing:.5px;border-bottom:1px solid #c0d0e0;padding:0 0 10px}.pos-summary-content{border:1px solid #c0d0df;background:white;padding:10px}.pos-summary-row{display:flex;justify-content:space-between;align-items:start;gap:15px;padding:9px 0;border-bottom:1px solid #e1e7ef;font-size:10px;color:#718399}.pos-summary-row strong{color:#294760;text-align:right;font-weight:600;overflow-wrap:anywhere;max-width:165px}.pos-payment-info{background:#edf4fc;border:1px solid #bfd0e4;color:#526d84;font-size:10px;line-height:1.7;padding:10px;margin-top:14px}.pos-payment-info svg{width:15px;height:15px;margin-right:3px;color:#075083}.pos-grand-total{background:#19344d;color:white;padding:17px 14px;margin-top:auto;min-width:0}.pos-grand-total>span{font-size:10px;letter-spacing:.5px;color:#b9d5f5}.pos-grand-total strong{display:block;text-align:right;font-size:35px;letter-spacing:-1px;line-height:1.5;font-weight:700;overflow-wrap:anywhere}.pos-grand-total small{font-size:9px;display:block;text-align:right;color:#94b3d3}.pos-charge{border:1px solid #167442;border-radius:1px;background:#198047;color:white;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-family:inherit;font-size:12px;font-weight:600;padding:13px;cursor:pointer}.pos-charge:hover{background:#126b3a}.pos-charge svg{width:18px;height:18px}.pos-cancel{border:1px solid #d49a9a;background:#fff;color:#b93b3b;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px;font-size:11px;cursor:pointer;border-radius:1px}.pos-cancel:hover{background:#fff4f4}kbd{font-family:inherit;display:inline-block;background:#f6f9fe;color:#174e7d;border:1px solid #b5cae2;padding:1px 4px;font-size:9px;font-weight:650;line-height:1.4;white-space:nowrap}.pos-charge kbd,.btn.primary kbd{color:inherit;background:#ffffff20;border-color:#ffffff4a}.pos-command kbd{min-width:25px;text-align:center}.pos-statusbar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;background:#dfeafb;border-top:1px solid #b5c8dc;padding:7px 12px;font-size:9px;color:#4b6a84}.pos-statusbar>span:first-child{color:#34684e}.pos-statusbar>span:nth-child(2){margin-right:auto}.pos-statusbar button{background:transparent;border:0;font-size:10px;color:#164a75;padding:0;display:flex;align-items:center;gap:5px}
dialog.pos-dialog{font-family:'Segoe UI',Arial,sans-serif;border:1px solid #15568b;border-radius:2px;max-width:1120px;color:#18354b;box-shadow:0 16px 80px #102a4259}dialog.pos-dialog::backdrop{background:#152d4699;backdrop-filter:none}.pos-dialog .modal-head{background:#064b80;color:#fff;border:0;padding:11px 15px}.pos-dialog .modal-head h2{font-size:14px;letter-spacing:0}.pos-dialog .close{color:#fff;font-size:23px}.pos-dialog .modal-body{padding:0;background:white}.pos-dialog .modal-body>.error{padding:0 15px;margin:0;background:#fff5f2}.pos-dialog .modal-body>.error:not(:empty){padding:12px 15px}.pos-dialog .modal-actions{background:#e5effb;border-top:1px solid #b8cae0;border-radius:0;padding:12px;align-items:center;gap:12px;flex-wrap:wrap}.pos-modal-hints{margin-right:auto;display:flex;gap:7px;align-items:center;font-size:10px;color:#4a6c8b}.pos-search-controls{display:grid;grid-template-columns:minmax(0,1fr) 190px auto;gap:13px;align-items:end;padding:15px;background:#edf3ff;border-bottom:1px solid #c1cee0}.pos-search-controls .field{font-size:9px;color:#075083;gap:7px;font-weight:650}.pos-search-controls input[type=text],.pos-search-controls input:not([type]),.pos-search-controls select{padding:9px;border-radius:1px;font-size:12px}.pos-search-field input{background:#fffec9;border:1px solid #3766cc;font-weight:600;font-size:13px}.pos-check{font-size:10px;white-space:nowrap;display:flex;align-items:center;gap:5px;padding-bottom:8px}.pos-check input{accent-color:#075083}.pos-search-table{max-height:390px;min-height:220px;overflow:auto}.pos-search-table table{font-size:11px;white-space:normal}.pos-search-table th{background:#064b80;color:white;border-right:1px solid #4f7fa7;font-size:9px;position:sticky;top:0;padding:10px 9px;z-index:1}.pos-search-table td{border-bottom:1px solid #c1cede;border-right:1px solid #c1cede;padding:10px 9px;cursor:pointer}.pos-search-table tbody tr:nth-child(even){background:#f4f7fc}.pos-search-table tbody tr.selected{background:#d5e9ff;box-shadow:inset 3px 0 #075083}.pos-search-table td:nth-child(3){min-width:220px}.pos-search-table .code{white-space:nowrap;color:#1c4265;font-size:10px}.pos-search-table .stock{font-size:11px}.pos-search-count{background:#f7faff;padding:9px 14px;border-top:1px solid #ccd8e5;font-size:10px;color:#708498}.pos-search-selection{padding:9px 14px;background:#edf4ff;font-size:10px;color:#345d83}.pos-search-dialog #pos-insert{font-size:11px;min-width:220px;padding:12px}
dialog.pos-checkout-dialog{max-width:925px}.pos-checkout-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)}.pos-tender{padding:20px;border-right:1px solid #c1cfe0}.pos-pay-label{font-size:9px;color:#5b6d80;display:block;margin-bottom:7px}.pos-pay-total{display:flex;align-items:center;justify-content:space-between;gap:15px;border:1px solid #92b7e5;background:#edf4ff;color:#075083;padding:12px;margin-bottom:20px}.pos-pay-total span{text-transform:uppercase;font-size:9px;font-weight:650}.pos-pay-total strong{font-size:32px;letter-spacing:-1px;white-space:nowrap}.pos-received{font-size:10px!important;color:#193e5d!important;font-weight:650!important}.pos-received input{font-size:32px;text-align:right;border:2px solid #3164d1;border-radius:0;height:60px;padding:8px 12px;font-weight:650;color:#13364f}.pos-cash-shortcuts{display:flex;gap:6px;margin:10px 0 17px;flex-wrap:wrap}.pos-cash-shortcuts button{flex:1;border:1px solid #b0c9e4;color:#075083;background:#ecf4ff;cursor:pointer;padding:8px 6px;font-size:11px;font-weight:650;min-width:70px}.pos-cash-shortcuts button:first-child{background:#e3f1e9;border-color:#91b9a3;color:#197b44}.pos-cash-shortcuts small{display:block;font-size:9px;font-weight:400;margin-bottom:4px;color:inherit}.pos-change{background:#d9f5df;border:1px solid #218747;padding:15px;color:#197b44}.pos-change>span{font-size:9px;letter-spacing:.5px;font-weight:650}.pos-change strong{display:block;font-size:32px;text-align:right;margin:7px 0;letter-spacing:-1px}.pos-change small{font-size:10px;line-height:1.6;display:block}.pos-change.pending{background:#f3f6fb;border-color:#bccada;color:#72849a}.pos-sale-details{padding:20px 17px;background:#f6f9fd}.pos-sale-details h3{font-size:10px;color:#075083;margin-bottom:15px;padding-bottom:10px;border-bottom:1px solid #c1cede}.pos-sale-details dl{background:white;border:1px solid #c1cede;padding:6px 10px;display:grid;grid-template-columns:1fr 1.6fr;gap:0;margin:0;font-size:11px}.pos-sale-details dt,.pos-sale-details dd{margin:0;padding:9px 0;border-bottom:1px solid #e4e9f0;line-height:1.6}.pos-sale-details dt{color:#718399;font-size:10px}.pos-sale-details dd{text-align:right;color:#23465e;font-weight:600;overflow-wrap:anywhere}.pos-checkout-dialog .modal-actions{justify-content:space-between}.pos-checkout-dialog .pos-charge{min-width:260px}.pos-checkout-dialog .pos-cancel{min-width:230px}
@media(min-width:1600px){.pos-work{grid-template-columns:minmax(0,1fr) 345px}.pos-grid-wrap{min-height:460px}.pos-grand-total strong{font-size:43px}.pos-layout{grid-template-columns:195px minmax(0,1fr)}}
@media(max-width:1200px){.pos-top{gap:8px}.pos-brand small,.pos-session{display:none}.pos-top nav a{padding:0 7px;font-size:10px}.pos-branch select{max-width:150px}.pos-layout{grid-template-columns:155px minmax(0,1fr)}.pos-command>button{font-size:9px;gap:5px}.pos-command>button svg{width:14px}.pos-work{grid-template-columns:minmax(0,1fr) 240px}.pos-scanbar{flex-wrap:wrap}.pos-scanbar>input{flex-basis:45%}.pos-grand-total strong{font-size:30px}.pos-summary{padding:9px}.pos-scanbar>label{font-size:8px}.pos-document{gap:10px}.pos-default-price>span{display:none}.pos-grid{min-width:760px}.pos-search-controls{grid-template-columns:1fr 160px}.pos-check{grid-column:1/-1;padding:0}.pos-top .pos-brand strong{font-size:16px}}
@media(max-width:800px){.pos-layout{grid-template-columns:1fr;grid-template-rows:auto auto auto}.pos-top{flex-wrap:wrap;padding:10px;gap:12px}.pos-top nav{order:3;width:100%;overflow:auto;min-height:32px}.pos-top nav a{padding:6px 10px;flex:none}.pos-branch{margin-left:auto}.pos-command{grid-row:2;grid-column:1;min-height:0;display:flex;flex-direction:row;overflow:auto;padding:5px;border-right:0;border-bottom:1px solid #c0d0e0}.pos-command-title,.pos-command-bottom,.pos-command>button svg{display:none}.pos-command>button{padding:9px 8px;white-space:nowrap;gap:5px;min-height:30px;flex:none}.pos-main{grid-row:3;grid-column:1}.pos-work{grid-template-columns:1fr}.pos-detail{border-right:0}.pos-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;border-top:1px solid #b9cbdd}.pos-summary-heading,.pos-summary-content{display:none}.pos-grand-total{grid-row:1/3;grid-column:1;margin:0;display:flex;flex-direction:column;justify-content:center}.pos-charge,.pos-cancel{font-size:11px}.pos-titlebar>span{display:none}.pos-titlebar h1{font-size:14px}.pos-document{font-size:9px}.pos-document label{max-width:none;min-width:220px}.pos-demo{display:none}.pos-grid-wrap{min-height:260px;max-height:430px}.pos-scanbar>label{width:100%}.pos-scanbar>input{flex-basis:100%}.pos-scanbar>.btn{flex:1}.pos-statusbar{gap:10px}.pos-checkout-grid{grid-template-columns:1fr}.pos-tender{border-right:0}.pos-sale-details{display:none}.pos-search-controls{grid-template-columns:1fr}.pos-search-table{max-height:330px}.pos-modal-hints{width:100%;font-size:9px}.pos-dialog .modal-head h2{font-size:12px}.pos-checkout-dialog .modal-actions>*{flex:1;min-width:0!important}.pos-tender{padding:15px}.pos-pay-total strong{font-size:27px}}
@media (min-width:801px) and (max-width:1100px){.pos-work{grid-template-columns:1fr}.pos-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;border-top:1px solid #b9cbdd}.pos-summary-heading,.pos-summary-content{display:none}.pos-grand-total{grid-row:1/3;grid-column:1;margin:0;display:flex;flex-direction:column;justify-content:center}.pos-grid{min-width:650px}.pos-grid-wrap{min-height:250px;max-height:430px}.pos-grid .pos-description{min-width:160px}.pos-scanbar{flex-wrap:nowrap}.pos-scanbar>input{flex-basis:auto}}
