/*
 * Adekvat — основной интерфейсный шрифт ZMproject.
 * Font files: SIL Open Font License 1.1 (assets/fonts/adekvat/OFL.txt).
 */
@font-face {
    font-family: 'Adekvat';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/assets/fonts/adekvat/Adekvat-Variable.woff2') format('woff2-variations');
}

@font-face {
    font-family: 'Adekvat';
    font-style: italic;
    font-weight: 100;
    font-display: swap;
    src: url('/assets/fonts/adekvat/Adekvat-ThinItalic.woff2') format('woff2');
}

@font-face {
    font-family: 'Adekvat';
    font-style: italic;
    font-weight: 200;
    font-display: swap;
    src: url('/assets/fonts/adekvat/Adekvat-ExtraLightItalic.woff2') format('woff2');
}

@font-face {
    font-family: 'Adekvat';
    font-style: italic;
    font-weight: 300;
    font-display: swap;
    src: url('/assets/fonts/adekvat/Adekvat-LightItalic.woff2') format('woff2');
}

@font-face {
    font-family: 'Adekvat';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/adekvat/Adekvat-RegularItalic.woff2') format('woff2');
}

@font-face {
    font-family: 'Adekvat';
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src: url('/assets/fonts/adekvat/Adekvat-MediumItalic.woff2') format('woff2');
}

@font-face {
    font-family: 'Adekvat';
    font-style: italic;
    font-weight: 600;
    font-display: swap;
    src: url('/assets/fonts/adekvat/Adekvat-SemiBoldItalic.woff2') format('woff2');
}

@font-face {
    font-family: 'Adekvat';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url('/assets/fonts/adekvat/Adekvat-BoldItalic.woff2') format('woff2');
}

@font-face {
    font-family: 'Adekvat';
    font-style: italic;
    font-weight: 800;
    font-display: swap;
    src: url('/assets/fonts/adekvat/Adekvat-ExtraBoldItalic.woff2') format('woff2');
}

@font-face {
    font-family: 'Adekvat';
    font-style: italic;
    font-weight: 900;
    font-display: swap;
    src: url('/assets/fonts/adekvat/Adekvat-BlackItalic.woff2') format('woff2');
}

:root {
    --zm-font-sans: 'Adekvat', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* `html body` deliberately outranks the legacy single `body` rules. */
html body,
button,
input,
select,
textarea {
    font-family: var(--zm-font-sans);
}

.apexcharts-canvas text,
.apexcharts-legend-text,
.apexcharts-tooltip {
    font-family: var(--zm-font-sans) !important;
}
