/* OLED Black: true black surfaces; elevation comes from fine neutral borders. */
html[data-theme-preference="oled"] {
  color-scheme: dark;
  --bg: #000000;
  --bg-rgb: 0, 0, 0;
  --surface: #000000;
  --surface-2: #101010;
  --panel-bg: #000000;
  --panel-subtle: #000000;
  --text: #eeeeef;
  --muted: #b0b0b6;
  --muted-soft: #8e8e97;
  --border: #28282c;
  --border-strong: #45454d;
  --accent: #b4a1ff;
  --accent-strong: #c9bbff;
  --accent-soft: #161020;
  --accent-soft-2: #0d0914;
  --shadow-soft: none;
  --shadow: none;
  --shadow-strong: 0 0 0 1px #333338;
}
html[data-theme-preference="oled"] :is(.panel-sidebar,.panel-topbar,.panel-card,.card-surface,.kpi-card,.panel-dropdown,.mobile-drawer,.auth-story,.auth-card,.auth-workspace,.panel-chart-box,.kanban-column,.kanban-card,.closing-column,.closing-card,.calendar-day-cell,.calendar-week-card,.lead-modal,.lead-modal-side,.lead-contact-strip,.lead-highlight-card,.timeline-card,.notification-card,.stats-kpi-card,.stats-chart-panel,.norm-topbar-badge,.lead-bulk-toolbar) {
  background: #000000;
  box-shadow: none;
}
html[data-theme-preference="oled"] .panel-sidebar { border-right: 1px solid var(--border); }
html[data-theme-preference="oled"] .panel-sidebar :is(.sidebar-link,.panel-user-role,.panel-meta-value,.panel-brand-subtitle) { color: var(--muted); }
html[data-theme-preference="oled"] .panel-sidebar :is(.sidebar-link-icon,.panel-meta-label,.panel-brand-eyebrow) { color: var(--muted-soft); }
html[data-theme-preference="oled"] .panel-sidebar :is(.sidebar-link:hover,.sidebar-link.is-active) { color: var(--text); background: var(--accent-soft); border-color: #342748; }
html[data-theme-preference="oled"] .panel-sidebar .panel-meta-list { background: #000000; border: 1px solid var(--border); }
html[data-theme-preference="oled"] :is(.lead-modal-header,.calendar-day-modal,.narrow-modal-card,.calendar-popover,.calendar-modal,.notification-dropdown,.settings-dropdown) { background: #000000; }
html[data-theme-preference="oled"] .stats-workspace .stats-kpi-card:first-child { background: #000000; }
html[data-theme-preference="oled"] .auth-story::after,
html[data-theme-preference="oled"] .panel-auth-particles { display: none; }
html[data-theme-preference="oled"] .lead-bulk-check:not(:checked) { background: #000; border-color: var(--border-strong); }
html[data-theme-preference="oled"] * { scrollbar-color: #38383e #000; }
html[data-theme-preference="oled"] :is(.modal-backdrop,.mobile-drawer-backdrop) { background: #000000bf; }
html[data-theme-preference="oled"] :is(dialog.command-dialog,dialog.quick-lead-dialog)::backdrop { background: #000000bf; }
html[data-theme-preference="oled"] .settings-option.is-active { background: var(--accent-soft); border-color: #53446b; }
html[data-theme-preference="oled"] :is(.settings-option:hover,.settings-line:hover,.panel-table tbody tr:hover) { background: var(--surface-2); }
.oled-theme-icon { width: 20px; height: 20px; border: 1px solid #8e8e97; border-radius: 6px; background: #000; box-shadow: inset 0 0 0 3px #000; }
.oled-theme-icon::after { content: ''; display: block; width: 4px; height: 4px; margin: 7px; border-radius: 50%; background: #b4a1ff; }
