/* Stronger, more readable code blocks for TARSA docs. */

#documenter pre code.hljs,
#documenter pre code[class*="language-"] {
  display: block;
  overflow-x: auto;
  padding: 0.72rem 0.88rem;
  border: 1px solid #d5dde6;
  border-left: 4px solid #2b6f88;
  border-radius: 0.5rem;
  background: #f8fafc;
  color: #22313f;
  line-height: 1.42;
  font-size: 0.86rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

#documenter pre {
  margin-top: 0.65rem;
  margin-bottom: 0.85rem;
}

#documenter code {
  font-variant-ligatures: none;
}

/* Higher-contrast highlight.js tokens when client-side highlighting works. */
#documenter .hljs-comment {
  color: #6b7280;
  font-style: italic;
}

#documenter .hljs-keyword,
#documenter .hljs-attribute,
#documenter .hljs-selector-tag,
#documenter .hljs-meta .hljs-keyword,
#documenter .hljs-doctag,
#documenter .hljs-name {
  color: #9a3412;
  font-weight: 700;
}

#documenter .hljs-type,
#documenter .hljs-string,
#documenter .hljs-quote,
#documenter .hljs-template-tag,
#documenter .hljs-deletion {
  color: #0f766e;
}

#documenter .hljs-number,
#documenter .hljs-literal {
  color: #7c3aed;
}

#documenter .hljs-title,
#documenter .hljs-section,
#documenter .hljs-built_in,
#documenter .hljs-bullet,
#documenter .hljs-code,
#documenter .hljs-addition {
  color: #1d4ed8;
  font-weight: 700;
}

#documenter .hljs-regexp,
#documenter .hljs-symbol,
#documenter .hljs-variable,
#documenter .hljs-template-variable,
#documenter .hljs-link,
#documenter .hljs-selector-attr,
#documenter .hljs-operator,
#documenter .hljs-selector-pseudo {
  color: #b45309;
}

#documenter .hljs-meta {
  color: #0f766e;
}

/* Fallback local token colors if CDN highlighting is unavailable. */
#documenter .local-hl-comment {
  color: #6b7280;
  font-style: italic;
}

#documenter .local-hl-keyword {
  color: #9a3412;
  font-weight: 700;
}

#documenter .local-hl-string {
  color: #0f766e;
}

#documenter .local-hl-number {
  color: #7c3aed;
}

#documenter .local-hl-symbol,
#documenter .local-hl-flag {
  color: #b45309;
}

#documenter .local-hl-call,
#documenter .local-hl-command {
  color: #1d4ed8;
  font-weight: 700;
}

#documenter .local-hl-module,
#documenter .local-hl-constant {
  color: #047857;
  font-weight: 700;
}

#documenter .local-hl-variable {
  color: #b91c1c;
}
