/* ToucHigh language menu — shared by every page (see tools/langmenu.py) */
.lmenu{position:relative;display:inline-block;font-family:inherit}
.lmenu .lm-btn{display:inline-flex;align-items:center;gap:6px;border:1px solid #C4C7CF;border-radius:999px;background:#fff;color:#191B23;font:600 13px/1 inherit;font-family:inherit;padding:7px 12px;cursor:pointer;white-space:nowrap}
.lmenu .lm-btn:hover,.lmenu .lm-btn[aria-expanded="true"]{border-color:#191B23}
.lmenu .lm-btn:focus-visible,.lmenu .lm-list a:focus-visible{outline:2px solid #FF642D;outline-offset:2px}
.lmenu .lm-btn svg{width:15px;height:15px;flex:none}
.lmenu .lm-btn .lm-car{font-size:10px;color:#6C6E79}
.lmenu .lm-list{position:absolute;top:calc(100% + 8px);right:0;z-index:300;list-style:none;margin:0;padding:8px;background:#fff;border:1px solid #E0E1E9;border-radius:14px;box-shadow:0 24px 60px rgba(25,27,35,.16);display:grid;grid-template-columns:repeat(2,minmax(128px,1fr));gap:2px;min-width:290px;max-height:70vh;overflow:auto}
.lmenu .lm-list[hidden]{display:none}
.lmenu .lm-list a{display:block;padding:8px 10px;border-radius:8px;color:#191B23;font-size:14px;font-weight:500;text-decoration:none;line-height:1.3}
.lmenu .lm-list a:hover{background:#F4F5F9}
.lmenu .lm-list a[aria-current="page"]{background:#191B23;color:#fff}
.lmenu .lm-list li.lm-off a{color:#A9ABB6}
html[dir="rtl"] .lmenu .lm-list{right:auto;left:0}
@media (max-width:640px){.lmenu .lm-list{position:fixed;top:66px;left:12px;right:12px;min-width:0}.lmenu .lm-btn .lm-txt{max-width:5em;overflow:hidden;text-overflow:ellipsis}}
