.highlight table td {
  padding: 5px; }

.highlight table pre {
  margin: 0; }

.highlight .cm {
  color: #777772;
  font-style: italic; }

.highlight .cp {
  color: #797676;
  font-weight: bold; }

.highlight .c1 {
  color: #777772;
  font-style: italic; }

.highlight .cs {
  color: #797676;
  font-weight: bold;
  font-style: italic; }

.highlight .c, .highlight .cd {
  color: #777772;
  font-style: italic; }

.highlight .err {
  color: #a61717;
  background-color: #e3d2d2; }

.highlight .gd {
  color: #000000;
  background-color: #ffdddd; }

.highlight .ge {
  color: #000000;
  font-style: italic; }

.highlight .gr {
  color: #aa0000; }

.highlight .gh {
  color: #797676; }

.highlight .gi {
  color: #000000;
  background-color: #ddffdd; }

.highlight .go {
  color: #888888; }

.highlight .gp {
  color: #555555; }

.highlight .gs {
  font-weight: bold; }

.highlight .gu {
  color: #aaaaaa; }

.highlight .gt {
  color: #aa0000; }

.highlight .kc {
  color: #000000;
  font-weight: bold; }

.highlight .kd {
  color: #000000;
  font-weight: bold; }

.highlight .kn {
  color: #000000;
  font-weight: bold; }

.highlight .kp {
  color: #000000;
  font-weight: bold; }

.highlight .kr {
  color: #000000;
  font-weight: bold; }

.highlight .kt {
  color: #445588;
  font-weight: bold; }

.highlight .k, .highlight .kv {
  color: #000000;
  font-weight: bold; }

.highlight .mf {
  color: #009999; }

.highlight .mh {
  color: #009999; }

.highlight .il {
  color: #009999; }

.highlight .mi {
  color: #009999; }

.highlight .mo {
  color: #009999; }

.highlight .m, .highlight .mb, .highlight .mx {
  color: #009999; }

.highlight .sb {
  color: #d14; }

.highlight .sc {
  color: #d14; }

.highlight .sd {
  color: #d14; }

.highlight .s2 {
  color: #d14; }

.highlight .se {
  color: #d14; }

.highlight .sh {
  color: #d14; }

.highlight .si {
  color: #d14; }

.highlight .sx {
  color: #d14; }

.highlight .sr {
  color: #009926; }

.highlight .s1 {
  color: #d14; }

.highlight .ss {
  color: #990073; }

.highlight .s {
  color: #d14; }

.highlight .na {
  color: #008080; }

.highlight .bp {
  color: #797676; }

.highlight .nb {
  color: #0086B3; }

.highlight .nc {
  color: #445588;
  font-weight: bold; }

.highlight .no {
  color: #008080; }

.highlight .nd {
  color: #3c5d5d;
  font-weight: bold; }

.highlight .ni {
  color: #800080; }

.highlight .ne {
  color: #990000;
  font-weight: bold; }

.highlight .nf {
  color: #990000;
  font-weight: bold; }

.highlight .nl {
  color: #990000;
  font-weight: bold; }

.highlight .nn {
  color: #555555; }

.highlight .nt {
  color: #000080; }

.highlight .vc {
  color: #008080; }

.highlight .vg {
  color: #008080; }

.highlight .vi {
  color: #008080; }

.highlight .nv {
  color: #008080; }

.highlight .ow {
  color: #000000;
  font-weight: bold; }

.highlight .o {
  color: #000000;
  font-weight: bold; }

.highlight .w {
  color: #bbbbbb; }

.highlight {
  background-color: #f8f8f8; }

/*******************************************************************************
MeyerWeb Reset
*******************************************************************************/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline; }

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block; }

ol, ul {
  list-style: none; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

/*******************************************************************************
Theme Styles
*******************************************************************************/
body {
  box-sizing: border-box;
  color: #373737;
  background: #212121;
  font-size: 16px;
  font-family: 'Myriad Pro', Calibri, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased; }

h1, h2, h3, h4, h5, h6 {
  margin: 10px 0;
  font-weight: 700;
  color: #222222;
  font-family: 'Lucida Grande', 'Calibri', Helvetica, Arial, sans-serif;
  letter-spacing: -1px; }

h1 {
  font-size: 36px;
  font-weight: 700; }

h2 {
  padding-bottom: 10px;
  font-size: 32px;
  background: url("../images/bg_hr.png") repeat-x bottom; }

h3 {
  font-size: 24px; }

h4 {
  font-size: 21px; }

h5 {
  font-size: 18px; }

h6 {
  font-size: 16px; }

p {
  margin: 10px 0 15px 0; }

footer p {
  color: #f2f2f2; }

a {
  text-decoration: none;
  color: #0F79D0;
  text-shadow: none;
  transition: color 0.5s ease;
  transition: text-shadow 0.5s ease;
  -webkit-transition: color 0.5s ease;
  -webkit-transition: text-shadow 0.5s ease;
  -moz-transition: color 0.5s ease;
  -moz-transition: text-shadow 0.5s ease;
  -o-transition: color 0.5s ease;
  -o-transition: text-shadow 0.5s ease;
  -ms-transition: color 0.5s ease;
  -ms-transition: text-shadow 0.5s ease; }

a:hover, a:focus {
  text-decoration: underline; }

footer a {
  color: #F2F2F2;
  text-decoration: underline; }

em, cite {
  font-style: italic; }

strong {
  font-weight: bold; }

img {
  position: relative;
  margin: 0 auto;
  max-width: 739px;
  padding: 5px;
  margin: 10px 0 10px 0;
  border: 1px solid #ebebeb;
  box-shadow: 0 0 5px #ebebeb;
  -webkit-box-shadow: 0 0 5px #ebebeb;
  -moz-box-shadow: 0 0 5px #ebebeb;
  -o-box-shadow: 0 0 5px #ebebeb;
  -ms-box-shadow: 0 0 5px #ebebeb; }

p img {
  display: inline;
  margin: 0;
  padding: 0;
  vertical-align: middle;
  text-align: center;
  border: none; }

pre, code {
  color: #222;
  background-color: #fff;
  font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
  font-size: 0.875em;
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px; }

pre {
  padding: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  overflow: auto; }

code {
  padding: 3px;
  margin: 0 3px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); }

pre code {
  display: block;
  box-shadow: none; }

blockquote {
  color: #666;
  margin-bottom: 20px;
  padding: 0 0 0 20px;
  border-left: 3px solid #bbb; }

ul, ol, dl {
  margin-bottom: 15px; }

ul {
  list-style-position: inside;
  list-style: disc;
  padding-left: 20px; }

ol {
  list-style-position: inside;
  list-style: decimal;
  padding-left: 20px; }

dl dt {
  font-weight: bold; }

dl dd {
  padding-left: 20px;
  font-style: italic; }

dl p {
  padding-left: 20px;
  font-style: italic; }

hr {
  height: 1px;
  margin-bottom: 5px;
  border: none;
  background: url("../images/bg_hr.png") repeat-x center; }

table {
  border: 1px solid #373737;
  margin-bottom: 20px;
  text-align: left; }

th {
  font-family: 'Lucida Grande', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  padding: 10px;
  background: #373737;
  color: #fff; }

td {
  padding: 10px;
  border: 1px solid #373737; }

form {
  background: #f2f2f2;
  padding: 20px; }

kbd {
  background-color: #fafbfc;
  border: 1px solid #c6cbd1;
  border-bottom-color: #959da5;
  border-radius: 3px;
  box-shadow: inset 0 -1px 0 #959da5;
  color: #444d56;
  display: inline-block;
  font-size: 11px;
  line-height: 11px;
  padding: 3px 5px;
  vertical-align: middle; }

/*******************************************************************************
Full-Width Styles
*******************************************************************************/
.outer {
  width: 100%; }

.inner {
  position: relative;
  max-width: 640px;
  padding: 20px 10px;
  margin: 0 auto; }

#forkme_banner {
  display: block;
  position: absolute;
  top: 0;
  right: 10px;
  z-index: 10;
  padding: 10px 50px 10px 10px;
  color: #fff;
  background: url("../images/blacktocat.png") #0090ff no-repeat 95% 50%;
  font-weight: 700;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px; }

#header_wrap {
  background: #212121;
  background: -moz-linear-gradient(top, #373737, #212121);
  background: -webkit-linear-gradient(top, #373737, #212121);
  background: -ms-linear-gradient(top, #373737, #212121);
  background: -o-linear-gradient(top, #373737, #212121);
  background: linear-gradient(to top, #373737, #212121); }

#header_wrap .inner {
  padding: 50px 10px 30px 10px; }

#project_title {
  margin: 0;
  color: #fff;
  font-size: 42px;
  font-weight: 700;
  text-shadow: #111 0px 0px 10px; }

#project_tagline {
  color: #fff;
  font-size: 24px;
  font-weight: 300;
  background: none;
  text-shadow: #111 0px 0px 10px; }

#downloads {
  position: absolute;
  width: 210px;
  z-index: 10;
  bottom: -40px;
  right: 0;
  height: 70px;
  background: url("../images/icon_download.png") no-repeat 0% 90%; }

.zip_download_link {
  display: block;
  float: right;
  width: 90px;
  height: 70px;
  text-indent: -5000px;
  overflow: hidden;
  background: url(../images/sprite_download.png) no-repeat bottom left; }

.tar_download_link {
  display: block;
  float: right;
  width: 90px;
  height: 70px;
  text-indent: -5000px;
  overflow: hidden;
  background: url(../images/sprite_download.png) no-repeat bottom right;
  margin-left: 10px; }

.zip_download_link:hover {
  background: url(../images/sprite_download.png) no-repeat top left; }

.tar_download_link:hover {
  background: url(../images/sprite_download.png) no-repeat top right; }

#main_content_wrap {
  background: #f2f2f2;
  border-top: 1px solid #111;
  border-bottom: 1px solid #111; }

#main_content {
  padding-top: 40px; }

#footer_wrap {
  background: #212121; }

/*******************************************************************************
Small Device Styles
*******************************************************************************/
@media screen and (max-width: 992px) {
  img {
    max-width: 100%; } }
@media screen and (max-width: 480px) {
  body {
    font-size: 14px; }

  #downloads {
    display: none; }

  .inner {
    min-width: 320px;
    max-width: 480px; }

  #project_title {
    font-size: 32px; }

  h1 {
    font-size: 28px; }

  h2 {
    font-size: 24px; }

  h3 {
    font-size: 21px; }

  h4 {
    font-size: 18px; }

  h5 {
    font-size: 14px; }

  h6 {
    font-size: 12px; }

  code, pre {
    font-size: 11px; } }
@media screen and (max-width: 320px) {
  body {
    font-size: 14px; }

  #downloads {
    display: none; }

  .inner {
    min-width: 240px;
    max-width: 320px; }

  #project_title {
    font-size: 28px; }

  h1 {
    font-size: 24px; }

  h2 {
    font-size: 21px; }

  h3 {
    font-size: 18px; }

  h4 {
    font-size: 16px; }

  h5 {
    font-size: 14px; }

  h6 {
    font-size: 12px; }

  code, pre {
    min-width: 240px;
    max-width: 320px;
    font-size: 11px; } }
:root, [data-theme="light"] {
  --bg-primary: #fff;
  --bg-secondary: #f6f8fa;
  --bg-code: #fff;
  --bg-card: #f6f8fa;
  --border-primary: #e1e4e8;
  --border-secondary: #eaeaea;
  --text-primary: #24292e;
  --text-secondary: #4a5568;
  --text-muted: #6a737d;
  --text-heading: #1b2838;
  --link-color: #4183c4;
  --toc-text: #555;
  --toc-h3-text: #777;
  --toc-heading: #999;
  --sidebar-bg: #fff;
  --hero-text: #3a3a3a;
  --version-list-bg: #eef1f5;
  --version-list-hover: #dce4ee;
  --btn-secondary-border: #1b2838;
  --btn-secondary-text: #1b2838;
  --btn-secondary-hover-bg: rgba(27, 40, 56, 0.06);
  --feature-card-shadow: rgba(0, 0, 0, 0.07);
  --syn-keyword: #5f00d7;
  --syn-keyword-export: #d7005f;
  --syn-function: #005fd7;
  --syn-type: #005f5f;
  --syn-constructor: #af5f00;
  --syn-variable: #24292e;
  --syn-param: #6f42c1;
  --syn-member: #005cc5;
  --syn-string: #008700;
  --syn-string-special: #008787;
  --syn-number: #875f00;
  --syn-operator: #d73a49;
  --syn-comment: #6a737d;
  --syn-punctuation: #24292e; }

[data-theme="dark"] {
  --bg-primary: #0d1117;
  --bg-secondary: #161b22;
  --bg-code: #1c2128;
  --bg-card: #161b22;
  --border-primary: #30363d;
  --border-secondary: #21262d;
  --text-primary: #e6edf3;
  --text-secondary: #8b949e;
  --text-muted: #8b949e;
  --text-heading: #e6edf3;
  --link-color: #58a6ff;
  --toc-text: #b1bac4;
  --toc-h3-text: #8b949e;
  --toc-heading: #8b949e;
  --sidebar-bg: #0d1117;
  --hero-text: #c9d1d9;
  --version-list-bg: #21262d;
  --version-list-hover: #30363d;
  --btn-secondary-border: #58a6ff;
  --btn-secondary-text: #58a6ff;
  --btn-secondary-hover-bg: rgba(88, 166, 255, 0.1);
  --feature-card-shadow: rgba(0, 0, 0, 0.3);
  --syn-keyword: #ff7b72;
  --syn-keyword-export: #ff7b72;
  --syn-function: #d2a8ff;
  --syn-type: #79c0ff;
  --syn-constructor: #ffa657;
  --syn-variable: #e6edf3;
  --syn-param: #d2a8ff;
  --syn-member: #79c0ff;
  --syn-string: #a5d6ff;
  --syn-string-special: #a5d6ff;
  --syn-number: #ffa657;
  --syn-operator: #ff7b72;
  --syn-comment: #8b949e;
  --syn-punctuation: #e6edf3; }

body {
  background-color: var(--bg-primary) !important;
  color: var(--text-primary) !important; }

@font-face {
  font-family: 'Mona Sans';
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/mona-sans@latest/latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap; }
@font-face {
  font-family: 'Mona Sans';
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/mona-sans@latest/latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap; }
body, h1, h2, h3, h4, h5, h6, strong, b {
  font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; }

h1, h2, h3, h4, h5, h6 {
  letter-spacing: normal; }

@font-face {
  font-family: 'Monaspace Krypton';
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/monaspace-krypton@latest/latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap; }
@font-face {
  font-family: 'Monaspace Krypton';
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/monaspace-krypton@latest/latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap; }
code, pre, kbd, samp, tt {
  font-family: "Monaspace Krypton", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-feature-settings: "ss01", "ss03", "ss04", "ss05", "ss06", "ss07", "ss08", "ss09", "ss10", "cv01" 2, "cv02", "cv10", "cv11", "cv30", "cv31", "cv32", "cv62", "liga", "calt", "case"; }

code, kbd, samp, tt {
  box-shadow: none !important; }

#header_wrap {
  background: linear-gradient(135deg, #0d1b2a 0%, #1b2838 60%, #243447 100%) !important; }
  #header_wrap .inner {
    padding: 25px 10px 18px !important;
    display: flex;
    align-items: center; }
  #header_wrap .header-left {
    display: flex;
    gap: 0.75rem; }
  #header_wrap .header-info {
    display: flex;
    flex-direction: column;
    justify-content: center; }
  #header_wrap #header-brand {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit; }
    #header_wrap #header-brand:hover {
      opacity: 0.85; }
  #header_wrap #project_title {
    font-weight: 700;
    font-size: 2em;
    letter-spacing: -0.5px;
    line-height: 1.1; }
  #header_wrap #project_tagline {
    color: #a0b4cc !important;
    font-size: 1em;
    font-weight: 400; }
  #header_wrap #github_link {
    color: #8899aa;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.15s ease; }
    #header_wrap #github_link:hover {
      color: #fff; }
    #header_wrap #github_link i {
      margin-right: 0.2em; }
  #header_wrap .header-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: auto;
    gap: 0.3rem; }

#version-select {
  appearance: none;
  background: rgba(255, 255, 255, 0.1);
  color: #c0d0e0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 0.2rem 1.4rem 0.2rem 0.5rem;
  font-family: monospace;
  font-size: 0.8em;
  cursor: pointer;
  margin-top: 0.3rem;
  width: fit-content;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23a0b4cc'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.4rem center; }
  #version-select:hover, #version-select:focus {
    background-color: rgba(255, 255, 255, 0.18);
    color: #fff;
    outline: none; }
  #version-select option {
    background: #1b2838;
    color: #e0e8f0; }

#nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #8899aa;
  font-size: 1.2em;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s ease; }
  #nav-toggle:hover {
    color: #fff; }

#nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.25s ease; }
  #nav-overlay.open {
    opacity: 1; }

@media (max-width: 768px) {
  #header_wrap {
    position: sticky;
    top: 0;
    z-index: 1000; }
    #header_wrap .inner {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding: 8px 12px !important; }
    #header_wrap .header-left {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      flex-shrink: 1;
      min-width: 0; }
    #header_wrap .header-info {
      display: flex;
      flex-direction: row;
      align-items: baseline;
      gap: 0.3rem;
      flex-shrink: 1;
      min-width: 0; }
    #header_wrap #header-brand {
      flex-direction: row;
      align-items: baseline;
      gap: 0.4rem;
      flex-shrink: 1;
      min-width: 0; }
    #header_wrap #project_title {
      font-size: 1.1em;
      white-space: nowrap; }
    #header_wrap #project_tagline {
      font-size: 0.7em;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis; }
    #header_wrap #header-logo {
      height: 1.8em; }
    #header_wrap #version-select {
      flex-shrink: 0;
      font-size: 0.65em;
      margin-left: 0.3rem;
      margin-top: 0;
      padding: 0.15rem 1.2rem 0.15rem 0.4rem; }
    #header_wrap #github_link {
      flex-shrink: 0;
      font-size: 1.5em;
      display: flex;
      align-items: center; }
      #header_wrap #github_link .fa-github {
        margin-right: 0; }
      #header_wrap #github_link .gh-text {
        display: none; }
    #header_wrap .header-right {
      margin-left: auto;
      flex-shrink: 0; }

  #nav-toggle {
    display: inline-block;
    flex-shrink: 0; }

  #nav-overlay.open {
    display: block; } }
.content-with-toc {
  display: flex;
  max-width: 1080px !important;
  gap: 0; }

#toc-sidebar {
  width: 200px;
  flex-shrink: 0;
  position: sticky;
  top: 20px;
  align-self: flex-start;
  padding-right: 1.25rem;
  border-right: 1px solid var(--border-secondary);
  margin-right: 2rem;
  max-height: calc(100vh - 40px);
  overflow-y: auto; }
  #toc-sidebar h3 {
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--toc-heading);
    margin: 0 0 0.6rem; }
  #toc-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0; }
  #toc-sidebar li {
    margin-bottom: 0.2rem; }
    #toc-sidebar li a {
      color: var(--toc-text);
      text-decoration: none;
      font-size: 0.82em;
      display: block;
      padding: 0.15rem 0;
      line-height: 1.4; }
      #toc-sidebar li a:hover {
        color: var(--text-heading);
        text-decoration: underline;
        text-decoration-thickness: 0.5px;
        text-underline-offset: 2.5px; }
    #toc-sidebar li.toc-h3 {
      padding-left: 0.75rem; }
      #toc-sidebar li.toc-h3 a {
        font-size: 0.78em;
        color: var(--toc-h3-text); }
  #toc-sidebar #site-nav {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-secondary); }
    #toc-sidebar #site-nav #version-select {
      margin-bottom: 0.75rem;
      background: #1b2838;
      color: #e0e8f0;
      border: 1px solid #3a5068;
      font-size: 0.85em; }
    #toc-sidebar #site-nav ul ul {
      padding-left: 0.75rem; }
    #toc-sidebar #site-nav li {
      font-size: 0.82em;
      color: var(--text-secondary); }
      #toc-sidebar #site-nav li a {
        text-decoration: none;
        font-size: 1em; }
        #toc-sidebar #site-nav li a:hover {
          text-decoration: underline;
          text-decoration-thickness: 0.5px;
          text-underline-offset: 2.5px; }

#toc-sidebar.no-toc-content {
  display: none; }
  #toc-sidebar.no-toc-content > h3:last-of-type,
  #toc-sidebar.no-toc-content > #toc-list {
    display: none; }

@media (max-width: 768px) {
  #toc-sidebar.no-toc-content {
    display: block; }
    #toc-sidebar.no-toc-content > h3:last-of-type,
    #toc-sidebar.no-toc-content > #toc-list {
      display: none; } }
#main_content {
  flex: 1;
  min-width: 0;
  max-width: 820px; }
  #main_content a {
    text-decoration: none; }
    #main_content a:hover {
      text-decoration: underline;
      text-decoration-thickness: 0.5px;
      text-underline-offset: 2.5px; }
  #main_content.no-toc {
    margin: 0 auto; }
  #main_content h1, #main_content h2, #main_content h3, #main_content h4, #main_content h5, #main_content h6 {
    color: var(--text-heading) !important; }

