/* Sidebar light/dark switch (Hugo, 2026-10-19): FR/EN a little smaller, and to their right two icons STACKED: classic sun (light) over crescent moon (dark).
   Buttons call the existing changeTheme('light'|'dark') (settings-theme.js: body.dash-light + localStorage 'themeMode' + DB), which also syncs the active state here.
   body prefix on the lang-btn rules: dashboard-theme.css sets 44px sizes at (id + 2 classes + element), a tie that this later file wins.
   Active = the accent fill with its own on-accent icon, the same tokens as the active FR/EN button, so all 4 themes in dark and light follow with no extra rules (dashboard-light.css re-points --gold/--on-gold on .sidebar). */
#dashboardView .sidebar .theme-quick-switch { flex-wrap: nowrap; gap: 6px; }
@media (max-width: 600px) { #dashboardView .sidebar .theme-quick-switch { gap: 4px !important; padding-left: 12px; padding-right: 12px; } }
#dashboardView .sidebar .lang-selector { gap: 4px; flex-shrink: 0; }
body #dashboardView .sidebar .lang-btn { min-height: 32px; min-width: 32px; padding: 0 8px; font-size: 12px; letter-spacing: 0.04em; }
#dashboardView .sidebar .mode-switch { display: flex; flex-direction: column; flex-shrink: 0; gap: 2px; }
#dashboardView .sidebar .mode-switch-btn { box-sizing: border-box; width: 30px; height: 15px; min-width: 0; min-height: 0; padding: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; border: 1.5px solid; border-radius: 6px; }
#dashboardView .sidebar .mode-switch-btn svg { display: block; width: 11px; height: 11px; }
/* Colours follow the THEME (Hugo, 2026-10-20): sun = dark on the theme accent badge, moon = accent icon on the FR/EN badge background (--panel-2). Looks never change on select; the mode is shown by a small dot right of the selected button (accent in dark, #14120a in light). */
#dashboardView .sidebar .mode-switch-btn { position: relative; border-color: #14120a; }
#dashboardView .sidebar .mode-switch-btn[data-mode="light"] { background: var(--gold); color: var(--on-gold, #14120a); }
#dashboardView .sidebar .mode-switch-btn[data-mode="dark"] { background: var(--panel-2); color: var(--gold); }
#dashboardView .sidebar .mode-switch-btn.active::before { content: ""; position: absolute; right: -8px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--gold); }
body.dash-light #dashboardView .sidebar .mode-switch-btn.active::before { background: #14120a; }
@media (max-width: 600px) {
  body #dashboardView .sidebar .lang-btn { min-height: 36px; min-width: 36px; }
  #dashboardView .sidebar .mode-switch { gap: 4px; }
  #dashboardView .sidebar .mode-switch-btn { height: 16px; }
}
