/*
 * /docs (Swagger UI) code highlighting, in both colour schemes.
 *
 * Swagger UI ships a full dark theme and turns it on by adding `dark-mode` to <html>
 * when the visitor's OS asks for it, so this file keys off that same class rather than
 * a media query -- otherwise the highlighting would desync from the page around it.
 * Before this existed /docs loaded the GitHub Dark theme unconditionally, which left
 * every code block in the API description unreadable for light-mode visitors.
 *
 * GENERATED by scripts/generate-docs-theme.js -- do not hand-edit.
 */

/* Structure, shared by both schemes. */
pre code.hljs{display:block;overflow-x:auto;padding:1em}
code.hljs{padding:3px 5px}

/* Light (default) -- GitHub Light palette. */
.hljs{color:#24292e;background:#ffffff}
.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#d73a49}
.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#6f42c1}
.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id,.hljs-variable{color:#005cc5}
.hljs-meta .hljs-string,.hljs-regexp,.hljs-string{color:#032f62}
.hljs-built_in,.hljs-symbol{color:#e36209}
.hljs-code,.hljs-comment,.hljs-formula{color:#6a737d}
.hljs-name,.hljs-quote,.hljs-selector-pseudo,.hljs-selector-tag{color:#22863a}
.hljs-subst{color:#24292e}
.hljs-section{color:#005cc5;font-weight:700}
.hljs-bullet{color:#735c0f}
.hljs-emphasis{color:#24292e;font-style:italic}
.hljs-strong{color:#24292e;font-weight:700}
.hljs-addition{color:#22863a;background-color:#f0fff4}
.hljs-deletion{color:#b31d28;background-color:#ffeef0}

/* Dark -- the original GitHub Dark palette, under Swagger UI's own class. */
html.dark-mode .hljs{color:#c9d1d9;background:#0d1117}
html.dark-mode .hljs-doctag,
html.dark-mode .hljs-keyword,
html.dark-mode .hljs-meta .hljs-keyword,
html.dark-mode .hljs-template-tag,
html.dark-mode .hljs-template-variable,
html.dark-mode .hljs-type,
html.dark-mode .hljs-variable.language_{color:#ff7b72}
html.dark-mode .hljs-title,
html.dark-mode .hljs-title.class_,
html.dark-mode .hljs-title.class_.inherited__,
html.dark-mode .hljs-title.function_{color:#d2a8ff}
html.dark-mode .hljs-attr,
html.dark-mode .hljs-attribute,
html.dark-mode .hljs-literal,
html.dark-mode .hljs-meta,
html.dark-mode .hljs-number,
html.dark-mode .hljs-operator,
html.dark-mode .hljs-selector-attr,
html.dark-mode .hljs-selector-class,
html.dark-mode .hljs-selector-id,
html.dark-mode .hljs-variable{color:#79c0ff}
html.dark-mode .hljs-meta .hljs-string,
html.dark-mode .hljs-regexp,
html.dark-mode .hljs-string{color:#a5d6ff}
html.dark-mode .hljs-built_in,
html.dark-mode .hljs-symbol{color:#ffa657}
html.dark-mode .hljs-code,
html.dark-mode .hljs-comment,
html.dark-mode .hljs-formula{color:#8b949e}
html.dark-mode .hljs-name,
html.dark-mode .hljs-quote,
html.dark-mode .hljs-selector-pseudo,
html.dark-mode .hljs-selector-tag{color:#7ee787}
html.dark-mode .hljs-subst{color:#c9d1d9}
html.dark-mode .hljs-section{color:#1f6feb;font-weight:700}
html.dark-mode .hljs-bullet{color:#f2cc60}
html.dark-mode .hljs-emphasis{color:#c9d1d9;font-style:italic}
html.dark-mode .hljs-strong{color:#c9d1d9;font-weight:700}
html.dark-mode .hljs-addition{color:#aff5b4;background-color:#033a16}
html.dark-mode .hljs-deletion{color:#ffdcd7;background-color:#67060c}

/*
 * swagger-ui-express's page template hardcodes a light body background, which stays put
 * in dark mode and shows as a pale border around the dark page.
 */
html.dark-mode body{background:#1c2022}

/*
 * The Change Log / MCP Server links above the title are <a>, so the Swagger UI rule
 * `.swagger-ui a{background:transparent}` outranks the pill background their script asks
 * for and they render as bare text. Their `color:#fff !important` then vanishes against a
 * light page, so the colour has to follow the scheme like everything else here.
 */
.swagger-ui .snb-cl-link,
.swagger-ui .snb-mcp-link{color:#000!important}
html.dark-mode .swagger-ui .snb-cl-link,
html.dark-mode .swagger-ui .snb-mcp-link{color:#fff!important}
