/* v5.2.3 — Cashier focus mode + keyboard-first checkout (Windows and Web).
 * Only a display layer; stock, permissions, invoices, and cloud routes untouched. */
body.nspos-cashier-focus{padding:0!important;margin:0!important;overflow:hidden!important}
body.nspos-cashier-focus .nsdesk-sidebar,body.nspos-cashier-focus .nsdesk-top,
body.nspos-cashier-focus .nsdt-side,body.nspos-cashier-focus .nsdt-top,
body.nspos-cashier-focus .nsweb-nav-toggle,body.nspos-cashier-focus #cloudTopMenu{display:none!important}
body.nspos-cashier-focus #invoice.ns-cashier-ready{margin:0!important;padding:0!important;max-width:none!important}
body.nspos-cashier-focus #nscTouch{
  position:fixed!important;inset:0!important;z-index:9100!important;
  padding:8px 10px!important;margin:0!important;width:100vw!important;height:100dvh!important;
  overflow:hidden!important;background:#eaf2ff!important;gap:7px!important;
}
body.nspos-cashier-focus #nscTouch .nsc-header{border-radius:11px!important;padding:9px 14px!important;min-height:54px!important;flex:0 0 auto}
body.nspos-cashier-focus #nscTouch .nsc-header p{display:none!important}
body.nspos-cashier-focus #nscTouch .nsc-header h1{font-size:20px!important;margin:0!important}
body.nspos-cashier-focus #nscTouch .nsc-toolstrip{
  flex:0 0 auto!important;display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:6px!important}
body.nspos-cashier-focus #nscTouch .nsc-toolstrip .nsc-tool{min-height:47px!important;padding:5px 3px!important;gap:2px!important;font-size:10px!important}
body.nspos-cashier-focus #nscTouch .nsc-toolstrip .nsc-tool span{font-size:17px!important}
body.nspos-cashier-focus #nscTouch .nsc-layout{
  display:grid!important;grid-template-columns:minmax(0,1.19fr) minmax(0,1fr) minmax(0,.80fr)!important;
  flex:1 1 auto!important;height:auto!important;min-height:0!important;max-height:none!important;gap:8px!important}
body.nspos-cashier-focus #nscTouch .nsc-card{min-height:0!important;max-height:100%!important;grid-column:auto!important}
body.nspos-cashier-focus #nscTouch .nsc-card-head{padding:9px 11px!important;min-height:42px!important;flex:0 0 auto}
body.nspos-cashier-focus #nscTouch .nsc-searchbox{margin:8px 10px 5px!important;flex:0 0 auto}
body.nspos-cashier-focus #nscTouch .nsc-categories{flex:0 0 auto;padding:2px 10px 6px!important}
body.nspos-cashier-focus #nscTouch .nsc-products{flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow:auto!important}
body.nspos-cashier-focus #nscTouch .nsc-billbox{flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow:auto!important}
body.nspos-cashier-focus #nscTouch .nsc-customer{padding:7px 10px!important;flex:0 0 auto}
body.nspos-cashier-focus #nscTouch .nsc-totals{padding:8px 10px!important;margin:0 8px 8px!important;flex:0 0 auto}
body.nspos-cashier-focus #nscTouch .nsc-payment-inner{display:block!important;flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important}
body.nspos-cashier-focus #nscTouch .nsc-keypad button{height:38px!important}
body.nspos-cashier-focus #nscTouch .nsc-pay-methods{margin:8px 9px!important}
body.nspos-cashier-focus #nscTouch .nsc-pay-methods button{padding:8px 3px!important}
body.nspos-cashier-focus #nscTouch .nsc-cashquick{padding:0 9px 7px!important}
body.nspos-cashier-focus #nscTouch .nsc-cashquick button{padding:7px 3px!important}
body.nspos-cashier-focus #nscTouch .nsc-pay-value{padding:0 9px 7px!important}
body.nspos-cashier-focus #nscTouch .nsc-keypad{margin:0 9px 7px!important;gap:5px!important}
body.nspos-cashier-focus #nscTouch .nsc-actions{padding:0 9px 8px!important}
body.nspos-cashier-focus #nscTouch .nsc-actions button{padding:10px 5px!important}
body.nspos-cashier-focus #nscTouch .nsc-footer{padding-bottom:4px!important}
body.nspos-cashier-focus #toast,body.nspos-cashier-focus .overlay.show{z-index:9600!important}
body.nspos-cashier-focus #cloudGate{z-index:999999!important}
#nscTouch .nsc-focus-toggle{padding:8px 11px!important;min-height:34px;border:1px solid #b6eaff!important;
 background:#e6f8ff!important;color:#063c83!important;border-radius:10px!important;font-size:12px!important;font-weight:900!important;white-space:nowrap}
#nscTouch .nsc-header-end{flex-wrap:wrap;justify-content:flex-end}
#nscTouch .nsc-keyboard-help{font-size:10px;color:#d8f4ff;font-weight:650;margin-top:2px}
#nscTouch .nsc-billrow input:not([readonly]):focus,#nscTouch #nscQty:focus,#nscTouch #nscPaid:focus{
  outline:3px solid #00a6f4!important;outline-offset:1px!important;background:#ecfbff!important}
#nscTouch .nsc-keypad button:not([data-k='clear']):not([data-k='back']){
  background:linear-gradient(145deg,#e7f4ff,#c9e6ff)!important;border:1px solid #a8ceff!important;
  color:#074584!important;box-shadow:0 2px 5px #1259b21b!important;font-size:20px!important}
#nscTouch .nsc-keypad button:active{background:#48bfff!important;color:#fff!important}
@media(max-width:1010px){body.nspos-cashier-focus #nscTouch{overflow:auto!important}body.nspos-cashier-focus #nscTouch .nsc-layout{display:grid!important;grid-template-columns:1fr!important;min-height:auto!important}body.nspos-cashier-focus #nscTouch .nsc-card{max-height:none!important}body.nspos-cashier-focus #nscTouch .nsc-payment-inner{overflow:visible!important}body.nspos-cashier-focus #nscTouch .nsc-toolstrip{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media print{body.nspos-cashier-focus #nscTouch{display:none!important}}
