/* NexFacil: contraste uniforme en cabeceras y navegacion movil. */
.topbar .nf-top-brand .nf-brand-img{height:40px;width:auto;max-width:100%;object-fit:contain}
.distributor-sidebar .sidebar-home-r34{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;padding-top:9px}
.distributor-sidebar .sidebar-brand.nf-sidebar-wordmark{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:100%}
.distributor-sidebar .nf-sidebar-icon{display:block;width:50px;height:50px;object-fit:contain;flex:none}
.distributor-sidebar .nf-sidebar-name{display:block;max-width:100%;width:100%;height:24px;object-fit:contain}
.distributor-sidebar .sidebar-home-r34 .sidebar-account{display:block;font-weight:600;color:#e2f4f0;text-align:center;font-size:11px;line-height:1.25;max-width:100%;overflow-wrap:anywhere}
/* Empresario: misma franja verde que las demas cabeceras */
.portal-header.e51-header{background:#17655b;border-bottom:1px solid #17655b;color:#fff}
.portal-header.e51-header .nf-portal-brand{display:flex;min-width:0;align-items:center;flex:0 1 auto}
.portal-header.e51-header .nf-portal-brand .nf-brand-img{display:block;height:39px;width:auto;max-width:min(240px,48vw);object-fit:contain}
.portal-header.e51-header .e51-first-name{color:#fff}
.portal-header.e51-header .e51-menu>summary{color:#fff}
.portal-header.e51-header .e51-menu-panel{color:#173b37;background:#fff}
.portal-header.e51-header .e51-menu-panel a,.portal-header.e51-header .e51-menu-panel button,.portal-header.e51-header .e51-menu-panel summary{color:#173b37}
@media(max-width:760px){
 .topbar .nf-top-brand .nf-brand-img{height:34px}
 .portal-header.e51-header{padding:0 12px;gap:8px}
 .portal-header.e51-header .nf-portal-brand .nf-brand-img{height:31px;max-width:min(190px,48vw)}
 .portal-header.e51-header .e51-account{gap:3px}
 .portal-header.e51-header .e51-first-name{max-width:25vw;font-size:12px}
 .distributor-sidebar .nf-sidebar-icon{width:34px;height:34px}
 .distributor-sidebar .nf-sidebar-name{height:19px}
 .distributor-sidebar .sidebar-home-r34 .sidebar-account{font-size:10px}
}
