/* Mobile-only native table treatment. Desktop presentation is intentionally untouched. */
@media (max-width: 760px), (max-height: 500px) and (orientation: landscape) and (pointer: coarse) {
  .table-scroll.mobile-cell-table-scroll {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto !important;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  .table-scroll.mobile-cell-table-scroll > table.mobile-cell-table {
    display: table !important;
    width: max-content !important;
    min-width: 0 !important;
    max-width: none;
    table-layout: auto;
    border-collapse: collapse;
  }

  .table-scroll.mobile-cell-table-scroll > table.mobile-cell-table th,
  .table-scroll.mobile-cell-table-scroll > table.mobile-cell-table td {
    box-sizing: border-box;
    width: auto !important;
    min-width: 0 !important;
    max-width: none;
    padding: 5px 6px !important;
    border: 1px solid var(--line, #cbd5e1) !important;
    overflow: visible;
    text-overflow: clip !important;
    white-space: nowrap !important;
  }

  .table-scroll.mobile-cell-table-scroll > table.mobile-cell-table col {
    width: auto !important;
    min-width: 0 !important;
  }

  .table-scroll.mobile-cell-table-scroll > table.mobile-cell-table :is(th, td) :is(strong, small, span, p, .production-entry-identity) {
    min-width: 0 !important;
    max-width: none !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
}
