#site-language-trigger { display: inline-flex; align-items: center; min-height: 40px; border-radius: 8px; color: #192e3e; text-decoration: none; }
#site-language-trigger:hover { background: #edf6fc; }
#site-language-trigger bdi { white-space: nowrap; }
.tr-language-dialog { box-sizing: border-box; width: min(640px, calc(100% - 32px)); max-width: none; max-height: 84vh; max-height: 84dvh; margin: 8vh auto auto; margin-top: 8dvh; padding: 24px; border: 1px solid #dbe5ed; border-radius: 18px; background: #fff; color: #192e3e; box-shadow: 0 24px 100px #152d4b40; font-family: Roboto, Arial, sans-serif; text-align: start; overflow-y: auto; overscroll-behavior: contain; }
.tr-language-dialog[open] { display: flex; flex-direction: column; overflow: hidden; }
.tr-language-dialog:not([open]) { display: none; }
.tr-language-dialog::backdrop { background: #10253799; backdrop-filter: blur(3px); }
html.tr-language-open { overflow: hidden; }
.tr-language-heading { display: flex; flex-shrink: 0; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.tr-language-heading h2 { margin: 0; font-size: 24px; line-height: 1.4; }
.tr-language-close { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 8px; background: #f0f4f7; color: #526775; cursor: pointer; }
.tr-language-close:hover { background: #e0eaf1; }
.tr-language-close svg { width: 20px; height: 20px; }
.tr-language-search { display: flex; flex-shrink: 0; align-items: center; gap: 10px; margin-bottom: 16px; padding: 0 12px; border: 1px solid #b9cbd8; border-radius: 10px; background: #fff; color: #526775; }
.tr-language-search svg { flex-shrink: 0; width: 20px; height: 20px; }
.tr-language-search input { box-sizing: border-box; width: 100%; min-width: 0; min-height: 46px; padding: 10px 0; border: 0; border-radius: 6px; background: transparent; color: #192e3e; font: inherit; font-size: 16px; }
.tr-language-search input::placeholder { color: #526775; opacity: 1; }
.tr-language-search input:placeholder-shown { direction: inherit; }
.tr-language-search:focus-within { outline: 3px solid #368dc8; outline-offset: 2px; }
.tr-language-search input:focus-visible { outline: none; }
.tr-language-empty { flex-shrink: 0; margin: 8px 3px; color: #526775; }
.tr-language-search[hidden], .tr-language-options a[hidden], .tr-language-empty[hidden] { display: none; }
.tr-language-options { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; min-height: 0; padding: 3px; overflow-y: auto; overscroll-behavior: contain; }
.tr-language-options a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; box-sizing: border-box; padding: 10px 12px; border: 1px solid transparent; border-radius: 8px; color: inherit; text-decoration: none; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.tr-language-options a:hover { background: #edf6fc; }
.tr-language-options a[aria-current] { border-color: #afcfe5; background: #eaf4fb; color: #176caa; font-weight: bold; }
.tr-language-label { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; }
.tr-language-code { flex-shrink: 0; padding: 1px 6px; border-radius: 4px; background: #f0f4f7; color: #526775; font-size: 12px; font-weight: 600; white-space: nowrap; }
.tr-language-check { flex-shrink: 0; }
#site-language-trigger:focus-visible, .tr-language-dialog :focus-visible { outline: 3px solid #368dc8; outline-offset: 2px; }
@media (max-width: 600px) {
    .tr-language-dialog { width: calc(100% - 16px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); margin-top: 12px; padding: 20px 16px; border-radius: 13px; }
    .tr-language-heading h2 { font-size: 22px; }
}
