:root {
  --wiki-ink: #1f2328;
  --wiki-muted: #475569;
  --wiki-rule: #e5e7eb;
  --wiki-accent: #1f6feb;
}

[data-md-color-scheme="default"] {
  --md-default-bg-color: #ffffff;
  --md-default-fg-color: var(--wiki-ink);
  --md-typeset-a-color: var(--wiki-accent);
}

body {
  font-feature-settings: "ss01", "cv11";
}

.md-header {
  color: var(--wiki-ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: none;
}

.md-header__button,
.md-header__title,
.md-header__topic,
.md-search__icon,
.md-search__input,
.md-search__input::placeholder {
  color: var(--wiki-ink);
}

.md-search__form {
  background: #f5f5f5;
  border-radius: 1rem;
  box-shadow: none;
}

.md-grid {
  max-width: 1520px;
}

.md-nav--primary .md-nav__title {
  display: none;
}

.md-nav--primary .md-nav__link {
  margin-top: 0;
  padding: 0.34rem 0;
  color: var(--wiki-ink);
  font-size: 14px;
}

.md-nav--primary .md-nav__item--section > .md-nav__link {
  margin-top: 1.1rem;
  font-weight: 600;
}

.md-nav--primary .md-nav__link--active,
.md-nav--primary .md-nav__item--active > .md-nav__link {
  color: var(--wiki-accent);
  font-weight: 600;
}

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

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

.md-content__inner {
  margin: 0 auto;
  padding-top: 1.4rem;
}

.md-typeset h1,
.md-typeset h2,
.md-typeset h3,
.md-typeset h4 {
  color: var(--wiki-ink);
  font-weight: 600;
}

.md-typeset h1 {
  font-size: 2.2rem;
}

.md-typeset h2 {
  margin-top: 2.2rem;
  font-size: 1.75rem;
}

.md-typeset p,
.md-typeset li {
  color: var(--wiki-ink);
  font-size: 17px;
  line-height: 1.7;
}

.md-typeset table:not([class]) {
  border: 0;
  box-shadow: none;
  display: table;
  width: 100%;
}

.md-typeset table:not([class]) th {
  background: #f4f6fb;
  color: var(--wiki-ink);
}

.md-typeset table:not([class]) td,
.md-typeset table:not([class]) th {
  padding: 0.52rem 0.75rem;
  border-color: var(--wiki-rule);
}

.md-typeset code {
  background: #eef2f7;
}

.md-typeset .admonition,
.md-typeset details {
  border: 1px solid var(--wiki-rule);
  border-radius: 0.8rem;
  box-shadow: none;
}

.md-footer,
.md-footer-meta {
  background: transparent;
}

@media (min-width: 76.25em) {
  .md-sidebar--primary {
    width: 18rem !important;
    flex: 0 0 18rem;
    max-width: 18rem;
  }
}

@media (max-width: 76.24em) {
  .md-content {
    min-width: 0;
    max-width: 100%;
  }

  .md-content__inner {
    margin: 0;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }

  .md-typeset table:not([class]) {
    display: block;
    overflow-x: auto;
  }
}
