/* t6093u/t6094u (STAGING): language select = slide-in panel that ALWAYS opens from the RIGHT edge to the left (also for RTL languages; only the text direction inside follows dir). Shared by index.html and js/lang-switch.js. No external resources. */
.lp-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(15,12,30,.5);z-index:2147483000;opacity:0;visibility:hidden;transition:opacity .22s ease,visibility 0s linear .22s}
.lp-overlay.open{opacity:1;visibility:visible;transition:opacity .22s ease}
.lp-panel{direction:ltr;text-align:left;position:fixed;top:0;bottom:0;right:0;left:auto;width:min(340px,92vw);box-sizing:border-box;background:#fff;color:#15161a;z-index:2147483001;display:flex;flex-direction:column;box-shadow:-12px 0 36px rgba(15,12,30,.22);transform:translateX(100%);visibility:hidden;transition:transform .24s ease,visibility 0s linear .24s;padding:0;overflow:hidden}
.lp-panel.open{transform:translateX(0);visibility:visible;transition:transform .24s ease}
.lp-head{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 14px 8px 18px;direction:ltr}
.lp-title{font-family:inherit;font-weight:800;font-size:1.05rem;line-height:1.2;margin:0;flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lp-close{flex:0 0 auto;width:40px;height:40px;border:1px solid #d9d3f5;border-radius:12px;background:#fff;color:#15161a;font-size:1.15rem;line-height:1;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:0}
.lp-close:hover{background:#f3efff}
.lp-searchrow{flex:0 0 auto;padding:0 14px 10px}
.lp-search{width:100%;box-sizing:border-box;height:40px;min-height:40px;border:1px solid #9ca3af;border-radius:12px;padding:0 12px;font-family:inherit;font-size:16px;background:#fff;color:#15161a}
.lp-list{flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:0 8px calc(14px + env(safe-area-inset-bottom,0px))}
.lp-item{display:flex;gap:10px;align-items:center;width:100%;box-sizing:border-box;border:0;background:transparent;color:inherit;font-family:inherit;font-weight:600;font-size:.95rem;line-height:1.2;text-align:start;padding:10px;border-radius:10px;cursor:pointer;min-height:44px}
.lp-item:hover,.lp-item:focus-visible{background:#f3efff;outline:none}
.lp-item.cur{background:#ece6ff}
.lp-item img{width:24px;height:16px;object-fit:cover;border-radius:2px;box-shadow:0 0 0 1px rgba(0,0,0,.12);flex:0 0 auto}
.lp-btn-flag{margin-inline-end:6px;vertical-align:-2px}
#langPanel.lp-panel{max-height:none}   /* overrides the old #langPanel max-height of css/demo-mobile.css */

/* t6095u: labels inside the panel stay LTR / left-aligned in every language (RTL languages too) */
.lp-panel,.lp-panel *{direction:ltr}.lp-title,.lp-item,.lp-search{text-align:left}
