@layer components {
.dt-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--dt-color-surface);
  color: var(--dt-color-on-surface);
  font-family: var(--dt-font-family);
  font-size: var(--dt-typography-desktop-body-2);
  line-height: var(--dt-typography-line-height-body);
  word-break: break-word;
}

.dt-table th, .dt-table td {
  padding: var(--dt-space-3);
  vertical-align: middle;
  text-align: left;
  border-top: 1px solid var(--dt-color-border);
}

.dt-table thead th, .dt-table thead td {
  padding-top: var(--dt-space-4);
  padding-bottom: var(--dt-space-4);
  border-top: 0;
  border-bottom: 1px solid var(--dt-color-border);
  font-size: var(--dt-typography-desktop-body-3);
  font-weight: var(--dt-font-weight-semibold);
  color: var(--dt-color-on-surface-muted);
  white-space: nowrap;
}

.dt-table tbody + tbody {
  border-top: 2px solid var(--dt-color-border);
}

.dt-table--compact th, .dt-table--compact td {
  padding: var(--dt-space-2) var(--dt-space-3);
}

.dt-table--bordered {
  border: 1px solid var(--dt-color-border);
}

.dt-table--bordered th, .dt-table--bordered td {
  border: 1px solid var(--dt-color-border);
}

.dt-table--borderless th, .dt-table--borderless td, .dt-table--borderless thead th, .dt-table--borderless tbody + tbody {
  border: 0;
}

.dt-table--hover tbody tr:hover {
  background: var(--dt-color-surface-muted);
}

.dt-table--striped tbody tr:nth-of-type(odd) {
  background: color-mix(in srgb, var(--dt-color-surface-muted) 60%, var(--dt-color-surface));
}

.dt-table--nowrap {
  white-space: nowrap;
  word-break: normal;
}

.dt-table--align-top th, .dt-table--align-top td {
  vertical-align: top;
}

.dt-table__wrapper {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

}
