/*
 * Camada global de legibilidade do sistema.
 * Mantém textos auxiliares confortáveis sem ampliar títulos, valores ou impressos.
 */
:root {
    --naordem-texto-auxiliar: .75rem;
    --naordem-texto-compacto: .7rem;
    --naordem-cor-auxiliar: #64748b;
}

/* Elementos semanticamente usados para explicações e informações adicionais. */
body small {
    font-size: var(--naordem-texto-auxiliar) !important;
    line-height: 1.45 !important;
}

/* Utilitários antigos de 10 e 11 px passam a respeitar o mínimo de leitura. */
body .text-\[10px\],
body .text-\[11px\] {
    font-size: var(--naordem-texto-auxiliar) !important;
    line-height: 1.45 !important;
}

/* Textos auxiliares da área principal. */
.secao [class*="-help"],
.secao [class*="-description"],
.secao [class*="-note"],
.secao [class*="-hint"] {
    line-height: 1.45;
}

/* Metas, desempenho e painel de métricas. */
.team-performance-metric small,
.team-performance-card > header small,
.team-performance-projection-main small,
.team-performance-table-progress small,
.team-performance-goal-employee small,
.team-performance-switch div small,
.team-performance-save-bar p span,
.team-performance-entry-copy small,
.team-performance-entry-value small,
.team-performance-overview-tabs button small,
.team-metrics-filter-heading p,
.team-metrics-period-status,
.team-metrics-period-status small,
.team-metrics-kpi small,
.team-metrics-donut-center small,
.team-metrics-legend div,
.team-metrics-employee-bar > span,
.team-metrics-employee-bar > b,
.team-metrics-insight span,
.team-metrics-participation small {
    font-size: var(--naordem-texto-auxiliar) !important;
    line-height: 1.45 !important;
}

.team-performance-metric span,
.team-performance-card > header span,
.team-metrics-kpi span,
.team-metrics-filter-heading small,
.team-metrics-fields label > span {
    font-size: var(--naordem-texto-compacto) !important;
    line-height: 1.35 !important;
}

.team-performance-metric small,
.team-performance-card > header small,
.team-performance-table-progress small,
.team-performance-entry-copy small,
.team-performance-entry-value small,
.team-performance-overview-tabs button small,
.team-metrics-kpi small,
.team-metrics-donut-center small,
.team-metrics-insight span,
.team-metrics-legend div,
.team-metrics-period-status small {
    color: var(--naordem-cor-auxiliar) !important;
}

.team-performance-overview-tabs button.is-active small {
    color: #bfdbfe !important;
}

.team-metrics-axis-label {
    fill: var(--naordem-cor-auxiliar) !important;
    font-size: 11px !important;
    font-weight: 750 !important;
}

/* Cadastros, configurações, comissões e suporte. */
.commission-card-heading div > span,
.commission-list-heading p,
.commission-payment-copy p,
.account-card-heading p,
.config-panel-heading p,
.config-category-card small,
.support-human-card p,
.support-list-heading small,
.support-ticket-copy small,
.support-ticket-copy time,
.support-ticket-copy em,
.support-list-empty span,
.support-new-panel > header p,
.support-message-field small,
.support-chat-header p,
.support-message header time,
.support-message small,
.support-reply-form > small {
    font-size: var(--naordem-texto-auxiliar) !important;
    line-height: 1.45 !important;
}

/* Portal e administração de funcionários. */
.employee-portal-card > header p,
.employee-portal-person-main small,
.employee-portal-access-status,
.employee-portal-mode-field small,
.employee-portal-empty p,
.employee-portal-ranking-preview p,
.employee-portal-save-bar p span,
.employee-portal-modal-toggle div small,
.team-portal-unified-header p {
    font-size: var(--naordem-texto-auxiliar) !important;
    line-height: 1.45 !important;
}

@media (max-width: 520px) {
    :root {
        --naordem-texto-auxiliar: .78rem;
        --naordem-texto-compacto: .72rem;
    }
}
