.brand-wordmark-gradient {
  background-image: linear-gradient(90deg, #60a5fa 0%, #a78bfa 52%, #a855f7 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

/* Public header: the system name sits beside the configured brand image. */
a:has(img[src*="/assets/brand/16688-ai-logo-v2.png"]) > span,
a:has(img[src*="/assets/brand/16688-ai-logo-v2.png"]) span[title] {
  background-image: linear-gradient(90deg, #60a5fa 0%, #a78bfa 52%, #a855f7 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

/* Signed-in app header and sidebar brand. */
[data-sidebar="menu-button"]:has(img[src*="/assets/brand/16688-ai-logo-v2.png"]) span.font-semibold {
  background-image: linear-gradient(90deg, #60a5fa 0%, #a78bfa 52%, #a855f7 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

@supports not selector(:has(*)) {
  .brand-wordmark-gradient {
    color: #7c5cff !important;
    -webkit-text-fill-color: currentColor;
  }
}
