/* Etapa 4E — sidebar height hardening for desktop/tablet/mobile. */
@media (min-width:1061px){
  html:has(body.console-auth),body.console-auth{min-height:100%;}
  body.console-auth::before{content:"";position:fixed;inset:0 auto 0 0;width:272px;height:100vh;height:100dvh;background:#071a34;z-index:105;pointer-events:none;border-right:1px solid #1a3552;}
  body.console-auth .main-nav.mx-workspace-nav{position:fixed!important;inset:0 auto 0 0!important;top:0!important;bottom:0!important;left:0!important;width:272px!important;height:100vh!important;height:100dvh!important;min-height:100vh!important;max-height:100dvh!important;box-sizing:border-box!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;background:#071a34!important;scrollbar-width:none!important;z-index:135!important;}
  body.console-auth .main-nav.mx-workspace-nav::-webkit-scrollbar{display:none!important;width:0!important;}
  body.console-auth .topbar,body.console-auth .wrap{position:relative;transform:none!important;}
}
@media (max-width:1060px){
  body.console-auth .main-nav.mx-workspace-nav{height:100vh!important;height:100dvh!important;min-height:100dvh!important;max-height:100dvh!important;top:0!important;bottom:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;scrollbar-width:none!important;background:#071a34!important;}
  body.console-auth .main-nav.mx-workspace-nav::-webkit-scrollbar{display:none!important;width:0!important;}
}
