/* PowerWEB shared flag/code language selector. */
.pwm-language{position:relative;z-index:20;flex:none;color:#193321}
.pwm-language>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;min-height:40px;min-width:82px;padding:8px 11px;border:1px solid #19332124;border-radius:8px;background:#ffffff35;font-size:11px;font-weight:550;transition:background .2s,color .2s}
.pwm-language>summary::-webkit-details-marker{display:none}
.pwm-language>summary:hover,.pwm-language[open]>summary{background:#1933210b}
.pwm-current-flag svg,.pwm-option-flag svg{width:18px;height:12px;border-radius:2px;overflow:hidden;box-shadow:0 0 0 1px #ffffff24}
.pwm-language-code{letter-spacing:.08em}
.pwm-language>summary>i{width:5px;height:5px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(45deg) translateY(-1px);opacity:.7;transition:transform .2s}
.pwm-language[open]>summary>i{transform:rotate(225deg) translate(-1px,-1px)}
.pwm-language-panel{position:absolute;right:0;top:calc(100% + 9px);width:176px;padding:4px;border:1px solid #72efbe24;border-radius:12px;background:linear-gradient(145deg,#173023,#10251a);box-shadow:0 10px 30px #0004,inset 0 1px #ffffff09;transform-origin:top right}
.pwm-language:not([open]) .pwm-language-panel{display:none}
.pwm-language-panel a{display:flex;align-items:center;gap:10px;padding:0 10px;min-height:46px;border-radius:8px;text-decoration:none;font-size:12px;color:#ecf2e8}
.pwm-language-panel a>span:nth-child(2){flex:1}
.pwm-language-panel a:hover,.pwm-language-panel a:focus-visible{background:#ffffff0d}
.pwm-language-check{visibility:hidden;width:9px;height:5px;border-left:1.5px solid #c9ff94;border-bottom:1.5px solid #c9ff94;transform:rotate(-45deg)}
.pwm-language-panel [aria-current="true"] .pwm-language-check{visibility:visible}
.pwm-language summary:focus-visible,.pwm-language-panel a:focus-visible{outline:2px solid #53734b;outline-offset:4px}
.pwm-language-panel a:focus-visible{outline-color:#c9ff94;outline-offset:-2px}
.pwm-language-panel{max-height:calc(100vh - 110px);max-height:min(400px,calc(100dvh - 110px));overflow-y:auto;overscroll-behavior:contain;scroll-padding:4px;scrollbar-width:thin}
