#ys-language-switch{position:fixed!important;bottom:calc(110px + env(safe-area-inset-bottom, 0px))!important;right:14px!important;z-index:99999!important;display:flex!important;align-items:center!important;gap:6px!important;box-sizing:border-box!important;width:110px!important;height:48px!important;min-width:110px!important;min-height:48px!important;max-width:110px!important;max-height:48px!important;margin:0!important;padding:4px 5px 4px 12px!important;border:1px solid rgba(255,255,255,.5)!important;border-radius:999px!important;background:#284838!important;color:#fff!important;box-shadow:0 5px 18px #12291e44!important;font:700 12px/1 'DM Sans',Arial,sans-serif!important;letter-spacing:.05em!important;transform:none!important}#ys-language-switch .ys-lang-current{flex:1!important;text-align:center!important;white-space:nowrap!important;font:700 12px/1 Arial,sans-serif!important}#ys-language-switch button{box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 38px!important;width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;max-width:38px!important;max-height:38px!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:#d8e9d9!important;color:#1b3926!important;box-shadow:none!important;font:700 12px/1 Arial,sans-serif!important;letter-spacing:0!important;cursor:pointer!important}#ys-language-switch button:focus-visible{outline:3px solid #fff;outline-offset:2px}
/* Mobile: place language control on its own row below the Menu button, never over the logo. Desktop unchanged. */
@media(max-width:760px){body:has(header.ys-site-header){position:relative}body:has(header.ys-site-header) header.ys-site-header{padding-bottom:72px!important}body:has(header.ys-site-header) #ys-language-switch{position:absolute!important;top:108px!important;right:18px!important;bottom:auto!important;left:auto!important;z-index:45!important;transform:none!important}}
#ys-language-switch.ys-language-pair{padding:4px 5px!important;gap:4px!important}#ys-language-switch.ys-language-pair button{flex:1 1 0!important;width:46px!important;min-width:0!important;max-width:46px!important;border-radius:999px!important}#ys-language-switch.ys-language-pair button:not(.is-active){background:transparent!important;color:#fff!important}#ys-language-switch.ys-language-pair button.is-active{background:#d8e9d9!important;color:#1b3926!important}
/* v386: language switch belongs to the navigation layout, not over the brand */
#ys-language-switch.ys-lang-in-header{position:static!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;z-index:1!important;transform:none!important;margin:0!important}
@media(max-width:760px){body:has(header.ys-site-header) header.ys-site-header{padding-bottom:14px!important}.ys-site-header .ys-site-top:has(> #ys-language-switch){display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;gap:0 10px!important;align-items:center!important}.ys-site-header .ys-site-top > .ys-site-brand{grid-column:1!important;grid-row:1!important;min-width:0!important}.ys-site-header .ys-site-top > .ys-site-menu-toggle{grid-column:2!important;grid-row:1!important;justify-self:end!important}.ys-site-header .ys-site-top > #ys-language-switch{grid-column:2!important;grid-row:2!important;justify-self:end!important;height:38px!important;min-height:38px!important;max-height:38px!important}.ys-site-header .ys-site-top > #ys-language-switch button{height:30px!important;min-height:30px!important;max-height:30px!important}.ys-site-header .ys-site-brand>span{font-size:clamp(21px,5.8vw,31px)!important;overflow:visible!important;white-space:nowrap!important}.ys-site-header .ys-site-brand small{font-size:9px!important;letter-spacing:1.1px!important}.ys-site-header .ys-site-brand img{width:92px!important;height:92px!important}@media(max-width:390px){.ys-site-header .ys-site-brand img{width:82px!important;height:82px!important}.ys-site-header .ys-site-brand>span{font-size:clamp(19px,5.5vw,24px)!important}}}

/* Language selection lives only inside a header menu, never over page content. */
html body #ys-language-switch:not(header .ys-site-links #ys-language-switch):not(header .ys-language-menu #ys-language-switch){display:none!important}
html body header .ys-site-links #ys-language-switch,html body header .ys-language-menu #ys-language-switch{position:static!important;inset:auto!important;transform:none!important;z-index:auto!important;box-shadow:none!important}
.ys-language-tools{display:flex;justify-content:flex-end;padding:12px 20px}
header .ys-language-menu{position:relative;display:inline-block;margin:0;padding:0;border:0;background:transparent;font:600 14px/1.4 Arial,sans-serif;color:#254c38}
header .ys-language-menu summary{list-style:none;cursor:pointer;padding:12px 16px;border:1px solid #c7d6bf;border-radius:14px;background:#e8efdf;color:#254c38;min-height:44px;box-sizing:border-box}
header .ys-language-menu summary::-webkit-details-marker{display:none}
header .ys-language-menu summary:focus-visible{outline:3px solid #527853;outline-offset:3px}
header .ys-language-menu .ys-language-menu-panel{position:absolute;right:0;top:calc(100% + 8px);width:240px;max-width:calc(100vw - 32px);padding:12px;border:1px solid #d4dfcd;border-radius:16px;background:#fffdf7;box-shadow:0 8px 24px #173b2520;z-index:1000}
html body header .ys-language-menu #ys-language-switch{display:flex!important;width:100%!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:44px!important;max-height:none!important;padding:4px!important;border-radius:12px!important;background:#e8efdf!important}
html body header .ys-language-menu #ys-language-switch button{width:auto!important;flex:1!important;min-width:0!important;max-width:none!important;height:44px!important;min-height:44px!important;max-height:none!important;font-size:14px!important}
@media print{html body .ys-language-menu,html body #ys-language-switch{display:none!important}}

header .ys-language-menu:not([open]) .ys-language-menu-panel{display:none!important}