/* Only the default sign-in logo becomes wide. Workspace and application avatars retain their square emblem. */
div:has(> a > [style*="/brand/primary-logo.svg"]),
div:has(> [style*="/brand/primary-logo.svg"]) {
  width: 152px !important;
  height: 60px !important;
}

[style*="/brand/primary-logo.svg"] {
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

html.dark [style*="/brand/primary-logo.svg"] {
  background-image: url('/brand/primary-logo-reverse.svg') !important;
}

@media (prefers-color-scheme: dark) {
  html:not(.light) [style*="/brand/primary-logo.svg"] {
    background-image: url('/brand/primary-logo-reverse.svg') !important;
  }
}
