/*
 * NuStreamDocs.Highlight default stylesheet.
 * Standard short-form token classes for the spans emitted by HighlightEmitter.
 * Light scheme is the default; the dark scheme overrides apply when the page
 * carries data-md-color-scheme="slate" (matches mkdocs-material's Slate theme).
 */
.highlight pre {
  line-height: 1.45;
  margin: 0;
  padding: 0.75rem 1rem;
  overflow-x: auto;
}

.highlight code {
  background: transparent;
  padding: 0;
  font-family: inherit;
}

.highlight {
  background: #f6f8fa;
  border-radius: 4px;
}

/* Comments */
.highlight .c, .highlight .c1, .highlight .cm, .highlight .cs, .highlight .cp { color: #6a737d; font-style: italic; }

/* Keywords */
.highlight .k, .highlight .kc, .highlight .kd, .highlight .kt { color: #d73a49; font-weight: 600; }

/* Names */
.highlight .n  { color: #24292e; }
.highlight .nf { color: #6f42c1; font-weight: 600; }
.highlight .nc { color: #6f42c1; font-weight: 600; }
.highlight .nb { color: #005cc5; }
.highlight .na { color: #22863a; }

/* Strings */
.highlight .s, .highlight .s1, .highlight .s2 { color: #032f62; }
.highlight .se { color: #d73a49; }

/* Numbers */
.highlight .mi, .highlight .mf, .highlight .mh { color: #005cc5; }

/* Operators / punctuation */
.highlight .o { color: #d73a49; }
.highlight .p { color: #24292e; }

/* Whitespace stays invisible */
.highlight .w { color: inherit; }

/* Diff blocks */
.highlight .gi { background: #e6ffec; color: #22863a; }
.highlight .gd { background: #ffeef0; color: #b31d28; }
.highlight .gh { color: #6a737d; font-weight: 600; }
.highlight .gu { color: #6a737d; }

/* Line numbers, highlighted lines, inline diff/focus, and callouts */
.highlight .nd-line { display: inline-block; min-width: 100%; }
.highlight .hll { background: rgba(255, 235, 59, 0.28); }
.highlight .nd-line--add { background: rgba(46, 160, 67, 0.16); }
.highlight .nd-line--del { background: rgba(248, 81, 73, 0.16); opacity: 0.85; }
.highlight.nd-has-focus .nd-line:not(.nd-line--focus) {
  opacity: 0.42;
  filter: blur(0.4px);
  transition: opacity 0.18s ease, filter 0.18s ease;
}
.highlight.nd-has-focus:hover .nd-line { opacity: 1; filter: none; }
.highlight .linenos::before {
  content: attr(data-line);
  display: inline-block;
  min-width: 2.2rem;
  padding-right: 0.85rem;
  text-align: right;
  color: #8c959f;
  user-select: none;
}
.highlight .nd-code-callout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: #0969da;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  font-style: normal;
  vertical-align: middle;
  user-select: none;
}
ol.nd-code-annotations { margin-top: 0.5rem; padding-left: 1.5rem; border-left: 3px solid #0969da; }

/* Slate / dark-mode palette */
[data-md-color-scheme="slate"] .highlight { background: #161b22; }
[data-md-color-scheme="slate"] .highlight .c,
[data-md-color-scheme="slate"] .highlight .c1,
[data-md-color-scheme="slate"] .highlight .cm,
[data-md-color-scheme="slate"] .highlight .cs,
[data-md-color-scheme="slate"] .highlight .cp { color: #8b949e; }
[data-md-color-scheme="slate"] .highlight .k,
[data-md-color-scheme="slate"] .highlight .kc,
[data-md-color-scheme="slate"] .highlight .kd,
[data-md-color-scheme="slate"] .highlight .kt { color: #ff7b72; }
[data-md-color-scheme="slate"] .highlight .n  { color: #c9d1d9; }
[data-md-color-scheme="slate"] .highlight .nf,
[data-md-color-scheme="slate"] .highlight .nc { color: #d2a8ff; }
[data-md-color-scheme="slate"] .highlight .nb { color: #79c0ff; }
[data-md-color-scheme="slate"] .highlight .na { color: #7ee787; }
[data-md-color-scheme="slate"] .highlight .s,
[data-md-color-scheme="slate"] .highlight .s1,
[data-md-color-scheme="slate"] .highlight .s2 { color: #a5d6ff; }
[data-md-color-scheme="slate"] .highlight .se { color: #ff7b72; }
[data-md-color-scheme="slate"] .highlight .mi,
[data-md-color-scheme="slate"] .highlight .mf,
[data-md-color-scheme="slate"] .highlight .mh { color: #79c0ff; }
[data-md-color-scheme="slate"] .highlight .o  { color: #ff7b72; }
[data-md-color-scheme="slate"] .highlight .p  { color: #c9d1d9; }
[data-md-color-scheme="slate"] .highlight .gi { background: #033a16; color: #7ee787; }
[data-md-color-scheme="slate"] .highlight .gd { background: #67060c; color: #ffa198; }
[data-md-color-scheme="slate"] .highlight .gh,
[data-md-color-scheme="slate"] .highlight .gu { color: #8b949e; }
[data-md-color-scheme="slate"] .highlight .hll { background: rgba(187, 128, 9, 0.26); }
[data-md-color-scheme="slate"] .highlight .nd-line--add { background: rgba(46, 160, 67, 0.24); }
[data-md-color-scheme="slate"] .highlight .nd-line--del { background: rgba(248, 81, 73, 0.24); }
[data-md-color-scheme="slate"] .highlight .linenos::before { color: #6e7681; }
[data-md-color-scheme="slate"] .highlight .nd-code-callout { background: #2f81f7; }
[data-md-color-scheme="slate"] ol.nd-code-annotations { border-left-color: #2f81f7; }