#header-logo {
  height: 6rem;
  border: none;
  box-shadow: none;
  margin: auto 0 auto 0; }

@media (max-width: 768px) {
  .content-with-toc {
    flex-direction: column;
    max-width: 100% !important;
    padding: 10px 15px !important; }

  #toc-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: min(260px, 80vw);
    height: 100dvh;
    max-height: none;
    box-sizing: border-box;
    background: var(--sidebar-bg);
    z-index: 999;
    border-right: 1px solid var(--border-primary);
    margin-right: 0;
    padding: 60px 1.25rem 1.25rem;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.15);
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; }
    #toc-sidebar.open {
      transform: translateX(0); }

  #main_content {
    margin: 0;
    max-width: 100%;
    width: 100%;
    overflow-x: auto; }

  #main_content_wrap {
    overflow-x: hidden; } }
.hero-tagline {
  font-size: 1.2em;
  line-height: 1.7;
  color: var(--hero-text);
  margin: 0 0 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-secondary); }

.code-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
  max-width: 100%; }
  .code-showcase.code-showcase-top {
    grid-template-columns: 1fr;
    justify-items: center; }
    .code-showcase.code-showcase-top .code-card {
      max-width: 70%; }

.code-card {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: 6px;
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  min-width: 0; }
  .code-card h3 {
    margin: 0 0 0.25rem;
    font-size: 1em;
    color: var(--text-heading); }
  .code-card p {
    margin: 0 0 0.75rem;
    font-size: 0.85em;
    color: var(--text-secondary);
    line-height: 1.4; }
  .code-card pre {
    margin: 0;
    padding: 0.75rem;
    background: var(--bg-code);
    border: 1px solid var(--border-primary);
    border-radius: 4px;
    overflow-x: auto;
    flex: 1;
    font-size: 0.78em;
    line-height: 1.5;
    min-width: 0; }
  .code-card code {
    display: block;
    width: fit-content;
    padding-right: 0.75rem;
    background: none;
    margin: 0;
    border: none;
    box-shadow: none;
    color: var(--text-primary); }

