/* highlight.js GitHub themes (v11.9.0), scoped to the site's own theme
   attribute so they follow the header toggle instead of the OS colour scheme.
   Regenerate with scripts/build-hljs-theme.js after upgrading highlight.js. */

/* ---------- light ---------- */
html[data-theme="light"] pre code.hljs{display:block;overflow-x:auto;padding:1em}
html[data-theme="light"] code.hljs{padding:3px 5px}
html[data-theme="light"] .hljs{color:#24292e;background:#fff}
html[data-theme="light"] .hljs-doctag,html[data-theme="light"] .hljs-keyword,html[data-theme="light"] .hljs-meta .hljs-keyword,html[data-theme="light"] .hljs-template-tag,html[data-theme="light"] .hljs-template-variable,html[data-theme="light"] .hljs-type,html[data-theme="light"] .hljs-variable.language_{color:#d73a49}
html[data-theme="light"] .hljs-title,html[data-theme="light"] .hljs-title.class_,html[data-theme="light"] .hljs-title.class_.inherited__,html[data-theme="light"] .hljs-title.function_{color:#6f42c1}
html[data-theme="light"] .hljs-attr,html[data-theme="light"] .hljs-attribute,html[data-theme="light"] .hljs-literal,html[data-theme="light"] .hljs-meta,html[data-theme="light"] .hljs-number,html[data-theme="light"] .hljs-operator,html[data-theme="light"] .hljs-selector-attr,html[data-theme="light"] .hljs-selector-class,html[data-theme="light"] .hljs-selector-id,html[data-theme="light"] .hljs-variable{color:#005cc5}
html[data-theme="light"] .hljs-meta .hljs-string,html[data-theme="light"] .hljs-regexp,html[data-theme="light"] .hljs-string{color:#032f62}
html[data-theme="light"] .hljs-built_in,html[data-theme="light"] .hljs-symbol{color:#e36209}
html[data-theme="light"] .hljs-code,html[data-theme="light"] .hljs-comment,html[data-theme="light"] .hljs-formula{color:#6a737d}
html[data-theme="light"] .hljs-name,html[data-theme="light"] .hljs-quote,html[data-theme="light"] .hljs-selector-pseudo,html[data-theme="light"] .hljs-selector-tag{color:#22863a}
html[data-theme="light"] .hljs-subst{color:#24292e}
html[data-theme="light"] .hljs-section{color:#005cc5;font-weight:700}
html[data-theme="light"] .hljs-bullet{color:#735c0f}
html[data-theme="light"] .hljs-emphasis{color:#24292e;font-style:italic}
html[data-theme="light"] .hljs-strong{color:#24292e;font-weight:700}
html[data-theme="light"] .hljs-addition{color:#22863a;background-color:#f0fff4}
html[data-theme="light"] .hljs-deletion{color:#b31d28;background-color:#ffeef0}

/* ---------- dark ---------- */
html[data-theme="dark"] pre code.hljs{display:block;overflow-x:auto;padding:1em}
html[data-theme="dark"] code.hljs{padding:3px 5px}
html[data-theme="dark"] .hljs{color:#c9d1d9;background:#0d1117}
html[data-theme="dark"] .hljs-doctag,html[data-theme="dark"] .hljs-keyword,html[data-theme="dark"] .hljs-meta .hljs-keyword,html[data-theme="dark"] .hljs-template-tag,html[data-theme="dark"] .hljs-template-variable,html[data-theme="dark"] .hljs-type,html[data-theme="dark"] .hljs-variable.language_{color:#ff7b72}
html[data-theme="dark"] .hljs-title,html[data-theme="dark"] .hljs-title.class_,html[data-theme="dark"] .hljs-title.class_.inherited__,html[data-theme="dark"] .hljs-title.function_{color:#d2a8ff}
html[data-theme="dark"] .hljs-attr,html[data-theme="dark"] .hljs-attribute,html[data-theme="dark"] .hljs-literal,html[data-theme="dark"] .hljs-meta,html[data-theme="dark"] .hljs-number,html[data-theme="dark"] .hljs-operator,html[data-theme="dark"] .hljs-selector-attr,html[data-theme="dark"] .hljs-selector-class,html[data-theme="dark"] .hljs-selector-id,html[data-theme="dark"] .hljs-variable{color:#79c0ff}
html[data-theme="dark"] .hljs-meta .hljs-string,html[data-theme="dark"] .hljs-regexp,html[data-theme="dark"] .hljs-string{color:#a5d6ff}
html[data-theme="dark"] .hljs-built_in,html[data-theme="dark"] .hljs-symbol{color:#ffa657}
html[data-theme="dark"] .hljs-code,html[data-theme="dark"] .hljs-comment,html[data-theme="dark"] .hljs-formula{color:#8b949e}
html[data-theme="dark"] .hljs-name,html[data-theme="dark"] .hljs-quote,html[data-theme="dark"] .hljs-selector-pseudo,html[data-theme="dark"] .hljs-selector-tag{color:#7ee787}
html[data-theme="dark"] .hljs-subst{color:#c9d1d9}
html[data-theme="dark"] .hljs-section{color:#1f6feb;font-weight:700}
html[data-theme="dark"] .hljs-bullet{color:#f2cc60}
html[data-theme="dark"] .hljs-emphasis{color:#c9d1d9;font-style:italic}
html[data-theme="dark"] .hljs-strong{color:#c9d1d9;font-weight:700}
html[data-theme="dark"] .hljs-addition{color:#aff5b4;background-color:#033a16}
html[data-theme="dark"] .hljs-deletion{color:#ffdcd7;background-color:#67060c}
