.language-switcher{position:relative;flex:0 0 auto;color:#fff;font-family:inherit}
.language-switcher summary{display:flex;align-items:center;justify-content:center;gap:5px;min-width:58px;min-height:44px;padding:0 7px;border:1px solid #ffffff40;border-radius:5px;background:#ffffff0a;color:#fff;cursor:pointer;list-style:none;font-size:.7rem;font-weight:700}
.language-switcher summary::-webkit-details-marker{display:none}
.language-switcher summary::marker{content:''}
.language-switcher summary svg{width:16px!important;height:16px!important;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.language-switcher summary:hover,.language-switcher[open] summary{background:#ffffff20}
.language-switcher summary:focus-visible,.language-options button:focus-visible{outline:3px solid #ff8195;outline-offset:3px}
.language-options{position:absolute;top:calc(100% + 10px);right:0;width:184px;max-height:70svh;overflow:auto;display:grid;padding:7px;background:#fff;border:1px solid #d7e1ec;border-top:3px solid #e92946;border-radius:5px;box-shadow:0 12px 30px #06182c40;z-index:55}
.language-options button{font:inherit;font-size:.85rem;line-height:1.3;text-align:left;display:flex;align-items:center;gap:12px;width:100%;min-height:44px;padding:10px;border:0;border-radius:3px;background:#fff;color:#16314e;cursor:pointer}
.language-options button span{font-size:.68rem;font-weight:700;min-width:22px;color:#51667c}
.language-options button:hover{background:#edf3f8}
.language-options button[aria-pressed=true]{color:#bd1833;background:#fff0f3;font-weight:700}
html:not([lang=it]) :is(h1,h2,h3){overflow-wrap:anywhere;hyphens:auto}
html:not([lang=it]) .topbar nav a{font-size:.87rem}
@media(max-width:1199px){html:not([lang=it]) .topbar nav a{font-size:.94rem}}
@media(max-width:560px){.reference-style .topbar{gap:7px}.language-switcher summary{min-width:50px;padding:0 5px;gap:3px}.language-options{right:-45px}.reference-style .topbar .header-tools{gap:4px}}
@media(max-width:380px){.reference-style .topbar .brand img{width:82px}.reference-style .topbar{padding-inline:12px;gap:6px}.reference-style .topbar .header-tools a{width:34px}.language-switcher summary{min-width:46px}.reference-style .topbar .menu{width:40px;flex-basis:40px}}
@media(max-width:560px){html[lang=ru] #home>.hero .hero-copy h1{font-size:clamp(1.65rem,8.6vw,2.3rem);hyphens:none;overflow-wrap:normal;line-height:1.15}}
