/* A single counter window: compact summary beside receipt actions on desktop. */
#pos-sale-accounts:has(.checkout-screen-PAY){width:min(1160px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;}
#pos-sale-accounts .checkout-screen-PAY .shift-tip-withdrawal{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin:8px 0;padding:8px 0;border-bottom:1px solid var(--line);}
#pos-sale-accounts .checkout-screen-PAY .shift-tip-withdrawal h3{font-size:15px;margin:0;}
#pos-sale-accounts .checkout-screen-PAY .shift-tip-withdrawal p{margin:0;}
#pos-sale-accounts .checkout-screen-PAY .shift-tip-withdrawal>div{flex-basis:100%;}
#pos-sale-accounts .checkout-paid-actions{margin:0;padding:0;}
#pos-sale-accounts .checkout-paid-actions h3{margin:0 0 8px;font-size:16px;}
#pos-sale-accounts .checkout-paid-actions p{margin:8px 0;}
@media(min-width:900px){
 #pos-sale-accounts .checkout-payment-page:has(.checkout-paid-actions){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 24px;align-items:start;}
 #pos-sale-accounts .checkout-payment-page:has(.checkout-paid-actions)>*{grid-column:1/-1;min-width:0;}
 #pos-sale-accounts .checkout-payment-page:has(.checkout-paid-actions)>.checkout-payable-list{grid-column:1;grid-row:2;max-height:none;flex-wrap:wrap;margin:0;}
 #pos-sale-accounts .checkout-payment-page:has(.checkout-paid-actions)>.checkout-paid-actions{grid-column:2;grid-row:2 / span 3;border-left:1px solid var(--line);padding-left:24px;}
 #pos-sale-accounts .checkout-payment-page:has(.checkout-paid-actions)>.checkout-selected-payer{display:none;}
 #pos-sale-accounts .checkout-payment-page:has(.checkout-paid-actions)>.checkout-payment-status{grid-column:1;grid-row:3;margin:0;}
 #pos-sale-accounts .checkout-payment-page:has(.checkout-paid-actions)>.checkout-shift-control{grid-column:1;grid-row:4;flex-wrap:wrap;margin:0;}
 #pos-sale-accounts .checkout-payment-page:has(.checkout-paid-actions)>.checkout-summary{margin:0;font-size:15px;}
 #pos-sale-accounts .checkout-payment-page:has(.checkout-paid-actions)>.checkout-supporting-tools{grid-row:auto;}
}
@media(max-width:600px){
 #pos-sale-accounts:has(.checkout-screen-PAY){width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:12px;}
 #pos-sale-accounts .checkout-screen-PAY .shift-tip-withdrawal{align-items:start;}
}
