/* Ordenação ascendente/descendente compartilhada por todas as tabelas. */
.is-sortable-table thead th[aria-sort] { padding: 0; }
.table-sort-button {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border: 0;
    color: inherit;
    background: transparent;
    font: inherit;
    font-weight: inherit;
    text-align: left;
    cursor: pointer;
}
.table-sort-button:hover,
.table-sort-button:focus-visible { color: #4c1d95; background: rgba(109, 40, 217, .07); outline: none; }
.table-sort-button__label { min-width: 0; }
.table-sort-button__icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
    opacity: .48;
}
.table-sort-button__icon svg { width: 16px; height: 16px; }
.table-sort-button.is-active { color: #5b21b6; }
.table-sort-button.is-active .table-sort-button__icon { opacity: 1; }
.table-sort-button.is-asc .table-sort-button__icon svg path:first-child,
.table-sort-button.is-desc .table-sort-button__icon svg path:last-child { stroke-width: 2.5; }
.table-sort-button.is-asc .table-sort-button__icon svg path:last-child,
.table-sort-button.is-desc .table-sort-button__icon svg path:first-child { opacity: .25; }
@media (max-width: 820px) {
    /* Cabeçalhos ficam ocultos nas tabelas convertidas em cards, sem criar espaço residual. */
    .responsive-table.is-sortable-table thead .table-sort-button { min-height: 0; }
}
