@container data-table (max-width: 1400px) {
  .col--wide {
    display: none;
  }
}

.table .col--off:not(.is-shown-col) {
  display: none;
}

.data-table.is-scrolling .data-table__scroll {
  overflow-x: auto;
}

.data-table.is-scrolling .table th {
  top: 0;
}

.data-table--sticky-first.is-scrolling .table th:first-child,
.data-table--sticky-first.is-scrolling .table td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--color-page);
  box-shadow: 1px 0 0 var(--color-divider);
}

.data-table--sticky-first.is-scrolling .table tbody tr:hover td:first-child {
  background: var(--color-row-hover);
}

.table-footer__start {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-1) var(--space-4);
  min-width: 0;
}

.table-totals {
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.command-bar form {
  display: inline-flex;
}

.menu--groups {
  min-width: 220px;
  max-height: 420px;
}

.menu--views {
  width: min(320px, calc(100vw - 32px));
  max-height: 480px;
}

.saved-views__summary {
  max-width: 16ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.saved-view {
  display: flex;
  align-items: center;
  gap: 2px;
}

.saved-view__link {
  flex: 1 1 auto;
  min-width: 0;
}

.saved-view__name {
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.saved-view form {
  display: inline-flex;
}

.icon-button.is-on {
  color: var(--color-accent);
}

.short-id {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  max-width: 100%;
}

.short-id__text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.short-id__copy {
  opacity: 0;
  transition: opacity var(--motion);
}

.short-id:hover .short-id__copy,
.short-id:focus-within .short-id__copy {
  opacity: 1;
}

@media (pointer: coarse) {
  .short-id__copy {
    opacity: 1;
  }
}

@media (max-width: 719.98px) {
  .table--cards .cell--select,
  .table--cards .is-select {
    display: none;
  }
}
