/* V3.6.47 — responsive application, receipt and authentication. Loaded last. */
.ps343-receipt-wrap{width:100%;min-width:0;max-width:560px;margin:12px auto 24px;box-sizing:border-box}
.ps343-receipt{box-sizing:border-box;width:100%;max-width:480px;min-width:0;padding:clamp(12px,3vw,24px);overflow-wrap:anywhere}
.ps343-receipt .ps343-receipt-items{display:table;table-layout:fixed;width:100%!important;min-width:0!important;max-width:100%!important;border-collapse:collapse;margin:0;font-size:12px;line-height:1.4}
.ps343-receipt .ps343-receipt-items :is(th,td){min-width:0!important;max-width:none;white-space:normal!important;overflow-wrap:anywhere;padding:8px 4px;font-size:inherit;vertical-align:top}
.ps343-receipt .ps343-receipt-items :is(th,td):first-child{width:48%;text-align:left;padding-left:0}
.ps343-receipt .ps343-receipt-items :is(th,td):not(:first-child){width:26%;text-align:right}
.ps343-receipt .ps343-receipt-items :is(th,td):last-child{padding-right:0}
.ps343-receipt .ps343-receipt-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:8px;align-items:start}
.ps343-receipt .ps343-receipt-row>:last-child{text-align:right;min-width:0;overflow-wrap:anywhere;white-space:normal}
.ps343-receipt .ps343-receipt-head{position:static;display:block;height:auto;min-height:0;padding:0;background:transparent;box-shadow:none;border:0}
.ps343-receipt-qr canvas{max-width:100%;height:auto!important;aspect-ratio:1}
.ps343-receipt-actions{flex-wrap:wrap;gap:10px;text-align:center}
.ps47-verify-receipt{box-sizing:border-box;padding:12px!important}.ps47-verify-receipt .card{box-sizing:border-box;width:100%;min-width:0;padding:20px!important}.ps47-verify-receipt .line>*{min-width:0;overflow-wrap:anywhere}
/* One quiet sign-in panel; no marketing illustration or duplicated lock mark. */
body.ps347-login-bg{display:block!important;margin:0!important;padding:0!important;min-height:100vh;min-height:100dvh;background:#f4f8fc!important;color:#172c46;overflow-x:visible!important}
body.ps347-login-bg .ps347-shell{display:block!important;width:100%!important;max-width:none!important;min-height:100vh!important;min-height:100dvh!important;height:auto!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
body.ps347-login-bg .ps347-form-side{display:flex!important;flex-direction:column;align-items:center;justify-content:center;min-height:100vh!important;min-height:100dvh!important;height:auto!important;padding:24px 16px!important;background:transparent!important;overflow:visible!important}
body.ps347-login-bg .ps347-form-side::before,body.ps347-login-bg .ps347-form-side::after{display:none!important;content:none!important}
body.ps347-login-bg .ps347-mobile-brand{display:flex!important;flex-direction:row;align-items:center;gap:9px;margin:0 0 18px!important;font-size:27px!important;font-weight:600;color:#192d59}
body.ps347-login-bg .ps347-mobile-brand img{width:44px!important;height:56px!important;object-fit:contain}
body.ps347-login-bg .ps347-card{box-sizing:border-box;width:100%!important;max-width:400px!important;min-width:0;padding:24px!important;border:1px solid #dce6ef!important;border-radius:14px!important;background:white!important;box-shadow:none!important}
body.ps347-login-bg .ps347-card h2{font-size:24px!important;line-height:1.25;letter-spacing:-.025em;font-weight:600}
body.ps347-login-bg .ps347-card .ps347-subtitle{margin:7px 0 20px!important;font-size:14px!important;line-height:1.5}
body.ps347-login-bg .ps347-card form#ps347-login-form{display:grid;gap:15px!important}
body.ps347-login-bg .ps347-field{gap:6px!important;font-size:13px!important;font-weight:500;min-width:0}
body.ps347-login-bg .ps347-input-wrap{min-height:48px!important;min-width:0;max-width:100%;padding:0 11px;gap:9px}
body.ps347-login-bg .ps347-input-wrap input{font-size:16px!important;min-width:0}
body.ps347-login-bg .ps347-submit{min-height:46px!important;font-size:16px!important;font-weight:600;background:#087fa9!important;box-shadow:none!important;border-radius:8px}
body.ps347-login-bg .ps347-secure-note{margin-top:17px!important;padding-top:14px!important;font-size:12px!important}
body.ps347-login-bg .ps46-step{font-size:12px;margin:0 0 9px;text-align:center;color:#60718a}
body.ps347-login-bg .ps46-account{margin-bottom:12px}
body.ps347-login-bg .ps46-enrollment{padding:8px;margin-bottom:12px;gap:5px}
body.ps347-login-bg .ps46-enrollment canvas{width:156px;height:156px;max-width:100%}
body.ps347-login-bg .ps46-form{gap:12px}
.ps47-otp-boxes[hidden],.ps47-otp-fallback[hidden]{display:none!important}
.ps47-otp-boxes{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;min-width:0;width:100%}
body.ps347-login-bg .ps47-otp-boxes input{width:100%;min-width:0;height:46px;padding:0!important;font-size:21px!important;font-weight:600;text-align:center;border:1px solid #bfcfe0;border-radius:8px;font-variant-numeric:tabular-nums;background:#fff;color:#172c46;box-shadow:none}
.ps47-otp-boxes input:focus{outline:2px solid #078bb5;outline-offset:1px}
@media(max-width:850px){
 /* Mobile branding lives in the header, not in the slide-out menu. */
 body:not(.login-bg) .ps-primary,body.ps3639-cashier:not(.login-bg) .ps-primary{display:flex!important;gap:8px;max-width:100%;padding:0 10px;min-width:0}
 body:not(.login-bg) .ps-primary .ps-primary-brand,body:not(.login-bg) .ps-primary:has(>.ps-subnav) .ps-primary-brand,body.ps3639-cashier:not(.login-bg) .ps-primary .ps-primary-brand{display:inline-flex!important;flex:0 0 auto;gap:5px;min-height:44px}
 body:not(.login-bg) .ps-primary .ps-brand-mark,body:not(.login-bg) .ps-primary .ps-brand-mark img{width:30px;height:42px;object-fit:contain}
 body:not(.login-bg) .ps-primary .ps-brand-word{font-size:18px;white-space:nowrap}
 body:not(.login-bg) .ps-primary:has(>.ps-subnav) .ps-brand-word{display:none}
 body.ps3639-cashier .ps3639-mobile-title{display:none!important}
 body:not(.login-bg) .ps-sidebar .ps350-side-brand{display:none!important}
 body:not(.login-bg) .ps-sidebar{padding-top:20px;max-width:calc(100vw - 24px)}
 body:not(.login-bg) .ps-shell,body:not(.login-bg) .ps-shell>.content{min-width:0;max-width:100%;box-sizing:border-box}
 body:not(.login-bg) .ps-shell>.content{width:100%}
 /* iOS focuses inputs below 16px by zooming. Keep pinch-zoom available. */
 body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=hidden]),select,textarea){font-size:16px!important;max-width:100%;min-width:0;box-sizing:border-box}
 body :is(dialog,.pa-dialog,.ps347-recovery){max-width:calc(100% - 20px)!important;max-height:calc(100dvh - 20px)!important;box-sizing:border-box;overflow-y:auto;overscroll-behavior:contain}
 body :is(.pa-table-wrap,.table-wrap,.table-scroll,.table-responsive){min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
}
@media(max-width:420px){body.ps347-login-bg .ps347-form-side{padding:16px 12px!important}body.ps347-login-bg .ps347-card{padding:19px 14px!important}body.ps347-login-bg .ps347-mobile-brand{margin-bottom:12px!important}body.ps347-login-bg .ps347-card h2{font-size:22px!important}.ps343-receipt{padding:12px}.ps343-receipt .ps343-receipt-items{font-size:11px}.ps343-receipt .ps343-receipt-items :is(th,td){padding:6px 3px}.ps343-receipt-total{font-size:15px}}
@media(max-height:640px){body.ps347-login-bg .ps347-form-side{justify-content:flex-start;padding-top:16px!important;padding-bottom:16px!important}}
@media print{.ps343-receipt-wrap{width:100%!important;max-width:78mm!important;margin:0!important}.ps343-receipt{box-sizing:border-box;width:100%!important;max-width:78mm!important;padding:2mm!important;min-width:0!important}.ps343-receipt .ps343-receipt-items{font-size:10px!important}.ps343-receipt .ps343-receipt-items tr{break-inside:avoid}.ps343-receipt-qr{break-inside:avoid}.ps343-receipt-actions,.ps3637-footer{display:none!important}}
@media print{body:not(.login-bg) .ps-primary,body.ps3639-cashier:not(.login-bg) .ps-primary,body:not(.login-bg) .ps-sidebar{display:none!important}body:not(.login-bg) .ps-shell{display:block!important}body:not(.login-bg) .ps-shell>.content{padding:0!important}}

/* V3.6.49 — mobile controls, branding and receipt containment. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body:not(.login-bg) .ps343-receipt-wrap{min-width:0;max-width:100%;width:min(100%,560px)}
body:not(.login-bg) .ps343-receipt{width:min(100%,480px);min-width:0;max-width:100%;box-sizing:border-box}
body:not(.login-bg) .ps343-receipt table.ps343-receipt-items{display:table!important;table-layout:fixed!important;width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box}
body:not(.login-bg) .ps343-receipt table.ps343-receipt-items :is(th,td){min-width:0!important;white-space:normal!important;overflow-wrap:anywhere;word-break:normal;box-sizing:border-box}
body:not(.login-bg) .ps343-receipt table.ps343-receipt-items :is(th,td)>*{min-width:0;max-width:100%;white-space:normal!important;overflow-wrap:anywhere}
@media screen and (max-width:850px){
 /* Do not compress either segmented control into the space left over by its neighbour. */
 body.dashboard-page #bizdash .ps329-controls{display:grid;grid-template-columns:minmax(0,1fr) 44px;grid-template-areas:'range refresh' 'period period' 'fresh fresh';gap:8px;align-items:center;justify-content:stretch;width:100%;min-width:0;max-width:100%}
 body.dashboard-page #bizdash .ps329-range{grid-area:range;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;min-height:44px;padding:7px 9px}
 body.dashboard-page #bizdash .ps329-range svg{flex:none}
 body.dashboard-page #bizdash .ps329-refresh{grid-area:refresh;width:44px;min-width:44px;height:44px;padding:0}
 body.dashboard-page #bizdash .ps329-period{grid-area:period;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;width:100%;min-width:0;max-width:100%;padding:3px;flex:none}
 body.dashboard-page #bizdash .ps329-period a{display:flex;align-items:center;justify-content:center;min-height:44px;min-width:0;width:100%;padding:5px 2px;white-space:nowrap;font-size:13px;text-align:center;flex:none}
 body.dashboard-page #bizdash .ps329-freshness{grid-area:fresh;white-space:normal;overflow-wrap:anywhere}
 body.dashboard-page #bizdash .ps329-sales>.ps329-panel-head{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;align-items:start}
 body.dashboard-page #bizdash .ps329-granularity{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;width:100%;max-width:100%;padding:3px}
 body.dashboard-page #bizdash .ps329-granularity button{display:flex;align-items:center;justify-content:center;min-height:44px;width:100%;min-width:0;padding:5px 2px;white-space:nowrap;font-size:13px;line-height:1.3}
 body.dashboard-page #bizdash .ps329-table-scroll{max-width:100%;min-width:0;overflow-x:auto}
 /* Keep full branding in the first row, submenu scrolls independently in row two. */
 body:not(.login-bg):has(.ps-primary>.ps-subnav){--ps-nav-header:108px}
 body:not(.login-bg) .ps-primary:has(>.ps-subnav){flex-wrap:wrap;height:auto;min-height:108px;gap:0 8px;padding:6px 10px;align-content:center;box-sizing:border-box}
 body:not(.login-bg) .ps-primary:has(>.ps-subnav) .ps-primary-brand{order:0;min-height:44px;flex:0 0 auto}
 body:not(.login-bg) .ps-primary:has(>.ps-subnav) .ps-brand-word{display:inline!important;white-space:nowrap;font-size:18px}
 body:not(.login-bg) .ps-primary:has(>.ps-subnav)>.ps-menu-toggle{order:1;margin-left:auto;min-width:44px;min-height:44px}
 body:not(.login-bg) .ps-primary:has(>.ps-subnav)>.ps-subnav{order:2;flex:0 0 100%;width:100%;min-width:0;max-width:100%;min-height:44px}
 body:not(.login-bg) .ps-primary>.ps-subnav>:is(.ps-subnav-scroll,.ps324-menu-set,.ps327-nav){width:100%;min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
 body:not(.login-bg) .ps-primary>.ps-menu-toggle{min-width:44px;min-height:44px}
 body:not(.login-bg) .ps-sidebar .ps350-side-brand{display:none!important}
 /* Avoid focus zoom without disabling pinch zoom or clipping wide data tables. */
 html body :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea){font-size:16px!important;max-width:100%;min-width:0;box-sizing:border-box}
 body :is(.ps329-table-scroll,.pa-table-wrap,.table-wrap,.table-scroll,.table-responsive){max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain}
}
@media print{body:not(.login-bg) .ps343-receipt-wrap,body:not(.login-bg) .ps343-receipt{width:100%!important;max-width:78mm!important;min-width:0!important;margin:0!important}}
@media screen and (min-width:851px){
 body.dashboard-page #bizdash .ps329-sales>.ps329-panel-head{flex-wrap:wrap}
 body.dashboard-page #bizdash .ps329-granularity{flex:0 0 auto;max-width:100%}
 body.dashboard-page #bizdash .ps329-granularity button{flex:0 0 auto;white-space:nowrap;min-width:max-content}
 body.dashboard-page #bizdash .ps329-period{flex:0 0 auto;max-width:100%}
 body.dashboard-page #bizdash .ps329-period a{flex:0 0 auto;white-space:nowrap;min-width:max-content}
}
