/* Header controls keep each surface's typography and alignment. */
.table-sort-button {
  display: inline-flex;
  align-items: center;
  justify-content: inherit;
  gap: 0.35em;
  max-width: 100%;
  min-height: 1.8em;
  padding: 0.12em 0;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-align: inherit;
  text-transform: inherit;
  cursor: pointer;
}
.table-sort-button:hover {
  color: var(--accent, #168a74);
}
.table-sort-button:focus-visible {
  outline: 2px solid var(--ring, #168a74);
  outline-offset: 3px;
}
.table-sort-indicator {
  flex: 0 0 auto;
  font-size: 0.9em;
  opacity: 0.5;
}
[aria-sort="ascending"] .table-sort-indicator,
[aria-sort="descending"] .table-sort-indicator {
  opacity: 1;
}
