/* Compact read-only matrix in Orders > Details > Overview. */
.orders-detail-mini-matrix{min-width:0;max-width:100%;overflow:hidden}
.orders-detail-mini-matrix .orders-mini-matrix-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:8px}
.orders-detail-mini-matrix .orders-mini-matrix-heading h3{margin:0}
.orders-detail-mini-matrix .orders-mini-matrix-heading small{font-size:10px;color:var(--ink-soft)}
.orders-mini-matrix-scroll{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;border:1px solid var(--line);border-radius:var(--radius-sm)}
.orders-mini-matrix{border-collapse:separate;border-spacing:0;direction:ltr!important;width:max-content;min-width:100%;font-variant-numeric:tabular-nums lining-nums;font-size:11px}
.orders-mini-matrix th,.orders-mini-matrix td{padding:5px 7px;text-align:center;white-space:nowrap;border-right:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft);min-width:57px}
.orders-mini-matrix tr>:last-child{border-right:0}
.orders-mini-matrix tfoot tr>:is(th,td){border-bottom:0}
.orders-mini-matrix thead th,.orders-mini-matrix tfoot th,.orders-mini-matrix tfoot td{background:var(--surface-subtle);font-weight:750;color:var(--ink-strong)}
.orders-mini-matrix thead th{vertical-align:bottom;font-size:10px}
.orders-mini-matrix thead th small{display:block;max-width:78px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;font-weight:400;color:var(--ink-soft)}
.orders-mini-matrix tr>:first-child{position:sticky;inset-inline-start:auto;left:0;right:auto;z-index:1;min-width:80px;text-align:left;direction:ltr;background:var(--surface);box-shadow:1px 0 var(--line-soft)}
.orders-mini-matrix thead th:first-child,.orders-mini-matrix tfoot th:first-child{background:var(--surface-subtle);z-index:2}
.orders-mini-matrix thead th.orders-mini-matrix-category{direction:rtl;text-align:left;unicode-bidi:isolate}
.orders-mini-matrix td.is-nonzero{font-weight:750;color:var(--ux-ink-strong);background:var(--surface-subtle)}
.orders-mini-matrix td.is-zero{color:var(--ink-faint)}
.orders-mini-matrix td.is-total{font-weight:750;background:var(--surface-subtle)}
@media(max-width:760px){.orders-mini-matrix th,.orders-mini-matrix td{min-width:50px;padding:5px 6px}.orders-mini-matrix th:first-child{min-width:70px}}

/* Compact print control, scoped to Orders print settings. */
.order-print-collected-option{grid-column:1/-1;display:flex;align-items:center;gap:8px;margin:0;padding:7px 2px;font-size:12px;font-weight:600}
.order-print-collected-option input{width:16px;height:16px;margin:0;flex:0 0 auto}
.order-print-collected-option[hidden]{display:none!important}

.orders-dispatch-unit{display:block;font-size:8px;line-height:1.1;font-weight:500;opacity:.75}
.orders-mobile-dispatch-unit{align-self:center;font-size:10px;color:var(--ink-soft);margin-inline-end:3px}
@media(max-width:760px){.orders-mobile-dispatch{align-items:center;flex-wrap:wrap}}
