.xp-lang { position: relative; flex: 0 0 auto; color: #173b4b; font: 600 12px/1.4 Inter, Arial, sans-serif; }
.xp-lang summary { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px; border: 1px solid #dfe6e7; border-radius: 10px; cursor: pointer; list-style: none; background: #fefefb; }
.xp-lang summary::-webkit-details-marker { display: none; }
.xp-lang ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 1100; min-width: 148px; margin: 0; padding: 5px; border: 1px solid #dfe6e7; border-radius: 10px; list-style: none; background: #fefefb; }
.xp-lang a { display: block; padding: 11px 12px; border-radius: 10px; color: #173b4b; text-decoration: none; }
.xp-lang a:hover { color: #173b4b; background: #edf4f6; }
.xp-lang a.is-active { color: #173b4b; background: #faa002; }
.xp-lang :is(summary, a):focus-visible { outline: 3px solid #58899d; outline-offset: 3px; }
.xp-lang--footer ul { top: auto; bottom: calc(100% + 6px); }
.footer-legal:has(.xp-lang) { align-items: center; }
.site-header .nav-wrap:has(.xp-lang) { gap: 18px; }
@media (max-width: 420px) {
  .site-header .nav-wrap:has(.xp-lang) { gap: 10px; }
  .nav-actions:has(.xp-lang) { gap: 4px; }
}
