/* Agent portal branding: native image sizes prevent stretch and layout shift. */
.portal-brand { gap: 10px; min-width: 0; }
.portal-brand .portal-logo { display: block; width: 44px; height: 44px; flex: 0 0 44px; object-fit: contain; border-radius: 11px; background: #fff; box-shadow: 0 0 0 1px #ffffff26; }
.sidebar .portal-brand > span { min-width: 0; font-size: 14px; line-height: 1.6; text-wrap: balance; }
.sidebar .portal-brand small { font-size: 10px; letter-spacing: 0; line-height: 1.5; }
.login-intro .portal-brand { gap: 16px; align-items: center; position: relative; z-index: 1; }
.login-intro .portal-brand .portal-logo { width: 64px; height: 64px; flex-basis: 64px; border-radius: 15px; }
.login-intro .portal-brand > span { min-width: 0; font-size: 19px; line-height: 1.65; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .sidebar .portal-brand .portal-logo { width: 40px; height: 40px; flex-basis: 40px; border-radius: 10px; }
  .login-intro .portal-brand .portal-logo { width: 52px; height: 52px; flex-basis: 52px; border-radius: 12px; }
  .login-intro .portal-brand > span { font-size: 17px; }
}
