:root {
  --roboci-ink: #17202a;
  --roboci-muted: #5d6b7a;
  --roboci-border: #d8dee8;
  --roboci-soft: #f6f8fb;
  --roboci-accent: #0f766e;
  --roboci-accent-strong: #134e4a;
  --roboci-warn: #b45309;
}

body {
  color: var(--roboci-ink);
}

.wy-nav-content {
  max-width: 1120px;
}

.wy-side-nav-search,
.wy-nav-top {
  background: var(--roboci-accent-strong);
}

.wy-menu-vertical a {
  line-height: 1.45;
}

.wy-menu-vertical li.current > a,
.wy-menu-vertical li.on a {
  border-right-color: var(--roboci-accent);
}

.rst-content h1,
.rst-content h2,
.rst-content h3,
.rst-content h4 {
  color: #111827;
  font-weight: 700;
  letter-spacing: 0;
}

.rst-content h1 {
  margin-bottom: 0.75rem;
}

.rst-content h2 {
  border-top: 1px solid var(--roboci-border);
  margin-top: 2.25rem;
  padding-top: 1.2rem;
}

.rst-content h2:first-of-type {
  border-top: 0;
  margin-top: 1.5rem;
  padding-top: 0;
}

.rst-content p,
.rst-content li {
  line-height: 1.65;
}

.rst-content a {
  color: #0f5f86;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

.rst-content a:hover {
  color: #0b4f71;
}

.rst-content code,
.rst-content tt {
  border: 1px solid #dfe5ee;
  border-radius: 4px;
  color: #9f1239;
  font-size: 0.9em;
  padding: 0.1rem 0.28rem;
  white-space: nowrap;
}

.rst-content pre code {
  background: transparent !important;
  border: 0;
  color: inherit !important;
  display: block;
  font-size: inherit;
  padding: 0;
  white-space: pre;
}

.rst-content div[class^="highlight"],
.rst-content pre {
  border: 1px solid #d6dde8;
  border-radius: 6px;
  box-shadow: none;
  margin: 1.1rem 0;
  overflow: hidden;
}

.rst-content .highlight pre {
  background: #101827;
  color: #e5edf7;
  line-height: 1.55;
  margin: 0;
  overflow-x: auto;
  padding: 1rem;
}

.rst-content .highlight code,
.rst-content .highlight code.hljs,
.rst-content .highlight .no-highlight {
  background: transparent !important;
  color: #e5edf7 !important;
  padding: 0;
}

.rst-content .highlight code span {
  color: inherit;
}

.rst-content .highlight .hljs-comment,
.rst-content .highlight .hljs-quote {
  color: #9aa8bd !important;
  font-style: normal;
}

.rst-content .highlight .hljs-keyword,
.rst-content .highlight .hljs-selector-tag,
.rst-content .highlight .hljs-title.function_ {
  color: #93c5fd !important;
}

.rst-content .highlight .hljs-built_in,
.rst-content .highlight .hljs-literal,
.rst-content .highlight .hljs-name,
.rst-content .highlight .hljs-type {
  color: #7dd3fc !important;
}

.rst-content .highlight .hljs-attr,
.rst-content .highlight .hljs-attribute,
.rst-content .highlight .hljs-number,
.rst-content .highlight .hljs-variable {
  color: #fcd34d !important;
}

.rst-content .highlight .hljs-string,
.rst-content .highlight .hljs-regexp,
.rst-content .highlight .hljs-symbol {
  color: #86efac !important;
}

.rst-content .highlight .hljs-meta,
.rst-content .highlight .hljs-operator,
.rst-content .highlight .hljs-punctuation,
.rst-content .highlight .w {
  color: #cbd5e1 !important;
}

.rst-content table.docutils {
  border: 1px solid var(--roboci-border);
  border-radius: 6px;
  display: block;
  margin: 1.1rem 0 1.4rem;
  max-width: 100%;
  overflow-x: auto;
}

.rst-content table.docutils thead th {
  background: #edf2f7;
  border-bottom: 1px solid var(--roboci-border);
  color: #1f2937;
  font-weight: 700;
}

.rst-content table.docutils td,
.rst-content table.docutils th {
  border-color: #e5eaf2;
  padding: 0.65rem 0.8rem;
  vertical-align: top;
}

.rst-content table.docutils tr:nth-child(2n) td {
  background: #fafbfc;
}

.rst-content img {
  border: 1px solid var(--roboci-border);
  border-radius: 6px;
  height: auto;
  max-width: 100%;
}

.rst-content .admonition,
.rst-content details {
  border: 1px solid var(--roboci-border);
  border-radius: 6px;
  box-shadow: none;
  margin: 1.1rem 0;
  overflow: hidden;
}

.rst-content .admonition-title,
.rst-content summary {
  background: var(--roboci-soft);
  color: #1f2937;
  font-weight: 700;
  padding: 0.65rem 0.85rem;
}

.rst-content .admonition.warning,
.rst-content .admonition.attention,
.rst-content .admonition.caution {
  border-color: #f1c27d;
}

.rst-content .admonition.warning .admonition-title,
.rst-content .admonition.attention .admonition-title,
.rst-content .admonition.caution .admonition-title {
  background: #fff7ed;
  color: var(--roboci-warn);
}

.rst-content .section > ul,
.rst-content .section > ol {
  margin-bottom: 1.1rem;
}

.rst-content blockquote {
  border-left: 4px solid var(--roboci-accent);
  color: var(--roboci-muted);
  margin-left: 0;
  padding: 0.35rem 0 0.35rem 1rem;
}

.rst-content .mermaid {
  background: #ffffff;
  border: 1px solid var(--roboci-border);
  border-radius: 6px;
  margin: 1.1rem 0;
  overflow-x: auto;
  padding: 1rem;
}

.rst-footer-buttons {
  border-top: 1px solid var(--roboci-border);
  margin-top: 2.5rem;
  padding-top: 1rem;
}

@media screen and (max-width: 768px) {
  .wy-nav-content {
    padding: 1.25rem;
  }

  .rst-content h1 {
    font-size: 1.85rem;
  }

  .rst-content h2 {
    font-size: 1.45rem;
  }

  .rst-content code,
  .rst-content tt {
    white-space: normal;
    word-break: break-word;
  }
}
