:root {
  --jenpyroq-ink: #161616;
  --jenpyroq-muted: #5f6572;
  --jenpyroq-surface: #ffffff;
  --jenpyroq-canvas: #f3f6fb;
  --jenpyroq-line: #dde4ef;
  --jenpyroq-teal: #008c95;
  --jenpyroq-teal-dark: #00626a;
  --jenpyroq-amber: #d98518;
  --jenpyroq-charcoal: #111820;
  --jenpyroq-charcoal-2: #18242f;
}

body {
  color: var(--jenpyroq-ink);
  background: var(--jenpyroq-canvas);
  font-feature-settings: "kern", "liga";
}

a,
.rst-content a:visited {
  color: var(--jenpyroq-teal-dark);
}

a:hover,
.rst-content a:hover {
  color: #004f55;
}

.wy-body-for-nav {
  background: var(--jenpyroq-canvas);
}

.wy-nav-content-wrap {
  background: linear-gradient(180deg, #f8fbff 0, var(--jenpyroq-canvas) 22rem);
}

.wy-nav-content {
  max-width: 1180px;
  min-height: 100vh;
  background: var(--jenpyroq-surface);
  box-shadow: 0 0 0 1px rgba(221, 228, 239, 0.75);
  padding: 2.3rem 3rem 4rem;
  position: relative;
}

.rst-content {
  max-width: 920px;
}

.wy-nav-content::after {
  background: rgba(255, 255, 255, 0.96) url("../JenpyROQ_docs_image.svg") center / contain no-repeat;
  border: 1px solid var(--jenpyroq-line);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(17, 24, 32, 0.06);
  box-sizing: border-box;
  content: "";
  height: 5.8rem;
  pointer-events: none;
  position: absolute;
  right: calc(1.6rem + 3mm);
  top: 2.3rem;
  width: 8.1rem;
  z-index: 2;
}

.rst-content h1,
.rst-content h2,
.rst-content h3,
.rst-content h4,
.rst-content h5,
.rst-content h6 {
  color: var(--jenpyroq-ink);
  font-family: Lato, proxima-nova, "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

.rst-content h1 {
  border-bottom: 0;
  font-size: 2.35rem;
  margin-bottom: 1.1rem;
}

.rst-content h2 {
  border-bottom: 1px solid var(--jenpyroq-line);
  font-size: 1.55rem;
  margin-top: 2.4rem;
  padding-bottom: 0.45rem;
}

.rst-content h3 {
  font-size: 1.25rem;
  margin-top: 1.85rem;
}

.rst-content p,
.rst-content li {
  color: #29313d;
  font-size: 0.98rem;
  line-height: 1.72;
}

.rst-content ul,
.rst-content ul.simple {
  margin-bottom: 1.1rem;
  margin-left: 1.45rem;
  padding-left: 0;
}

.rst-content ul li,
.rst-content ul.simple li {
  display: block;
  list-style: none !important;
  margin-bottom: 0.28rem;
  padding-left: 1.2rem;
  position: relative;
}

.rst-content ul li::before,
.rst-content ul.simple li::before {
  color: var(--jenpyroq-teal-dark);
  content: "\2022";
  font-size: 1.05rem;
  font-weight: 800;
  left: 0;
  line-height: 1.6;
  position: absolute;
  top: 0;
}

.rst-content ul li::marker,
.rst-content ul.simple li::marker {
  color: var(--jenpyroq-teal-dark);
}

.rst-content ol,
.rst-content ol.simple,
.rst-content ol.arabic {
  margin-bottom: 1.1rem;
  margin-left: 1.45rem;
  padding-left: 1.15rem;
}

.rst-content ol li,
.rst-content ol.simple li,
.rst-content ol.arabic li {
  margin-bottom: 0.28rem;
  padding-left: 0.15rem;
}

.rst-content ol li::marker,
.rst-content ol.simple li::marker,
.rst-content ol.arabic li::marker {
  color: var(--jenpyroq-teal-dark);
  font-weight: 800;
}

.rst-content ol.jenpyroq-compact-steps {
  margin-left: 0.35rem;
  padding-left: 1.1rem;
}

.rst-content ol.jenpyroq-compact-steps li {
  padding-left: 0.05rem;
}

.rst-content ul.jenpyroq-output-list {
  margin-bottom: 1.35rem;
  margin-left: 1.45rem;
  padding-left: 0;
}

.rst-content ul.jenpyroq-output-list li {
  display: block;
  list-style: none !important;
}

.rst-content ul.jenpyroq-output-list p {
  margin-bottom: 0;
}

.rst-content .wy-breadcrumbs {
  margin: 0 0 1rem;
  padding: 0;
}

.rst-content .wy-breadcrumbs li {
  display: inline-block;
  list-style: none !important;
  margin: 0;
  padding-left: 0;
  position: static;
}

.rst-content .wy-breadcrumbs li::before {
  content: none !important;
  display: none;
}

.rst-content .wy-breadcrumbs .breadcrumb-separator {
  color: var(--jenpyroq-muted);
  display: inline-block;
  font-weight: 800;
  margin: 0 0.45rem;
}

.rst-content .wy-breadcrumbs .wy-breadcrumbs-aside {
  float: right;
}

.rst-content code.literal,
.rst-content tt.literal {
  color: #7d3d00;
  background: #fff4e4;
  border: 1px solid #f0d1a2;
  border-radius: 5px;
  padding: 0.08rem 0.3rem;
}

.rst-content div[class^="highlight"],
.rst-content pre.literal-block {
  border: 1px solid var(--jenpyroq-line);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  overflow: hidden;
}

.rst-content div[class^="highlight"] pre,
.rst-content pre.literal-block {
  background: #f8fafc;
  color: #16212d;
  font-size: 0.9rem;
  line-height: 1.55;
}

.rst-content table.docutils {
  border: 1px solid var(--jenpyroq-line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(17, 24, 32, 0.05);
  display: table;
  overflow: hidden;
}

.rst-content table.docutils thead {
  background: #edf7f8;
}

.rst-content table.docutils th {
  color: #0b5057;
}

.rst-content table.docutils td,
.rst-content table.docutils th {
  border-color: var(--jenpyroq-line);
  padding: 0.72rem 0.9rem;
}

.rst-content .admonition,
.rst-content .note,
.rst-content .warning {
  border: 1px solid var(--jenpyroq-line);
  border-left: 0.34rem solid var(--jenpyroq-teal);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(17, 24, 32, 0.06);
}

.rst-content .admonition-title {
  background: #e7f6f7;
  color: #074e55;
}

.rst-content .warning .admonition-title,
.rst-content .admonition.warning .admonition-title {
  background: #fff2df;
  color: #7d3d00;
}

.wy-nav-side {
  background: var(--jenpyroq-charcoal);
  box-shadow: 12px 0 28px rgba(17, 24, 32, 0.16);
}

.wy-side-scroll {
  background: linear-gradient(180deg, var(--jenpyroq-charcoal) 0, var(--jenpyroq-charcoal-2) 100%);
}

.wy-side-nav-search {
  background: linear-gradient(135deg, #0d7f87 0, #123a45 62%, #7c4b10 100%);
  padding: 1.25rem 1rem 1.35rem;
}

.wy-side-nav-search > a,
.wy-side-nav-search .wy-dropdown > a {
  color: #fff;
  font-size: 1.38rem;
  font-weight: 800;
  letter-spacing: 0;
}

.wy-side-nav-search > a img.logo {
  display: none;
}

.wy-side-nav-search input[type="text"] {
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(17, 24, 32, 0.18);
  color: var(--jenpyroq-ink);
  font-size: 0.92rem;
  padding: 0.72rem 0.9rem;
}

.wy-menu-vertical {
  padding: 0.55rem 0.72rem 1.4rem;
}

.wy-menu-vertical header,
.wy-menu-vertical p.caption {
  color: #7dd7dd;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 1.15rem 0 0.45rem;
  text-transform: uppercase;
}

.wy-menu-vertical a {
  border-radius: 6px;
  color: #d8e1ea;
  line-height: 1.35;
  margin: 0.08rem 0;
  padding: 0.56rem 0.75rem;
}

.wy-menu-vertical a:hover {
  background: rgba(0, 140, 149, 0.22);
  color: #fff;
}

.wy-menu-vertical li.current > a,
.wy-menu-vertical li.on a {
  background: #edf7f8;
  border: 0;
  color: #073f45;
  font-weight: 700;
}

.wy-breadcrumbs {
  color: var(--jenpyroq-muted);
  font-size: 0.88rem;
}

.wy-nav-top {
  background: var(--jenpyroq-charcoal);
}

.rst-content img {
  border-radius: 8px;
}

.rst-content .section:first-child > img,
.rst-content section:first-child > img,
.rst-content .section:first-child > a.image-reference img,
.rst-content section:first-child > a.image-reference img {
  display: block;
  margin: 0.6rem auto 1.45rem;
  max-width: min(650px, 100%);
}

.rst-content .jenpyroq-doc-figure-container {
  margin: 1.25rem 0 1.8rem;
}

.rst-content .jenpyroq-doc-figure-container img,
.rst-content img.jenpyroq-doc-figure {
  background: #f3f6fb;
  border: 1px solid var(--jenpyroq-line);
  box-shadow: 0 12px 28px rgba(17, 24, 32, 0.06);
  display: block;
  width: 100%;
}

.rst-content .jenpyroq-doc-figure-container figcaption,
.rst-content .jenpyroq-doc-figure-container .caption {
  color: var(--jenpyroq-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-top: 0.65rem;
}

.jenpyroq-quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.5rem 0 2.2rem;
}

.jenpyroq-quicklinks a {
  background: var(--jenpyroq-charcoal);
  border: 1px solid #263644;
  border-radius: 8px;
  color: #ffffff !important;
  font-weight: 700;
  padding: 0.64rem 0.92rem;
  text-decoration: none;
}

.jenpyroq-quicklinks a:hover {
  background: var(--jenpyroq-teal-dark);
  border-color: var(--jenpyroq-teal-dark);
}

.resource-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin: 0.85rem 0 1.45rem;
}

.resource-chip {
  --resource-border: #cbdfe4;
  --resource-hover-bg: #f1fbfc;
  --resource-hover-border: #8ccbd1;
  --resource-hover-text: #073f45;
  --resource-mark-bg: var(--jenpyroq-teal-dark);
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--resource-border);
  border-radius: 7px;
  color: #16212d !important;
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 800;
  gap: 0.38rem;
  line-height: 1.2;
  padding: 0.22rem 0.5rem 0.22rem 0.22rem;
  text-decoration: none !important;
}

.resource-chip:hover {
  background: var(--resource-hover-bg);
  border-color: var(--resource-hover-border);
  color: var(--resource-hover-text) !important;
}

.doi-chip {
  margin: 0 0.18rem;
  vertical-align: middle;
}

.resource-mark {
  background: var(--resource-mark-bg);
  border-radius: 4px;
  color: #ffffff;
  display: inline-flex;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  padding: 0.23rem 0.31rem 0.25rem;
  white-space: nowrap;
}

.resource-chips .resource-chip:nth-child(6n+1) {
  --resource-border: #cbdfe4;
  --resource-hover-bg: #f1fbfc;
  --resource-hover-border: #8ccbd1;
  --resource-hover-text: #073f45;
  --resource-mark-bg: var(--jenpyroq-teal-dark);
}

.resource-chips .resource-chip:nth-child(6n+2) {
  --resource-border: #efd4bf;
  --resource-hover-bg: #fff7f0;
  --resource-hover-border: #dda778;
  --resource-hover-text: #512509;
  --resource-mark-bg: #c65a15;
}

.resource-chips .resource-chip:nth-child(6n+3) {
  --resource-border: #ead9b9;
  --resource-hover-bg: #fff9ed;
  --resource-hover-border: #d3b678;
  --resource-hover-text: #4a3009;
  --resource-mark-bg: #8a5b13;
}

.resource-chips .resource-chip:nth-child(6n+4) {
  --resource-border: #c8e1d4;
  --resource-hover-bg: #f3fbf6;
  --resource-hover-border: #9fc8b4;
  --resource-hover-text: #173f2f;
  --resource-mark-bg: #2d7a58;
}

.resource-chips .resource-chip:nth-child(6n+5) {
  --resource-border: #c9dcf0;
  --resource-hover-bg: #f4f9ff;
  --resource-hover-border: #9ebfe2;
  --resource-hover-text: #0e345b;
  --resource-mark-bg: #2868a9;
}

.resource-chips .resource-chip:nth-child(6n) {
  --resource-border: #d9d1ef;
  --resource-hover-bg: #f8f6ff;
  --resource-hover-border: #b9abe2;
  --resource-hover-text: #372b5e;
  --resource-mark-bg: #6f5aa8;
}

.key-equation {
  background: #f8fafc;
  border: 1px solid var(--jenpyroq-line);
  border-left: 0.34rem solid var(--jenpyroq-amber);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(17, 24, 32, 0.04);
  margin: 1.1rem 0 1.4rem;
  padding: 0.45rem 1rem;
}

@media screen and (max-width: 900px) {
  .wy-nav-content {
    padding: 1.8rem 1.4rem 3rem;
  }

  .wy-nav-content::after {
    display: none;
  }
}
