/* One canonical AI Artifacts brand treatment for public, auth and app shells.
   The mark asset is genuinely transparent; the link is deliberately not a
   card, frame or decorative background. */
.ai-shared-brand {
  align-items: center;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: inherit;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 8px;
  padding: 0 !important;
  text-decoration: none;
  white-space: nowrap;
}

.ai-shared-brand__mark {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: block;
  flex: 0 0 auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  width: auto;
}

.ai-shared-brand__name { display: inline; }
.ai-shared-brand__name b { font-weight: 700; }
.ai-shared-brand:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.sidebar-brand .ai-shared-brand {
  color: var(--text);
  min-width: 0;
}
.sidebar-brand .ai-shared-brand__name {
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.sidebar-brand .ai-shared-brand__mark { height: 42px; width: 42px; }

.ai-sidebar-brand .ai-shared-brand {
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.ai-sidebar-brand .ai-shared-brand__mark { height: 26px; width: 26px; }

.ai-shell-topbar-brand .ai-shared-brand__mark,
.ai-topbar-brand .ai-shared-brand__mark { height: 24px; width: 24px; }

@media (max-width: 420px) {
  .ai-brand .ai-shared-brand__mark { height: 29px; width: 29px; }
}

.sidebar-collapsed .sidebar-brand .ai-shared-brand__name,
html[data-sidebar-collapsed="true"] .sidebar-brand .ai-shared-brand__name,
.sidebar-collapsed .ai-sidebar-brand .ai-shared-brand__name,
html[data-sidebar-collapsed="true"] .ai-sidebar-brand .ai-shared-brand__name,
html[data-sidebar-state="collapsed"] .ai-sidebar-brand .ai-shared-brand__name {
  display: none;
}
