/* Marque header — texte net (le PNG complet est illisible à petite taille) */
.ctp-brand-link {
  text-decoration: none;
  color: inherit;
}

.ctp-brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  line-height: 1.1;
}

.ctp-brand-wordmark {
  font-family: "Public Sans", system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.ctp-brand-ao {
  color: #131b2e;
}

.ctp-brand-focus {
  color: #e45405;
}

.ctp-brand-tagline {
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1.25;
  color: #5b6472;
  max-width: 12.5rem;
}

@media (min-width: 640px) {
  .ctp-brand-wordmark {
    font-size: 1.5rem;
  }

  .ctp-brand-tagline {
    max-width: 15rem;
  }
}

.ctp-header-context {
  display: none;
  min-width: 0;
  padding-left: 0.75rem;
  border-left: 1px solid #e2e8f0;
}

@media (min-width: 640px) {
  .ctp-header-context {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
  }
}

.user-menu-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 16px;
  padding: 0.75rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 800;
  color: #101522;
  text-decoration: none;
  transition: 0.16s ease;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: Inter, system-ui, sans-serif;
  width: 100%;
  box-sizing: border-box;
}

.user-menu-item:hover,
.user-menu-item:focus-visible {
  background: #fff0e8;
  color: #e45405;
  outline: none;
}

.user-menu-item .material-symbols-outlined {
  font-size: 20px;
}

.user-menu-item--logout {
  color: #101522;
}

.user-menu-item--logout:hover,
.user-menu-item--logout:focus-visible {
  color: #ba1a1a;
  background: #fff1f1;
}

.ctp-plan-badge--free {
  background: #f1f5f9;
  color: #5b6472;
}

.ctp-plan-badge--starter {
  background: #eef4ff;
  color: #1e3a5f;
}

.ctp-plan-badge--pro {
  background: #fff0e8;
  color: #e45405;
}

.ctp-plan-badge--enterprise {
  background: #131b2e;
  color: #fff;
}

#ctp-header-guest.is-visible {
  display: flex;
}

#user-menu-root.is-visible {
  display: block;
}

#user-menu.is-open {
  display: block;
}

@media (max-width: 640px) {
  #user-menu {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 72px;
    width: auto;
  }
}
