/* NEXORA PROD163 — POS owns the complete browser/fullscreen viewport */
html.nx-pos-immersive,body.nx-pos-immersive{overflow:hidden!important;width:100%!important;height:100%!important;min-height:100%!important;margin:0!important;padding:0!important;background:#eef2f6!important}
html.nx-pos-immersive body>*:not(.app):not(#app){max-height:100dvh}
body.nx-pos-immersive>.app,#app:has(#pos.section.show){width:100vw!important;height:100dvh!important;max-width:none!important;margin:0!important;padding:0!important;overflow:hidden!important}
body.nx-pos-immersive .top,body.nx-pos-immersive .side{display:none!important}
body.nx-pos-immersive .shell{display:block!important;width:100vw!important;height:100dvh!important;min-height:100dvh!important;max-height:100dvh!important;margin:0!important;padding:0!important;overflow:hidden!important}
body.nx-pos-immersive .main{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;min-height:100dvh!important;margin:0!important;padding:0!important;overflow:hidden!important;background:#eef2f6!important;z-index:9980!important}
body.nx-pos-immersive #pos.touch-pos-section.section.show,
body.nx-pos-immersive #pos.nx-pos-viewport{display:block!important;position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;min-width:100vw!important;min-height:100dvh!important;max-width:100vw!important;max-height:100dvh!important;margin:0!important;padding:0!important;overflow:hidden!important;z-index:9999!important;background:#eef2f6!important;transform:none!important;zoom:1!important;border-radius:0!important}
body.nx-pos-immersive #pos .touch-pos-shell{display:flex!important;flex-direction:column!important;width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important;margin:0!important;overflow:hidden!important;border-radius:0!important}
body.nx-pos-immersive #pos .touch-pos-topbar{position:relative!important;top:0!important;z-index:20!important;flex:0 0 58px!important;height:58px!important;min-height:58px!important;max-height:58px!important;margin:0!important}
body.nx-pos-immersive #pos .touch-pos-layout{flex:1 1 auto!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden!important;margin:0!important}
body.nx-pos-immersive #pos .touch-pos-products,body.nx-pos-immersive #pos .touch-pos-cart{height:100%!important;min-height:0!important;max-height:100%!important;overflow:hidden!important}

#pos .nx-pos-back-cashier{min-width:158px!important;height:40px!important;min-height:40px!important;padding:7px 14px!important;border-radius:9px!important;background:#172033!important;color:#fff!important;border:1px solid #172033!important;font-size:12px!important;font-weight:900!important;white-space:nowrap!important}
#pos .nx-pos-back-cashier:hover{background:#26344d!important}

/* Preserve the checkout/actions area and never let mixed payment push it off-screen. */
#pos .touch-pos-cart{position:relative!important;padding-bottom:126px!important}
#pos .touch-pos-checkout{display:grid!important;visibility:visible!important;opacity:1!important;position:absolute!important;left:8px!important;right:8px!important;bottom:58px!important;z-index:16!important;background:#fff!important;padding-top:4px!important}
#pos .touch-pos-checkout .touch-payprint{display:flex!important;visibility:visible!important;opacity:1!important;align-items:center!important;justify-content:center!important}
#pos .touch-pos-secondary-actions{display:grid!important;position:absolute!important;left:8px!important;right:8px!important;bottom:8px!important;z-index:16!important;background:#fff!important}
#pos.nx-pos-mixed .touch-pos-carttable{flex:0 1 176px!important;min-height:112px!important;max-height:176px!important;height:auto!important}
#pos.nx-pos-mixed .nx-split-payment{display:block!important;visibility:visible!important;max-height:194px!important;padding:7px 9px!important;overflow:hidden!important}
#pos.nx-pos-mixed .nx-split-title{margin-bottom:5px!important}
#pos.nx-pos-mixed .nx-split-grid{gap:6px!important}
#pos.nx-pos-mixed .nx-split-grid input{min-height:42px!important;height:42px!important;font-size:18px!important}
#pos.nx-pos-mixed .nx-split-summary{margin-top:6px!important;gap:7px!important}
#pos.nx-pos-mixed .nx-split-summary span{min-height:42px!important;padding:6px 10px!important}
#pos.nx-pos-mixed .touch-pos-cashpanel{display:none!important}
#pos.nx-pos-mixed .touch-pos-checkout{display:grid!important}

@media(max-height:760px){
 body.nx-pos-immersive #pos .touch-pos-topbar{height:50px!important;min-height:50px!important;max-height:50px!important;flex-basis:50px!important}
 #pos .touch-pos-cart{padding-bottom:112px!important;gap:4px!important}
 #pos .touch-pos-checkout{bottom:51px!important}
 #pos .touch-pos-checkout button{height:48px!important;min-height:48px!important}
 #pos .touch-pos-secondary-actions{bottom:5px!important}
 #pos .touch-pos-secondary-actions button{height:40px!important;min-height:40px!important}
 #pos.nx-pos-mixed .touch-pos-carttable{max-height:140px!important}
 #pos.nx-pos-mixed .nx-split-grid input{height:36px!important;min-height:36px!important}
 #pos.nx-pos-mixed .nx-split-summary span{min-height:36px!important}
}
@media print{html.nx-pos-immersive,body.nx-pos-immersive{overflow:visible!important;width:auto!important;height:auto!important}.nx-pos-back-cashier{display:none!important}}
