.staff-mode .workspace{grid-template-columns:minmax(0,1fr) minmax(360px,44%);gap:16px}.staff-mode .basket{padding:16px;position:sticky;top:8px;max-height:calc(100dvh - 16px);overflow:auto;min-width:0}.staff-mode .basket h2{font-size:20px;margin:10px 0}.staff-mode .basket .staff-customer-strip{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:8px 0}.staff-mode .basket .staff-customer-strip label:last-child{grid-column:1/-1}.staff-mode .basket input,.staff-mode .basket select{min-width:0;width:100%;padding:9px 6px;border:1px solid #d6deea;border-radius:7px;background:#fff;font-size:14px}.staff-mode .basket input[aria-invalid=true]{border-color:#c82a36;background:#fff0f0}.basket-grid-head,.basket-grid-row{display:grid;grid-template-columns:minmax(100px,1fr) 40px 60px 64px 24px;gap:5px;align-items:start}.basket-grid-head{font-size:11px;color:#55657c;border-bottom:1px solid #dde3ec;padding:10px 0}.basket-grid-row{padding:10px 0;border-bottom:1px solid #e5eaf1}.basket-grid-row strong{font-size:12px;align-self:center;text-align:right;overflow-wrap:anywhere}.basket-description small{display:block;color:#68778b;font-size:11px;margin:4px 0}.basket-description input:first-child{font-weight:650}.basket-description input[data-note]{font-size:12px;background:#f6f8fb}.basket-grid-row button{padding:7px 3px;min-width:28px;color:#9b3440;border:0;background:#fff0f0}.basket-grid-row.removed{opacity:.6}.basket-grid-row.removed input{text-decoration:line-through}.basket-grid-row.removed strong{font-size:10px}.basket-summary{margin:12px 0}.basket-summary>div{display:flex;justify-content:space-between;margin:5px 0;font-size:13px}.basket-summary [hidden]{display:none}.basket-summary button{margin-top:8px;width:100%}.basket-summary>span{display:block;font-size:12px;margin-top:8px}.basket-new{font-size:12px;padding:7px 10px}.basket-payment{display:flex;align-items:center;gap:8px;margin:12px 0;font-size:13px}.staff-mode .basket .total{border-top:2px solid #17263c;padding-top:12px;margin-top:12px}.staff-mode #review{width:100%;margin-top:8px;min-height:48px}.staff-mode #basket-status{font-size:13px;line-height:1.5}.discount-calculator{width:330px;max-width:90vw;padding:20px;border:0;border-radius:16px}.discount-calculator h2{margin-top:0}.discount-calculator label{display:block;margin:10px 0}.discount-calculator input,.discount-calculator select{width:100%;padding:12px;font-size:18px;border:1px solid #cbd5e1;border-radius:8px}.calculator-keys{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.calculator-keys button{font-size:20px;padding:13px}.calculator-actions{display:flex;gap:8px;margin-top:12px}.calculator-actions button{flex:1}#discount-error{color:#b42332}.staff-mode .intro h1,.staff-mode .intro>.eyebrow{display:none}@media(max-width:760px){.staff-mode .workspace{grid-template-columns:1fr}.staff-mode .basket{position:static;max-height:none}.basket-grid-row,.basket-grid-head{grid-template-columns:minmax(100px,1fr) 44px 60px 70px 26px}.staff-mode .workspace>.basket{order:-1}}

/* Open sales basket: no nested horizontal or vertical scrolling. */
.order-menu.staff-mode .intro .staff-customer-strip{order:0;flex:0 0 100%;grid-template-columns:minmax(120px,1fr) minmax(120px,1fr) minmax(220px,2fr);margin:0 0 8px}
.order-menu.staff-mode .workspace{grid-template-columns:minmax(0,1fr) minmax(370px,43%);align-items:start}
.order-menu.staff-mode .basket{display:block;position:sticky;top:8px;height:auto;max-height:none;overflow:visible}
.order-menu.staff-mode #basket-lines{display:block;flex:none;height:auto;max-height:none;min-height:0;overflow:visible;width:100%}
.order-menu.staff-mode .basket-grid-row,.order-menu.staff-mode .basket-grid-head{grid-template-columns:minmax(0,1fr) 40px 58px 64px 24px;gap:5px;width:100%;min-width:0}
.order-menu.staff-mode .basket-description{min-width:0}
.order-menu.staff-mode .basket-description textarea{display:block;width:100%;min-width:0;height:auto;min-height:44px;padding:6px;border:1px solid #d6deea;border-radius:7px;font-size:14px;font-weight:650;line-height:1.3;resize:vertical;overflow-wrap:anywhere}
.order-menu.staff-mode .basket-description small{white-space:normal;overflow-wrap:anywhere;font-size:12px;line-height:1.4}
.order-menu.staff-mode .basket-grid-row.removed textarea{text-decoration:line-through}
.order-menu.staff-mode .basket input,.order-menu.staff-mode .basket select{min-width:0;max-width:100%}
.order-menu.staff-mode .basket .total{font-size:18px}
@media(max-width:760px) and (min-width:620px){.order-menu.staff-mode .workspace{grid-template-columns:minmax(0,1fr) 350px}.order-menu.staff-mode .basket{position:static}.order-menu.staff-mode .basket-grid-row,.order-menu.staff-mode .basket-grid-head{grid-template-columns:minmax(0,1fr) 36px 52px 58px 22px}.order-menu.staff-mode .intro .staff-customer-strip{grid-template-columns:1fr 1fr}.order-menu.staff-mode .intro .staff-customer-strip label:last-child{grid-column:1/-1}}
@media(max-width:619px){.order-menu.staff-mode .workspace{grid-template-columns:1fr}.order-menu.staff-mode .basket{position:static}.order-menu.staff-mode .intro .staff-customer-strip{grid-template-columns:1fr 1fr}.order-menu.staff-mode .intro .staff-customer-strip label:last-child{grid-column:1/-1}}
