/* 07-dark.css — Dark mode: its own colours, no automatic inversion.
   Part of the portal stylesheet; index.html loads the parts in order (01 to 12), so the cascade is
   the same as one file. */

/* ===== Donkere modus: eigen tinten, geen automatische omkering ===== */
:root[data-theme="dark"] {
  --primary: #e35d68;
  --primary-dark: #f08a92;
  --primary-soft: color-mix(in srgb, #e35d68 16%, #1c1d22);
  --ink: #e7e8ec;
  --muted: #9aa1ad;
  --line: #2f323a;
  --line-soft: #2f323a;
  --surface: #1c1d22;
  --surface-2: #25272d;
  --panel: rgba(28, 29, 34, 0.94);
  --glass: rgba(24, 25, 30, 0.94);
  --glass-strong: rgba(24, 25, 30, 0.97);
  --topbar-bg: rgba(20, 21, 25, 0.88);
  --theme-bg-start: #15161a;
  --theme-bg-mid: #18191e;
  --theme-bg-end: #141519;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-float: 0 28px 90px rgba(0, 0, 0, 0.6);
  --ok: #6fcf86;
  --ok-bg: #15301c;
  --ok-border: #2b5a36;
  --warn: #f0b84d;
  --warn-bg: #33270e;
  --warn-border: #5c4718;
  --info: #7db6ea;
  --info-bg: #13263a;
  --info-border: #24486b;
  --danger: #f27b72;
  --danger-bg: #3a1714;
  --danger-border: #6b2a24;
  --nav-ink: #c9ccd3;
  --btn-top: #26282e;
  --btn-bottom: #212328;
  --btn-border: #383b44;
  --input-border: #3a3d46;
  --code-bg: #15161a;
  --th-bg: #202227;
  --badge-bg: #26282e;
  --badge-border: #383b44;
  --badge-ink: #c9ccd3;
  --internal-bg: #2a2140;
  --internal-border: #4a3a72;
  --internal-ink: #c3adf2;
  --meter-track: #2a2c33;
  --signed-out-bg: linear-gradient(145deg, #15161a 0%, #1b1c21 58%, #141519 100%);
  --chart-1: #e0505c;
  --chart-grid: #2f323a;
  --skeleton: #24262c;
  --skeleton-shine: #2d3037;
  color-scheme: dark;
}
:root[data-theme="dark"] input, :root[data-theme="dark"] select, :root[data-theme="dark"] textarea { background-color: var(--surface-2); color: var(--ink); }
:root[data-theme="dark"] .sidebar-logo img, :root[data-theme="dark"] .product-logo { filter: none; background: #ffffff; border-radius: 6px; }
:root[data-theme="dark"] .help-figure img { border-color: var(--line); }

.status-tiles, .stat-tiles { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
