.ui-language-switch { display:inline-flex; gap:3px; margin:0; padding:3px; border:1px solid var(--line); border-radius:10px; background:var(--surface); }
.ui-language-switch button { appearance:none; border:0; border-radius:7px; padding:7px 9px; background:transparent; color: var(--muted); font:inherit; font-size:12px; cursor:pointer; }
.ui-language-switch button[aria-pressed=true] { color: var(--accent-text); background:var(--accent-soft); font-weight:700; }
.ui-language-switch button:focus-visible { outline:2px solid #5856d6; outline-offset:2px; }
.ui-language-switch button:disabled { opacity:.55; cursor:wait; }
.public-header-actions { display:flex; gap:14px; align-items:center; }
.public-header-actions > a { white-space:nowrap; flex-shrink:0; }
.ui-language-footer { display:flex; justify-content:center; padding:20px; }
.sidebar > .ui-language-switch { margin-top:20px; }
.app-body > .ui-language-footer { display:none; }
@media(max-width:960px) { .app-body > .ui-language-footer { display:none; } .public-header-actions { gap:8px; } .ui-language-switch button { padding:7px; } }
.mobile-header-preferences{display:flex;align-items:center;gap:6px;margin-left:auto;margin-right:10px}
.mobile-header-preferences .ui-language-switch{padding:0}
.mobile-header-preferences .ui-language-switch button{width:40px;height:40px;padding:0;font-weight:700;color:var(--text)}
.mobile-header-preferences .theme-switch{width:40px;height:40px;padding:8px}
.mobile-header-preferences [data-theme-label]{display:none}
@media(max-width:400px){.mobile-header .motion-wordmark{font-size:20px}.mobile-header-preferences{margin-right:6px}}
@media(max-width:520px) { .public-header { gap:8px; } .public-header .motion-wordmark { font-size:20px; } .public-header-actions .ui-language-switch button { padding:6px 5px; font-size:11px; } }
@media(max-width:520px) { .public-body .public-header { flex-wrap:wrap; height:auto; min-height:66px; padding:10px 12px; } .public-header-actions { gap:5px; margin-left:auto; } .public-header-actions > .button { padding:0 9px; } }
