@font-face {
  font-family: "Geist";
  src: url("../assets/fonts/geist-latin-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../assets/fonts/geist-mono-latin-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root,
[data-md-color-scheme="default"] {
  --md-text-font: "Geist";
  --md-code-font: "Geist Mono";
  --md-default-bg-color: #fafbf8;
  --md-default-bg-color--light: #fafbf8;
  --md-default-fg-color: #252c27;
  --md-default-fg-color--light: #59655d;
  --md-default-fg-color--lighter: #778279;
  --md-default-fg-color--lightest: #dce2da;
  --md-primary-fg-color: #286448;
  --md-primary-bg-color: #fafbf8;
  --md-accent-fg-color: #286448;
  --md-accent-fg-color--transparent: #e5eee5;
  --md-typeset-a-color: #286448;
  --md-code-bg-color: #f0f3ee;
  --md-code-fg-color: #29372e;
  --md-code-hl-comment-color: #687369;
  --md-code-hl-keyword-color: #973d53;
  --md-code-hl-function-color: #286448;
  --md-code-hl-special-color: #8a620e;
  --md-code-hl-variable-color: #286448;
  --md-code-hl-name-color: #29372e;
  --md-code-hl-number-color: #955625;
  --md-code-hl-string-color: #286448;
  --md-code-hl-operator-color: #973d53;
  --md-code-hl-punctuation-color: #59655d;
  --kedi-rule: #d4dcd3;
  --kedi-panel: #f0f3ee;
  --kedi-code-paper: #fdfefa;
  --kedi-nav-paper: #f3f5f0;
  --kedi-selection: #e5eee5;
  --kedi-header-height: 68px;
}

[data-md-color-scheme="slate"] {
  --md-default-bg-color: #1b201d;
  --md-default-bg-color--light: #1b201d;
  --md-default-fg-color: #e4ebe2;
  --md-default-fg-color--light: #adb8ad;
  --md-default-fg-color--lighter: #8e9a8f;
  --md-default-fg-color--lightest: #354238;
  --md-primary-fg-color: #a3d0b0;
  --md-primary-bg-color: #1b201d;
  --md-accent-fg-color: #a3d0b0;
  --md-accent-fg-color--transparent: #2c3e31;
  --md-typeset-a-color: #a3d0b0;
  --md-code-bg-color: #242d26;
  --md-code-fg-color: #e1e9dc;
  --md-code-hl-comment-color: #95a494;
  --md-code-hl-keyword-color: #e7a0a5;
  --md-code-hl-function-color: #a3d0b0;
  --md-code-hl-special-color: #e1c17b;
  --md-code-hl-variable-color: #a3d0b0;
  --md-code-hl-name-color: #e1e9dc;
  --md-code-hl-number-color: #e8b08e;
  --md-code-hl-string-color: #a3d0b0;
  --md-code-hl-operator-color: #e7a0a5;
  --md-code-hl-punctuation-color: #b0bfad;
  --kedi-rule: #38443b;
  --kedi-panel: #242d26;
  --kedi-code-paper: #1c241e;
  --kedi-nav-paper: #1e2620;
  --kedi-selection: #2c3e31;
}

*,
.md-typeset :is(h1, h2, h3, h4),
.md-nav__title {
  letter-spacing: 0;
}
html {
  scroll-padding-top: 96px;
}
body {
  background: var(--md-default-bg-color);
}
::selection {
  background: var(--kedi-selection);
}
.md-grid {
  max-width: 1536px;
}
a,
button,
label {
  -webkit-tap-highlight-color: transparent;
}
:is(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--md-accent-fg-color);
  outline-offset: 3px;
}

/* Retain the theme's search, palette and drawer behavior. */
.kedi-header {
  background: var(--md-default-bg-color);
  border-bottom: 1px solid var(--kedi-rule);
  box-shadow: none;
  backdrop-filter: none;
}
.kedi-header .md-header__inner {
  min-height: var(--kedi-header-height);
  padding: 0 28px;
  gap: 16px;
}
.kedi-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--md-default-fg-color);
  flex-shrink: 0;
}
.kedi-brand img {
  width: 42px;
  height: 32px;
  object-fit: contain;
}
[data-md-color-scheme="slate"] .kedi-brand img {
  filter: invert(1);
}
.kedi-brand span {
  font-size: 25px;
  font-weight: 650;
}
.kedi-header-label {
  color: var(--md-default-fg-color--light);
  border-left: 1px solid var(--kedi-rule);
  padding-left: 20px;
  font-size: 14px;
}
.kedi-header-spacer {
  flex: 1;
}
.kedi-header .md-header__button {
  margin: 0;
  padding: 10px;
}
.kedi-header .md-header__button svg {
  width: 20px;
  height: 20px;
}
.kedi-header .md-search__button {
  border: 1px solid var(--kedi-rule);
  border-radius: 3px;
  box-shadow: none;
  min-width: 250px;
  background: var(--kedi-panel);
  font-size: 13px;
}
.kedi-menu-toggle svg,
.kedi-nav-close svg {
  fill: none;
  stroke: currentColor;
}
.kedi-nav-close {
  display: none;
}

