.language-bar{display:flex;justify-content:flex-end;padding:10px 20px;background:#103b61;color:white;font:600 14px system-ui,sans-serif;position:relative;z-index:2}
.language-bar button{width:auto;margin:0;padding:9px 14px;border:1px solid #adc8e1;border-radius:12px;background:#fff;color:#103b61;font:inherit;min-height:42px;cursor:pointer}.language-bar button:focus-visible,.language-choices button:focus-visible{outline:3px solid #ff8a00;outline-offset:3px}
body:not(.welcome-mode):not(.member-mode)>.language-bar,body.profile-mode>.language-bar{display:none}
.language-dialog{font:16px system-ui,sans-serif;width:min(460px,calc(100vw - 40px));box-sizing:border-box;max-height:85vh;overflow:auto;padding:24px;border:0;border-radius:24px;color:#132f4b;background:#fff}
.language-dialog::backdrop{background:#06182da8}.language-dialog h2{font-size:24px;margin:0 0 18px}.language-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px}.language-choices button,.language-dialog>button{box-sizing:border-box;font:600 16px system-ui,sans-serif;padding:14px;border:1px solid #c5d3e0;border-radius:12px;background:#e9eff5;color:#103b61;cursor:pointer;width:100%;margin:0;overflow-wrap:anywhere}.language-choices button[aria-pressed=true]{background:#103b61;color:white;border-color:#103b61}.language-dialog>button{background:#fff}
.language-reference-note{font:14px system-ui,sans-serif;line-height:1.5;background:#fff1d6;color:#103b61;padding:12px 20px;margin:0}
html[dir=rtl] body{text-align:start}html[dir=rtl] .home-hero,html[dir=rtl] .home-brand,html[dir=rtl] .home-row{direction:rtl}
html[dir=rtl] .notice{border-left:0;border-right:5px solid #ff8a00}html[dir=rtl] .thread-list button{text-align:right}
input[type=email],input[type=tel],input[type=password]{direction:ltr;text-align:start}textarea{unicode-bidi:plaintext}
@media(max-width:480px){.language-bar{padding:8px 12px;font-size:13px}.language-dialog{padding:20px}.language-choices{gap:8px}}
