/* Header controls: language links and theme switch. */
.lang-switch { display: flex; gap: var(--space-1); font-size: var(--text-sm); }
.lang-switch a { padding: var(--space-1) var(--space-2); border-radius: var(--radius-control); color: var(--color-text-muted); text-decoration: none; text-transform: uppercase; font-weight: var(--weight-medium); }
.lang-switch a:hover { color: var(--color-text); background: var(--color-surface-muted); }
.lang-switch a[aria-current="true"] { color: var(--color-text); }

.theme-switch { display: inline-flex; padding: 2px; gap: 2px; border: 1px solid var(--color-border); border-radius: var(--radius-control); background: var(--color-surface); }
.theme-switch[hidden] { display: none; }
.theme-switch button { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border: 0; border-radius: calc(var(--radius-control) - 2px); background: transparent; color: var(--color-text-muted); cursor: pointer; }
.theme-switch button:hover { color: var(--color-text); }
.theme-switch button[aria-pressed="true"] { background: var(--color-surface-muted); color: var(--color-text); }
.theme-switch svg { width: 1rem; height: 1rem; }
