/* Utilitárias: conjunto pequeno e fechado, amarrado aos tokens de espaço e de texto.
   Ficam na última camada (antes só da impressão), então vencem os componentes pela
   ordem de camada, sem !important. Antes eram ~110 classes de pixel com !important.
   Precisa de algo fora desta lista? Crie uma classe de componente em components.css. */
@layer utilities {
    /* Layout */
    .flex { display: flex; align-items: center; gap: var(--space-2); }
    .flex-col { flex-direction: column; align-items: stretch; }
    .wrap { flex-wrap: wrap; }
    .justify-between { justify-content: space-between; }
    .justify-center { justify-content: center; }
    .ml-auto { margin-left: auto; }
    .grow { flex-grow: 1; }
    .min-w-0 { min-width: 0; }
    .w-full { width: 100%; }

    /* Espaço (passos de --space-*) */
    .m-0 { margin: 0; }
    .mt-0 { margin-top: 0; }
    .mt-2 { margin-top: var(--space-2); }
    .mt-3 { margin-top: var(--space-3); }
    .mt-4 { margin-top: var(--space-4); }
    .mb-0 { margin-bottom: 0; }
    .mb-2 { margin-bottom: var(--space-2); }
    .mb-3 { margin-bottom: var(--space-3); }
    .mb-4 { margin-bottom: var(--space-4); }
    .gap-3 { gap: var(--space-3); }
    .gap-4 { gap: var(--space-4); }
    .gap-5 { gap: var(--space-5); }

    /* Texto */
    .text-xs { font-size: var(--text-xs); }
    .text-sm { font-size: var(--text-sm); }
    .text-dim { color: var(--text-dim); }
    .text-faint { color: var(--text-faint); }
    .text-warning { color: var(--warning); }
    .text-danger { color: var(--danger); }
    .text-center { text-align: center; }
    .mono { font-family: var(--font-mono); }
    .nowrap { white-space: nowrap; }
}
