@media (max-width: 560px) {
  .table-wrap:not(.master-table-wrap) {
    overflow: visible;
  }

  .table-wrap:not(.master-table-wrap) table {
    display: block;
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
  }

  .table-wrap:not(.master-table-wrap) thead {
    display: none;
  }

  .table-wrap:not(.master-table-wrap) tbody,
  .table-wrap:not(.master-table-wrap) tr,
  .table-wrap:not(.master-table-wrap) td {
    display: block;
    min-width: 0;
    width: 100%;
  }

  .table-wrap:not(.master-table-wrap) tr {
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
  }

  .table-wrap:not(.master-table-wrap) td {
    display: grid;
    grid-template-columns: minmax(68px, 28%) minmax(0, 1fr);
    gap: 8px 12px;
    border-bottom: 1px solid #eef1f4;
    padding: 11px 12px;
    line-height: 1.55;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .table-wrap:not(.master-table-wrap) td:last-child {
    border-bottom: 0;
  }

  .table-wrap:not(.master-table-wrap) td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 12px;
    font-weight: 950;
    line-height: 1.35;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .table-wrap:not(.master-table-wrap) td > * {
    min-width: 0;
    max-width: 100%;
  }

  .table-wrap:not(.master-table-wrap) td .row-actions,
  .table-wrap:not(.master-table-wrap) td .actions,
  .table-wrap:not(.master-table-wrap) td .inline-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .table-wrap:not(.master-table-wrap) td button,
  .table-wrap:not(.master-table-wrap) td select {
    max-width: 100%;
  }

  .detail-report-table td[data-field="content"],
  .detail-report-table td[data-field="action"] {
    grid-template-columns: 1fr;
  }

  .detail-report-table td[data-field="content"]::before,
  .detail-report-table td[data-field="action"]::before {
    margin-bottom: 2px;
  }

  .detail-report-table th[data-field],
  .detail-report-table td[data-field] {
    min-width: 0;
    white-space: normal;
  }
}