/* Long navigation labels wrap; the complete hierarchy remains available. */
.md-sidebar--primary {
  background: var(--kedi-nav-paper);
  border-right: 1px solid var(--kedi-rule);
}
.md-sidebar--primary .md-sidebar__inner {
  width: auto;
}
.md-nav--primary {
  margin: 0;
  font-size: 13px;
}
.md-nav--primary .md-nav__link {
  margin: 1px 0;
  padding: 9px 12px;
  border-radius: 0;
  line-height: 1.55;
}
.md-nav--primary .md-nav__link .md-ellipsis {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
}
.md-nav--primary .md-nav__container {
  padding: 0;
  gap: 0;
}
.md-nav--primary .md-nav__container > a {
  min-width: 0;
  flex: 1;
}
.md-nav--primary .md-nav__container > label {
  align-self: stretch;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding-inline: 12px;
}
.md-nav--primary .md-nav__list .md-nav__list {
  padding-left: 12px;
}
.md-nav--primary .md-nav__item .md-nav__link--active {
  background: var(--kedi-selection);
  color: var(--md-accent-fg-color);
  box-shadow: inset 2px 0 var(--md-accent-fg-color);
}
.md-nav--primary > .md-nav__list > .md-nav__item--nested {
  margin-top: 4px;
}
.md-nav--primary
  > .md-nav__list
  > .md-nav__item--nested
  > .md-nav__container
  > a,
.md-nav--primary > .md-nav__list > .md-nav__item--nested > label {
  font-weight: 550;
}
.kedi-nav-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--md-code-font), monospace;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  background: transparent;
  color: var(--md-default-fg-color--light);
  box-shadow: none;
  padding: 12px 12px 16px;
  height: auto;
}
.kedi-nav-title > span {
  flex: 1;
  min-width: 0;
}
.kedi-nav-mascot {
  width: 40px;
  height: 48px;
  flex-shrink: 0;
  object-fit: contain;
  image-rendering: pixelated;
}

.md-content__inner {
  margin: 0;
  padding-top: 0;
}
.md-content__inner::before {
  display: none;
}
.md-typeset {
  font-size: 15px;
  line-height: 1.8;
}
.md-typeset h1 {
  color: var(--md-default-fg-color);
  font-size: 36px;
  line-height: 1.2;
  font-weight: 620;
  margin: 22px 0;
  overflow-wrap: anywhere;
}
.md-typeset h2 {
  font-size: 23px;
  font-weight: 600;
  line-height: 1.4;
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid var(--kedi-rule);
}
.md-typeset h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
}
.md-typeset h4 {
  font-size: 15px;
}
.md-typeset p {
  margin: 16px 0;
}
.md-typeset h1 + p {
  color: var(--md-default-fg-color--light);
  font-size: 17px;
}
.md-typeset :is(h1, h2, h3, h4) {
  scroll-margin-top: 96px;
}
.md-typeset a:not(.headerlink):hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.md-typeset :not(pre) > code {
  border: 1px solid var(--kedi-rule);
  border-radius: 3px;
  padding: 1px 5px;
  font-size: 0.87em;
  word-break: normal;
  overflow-wrap: anywhere;
}
.md-typeset blockquote {
  border-left: 2px solid var(--md-accent-fg-color);
  background: transparent;
  padding-left: 18px;
  color: var(--md-default-fg-color--light);
}
.md-typeset hr {
  border-bottom-color: var(--kedi-rule);
}
.md-typeset .admonition,
.md-typeset details {
  box-shadow: none;
  border-radius: 3px;
  font-size: 14px;
}
.md-typeset table:not([class]) {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  font-size: 13px;
  display: table;
  width: 100%;
}
.md-typeset table:not([class]) :is(th, td) {
  padding: 12px 16px;
  border-bottom: 1px solid var(--kedi-rule);
  min-width: 0;
}
.md-typeset table:not([class]) th {
  background: var(--kedi-panel);
  color: var(--md-default-fg-color);
  font-weight: 600;
  border-top: 1px solid var(--kedi-rule);
}
.md-typeset .md-typeset__table {
  display: block;
  padding: 0;
}
.md-typeset .md-typeset__scrollwrap {
  margin: 24px 0;
}
.md-typeset .tabbed-labels {
  background: transparent;
  border-radius: 0;
  box-shadow: inset 0 -1px var(--kedi-rule);
}
.md-typeset .tabbed-labels > label {
  font-size: 13px;
}

