/* Échelle typographique commune, issue du tableau des étudiants. */
:root {
    --chcl-table-text-size: .8rem;
    --chcl-table-heading-size: .73rem;
    --chcl-table-label-size: .72rem;
    --chcl-table-code-size: .77rem;
    --chcl-table-status-size: .71rem;
    --chcl-table-action-size: .75rem;
    --chcl-table-control-size: .8125rem;
}

@media screen {
    /* Priorité sur les tailles propres aux pages et aux utilitaires Bootstrap. */
    table {
        font-size: var(--chcl-table-text-size) !important;
        line-height: 1.4 !important;
    }

    table :where(th, td, a, button, input, select, textarea, p, span, small, strong, em, b, label, time, code, h1, h2, h3, h4, h5, h6, summary) {
        font-size: inherit !important;
    }

    table :is(th, td) {
        font-size: var(--chcl-table-text-size) !important;
        line-height: 1.4 !important;
    }

    table thead :is(th, td) {
        font-size: var(--chcl-table-heading-size) !important;
        line-height: 1.35 !important;
    }

    table :is(.student-code, .chcl-notes-cell-code .chcl-notes-field-value) {
        font-size: var(--chcl-table-code-size) !important;
    }

    table td[data-label]::before,
    table td[data-title]::before,
    table :is(.chcl-notes-field-label, .chcl-postulant-field-label) {
        font-size: var(--chcl-table-label-size) !important;
    }

    table :is(.badge, .student-photo-status, .chcl-dossier-status) {
        font-size: var(--chcl-table-status-size) !important;
        line-height: 1.35 !important;
    }

    table :is(.btn, .chcl-dossier-action) {
        font-size: var(--chcl-table-action-size) !important;
    }

    :is(.dataTables_length, .dataTables_filter, .dataTables_info, .dataTables_paginate, .dt-buttons) {
        font-size: var(--chcl-table-control-size) !important;
    }

    :is(.dataTables_length, .dataTables_filter, .dataTables_paginate, .dt-buttons) :where(label, input, select, button, a, span) {
        font-size: inherit !important;
    }
}

@media screen and (max-width: 1399.98px) {
    .student-directory .student-action-icons .btn {
        font-size: .85rem !important;
    }
}