@media (max-width: 768px) {
  .code-showcase {
    grid-template-columns: 1fr; } }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0; }

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: 6px;
  padding: 1.1rem 1.2rem;
  transition: box-shadow 0.15s ease; }
  .feature-card:hover {
    box-shadow: 0 2px 8px var(--feature-card-shadow); }
  .feature-card h3 {
    margin: 0 0 0.35rem;
    font-size: 1em;
    color: var(--text-heading); }
  .feature-card p {
    margin: 0;
    font-size: 0.9em;
    color: var(--text-secondary);
    line-height: 1.5; }

.cta-group {
  display: flex;
  gap: 0.75rem;
  margin: 1.5rem 0;
  flex-wrap: wrap; }

.btn-cta {
  display: inline-block;
  padding: 0.55rem 1.3rem;
  border-radius: 6px;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 1em;
  transition: all 0.15s ease;
  cursor: pointer; }
  .btn-cta.primary {
    background: #1b2838;
    color: #fff !important; }
    .btn-cta.primary:hover {
      background: #2a3f55; }
  .btn-cta.secondary {
    border: 2px solid var(--btn-secondary-border);
    color: var(--btn-secondary-text) !important;
    background: transparent; }
    .btn-cta.secondary:hover {
      background: var(--btn-secondary-hover-bg); }

.doc-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 1rem 0 1.5rem; }

.doc-section h4 {
  margin: 0 0 0.3rem;
  font-size: 1em;
  color: var(--text-heading); }
.doc-section ul {
  margin: 0;
  padding-left: 1.2rem; }
  .doc-section ul li {
    margin-bottom: 0.15rem;
    font-size: 0.95em; }

.version-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem; }
  .version-list li a {
    display: inline-block;
    padding: 0.25rem 0.7rem;
    border-radius: 4px;
    background: var(--version-list-bg);
    font-family: monospace;
    font-size: 0.95em; }
    .version-list li a:hover {
      background: var(--version-list-hover); }