.kedi-page-meta {
  min-height: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 12px;
}
.kedi-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  color: var(--md-default-fg-color--light);
}
.kedi-breadcrumb a {
  color: inherit;
}
.kedi-page-actions {
  flex-shrink: 0;
}
.kedi-copy-markdown {
  float: none;
  margin: 0;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 6px 0 6px 8px;
  font-size: 11px;
  font-weight: 400;
  color: var(--md-default-fg-color--light);
  cursor: pointer;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.kedi-copy-markdown svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.kedi-copy-markdown:hover,
.kedi-copy-markdown.is-copied {
  color: var(--md-accent-fg-color);
  transform: none;
}
.kedi-copy-markdown.has-error {
  color: #b34244;
}
.kedi-copy-markdown:disabled {
  cursor: wait;
}

/* A title strip distinguishes source from prose without a fake editor. */
.md-typeset .kedi-code-frame {
  border: 1px solid var(--kedi-rule);
  border-radius: 3px;
  overflow: hidden;
  margin: 22px 0;
  background: var(--kedi-code-paper);
}
.kedi-code-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  background: var(--kedi-panel);
  border-bottom: 1px solid var(--kedi-rule);
  padding: 0 14px;
  font:
    11px/1.4 var(--md-code-font),
    monospace;
  color: var(--md-default-fg-color--light);
}
.kedi-code-copy {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 2px;
  cursor: pointer;
  color: var(--md-default-fg-color--light);
}
.kedi-code-copy svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
}
.kedi-code-copy:hover {
  background: var(--kedi-selection);
  color: var(--md-accent-fg-color);
}
.kedi-code-copy[data-copied] {
  color: var(--md-accent-fg-color);
}
.md-typeset .kedi-code-frame :is(pre, .highlight) {
  margin: 0;
  background: transparent;
}
.md-typeset .kedi-code-frame pre {
  padding: 0;
}
.md-typeset .kedi-code-frame pre code {
  display: block;
  padding: 18px;
  border-radius: 0;
  background: transparent;
  font-size: 13px;
  line-height: 1.85;
  white-space: pre;
  overflow-x: auto;
  tab-size: 2;
}
.kedi-code-frame .md-clipboard,
.kedi-code-frame .md-code__button,
.kedi-code-frame .md-code__nav {
  display: none;
}
.kedi-code-frame .filename {
  display: none;
}
.md-typeset .kedi-mobile-toc {
  display: none;
}

.md-nav--secondary {
  font-size: 12px;
  border-left: 1px solid var(--kedi-rule);
  padding-left: 16px;
}
.md-nav--secondary .md-nav__title {
  font-family: var(--md-code-font), monospace;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--md-default-fg-color--light);
  background: transparent;
  box-shadow: none;
  padding-bottom: 12px;
}
.md-nav--secondary .md-nav__link {
  white-space: normal;
  line-height: 1.6;
  margin-block: 10px;
}
.md-nav--secondary .md-nav__link--active {
  color: var(--md-accent-fg-color);
  font-weight: 600;
}
.md-footer {
  color: var(--md-default-fg-color);
  background: var(--kedi-panel);
  border-top: 1px solid var(--kedi-rule);
}
.md-footer-meta {
  background: var(--kedi-panel);
  color: var(--md-default-fg-color--light);
  border-top: 1px solid var(--kedi-rule);
}
.md-footer-meta a,
.md-copyright,
.md-footer__direction {
  color: var(--md-default-fg-color--light) !important;
}
.md-footer__title {
  font-size: 14px;
}
.md-footer__direction {
  font-size: 11px;
}

