/* Cashier controls share the sticky blue header; its height follows wrapping. */
#app>.app-shell>.dhun-sticky-header.pos-page-header{
 flex-wrap:wrap!important;
 gap:12px!important;
}
#app .pos-page-header>.pos-header-title{
 flex:1 1 145px!important;
 min-width:0;
}
#app .pos-page-header>.pos-header-title h2{margin:0!important}
#app .pos-page-header .pos-header-subtitle{
 margin:4px 0 0;
 font-size:13px!important;
 font-weight:400;
 color:#d7e8fb!important;
}
#app .pos-page-header>.pos-header-actions{
 display:flex!important;
 flex:0 1 auto;
 flex-wrap:wrap;
 justify-content:flex-end;
 align-items:center;
 gap:8px!important;
 width:auto!important;
 max-width:100%;
 min-width:0;
 margin:0;
}
#app .pos-header-actions>.cashier-mode-switch{
 display:inline-flex;
 flex:0 0 auto;
 gap:3px;
 padding:3px;
 min-width:0;
 background:#ffffff12;
 border-color:#ffffff40;
 border-radius:12px;
}
#app .pos-header-actions>.cashier-mode-switch>button,
#app .pos-header-actions>button{
 width:auto;
 min-width:0;
 min-height:42px;
 padding:9px 12px;
 border-radius:10px;
 font-size:13px;
 font-weight:650;
 line-height:1.25;
 white-space:nowrap;
 color:#fff;
}
#app .pos-header-actions>button{
 background:#ffffff12;
 border:1px solid #ffffff50;
}
#app .pos-header-actions>.cashier-mode-switch>button:not(.active){background:transparent}
#app .pos-header-actions>.cashier-mode-switch>button.active{
 background:linear-gradient(110deg,#176bfa,#00b8d7);
 box-shadow:0 3px 10px #001d4930;
}
#app .pos-header-actions>button:hover,
#app .pos-header-actions>.cashier-mode-switch>button:not(.active):hover{background:#ffffff26}
#app .pos-header-actions :is(button,a):focus-visible{outline:3px solid #b3efff;outline-offset:3px}
#app .pos-header-actions>#posChatAnchor:empty{display:none}
@media screen and (min-width:701px){
 #app>.app-shell:has(>.pos-page-header)>.pos-content>.cart{
  top:calc(var(--pos-header-height,78px) + 16px)!important;
  height:calc(100dvh - var(--pos-header-height,78px) - 32px)!important;
  max-height:calc(100dvh - var(--pos-header-height,78px) - 32px)!important;
 }
}
@media screen and (max-width:700px){
 #app>.app-shell>.dhun-sticky-header.pos-page-header{gap:10px!important;padding-bottom:12px!important}
 #app .pos-page-header>.pos-header-actions{flex:1 0 100%;justify-content:flex-start}
 #app .pos-header-actions>.cashier-mode-switch>button,
 #app .pos-header-actions>button{min-height:40px;padding:9px 8px;font-size:12px}
}
@media print{
 #app .pos-page-header>.pos-header-actions{display:none!important}
}
