/* Shared compact order-entry blocks; existing brand tokens remain authoritative. */
[data-checkout-panel][hidden],[data-spot-tools][hidden]{display:none!important}
.presale-picker-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.8fr);gap:16px}
.presale-picker-row h2,.presale-picker-row h3{font-size:16px;margin:0 0 6px}
.presale-picker-row p{margin-bottom:6px}.presale-inputs{align-items:start}
.combined-presale-tools{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}.combined-presale-tools label{min-width:220px;flex:1}
.combined-presale-tools .control{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
.combined-order-details{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:100px}
.combined-summary{position:relative}.combined-summary summary{cursor:pointer;font-weight:600}
.combined-summary-body{position:absolute;bottom:calc(100% + 8px);left:0;min-width:320px;max-height:60vh;overflow:auto;padding:18px;background:#fff;border:1px solid #ddd;box-shadow:0 8px 30px #0002;border-radius:10px;z-index:12}
.combined-summary-body h2{font-size:15px}.combined-summary-body ul{padding-left:18px}
.combined-summary-body li{margin:8px 0}.staff-batch-filter{min-width:240px}
.page-order-form .order-basket .presale-cards{margin-top:10px}
.order-line-pricing{min-width:0;margin:10px 0 0;padding:10px 0 0;border:0;border-top:1px solid var(--line,#dce1d5)}
.order-line-pricing>legend{float:none;width:auto;margin:0 0 6px;font-size:11px;line-height:1.6;color:var(--skin-muted,#647168)}
.order-line-price-fields{display:flex;flex-wrap:wrap;gap:8px 14px;min-width:0}
.order-line-price-fields>label{display:grid;gap:4px;flex:0 1 150px;min-width:0;margin:0;font-size:11px;line-height:1.5;color:var(--skin-muted,#647168)}
.order-line-price-fields .form-control{width:100%;min-width:0;min-height:36px;padding:6px 9px;font-size:13px;font-variant-numeric:tabular-nums}
.order-line-price-fields .form-control:read-only{background:var(--skin-soft,#f2f3ee)}
.presale-catalog-row>.order-line-pricing{grid-column:1/-1}
.order-pricing-controls{display:grid;grid-template-columns:minmax(140px,220px) minmax(140px,220px);gap:10px 20px;margin-top:12px;min-width:0}
.order-pricing-controls>label{display:grid;align-content:start;gap:5px;min-width:0;margin:0;font-size:12px;line-height:1.6}
.order-pricing-controls :is(.form-control,.form-select){width:100%;min-width:0;margin:0;font-size:13px}
.order-pricing-guidance{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;min-width:0}
.order-pricing-guidance>p{margin:0;font-size:12px;line-height:1.6;color:var(--skin-muted,#647168)}
.order-pricing-guidance>.btn{min-height:34px;padding:5px 10px;font-size:12px}
@media(max-width:600px){.order-line-price-fields>label{flex:1 1 120px;max-width:180px}.order-pricing-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 12px}}
@media(max-width:700px){.presale-picker-row{grid-template-columns:1fr;gap:8px}.combined-order-details{grid-template-columns:1fr}.combined-bottom{gap:8px}.combined-summary-body{min-width:0;width:min(90vw,400px)}.combined-presale-tools label,.staff-batch-filter{min-width:0;width:100%}.combined-bottom .actions{gap:10px}.combined-bottom .primary{padding:10px 14px}}

/* Keep long saved addresses inside the grid and make notes align with the select. */
.combined-order-details{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.combined-order-details>label{min-width:0;display:grid;gap:6px}
.combined-order-details .control{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
.checkout-result-card{overflow:hidden}.checkout-result-table{margin:0;width:100%}
.checkout-result-type small{display:block;margin-top:4px;color:var(--ink-muted,#647168);font-size:.8rem}
.checkout-result-number{overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.checkout-result-amount{font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
@media(max-width:700px){.combined-order-details{grid-template-columns:minmax(0,1fr)}}
@media(max-width:640px){
 .checkout-result-card{background:transparent;border:0;box-shadow:none;overflow:visible}
 .checkout-result-table,.checkout-result-table tbody{display:block;width:100%;min-width:0}
 .checkout-result-table thead{display:none}
 .checkout-result-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 8px;padding:14px;margin:0 0 12px;border:1px solid var(--line,#dce1d5);border-radius:6px;background:var(--paper,#fffef9)}
 .checkout-result-table td{display:block;padding:0;border:0;min-width:0;background:transparent;box-shadow:none}
 .page-checkout-result .checkout-result-table tbody tr>td,.page-checkout-result .checkout-result-table tbody tr:hover>td,.page-checkout-result .checkout-result-table tbody tr:active>td{background:transparent;box-shadow:none}
 .checkout-result-type,.checkout-result-action{grid-column:1/-1}
 .checkout-result-number{font-size:.82rem;align-self:center}
 .checkout-result-amount{text-align:right;align-self:center;font-size:1rem}
 .checkout-result-action .btn{display:block;width:100%;min-height:40px}
}