/* The index is generated from the real navigation, not a second list. */
.kedi-manual-home {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.65fr);
  grid-template-areas: "title title" "lede lede" "intro intro" "directory specimen" "overview overview";
  gap: 0 40px;
}
.kedi-manual-home > h1 {
  grid-area: title;
  margin-bottom: 0;
}
.kedi-manual-home > p {
  grid-area: lede;
  color: var(--md-default-fg-color--light);
  font-size: 17px;
  max-width: 650px;
}
.kedi-manual-intro {
  grid-area: intro;
}
.kedi-manual-intro {
  padding-bottom: 28px;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--md-accent-fg-color);
}
.kedi-manual-intro p {
  margin-top: 4px;
}
.kedi-start-link {
  font-weight: 550;
  border-bottom: 1px solid var(--md-accent-fg-color);
  padding-bottom: 3px;
  font-size: 14px;
}
.kedi-directory {
  grid-area: directory;
  min-width: 0;
}
.kedi-directory-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.kedi-directory-heading h2 {
  font-size: 19px;
  border: 0;
  padding: 0;
  margin: 0;
}
.kedi-directory-heading > span {
  font-size: 11px;
  color: var(--md-default-fg-color--light);
  white-space: nowrap;
}
.kedi-directory ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.kedi-directory li {
  margin: 0;
}
.kedi-directory li > a {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 15px 4px;
  border-top: 1px solid var(--kedi-rule);
  color: var(--md-default-fg-color);
}
.kedi-directory li > a:hover {
  background: var(--kedi-selection);
  text-decoration: none !important;
}
.md-typeset .kedi-directory a {
  text-decoration: none;
}
.kedi-section-number {
  font:
    12px/1.5 var(--md-code-font),
    monospace;
  color: var(--md-accent-fg-color);
  align-self: start;
  padding-top: 3px;
}
.kedi-section-description {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}
.kedi-section-description strong {
  font-size: 14px;
  font-weight: 600;
}
.kedi-section-description > span {
  font-size: 11px;
  line-height: 1.6;
  color: var(--md-default-fg-color--light);
}
.kedi-section-arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
}
.kedi-manual-specimen {
  grid-area: specimen;
  min-width: 0;
}
.kedi-manual-specimen h2 {
  font-size: 14px;
  margin-top: 30px;
}
.kedi-manual-specimen h2:first-child {
  margin-top: 0;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 500;
  font-family: var(--md-code-font), monospace;
}
.kedi-manual-specimen .kedi-code-frame {
  margin-bottom: 0;
}
.kedi-manual-specimen .kedi-code-frame pre code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.kedi-example-output {
  display: flex;
  flex-direction: column;
  padding: 12px 15px;
  gap: 6px;
  border: 1px solid var(--kedi-rule);
  border-top: 0;
  background: var(--kedi-panel);
}
.kedi-example-output span {
  text-transform: uppercase;
  font:
    9px/1.5 var(--md-code-font),
    monospace;
  color: var(--md-default-fg-color--light);
}
.kedi-example-output samp {
  font:
    12px/1.6 var(--md-code-font),
    monospace;
}
.kedi-manual-specimen table:not([class]) :is(th, td) {
  padding: 10px 5px;
  font-size: 11px;
}
.kedi-manual-specimen ul {
  list-style: none;
  padding: 0;
  margin: 12px 0;
  font-size: 12px;
}
.kedi-manual-specimen li {
  margin-left: 0;
}
.kedi-manual-overview {
  grid-area: overview;
  margin-top: 32px;
}
.kedi-manual-overview > h2:first-child {
  margin-top: 0;
}

