/* Same compact EN/ID capsule as the public website; native POST saves preference. */
html body .language-segment{display:inline-flex;align-items:center;gap:3px;flex:0 0 auto;width:auto;margin:0;padding:4px;border:1px solid var(--border);border-radius:999px;background:var(--field);box-shadow:none}
html body .language-segment button{display:inline-flex;align-items:center;justify-content:center;min-width:36px;width:auto;height:34px;min-height:34px;margin:0;padding:0 9px;border:1px solid transparent;border-radius:999px;background:transparent;color:var(--muted);box-shadow:none;font-size:11px;font-weight:700;line-height:1;letter-spacing:.4px;white-space:nowrap;transform:none}
html body .language-segment button:hover{background:var(--hover);color:var(--text);box-shadow:none;transform:none}
html body .language-segment button[aria-pressed=true]{background:#243454;color:#fff;border-color:#40577e}
:root[data-theme=light] body .language-segment button[aria-pressed=true]{background:#dce7ff;color:#234175;border-color:#bacdf0}
html body .language-segment button:focus-visible{outline:2px solid var(--link);outline-offset:2px}
@media(max-width:700px){html body .topbar-actions .language-segment{margin-right:auto;order:0;flex:0 0 auto}html body .language-segment button{min-width:38px;min-height:38px;height:38px}html body .language-segment{max-width:100%}}

html body .language-segment button{gap:6px;min-width:59px}html body .language-segment .language-flag{width:18px;height:12px;object-fit:cover;border-radius:2px;border:1px solid #ffffff45;display:block;flex:0 0 auto}:root[data-theme=light] body .language-segment .language-flag{border-color:#18223c30}