.highlight-nexus pre {
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: 6px;
  padding: 1rem;
  overflow-x: auto;
  font-size: 0.9em; }
.highlight-nexus code {
  font-family: "Monaspace Krypton", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  background: none;
  padding: 0;
  border: none;
  line-height: 0.8; }
.highlight-nexus .keyword {
  color: var(--syn-keyword); }
.highlight-nexus .keyword.modifier.export {
  color: var(--syn-keyword-export); }
.highlight-nexus .function {
  color: var(--syn-function); }
.highlight-nexus .function.call {
  color: var(--syn-function); }
.highlight-nexus .type {
  color: var(--syn-type); }
.highlight-nexus .type.builtin {
  font-weight: bold;
  color: var(--syn-type); }
.highlight-nexus .type.definition {
  color: var(--syn-type);
  font-weight: bold; }
.highlight-nexus .constructor {
  color: var(--syn-constructor); }
.highlight-nexus .variable {
  color: var(--syn-variable); }
.highlight-nexus .variable.parameter {
  color: var(--syn-param); }
.highlight-nexus .variable.member {
  color: var(--syn-member); }
.highlight-nexus .string {
  color: var(--syn-string); }
.highlight-nexus .string.special {
  color: var(--syn-string-special); }
.highlight-nexus .number {
  color: var(--syn-number); }
