/* GP03 integration layer — CABECALHO DESKTOP/TABLET (>=551px): nome da empresa em UMA linha; marca (logo/monograma) em quadro fixo. Nao altera arquivo de Master.
   Causa: o wordmark e `flex:0 1 auto` com texto livre para quebrar; nomes reais (>~15 caracteres) quebravam letra a letra e o cabecalho chegava a 300-600px.
   Aqui o nome so encolhe/corta (reticencias) quando nao cabe; nome curto fica exatamente como o Master desenhou. */
@media (min-width:551px){
 header :is(a.x-brand,a.r-brand,a.brand,a.p7-brand){min-width:0;max-width:46%}
 header :is(.p04-wordmark){min-width:0;max-width:100%;flex-wrap:nowrap}
 header .p04-wordmark>span{min-width:0;max-width:100%;overflow:hidden}
 header .p04-wordmark strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
 header .p04-wordmark small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
 header .p04-wordmark>svg.gp03-mono{flex:none;width:40px;height:40px}
 header .p04-wordmark>img.gp03-brand-logo{flex:none;height:40px!important;width:calc(40px*var(--ar,1))!important;max-width:none!important;max-height:none!important;object-fit:contain}
}
@media (max-width:550px){
 header .p04-wordmark>img.gp03-brand-logo{flex:none;height:34px!important;width:calc(34px*var(--ar,1))!important;max-width:none!important;max-height:34px!important;object-fit:contain}
}
