/* ── Sortable table headers ───────────────────────────────────────────────── */
.tbl-th-sortable {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition: color .12s;
}
.tbl-th-sortable:hover { color: var(--accent); }
.tbl-th-active { color: var(--accent) !important; }

.tbl-sort-ind {
  display: inline-block;
  margin-left: 4px;
  font-size: 10px;
  opacity: .55;
  vertical-align: middle;
  line-height: 1;
  transition: opacity .12s;
}
.tbl-th-sortable:hover .tbl-sort-ind { opacity: .9; }
.tbl-th-active .tbl-sort-ind { opacity: 1; }

.tbl-th-active .tbl-sort-ind sup {
  font-size: 7px;
  vertical-align: super;
  margin-left: 1px;
  color: var(--accent);
}

/* Shift+click hint shown in table caption or tooltip */
.tbl-sort-hint {
  font-size: 9px;
  color: var(--text4);
  font-weight: 400;
  margin-left: 8px;
  font-style: italic;
}
