.lml-switcher { display: inline-flex; align-items: center; gap: 3px; vertical-align: middle; font-family: var(--dv-sans, var(--rdm-font-family-base, inherit)); }
.lml-switcher a.lml-language { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 44px; min-height: 44px; padding: 4px 7px; border: 1px solid transparent; border-radius: 999px; color: inherit; background: transparent; text-decoration: none; font-size: 11px; font-weight: 500; line-height: 1; letter-spacing: .04em; box-sizing: border-box; transition: background-color .18s, border-color .18s; }
.lml-switcher a.lml-language::after { display: none; }
.lml-switcher a.lml-language:hover, .lml-switcher a.lml-language[aria-current] { background: #72518b0d; border-color: var(--dv-line, #d8c9e2); }
.lml-switcher a.lml-language:focus-visible { outline: 3px solid var(--rdm-focus-ring-color, #72518b); outline-offset: 3px; }
.lml-switcher img { display: block; width: var(--lml-flag-size, 24px); height: auto; max-width: none; border-radius: 3px; box-shadow: 0 0 0 1px #00000012; }
.lml-menu-item { display: flex; align-items: center; list-style: none; }
.rdmmb-wp-menu .lml-menu-item--rdm-builder { flex: 0 0 auto; align-self: center; }
.rdmmb-wp-menu .lml-menu-item--rdm-builder .lml-current { min-height: 38px; padding: 4px 8px; }
.rdmmb-wp-menu .lml-switcher a.lml-language { display: inline-flex; color: #352540; font-size: 12px; line-height: 1; text-transform: none; white-space: nowrap; padding: 10px 12px; }
.lml-logo-host { position: relative; }
.lml-builder-logo-selector { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; display: inline-flex; line-height: 1; }
.lml-builder-logo-selector[hidden], .rdmmb-wp-menu .lml-menu-item--docked { display: none; }
.lml-builder-logo-selector .lml-current { min-height: 38px; padding: 4px 8px; }
.lml-dropdown { position: relative; display: inline-block; color: var(--dv-ink, #352540); font-family: var(--dv-sans, inherit); }
.lml-current { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 6px 10px; box-sizing: border-box; border: 1px solid var(--dv-line, #ded3e5); border-radius: 999px; background: var(--dv-paper, #fcfaf7); cursor: pointer; list-style: none; font-size: 12px; font-weight: 500; line-height: 1; white-space: nowrap; }
.lml-current::-webkit-details-marker { display: none; }
.devi-menu .lml-dropdown--flag .lml-current { min-width: 44px; padding-inline: 4px; }
.devi-menu .lml-dropdown--flag .lml-current img { width: 16px; }
.lml-current img { width: var(--lml-flag-size, 24px); height: auto; border-radius: 3px; }
.lml-current:focus-visible { outline: 3px solid #72518b; outline-offset: 3px; }
.lml-chevron { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); margin-inline: 3px; }
.lml-dropdown[open] > .lml-current { background: var(--dv-lavender, #eee5f6); }
.lml-dropdown[open] .lml-chevron { transform: translateY(2px) rotate(225deg); }
.lml-dropdown > .lml-switcher { position: absolute; top: calc(100% + 8px); right: 0; z-index: 9991; display: flex; flex-direction: column; align-items: stretch; min-width: 116px; width: max-content; max-width: calc(100vw - 32px); padding: 6px; border: 1px solid var(--dv-line, #ded3e5); border-radius: 16px; background: var(--dv-paper, #fcfaf7); box-shadow: 0 10px 30px #35254020; }
.lml-dropdown:not([open]) > .lml-switcher { display: none; }
.lml-dropdown .lml-switcher a.lml-language { justify-content: flex-start; padding-inline: 12px; border-radius: 10px; }
.lml-mobile { display: none; }
.lml-floating .lml-dropdown > .lml-switcher { top: auto; bottom: calc(100% + 8px); }
.lml-floating { position: fixed; z-index: 9990; bottom: calc(24px + env(safe-area-inset-bottom)); padding: 5px; border: 1px solid #dfd5e6; border-radius: 999px; background: var(--dv-paper, #fcfaf7); color: #372741; box-shadow: 0 6px 26px #2613311c; }
.lml-floating--right { right: 20px; }
.lml-floating--left { left: 20px; }
.lml-floating--left .lml-dropdown > .lml-switcher { left: 0; right: auto; }
.lml-notice { position: fixed; z-index: 10000; top: calc(var(--devi-admin-offset, 0px) + var(--devi-header-height, 80px) + 12px); right: 0; left: 0; width: calc(100% - 32px); max-width: 560px; box-sizing: border-box; margin: 0 auto; padding: 12px 16px; border-inline-start: 3px solid #a58cb6; border-radius: 4px; background: #f5f0f8; color: #51415c; box-shadow: 0 6px 26px #3525401c; font: 400 12px/1.6 var(--dv-sans, sans-serif); opacity: 0; transform: translateY(-6px); transition: opacity .24s ease, transform .24s ease; pointer-events: none; }
.lml-notice[hidden] { display: none; }
.lml-notice.lml-notice--visible { opacity: 1; transform: translateY(0); }
body.admin-bar .lml-notice { top: calc(var(--wp-admin--admin-bar--height, 32px) + var(--devi-header-height, 80px) + 12px); }
.lml-preloader { position: fixed; inset: 0; z-index: 99999; display: flex; flex-direction: column; justify-content: center; align-items: center; background: var(--lml-loader-bg); color: var(--lml-loader-accent); font-family: inherit; }
.lml-preloader.lml-transition-overlay { align-content: center; gap: 20px; }
.lml-preloader-indicator { width: 30px; height: 30px; border: 2px solid currentColor; border-inline-end-color: transparent; border-radius: 50%; animation: lml-spin 1s linear infinite; }
html.lml-navigating .lml-transition-overlay, html.lml-navigating #rdm-preloader.lml-transition-overlay[hidden] { display: grid !important; visibility: visible !important; opacity: 0 !important; animation: none !important; pointer-events: auto; transition: opacity .18s ease !important; }
html.lml-navigating .lml-transition-overlay.lml-visible { opacity: 1 !important; }
.lml-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@keyframes lml-spin { to { transform: rotate(360deg); } }
@media (max-width: 767px) { .devi-menu .lml-menu-item { justify-content: center; padding-block: 8px; } .lml-floating { bottom: calc(90px + env(safe-area-inset-bottom)); } }
@media (max-width: 767px) {
	.lml-mobile { display: block; position: fixed; right: 16px; bottom: calc(105px + env(safe-area-inset-bottom)); z-index: 9990; }
	.lml-mobile .lml-current { box-shadow: 0 3px 15px #35254014; }
	.lml-mobile img { width: min(var(--lml-flag-size, 24px), 24px); }
	.lml-mobile .lml-switcher { top: auto; bottom: calc(100% + 8px); }
	.devi-header-inner > .lml-mobile--header { position: static; margin-left: auto; z-index: auto; flex: 0 0 auto; }
	.lml-mobile--header .lml-current { box-shadow: none; }
	.lml-mobile--header .lml-switcher { top: calc(100% + 8px); bottom: auto; }
	.devi-header-inner:has(> .lml-mobile--header) { gap: 10px; }
	.lml-menu-item.lml-menu-item--mobile-external { display: none; }
	.lml-mobile--header + .devi-menu-toggle { flex-shrink: 0; }
}
@media (max-width: 359px) {
	.devi-site #masthead .devi-header-inner:has(> .lml-mobile--header) .devi-logo { width: 112px; }
	.devi-header-inner:has(> .lml-mobile--header) { gap: 6px; padding-inline: 16px; }
}
/* Keep the mobile selector beside the existing RDM menu button, including landscape. */
.lml-mobile.lml-mobile--rdm-header { display: inline-flex; position: static; flex: 0 0 auto; margin: 0; z-index: 40; }
.lml-mobile--rdm-header .lml-current { min-width: 44px; min-height: 44px; padding: 6px; gap: 4px; box-shadow: none; }
.lml-mobile--rdm-header .lml-current img { width: 20px; }
.lml-mobile--rdm-header .lml-current > span:not(.lml-chevron) { display: none; }
.lml-mobile--rdm-header .lml-switcher { top: calc(100% + 8px); bottom: auto; }
.lml-mobile-host .lml-menu-item--mobile-external { display: none; }
.mh-header.lml-mobile-host, .lml-mobile-host > .site-header__inner { gap: 8px; }
.mh-header > .lml-mobile--rdm-header, .site-header__inner > .lml-mobile--rdm-header { margin-inline-start: auto; }
.mh-header .lml-mobile--rdm-header .lml-current { color: var(--mh-ink, inherit); background: var(--rdm-color-background, #fcfaf7); border-color: var(--mh-line, #ded3e5); }
.rdmmb-wp-menu:has(> .lml-mobile--rdm-header) { display: flex; flex-wrap: wrap; align-items: center; justify-content: var(--rdmmb-align, center); gap: 8px; }
.rdmmb-wp-menu:has(> .lml-mobile--rdm-header) > .rdmmb-wp-menu__panel { flex-basis: 100%; }
@media (max-width: 359px) {
	.mh-header.lml-mobile-host { gap: 4px; }
	.mh-header .lml-mobile--rdm-header .lml-current { padding-inline: 4px; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) { .lml-switcher *, .lml-preloader *, .lml-notice, #rdm-preloader, #rdm-preloader * { animation: none !important; transition: none !important; } .lml-notice { transform: none; } }
