:root {
  --md-primary-fg-color: #00695c;
  --md-primary-fg-color--light: #258879;
  --md-primary-fg-color--dark: #004f45;
  --md-accent-fg-color: #a64630;
  --md-default-bg-color: #f7f9f8;
  --md-default-fg-color: #18211e;
  --md-default-fg-color--light: #4b6058;
  --md-code-bg-color: #edf3f0;
  --md-typeset-a-color: #00695c;
  --md-footer-bg-color: #e8efeb;
  --md-footer-bg-color--dark: #eef3f0;
  --md-footer-fg-color: #18211e;
  --md-footer-fg-color--light: #4b6058;
}

body[data-md-color-primary="teal"] {
  --md-primary-fg-color: #00695c;
  --md-primary-fg-color--light: #258879;
  --md-primary-fg-color--dark: #004f45;
  --md-accent-fg-color: #a64630;
  --md-typeset-a-color: #00695c;
}

body[data-md-color-scheme="default"] {
  --md-default-bg-color: #f7f9f8;
  --md-default-fg-color: #18211e;
  --md-default-fg-color--light: #4b6058;
  --md-code-bg-color: #edf3f0;
}

.md-header {
  box-shadow: none;
}

.md-header__inner {
  min-height: 3.5rem;
}

.md-search__form,
.md-search__input {
  border-radius: 8px;
}

.md-tabs {
  border-bottom: 1px solid #e0e8e3;
}

.md-sidebar__scrollwrap {
  scrollbar-color: #c7d6cf transparent;
}

.md-nav__link {
  border-radius: 6px;
  margin-block: 1px;
}

.md-nav__link:hover {
  background: #edf3f0;
  color: #18211e;
}

.md-nav__link--active {
  color: #00594e;
  font-weight: 650;
}

.md-content__inner {
  max-width: 980px;
  padding-top: 1.5rem;
}

.md-typeset {
  color: #18211e;
  font-size: 1rem;
  line-height: 1.75;
}

.md-typeset h1,
.md-typeset h2,
.md-typeset h3 {
  color: #18211e;
  font-weight: 650;
  line-height: 1.35;
}

.md-typeset h1 {
  margin-bottom: 0.8rem;
}

.md-typeset h2 {
  margin-top: 2rem;
}

.md-typeset a {
  text-underline-offset: 3px;
}

.md-typeset a:focus-visible,
.md-nav__link:focus-visible {
  border-radius: 6px;
  outline: 3px solid #00695c;
  outline-offset: 3px;
}

.md-typeset img {
  border-radius: 8px;
}

.md-typeset table:not([class]) {
  border: 1px solid #dfe8e3;
  border-collapse: separate;
  border-radius: 8px;
  border-spacing: 0;
  overflow: hidden;
}

.md-typeset table:not([class]) th {
  background: #e6f1eb;
  color: #18211e;
  font-weight: 650;
}

.md-typeset table:not([class]) td,
.md-typeset table:not([class]) th {
  border-right: 1px solid #e0e8e3;
  border-bottom: 1px solid #e0e8e3;
}

.md-typeset table:not([class]) tr:last-child td {
  border-bottom: 0;
}

.md-typeset table:not([class]) td:last-child,
.md-typeset table:not([class]) th:last-child {
  border-right: 0;
}

.md-typeset code {
  border-radius: 4px;
}

.md-typeset pre > code {
  --md-code-hl-number-color: #b42318;
  border: 1px solid #e0e8e3;
  border-radius: 8px;
}

.md-typeset .admonition,
.md-typeset details {
  border-radius: 8px;
}

.md-footer {
  background-color: #e8efeb;
  color: #18211e;
}

.md-footer__link {
  color: #18211e;
}

.md-footer-meta {
  background-color: #eef3f0;
  color: #4b6058;
}

.md-footer-meta.md-typeset .md-copyright {
  color: #4b6058;
  opacity: 1;
}

.md-footer-meta.md-typeset .md-copyright a {
  color: #00695c;
  opacity: 1;
}

html:has(link[rel="canonical"][href="https://docs.chenku.top/"]) .md-typeset h2 + ul,
body:has(.md-content__inner > h1 + ul) .md-typeset > ul {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}

html:has(link[rel="canonical"][href="https://docs.chenku.top/"]) .md-typeset h2 + ul > li,
body:has(.md-content__inner > h1 + ul) .md-typeset > ul > li {
  margin: 0;
  min-width: 0;
}

html:has(link[rel="canonical"][href="https://docs.chenku.top/"]) .md-typeset h2 + ul a,
body:has(.md-content__inner > h1 + ul) .md-typeset > ul a {
  align-items: center;
  background: #ffffff;
  border: 1px solid #e0e8e3;
  border-radius: 12px;
  display: flex;
  font-weight: 600;
  justify-content: space-between;
  min-height: 64px;
  padding: 14px 16px;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}

html:has(link[rel="canonical"][href="https://docs.chenku.top/"]) .md-typeset h2 + ul a::after,
body:has(.md-content__inner > h1 + ul) .md-typeset > ul a::after {
  color: #00695c;
  content: "→";
  font-size: 18px;
  margin-left: 12px;
}

html:has(link[rel="canonical"][href="https://docs.chenku.top/"]) .md-typeset h2 + ul a:hover,
body:has(.md-content__inner > h1 + ul) .md-typeset > ul a:hover {
  background: #edf4f0;
  border-color: #b8cfc3;
}

@media screen and (min-width: 45em) {
  html:has(link[rel="canonical"][href="https://docs.chenku.top/"]) .md-typeset h2 + ul:last-child {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 60em) {
  html:has(link[rel="canonical"][href="https://docs.chenku.top/"]) .md-typeset h2 + ul,
  body:has(.md-content__inner > h1 + ul) .md-typeset > ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 44.98em) {
  .md-content__inner {
    padding-inline: 1rem;
  }

  html:has(link[rel="canonical"][href="https://docs.chenku.top/"]) .md-typeset h2 + ul,
  body:has(.md-content__inner > h1 + ul) .md-typeset > ul {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
