/* Delivered mobile parity with Dispatch. This file intentionally loads last. */
@media (max-width:720px){
  html body[data-current-view="shipments"] #shipmentsView#shipmentsView.active-view,
  html body:has(#shipmentsView.active-view) #shipmentsView#shipmentsView.active-view{width:100%!important;max-width:100vw!important;margin:0!important;padding:0 14px 18px!important;box-sizing:border-box!important}

  html body[data-current-view="shipments"] .topbar.topbar,
  html body:has(#shipmentsView.active-view) .topbar.topbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:40px!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;width:auto!important;min-height:66px!important;height:auto!important;margin:0 -14px!important;padding:13px 14px 13px 22px!important;border-bottom:1px solid #d7e1eb!important;background:#fff!important;box-sizing:border-box!important}
  html body[data-current-view="shipments"] .topbar.topbar>div:first-child,
  html body:has(#shipmentsView.active-view) .topbar.topbar>div:first-child{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto!important;grid-column:1!important;grid-row:1!important;gap:2px!important;min-width:0!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important}
  html body[data-current-view="shipments"] .topbar.topbar #mainTitle#mainTitle,
  html body:has(#shipmentsView.active-view) .topbar.topbar #mainTitle#mainTitle{height:auto!important;margin:2px 0 0!important;padding:0!important;color:#18283a!important;font-size:22px!important;font-weight:850!important;line-height:1.1!important;letter-spacing:-.025em!important}
  html body[data-current-view="shipments"] .topbar.topbar .top-actions,
  html body:has(#shipmentsView.active-view) .topbar.topbar .top-actions{display:flex!important;grid-column:2!important;grid-row:1!important;align-items:center!important;justify-content:flex-end!important;flex:0 0 auto!important;gap:6px!important;width:auto!important;margin:0!important;padding:0!important}
  html body[data-current-view="shipments"] .topbar.topbar .top-actions:before,
  html body:has(#shipmentsView.active-view) .topbar.topbar .top-actions:before{content:""!important;display:block!important;flex:0 0 1px!important;width:1px!important;height:40px!important;margin:0!important;border:0!important;background:#d7e1eb!important}
  html body[data-current-view="shipments"] .topbar.topbar .top-actions>:is(#newLoad,#refreshBoard,#dispatchActionsMenu),
  html body:has(#shipmentsView.active-view) .topbar.topbar .top-actions>:is(#newLoad,#refreshBoard,#dispatchActionsMenu){display:inline-flex!important;visibility:visible!important;align-items:center!important;justify-content:center!important;flex:0 0 40px!important;width:40px!important;min-width:40px!important;max-width:40px!important;height:40px!important;min-height:40px!important;max-height:40px!important;margin:0!important;padding:0!important;border-radius:11px!important;box-sizing:border-box!important}
  html body[data-current-view="shipments"] .topbar.topbar #newLoad:before,
  html body[data-current-view="shipments"] .topbar.topbar #newLoad:after,
  html body:has(#shipmentsView.active-view) .topbar.topbar #newLoad:before,
  html body:has(#shipmentsView.active-view) .topbar.topbar #newLoad:after{content:none!important;display:none!important}
  html body[data-current-view="shipments"] .topbar.topbar #newLoad .new-load-plus-icon,
  html body:has(#shipmentsView.active-view) .topbar.topbar #newLoad .new-load-plus-icon{display:block!important;width:20px!important;height:20px!important;margin:0!important;fill:none!important;stroke:#fff!important;stroke-width:4!important;stroke-linecap:square!important}
  html body[data-current-view="shipments"] .topbar.topbar #refreshBoard svg,
  html body:has(#shipmentsView.active-view) .topbar.topbar #refreshBoard svg{display:block!important;width:22px!important;min-width:22px!important;max-width:22px!important;height:22px!important;min-height:22px!important;max-height:22px!important;margin:0!important}
  html body[data-current-view="shipments"] .topbar.topbar #dispatchActionsMenu>summary,
  html body:has(#shipmentsView.active-view) .topbar.topbar #dispatchActionsMenu>summary{display:flex!important;align-items:center!important;justify-content:center!important;width:40px!important;height:40px!important;margin:0!important;padding:0!important}

  html body[data-current-view="shipments"] #shipmentsView#shipmentsView>.metric-grid.metric-grid,
  html body:has(#shipmentsView.active-view) #shipmentsView#shipmentsView>.metric-grid.metric-grid{position:sticky!important;top:calc(62px + env(safe-area-inset-top,0px))!important;z-index:42!important;display:flex!important;grid-template:none!important;flex-flow:row nowrap!important;justify-content:flex-start!important;gap:7px!important;width:100vw!important;max-width:100vw!important;height:auto!important;min-height:0!important;margin:0 -14px!important;padding:10px 14px!important;border:0!important;background:#fff!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;box-shadow:none!important;box-sizing:border-box!important}
  html body[data-current-view="shipments"] #shipmentsView#shipmentsView>.metric-grid.metric-grid::-webkit-scrollbar,
  html body:has(#shipmentsView.active-view) #shipmentsView#shipmentsView>.metric-grid.metric-grid::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
  html body[data-current-view="shipments"] #shipmentsView#shipmentsView>.metric-grid.metric-grid>.metric.metric,
  html body:has(#shipmentsView.active-view) #shipmentsView#shipmentsView>.metric-grid.metric-grid>.metric.metric{display:flex!important;flex:0 0 auto!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:5px!important;width:auto!important;min-width:max-content!important;max-width:none!important;height:38px!important;min-height:38px!important;margin:0!important;padding:7px 12px!important;border:1px solid #d7e1eb!important;border-left-width:4px!important;border-radius:999px!important;box-shadow:none!important;white-space:nowrap!important;box-sizing:border-box!important}
  html body[data-current-view="shipments"] #shipmentsView>.metric-grid>.metric[data-delivered-metric="total"],
  html body:has(#shipmentsView.active-view) #shipmentsView>.metric-grid>.metric[data-delivered-metric="total"]{border-left-color:#2370b5!important;background:#fff!important}
  html body[data-current-view="shipments"] #shipmentsView>.metric-grid>.metric[data-delivered-metric="onTime"],
  html body:has(#shipmentsView.active-view) #shipmentsView>.metric-grid>.metric[data-delivered-metric="onTime"]{border-left-color:#1d9a55!important;background:#f7fcf9!important}
  html body[data-current-view="shipments"] #shipmentsView>.metric-grid>.metric[data-delivered-metric="late"],
  html body:has(#shipmentsView.active-view) #shipmentsView>.metric-grid>.metric[data-delivered-metric="late"]{border-left-color:#de3e36!important;background:#fff9f8!important}
  html body[data-current-view="shipments"] #shipmentsView>.metric-grid>.metric[data-delivered-metric="deletingSoon"],
  html body:has(#shipmentsView.active-view) #shipmentsView>.metric-grid>.metric[data-delivered-metric="deletingSoon"]{border-left-color:#334155!important;background:#f8fafc!important}
  html body[data-current-view="shipments"] #shipmentsView>.metric-grid>.metric span,
  html body:has(#shipmentsView.active-view) #shipmentsView>.metric-grid>.metric span{display:inline!important;width:auto!important;color:#66768a!important;font-size:12px!important;font-weight:650!important;line-height:1!important}
  html body[data-current-view="shipments"] #shipmentsView>.metric-grid>.metric strong,
  html body:has(#shipmentsView.active-view) #shipmentsView>.metric-grid>.metric strong{display:inline!important;width:auto!important;color:#18283a!important;font-size:14px!important;font-weight:850!important;line-height:1!important}

  html body[data-current-view="shipments"] #shipmentsView#shipmentsView>.shipment-tools.shipment-tools,
  html body:has(#shipmentsView.active-view) #shipmentsView#shipmentsView>.shipment-tools.shipment-tools{position:sticky!important;top:calc(120px + env(safe-area-inset-top,0px))!important;z-index:41!important;display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;grid-template-rows:auto!important;justify-content:stretch!important;justify-items:stretch!important;gap:8px!important;width:100vw!important;max-width:100vw!important;height:auto!important;margin:0 -14px!important;padding:9px 14px!important;border:0!important;background:#f3f6f9!important;overflow:visible!important;box-shadow:0 8px 12px -10px rgb(15 31 47/.65)!important;box-sizing:border-box!important}
  html body[data-current-view="shipments"] #shipmentsView>.shipment-tools>#shipmentSearch,
  html body:has(#shipmentsView.active-view) #shipmentsView>.shipment-tools>#shipmentSearch{display:block!important;grid-column:1!important;grid-row:1!important;width:100%!important;min-width:0!important;max-width:none!important;height:42px!important;min-height:42px!important;margin:0!important;padding:0 14px!important;border:1px solid #cfd9e5!important;border-radius:11px!important;background:#fff!important;color:#18283a!important;font-size:16px!important;text-align:left!important;box-shadow:0 1px 2px rgb(24 40 58/.04)!important;box-sizing:border-box!important}
  html body[data-current-view="shipments"] #shipmentsView>.shipment-tools>.operational-mobile-filter-toggle,
  html body:has(#shipmentsView.active-view) #shipmentsView>.shipment-tools>.operational-mobile-filter-toggle{display:grid!important;grid-column:2!important;grid-row:1!important;place-items:center!important;width:44px!important;min-width:44px!important;max-width:44px!important;height:42px!important;min-height:42px!important;margin:0!important;padding:0!important;border:1px solid #cfd9e5!important;border-radius:11px!important;background:#fff!important;color:#18283a!important;box-shadow:0 1px 2px rgb(24 40 58/.04)!important;box-sizing:border-box!important}
  html body[data-current-view="shipments"] #shipmentsView>.shipment-tools>:is(select,.delivered-purge-control,.operational-clear-filters),
  html body:has(#shipmentsView.active-view) #shipmentsView>.shipment-tools>:is(select,.delivered-purge-control,.operational-clear-filters){display:none!important}
  html body[data-current-view="shipments"] #shipmentsView>.shipment-tools.operational-filters-open>:is(select,.delivered-purge-control,.operational-clear-filters),
  html body:has(#shipmentsView.active-view) #shipmentsView>.shipment-tools.operational-filters-open>:is(select,.delivered-purge-control,.operational-clear-filters){display:flex!important;grid-column:1/-1!important;width:100%!important;min-height:40px!important}
  html body[data-current-view="shipments"] #dispatchDeliveredPagination,
  html body:has(#shipmentsView.active-view) #dispatchDeliveredPagination{display:none!important}

  html body[data-current-view="shipments"] #shipmentsView#shipmentsView>.table-section.table-section,
  html body:has(#shipmentsView.active-view) #shipmentsView#shipmentsView>.table-section.table-section{width:100vw!important;max-width:100vw!important;margin:0 -14px!important;padding:0!important;border:0!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;box-sizing:border-box!important}
  html body[data-current-view="shipments"] #shipmentsView .table-scroll,
  html body[data-current-view="shipments"] #shipmentsView table,
  html body[data-current-view="shipments"] #shipmentRows,
  html body:has(#shipmentsView.active-view) #shipmentsView .table-scroll,
  html body:has(#shipmentsView.active-view) #shipmentsView table,
  html body:has(#shipmentsView.active-view) #shipmentRows{width:100vw!important;max-width:100vw!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;box-sizing:border-box!important}
  html body[data-current-view="shipments"] #shipmentRows#shipmentRows>tr.shipment-row,
  html body:has(#shipmentsView.active-view) #shipmentRows#shipmentRows>tr.shipment-row{display:grid!important;grid-template-columns:60px minmax(96px,auto) minmax(0,1fr) 34px!important;grid-template-rows:1fr!important;align-items:center!important;column-gap:10px!important;width:100vw!important;max-width:100vw!important;min-height:58px!important;height:auto!important;margin:0!important;padding:8px 12px!important;border:0!important;border-bottom:1px solid #d7e1eb!important;border-left:4px solid #1d9a55!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;overflow:hidden!important;box-sizing:border-box!important}
  html body[data-current-view="shipments"] #shipmentRows#shipmentRows>tr.shipment-row:nth-child(even),
  html body:has(#shipmentsView.active-view) #shipmentRows#shipmentRows>tr.shipment-row:nth-child(even){background:#f1f5f9!important}
  html body[data-current-view="shipments"] #shipmentRows#shipmentRows>tr.shipment-row>td,
  html body:has(#shipmentsView.active-view) #shipmentRows#shipmentRows>tr.shipment-row>td{display:none!important;visibility:hidden!important;position:static!important;width:auto!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow:hidden!important}
  html body[data-current-view="shipments"] #shipmentRows>tr.shipment-row>:is(.delivered-status-col,.delivered-load-number-col,.delivered-customer-col,.delivered-actions-col),
  html body:has(#shipmentsView.active-view) #shipmentRows>tr.shipment-row>:is(.delivered-status-col,.delivered-load-number-col,.delivered-customer-col,.delivered-actions-col){display:flex!important;visibility:visible!important;pointer-events:auto!important;align-items:center!important;min-width:0!important;height:100%!important;overflow:hidden!important}
  html body[data-current-view="shipments"] #shipmentRows .delivered-status-col,
  html body:has(#shipmentsView.active-view) #shipmentRows .delivered-status-col{grid-column:1!important;grid-row:1!important;justify-content:center!important}
  html body[data-current-view="shipments"] #shipmentRows .delivered-load-number-col,
  html body:has(#shipmentsView.active-view) #shipmentRows .delivered-load-number-col{grid-column:2!important;grid-row:1!important;justify-content:flex-start!important}
  html body[data-current-view="shipments"] #shipmentRows .delivered-customer-col,
  html body:has(#shipmentsView.active-view) #shipmentRows .delivered-customer-col{grid-column:3!important;grid-row:1!important;justify-content:flex-start!important;text-align:left!important;white-space:nowrap!important;text-overflow:ellipsis!important}
  html body[data-current-view="shipments"] #shipmentRows .delivered-actions-col,
  html body:has(#shipmentsView.active-view) #shipmentRows .delivered-actions-col{grid-column:4!important;grid-row:1!important;align-self:stretch!important;justify-content:center!important;width:34px!important;min-width:34px!important;max-width:34px!important;height:100%!important;overflow:visible!important}
  html body[data-current-view="shipments"] #shipmentRows .status-pill,
  html body:has(#shipmentsView.active-view) #shipmentRows .status-pill{display:grid!important;place-items:center!important;width:58px!important;min-width:58px!important;max-width:58px!important;height:28px!important;min-height:28px!important;margin:0!important;padding:0!important;border:1px solid #147a43!important;border-radius:999px!important;background:#effbf4!important;color:#147a43!important;font-size:0!important;font-weight:850!important;line-height:28px!important;text-align:center!important;box-sizing:border-box!important}
  html body[data-current-view="shipments"] #shipmentRows .status-pill:after,
  html body:has(#shipmentsView.active-view) #shipmentRows .status-pill:after{content:"DLV"!important;display:block!important;color:inherit!important;font-size:9px!important;line-height:1!important}
  html body[data-current-view="shipments"] #shipmentRows .delivered-load-copy,
  html body:has(#shipmentsView.active-view) #shipmentRows .delivered-load-copy{display:flex!important;align-items:center!important;justify-content:flex-start!important;width:auto!important;min-height:28px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;white-space:nowrap!important}
  html body[data-current-view="shipments"] #shipmentRows .delivered-load-copy strong,
  html body:has(#shipmentsView.active-view) #shipmentRows .delivered-load-copy strong{color:#18283a!important;font-size:16px!important;font-weight:850!important}
  html body[data-current-view="shipments"] #shipmentRows .desktop-customer-name,
  html body:has(#shipmentsView.active-view) #shipmentRows .desktop-customer-name{display:none!important}
  html body[data-current-view="shipments"] #shipmentRows .mobile-customer-route,
  html body:has(#shipmentsView.active-view) #shipmentRows .mobile-customer-route{display:block!important;width:100%!important;min-width:0!important;color:#18283a!important;font-size:12px!important;font-weight:800!important;text-align:left!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  html body[data-current-view="shipments"] #shipmentRows .dispatch-delivered-read-only,
  html body:has(#shipmentsView.active-view) #shipmentRows .dispatch-delivered-read-only{display:flex!important;align-items:center!important;justify-content:center!important;width:34px!important;height:38px!important;margin:0!important;padding:0!important;color:#18283a!important;font-size:0!important;line-height:1!important}
  html body[data-current-view="shipments"] #shipmentRows .dispatch-delivered-read-only:after,
  html body:has(#shipmentsView.active-view) #shipmentRows .dispatch-delivered-read-only:after{content:"•••"!important;display:block!important;color:#18283a!important;font-size:13px!important;font-weight:850!important;letter-spacing:1px!important;line-height:1!important;transform:translateY(-2px)!important}
}

/* Runtime card CSS uses duplicated IDs. These selectors intentionally exceed
   that specificity and lock every visible cell into Dispatch's one-row grid. */
@media (max-width:720px){
  html body[data-current-view="shipments"] #shipmentsView#shipmentsView .table-section.table-section .table-scroll table tbody#shipmentRows#shipmentRows>tr.shipment-row.shipment-row,
  html body:has(#shipmentsView.active-view) #shipmentsView#shipmentsView .table-section.table-section .table-scroll table tbody#shipmentRows#shipmentRows>tr.shipment-row.shipment-row{display:grid!important;grid-template-columns:60px minmax(96px,auto) minmax(0,1fr) 34px!important;grid-template-rows:58px!important;grid-template-areas:none!important;grid-auto-flow:row!important;grid-auto-rows:58px!important;align-items:center!important;column-gap:10px!important;width:100vw!important;max-width:100vw!important;min-height:58px!important;height:58px!important;margin:0!important;padding:0 12px!important;border:0!important;border-bottom:1px solid #d7e1eb!important;border-left:4px solid #1d9a55!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;overflow:hidden!important;box-sizing:border-box!important}
  html body[data-current-view="shipments"] #shipmentsView#shipmentsView .table-section.table-section .table-scroll table tbody#shipmentRows#shipmentRows>tr.shipment-row.shipment-row:nth-child(even),
  html body:has(#shipmentsView.active-view) #shipmentsView#shipmentsView .table-section.table-section .table-scroll table tbody#shipmentRows#shipmentRows>tr.shipment-row.shipment-row:nth-child(even){background:#f1f5f9!important}
  html body[data-current-view="shipments"] #shipmentsView#shipmentsView .table-section.table-section .table-scroll table tbody#shipmentRows#shipmentRows>tr.shipment-row.shipment-row>td,
  html body:has(#shipmentsView.active-view) #shipmentsView#shipmentsView .table-section.table-section .table-scroll table tbody#shipmentRows#shipmentRows>tr.shipment-row.shipment-row>td{display:none!important;visibility:hidden!important;grid-column:auto!important;grid-row:auto!important;position:static!important;width:0!important;min-width:0!important;max-width:0!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow:hidden!important}
  html body[data-current-view="shipments"] #shipmentsView#shipmentsView .table-section.table-section .table-scroll table tbody#shipmentRows#shipmentRows>tr.shipment-row.shipment-row>td.delivered-status-col.delivered-status-col,
  html body:has(#shipmentsView.active-view) #shipmentsView#shipmentsView .table-section.table-section .table-scroll table tbody#shipmentRows#shipmentRows>tr.shipment-row.shipment-row>td.delivered-status-col.delivered-status-col{display:flex!important;visibility:visible!important;grid-column:1!important;grid-row:1!important;align-items:center!important;justify-content:center!important;width:60px!important;min-width:60px!important;max-width:60px!important;height:58px!important;min-height:58px!important;overflow:visible!important}
  html body[data-current-view="shipments"] #shipmentsView#shipmentsView .table-section.table-section .table-scroll table tbody#shipmentRows#shipmentRows>tr.shipment-row.shipment-row>td.delivered-load-number-col.delivered-load-number-col,
  html body:has(#shipmentsView.active-view) #shipmentsView#shipmentsView .table-section.table-section .table-scroll table tbody#shipmentRows#shipmentRows>tr.shipment-row.shipment-row>td.delivered-load-number-col.delivered-load-number-col{display:flex!important;visibility:visible!important;grid-column:2!important;grid-row:1!important;align-items:center!important;justify-content:flex-start!important;width:auto!important;min-width:0!important;max-width:none!important;height:58px!important;min-height:58px!important;overflow:hidden!important}
  html body[data-current-view="shipments"] #shipmentsView#shipmentsView .table-section.table-section .table-scroll table tbody#shipmentRows#shipmentRows>tr.shipment-row.shipment-row>td.delivered-customer-col.delivered-customer-col,
  html body:has(#shipmentsView.active-view) #shipmentsView#shipmentsView .table-section.table-section .table-scroll table tbody#shipmentRows#shipmentRows>tr.shipment-row.shipment-row>td.delivered-customer-col.delivered-customer-col{display:flex!important;visibility:visible!important;grid-column:3!important;grid-row:1!important;align-items:center!important;justify-content:flex-start!important;width:auto!important;min-width:0!important;max-width:none!important;height:58px!important;min-height:58px!important;text-align:left!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  html body[data-current-view="shipments"] #shipmentsView#shipmentsView .table-section.table-section .table-scroll table tbody#shipmentRows#shipmentRows>tr.shipment-row.shipment-row>td.delivered-actions-col.delivered-actions-col,
  html body:has(#shipmentsView.active-view) #shipmentsView#shipmentsView .table-section.table-section .table-scroll table tbody#shipmentRows#shipmentRows>tr.shipment-row.shipment-row>td.delivered-actions-col.delivered-actions-col{display:flex!important;visibility:visible!important;grid-column:4!important;grid-row:1!important;align-items:center!important;align-self:stretch!important;justify-content:center!important;width:34px!important;min-width:34px!important;max-width:34px!important;height:58px!important;min-height:58px!important;overflow:visible!important}
  html body[data-current-view="shipments"] #shipmentsView#shipmentsView #shipmentRows#shipmentRows .delivered-status-col.delivered-status-col>.status-pill.status-pill,
  html body:has(#shipmentsView.active-view) #shipmentsView#shipmentsView #shipmentRows#shipmentRows .delivered-status-col.delivered-status-col>.status-pill.status-pill{display:flex!important;align-items:center!important;justify-content:center!important;width:58px!important;min-width:58px!important;max-width:58px!important;height:28px!important;min-height:28px!important;margin:0!important;padding:0!important;border:1px solid #147a43!important;border-radius:999px!important;background:#effbf4!important;color:#147a43!important;font-size:9px!important;font-weight:850!important;line-height:1!important;text-align:center!important;overflow:visible!important;box-sizing:border-box!important}
  html body[data-current-view="shipments"] #shipmentsView#shipmentsView #shipmentRows#shipmentRows .delivered-status-col.delivered-status-col>.status-pill.status-pill:after,
  html body:has(#shipmentsView.active-view) #shipmentsView#shipmentsView #shipmentRows#shipmentRows .delivered-status-col.delivered-status-col>.status-pill.status-pill:after{content:none!important;display:none!important}
  html body[data-current-view="shipments"] #shipmentsView#shipmentsView #shipmentRows#shipmentRows .delivered-customer-col.delivered-customer-col>.mobile-customer-route.mobile-customer-route,
  html body:has(#shipmentsView.active-view) #shipmentsView#shipmentsView #shipmentRows#shipmentRows .delivered-customer-col.delivered-customer-col>.mobile-customer-route.mobile-customer-route{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important;color:#18283a!important;font-size:12px!important;font-weight:800!important;line-height:1!important;text-align:left!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  html body[data-current-view="shipments"] #shipmentsView#shipmentsView #shipmentRows#shipmentRows .delivered-actions-col.delivered-actions-col>.dispatch-delivered-read-only.dispatch-delivered-read-only,
  html body:has(#shipmentsView.active-view) #shipmentsView#shipmentsView #shipmentRows#shipmentRows .delivered-actions-col.delivered-actions-col>.dispatch-delivered-read-only.dispatch-delivered-read-only{display:flex!important;align-items:center!important;justify-content:center!important;width:34px!important;min-width:34px!important;max-width:34px!important;height:38px!important;margin:0!important;padding:0!important;color:#18283a!important;font-size:13px!important;font-weight:850!important;letter-spacing:1px!important;line-height:1!important;overflow:visible!important}
  html body[data-current-view="shipments"] #shipmentsView#shipmentsView #shipmentRows#shipmentRows .delivered-actions-col.delivered-actions-col>.dispatch-delivered-read-only.dispatch-delivered-read-only:after,
  html body:has(#shipmentsView.active-view) #shipmentsView#shipmentsView #shipmentRows#shipmentRows .delivered-actions-col.delivered-actions-col>.dispatch-delivered-read-only.dispatch-delivered-read-only:after{content:none!important;display:none!important}
}

/* Lock Delivered summary colors after duplicated legacy metric selectors. */
@media (max-width:720px){
  html body[data-current-view="shipments"] #shipmentsView#shipmentsView#shipmentsView>.metric-grid.metric-grid>button.metric.metric[data-delivered-metric="total"],
  html body:has(#shipmentsView.active-view) #shipmentsView#shipmentsView#shipmentsView>.metric-grid.metric-grid>button.metric.metric[data-delivered-metric="total"]{border-left-color:#2370b5!important;background-color:#fff!important}
  html body[data-current-view="shipments"] #shipmentsView#shipmentsView#shipmentsView>.metric-grid.metric-grid>button.metric.metric[data-delivered-metric="onTime"],
  html body:has(#shipmentsView.active-view) #shipmentsView#shipmentsView#shipmentsView>.metric-grid.metric-grid>button.metric.metric[data-delivered-metric="onTime"]{border-left-color:#1d9a55!important;background-color:#f7fcf9!important}
  html body[data-current-view="shipments"] #shipmentsView#shipmentsView#shipmentsView>.metric-grid.metric-grid>button.metric.metric[data-delivered-metric="late"],
  html body:has(#shipmentsView.active-view) #shipmentsView#shipmentsView#shipmentsView>.metric-grid.metric-grid>button.metric.metric[data-delivered-metric="late"]{border-left-color:#de3e36!important;background-color:#fff9f8!important}
  html body[data-current-view="shipments"] #shipmentsView#shipmentsView#shipmentsView>.metric-grid.metric-grid>button.metric.metric[data-delivered-metric="deletingSoon"],
  html body:has(#shipmentsView.active-view) #shipmentsView#shipmentsView#shipmentsView>.metric-grid.metric-grid>button.metric.metric[data-delivered-metric="deletingSoon"]{border-left-color:#334155!important;background-color:#f8fafc!important}
}
