/* Desktop FIFO audit: all ten fields fit the panel without a horizontal rail. */
@media (min-width: 1100px) {
  .strategy-queue-panel .table-scroll {
    overflow-x: hidden;
  }

  .dispatch-audit-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
  }

  .dispatch-audit-table th,
  .dispatch-audit-table td {
    padding-left: 11px;
    padding-right: 11px;
  }

  .dispatch-audit-table th:nth-child(1) { width: 4%; }
  .dispatch-audit-table th:nth-child(2) { width: 10%; }
  .dispatch-audit-table th:nth-child(3) { width: 20%; }
  .dispatch-audit-table th:nth-child(4) { width: 10%; }
  .dispatch-audit-table th:nth-child(5) { width: 13%; }
  .dispatch-audit-table th:nth-child(6) { width: 13%; }
  .dispatch-audit-table th:nth-child(7) { width: 6%; }
  .dispatch-audit-table th:nth-child(8) { width: 7%; }
  .dispatch-audit-table th:nth-child(9) { width: 8%; }
  .dispatch-audit-table th:nth-child(10) { width: 9%; }

  .dispatch-audit-table th:nth-child(7),
  .dispatch-audit-table td:nth-child(7) {
    text-align: center;
  }

  .dispatch-audit-table .request-id,
  .dispatch-audit-table td:nth-child(2),
  .dispatch-audit-table td:nth-child(8),
  .dispatch-audit-table td:nth-child(9),
  .dispatch-audit-table td:nth-child(10) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .dispatch-audit-table .status-badge {
    max-width: 100%;
    min-width: 0;
    padding-left: 8px;
    padding-right: 8px;
    gap: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* Preserve readable columns on narrower workspaces; horizontal movement is
   retained only when the viewport cannot physically hold the audit fields. */
@media (max-width: 1099px) {
  .dispatch-audit-table {
    min-width: 1040px;
  }
}
