/* The shared sortable table header (templates/partials/sortable_th.html): the header text is the control,
   with its direction beside it. Inherits the header's own type; only the link and arrow are styled here. */
th .sort-link { display:inline-flex; align-items:center; gap:4px; min-height:2.75rem; color:inherit; font:inherit; letter-spacing:inherit; text-transform:inherit; text-decoration:none; }
th .sort-link:hover, th .sort-link.is-current { color:var(--ink); }
th .sort-link__arrow { font-size:.9em; opacity:.45; }
th .sort-link.is-current .sort-link__arrow { opacity:1; }
/* The unit sits on a second line under its label (GEN; GEN · 30 epochs; %), sorting or not. */
th .column-unit { display:block; margin-top:3px; font:400 11px var(--font-b); text-transform:none; letter-spacing:0; white-space:normal; }
th .sort-link > span, th .column-label { white-space:nowrap; }
.table-sort-controls { display:none; }
@media (max-width:560px) { .table-sort-controls { display:block; } }
