.table {
  overflow-x: auto;
}

.table__grid {
  width: 100%;
  font-size: var(--font-size-label);
  border-collapse: collapse;
}

.table__grid th {
  padding: var(--space-10) var(--space-16);
  font-size: var(--font-size-table-head);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--muted);
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.table__grid td {
  padding: var(--space-12) var(--space-16);
  vertical-align: middle;
  border-bottom: 1px solid var(--border-soft);
}

.table__grid tbody tr:last-child td {
  border-bottom: 0;
}

.table__grid tbody tr:hover td {
  background: var(--row-hover);
}

.table__cell--numeric {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: right;
}

.table__grid th.table__cell--numeric {
  text-align: right;
}
