.km-language-open{overflow:hidden}
.km-language-overlay{position:fixed;inset:0;z-index:99990;display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));height:100%;height:100dvh;background:rgba(5,23,37,.36)}
.km-language-dialog{position:relative;width:280px;max-width:100%;max-height:100%;overflow:auto;background:#fff;border-radius:12px;box-shadow:0 8px 30px #00172535;color:#0c3047;font-family:Arial,sans-serif;text-align:left;box-sizing:border-box;font-style:normal}
.km-language-dialog *{box-sizing:border-box;font-style:normal!important;letter-spacing:normal;text-transform:none}
.km-language-heading{background:#0c3047;color:#fff;display:flex;align-items:center;padding:18px 44px 18px 18px}
.km-language-heading p{margin:0;font-size:14px;font-weight:400;line-height:1.4;color:inherit}
.km-language-close{position:absolute;right:7px;top:7px;width:44px;height:44px;background:none;border:0;cursor:pointer;padding:10px;display:flex;align-items:center;justify-content:center}
.km-language-close span{display:flex;align-items:center;justify-content:center;width:24px;height:24px;flex-shrink:0;border-radius:50%;background:#fff;color:#0c3047;box-shadow:0 2px 5px #0005,inset 0 1px 0 #fff;font-size:21px;line-height:1;font-weight:400}
.km-language-body{padding:18px;text-align:center}
.km-language-primary{display:flex;align-items:center;justify-content:center;gap:9px;width:calc(100% - 24px);margin-inline:auto;min-height:35px;padding:7px 13px;background:#edf2f5;border:1px solid #a8b8c3;border-radius:4px;box-shadow:0 1px 2px #092a4120;color:#0c3047;font-size:13px;font-weight:600;cursor:pointer}
.km-language-primary:hover{background:#e1eaf0}
.km-language-stay{display:inline-block;padding:13px 4px 9px;color:#0c3047;font-size:11px;line-height:1.4;text-decoration:underline}
.km-language-other{margin:0;font-size:11px;line-height:1.4;font-weight:400;color:#687986}
.km-language-flags{display:flex;justify-content:center;gap:8px}
.km-language-flags button{display:flex;align-items:center;justify-content:center;width:44px;height:34px;border:0;border-radius:0;background:transparent;padding:4px;cursor:pointer}
.km-language-dialog img{display:block;width:32px;height:20px;object-fit:fill;border:0!important;border-radius:0!important;box-shadow:none!important;clip-path:none!important}
.km-language-flags button:hover{background:#edf2f5}
.km-language-dialog button:focus-visible,.km-language-dialog a:focus-visible{outline:2px solid #597687;outline-offset:2px}
@media(max-height:320px){.km-language-stay{padding-top:11px;padding-bottom:7px}.km-language-other{margin-top:0}}

/* The same language controls move to the end of the compact navigation. */
.site-header .language-switcher img{border-radius:0}
@media(max-width:1159px){
  .site-nav > .language-switcher{display:flex;align-self:stretch;justify-content:flex-start;gap:8px;margin-top:10px;padding-top:10px;border-top:1px solid rgba(255,255,255,.16)}
  .site-nav > .language-switcher button{width:44px;height:42px;padding:8px 6px}
  .site-nav > .language-switcher img{width:30px;height:19px;border-radius:0}
  .site-header.is-open .site-nav{max-height:calc(100dvh - var(--header-h,82px));overflow-y:auto}
}

.km-language-stay::after{content:"→";display:inline-block;margin-left:5px;text-decoration:none}

.km-language-dialog:focus{outline:none}