.highlight-nexus .number.float {
  color: var(--syn-number); }
.highlight-nexus .boolean {
  color: var(--syn-number);
  font-weight: bold; }
.highlight-nexus .constant.builtin {
  color: var(--syn-number);
  font-weight: bold; }
.highlight-nexus .operator {
  color: var(--syn-operator); }
.highlight-nexus .comment {
  color: var(--syn-comment);
  font-style: italic; }
.highlight-nexus .punctuation {
  color: var(--syn-punctuation); }
.highlight-nexus .punctuation.bracket {
  color: var(--syn-punctuation); }
.highlight-nexus .punctuation.delimiter {
  color: var(--syn-punctuation); }

#main_content > h2 {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-secondary); }
  #main_content > h2:first-of-type {
    border-top: none;
    padding-top: 0; }

#theme-select {
  appearance: none;
  background: rgba(255, 255, 255, 0.1);
  color: #c0d0e0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 0.2rem 1.4rem 0.2rem 0.5rem;
  font-family: monospace;
  font-size: 0.8em;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23a0b4cc'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.4rem center; }
  #theme-select:hover, #theme-select:focus {
    background-color: rgba(255, 255, 255, 0.18);
    color: #fff;
    outline: none; }
  #theme-select option {
    background: #1b2838;
    color: #e0e8f0; }

@media (max-width: 768px) {
  #theme-select {
    font-size: 0.65em;
    padding: 0.15rem 1.2rem 0.15rem 0.4rem; } }
[data-theme="dark"] #main_content_wrap {
  background: var(--bg-primary) !important;
  border-top: none !important; }
[data-theme="dark"] code {
  background: var(--bg-secondary) !important;
  color: var(--text-primary) !important;
  border-color: var(--border-primary) !important; }
[data-theme="dark"] pre {
  background: var(--bg-secondary) !important;
  border-color: var(--border-primary) !important;
  color: var(--text-primary) !important; }
  [data-theme="dark"] pre code {
    background: none !important; }
[data-theme="dark"] table {
  color: var(--text-primary); }
  [data-theme="dark"] table th {
    background: var(--bg-secondary);
    color: var(--text-heading); }
  [data-theme="dark"] table td {
    border-color: var(--border-primary); }
[data-theme="dark"] blockquote {
  border-left-color: var(--border-primary);
  color: var(--text-secondary); }
[data-theme="dark"] hr {
  border-color: var(--border-secondary); }
[data-theme="dark"] strong, [data-theme="dark"] b {
  color: var(--text-primary); }
