/* Contractor en el tema oscuro: solo los sitios que pintan un color propio. Lo demás lee los
   tokens, que fey-dark.css ya redefinió. */

:root[data-theme="dark"] .ct-org-mark { background: hsl(var(--h) 30% 22%); color: hsl(var(--h) 60% 82%); }
:root[data-theme="dark"] .ct-face { background: hsl(var(--h) 28% 24%); color: hsl(var(--h) 60% 84%); }
:root[data-theme="dark"] .ct-kind-derived,
:root[data-theme="dark"] .k-d { --ct-k-bg: rgba(224, 163, 238, 0.14); --ct-k-ink: #E0A3EE; }

/* La hoja sigue blanca en oscuro: es una vista de cómo sale en papel. */
:root[data-theme="dark"] .ct-sheet { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
:root[data-theme="dark"] .ct-sheet .ct-prose th { background: #f4f2fa; }
