/* User Provided Stylesheet */

/* Reader-focused chrome: keep the web book about text, figures, and panels. */
.myst-made-with-myst,
.myst-fm-block-header,
.myst-fm-downloads-dropdown,
.myst-fm-edit-link,
.myst-fm-github-link,
.myst-fm-launch-button,
.myst-fm-license-badge,
button[aria-label="Launch in external computing interface"],
a[title^="GitHub Repository"],
a[title="Edit This Page"] {
  display: none !important;
}

.myst-fm-block {
  padding-top: 1.5rem !important;
}

.cell_input,
.jp-InputArea,
.myst-code,
.myst-code-copy-icon,
.myst-jp-nb-block > .myst-jp-nb-block-spinner,
.myst-jp-nb-block > .myst-jp-nb-block.sticky,
.myst-jp-nb-block [aria-label="code block content"],
.thebe-input,
.thebe-controls,
.thebe-launch-button,
.thebe-status,
.mystnb-source {
  display: none !important;
}

.ot4ml-book-figure {
  margin: 1.25rem 0 1rem;
  border: 1px solid #d8e1e8;
  border-radius: 8px;
  background: #ffffff;
  padding: 0.9rem 1rem 0.85rem;
  box-shadow: 0 1px 2px rgba(37, 52, 68, 0.06);
}

.ot4ml-book-figure img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 4px;
}

.ot4ml-book-figure > p {
  margin: 0.8rem 0 0;
  border-top: 1px solid #e7edf3;
  padding-top: 0.72rem;
  color: #44515d;
  font-size: 0.94rem;
  font-style: italic;
  line-height: 1.5;
}

.ot4ml-interactive-note {
  margin: 0.35rem 0 0.7rem;
  border-left: 3px solid #3f6f8f;
  border-radius: 6px;
  background: #f6f8fb;
  padding: 0.7rem 0.9rem;
  color: #3f4852;
  font-size: 0.94rem;
  line-height: 1.45;
}

.ot4ml-interactive-note p {
  margin: 0;
}

.myst-admonition.ot4ml-algorithm,
.myst-admonition.ot4ml-example,
.myst-admonition.ot4ml-remark {
  margin: 1.05rem 0;
}

.myst-admonition.ot4ml-algorithm {
  border: 0;
  border-top: 2px solid #6d7d8c;
  border-bottom: 2px solid #6d7d8c;
  border-radius: 0;
  background: #fbfcfd;
}

.myst-admonition.ot4ml-algorithm .myst-admonition-header {
  background: transparent;
  border-bottom: 1px solid #cfd7df;
  color: #2f3d4a;
  font-size: 1rem;
}

.myst-admonition.ot4ml-algorithm .myst-admonition-header-icon {
  display: none;
}

.myst-admonition.ot4ml-algorithm .myst-admonition-body {
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

.myst-admonition.ot4ml-algorithm p {
  margin: 0;
  line-height: 1.5;
}

.myst-admonition.ot4ml-algorithm blockquote {
  margin: 0 0 0 0.65rem;
  padding: 0 0 0 0.72rem;
  border-left: 1px solid #b7c0c8;
  color: inherit;
  font-style: normal;
}

.myst-admonition.ot4ml-algorithm blockquote blockquote {
  margin-left: 0.65rem;
}

.myst-admonition.ot4ml-algorithm blockquote > :first-child {
  margin-top: 0;
}

.myst-admonition.ot4ml-algorithm blockquote > :last-child {
  margin-bottom: 0;
}

.myst-admonition.ot4ml-example {
  position: relative;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding-left: 0.65rem;
}

.myst-admonition.ot4ml-remark {
  border: 0;
  border-left: 2px solid #8fb6d6;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.myst-admonition.ot4ml-example::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  bottom: 0.55rem;
  width: 5px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='5' height='18' viewBox='0 0 5 18'%3E%3Cpath d='M2.5 0 C0.5 2.25 0.5 6.75 2.5 9 C4.5 11.25 4.5 15.75 2.5 18' fill='none' stroke='%23d6a24c' stroke-width='1.2'/%3E%3C/svg%3E");
  background-position: center top;
  background-repeat: repeat-y;
  background-size: 5px 18px;
}

.myst-admonition.ot4ml-example .myst-admonition-header,
.myst-admonition.ot4ml-remark .myst-admonition-header {
  background: transparent;
  color: #33383d;
}

.myst-admonition.ot4ml-example .myst-admonition-header-icon,
.myst-admonition.ot4ml-remark .myst-admonition-header-icon {
  display: none;
}

.myst-admonition.ot4ml-algorithm pre,
.myst-admonition.ot4ml-example pre,
.myst-admonition.ot4ml-remark pre {
  background: rgba(255, 255, 255, 0.72);
}

.ot4ml-book-index {
  margin-top: 1.4rem;
  column-width: 22rem;
  column-gap: 2.25rem;
}

.ot4ml-book-index h2 {
  break-after: avoid;
  margin: 0 0 0.45rem;
  border-bottom: 1px solid #ccd8e3;
  color: #1f4e79;
  font-size: 1.05rem;
  line-height: 1.35;
}

.ot4ml-book-index h2:not(:first-child) {
  margin-top: 1.1rem;
}

.ot4ml-book-index h2 a[aria-label="Link to this Section"] {
  display: none !important;
}

.ot4ml-book-index ul {
  break-inside: avoid;
  margin: 0 0 0.38rem 0;
  padding-left: 1.05rem;
}

.ot4ml-book-index li {
  margin: 0.1rem 0;
  font-size: 0.92rem;
  line-height: 1.36;
}

.ot4ml-book-index li > ul {
  margin-top: 0.08rem;
}

.ot4ml-book-index a {
  border-radius: 3px;
  padding: 0 0.08rem;
  font-variant-numeric: tabular-nums;
  text-decoration-thickness: 0.06em;
}

@media (max-width: 760px) {
  .ot4ml-book-index {
    column-width: auto;
    column-count: 1;
  }
}
