/* Approved B: symbol above the exact studio name, home only. */
.top:has(.studio-brand){height:88px}
.studio-brand{display:flex;flex-direction:column;align-items:center;gap:4px;line-height:1.15;white-space:nowrap;text-align:center}
.studio-brand .studio-symbol{display:block;width:31px;height:42px;object-fit:contain}
.studio-symbol-light{display:none!important}
:root[data-theme="dark"] .studio-symbol-olive{display:none!important}
:root[data-theme="dark"] .studio-symbol-light{display:block!important}
.studio-name{font-size:14px;font-weight:650}.studio-name small{font-size:12px;font-weight:400}
@media(max-width:340px){.studio-brand .studio-symbol{width:26px;height:36px}.studio-name{font-size:12px}.studio-name small{font-size:11px}.top:has(.studio-brand){height:82px}}
.studio-page-label{font-size:11px;font-weight:500;white-space:normal}.top:has(.studio-page-label){height:108px}

/* Encabezado responsive: sin flecha la marca va pegada a la izquierda (como antes);
   con flecha, flecha+marca juntas sin partir la marca. Correccion v3.1 por criterio humano:
   no reservar hueco invisible para la flecha oculta en Inicio. */
.top .page-title:has(.studio-brand){flex-wrap:nowrap}
@media (max-width:600px){
  .top:has(.studio-brand){flex-wrap:wrap;row-gap:4px}
  .top:has(.studio-brand) .page-title{flex-shrink:0}
  .top:has(.studio-brand) .btn.sm{padding-left:8px;padding-right:8px}
}
@media (max-width:360px){
  .top:has(.studio-brand){height:auto;padding-bottom:6px}
  .top:has(.studio-brand) .page-title{flex-basis:100%}
}
/* Keep the complete mark from shrinking under the adjacent controls. */
.top .studio-brand{flex-shrink:0}
.top .page-title:has(.studio-brand){min-width:max-content}
@media (max-width:600px){
 .top:has(.studio-brand){height:auto;min-height:88px;padding-top:6px;padding-bottom:6px}
 .top:has(.studio-page-label){min-height:108px}
}
/* Correccion 18/11 por criterio humano: las internas llevan la misma distribucion de Inicio
   (marca a la izquierda, controles en la misma fila); el salto a dos filas queda solo para
   pantallas angostas (<=360px), igual que en Inicio. */
