/* Shared code and equation presentation. Generated assets are self hosted. */
@font-face {
  font-family: "Geist Mono";
  src: url("fonts/geist-mono.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
pre code[data-language], .code-t, code[data-language] {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: inherit;
  line-height: inherit;
  font-variant-ligatures: none;
  tab-size: 4;
  text-wrap: initial;
}
pre:has(> code[data-language]) {
  overflow-x: auto;
  white-space: pre;
  text-wrap: initial;
  tab-size: 4;
}
.syntax-code { color: #272727; }
.syntax-code .line { white-space: pre; }
.math-expr {
  display: inline-block;
  max-width: 100%;
  vertical-align: middle;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 0;
  color: inherit;
  text-wrap: initial;
}
.math-block { display: block; }
.math-expr .katex { font-size: 1em; text-align: left; }
.math-expr .katex-display { margin: 0; text-align: left; }
.math-expr .katex-display > .katex { text-align: left; }
@media (prefers-color-scheme: dark) {
  /* www deliberately keeps its light theme; Hub follows the OS theme. */
  .hub .syntax-code, .hub .syntax-code span {
    color: var(--shiki-dark, #eeeeee) !important;
    font-style: var(--shiki-dark-font-style, normal) !important;
    font-weight: var(--shiki-dark-font-weight, inherit) !important;
  }
}
