@layer erpColorMode.overrides {
 html body.erp-system-ui #orders .legacy-order-table .col-outcome-time{width:160px!important;min-width:160px!important;text-align:center!important}
 html body.erp-system-ui #orders .legacy-order-table .order-event-time-cell{vertical-align:middle!important;text-align:center!important;color:var(--ui-text)!important;font-variant-numeric:tabular-nums!important}
 html body.erp-system-ui #orders .legacy-order-table .order-event-time-cell time{display:block!important;font:inherit!important;line-height:1.6!important;white-space:normal!important}
 html body.erp-system-ui #orders .legacy-order-table .order-event-time-missing{color:var(--ui-muted,var(--dm-muted,#758397))!important;font-size:12px!important}
 html body.erp-system-ui #orders .legacy-order-table [data-order-event-heading][hidden]{display:none!important}
}

/* Reserve outcome dates after the unchanged twelve-column order layout.
 * Container-relative widths keep wide-screen surplus identical across statuses. */
@layer erpColorMode.overrides {
 @media screen and (min-width:901px) {
  @supports (width:1cqw) {
   html body.erp-system-ui #orders .legacy-table-wrap {container-type:inline-size;}
   html body.erp-system-ui #orders .legacy-table-wrap>.legacy-order-table {
    --order-layout-base:max(100cqw,1856px);--order-layout-date:0px;
    width:calc(var(--order-layout-base) + var(--order-layout-date))!important;
    min-width:calc(1856px + var(--order-layout-date))!important;max-width:none!important;table-layout:fixed!important;
   }
   html body.erp-system-ui #orders .legacy-order-table:has(>thead>tr>[data-order-event-heading]:not([hidden])) {--order-layout-date:160px;}
   html body.erp-system-ui #orders .legacy-order-table>thead>tr>th.col-check {width:calc(var(--order-layout-base) * 44 / 1856)!important;}
   html body.erp-system-ui #orders .legacy-order-table>thead>tr>th:is(.col-shop,.col-image) {width:calc(var(--order-layout-base) * 86 / 1856)!important;}
   html body.erp-system-ui #orders .legacy-order-table>thead>tr>th:is(.col-posting,.col-time) {width:calc(var(--order-layout-base) * 150 / 1856)!important;}
   html body.erp-system-ui #orders .legacy-order-table>thead>tr>th.col-product {width:calc(var(--order-layout-base) * 290 / 1856)!important;}
   html body.erp-system-ui #orders .legacy-order-table>thead>tr>th:is(.col-status,.col-weight,.col-buyer) {width:calc(var(--order-layout-base) * 140 / 1856)!important;}
   html body.erp-system-ui #orders .legacy-order-table>thead>tr>th.col-purchase {width:calc(var(--order-layout-base) * 240 / 1856)!important;}
   html body.erp-system-ui #orders .legacy-order-table>thead>tr>th.col-money {width:calc(var(--order-layout-base) * 180 / 1856)!important;}
   html body.erp-system-ui #orders .legacy-order-table>thead>tr>th.col-delivery {width:calc(var(--order-layout-base) * 210 / 1856)!important;}
   html body.erp-system-ui #orders .legacy-order-table>thead>tr>th.col-outcome-time {width:160px!important;min-width:160px!important;}
  }
 }
}