@media (min-width: 1220px) {
  .md-main__inner {
    display: grid;
    grid-template-columns: 265px minmax(0, 1fr) 215px;
    gap: 0 36px;
    padding: 0 28px;
    margin-top: 0;
  }
  .md-main__inner:has(.kedi-manual-home) {
    grid-template-columns: 265px minmax(0, 1fr);
  }
  .md-sidebar--primary {
    grid-column: 1;
    grid-row: 1;
    width: 265px;
    height: calc(100dvh - 69px);
    padding: 20px 12px 24px 0;
  }
  .md-sidebar--secondary {
    grid-column: 3;
    grid-row: 1;
    width: 215px;
    padding-top: 42px;
  }
  .md-sidebar--secondary .md-sidebar__inner {
    width: 100%;
  }
  .md-content {
    grid-column: 2;
    grid-row: 1;
    padding: 34px 0 60px;
  }
  .kedi-header .kedi-menu-toggle {
    display: none;
  }
  .md-nav--primary > .kedi-nav-title {
    position: static;
    display: flex;
  }
}
@media (min-width: 960px) and (max-width: 1219px) {
  .md-main__inner {
    margin-top: 0;
    padding: 0 32px;
  }
  .md-content {
    padding: 28px 0 48px;
  }
}
@media (max-width: 1219px) {
  .kedi-nav-close {
    display: inline-flex;
    margin-left: auto;
  }
  .md-nav--primary > .kedi-nav-title {
    display: flex;
    align-items: center;
    min-height: 60px;
  }
  .md-sidebar--primary {
    background: var(--md-default-bg-color);
  }
  .kedi-header .kedi-menu-toggle {
    display: inline-flex;
  }
  .md-sidebar--primary .md-nav__title {
    color: var(--md-default-fg-color);
    background: var(--md-default-bg-color);
  }
  .md-sidebar--primary .kedi-nav-title {
    padding: 12px 20px;
  }
}
@media (max-width: 959px) {
  .kedi-header .md-header__inner {
    padding: 0 16px;
    gap: 8px;
    min-height: 60px;
  }
  .kedi-header-label {
    font-size: 12px;
    padding-left: 12px;
  }
  .kedi-header .md-search__button {
    min-width: 0;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 0;
  }
  .kedi-header .md-search {
    display: block;
  }
  .kedi-header .md-search__button::before {
    top: 8px;
    margin-left: 8px;
  }
  .kedi-header .md-search__button::after {
    display: none;
  }
  .kedi-header .md-header__button {
    padding: 8px;
  }
  .md-main__inner {
    margin-top: 0;
  }
  .md-content {
    padding: 24px;
  }
  .md-sidebar--secondary {
    display: none;
  }
  .md-typeset {
    font-size: 15px;
  }
  .md-typeset h1 {
    font-size: 30px;
  }
  .md-typeset h2 {
    font-size: 22px;
  }
  .md-typeset .kedi-mobile-toc {
    display: block;
    margin: 0 0 24px;
    border-block: 1px solid var(--kedi-rule);
    padding: 10px 0;
  }
  .md-typeset .kedi-mobile-toc {
    border-inline: 0;
    background: transparent;
    border-radius: 0;
  }
  .kedi-mobile-toc > summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    background: transparent;
    margin: 0;
    padding: 0;
    font-weight: 500;
  }
  .kedi-mobile-toc > summary::before,
  .kedi-mobile-toc > summary::after {
    display: none;
  }
  .kedi-mobile-toc > summary svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
  }
  .kedi-mobile-toc[open] > summary svg {
    transform: rotate(180deg);
  }
  .kedi-mobile-toc ul {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    font-size: 12px;
  }
  .kedi-mobile-toc li {
    margin: 0;
  }
  .kedi-mobile-toc a {
    display: block;
    padding: 6px 0;
  }
}
@media (max-width: 599px) {
  .kedi-header-label {
    display: none;
  }
  .kedi-brand {
    gap: 7px;
  }
  .kedi-brand img {
    width: 34px;
    height: 27px;
  }
  .kedi-brand span {
    font-size: 22px;
  }
  .kedi-header .md-header__inner {
    padding-inline: 10px;
    gap: 4px;
  }
  .kedi-header .kedi-github {
    display: none;
  }
  .md-content {
    padding: 20px 20px 40px;
  }
  .md-typeset h1 {
    font-size: 28px;
    margin-top: 18px;
  }
  .md-typeset h2 {
    font-size: 21px;
    margin-top: 30px;
    padding-top: 22px;
  }
  .kedi-page-meta {
    align-items: start;
  }
  .kedi-copy-markdown span {
    display: none;
  }
  .kedi-copy-markdown {
    min-width: 32px;
    min-height: 32px;
    justify-content: center;
    padding: 6px;
  }
  .kedi-breadcrumb {
    font-size: 10px;
    padding-top: 6px;
  }
  .kedi-manual-home {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "title" "lede" "intro" "directory" "specimen" "overview";
  }
  .kedi-manual-specimen {
    margin-top: 32px;
  }
  .kedi-manual-intro {
    margin-bottom: 24px;
    padding-bottom: 20px;
  }
  .kedi-manual-home > p {
    font-size: 16px;
  }
  .md-typeset .kedi-code-frame pre code {
    font-size: 12.5px;
    padding: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0s !important;
    animation-duration: 0s !important;
  }
}
