.brand, .mobile-brand { min-width: 0; }
.brand { width: auto; max-width: 100%; margin-left: 5px; margin-right: 5px; }
.brand-logo { object-fit: contain; flex: none; width: 48px; height: 48px; }
.brand .brand-wordmark { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.brand .brand-wordmark > [data-brand-name] { display: block; margin: 0; font-size: 14px; font-weight: 800; letter-spacing: -.3px; line-height: 1.3; white-space: normal; overflow-wrap: anywhere; color: var(--ink); }
.brand .brand-wordmark > [data-brand-tagline] { display: block; margin: 0; font-size: 8px; letter-spacing: .3px; font-weight: 500; line-height: 1.4; color: var(--secondary); }
.sidebar .brand { flex-direction: column; align-items: center; gap: 6px; width: 100%; margin: 0 0 16px; padding: 0 4px; text-align: center; }
.sidebar .brand .brand-logo { width: 40px; height: 40px; }
.sidebar .brand .brand-wordmark { display: block; width: 100%; }
.sidebar .brand .brand-wordmark > [data-brand-name] { font-size: clamp(12px, .9vw, 14px); font-weight: 700; line-height: 1.35; letter-spacing: .02em; text-wrap: balance; }
.mobile-brand .brand-logo { width: 34px; height: 34px; }
.topbar .mobile-brand > strong { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.topbar .mobile-brand > strong > [data-brand-name] { display: block; margin: 0; font-size: 12px; font-weight: 800; letter-spacing: -.2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; color: var(--ink); }
.topbar .mobile-brand > strong > [data-brand-tagline] { display: block; margin: 0; font-size: 7px; letter-spacing: 0; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.4; color: var(--secondary); }
.auth-screen { background: var(--login-background,none) center / cover no-repeat var(--canvas); }
.auth-intro { padding-top: 10vh; padding-bottom: 10vh; }
.auth-brand { display: flex; align-items: center; gap: 20px; margin-bottom: 36px; position: relative; z-index: 1; }
.auth-brand .brand-logo { width: 100px; height: 100px; }
.auth-brand-copy { min-width: 0; }
.auth-brand .eyebrow { position: static; margin: 0; color: var(--ink); font-size: 17px; line-height: 1.5; letter-spacing: .8px; overflow-wrap: anywhere; }
.auth-brand [data-brand-tagline] { margin-top: 8px; color: var(--secondary); font-size: 12px; line-height: 1.5; }
.has-brand-background .auth-intro { background: linear-gradient(180deg,#ffffff32,#ffffff12); }
.has-brand-background .auth-orbit { display: none; }
.has-brand-background .auth-panel { background: #fffffff2; }
.share-header .brand-logo { width: 48px; height: 48px; object-fit: contain; }
.share-header h1 { overflow-wrap: anywhere; }
@media (max-width:760px), (max-width:1024px) and (max-height:500px) {
  .auth-screen { background-position: center top; background-size: auto 100%; }
  .auth-intro { min-height: 220px; padding: 22px 28px 26px; }
  .auth-brand { margin-bottom: 20px; gap: 14px; }
  .auth-brand .brand-logo { width: 68px; height: 68px; }
  .auth-brand .eyebrow { font-size: 15px; }
  .auth-brand [data-brand-tagline] { font-size: 10px; margin-top: 4px; }
  .auth-intro h1 { font-size: 29px; }
  .has-brand-background .auth-intro { background: linear-gradient(#ffffff30,#ffffff50),var(--login-background); background-position: center bottom; background-size: cover; }
  .has-brand-background .auth-panel { background: #fffffff0; }
  .auth-panel { padding-top: 28px; }
}
