@font-face {
  font-family: "RR Lato";
  src: url("../fonts/lato/Lato-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "RR Lato";
  src: url("../fonts/lato/Lato-Semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "RR Lato";
  src: url("../fonts/lato/Lato-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "RR Lato";
  src: url("../fonts/lato/Lato-Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --md-text-font: "RR Lato";
}

[data-md-color-scheme="slate"] {
  --rr-blue-900: #272b4b;
  --rr-blue-800: #33406f;
  --rr-blue-700: #405289;
  --rr-blue-600: #4479d7;
  --rr-blue-500: #4b78d5;
  --rr-green-700: #3f9f6c;
  --rr-green-600: #59b980;
  --rr-green-500: #79cd8a;
  --rr-green-200: #d9f0dd;
  --rr-warning-700: #8b7a34;
  --rr-warning-100: #f5f1de;
  --rr-danger-700: #9a5263;
  --rr-danger-100: #f7e7eb;

  --md-default-bg-color: #e9f1f2;
  --md-default-bg-color--light: rgba(233, 241, 242, 0.82);
  --md-default-bg-color--lighter: rgba(233, 241, 242, 0.58);
  --md-default-bg-color--lightest: rgba(233, 241, 242, 0.26);
  --md-default-fg-color: #1f2a4b;
  --md-default-fg-color--light: rgba(31, 42, 75, 0.74);
  --md-default-fg-color--lighter: rgba(31, 42, 75, 0.48);
  --md-default-fg-color--lightest: rgba(31, 42, 75, 0.18);
  --md-primary-fg-color: var(--rr-blue-900);
  --md-primary-fg-color--light: var(--rr-blue-700);
  --md-primary-fg-color--dark: #1b1f37;
  --md-primary-bg-color: #ffffff;
  --md-primary-bg-color--light: rgba(255, 255, 255, 0.76);
  --md-accent-fg-color: var(--rr-blue-600);
  --md-accent-fg-color--transparent: rgba(68, 121, 215, 0.16);
  --md-typeset-a-color: var(--rr-blue-600);
  --md-code-bg-color: #f2f5f8;
  --md-code-fg-color: #2b355c;
  --md-footer-bg-color: var(--rr-blue-700);
  --md-footer-bg-color--dark: var(--rr-blue-900);
}

[data-md-color-scheme="slate"] .md-header {
  background: var(--rr-blue-700) !important;
  color: #ffffff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: none !important;
}

[data-md-color-scheme="slate"] .md-tabs {
  background: #272b4b !important;
  color: #ffffff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

[data-md-color-scheme="slate"] .md-tabs__inner {
  display: flex;
  justify-content: center;
}

[data-md-color-scheme="slate"] .md-tabs__list {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

[data-md-color-scheme="slate"] .md-header__title,
[data-md-color-scheme="slate"] .md-header__button,
[data-md-color-scheme="slate"] .md-tabs__link {
  color: #ffffff !important;
}

[data-md-color-scheme="slate"] .md-header__button svg,
[data-md-color-scheme="slate"] .md-search__icon svg {
  fill: #ffffff !important;
}

[data-md-color-scheme="slate"] .md-tabs__link {
  opacity: 1;
  margin-top: 0 !important;
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  line-height: 1.1;
  padding: 0.32rem 0.72rem;
  border-radius: 0.42rem;
  transition: color 0.18s ease, background-color 0.18s ease;
}

[data-md-color-scheme="slate"] .md-tabs__item {
  height: 2.7rem;
  display: inline-flex;
  align-items: center;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

[data-md-color-scheme="slate"] .md-tabs__link:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.14);
}

[data-md-color-scheme="slate"] .md-tabs__link--active {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.2);
}

[data-md-color-scheme="slate"] .md-search__form {
  background: rgba(23, 37, 81, 0.38) !important;
  border: 1px solid rgba(255, 255, 255, 0.42) !important;
}

[data-md-color-scheme="slate"] .md-search__input {
  color: #ffffff !important;
}

[data-md-color-scheme="slate"] .md-search__input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.md-main {
  background: #e9f1f2;
}

.md-content__inner {
  background: #ffffff;
  border: 1px solid #dfe7ef;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(39, 43, 75, 0.08);
  padding: 1.4rem 1.6rem;
}

.md-nav,
.md-sidebar__scrollwrap {
  background: transparent;
}

.md-nav__title {
  color: #1f2a4b;
}

[data-md-color-scheme="slate"] .md-sidebar--primary .md-sidebar__scrollwrap,
[data-md-color-scheme="slate"] .md-sidebar--primary .md-nav {
  background: #272b4b !important;
}

[data-md-color-scheme="slate"] .md-sidebar--primary .md-nav__title {
  color: #e7edff !important;
}

[data-md-color-scheme="slate"] .md-nav--primary .md-nav__title {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

[data-md-color-scheme="slate"] .md-nav--primary .md-nav__link {
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  text-align: left;
  line-height: 1.2;
  padding: 0.46rem 0.68rem;
  transition: background-color 0.16s ease, color 0.16s ease;
}

[data-md-color-scheme="slate"] .md-nav--primary .md-nav__item > .md-nav__link:not(.md-nav__link--active),
[data-md-color-scheme="slate"] .md-nav--primary .md-nav__item > label.md-nav__link {
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  color: #e7edff !important;
}

[data-md-color-scheme="slate"] .md-nav--primary > .md-nav__list > .md-nav__item--nested > label.md-nav__link,
[data-md-color-scheme="slate"] .md-nav--primary > .md-nav__list > .md-nav__item--nested > .md-nav__link,
[data-md-color-scheme="slate"] .md-nav--primary > .md-nav__list > .md-nav__item--nested > .md-nav__link--index {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0;
}

[data-md-color-scheme="slate"] .md-nav--primary .md-nav__link .bi {
  margin: 0 !important;
  width: 1rem;
  min-width: 1rem;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.96;
}

[data-md-color-scheme="slate"] .md-nav--primary .md-nav__item > .md-nav__link:not(.md-nav__link--active):hover,
[data-md-color-scheme="slate"] .md-nav--primary .md-nav__item > label.md-nav__link:hover {
  background: rgba(255, 255, 255, 0.13);
}

[data-md-color-scheme="slate"] .md-nav--primary .md-nav__link--active {
  color: #ffffff !important;
  background: var(--rr-blue-500);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  font-weight: 700;
}

[data-md-color-scheme="slate"] .md-nav--primary .md-nav__item .md-nav__link {
  color: #e7edff;
}

[data-md-color-scheme="slate"] .md-nav--primary .md-nav__link--active .bi {
  color: #ffffff !important;
}

[data-md-color-scheme="slate"] .md-nav--secondary .md-nav__link--active:not([data-md-state="blur"]) {
  font-weight: 700 !important;
}

[data-md-color-scheme="slate"] .md-nav--secondary .md-nav__link[data-md-state="blur"] {
  font-weight: 600;
}

[data-md-color-scheme="slate"] .md-tabs__link--active {
  font-weight: 700 !important;
}

[data-md-color-scheme="slate"] .md-nav__link[aria-current="page"] {
  font-weight: 700 !important;
}

.md-nav--primary .md-nav__item > label.md-nav__link[for="__toc"] {
  display: none !important;
}

.md-typeset a,
.md-typeset a:visited,
.md-typeset a:hover,
.md-typeset a:focus {
  color: var(--rr-blue-600) !important;
}

[data-md-color-scheme="slate"] .md-nav__link .bi,
[data-md-color-scheme="slate"] .md-tabs__link .bi,
[data-md-color-scheme="slate"] .md-typeset .bi {
  margin-inline-end: 0.42rem;
  font-size: 0.95em;
}

[data-md-color-scheme="slate"] .md-nav__link .bi::before,
[data-md-color-scheme="slate"] .md-tabs__link .bi::before,
[data-md-color-scheme="slate"] .md-typeset .bi::before {
  vertical-align: -0.12em;
}

[data-md-color-scheme="slate"] .md-typeset h1,
[data-md-color-scheme="slate"] .md-typeset h2,
[data-md-color-scheme="slate"] .md-typeset h3,
[data-md-color-scheme="slate"] .md-typeset h4 {
  font-weight: 700;
  letter-spacing: 0;
  color: #1f2a4b;
}

[data-md-color-scheme="slate"] .md-typeset .admonition,
[data-md-color-scheme="slate"] .md-typeset details {
  border-radius: 10px;
  border-width: 1px;
  overflow: hidden;
}

[data-md-color-scheme="slate"] .md-typeset .admonition > .admonition-title,
[data-md-color-scheme="slate"] .md-typeset details > summary {
  margin: 0 !important;
  display: block;
  width: 100%;
  box-sizing: border-box;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

[data-md-color-scheme="slate"] .md-typeset .admonition.note,
[data-md-color-scheme="slate"] .md-typeset .admonition.info,
[data-md-color-scheme="slate"] .md-typeset details.note,
[data-md-color-scheme="slate"] .md-typeset details.info {
  background: #f8fbff !important;
  border-color: #b9cff5 !important;
}

[data-md-color-scheme="slate"] .md-typeset .admonition.tip,
[data-md-color-scheme="slate"] .md-typeset .admonition.success,
[data-md-color-scheme="slate"] .md-typeset details.tip,
[data-md-color-scheme="slate"] .md-typeset details.success {
  background: #f8fdf9 !important;
  border-color: #a8dcb5 !important;
}

[data-md-color-scheme="slate"] .md-typeset .admonition.warning,
[data-md-color-scheme="slate"] .md-typeset details.warning,
[data-md-color-scheme="slate"] .md-typeset .admonition.caution,
[data-md-color-scheme="slate"] .md-typeset details.caution {
  background: #fffdf7 !important;
  border-color: #d9cb8f !important;
}

[data-md-color-scheme="slate"] .md-typeset .admonition.danger,
[data-md-color-scheme="slate"] .md-typeset details.danger,
[data-md-color-scheme="slate"] .md-typeset .admonition.failure,
[data-md-color-scheme="slate"] .md-typeset details.failure,
[data-md-color-scheme="slate"] .md-typeset .admonition.error,
[data-md-color-scheme="slate"] .md-typeset details.error {
  background: #fff8fa !important;
  border-color: #d99aa9 !important;
}

[data-md-color-scheme="slate"] .md-typeset .admonition.note > .admonition-title,
[data-md-color-scheme="slate"] .md-typeset details.note > summary,
[data-md-color-scheme="slate"] .md-typeset .admonition.info > .admonition-title,
[data-md-color-scheme="slate"] .md-typeset details.info > summary {
  background: rgba(68, 121, 215, 0.16) !important;
}

[data-md-color-scheme="slate"] .md-typeset .admonition.tip > .admonition-title,
[data-md-color-scheme="slate"] .md-typeset details.tip > summary,
[data-md-color-scheme="slate"] .md-typeset .admonition.success > .admonition-title,
[data-md-color-scheme="slate"] .md-typeset details.success > summary {
  background: rgba(89, 185, 128, 0.22) !important;
}

[data-md-color-scheme="slate"] .md-typeset .admonition.warning > .admonition-title,
[data-md-color-scheme="slate"] .md-typeset details.warning > summary,
[data-md-color-scheme="slate"] .md-typeset .admonition.caution > .admonition-title,
[data-md-color-scheme="slate"] .md-typeset details.caution > summary {
  background: rgba(139, 122, 52, 0.16) !important;
}

[data-md-color-scheme="slate"] .md-typeset .admonition.danger > .admonition-title,
[data-md-color-scheme="slate"] .md-typeset details.danger > summary,
[data-md-color-scheme="slate"] .md-typeset .admonition.failure > .admonition-title,
[data-md-color-scheme="slate"] .md-typeset details.failure > summary,
[data-md-color-scheme="slate"] .md-typeset .admonition.error > .admonition-title,
[data-md-color-scheme="slate"] .md-typeset details.error > summary {
  background: rgba(154, 82, 99, 0.14) !important;
}

[data-md-color-scheme="slate"] .md-typeset table:not([class]) {
  background-color: #ffffff !important;
  border: 1px solid #d6dfec !important;
  border-radius: 8px;
  display: table !important;
  width: 100%;
  max-width: 100%;
}

[data-md-color-scheme="slate"] .md-typeset table:not([class]) th {
  background: #f4f7fb;
  color: #1f2a4b;
  border-bottom: 1px solid #d6dfec;
  padding: 0.55em 0.9em !important;
  line-height: 1.3;
  vertical-align: middle;
}

[data-md-color-scheme="slate"] .md-typeset table:not([class]) td {
  border-top: 1px solid #e2e8f2 !important;
  background: #ffffff;
  padding: 0.55em 0.9em !important;
  line-height: 1.3;
  vertical-align: middle;
}

[data-md-color-scheme="slate"] .md-typeset table:not([class]) tbody tr:nth-child(odd) td {
  background: #fcfdff;
}

[data-md-color-scheme="slate"] .md-typeset table:not([class]) tbody tr:nth-child(even) td {
  background: #f6f9fe;
}

[data-md-color-scheme="slate"] .md-typeset table:not([class]) tbody tr:hover {
  background-color: #edf3ff;
  box-shadow: none;
}

[data-md-color-scheme="slate"] .md-typeset__table {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 1rem 0 0.8rem;
}

.md-typeset img {
  border-radius: 10px;
  border: 1px solid #d6dfec;
  cursor: zoom-in;
}

[data-md-color-scheme="slate"] .md-typeset :not(pre) > code {
  color: #51b276 !important;
  background: rgba(81, 178, 118, 0.12) !important;
  border: 1px solid rgba(81, 178, 118, 0.32);
  border-radius: 3px;
  padding: calc(0.15em + 3px) calc(0.28em + 3px);
  font-weight: 600;
}

[data-md-color-scheme="slate"] .md-typeset pre,
[data-md-color-scheme="slate"] .md-typeset .highlight pre,
[data-md-color-scheme="slate"] .md-typeset .codehilite pre {
  background: #272b4b !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

[data-md-color-scheme="slate"] .md-typeset pre > code,
[data-md-color-scheme="slate"] .md-typeset .highlight pre > code,
[data-md-color-scheme="slate"] .md-typeset .codehilite pre > code,
[data-md-color-scheme="slate"] .md-typeset .highlighttable .code pre,
[data-md-color-scheme="slate"] .md-typeset .highlighttable .code pre > code {
  background: #272b4b !important;
  color: #e7edff !important;
  border-radius: 8px;
}

[data-md-color-scheme="slate"] .md-typeset pre code,
[data-md-color-scheme="slate"] .md-typeset .highlight code,
[data-md-color-scheme="slate"] .md-typeset .codehilite code {
  color: #e7edff !important;
  font-weight: 500;
}

[data-md-color-scheme="slate"] .md-typeset pre .md-clipboard,
[data-md-color-scheme="slate"] .md-typeset .highlight .md-clipboard {
  color: rgba(231, 237, 255, 0.78) !important;
  border-radius: 6px;
}

[data-md-color-scheme="slate"] .md-typeset pre .md-clipboard:hover,
[data-md-color-scheme="slate"] .md-typeset .highlight .md-clipboard:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.14);
}

.rrudi-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 24, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 2rem;
}

.rrudi-lightbox.is-open {
  display: flex;
}

.rrudi-lightbox__img {
  max-width: min(94vw, 1500px);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.rrudi-lightbox__btn {
  position: absolute;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(12, 19, 38, 0.78);
  color: #ffffff;
  border-radius: 999px;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.rrudi-lightbox__btn:hover {
  background: rgba(68, 121, 215, 0.9);
}

.rrudi-lightbox__btn--close {
  top: 18px;
  right: 18px;
}

.rrudi-lightbox__btn--prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.rrudi-lightbox__btn--next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.rrudi-lightbox__meta {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  color: #dbe6ff;
  font-size: 0.8rem;
  background: rgba(8, 12, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
}

@media (max-width: 76.1875em) {
  .md-sidebar--secondary {
    display: none !important;
  }

  .md-sidebar--primary .md-nav--secondary {
    display: none !important;
  }

  [data-md-color-scheme="slate"] .md-sidebar--primary .md-sidebar__scrollwrap,
  [data-md-color-scheme="slate"] .md-sidebar--primary .md-sidebar__inner,
  [data-md-color-scheme="slate"] .md-sidebar--primary .md-nav {
    background: #272b4b !important;
    color: #e7edff !important;
  }

  [data-md-color-scheme="slate"] .md-sidebar--primary .md-nav__list {
    background: transparent !important;
  }

  [data-md-color-scheme="slate"] .md-sidebar--primary .md-nav__item > .md-nav__link,
  [data-md-color-scheme="slate"] .md-sidebar--primary .md-nav__item > label.md-nav__link {
    color: #e7edff !important;
    opacity: 1 !important;
    background: rgba(255, 255, 255, 0.07) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14) !important;
  }

  [data-md-color-scheme="slate"] .md-sidebar--primary .md-nav__item > .md-nav__link:hover,
  [data-md-color-scheme="slate"] .md-sidebar--primary .md-nav__item > label.md-nav__link:hover {
    background: rgba(255, 255, 255, 0.13) !important;
  }

  [data-md-color-scheme="slate"] .md-sidebar--primary .md-nav__link--active {
    color: #ffffff !important;
    background: #4b78d5 !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16) !important;
  }

  [data-md-color-scheme="slate"] .md-sidebar--primary .md-nav__link .bi {
    color: inherit !important;
    opacity: 1 !important;
  }

  .md-header__button[for="__drawer"] {
    display: inline-flex !important;
    visibility: visible !important;
  }

  .md-content__inner {
    border-radius: 10px;
    padding: 1.1rem 1rem;
  }

  .rrudi-lightbox__btn {
    width: 40px;
    height: 40px;
  }

  .rrudi-lightbox__btn--prev {
    left: 12px;
  }

  .rrudi-lightbox__btn--next {
    right: 12px;
  }
}

@media screen and (min-width: 76.25em) {
  .md-grid {
    max-width: min(98vw, 2200px);
  }

  .md-main__inner {
    align-items: flex-start;
    gap: clamp(0.8rem, 1.2vw, 1.6rem);
  }

  .md-sidebar {
    width: clamp(13rem, 14vw, 16rem);
  }

  .md-content {
    flex: 1 1 auto;
    min-width: 0;
  }

  .md-content__inner {
    max-width: none;
    width: 100%;
    margin-left: 0.2rem !important;
    margin-right: 0.2rem !important;
  }
}
