/* Give invoice lines priority. Scroll only the item list on desktop. */
@media screen and (min-width:761px){
body:not(.dark).pos-workspace #posPage.active{grid-template-rows:auto minmax(0,1fr)!important;gap:10px!important;padding:10px!important}
body:not(.dark).pos-workspace #posPage .pos-page-head{min-height:62px!important;padding:8px 14px!important;border-radius:15px!important;background:linear-gradient(105deg,#294a94,#4568ba)!important;box-shadow:0 5px 14px #28477c12!important}
body:not(.dark).pos-workspace #posPage .pos-page-head h2{font-size:21px!important}body:not(.dark).pos-workspace #posPage .pos-page-head .eyebrow{display:none!important}
body:not(.dark).pos-workspace #posPage .pos-actionbar{flex-wrap:wrap!important;gap:5px!important}body:not(.dark).pos-workspace #posPage .pos-action{min-height:36px!important;padding:5px 9px!important;border-radius:9px!important}body:not(.dark).pos-workspace #posPage .pos-action-icon{width:27px!important;height:27px!important;border-radius:8px!important}#posPage .pos-action-icon svg{width:18px;height:18px}
body:not(.dark).pos-workspace #posPage .pos-grid{grid-template-columns:minmax(0,1.45fr) minmax(410px,1fr)!important;gap:12px!important}
body:not(.dark).pos-workspace #posPage .pos-checkout-card{border-radius:15px!important;overflow:hidden!important}
body:not(.dark).pos-workspace #posPage .pos-invoice-body{display:grid!important;grid-template-rows:auto auto minmax(0,1fr) auto!important;flex:1 1 0!important;min-height:0!important;overflow:hidden!important;background:#edf2fa!important;max-height:none!important}
body:not(.dark).pos-workspace #posPage .pos-cart-kicker{padding:7px 12px!important;min-height:40px!important;background:#3a527e!important}#posPage .pos-cart-kicker small{display:none!important}#posPage .pos-cart-kicker strong{font-size:13px!important}#posPage .pos-cart-icon{width:26px!important;height:26px!important;border-radius:8px!important}#posPage .pos-cart-icon svg{width:17px;height:17px}
body:not(.dark).pos-workspace #posPage .premium-invoice-meta{display:grid!important;grid-template-columns:minmax(90px,.45fr) minmax(0,1fr)!important;gap:10px!important;margin:6px 10px!important;padding:7px 9px!important;border-radius:9px!important;align-items:center!important;background:#e4ecfa!important}
body:not(.dark).pos-workspace #posPage .premium-invoice-meta>div:first-child{gap:3px!important;justify-content:center!important}body:not(.dark).pos-workspace #posPage .premium-invoice-meta>div:first-child small{font-size:9px!important}
body:not(.dark).pos-workspace #posPage .premium-invoice-meta>div:nth-child(2){display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:4px 6px!important;align-items:center!important}body:not(.dark).pos-workspace #posPage .premium-invoice-meta>div:nth-child(2)>small{display:none!important}
body:not(.dark).pos-workspace #posPage #invoiceCustomer{padding:6px!important;height:32px!important;grid-column:1!important;font-size:11px!important;background:#fff!important;border-radius:8px!important}
body:not(.dark).pos-workspace #posPage #fr151QuickCustomer{grid-column:2!important;grid-row:1!important;margin:0!important;padding:6px 8px!important;min-height:30px!important;font-size:10px!important;white-space:nowrap}
body:not(.dark).pos-workspace #posPage .customer-debt-badge{grid-column:1/-1!important;margin:0!important;min-height:0!important;padding:2px 6px!important;font-size:9px!important;line-height:1.3!important;border:0!important;background:transparent!important;text-align:right!important}
body:not(.dark).pos-workspace #posPage .cart-items{display:block!important;flex:initial!important;min-height:0!important;max-height:none!important;overflow:auto!important;margin:0 10px 6px!important;padding:7px!important;border:1px solid #cddbee!important;background:#f5f8ff!important;border-radius:10px!important;align-content:initial!important;scrollbar-width:thin}
body:not(.dark).pos-workspace #posPage .cart-items:has(.empty-state){display:grid!important;place-items:center!important;align-content:center!important}body:not(.dark).pos-workspace #posPage .cart-items .empty-state{padding:14px!important;min-height:0!important;background:transparent!important;color:#7a91ad!important}
body:not(.dark).pos-workspace #posPage .cart-items .empty-state:before{width:45px!important;height:45px!important;margin-bottom:10px!important;background:#e5edf9!important;border:1px solid #c6d6ec!important;font-size:25px!important;border-radius:13px!important}
body:not(.dark).pos-workspace #posPage .cart-row{padding:10px!important;margin-bottom:6px!important;background:white!important;border:1px solid #e0e8f5!important;border-radius:9px!important}#posPage .cart-row>div:first-child{min-width:0;flex:1}#posPage .cart-row strong{font-size:12px!important;overflow-wrap:anywhere}#posPage .cart-row small{font-size:10px!important}#posPage .qty{flex:none}#posPage .qty button{width:28px!important;height:28px!important}
body:not(.dark).pos-workspace #posPage #posDebtOptions{margin:0 10px 6px!important;max-height:110px!important;background:#e7eef9!important;min-height:0!important}body:not(.dark).pos-workspace #posPage #posDebtOptions summary{padding:6px 9px!important;font-size:10px!important}
body:not(.dark).pos-workspace #posPage .pos-payment-dock{padding:8px 10px 10px!important;flex:none!important;background:#e2f0eb!important;border-top:1px solid #c1ddd1!important}
body:not(.dark).pos-workspace #posPage .premium-cart-summary{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.25fr)!important;gap:5px 10px!important;padding:8px 10px!important;margin:0 0 6px!important;border-radius:10px!important;background:linear-gradient(105deg,#2c8879,#219982)!important}
body:not(.dark).pos-workspace #posPage .premium-cart-summary>div{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:3px!important;padding:0!important;margin:0!important;min-height:32px!important;flex-wrap:nowrap!important;border:0!important}
body:not(.dark).pos-workspace #posPage .premium-cart-summary>div>span{font-size:10px!important;line-height:1.2!important}body:not(.dark).pos-workspace #posPage .premium-cart-summary>div>strong{font-size:12px!important;line-height:1.3!important}
body:not(.dark).pos-workspace #posPage .premium-cart-summary .grand{grid-column:auto!important;grid-row:1!important;align-items:flex-end!important;border:0!important;padding:0!important;margin:0!important}body:not(.dark).pos-workspace #posPage .premium-cart-summary .grand strong{font-size:22px!important;line-height:1.25!important}
body:not(.dark).pos-workspace #posPage #discountInput{height:26px!important;padding:3px 6px!important;width:65px!important;max-width:65px!important;font-size:11px!important;border-radius:7px!important}
body:not(.dark).pos-workspace #posPage #salesTaxRow{grid-column:1/-1!important;grid-row:2!important;font-size:9px!important;line-height:1.2!important;margin:0!important;min-height:0!important}
body:not(.dark).pos-workspace #posPage .payment-title{display:none!important}
body:not(.dark).pos-workspace #posPage .premium-payment-methods{margin:0 0 7px!important;gap:5px!important}
body:not(.dark).pos-workspace #posPage .payment-methods button{flex-direction:row!important;gap:4px!important;min-height:35px!important;height:35px!important;font-size:10px!important;padding:5px!important;border-radius:8px!important}body:not(.dark).pos-workspace #posPage .payment-methods button svg{width:17px!important;height:17px!important}
body:not(.dark).pos-workspace #posPage #checkoutBtn{height:45px!important;min-height:45px!important;padding:7px 13px!important;border-radius:9px!important}body:not(.dark).pos-workspace #posPage #checkoutBtn>span strong{font-size:14px!important}body:not(.dark).pos-workspace #posPage #checkoutBtn>span small{display:none!important}
body:not(.dark).pos-workspace #posPage .products-panel{border-radius:15px!important;background:#e8effb!important;padding:12px!important}body:not(.dark).pos-workspace #posPage .product{border-radius:12px!important;height:190px!important;min-height:190px!important}body:not(.dark).pos-workspace #posPage .product-art{height:88px!important;flex-basis:88px!important}
}
