/**
 * Typographie & couleurs partagées — header, menu, subheader
 * Aligné sur po-ui-v2.css (contenu des pages)
 */

body.aside-v2-theme {
    --po-layout-fs: 0.9375rem;        /* 15px — comme lignes tableau / catalog */
    --po-layout-fs-sm: 0.875rem;      /* 14px */
    --po-layout-fs-xs: 0.8125rem;     /* 13px */
    --po-layout-fs-title: 1.0625rem;  /* 17px — titre header app */
    --po-layout-text: var(--po-text, #1a202c);
    --po-layout-muted: var(--po-text-muted, #718096);
    font-family: Poppins, Helvetica, "sans-serif";
}

body.aside-v2-theme #kt_subheader.subheader h5 {
    font-size: var(--po-layout-fs) !important;
    font-weight: 500 !important;
    color: var(--po-layout-muted) !important;
}

body.aside-v2-theme .subheader.subheader-solid {
    background-color: #f8fafc !important;
    border-color: #e8edf3 !important;
}

/* ── Mobile : pleine largeur, pas de débordement horizontal ── */
@media (max-width: 991.98px) {
    body.aside-v2-theme {
        overflow-x: hidden;
    }

    body.aside-v2-theme .page,
    body.aside-v2-theme .wrapper,
    body.aside-v2-theme .content,
    body.aside-v2-theme .content-wrapper,
    body.aside-v2-theme .container-fluid {
        max-width: 100%;
        min-width: 0;
    }

    body.aside-v2-theme #kt_quick_user.offcanvas-right:not(.offcanvas-on) {
        right: -100vw !important;
        visibility: hidden;
        pointer-events: none;
    }
}
