@font-face {
  font-display: block;
  font-family: "SecondPage Wordmark Georgia";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/georgia-regular-subset.woff2") format("woff2");
}

@font-face {
  font-display: block;
  font-family: "SecondPage Wordmark Iowan Old Style";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/iowan-old-style-bold-subset.woff2") format("woff2");
}

:root {
  --sp-bg: #f8f5f1;
  --sp-surface: #fffdf9;
  --sp-ink: #231f1a;
  --sp-muted: rgba(35, 31, 26, 0.62);
  --sp-border: rgba(35, 31, 26, 0.14);
  --sp-bronze: #a86d3d;
  --sp-brand-period: #5a3d6e;
  --md-primary-fg-color: var(--sp-bg);
  --md-primary-bg-color: var(--sp-ink);
  --md-accent-fg-color: var(--sp-bronze);
  --md-default-bg-color: var(--sp-bg);
  --md-default-fg-color: var(--sp-ink);
  --md-typeset-a-color: var(--sp-bronze);
  --md-text-font: Georgia, "Times New Roman", serif;
  --md-code-font: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

body {
  background: var(--sp-bg);
}

.md-header.sp-docs-header {
  background: color-mix(in srgb, var(--sp-bg) 92%, white);
  border-bottom: 1px solid var(--sp-border);
  box-shadow: none;
  color: var(--sp-ink);
}

.sp-docs-header__inner {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(288px, 672px) minmax(0, 1fr);
  max-width: 1513px;
  min-height: 76px;
  padding-inline: 24px;
  width: calc(92vw + 48px);
}

.sp-public-header__brand,
.sp-public-header__actions,
.sp-docs-header__brand,
.sp-docs-header__actions {
  align-items: center;
  display: flex;
  gap: 12px;
}

.sp-public-header__brand,
.sp-docs-header__brand {
  min-width: 0;
}

.sp-public-header__actions,
.sp-docs-header__actions {
  gap: 14px;
  justify-content: flex-end;
  min-width: 0;
}

.sp-wordmark {
  align-items: baseline;
  color: var(--sp-ink);
  display: inline-flex;
  font-family: "SecondPage Wordmark Georgia", Georgia, serif;
  font-size: 28.368px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
  transform: translateY(2.5px);
  white-space: nowrap;
}

.sp-wordmark strong {
  color: var(--sp-brand-period);
  font-family: "SecondPage Wordmark Iowan Old Style", "Iowan Old Style", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
}

.sp-docs-app,
.sp-public-header__nav a,
.sp-docs-header__links a {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.sp-docs-kicker {
  border-left: 1px solid var(--sp-border);
  color: var(--sp-muted);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.3;
  padding-left: 12px;
  text-decoration: none;
  transition: color 150ms ease;
  text-transform: uppercase;
}

.sp-docs-kicker:hover {
  color: var(--sp-ink);
}

.sp-public-header__nav,
.sp-docs-header__links {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: center;
}

.sp-public-header__nav a,
.sp-docs-header__links a {
  color: var(--sp-muted);
  text-decoration: none;
  transition: color 150ms ease;
}

.sp-public-header__nav a:hover,
.sp-docs-header__links a:hover {
  color: var(--sp-ink);
}

.sp-docs-app {
  align-items: center;
  background: #6c3c80;
  border-radius: 999px;
  color: var(--sp-bg);
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  justify-content: center;
  min-height: 44px;
  padding-inline: 18px;
  text-decoration: none;
  transition: background-color 150ms ease, transform 150ms ease;
}

.sp-docs-app:hover {
  background: var(--sp-brand-period);
  color: var(--sp-bg);
  transform: translateY(-1px);
}

.sp-docs-app:focus-visible {
  outline: 2px solid var(--sp-brand-period);
  outline-offset: 3px;
}

.sp-docs-menu,
.sp-docs-search-trigger {
  color: var(--sp-muted);
}

.sp-docs-search-trigger {
  display: none !important;
}

.sp-docs-header__search {
  display: flex;
  justify-content: center;
  min-width: 0;
  width: 100%;
}

.sp-docs-header__search .md-search {
  flex: 1 1 auto;
  max-width: 672px;
  min-width: 0;
  width: 100%;
}

.sp-docs-header__search .md-search__inner {
  width: 100%;
}

.sp-docs-header__search .md-search__form {
  align-items: center;
  background: var(--sp-surface);
  border: 1px solid rgba(35, 31, 26, 0.1);
  border-radius: 999px;
  display: flex;
  gap: 10px;
  height: 48px;
  box-shadow: none;
  padding-inline: 16px;
  transition: border-color 150ms ease;
}

.sp-docs-header__search .md-search__form:focus-within {
  border-color: rgba(35, 31, 26, 0.25);
}

.sp-docs-header__search .md-search__input {
  background: transparent;
  border-radius: 999px;
  color: var(--sp-ink);
  flex: 1 1 auto;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  height: 46px;
  min-width: 0;
  padding: 0;
}

.sp-docs-header__search .md-search__input::placeholder {
  color: var(--sp-muted);
}

.sp-docs-header__search .md-search__icon {
  align-items: center;
  color: var(--sp-muted);
  display: inline-flex;
  height: 20px;
  justify-content: center;
  margin: 0;
  order: -1;
  padding: 0;
  position: static;
  transform: none;
  width: 20px;
}

.sp-docs-header__search .md-search__icon svg {
  height: 17px;
  width: 17px;
}

.sp-docs-header__search .md-search__icon svg + svg {
  display: none;
}

.sp-docs-header__search .md-search__options {
  align-items: center;
  display: flex;
  height: 32px;
  margin: 0;
  order: 2;
  position: static;
  width: 32px;
}

.sp-docs-header__search .md-search__options .md-search__icon {
  border-radius: 999px;
  height: 32px;
  order: 0;
  width: 32px;
}

.sp-docs-header__search .md-search__options .md-search__icon:hover {
  background: rgba(35, 31, 26, 0.06);
  color: var(--sp-ink);
}

.md-footer.sp-site-footer {
  background: var(--sp-bg);
  border-top: 2px solid var(--sp-border);
  color: var(--sp-muted);
  margin-top: 24px;
  padding: 20px 0 40px;
}

.sp-site-footer__frame {
  margin: 0 auto;
  max-width: 92rem;
  padding-inline: 64px;
  width: 100%;
}

.sp-site-footer__content {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  padding-top: 20px;
}

.sp-site-footer__wordmark {
  flex: 0 0 auto;
}

.sp-site-footer__nav {
  margin-left: auto;
}

.sp-site-footer__links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sp-site-footer__links a {
  color: var(--sp-muted);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  line-height: 1.4;
  text-decoration: none;
  transition: color 150ms ease;
  white-space: nowrap;
}

.sp-site-footer__links a:hover {
  color: var(--sp-ink);
}

.sp-site-footer__copyright {
  flex-basis: 100%;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  line-height: 1.4;
  margin: 0;
}

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

/*
 * Material's desktop sidebars sit outside normal document height. Keep their
 * contents within the viewport so a long navigation or table of contents
 * scrolls independently and cannot paint over the site footer on short pages.
 */
@media screen and (min-width: 60em) {
  .md-sidebar--secondary .md-sidebar__scrollwrap {
    background: transparent;
    max-height: calc(100vh - 5.6rem);
    overflow-y: auto;
    scrollbar-width: thin;
  }
}

@media screen and (min-width: 76.25em) {
  .md-main {
    min-height: calc(100vh - 3.2rem);
  }

  .md-sidebar--primary .md-sidebar__scrollwrap {
    background: transparent;
    max-height: calc(100vh - 5.6rem);
    overflow-y: auto;
    scrollbar-width: thin;
  }
}

.md-nav {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.md-nav__title,
.md-nav__item .md-nav__link--active {
  color: var(--sp-ink);
}

.md-sidebar .md-nav__title {
  background: transparent;
  box-shadow: none;
}

.md-nav__link {
  color: var(--sp-muted);
}

.md-nav__link:hover {
  color: var(--sp-bronze);
}

.md-content__inner {
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
  padding: 2.2rem;
}

.md-typeset h1,
.md-typeset h2,
.md-typeset h3 {
  color: var(--sp-ink);
  font-family: Georgia, serif;
  letter-spacing: 0;
}

.md-typeset {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.82rem;
}

.md-typeset table:not([class]) {
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
}

.md-typeset table:not([class]) th {
  background: rgba(168, 109, 61, 0.08);
  color: var(--sp-ink);
}

@media screen and (max-width: 76.1875em) {
  .sp-site-footer__frame {
    padding-inline: 40px;
  }

  .sp-docs-header__inner {
    grid-template-columns: minmax(0, 1fr) minmax(192px, 1.4fr) auto;
  }

  .sp-docs-header__links {
    display: none;
  }

  .sp-docs-header__search .md-search {
    min-width: 0;
  }
}

@media screen and (max-width: 44.9375em) {
  .sp-site-footer__frame {
    padding-inline: 20px;
  }

  .sp-site-footer__nav {
    margin-left: 0;
  }

  .sp-docs-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 76px;
    padding-inline: 24px;
    width: 92vw;
  }

  .sp-docs-app,
  .sp-docs-kicker {
    display: none;
  }

  .sp-docs-header__search {
    justify-content: flex-end;
    width: auto;
  }

  .sp-docs-header__search .md-search {
    flex: 0 0 auto;
    min-width: 0;
    width: 40px;
  }

  .sp-docs-header__search .md-search__form {
    background: transparent;
    border: 0;
    height: 40px;
    padding: 0;
    width: 40px;
  }

  .sp-docs-header__search .md-search__input,
  .sp-docs-header__search .md-search__options {
    display: none;
  }

  #__search:checked ~ .md-header .sp-docs-header__search {
    background: color-mix(in srgb, var(--sp-bg) 92%, white);
    inset: 0 0 auto;
    padding: 8px 16px;
    position: fixed;
    width: 100%;
    z-index: 4;
  }

  #__search:checked ~ .md-header .sp-docs-header__search .md-search {
    max-width: none;
    width: 100%;
  }

  #__search:checked ~ .md-header .sp-docs-header__search .md-search__form {
    background: var(--sp-surface);
    border: 1px solid rgba(35, 31, 26, 0.1);
    height: 48px;
    padding-inline: 16px;
    width: 100%;
  }

  #__search:checked ~ .md-header .sp-docs-header__search .md-search__input {
    display: block;
  }

  #__search:checked ~ .md-header .sp-docs-header__search .md-search__options {
    display: flex;
  }

  .sp-wordmark {
    font-size: 27.5px;
  }

  .md-content__inner {
    border-inline: 0;
    padding: 1.4rem;
  }
}
