.language-switch{display:inline-flex;align-items:center;flex-shrink:0;border:1px solid #1c1c1c;background:#f2f1ee;font:700 11px/1.1 Inter,sans-serif;letter-spacing:.02em}
.language-switch a{display:flex;align-items:center;justify-content:center;min-width:38px;min-height:40px;padding:8px;color:#1c1c1c;text-decoration:none}
.language-switch a+a{border-inline-start:1px solid #1c1c1c}
.language-switch a[aria-current]{background:#1c1c1c;color:#fff}
.language-switch a:hover:not([aria-current]){background:#e5e3e0}
.language-switch a:focus-visible{outline:2px solid #d7261e;outline-offset:3px;position:relative;z-index:1}
.site-header .site-header__inner{grid-template-columns:auto minmax(0,1fr) auto auto auto}
html[lang="ru"] .legal-main h1{overflow-wrap:anywhere;hyphens:auto}
.header-language{display:none}
@media(max-width:58rem){
  .site-header .site-header__inner{grid-template-columns:minmax(0,1fr) auto auto auto auto;gap:6px}
  .site-header__inner>.language-switch{display:none}
  .header-language{display:block;position:relative}
  .header-language>summary{display:flex;align-items:center;justify-content:center;gap:3px;width:44px;height:44px;border:1px solid var(--ink);background:var(--surface);color:var(--ink);font:700 10px/1 Inter,sans-serif;list-style:none;cursor:pointer}
  .header-language>summary::-webkit-details-marker{display:none}
  .header-language>summary:focus-visible{outline:2px solid var(--signal);outline-offset:3px}
  .header-language[open]>summary{background:var(--ink);color:var(--surface)}
  .header-language__choices{position:absolute;right:0;top:calc(100% + 8px);padding:8px;border:1px solid var(--ink);background:var(--surface);z-index:2}
  .header-language__choices .language-switch a{min-width:52px;min-height:44px}
  .mobile-section-nav>summary{min-width:44px;justify-content:center;gap:8px}
  .mobile-section-nav .language-switch{display:flex;margin:8px 12px 12px;width:max-content}
  .mobile-section-nav .language-switch a{min-height:44px;min-width:50px;padding:8px;background:#f2f1ee}
  .mobile-section-nav .language-switch a[aria-current]{background:#1c1c1c;color:#fff}
}
@media(max-width:40rem){
  .site-header .mobile-section-nav>summary{width:44px;padding:0}
  .mobile-section-nav__label{display:none}
}
@media(max-width:360px){
  .site-header .site-header__inner{width:calc(100% - 1rem);gap:4px}
}
@media(min-width:58.001rem){.mobile-section-nav .language-switch{display:none}}
