/* Language switcher + single-locale universal import */
.nael-lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-sans, 'DM Sans', system-ui, sans-serif);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.nael-lang-switcher__btn {
  color: var(--text-muted, #6a6860);
  text-decoration: none;
  padding: 0.2rem 0.35rem;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}

.nael-lang-switcher__btn:hover {
  color: var(--text, #1a1917);
}

.nael-lang-switcher__btn.is-active {
  color: var(--text, #1a1917);
  background: rgba(0, 0, 0, 0.06);
}

.nael-lang-switcher__sep {
  color: var(--text-muted, #6a6860);
  opacity: 0.5;
  user-select: none;
}

.nav-end .nael-lang-switcher-wrap {
  display: flex;
  align-items: center;
  margin-right: 0.75rem;
}

.login-topbar--with-lang {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.login-topbar--with-lang .nael-lang-switcher-wrap {
  margin-left: auto;
}

.esp-header-right .nael-lang-switcher-wrap,
.pres-right .nael-lang-switcher-wrap {
  display: inline-flex;
  align-items: center;
  margin-right: 0.5rem;
}

.ob-nav .nael-lang-switcher-wrap {
  margin-left: auto;
  margin-right: 0.75rem;
}

.nael-lang-switcher-wrap--settings {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  z-index: 2;
}

.nael-locale-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  padding: 0.65rem 1rem;
  background: #1a1917;
  color: #f5f4f0;
  font-family: var(--font-sans, 'DM Sans', system-ui, sans-serif);
  font-size: 0.875rem;
}

.nael-locale-banner__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.nael-locale-banner__btn {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: inherit;
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font: inherit;
  cursor: pointer;
}

.nael-locale-banner__btn--primary {
  background: #f5f4f0;
  color: #1a1917;
  border-color: #f5f4f0;
}

.nael-locale-banner__dismiss {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.25rem;
}

html.nael-lang-en .universal-import-lang--fr,
html:not(.nael-lang-en) .universal-import-lang--en {
  display: none !important;
}

html.nael-lang-en .universal-import-lang--en,
html:not(.nael-lang-en) .universal-import-lang--fr {
  display: inline;
}

.sources-hub--intl .sources-section--fec-fr {
  order: 2;
  opacity: 0.85;
}

.sources-hub--intl .sources-section--ledger {
  order: 1;
}

.sources-hub--intl .sources-hub__intro--fr-only {
  display: none;
}

.sources-hub--intl .sources-hub__intro--intl {
  display: block;
}

.sources-hub__intro--intl {
  display: none;
}

.ob-ledger-import .fec-import {
  margin-top: 1rem;
}
