/*
 * d2o PaaS docs syntax highlighting — Tomorrow Night (jmblog/color-themes-for-highlightjs),
 * retinted for the product's dark violet surface: background -> --code-bg (#11101e),
 * base text -> #e0e0e0 (matches --inline-code-color), keyword -> --accent (#a29bfe),
 * addition/deletion -> --success/--danger. Everything else keeps Tomorrow Night's
 * hues unchanged — already >=4.5:1 contrast on #11101e (verified), no need to invent more.
 */

/* Comment */
.hljs-comment {
  color: #969896;
}

/* Red */
.hljs-variable,
.hljs-attribute,
.hljs-attr,
.hljs-tag,
.hljs-regexp,
.ruby .hljs-constant,
.xml .hljs-tag .hljs-title,
.xml .hljs-pi,
.xml .hljs-doctype,
.html .hljs-doctype,
.css .hljs-id,
.css .hljs-class,
.css .hljs-pseudo {
  color: #cc6666;
}

/* Orange */
.hljs-number,
.hljs-preprocessor,
.hljs-pragma,
.hljs-built_in,
.hljs-literal,
.hljs-params,
.hljs-constant {
  color: #de935f;
}

/* Yellow */
.ruby .hljs-class .hljs-title,
.css .hljs-rule .hljs-attribute {
  color: #f0c674;
}

/* Green */
.hljs-string,
.hljs-value,
.hljs-inheritance,
.hljs-header,
.hljs-name,
.ruby .hljs-symbol,
.xml .hljs-cdata {
  color: #b5bd68;
}

/* Aqua */
.hljs-title,
.hljs-section,
.css .hljs-hexcolor {
  color: #8abeb7;
}

/* Blue */
.hljs-function,
.python .hljs-decorator,
.python .hljs-title,
.ruby .hljs-function .hljs-title,
.ruby .hljs-title .hljs-keyword,
.perl .hljs-sub,
.javascript .hljs-title,
.coffeescript .hljs-title {
  color: #81a2be;
}

/* Purple — brand accent, not Tomorrow Night's stock purple */
.hljs-keyword,
.javascript .hljs-function {
  color: #a29bfe;
}

.hljs {
  display: block;
  overflow-x: auto;
  background: #11101e;
  color: #e0e0e0;
}

.coffeescript .javascript,
.javascript .xml,
.tex .hljs-formula,
.xml .javascript,
.xml .vbscript,
.xml .css,
.xml .hljs-cdata {
  opacity: 0.5;
}

.hljs-emphasis {
  font-style: italic;
}

.hljs-strong {
  font-weight: bold;
}

/* Brand success/danger, more accessible on #11101e than Tomorrow Night's originals */
.hljs-addition {
  color: #10b981;
}

.hljs-deletion {
  color: #ef4444;
}
