/* Light syntax palette (ADR core/012 light-authoring unit).
 *
 * django_spellbook's prism-spellbook.css is package-owned and fully
 * var-driven: every color reads var(--prism-*, <dark fallback>). This
 * sheet defines those hooks ONLY under the resolved light theme, so
 * dark rendering is untouched by construction (the hooks stay unset
 * and the package fallbacks keep winning). Loaded from base.html
 * after {% spellbook_styles %}.
 *
 * Values are the light editorial families: paper wells, deep hues.
 */
:root[data-theme="light"] {
    --prism-text:            var(--text-editorial);
    --prism-code-bg:         var(--surface-public-deep);
    --prism-border:          var(--border-editorial-subtle);
    --prism-inline-bg:       var(--surface-public-deep);
    --prism-inline-border:   var(--border-editorial-subtle);
    --prism-selection:       var(--accent-soft);
    --prism-shadow:          var(--shadow-rest);
    --prism-comment:         var(--text-editorial-faint);
    --prism-punctuation:     var(--text-editorial-muted);
    --prism-property:        var(--editorial-blue);
    --prism-tag:             var(--editorial-teal);
    --prism-number:          var(--editorial-gold);
    --prism-string:          var(--editorial-teal);
    --prism-operator:        var(--text-editorial-muted);
    --prism-keyword:         var(--accent);
    --prism-function:        var(--editorial-blue);
    --prism-function-name:   var(--editorial-blue);
    --prism-deleted:         var(--editorial-red);
    --prism-deleted-bg:      var(--danger-soft);
    --prism-inserted:        var(--success);
    --prism-inserted-bg:     var(--success-soft);
    --prism-line-highlight:  var(--accent-soft);
    --prism-line-number:     var(--text-editorial-faint);
    --prism-line-number-border: var(--border-editorial-subtle);
    --prism-language-label:  var(--text-editorial-muted);
    --prism-language-label-bg: var(--surface-public-deep);
    --prism-scrollbar-track: var(--surface-public-deep);
    --prism-scrollbar-thumb: var(--border-editorial);
    --prism-scrollbar-thumb-hover: var(--text-editorial-faint);
    --prism-toolbar-button-bg: var(--surface-public-deep);
    --prism-toolbar-button-hover: var(--border-editorial-subtle);
}
