/* Terra do Saber — resilient official logo rendering.
   The installed iOS PWA previously hid the real <img> and painted the logo as a
   button background. On Safari that left a clickable but visually blank brand
   area. Keep the proven direct-image rendering path instead. */

html body .brand-lockup{
  background:none!important;
  overflow:visible!important;
}
html body .brand-lockup>img{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  object-fit:contain!important;
  object-position:left center!important;
  content:url('assets/logo-email-terra-do-saber.png?v=20261021-header3')!important;
  -webkit-user-drag:none;
}
html body .brand-lockup>.brand-flower,
html body .brand-lockup>.brand-copy{
  display:none!important;
  visibility:hidden!important;
}

/* Login uses the same validated artwork and the same direct-image path. */
html body .login-card{
  position:relative!important;
  padding-top:28px!important;
}
html body .login-card::before{
  display:none!important;
  content:none!important;
}
html body .login-logo{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  width:190px!important;
  height:auto!important;
  margin:0 auto 24px!important;
  object-fit:contain!important;
  content:url('assets/logo-email-terra-do-saber.png?v=20261021-header3')!important;
}

/* Keep the desktop navigation brand source aligned with the header. */
@media(min-width:981px){
  html body main .admin-nav::before{
    background-image:url('assets/logo-email-terra-do-saber.png?v=20261021-header3')!important;
  }
}

@media(max-width:700px){
  html body .brand-lockup>img{
    object-position:left center!important;
  }
  html body .login-logo{
    width:165px!important;
  }
}
