/* Syntax highlighting — Pygments codehilite (dark: github-dark, light: tango) */

/* ---- Dark theme ---- */
:root[data-theme="dark"] .codehilite { background: transparent; color: #e6edf3; }
:root[data-theme="dark"] .codehilite .hll { background-color: #6e7681 }
:root[data-theme="dark"] .codehilite .c { color: #8B949E; font-style: italic } /* Comment */
:root[data-theme="dark"] .codehilite .err { color: #F85149 } /* Error */
:root[data-theme="dark"] .codehilite .esc { color: #E6EDF3 } /* Escape */
:root[data-theme="dark"] .codehilite .g { color: #E6EDF3 } /* Generic */
:root[data-theme="dark"] .codehilite .k { color: #FF7B72 } /* Keyword */
:root[data-theme="dark"] .codehilite .l { color: #A5D6FF } /* Literal */
:root[data-theme="dark"] .codehilite .n { color: #E6EDF3 } /* Name */
:root[data-theme="dark"] .codehilite .o { color: #FF7B72; font-weight: bold } /* Operator */
:root[data-theme="dark"] .codehilite .x { color: #E6EDF3 } /* Other */
:root[data-theme="dark"] .codehilite .p { color: #E6EDF3 } /* Punctuation */
:root[data-theme="dark"] .codehilite .ch { color: #8B949E; font-style: italic } /* Comment.Hashbang */
:root[data-theme="dark"] .codehilite .cm { color: #8B949E; font-style: italic } /* Comment.Multiline */
:root[data-theme="dark"] .codehilite .cp { color: #8B949E; font-weight: bold; font-style: italic } /* Comment.Preproc */
:root[data-theme="dark"] .codehilite .cpf { color: #8B949E; font-style: italic } /* Comment.PreprocFile */
:root[data-theme="dark"] .codehilite .c1 { color: #8B949E; font-style: italic } /* Comment.Single */
:root[data-theme="dark"] .codehilite .cs { color: #8B949E; font-weight: bold; font-style: italic } /* Comment.Special */
:root[data-theme="dark"] .codehilite .gd { color: #FFA198; background-color: #490202 } /* Generic.Deleted */
:root[data-theme="dark"] .codehilite .ge { color: #E6EDF3; font-style: italic } /* Generic.Emph */
:root[data-theme="dark"] .codehilite .ges { color: #E6EDF3; font-weight: bold; font-style: italic } /* Generic.EmphStrong */
:root[data-theme="dark"] .codehilite .gr { color: #FFA198 } /* Generic.Error */
:root[data-theme="dark"] .codehilite .gh { color: #79C0FF; font-weight: bold } /* Generic.Heading */
:root[data-theme="dark"] .codehilite .gi { color: #56D364; background-color: #0F5323 } /* Generic.Inserted */
:root[data-theme="dark"] .codehilite .go { color: #8B949E } /* Generic.Output */
:root[data-theme="dark"] .codehilite .gp { color: #8B949E } /* Generic.Prompt */
:root[data-theme="dark"] .codehilite .gs { color: #E6EDF3; font-weight: bold } /* Generic.Strong */
:root[data-theme="dark"] .codehilite .gu { color: #79C0FF } /* Generic.Subheading */
:root[data-theme="dark"] .codehilite .gt { color: #FF7B72 } /* Generic.Traceback */
:root[data-theme="dark"] .codehilite .g-Underline { color: #E6EDF3; text-decoration: underline } /* Generic.Underline */
:root[data-theme="dark"] .codehilite .kc { color: #79C0FF } /* Keyword.Constant */
:root[data-theme="dark"] .codehilite .kd { color: #FF7B72 } /* Keyword.Declaration */
:root[data-theme="dark"] .codehilite .kn { color: #FF7B72 } /* Keyword.Namespace */
:root[data-theme="dark"] .codehilite .kp { color: #79C0FF } /* Keyword.Pseudo */
:root[data-theme="dark"] .codehilite .kr { color: #FF7B72 } /* Keyword.Reserved */
:root[data-theme="dark"] .codehilite .kt { color: #FF7B72 } /* Keyword.Type */
:root[data-theme="dark"] .codehilite .ld { color: #79C0FF } /* Literal.Date */
:root[data-theme="dark"] .codehilite .m { color: #A5D6FF } /* Literal.Number */
:root[data-theme="dark"] .codehilite .s { color: #A5D6FF } /* Literal.String */
:root[data-theme="dark"] .codehilite .na { color: #E6EDF3 } /* Name.Attribute */
:root[data-theme="dark"] .codehilite .nb { color: #E6EDF3 } /* Name.Builtin */
:root[data-theme="dark"] .codehilite .nc { color: #F0883E; font-weight: bold } /* Name.Class */
:root[data-theme="dark"] .codehilite .no { color: #79C0FF; font-weight: bold } /* Name.Constant */
:root[data-theme="dark"] .codehilite .nd { color: #D2A8FF; font-weight: bold } /* Name.Decorator */
:root[data-theme="dark"] .codehilite .ni { color: #FFA657 } /* Name.Entity */
:root[data-theme="dark"] .codehilite .ne { color: #F0883E; font-weight: bold } /* Name.Exception */
:root[data-theme="dark"] .codehilite .nf { color: #D2A8FF; font-weight: bold } /* Name.Function */
:root[data-theme="dark"] .codehilite .nl { color: #79C0FF; font-weight: bold } /* Name.Label */
:root[data-theme="dark"] .codehilite .nn { color: #FF7B72 } /* Name.Namespace */
:root[data-theme="dark"] .codehilite .nx { color: #E6EDF3 } /* Name.Other */
:root[data-theme="dark"] .codehilite .py { color: #79C0FF } /* Name.Property */
:root[data-theme="dark"] .codehilite .nt { color: #7EE787 } /* Name.Tag */
:root[data-theme="dark"] .codehilite .nv { color: #79C0FF } /* Name.Variable */
:root[data-theme="dark"] .codehilite .ow { color: #FF7B72; font-weight: bold } /* Operator.Word */
:root[data-theme="dark"] .codehilite .pm { color: #E6EDF3 } /* Punctuation.Marker */
:root[data-theme="dark"] .codehilite .w { color: #6E7681 } /* Text.Whitespace */
:root[data-theme="dark"] .codehilite .mb { color: #A5D6FF } /* Literal.Number.Bin */
:root[data-theme="dark"] .codehilite .mf { color: #A5D6FF } /* Literal.Number.Float */
:root[data-theme="dark"] .codehilite .mh { color: #A5D6FF } /* Literal.Number.Hex */
:root[data-theme="dark"] .codehilite .mi { color: #A5D6FF } /* Literal.Number.Integer */
:root[data-theme="dark"] .codehilite .mo { color: #A5D6FF } /* Literal.Number.Oct */
:root[data-theme="dark"] .codehilite .sa { color: #79C0FF } /* Literal.String.Affix */
:root[data-theme="dark"] .codehilite .sb { color: #A5D6FF } /* Literal.String.Backtick */
:root[data-theme="dark"] .codehilite .sc { color: #A5D6FF } /* Literal.String.Char */
:root[data-theme="dark"] .codehilite .dl { color: #79C0FF } /* Literal.String.Delimiter */
:root[data-theme="dark"] .codehilite .sd { color: #A5D6FF } /* Literal.String.Doc */
:root[data-theme="dark"] .codehilite .s2 { color: #A5D6FF } /* Literal.String.Double */
:root[data-theme="dark"] .codehilite .se { color: #79C0FF } /* Literal.String.Escape */
:root[data-theme="dark"] .codehilite .sh { color: #79C0FF } /* Literal.String.Heredoc */
:root[data-theme="dark"] .codehilite .si { color: #A5D6FF } /* Literal.String.Interpol */
:root[data-theme="dark"] .codehilite .sx { color: #A5D6FF } /* Literal.String.Other */
:root[data-theme="dark"] .codehilite .sr { color: #79C0FF } /* Literal.String.Regex */
:root[data-theme="dark"] .codehilite .s1 { color: #A5D6FF } /* Literal.String.Single */
:root[data-theme="dark"] .codehilite .ss { color: #A5D6FF } /* Literal.String.Symbol */
:root[data-theme="dark"] .codehilite .bp { color: #E6EDF3 } /* Name.Builtin.Pseudo */
:root[data-theme="dark"] .codehilite .fm { color: #D2A8FF; font-weight: bold } /* Name.Function.Magic */
:root[data-theme="dark"] .codehilite .vc { color: #79C0FF } /* Name.Variable.Class */
:root[data-theme="dark"] .codehilite .vg { color: #79C0FF } /* Name.Variable.Global */
:root[data-theme="dark"] .codehilite .vi { color: #79C0FF } /* Name.Variable.Instance */
:root[data-theme="dark"] .codehilite .vm { color: #79C0FF } /* Name.Variable.Magic */
:root[data-theme="dark"] .codehilite .il { color: #A5D6FF } /* Literal.Number.Integer.Long */

/* ---- Light theme ---- */
:root[data-theme="light"] .codehilite { background: transparent; color: #3c3c43; }
:root[data-theme="light"] .codehilite .hll { background-color: #ffffcc }
:root[data-theme="light"] .codehilite .c { color: #8F5902; font-style: italic } /* Comment */
:root[data-theme="light"] .codehilite .err { color: #A40000; border: 1px solid #EF2929 } /* Error */
:root[data-theme="light"] .codehilite .g { color: #000 } /* Generic */
:root[data-theme="light"] .codehilite .k { color: #204A87; font-weight: bold } /* Keyword */
:root[data-theme="light"] .codehilite .l { color: #000 } /* Literal */
:root[data-theme="light"] .codehilite .n { color: #000 } /* Name */
:root[data-theme="light"] .codehilite .o { color: #CE5C00; font-weight: bold } /* Operator */
:root[data-theme="light"] .codehilite .x { color: #000 } /* Other */
:root[data-theme="light"] .codehilite .p { color: #000; font-weight: bold } /* Punctuation */
:root[data-theme="light"] .codehilite .ch { color: #8F5902; font-style: italic } /* Comment.Hashbang */
:root[data-theme="light"] .codehilite .cm { color: #8F5902; font-style: italic } /* Comment.Multiline */
:root[data-theme="light"] .codehilite .cp { color: #8F5902; font-style: italic } /* Comment.Preproc */
:root[data-theme="light"] .codehilite .cpf { color: #8F5902; font-style: italic } /* Comment.PreprocFile */
:root[data-theme="light"] .codehilite .c1 { color: #8F5902; font-style: italic } /* Comment.Single */
:root[data-theme="light"] .codehilite .cs { color: #8F5902; font-style: italic } /* Comment.Special */
:root[data-theme="light"] .codehilite .gd { color: #A40000 } /* Generic.Deleted */
:root[data-theme="light"] .codehilite .ge { color: #000; font-style: italic } /* Generic.Emph */
:root[data-theme="light"] .codehilite .ges { color: #000; font-weight: bold; font-style: italic } /* Generic.EmphStrong */
:root[data-theme="light"] .codehilite .gr { color: #EF2929 } /* Generic.Error */
:root[data-theme="light"] .codehilite .gh { color: #000080; font-weight: bold } /* Generic.Heading */
:root[data-theme="light"] .codehilite .gi { color: #00A000 } /* Generic.Inserted */
:root[data-theme="light"] .codehilite .go { color: #000; font-style: italic } /* Generic.Output */
:root[data-theme="light"] .codehilite .gp { color: #8F5902 } /* Generic.Prompt */
:root[data-theme="light"] .codehilite .gs { color: #000; font-weight: bold } /* Generic.Strong */
:root[data-theme="light"] .codehilite .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
:root[data-theme="light"] .codehilite .gt { color: #A40000; font-weight: bold } /* Generic.Traceback */
:root[data-theme="light"] .codehilite .kc { color: #204A87; font-weight: bold } /* Keyword.Constant */
:root[data-theme="light"] .codehilite .kd { color: #204A87; font-weight: bold } /* Keyword.Declaration */
:root[data-theme="light"] .codehilite .kn { color: #204A87; font-weight: bold } /* Keyword.Namespace */
:root[data-theme="light"] .codehilite .kp { color: #204A87; font-weight: bold } /* Keyword.Pseudo */
:root[data-theme="light"] .codehilite .kr { color: #204A87; font-weight: bold } /* Keyword.Reserved */
:root[data-theme="light"] .codehilite .kt { color: #204A87; font-weight: bold } /* Keyword.Type */
:root[data-theme="light"] .codehilite .ld { color: #000 } /* Literal.Date */
:root[data-theme="light"] .codehilite .m { color: #0000CF; font-weight: bold } /* Literal.Number */
:root[data-theme="light"] .codehilite .s { color: #4E9A06 } /* Literal.String */
:root[data-theme="light"] .codehilite .na { color: #C4A000 } /* Name.Attribute */
:root[data-theme="light"] .codehilite .nb { color: #204A87 } /* Name.Builtin */
:root[data-theme="light"] .codehilite .nc { color: #000 } /* Name.Class */
:root[data-theme="light"] .codehilite .no { color: #000 } /* Name.Constant */
:root[data-theme="light"] .codehilite .nd { color: #5C35CC; font-weight: bold } /* Name.Decorator */
:root[data-theme="light"] .codehilite .ni { color: #CE5C00 } /* Name.Entity */
:root[data-theme="light"] .codehilite .ne { color: #C00; font-weight: bold } /* Name.Exception */
:root[data-theme="light"] .codehilite .nf { color: #000 } /* Name.Function */
:root[data-theme="light"] .codehilite .nl { color: #F57900 } /* Name.Label */
:root[data-theme="light"] .codehilite .nn { color: #000 } /* Name.Namespace */
:root[data-theme="light"] .codehilite .nx { color: #000 } /* Name.Other */
:root[data-theme="light"] .codehilite .py { color: #000 } /* Name.Property */
:root[data-theme="light"] .codehilite .nt { color: #204A87; font-weight: bold } /* Name.Tag */
:root[data-theme="light"] .codehilite .nv { color: #000 } /* Name.Variable */
:root[data-theme="light"] .codehilite .ow { color: #204A87; font-weight: bold } /* Operator.Word */
:root[data-theme="light"] .codehilite .pm { color: #000; font-weight: bold } /* Punctuation.Marker */
:root[data-theme="light"] .codehilite .w { color: #F8F8F8 } /* Text.Whitespace */
:root[data-theme="light"] .codehilite .mb { color: #0000CF; font-weight: bold } /* Literal.Number.Bin */
:root[data-theme="light"] .codehilite .mf { color: #0000CF; font-weight: bold } /* Literal.Number.Float */
:root[data-theme="light"] .codehilite .mh { color: #0000CF; font-weight: bold } /* Literal.Number.Hex */
:root[data-theme="light"] .codehilite .mi { color: #0000CF; font-weight: bold } /* Literal.Number.Integer */
:root[data-theme="light"] .codehilite .mo { color: #0000CF; font-weight: bold } /* Literal.Number.Oct */
:root[data-theme="light"] .codehilite .sa { color: #4E9A06 } /* Literal.String.Affix */
:root[data-theme="light"] .codehilite .sb { color: #4E9A06 } /* Literal.String.Backtick */
:root[data-theme="light"] .codehilite .sc { color: #4E9A06 } /* Literal.String.Char */
:root[data-theme="light"] .codehilite .dl { color: #4E9A06 } /* Literal.String.Delimiter */
:root[data-theme="light"] .codehilite .sd { color: #8F5902; font-style: italic } /* Literal.String.Doc */
:root[data-theme="light"] .codehilite .s2 { color: #4E9A06 } /* Literal.String.Double */
:root[data-theme="light"] .codehilite .se { color: #4E9A06 } /* Literal.String.Escape */
:root[data-theme="light"] .codehilite .sh { color: #4E9A06 } /* Literal.String.Heredoc */
:root[data-theme="light"] .codehilite .si { color: #4E9A06 } /* Literal.String.Interpol */
:root[data-theme="light"] .codehilite .sx { color: #4E9A06 } /* Literal.String.Other */
:root[data-theme="light"] .codehilite .sr { color: #4E9A06 } /* Literal.String.Regex */
:root[data-theme="light"] .codehilite .s1 { color: #4E9A06 } /* Literal.String.Single */
:root[data-theme="light"] .codehilite .ss { color: #4E9A06 } /* Literal.String.Symbol */
:root[data-theme="light"] .codehilite .bp { color: #3465A4 } /* Name.Builtin.Pseudo */
:root[data-theme="light"] .codehilite .fm { color: #000 } /* Name.Function.Magic */
:root[data-theme="light"] .codehilite .vc { color: #000 } /* Name.Variable.Class */
:root[data-theme="light"] .codehilite .vg { color: #000 } /* Name.Variable.Global */
:root[data-theme="light"] .codehilite .vi { color: #000 } /* Name.Variable.Instance */
:root[data-theme="light"] .codehilite .vm { color: #000 } /* Name.Variable.Magic */
:root[data-theme="light"] .codehilite .il { color: #0000CF; font-weight: bold } /* Literal.Number.Integer.Long */
