/* ─── Huisstijl Morgen Duurzamer (kiesvoormorgen.nl) ─────────────────
   Kleuren uit hun site (Blocksy-palet) en logo: blauw #0E71B8 / #1D71B8,
   groen #3AAA35, geel #FFDE00, donkerblauw #07395C. Lettertype op hun site
   is Museo Sans (Adobe-licentie van de klant); hier het vrije Mulish, dat er
   dicht bij aanleunt. Laadt NA style.css, zodat dit alleen de tokens en het
   logo overschrijft. */
:root, [data-theme="light"], :root[data-theme="light"] {
  --brand-blue:   #0E71B8;
  --brand-navy:   #07395C;
  --brand-green:  #3AAA35;
  --brand-yellow: #FFDE00;
  --bg:       #f1f5f9;
  --surface:  #ffffff;
  --border:   #d9e2ea;
  --text:     #0f2a3f;
  --text-dim: #5c6b7a;
  --accent:   #0E71B8;
  --green:    #2f8f2b;
}
[data-theme="dark"], :root[data-theme="dark"] {
  --bg:       #051a2b;
  --surface:  #0a2740;
  --border:   #17405f;
  --text:     #e8f0f6;
  --text-dim: #93a9bb;
  --accent:   #4aa8e8;
  --green:    #4cc046;
  --chart-grid: rgba(23,64,95,0.7);
}

body { font-family: 'Mulish', 'Inter', system-ui, sans-serif; }

/* Logo in een witte badge: het logo is blauw/groen/geel en moet op beide thema's leesbaar zijn. */
.md-logo { display: inline-flex; align-items: center; background: #fff; border-radius: 12px; padding: 10px 14px; box-shadow: 0 1px 6px rgba(7,57,92,0.18); }
.md-logo img { display: block; width: 150px; max-width: 100%; height: auto; }
.sidebar-brand .md-sub { display: block; margin-top: 8px; font-size: 0.7rem; color: var(--text-dim); letter-spacing: .03em; }
.sidebar-brand { text-align: center; }
.sidebar-brand a { align-items: center; }

/* Actieve tab en accentbalk in de merkkleuren. */
.sidebar-link.active { box-shadow: inset 3px 0 0 var(--brand-green); }
[data-theme="light"] .sidebar-link:hover,
[data-theme="light"] .sidebar-link.active { background: rgba(14,113,184,0.10); }
[data-theme="light"] .nav-primary { background: rgba(14,113,184,0.06); border-color: rgba(14,113,184,0.20); }
[data-theme="dark"] .sidebar-link:hover,
[data-theme="dark"] .sidebar-link.active { background: rgba(74,168,232,0.12); }
.sidebar { border-top: 4px solid var(--brand-green); }

@media (max-width: 900px) {
  .md-logo { padding: 6px; }
  .md-logo img { width: 100%; }
  .sidebar-brand .md-sub { display: none; }
}

/* Geselecteerde hoofdtab: vol merkblauw met witte tekst (anders wit op lichtblauw). */
.nav-primary .sidebar-link.active,
[data-theme="light"] .nav-primary .sidebar-link.active,
[data-theme="dark"] .nav-primary .sidebar-link.active { background: var(--brand-blue); color: #fff; }
