/*
   CraftGrid One — mobile active navigation contrast correction.
   Scope: selected leaf links inside the mobile offcanvas only.
   Does not alter desktop navigation, parent module rows, routes or permissions.
*/
@media (max-width: 991.98px) {
    html body.craftgrid-authenticated-shell .craftgrid-mobile-sidebar .erp-sidebar a.sidebar-submenu-link.active,
    html body.craftgrid-authenticated-shell .craftgrid-mobile-sidebar .erp-sidebar a.sidebar-submenu-link.active:hover,
    html body.craftgrid-authenticated-shell .craftgrid-mobile-sidebar .erp-sidebar a.sidebar-submenu-link.active:focus-visible {
        color: #12354f !important;
        background: #d7ebfb !important;
        box-shadow: inset 3px 0 0 #2478bd !important;
        text-decoration: none !important;
        opacity: 1 !important;
    }

    html body.craftgrid-authenticated-shell .craftgrid-mobile-sidebar .erp-sidebar a.sidebar-submenu-link.active > span,
    html body.craftgrid-authenticated-shell .craftgrid-mobile-sidebar .erp-sidebar a.sidebar-submenu-link.active .sidebar-link-content > span,
    html body.craftgrid-authenticated-shell .craftgrid-mobile-sidebar .erp-sidebar a.sidebar-submenu-link.active > i,
    html body.craftgrid-authenticated-shell .craftgrid-mobile-sidebar .erp-sidebar a.sidebar-submenu-link.active .sidebar-link-content > i,
    html body.craftgrid-authenticated-shell .craftgrid-mobile-sidebar .erp-sidebar a.sidebar-submenu-link.active .sidebar-link-content {
        color: #12354f !important;
        opacity: 1 !important;
    }
}
