/* Keshero sortable tables — idle ↑↓ on every sortable column; active column uses ↑ or ↓ */
.keshero-sortable-table th .keshero-sort-btn,
button.keshero-sort-btn,
a.keshero-sort-btn {
  align-items: center;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: inherit;
  gap: 0.4em;
  letter-spacing: inherit;
  padding: 0;
  text-align: inherit;
  text-decoration: none;
  text-transform: inherit;
}
.keshero-sortable-table th .keshero-sort-btn .home-table-header-stack,
button.keshero-sort-btn .home-table-header-stack,
a.keshero-sort-btn .home-table-header-stack {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.15;
}
.keshero-sortable-table th .keshero-sort-btn:hover,
.keshero-sortable-table th .keshero-sort-btn:focus-visible,
button.keshero-sort-btn:hover,
button.keshero-sort-btn:focus-visible,
a.keshero-sort-btn:hover,
a.keshero-sort-btn:focus-visible {
  outline: none;
}
.keshero-sort-ind {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  flex-direction: row;
  gap: 1px;
  justify-content: center;
  line-height: 1;
  min-width: 1.35em;
  opacity: 1;
  vertical-align: middle;
}
.keshero-sort-ind__up,
.keshero-sort-ind__down {
  color: var(--app-muted, #667085);
  display: block;
  font-size: 13px;
  font-weight: 900;
  height: 1em;
  line-height: 1;
  text-align: center;
  -webkit-text-stroke: 0.55px currentColor;
  paint-order: stroke fill;
  text-shadow: 0 0 0.35px currentColor;
}
.keshero-sort-ind__up::before {
  content: "↑";
}
.keshero-sort-ind__down::before {
  content: "↓";
}
.keshero-sort-btn:hover .keshero-sort-ind__up,
.keshero-sort-btn:hover .keshero-sort-ind__down,
.keshero-sort-btn:focus-visible .keshero-sort-ind__up,
.keshero-sort-btn:focus-visible .keshero-sort-ind__down {
  color: var(--app-text, #182230);
}

/* Active sort: keep only the chosen direction, in heading color */
.keshero-sort-btn[aria-sort="ascending"] .keshero-sort-ind__down,
.keshero-sort-btn[aria-sort="descending"] .keshero-sort-ind__up,
th[aria-sort="ascending"] .keshero-sort-ind__down,
th[aria-sort="descending"] .keshero-sort-ind__up {
  display: none;
}
.keshero-sort-btn[aria-sort="ascending"] .keshero-sort-ind__up,
.keshero-sort-btn[aria-sort="descending"] .keshero-sort-ind__down,
th[aria-sort="ascending"] .keshero-sort-ind__up,
th[aria-sort="descending"] .keshero-sort-ind__down {
  color: var(--app-heading, #0f172a);
  font-size: 14px;
  font-weight: 900;
  -webkit-text-stroke: 0.65px currentColor;
}

/* Suppress legacy single-glyph sort markers once dual triangles are present */
.keshero-sort-btn .development-plan-sort-ind,
.keshero-sort-btn .org-map-hierarchy__sort-ind,
.keshero-sort-btn .cycle-preview-sort-ind,
.keshero-sort-btn .grid-sort-indicator,
.keshero-sort-btn .home-cycles-sort-indicator,
.keshero-sort-btn .people-directory-sort__ind,
.keshero-sort-btn.pm-development-plan-origin-table__sort::after {
  display: none !important;
}
