/* Police Inter auto-hébergée (remplace fonts.googleapis.com pour la conformité
   CSP style-src 'self') — fichier variable, une seule police couvre les
   graisses 400 à 700. */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../vendor/fonts/inter/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../vendor/fonts/inter/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.datatable-loading {
    visibility: hidden;
}

.rank-cell {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* Variantes de couleur des boutons Stisla, remplaçant les attributs
   style="--button-tone: ...; --button-color: ...;" inline — non
   couverts par le nonce CSP (voir style-src 'self'). */
.button--brand-orange {
    --button-tone: oklch(0.65 0.18 55);
    --button-color: #DF6900;
}

.button--brand-green {
    --button-tone: oklch(0.55 0.18 149);
    --button-color: white;
}

/* Classes utilitaires remplaçant les attributs style="..." restants,
   non couverts par le nonce CSP (voir style-src 'self'). */
.alert__success-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.alert__error-list {
    margin: 8px 0 0 20px;
}

.sidebar__button--danger {
    --sidebar-button-color: var(--color-danger);
}

.separator--sidebar {
    --separator-color: var(--sidebar-submenu-border-color);
}

.copyright__text {
    --link-color: var(--color-foreground);
}

.dashboard-chart-caption {
    margin-top: .5rem;
}

.card__header--link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    color: inherit;
    text-decoration: none;
}

.card__header-cta {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
}

.avatar--primary-tint {
    --avatar-bg: color-mix(in oklch, var(--color-primary) 16%, transparent);
    --avatar-color: var(--color-primary);
}

.empty-state {
    padding: 3rem 1rem;
}

.empty-state__icon {
    opacity: .4;
    margin-bottom: .75rem;
}

.carousel-empty-slide {
    padding: 3rem 1rem;
    text-align: center;
    color: var(--color-muted-foreground);
}

.carousel__caption--left {
    text-align: left;
}

.carousel__caption-label {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.carousel__caption-icon {
    width: 1em;
    height: 1em;
}

.field--narrow {
    max-width: 320px;
}

.empty-cell {
    padding: 2rem;
}

.matrice-footer__note {
    align-self: center;
}

.icon-box--36 {
    width: 36px;
    height: 36px;
}

.text-sm-13 {
    font-size: .8125rem;
}

.badge--toggle {
    cursor: pointer;
    text-decoration: none;
}
