/* Theme choices remain visible independently of the collapsed mobile navigation. */
header>.header-preferences{order:2;display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-left:auto;min-width:0;max-width:100%}
header .header-preferences .language-switch{order:0;display:flex;gap:0;margin:0;flex:0 0 auto}
header .header-preferences .theme-picker{order:1;display:inline-flex;flex:0 0 auto;margin:0;padding:0;border:0;background:transparent}
header .header-preferences .language-switch button{width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:0;font-size:12px}
header .header-preferences .theme-choice{width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:0}
header .header-preferences .theme-icon{width:16px;height:16px}
@media(max-width:760px){header>.header-preferences{order:4;flex-basis:100%;justify-content:flex-end;gap:8px}header>.mobile-menu-button{margin-left:auto}header .header-preferences .language-switch{flex-basis:auto}}

/* Small language marker; existing text and 44px button target remain. */
.language-flag{width:15px;height:10px;flex:0 0 15px;vertical-align:middle}.language-switch button[data-language="tr"]{display:inline-flex;align-items:center;justify-content:center;gap:3px}

/* Keep account entry explicit, keyboard-visible and outside collapsed navigation. */
header>.header-actions>.account-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;padding:10px 14px;border:1px solid var(--blue);border-radius:8px;background:var(--surface,#fff);color:var(--blue);font-size:13px;font-weight:650;line-height:1.4;text-align:center;text-decoration:none}
header>.header-actions>.account-link:hover{background:var(--paper,#f1f3fa)}
header>.header-actions>.account-link:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
@media(max-width:760px){header>.header-actions{display:flex;order:4;flex-basis:100%;width:100%;margin:0;gap:0}header>.header-actions>.account-link{width:100%;font-size:13px}header>.header-preferences{order:5}header>.header-actions>.primary{display:none}}
