.chm-switcher{font:inherit}
.chm-switcher ul{display:flex;flex-wrap:wrap;gap:.5rem;list-style:none!important;padding:0!important;margin:0!important}
.chm-switcher li{margin:0!important;padding:0!important}
.chm-switcher a{display:inline-flex;align-items:center;gap:.4em;padding:.35em .65em;border:1px solid currentColor;border-radius:.35em;text-decoration:none}
.chm-switcher a[aria-current=true]{font-weight:700;text-decoration:underline;text-underline-offset:.2em}
.chm-switcher a:focus-visible,.chm-switcher summary:focus-visible{outline:3px solid currentColor;outline-offset:3px}
.chm-switcher--no-names a{padding:.3em .4em}
.chm-flag{display:inline-block;width:20px;height:14px;border-radius:2px;box-shadow:0 0 0 1px rgba(0,0,0,.15);vertical-align:-2px;flex:none}
.chm-flag--code{width:auto;height:auto;padding:0 .3em;font-size:.75em;line-height:1.4;box-shadow:0 0 0 1px currentColor}
.chm-switcher--dropdown{position:relative;display:block}
.chm-switcher--dropdown details{position:relative;display:inline-block}
.chm-switcher--dropdown summary{display:inline-flex;align-items:center;gap:.4em;padding:.35em .65em;border:1px solid currentColor;border-radius:.35em;cursor:pointer;list-style:none}
.chm-switcher--dropdown summary::-webkit-details-marker{display:none}
.chm-switcher--dropdown summary::after{content:"";width:.45em;height:.45em;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);margin-left:.2em}
.chm-switcher--dropdown ul{position:absolute;z-index:999;top:calc(100% + 4px);left:0;flex-direction:column;gap:0;min-width:100%;background:#fff;color:#111;border:1px solid rgba(0,0,0,.15);border-radius:.35em;box-shadow:0 8px 24px rgba(0,0,0,.15);padding:.25em!important}
.chm-switcher--dropdown ul a{border:0;width:100%;white-space:nowrap;color:#111}
.chm-switcher--dropdown ul a:hover{background:rgba(0,0,0,.06)}
.chm-switcher .screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.chm-menu-item{list-style:none}
.chm-lang-item>a{display:inline-flex;align-items:center;gap:.4em}
@media (prefers-reduced-motion:no-preference){.chm-switcher a,.chm-switcher summary{transition:background-color .15s}}
