/* Language controls follow the existing theme/profile sizes. */
.rh-language-button {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-sizing: border-box; width: 30px; height: 30px; padding: 0;
  border: 1px solid var(--border, var(--legal-border, #ffffff20)); border-radius: 8px;
  background: var(--surface-input, transparent); color: var(--text-secondary, var(--legal-muted, #94a3b8));
  font-family: inherit; font-size: 10px; font-weight: 600; line-height: 1; letter-spacing: .02em;
  cursor: pointer; touch-action: manipulation;
}
.rh-language-button:hover { color: var(--primary, var(--legal-accent, #a78bfa)); border-color: currentColor; }
.rh-language-button:focus-visible { outline: 2px solid var(--primary, var(--legal-accent, #a78bfa)); outline-offset: 3px; }
.rh-language-controls { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.rh-language-controls .rh-language-button { width: 40px; height: 40px; border-radius: 10px; font-size: 11px; }
.brand-header-actions .rh-language-button { display: none; order: 3; }
.brand-header-actions .rh-profile-mobile { order: 4; }
.access-header-actions .rh-language-button { width: 34px; height: 34px; border-radius: 9px; font-size: 11px; }
.access-header .access-brand { min-width: 0; }
.access-header .access-brand img { flex-shrink: 0; }
.access-header .access-brand > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.access-header .access-header-actions { flex-shrink: 0; }
@media (min-width: 721px) and (max-width: 1100px) {
  .brand-header-actions .rh-language-button { display: inline-flex; }
  .top-header-bar .rh-language-desktop { display: none; }
}
@media (max-width: 720px) {
  .brand-header-actions .rh-language-button { display: inline-flex; width: 27px; height: 27px; border-radius: 7px; }
  .top-header-bar .rh-language-desktop { display: none; }
}
@media (max-width: 520px) {
  .access-header { gap: 8px; }
  .access-header .access-brand { flex: 1 1 auto; }
  .access-header .access-header-actions { gap: 6px; }
  .access-header-actions .rh-language-button { width: 36px; height: 36px; }
}
@media (max-width: 360px) {
  .brand-header-actions .rh-language-button { width: 26px; height: 26px; }
}
