/* Proyecto Fénix · PWA / Branding de encabezado
 * CSS estático extraído desde pwa_head.php.
 * Se sigue cargando únicamente cuando existe un logo de encabezado configurado.
 */

/*
 * Mismo tamaño de referencia usado en Gestión de Módulos.
 * Esta regla tiene mayor especificidad que los CSS históricos de cada página.
 */
html body .app-sidebar .sidebar-logo,
html body aside.app-sidebar .sidebar-logo,
html body .pc-sidebar .m-header,
html body aside.sidebar .logo,
html body .sidebar-brand,
html body .app-logo{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}

html body .app-sidebar .sidebar-logo a,
html body aside.app-sidebar .sidebar-logo a,
html body .pc-sidebar .m-header a,
html body aside.sidebar .logo a,
html body .sidebar-brand a,
html body .app-logo a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:100%!important;
}

html body .app-sidebar .sidebar-logo img,
html body aside.app-sidebar .sidebar-logo img,
html body .pc-sidebar .m-header img,
html body .pc-sidebar .b-brand img,
html body aside.sidebar .logo img,
html body .sidebar-brand img,
html body .app-logo img,
html body img[data-fenix-system-logo="header"]{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:190px!important;
  max-height:46px!important;
  object-fit:contain!important;
  object-position:center!important;
  margin:0 auto!important;
}
