/* Terra do Saber — final direct logo rendering fix for iOS/PWA.
   Do not replace <img> content via CSS. Always render the element's real src. */
html body .brand-lockup{
  background:none!important;
  overflow:visible!important;
}

html body .brand-lockup>img,
html body img.login-logo{
  content:normal!important;
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  object-fit:contain!important;
  -webkit-user-drag:none;
}

html body .brand-lockup>img{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  object-position:left center!important;
}

html body img.login-logo{
  width:190px!important;
  height:auto!important;
  margin:0 auto 24px!important;
}

html body .brand-lockup>.brand-flower,
html body .brand-lockup>.brand-copy{
  display:none!important;
  visibility:hidden!important;
}

/* The official logo now lives in the application header. The legacy desktop
   sidebar pseudo-element still reserved ~108px for a second logo, leaving the
   large blank area visible above "NAVEGAÇÃO". Keep only the section label. */
@media(min-width:981px){
  html body main .admin-nav::before{
    content:'NAVEGAÇÃO'!important;
    min-height:0!important;
    height:auto!important;
    padding:0 10px 8px!important;
    margin:0!important;
    background:none!important;
    background-image:none!important;
  }
}

@media(max-width:700px){
  html body img.login-logo{width:165px!important}
}
