/* Fases 73–76 — marca horizontal transparente em light/dark.
   Esta camada é carregada por último para neutralizar placas claras legadas
   sem alterar estrutura, autenticação ou navegação. */
.ft-site-brand,
.loginbox .logo,
.side .logo,
.ft-mobile-brand{
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
}
.ft-site-brand img,
.loginbox .foundtag-panel-logo,
.side .foundtag-panel-logo,
.ft-mobile-brand,
.v14BrandLogo{
  display:block!important;
  width:auto;
  height:auto!important;
  object-fit:contain!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:0!important;
}
.ft-site-brand{padding:0!important}
.ft-site-brand img{width:clamp(154px,18vw,220px)!important;max-width:100%!important;max-height:68px!important}
.loginbox .logo{padding:0!important}
.loginbox .foundtag-panel-logo,.loginbox .v14BrandLogo{width:min(410px,94%)!important;max-height:136px!important;margin:0 auto!important}
.side .logo{padding:0!important;border:0!important}
.side .foundtag-panel-logo,.side .v14BrandLogo{width:min(210px,100%)!important;max-height:82px!important;margin:0 auto!important}
.ft-mobile-brand{width:min(260px,58vw)!important;max-width:100%!important;max-height:76px!important}

/* Enquanto o card de saudação ainda não recebeu a cópia da marca, o cabeçalho
   mantém a wordmark disponível. Assim que .ft-dashboard-brand existir, a regra
   de mobile/shell.css volta a ocultar a cópia do cabeçalho. */
body.ft-mobile-app:not(:has(.ft-dashboard-intro>.ft-dashboard-brand)) .ft-mobile-header .ft-mobile-brand{
  display:block!important;
}

/* A arte permanece transparente também quando o tema claro é forçado. */
html[data-theme="light"] .ft-site-brand,
html[data-theme="light"] .ft-site-brand img,
html[data-theme="light"] .loginbox .logo,
html[data-theme="light"] .loginbox .foundtag-panel-logo,
html[data-theme="light"] .side .logo,
html[data-theme="light"] .side .foundtag-panel-logo,
html[data-theme="light"] .ft-mobile-brand{
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
}

/* O cabeçalho público não pode comprimir a wordmark abaixo de uma presença mínima
   quando o seletor de idiomas ocupa mais espaço em larguras intermediárias. */
.ft-public-brand{min-width:120px!important}

@media(max-width:430px){
  .ft-site-brand img{width:146px!important;max-height:52px!important}
  .ft-mobile-brand{width:min(228px,62vw)!important;max-height:68px!important}
  .loginbox .foundtag-panel-logo,.loginbox .v14BrandLogo{width:min(350px,92%)!important;max-height:118px!important}
}
@media(max-width:360px){
  .ft-site-brand img{width:136px!important}
  .ft-mobile-brand{width:min(210px,60vw)!important}
}
@media(max-width:320px){
  .ft-site-brand img{width:126px!important}
  .ft-mobile-brand{width:min(194px,59vw)!important;max-height:62px!important}
}