table[data-table-sort] th .table-sort-button {
    display: inline-flex;
    align-items: center;
    gap: .45em;
    padding: .15em 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: inherit;
    text-align: inherit;
    cursor: pointer;
}
/* ASCII escapes keep the arrows intact regardless of stylesheet encoding. */
table[data-table-sort] th .table-sort-button::after { content: "\2195"; opacity: .45; font-size: .85em; }
table[data-table-sort] th[aria-sort="ascending"] .table-sort-button::after { content: "\2191"; opacity: 1; }
table[data-table-sort] th[aria-sort="descending"] .table-sort-button::after { content: "\2193"; opacity: 1; }
table[data-table-sort] th .table-sort-button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
