:root {
  --md-primary-fg-color: #21242F;
  --md-primary-fg-color--light: #2b3040;
  --md-primary-fg-color--dark: #171a22;
}

/* Layout */
.api-reference-frame {
  width: 100%;
  min-height: calc(100vh - 8rem);
  border: none;
  background: #fff;
  display: block;
}

@media screen and (min-width: 76.25em) {
  .md-grid {
    max-width: initial;
  }

  .md-content,
  .md-content__inner {
    max-width: none;
  }

  .api-reference-frame {
    min-height: calc(100vh - 7rem);
  }
}

/* Typography */
.md-header {
  box-shadow: none;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.md-header__title {
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 0.88rem;
}

.md-main__inner {
  margin-top: 0.8rem;
}

.md-content {
  font-size: 0.88rem;
}

.md-content h1,
.md-content h2,
.md-content h3 {
  letter-spacing: -0.02em;
  font-weight: 600;
}

.md-content h1 {
  font-size: 1.65rem;
  margin-bottom: 0.45rem;
}

.md-content h2 {
  font-size: 1.22rem;
  margin-top: 1.4rem;
}

.md-content h3 {
  font-size: 1rem;
}

.md-content p,
.md-content li {
  line-height: 1.58;
}

.md-nav {
  font-size: 0.8rem;
}

.md-nav__link--active {
  font-weight: 600;
}

.md-button {
  border-radius: 999px;
  font-size: 0.78rem;
}

.md-content__inner {
  padding-bottom: 2.5rem;
}

/* Code blocks */
.md-typeset code {
  font-size: 0.8rem;
  border-radius: 6px;
  padding: 0.12em 0.35em;
  font-weight: 500;
}

.md-typeset pre {
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.05);
  border-radius: 12px;
}

.md-typeset pre > code {
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  line-height: 1.48;
}

/* Tables */
.md-typeset table:not([class]) {
  font-size: 0.88rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.md-typeset table:not([class]) th {
  font-weight: 600;
}