/* Shared brand presentation: keep the header compact on desktop and mobile. */
.site-header .brand{min-width:0;line-height:1.2}
.site-header .brand small{display:block;margin-top:4px;font-size:12px;letter-spacing:1px;line-height:1.3}
.auth-brand{margin-bottom:18px;color:var(--primary)}
.auth-brand strong{display:block;font-size:28px;line-height:1.3;letter-spacing:1px}
.auth-brand>span{display:block;margin-top:4px;font-size:14px}
.auth-brand p{margin:10px 0 0;font-size:14px;line-height:1.6;color:var(--muted);overflow-wrap:anywhere}
@media(max-width:700px){.site-header .brand small{font-size:11px;letter-spacing:0}.auth-brand strong{font-size:25px}}

/* Display the original emblem without its surrounding presentation text.
   Source artwork: 1536 x 1024; emblem bounds about x=517..1029, y=87..555. */
.site-header .brand-logo{position:relative;display:block;flex:0 0 58px;width:58px;height:54px;overflow:hidden;background:#fff}
.site-header .brand-logo img{position:absolute;display:block;width:174px;max-width:none;height:116px;left:-58.5px;top:-9.5px;pointer-events:none}
@media(max-width:700px){
 .site-header .brand{gap:8px}
 .site-header .brand-logo{flex-basis:43px;width:43px;height:40px}
 .site-header .brand-logo img{width:129px;height:86px;left:-43.4px;top:-7px}
}

/* Account details share one compact row and wrap only on narrow screens. */
.site-header .header-account .header-actions{justify-content:flex-end}
.site-header .header-user{max-width:none;font-size:14px;line-height:1.4;white-space:normal}
@media(min-width:1101px){.site-header .header-account{max-width:420px}}
@media(max-width:700px){.site-header .header-user{display:block;max-width:190px;font-size:11px;margin-top:4px}}
