/* Orders: one item per row, progressive disclosure, stable tabular prices. */
/* Inherit the workspace theme; shared surface tokens also style Requests. */
.orders-view #content { overflow: hidden; }
.orders-view .heading:not(:has(.heading-actions button)) { height: 0; min-height: 0; margin: 0; }
.orders-view .heading-actions { grid-column: -2 / -1; }
.orders-workspace { min-width: 0; height: 100%; min-height: 0; display: flex; flex-direction: column; }
.order-toolbar { flex: none; }
.order-selection-warning { flex-basis: 100%; margin: 0; color: var(--danger); font-size: .8125rem; }
.orders-columns { display: grid; grid-template-columns: minmax(0, 1fr) clamp(280px, 25vw, 360px); gap: 14px; flex: 1; min-height: 0; padding-top: 12px; }
.orders-scroll { min-width: 0; min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-gutter: stable; padding-right: 4px; container-type: inline-size; }
.orders-calculator { min-height: 0; min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--rule); border-radius: var(--panel-radius); background: var(--panel-surface); box-shadow: var(--panel-shadow); overflow: hidden; }
.orders-calculator-head { flex: none; padding: 14px 16px; border-bottom: 1px solid var(--rule); background: var(--metal) top / 100% 2px no-repeat; }
.orders-calculator-head h2 { margin: 0; font-size: 16px; }
.orders-calculator-body { padding: 16px; overflow: auto; }
.orders-calculator-body > p { margin: 0 0 12px; font-size: 13px; }
.orders-calculator .order-preview-form { display: grid; gap: 12px; }
.orders-calculator output { display: block; min-height: 48px; font-size: 14px; }
.orders-calc-note { color: var(--muted); margin-top: 16px !important; }
.orders-costs { margin: 0; }
.orders-costs > div { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; }
.orders-costs dd { margin: 0; font-weight: 600; }
.orders-cost-total { border-top: 1px solid var(--rule); font-size: 18px; }
.orders-calc-open, .orders-calc-back { display: none; }
.order-group-select { grid-row: 1; grid-column: 1; }
.order-summary:has([data-order-group]:checked), .order-summary:has([data-order-group]:indeterminate) { background: var(--steel-soft); }
.orders-scroll .order-summary { --identity-column: 3; --summary-end-column: 4; grid-template-columns: 36px 16px minmax(0, 1fr) fit-content(45%); gap: 8px; }
.orders-scroll .order-summary > .order-chevron { grid-row: 1; }
.orders-scroll .order-summary > .order-identity { grid-column: var(--identity-column); grid-row: 1; }
.orders-scroll .order-summary .order-amount { grid-column: var(--summary-end-column); grid-row: 2; justify-self: end; }
.orders-scroll .order-summary time { grid-column: var(--identity-column); grid-row: 2; }
.orders-scroll .order-summary-status { grid-column: var(--summary-end-column); grid-row: 1; justify-content: flex-end; }
.orders-scroll .order-count { grid-column: var(--identity-column); grid-row: 3; justify-self: start; }
.orders-scroll .order-summary-controls { display: contents; }
.orders-scroll .order-summary-controls:not(:has(.order-status, button)) { display: none; }
.orders-scroll .order-summary-actions { grid-column: var(--summary-end-column); grid-row: 3; }
.order-summary-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.order-summary-actions .order-action-group { justify-content: flex-end; font-size: .75rem; }
.order-summary-actions button { min-height: 26px; padding: 3px 8px; border-radius: 3px; font-size: .75rem; line-height: normal; gap: 4px; }
.order-summary-actions button svg { width: 12px; height: 12px; }
.orders-scroll .shipment-summary { --identity-column: 2; --summary-end-column: 3; grid-template-columns: 16px minmax(0, 1fr) fit-content(45%); }
.order-identity { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-width: 0; }
.order-identity strong { font-weight: 600; overflow-wrap: anywhere; }
.order-deliveries { display: inline-flex; flex: none; gap: 8px; }
.order-review-label { font-size: .75rem; color: var(--steel); }
.order-review-section { border-top: 1px solid var(--rule); padding-block: 12px; }
.order-review-section h3 { font-size: 1rem; margin: 12px 0 8px; }
.order-review-section p { margin-block: 12px; }
.order-review-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.order-review-actions button, [data-action="shipment-receive-confirm"] { min-height: 44px; }
.order-review-reason { color: var(--danger); }
.order-deliveries .order-delivery-icon { position: relative; padding: 6px; width: 32px; min-height: 32px; color: var(--steel); }
.order-delivery-tooltip { display: none; position: absolute; z-index: 4; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); width: max-content; max-width: 180px; padding: 6px 9px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--paper); color: var(--ink); font-size: 12px; font-weight: 400; pointer-events: none; }
.order-delivery-icon:focus .order-delivery-tooltip { display: block; }
@media (hover: hover) and (pointer: fine) { .order-delivery-icon:hover .order-delivery-tooltip { display: block; } }
.orders-scroll .order-summary-nested { display: flex; flex-wrap: wrap; gap: 8px 12px; min-height: 52px; padding-block: 8px; }
.order-summary-nested .order-summary-controls { display: flex; }
.order-summary-nested > strong, .order-summary-nested time, .order-summary-nested .order-count { white-space: nowrap; }
.order-summary-nested .order-count { margin-left: auto; }
.orders-scroll .order-summary-nested .order-amount { max-width: none; white-space: nowrap; }
@container (max-width: 650px) {
  .orders-scroll .order-summary-status .order-status { white-space: normal; text-align: right; }
  .orders-scroll .order-summary-actions { grid-column: var(--identity-column) / -1; grid-row: 4; }
  .orders-scroll .order-summary-nested time { flex-basis: 100%; padding-left: 64px; white-space: normal; }
}
.orders-scroll .shipment-list, .orders-scroll .orders-list { margin-top: 0; margin-bottom: 12px; }
.orders-workspace .order-actions { justify-content: flex-end; }
@media (max-width: 1000px) {
  .orders-columns { grid-template-columns: minmax(0, 1fr); }
  .orders-calculator { display: none; }
  .orders-calc-open, .orders-calc-back { display: inline-flex; }
  .orders-calc-back { margin-top: 10px; }
  .calculator-open .orders-calculator { display: flex; }
  .calculator-open .orders-scroll { display: none; }
}
@media (max-height: 500px) {
  .orders-view .heading { display: none; }
  .orders-workspace .order-toolbar { gap: 4px 8px; padding-bottom: 6px; }
  .orders-workspace .order-toolbar label { flex: 1 1 100px; }
  .orders-workspace .order-toolbar select { min-width: 0; width: 100%; }
}
.orders-workspace .order-actions:not(:has(*)) { display: none; }
.order-toolbar { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.order-toolbar label { display: grid; gap: 4px; font-size: .8125rem; color: var(--muted); }
.order-toolbar select { min-width: 170px; min-height: 36px; padding: 4px 9px; border-radius: 4px; background: rgb(246 248 248 / 80%); font-size: 14px; }
.order-filters { display: flex; flex-wrap: wrap; gap: 12px; min-width: 0; }
.order-toolbar .order-search { display: flex; flex: 1 1 230px; max-width: 320px; min-width: 0; margin-inline: auto; gap: 7px; color: var(--ink); }
.order-search input { width: 100%; min-width: 0; }
.order-search .icon { flex: none; }
.order-toolbar-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 12px; margin-left: auto; }
@media (min-width: 1400px) {
  .order-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) 320px minmax(0, 1fr); gap: 12px 14px; }
  .order-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 170px)); }
  .order-filters select { width: 100%; min-width: 0; }
  .order-toolbar .order-search { width: 100%; }
  .order-selection-warning { grid-column: 1 / -1; }
}
.order-toolbar select:focus { outline: none; }
.order-toolbar select:focus-visible { border-color: var(--steel); background: var(--steel-soft); }
.order-disclosure-controls { display: flex; gap: 8px; margin-left: auto; }
.order-disclosure { position: relative; width: 36px; padding: 6px; }
.order-disclosure::after { content: attr(data-tooltip); display: none; position: absolute; z-index: 4; top: calc(100% + 6px); right: 0; padding: 6px 9px; width: max-content; border: 1px solid var(--control); border-radius: var(--radius); background: var(--paper); color: var(--ink); font-size: 12px; pointer-events: none; }
.order-disclosure:focus-visible::after { display: block; }
@media (hover: hover) and (pointer: fine) { .order-disclosure:hover::after { display: block; } }
.order-check-cell { width: 44px; }
.order-item-select { display: flex; align-items: center; justify-content: center; min-width: 32px; min-height: 36px; cursor: pointer; }
.cart-expiry { color: var(--muted); font-size: 13px; }
.orders-list { display: grid; gap: 8px; margin-top: 16px; }
.orders-list:empty, .shipment-list:empty { display: none; }
.order-card { min-width: 0; background: var(--panel-surface); border: 1px solid var(--rule); border-radius: var(--panel-radius); box-shadow: var(--panel-shadow); }
.order-summary { display: grid; grid-template-columns: 20px minmax(150px, 1fr) auto minmax(160px, 1fr) auto minmax(110px, auto); gap: 12px; align-items: center; padding: 12px 16px; cursor: pointer; list-style: none; min-height: 60px; font-size: .875rem; }
.order-summary::-webkit-details-marker { display: none; }
.order-summary { border-radius: var(--panel-radius); }
details[open] > .order-summary { border-radius: var(--panel-radius) var(--panel-radius) 0 0; }
.order-summary time, .order-count { color: var(--muted); font-size: .8125rem; }
.order-summary > strong { font-weight: 600; }
.order-chevron { display: flex; }
details[open] > .order-summary .order-chevron { transform: rotate(90deg); }
.order-summary-status { display: flex; gap: 4px; flex-wrap: wrap; }
.order-status { display: inline-flex; align-items: center; min-height: 26px; padding: 3px 8px; border: 1px solid var(--rule); border-radius: 3px; color: var(--ink); background: var(--canvas); font-size: .75rem; white-space: nowrap; }
.order-status.status-confirmed, .order-status.status-assembling { color: var(--blue); border-color: var(--blue); background: var(--blue-wash); }
.order-status.status-shipped { background: var(--shipped-fill); color: var(--shipped-ink); border-color: var(--shipped-accent); }
.order-status.status-received { background: var(--received-fill); color: var(--received-ink); border-color: var(--received-accent); }
.order-status.status-cancelled { color: var(--danger); }
/* Same muted surface as rejected offers; history and cancellation reasons stay readable. */
.orders-workspace { --cancelled-surface: #e4e7e9; --cancelled-border: #b9c1c6; --cancelled-ink: #52616b; }
.orders-workspace :is(.order-card, .shipment-card).is-cancelled { background: var(--cancelled-surface); border-color: var(--cancelled-border); box-shadow: none; }
.orders-workspace .is-cancelled > details > .order-summary { background: var(--cancelled-surface); color: var(--cancelled-ink); }
.orders-workspace .order-table tr.is-cancelled td { background: var(--cancelled-surface); color: var(--cancelled-ink); }
.orders-workspace .order-table tr.is-cancelled .order-product { color: var(--cancelled-ink); text-decoration: line-through; }
.order-item-select:has(input:disabled) { cursor: not-allowed; }
.order-item-select input:disabled { opacity: .55; cursor: not-allowed; }
.order-body { border-top: 1px solid var(--rule); }
.order-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 12px 16px; font-size: .8125rem; color: var(--muted); }
.order-table-scroll { min-width: 0; margin: 12px 16px; border: 1px solid var(--rule); border-radius: var(--radius); overflow-x: auto; overscroll-behavior-x: contain; }
.order-table tbody tr:last-child td { border-bottom: 0; }
.order-table { margin: 0; width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; font-variant-numeric: tabular-nums; }
.order-table th, .order-table td { white-space: nowrap; text-align: left; padding: 5px 9px; border-bottom: 1px solid var(--rule); }
.order-table th { height: 34px; color: var(--steel); background: var(--table-heading); font-size: 12px; }
.order-table td { height: 37px; color: var(--muted); background: var(--paper); }
.order-table tr:focus-within td { background: var(--steel-soft); }
.order-table th.numeric, .order-table td.numeric { text-align: right; }
.order-product { display: block; max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; color: var(--steel); }
.order-amount { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.order-detail-button { padding: 4px; }
.order-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 12px 16px; }
.order-action-group { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.order-select { margin-left: auto; font-size: .8125rem; min-height: 44px; }
.order-preview { padding: 4px 16px; font-size: .875rem; }
.order-preview summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.order-preview-form { display: flex; align-items: end; flex-wrap: wrap; gap: 16px; margin-top: 12px; }
.order-preview-form > label:not(.option) { display: grid; gap: 4px; }
.order-preview-form .option { min-height: 44px; }
.order-preview output { align-self: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.order-history { list-style: none; padding: 0; display: grid; gap: 12px; }
.order-history li { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding-left: 12px; border-left: 2px solid var(--blue); }
.order-history time { color: var(--muted); font-size: .875rem; }
.order-history li p { width: 100%; }
.order-cancel-reason { padding: 12px 16px; color: var(--danger); font-size: .875rem; }
#order-cancel { display: grid; gap: 16px; }
#order-cancel label { display: grid; gap: 6px; }
#order-cancel textarea { width: 100%; resize: vertical; font: inherit; padding: 12px; border: 1px solid var(--control); border-radius: var(--radius); }
.shipment-list { display: grid; gap: 8px; margin-top: 16px; }
.shipment-card { min-width: 0; border: 1px solid var(--rule); border-left: 3px solid var(--status-accent,#8b9da8); border-radius: var(--panel-radius); background: var(--panel-surface); box-shadow: var(--panel-shadow); }
.shipment-body { border-top: 1px solid var(--rule); padding: 8px; display: grid; gap: 8px; }
.shipment-orders { display: grid; gap: 8px; padding: 12px; }
.shipment-orders .order-card { box-shadow: none; background: var(--paper); }
.shipment-summary { grid-template-columns: 20px minmax(200px, 1fr) auto minmax(120px, 1fr) auto minmax(110px, auto); }
.order-shipment-number { color: var(--steel); }
.shipment-confirm-list { padding-left: 20px; }
.shipment-destination { display: grid; gap: 8px; margin-block: 16px; }
.shipment-destination select { width: 100%; min-width: 0; }
.order-empty { padding: 40px 16px; color: var(--muted); }
.cart-preview-label { width: 100%; font-size: .8125rem; color: var(--muted); }
.cart-base-price { font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .order-summary:hover, .order-table tbody tr:hover td { background: var(--steel-soft); }
}
@media (pointer: coarse), (max-width: 600px) {
  .order-deliveries .order-delivery-icon { min-width: 44px; min-height: 44px; }
  .orders-workspace button, .orders-workspace select { min-height: 44px; }
  .orders-workspace button { min-width: 44px; }
  .order-item-select { min-width: 44px; min-height: 44px; }
}
@media (max-width: 1200px) {
  .order-summary { grid-template-columns: 20px 1fr auto; }
  .order-summary time { grid-column: 2; grid-row: 2; }
  .order-summary-status { grid-column: 2; grid-row: 3; }
  .order-summary .order-amount { grid-column: 3; grid-row: 1; }
  .order-count { grid-column: 3; grid-row: 2; }
}
@media (max-width: 600px) {
  .order-summary { gap: 8px; padding: 12px; font-size: .8125rem; }
  .order-summary-status { grid-column: 2 / 4; }
  .order-toolbar { gap: 8px; }
  .order-filters { width: 100%; gap: 8px; }
  .order-toolbar .order-search { flex-basis: 100%; max-width: none; min-height: 44px; }
  .order-search input { min-height: 42px; font-size: 1rem; }
  .order-toolbar label { flex: 1 1 140px; }
  .order-toolbar select { width: 100%; min-width: 0; font-size: 1rem; }
  .order-result-count { width: 100%; }
  .order-summary time { font-size: .75rem; }
  .order-count { font-size: .75rem; }
  .order-select { margin-left: 0; }
  .order-table-scroll { margin-inline: 12px; }
  .shipment-orders { padding: 8px; }
  .order-summary .order-amount { max-width: 120px; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { .orders-workspace button:active:not(:disabled) { transform: none; } }


.orders-workspace > .orders-scroll { flex: 1; padding-top: 12px; }
.orders-scroll .order-summary, .orders-scroll .shipment-summary { grid-template-columns: 16px minmax(120px, 1fr) minmax(100px, auto); }
.orders-scroll .order-summary > strong:not(.order-amount) { grid-column: 2; grid-row: 1; }
.orders-scroll .order-summary time { grid-column: 2; grid-row: 2; }
.orders-scroll .order-summary .order-summary-controls { display: flex; flex-wrap: wrap; gap: 6px; justify-content: end; grid-column: 3; grid-row: 1; }
.orders-scroll .order-summary .order-amount { grid-column: 3; grid-row: 2; }
.orders-scroll .order-summary .order-count { grid-column: 2; grid-row: 3; }
.order-line-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.order-line-actions button { min-height: 32px; padding: 4px 8px; font-size: 12px; }
.order-card.has-order-change { border-left: 3px solid var(--status-accent, #a56a44); }
.order-change-details { display: flex; align-items: center; gap: 6px; padding: 0 16px 16px 40px; background: linear-gradient(90deg, var(--status-fill, #f1e5d9), transparent 62%); overflow-wrap: anywhere; }
.order-change-details + .order-change-details { padding-top: 16px; border-top: 1px solid var(--rule); }
.order-change-details > strong { flex: 1 1 auto; }
.order-change-comment { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 28px; min-width: 28px; height: 28px; min-height: 28px; padding: 4px; border-color: transparent; background: transparent; color: var(--muted); cursor: help; }
.order-change-comment:hover:not(:disabled) { border-color: var(--control); background: var(--paper); color: var(--ink); }
.order-change-comment .icon { width: 17px; height: 17px; }
.order-decision { flex: none; }
.orders-scroll > .order-card, .orders-scroll > .shipment-card { margin-bottom: 12px; }
@container (max-width: 500px) {
  .orders-scroll .order-summary, .orders-scroll .shipment-summary { grid-template-columns: 16px minmax(0, 1fr) minmax(0, 1fr); }
  .orders-scroll .order-summary > strong, .orders-scroll .order-summary .order-count { overflow-wrap: anywhere; min-width: 0; }
  .orders-scroll .order-summary .order-status { white-space: normal; text-align: right; }
  .order-change-details { padding-left: 36px; padding-right: 12px; }
  .order-change-details button { min-height: 44px; }
}
.order-status.tone-open { color: #495c68; border-color: #b4c1c9; background: linear-gradient(90deg,#e5ebee,transparent); }
.order-status.tone-answer { color: #884725; border-color: #a56a44; background: linear-gradient(90deg,#f1e5d9,transparent); }
.order-status.tone-assembling { color: #3f5f79; border-color: #6786a1; background: linear-gradient(90deg,#e1eaf1,transparent); }
.order-status.tone-ordered { color: #3f6853; border-color: #6f9981; background: linear-gradient(90deg,#e2ede5,transparent); }
.order-status.tone-expired { color: #8b3d44; border-color: #b77a80; background: linear-gradient(90deg,#f2e0e2,transparent); }
.order-status.tone-shipped { color: var(--shipped-ink); border-color: var(--shipped-accent); background: linear-gradient(90deg,var(--shipped-fill),transparent); }
.order-status.tone-received { color: var(--received-ink); border-color: var(--received-accent); background: linear-gradient(90deg,var(--received-fill),transparent); }

.orders-workspace .tone-open { --status-ink:#495c68; --status-accent:#8b9da8; --status-fill:#e5ebee; }
.orders-workspace .tone-answer { --status-ink:#884725; --status-accent:#a56a44; --status-fill:#f1e5d9; }
.orders-workspace .tone-assembling { --status-ink:#3f5f79; --status-accent:#6786a1; --status-fill:#e1eaf1; }
.orders-workspace .tone-ordered { --status-ink:#3f6853; --status-accent:#6f9981; --status-fill:#e2ede5; }
.orders-workspace .tone-expired { --status-ink:#8b3d44; --status-accent:#b77a80; --status-fill:#f2e0e2; }
.orders-workspace .tone-shipped { --status-ink:var(--shipped-ink); --status-accent:var(--shipped-accent); --status-fill:var(--shipped-fill); }
.orders-workspace .tone-received { --status-ink:var(--received-ink); --status-accent:var(--received-accent); --status-fill:var(--received-fill); }
.orders-scroll :is(.order-card,.shipment-card) > details > summary { background:linear-gradient(90deg,var(--status-fill,#e5ebee),transparent 62%); }
.shipment-body .order-card { box-shadow:none; }
.order-toolbar-actions .order-disclosure { display: inline-flex; align-items: center; justify-content: center; width: 34px; min-width: 34px; height: 34px; min-height: 34px; padding: 0; }
.order-toolbar-actions .order-disclosure .icon { width: 16px; height: 16px; }
@media (pointer: coarse), (max-width: 600px) {
  .order-toolbar-actions .order-disclosure { width: 44px; min-width: 44px; height: 44px; min-height: 44px; }
}
button.order-shipment-button:not(:disabled) { background: #3f6853; border-color: #3f6853; color: #fff; }
button.order-shipment-button:hover:not(:disabled) { background: #305440; border-color: #305440; }
.orders-scroll .order-summary.order-summary-nested { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; min-height: 52px; padding-block: 8px; }
.orders-scroll .order-summary-nested > .order-chevron { flex: none; }
.orders-scroll .order-summary-nested > strong:not(.order-amount),
.orders-scroll .order-summary-nested time,
.orders-scroll .order-summary-nested .order-count { width: auto; min-width: 0; white-space: normal; }
.orders-scroll .order-summary-nested time { flex-basis: auto; padding-left: 0; }
.orders-scroll .order-summary-nested .order-count { margin: 0; }
.orders-scroll .order-summary-nested .order-summary-controls { display: flex; flex-wrap: wrap; justify-content: flex-end; margin-left: auto; }
.orders-scroll .order-summary-nested .order-amount { margin-left: 0; max-width: none; white-space: nowrap; }
.orders-workspace .tone-approval { --status-ink:#8b3d44; --status-accent:#b77a80; --status-fill:#f2e0e2; }
.order-status.tone-approval { color: #8b3d44; border-color: #b77a80; background: linear-gradient(90deg, #f2e0e2, transparent); }
.order-attention { display: inline-flex; vertical-align: middle; margin-right: 8px; color: #8b3d44; }
.order-attention svg { width: 18px; height: 18px; }
.order-approval-cell { min-width: 240px; max-width: 360px; white-space: normal; }
.order-approval-cell .order-change-details { padding: 0; background: none; font-size: .8125rem; }
.order-approval-cell .order-change-details { min-width: max-content; }
.order-approval-cell .order-line-actions { flex: none; flex-wrap: nowrap; }
@media (pointer: coarse) {
  .order-change-comment { width: 44px; min-width: 44px; height: 44px; min-height: 44px; }
  .order-decision { width: 44px; min-width: 44px; height: 44px; min-height: 44px; }
}
/* The administrator's fourth filter (test records, 17.11.2026): four narrower columns keep the toolbar on one row. */
@media (min-width: 1400px) { .order-filters:has(#order-test-filter) { grid-template-columns: repeat(4, minmax(0, 170px)); } }
