/* MISQUAD · CABECERA DEL MENÚ LATERAL · C2: el logo de iSQUAD arriba a la izquierda, a su derecha
   el área del menú (y su subnombre) y debajo el acceso al login único. Vale con cualquier versión del
   menú (V1 a V15). La monta includes/menu_lateral_version.php (mlv_cabecera_js) sobre el logo de
   siempre: .mlv-cab envuelve el logo y .mlv-cab__der lleva el área y el enlace. */
.app-sidebar .mlv-cab {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;   /* el logo y el área, juntos y en medio del lateral */
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .10);
    box-sizing: border-box;
}
.app-sidebar .mlv-cab .app-navigation-logo,
.app-sidebar .mlv-cab .app-navigation-logo:hover {
    flex: none;
    display: block !important;
    width: 92px !important;
    height: 46px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: url(/css/logo_isquad_onda.png) left center / contain no-repeat transparent !important;
    font-size: 0 !important;
    color: transparent !important;
    overflow: hidden;
}
.app-sidebar .mlv-cab .app-navigation-logo > * { display: none !important; }
.app-sidebar .mlv-cab__der {
    flex: 0 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}
.app-sidebar .mlv-cab__der .isq-logo-area__rol {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 1.2px;
    text-align: left;
    text-transform: uppercase;
}
.app-sidebar .mlv-cab__der .isq-logo-area__sub {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: rgba(255, 255, 255, .55);
    font-size: 10.5px;
    font-weight: 400;
    line-height: 1.2;
    text-align: left;
}
/* El acceso al login único, debajo del área */
.app-sidebar .mlv-cab__lu,
.app-sidebar .mlv-cab__lu:visited {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 3px;
    padding: 3px 10px 3px 7px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    color: #fff !important;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background .15s, border-color .15s, box-shadow .15s;
}
.app-sidebar .mlv-cab__lu .ph { font-size: 14px; color: var(--mq-lat-c, #12A264); }
.app-sidebar .mlv-cab__lu:hover {
    border-color: var(--mq-lat-c, #12A264);
    background: color-mix(in srgb, var(--mq-lat-c, #12A264) 22%, transparent);
    box-shadow: 0 6px 16px -10px var(--mq-lat-c, #12A264);
}
.app-sidebar .mlv-cab__lu:hover .ph { color: #fff; }
/* Con el menú plegado solo cabe el logo */
.app-navigation-minimized .mlv-cab { justify-content: center; padding: 10px 6px; }
.app-navigation-minimized .mlv-cab__der { display: none; }
.app-navigation-minimized .mlv-cab .app-navigation-logo { width: 46px !important; background-position: center !important; }
