/* BioStudioAI lockup. Only .brand-mark rotates; the wordmark stays still. */

.brand,
.bs-logo {
  --brand-size: 40px;
  --bs-logo-size: var(--brand-size);
  display: inline-flex;
  align-items: center;
  gap: calc(var(--brand-size) * 0.22);
  line-height: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: inherit;
}

.brand-mark,
.bs-logo-mark {
  display: block;
  width: var(--brand-size);
  height: var(--brand-size);
  flex: none;
  overflow: visible;
  transform-origin: 50% 50%;
}

.brand.spin .brand-mark,
.bs-logo.spin .bs-logo-mark {
  animation: brandSpin 16s linear infinite;
}

.brand-word,
.bs-logo-word {
  font-family: Manrope, "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  font-size: calc(var(--brand-size) * 0.42);
  letter-spacing: -0.035em;
  white-space: nowrap;
  color: #0b1b33;
}

.brand-ai,
.bs-logo-word .ai,
.brand-word .brand-ai {
  color: #14b8a6;
}

.brand.invert .brand-word,
.brand.invert .bs-logo-word,
.bs-logo.invert .brand-word,
.bs-logo.invert .bs-logo-word {
  color: #ffffff;
}

.brand.invert .brand-ai,
.brand.invert .bs-logo-word .ai,
.bs-logo.invert .brand-ai,
.bs-logo.invert .bs-logo-word .ai {
  color: #2dd4bf;
}

.brand.mark-only .brand-word,
.brand.mark-only .bs-logo-word,
.bs-logo.mark-only .brand-word,
.bs-logo.mark-only .bs-logo-word {
  display: none;
}

@keyframes brandSpin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .brand-mark,
  .bs-logo-mark,
  .taskbar-start .icon svg,
  .tb-icon-btn.taskbar-start .icon svg,
  .taskbar-start .icon svg {
    animation: none;
  }
}

.boot-screen .brand,
.boot-screen .bs-logo {
  --brand-size: 56px;
}

.auth-brand .brand,
.auth-card .brand,
.auth-brand .brand,
.auth-card .brand,
.auth-brand .bs-logo,
.auth-card .bs-logo {
  --brand-size: 44px;
  margin-bottom: 4px;
}

.auth-loading-visual .brand,
.auth-loading-visual .brand,
.auth-loading-visual .bs-logo {
  --brand-size: 88px;
}

.about-logo,
.about-logo {
  display: flex;
  justify-content: center;
  font-size: inherit;
  filter: none;
}

.about-logo .brand,
.about-logo .bs-logo {
  --brand-size: 52px;
}

.bs1-rail-logo,
.bs1-rail-logo,
.bs2-rail-logo,
.bs2-rail-logo {
  background: none !important;
  box-shadow: none !important;
  width: auto !important;
  height: auto !important;
  margin-bottom: 10px;
  color: inherit;
}

.bs1-rail-logo .brand,
.bs2-rail-logo .brand,
.bs1-rail-logo .bs-logo,
.bs2-rail-logo .bs-logo {
  --brand-size: 32px;
}

.bsx-brand .brand,
.bsx-brand .brand-mark,
.bsx-brand .bs-logo,
.bsx-brand .bs-logo-mark {
  --brand-size: 22px;
}

.option-icon .brand,
.theme-card .brand,
.option-icon .bs-logo,
.theme-card .bs-logo {
  --brand-size: 28px;
}

.taskbar-start .icon,
.tb-icon-btn.taskbar-start .icon,
.taskbar-start .icon {
  color: unset;
}

.taskbar-start .icon svg,
.tb-icon-btn.taskbar-start .icon svg,
.taskbar-start .icon svg {
  animation: brandSpin 16s linear infinite;
}
