/* Compact landscape terminals: keep the sale and checkout in one screen. */
@media screen and (min-width:901px) and (max-width:1599px){
 #appScreen.workspace-shell #orderView:not([data-sales-layout="desktop"]):has(>.catalog:not(.price-keypad-active)).active-view{grid-template-columns:minmax(0,1fr) 360px;gap:10px;min-height:0;height:calc(100dvh - var(--workspace-top,72px) - 28px)}
 #appScreen.workspace-shell #orderView:not([data-sales-layout="desktop"]):has(>.catalog:not(.price-keypad-active)) .catalog:not(.price-keypad-active){display:flex;flex-direction:column;gap:0;min-height:0;max-height:none;height:100%;padding:10px;overflow:visible}
 #appScreen.workspace-shell #orderView:not([data-sales-layout="desktop"]):has(>.catalog:not(.price-keypad-active)) .catalog:not(.price-keypad-active)>.search-row{flex:none;position:relative;top:auto;margin:0 0 8px;min-width:0}
 #appScreen.workspace-shell #orderView:not([data-sales-layout="desktop"]):has(>.catalog:not(.price-keypad-active)) .catalog:not(.price-keypad-active)>.category-list{position:static;display:flex;flex-direction:row;flex-wrap:nowrap;flex:none;width:100%;min-width:0;max-height:none;overflow-x:auto;overflow-y:hidden;gap:6px;border:0;margin:0 0 8px;padding:0 0 6px;scrollbar-width:thin;overscroll-behavior-x:contain}
 #appScreen.workspace-shell #orderView:not([data-sales-layout="desktop"]):has(>.catalog:not(.price-keypad-active)) .catalog:not(.price-keypad-active)>.category-list .category{flex:none;width:auto;min-height:44px;padding:8px 12px;white-space:nowrap;word-break:normal;overflow-wrap:normal;font-size:12px;border-radius:8px}
 #appScreen.workspace-shell #orderView:not([data-sales-layout="desktop"]):has(>.catalog:not(.price-keypad-active)) .catalog:not(.price-keypad-active)>#productList{flex:1;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;align-content:start;margin:0;padding:0 3px 3px 0;gap:8px;scrollbar-width:thin}
 #appScreen.workspace-shell #orderView:not([data-sales-layout="desktop"]):has(>.catalog:not(.price-keypad-active)) .catalog:not(.price-keypad-active)>#productList:not(.list-mode){grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:max-content}
 #appScreen.workspace-shell #orderView:not([data-sales-layout="desktop"]):has(>.catalog:not(.price-keypad-active)) #productList:not(.list-mode) .product-card{min-height:104px;padding:9px;gap:5px;border-radius:8px}
 #appScreen.workspace-shell #orderView:not([data-sales-layout="desktop"]):has(>.catalog:not(.price-keypad-active)) #productList .product-details strong{font-size:14px;line-height:1.3;overflow-wrap:normal;word-break:normal}
 #appScreen.workspace-shell #orderView:not([data-sales-layout="desktop"]):has(>.catalog:not(.price-keypad-active)) #productList .product-card .price{font-size:18px}
 #appScreen.workspace-shell #orderView:not([data-sales-layout="desktop"]):has(>.catalog:not(.price-keypad-active)) #productList .product-card footer{margin-top:auto}
 #appScreen.workspace-shell #orderView[data-sales-layout="retail"] .catalog:not(.price-keypad-active) #productList.list-mode .product-card{min-height:72px;padding:9px 42px 9px 9px;gap:8px}
 #appScreen.workspace-shell #orderView[data-sales-layout="retail"] .catalog:not(.price-keypad-active) #productList.list-mode .product-details strong{font-size:14px}
 #appScreen.workspace-shell #orderView:not([data-sales-layout="desktop"]):has(>.catalog:not(.price-keypad-active)) .cart-panel{position:static;height:100%;min-height:0;padding:12px;overflow:hidden}
 #appScreen.workspace-shell #orderView:not([data-sales-layout="desktop"]):has(>.catalog:not(.price-keypad-active)) .cart-title h2{font-size:15px;white-space:nowrap}
 #appScreen.workspace-shell #orderView:not([data-sales-layout="desktop"]):has(>.catalog:not(.price-keypad-active)) #workspaceSaleActions{display:flex;flex-wrap:nowrap;gap:4px;padding:8px 0}
 #appScreen.workspace-shell #orderView:not([data-sales-layout="desktop"]):has(>.catalog:not(.price-keypad-active)) #workspaceSaleActions button{flex:1;min-width:0;min-height:44px;gap:3px;padding:6px 4px;font-size:11px;white-space:nowrap}
 #appScreen.workspace-shell #orderView:not([data-sales-layout="desktop"]):has(>.catalog:not(.price-keypad-active)) .cart-grid-heading,#appScreen.workspace-shell #orderView:not([data-sales-layout="desktop"]):has(>.catalog:not(.price-keypad-active)) .cart-grid-row{grid-template-columns:minmax(70px,1fr) 38px 58px 65px 64px;gap:4px;font-size:12px}
 #appScreen.workspace-shell #orderView:not([data-sales-layout="desktop"]):has(>.catalog:not(.price-keypad-active)) .cart-grid-qty{min-height:44px}
 #appScreen.workspace-shell #orderView:not([data-sales-layout="desktop"]):has(>.catalog:not(.price-keypad-active)) .cart-grid-actions button{min-height:44px}
 #appScreen.workspace-shell #orderView:not([data-sales-layout="desktop"]):has(>.catalog:not(.price-keypad-active)) #cartItems{min-height:0;max-height:none;overflow:auto}
 #appScreen.workspace-shell #orderView:not([data-sales-layout="desktop"]):has(>.catalog:not(.price-keypad-active)) #cartEmpty{min-height:50px;padding:12px;flex:1}
 #appScreen.workspace-shell #orderView:not([data-sales-layout="desktop"]):has(>.catalog:not(.price-keypad-active)) .cart-summary{flex:none;min-height:54px;padding:10px 12px;margin:8px 0}
 #appScreen.workspace-shell #orderView:not([data-sales-layout="desktop"]):has(>.catalog:not(.price-keypad-active)) .cart-actions{flex:none}
 #appScreen.workspace-shell #orderView:not([data-sales-layout="desktop"]):has(>.catalog:not(.price-keypad-active)) #payBtn{min-height:54px;font-size:18px}
}
