.panel-language{position:relative;display:inline-block;flex:none}
.panel-language [hidden]{display:none!important}
.panel-language-trigger{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-width:60px;min-height:40px;padding:8px;border:1px solid var(--line);border-radius:9px;background:transparent;color:var(--navy);font:inherit;cursor:pointer}
.panel-language-trigger img,.panel-language-option img{display:block;flex:none;width:24px;height:18px;object-fit:cover;border-radius:1px}
.panel-language-chevron{width:6px;height:6px;border:solid currentColor;border-width:0 1px 1px 0;transform:rotate(45deg);margin-top:-3px}
.panel-language-list{position:absolute;top:calc(100% + 8px);left:0;z-index:100;width:min(210px,calc(100vw - 24px));max-height:min(420px,70vh);overflow-y:auto;overscroll-behavior:contain;padding:6px;background:#fff;color:#141537;border:1px solid #e5e4ec;border-radius:12px;box-shadow:0 12px 32px rgba(23,33,58,.16);scrollbar-gutter:stable}
.panel-language-option{display:flex;align-items:center;gap:12px;width:100%;min-height:40px;padding:10px 12px;border:0;border-radius:8px;background:transparent;color:inherit;font:inherit;font-size:15px;text-align:start;cursor:pointer;white-space:nowrap}
.panel-language-option[aria-selected="true"]{background:#f3f2f7;font-weight:700}
.panel-language-option:hover,.panel-language-option:focus-visible{background:#f3f2f7;outline:none}
.panel-language-trigger:focus-visible{outline:3px solid var(--coral);outline-offset:2px}
