/* ==========================================================================
   theme.css — written by the site editor (edit.youhannad.com).
   Dark-mode colours are picked in the editor; light-mode ones are derived
   from them automatically. Loaded last, so it overrides base.css.
   editor-theme {}
   ========================================================================== */

/* Per-text colours chosen in the editor (data-color + --tc-dark / --tc-light) */
[data-color][data-color] { color: var(--tc-light); }
:root[data-theme="dark"] [data-color][data-color],
.tone-dark [data-color][data-color] { color: var(--tc-dark); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) [data-color][data-color] { color: var(--tc-dark); }
}
