:root,
.light,
.rust {
  --bg: #f2f1ed;
  --fg: #15181c;
  --sidebar-bg: #0b0d10;
  --sidebar-fg: #f4f5f3;
  --sidebar-non-existant: #818892;
  --sidebar-active: #f08a72;
  --sidebar-spacer: #2c3239;
  --scrollbar: #767b7f;
  --icons: #5f6973;
  --icons-hover: #b9452f;
  --links: #294d6a;
  --inline-code-color: #a33d29;
  --theme-popup-bg: #faf9f6;
  --theme-popup-border: #b8b6af;
  --theme-hover: #e7e5df;
  --quote-bg: #e9e7e1;
  --quote-border: #596673;
  --warning-border: #c54b34;
  --table-border-color: #d0cec7;
  --table-header-bg: #e4e2dc;
  --table-alternate-bg: #eceae5;
  --searchbar-border-color: #93938f;
  --searchbar-bg: #f6f5f0;
  --searchbar-fg: #181a1d;
  --searchbar-shadow-color: #c54b34;
  --searchresults-header-fg: #60656a;
  --searchresults-border-color: #aaa9a3;
  --searchresults-li-bg: #f6f5f0;
  --search-mark-bg: #e8b3a7;
  --copy-button-filter: invert(34%) sepia(10%) saturate(778%) hue-rotate(174deg)
    brightness(92%) contrast(89%);
  --copy-button-filter-hover: invert(38%) sepia(60%) saturate(1181%)
    hue-rotate(333deg) brightness(84%) contrast(94%);
  --footnote-highlight: #c54b34;
  --overlay-bg: rgba(11, 13, 16, 0.55);
  --blockquote-note-color: #465a70;
  --blockquote-tip-color: #2f6d4b;
  --blockquote-important-color: #6a4c79;
  --blockquote-warning-color: #8a5b13;
  --blockquote-caution-color: #a33d29;
  --sidebar-header-border-color: #e05a3f;
  --color-scheme: light;

  --paper: #f2f1ed;
  --surface: #faf9f6;
  --surface-muted: #e9e7e1;
  --edge: #d0cec7;
  --edge-strong: #93938f;
  --muted: #60656a;
  --accent: #c94e35;
  --accent-hover: #9f3824;
  --code-bg: #11151a;
  --code-fg: #e7ebef;
  --focus-ring: #c54b34;
  --focus-halo: rgba(197, 75, 52, 0.2);
  --toolbar-bg: rgba(242, 241, 237, 0.86);
  --content-max-width: 118rem;
  --reading-width: 72rem;
  --home-surface: #e9e7e1;
  --home-surface-raised: #faf9f6;
  --home-dark: #0b0d10;
  --home-dark-surface: #11151a;
  --home-dark-text: #f5f7f8;
  --home-dark-muted: #9aa4af;
}

.navy,
.ayu,
.coal {
  --bg: #0b0d10;
  --fg: #f0f2f4;
  --sidebar-bg: #090b0e;
  --sidebar-fg: #f4f5f3;
  --sidebar-non-existant: #818892;
  --sidebar-active: #f08a72;
  --sidebar-spacer: #2c3239;
  --scrollbar: #747c85;
  --icons: #97a1ab;
  --icons-hover: #ff8b5c;
  --links: #c0d0df;
  --inline-code-color: #ff8b5c;
  --theme-popup-bg: #151a20;
  --theme-popup-border: #343b44;
  --theme-hover: #1b2128;
  --quote-bg: #11161b;
  --quote-border: #667381;
  --warning-border: #f08a72;
  --table-border-color: #2b3139;
  --table-header-bg: #171c22;
  --table-alternate-bg: #0f1318;
  --searchbar-border-color: #56606b;
  --searchbar-bg: #181d23;
  --searchbar-fg: #edf0f2;
  --searchbar-shadow-color: #f08a72;
  --searchresults-header-fg: #a6afb9;
  --searchresults-border-color: #353d46;
  --searchresults-li-bg: #181d23;
  --search-mark-bg: #6a3228;
  --copy-button-filter: invert(76%) sepia(7%) saturate(489%) hue-rotate(173deg)
    brightness(94%) contrast(88%);
  --copy-button-filter-hover: invert(72%) sepia(40%) saturate(951%)
    hue-rotate(315deg) brightness(101%) contrast(89%);
  --footnote-highlight: #f08a72;
  --overlay-bg: rgba(0, 0, 0, 0.7);
  --blockquote-note-color: #aabed6;
  --blockquote-tip-color: #86c59f;
  --blockquote-important-color: #c5a9d4;
  --blockquote-warning-color: #e0b268;
  --blockquote-caution-color: #f08a72;
  --sidebar-header-border-color: #e05a3f;
  --color-scheme: dark;

  --paper: #0b0d10;
  --surface: #11151a;
  --surface-muted: #151a20;
  --edge: #2b3139;
  --edge-strong: #4c5661;
  --muted: #9aa4af;
  --accent: #f26a2e;
  --accent-hover: #ff8b5c;
  --code-bg: #080a0d;
  --code-fg: #e7ebef;
  --focus-ring: #f08a72;
  --focus-halo: rgba(240, 138, 114, 0.24);
  --toolbar-bg: rgba(11, 13, 16, 0.86);
  --home-surface: #11151a;
  --home-surface-raised: #151a20;
  --home-dark: #080a0d;
  --home-dark-surface: #0d1014;
  --home-dark-text: #f5f7f8;
  --home-dark-muted: #9aa4af;
}

html {
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Helvetica Neue", Arial, sans-serif;
  font-optical-sizing: auto;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--bg);
  letter-spacing: normal;
}

code,
pre,
.chapter li.part-title,
.docs-brand-name,
.docs-brand-descriptor,
.docs-menu-descriptor,
.docs-eyebrow,
.docs-flow > li > span,
.docs-start-grid > a > span,
.docs-home-signals dt {
  font-family: "JetBrains Mono", "SFMono-Regular", Menlo, Monaco, Consolas,
    monospace;
  letter-spacing: normal;
}

:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}

#mdbook-menu-bar {
  min-height: 5.6rem;
  background: var(--toolbar-bg);
  border-block-end: 1px solid var(--edge);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

#mdbook-menu-bar.bordered {
  border-block-end-color: var(--edge);
}

#mdbook-menu-bar .icon-button,
#mdbook-menu-bar a,
.mobile-nav-chapters {
  transition:
    color 100ms ease,
    background-color 100ms ease,
    border-color 100ms ease,
    transform 100ms ease;
}

#mdbook-menu-bar .icon-button:active,
#mdbook-menu-bar a:active,
.mobile-nav-chapters:active {
  transform: scale(0.97);
}

.menu-title {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 1rem;
  color: var(--fg);
  font-size: 1.4rem;
  font-weight: 680;
  letter-spacing: -0.01em;
}

.docs-menu-descriptor {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.docs-site-link {
  display: inline-flex;
  min-height: 3.4rem;
  align-items: center;
  margin-inline: 0.5rem 0.7rem;
  padding-inline: 1rem;
  border: 1px solid var(--edge);
  border-radius: 0.7rem;
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.docs-site-link:hover {
  border-color: var(--edge-strong);
  color: var(--accent-hover);
}

.sidebar {
  border-inline-end: 1px solid #2b3139;
  box-shadow: 1.4rem 0 3rem rgba(0, 0, 0, 0.08);
}

.sidebar .sidebar-scrollbox {
  padding: 0 1.5rem 3rem;
}

.docs-brand {
  display: grid;
  min-height: 9.6rem;
  grid-template-columns: 3.8rem 1fr;
  align-items: center;
  gap: 1.25rem;
  margin: 0 -1.5rem 1.8rem;
  padding: 1.6rem 1.5rem;
  border-block-end: 1px solid #2c3239;
  color: #f4f5f3;
  text-decoration: none;
}

.docs-brand:hover {
  background: #11151a;
  color: #ffffff;
}

.docs-brand-mark {
  display: block;
  width: 3.8rem;
  height: 3.8rem;
}

.docs-brand-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.docs-brand-name,
.docs-brand-descriptor {
  color: #818892;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.docs-brand-product {
  margin-block: 0.15rem 0 0.1rem;
  color: #f4f5f3;
  font-size: 1.65rem;
  font-weight: 680;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.chapter li.part-title {
  margin-block: 2.1rem 0.7rem;
  padding-inline: 0.8rem;
  color: #818892;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.chapter li a {
  display: block;
  margin: 0.1rem 0;
  padding: 0.58rem 0.8rem;
  border-inline-start: 2px solid transparent;
  border-radius: 0.55rem;
  color: #b3bac2;
  line-height: 1.4;
  transition:
    background-color 120ms ease-out,
    border-color 120ms ease-out,
    color 120ms ease-out,
    transform 100ms ease-out;
}

.chapter li a:hover {
  background: #11151a;
  color: #ffffff;
}

.chapter li a.active,
.chapter a.current-header {
  border-inline-start-color: #f26a2e;
  background: #151a20;
  color: #ffffff;
  font-weight: 650;
}

.chapter li a.active:hover,
.chapter a.current-header:hover {
  color: #ffffff;
}

.on-this-page {
  border-inline-start-color: #e05a3f;
}

.content {
  padding-block-end: 8rem;
}

.content main {
  max-width: var(--reading-width);
}

.content h1,
.content h2,
.content h3,
.content h4 {
  color: var(--fg);
  font-weight: 700;
  text-wrap: balance;
}

.content h1 {
  margin-block: 7rem 1.8rem;
  font-size: clamp(3.5rem, 4vw, 4.8rem);
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.content h1 + p {
  color: var(--muted);
  font-size: 1.82rem;
  line-height: 1.65;
}

.content h2 {
  margin-block: 5rem 1.4rem;
  padding-block-start: 1.7rem;
  border-block-start: 1px solid var(--edge);
  font-size: clamp(2.3rem, 3vw, 2.7rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.content h3 {
  margin-block: 3.5rem 1rem;
  font-size: 1.85rem;
  letter-spacing: -0.012em;
  line-height: 1.3;
}

.content h4 {
  margin-block: 2.8rem 0.8rem;
  font-size: 1.55rem;
  line-height: 1.4;
}

.content p,
.content li {
  font-size: 1.57rem;
  line-height: 1.76;
}

.content li + li {
  margin-block-start: 0.45rem;
}

.content a:not(.header) {
  text-decoration: underline;
  text-decoration-thickness: 0.07em;
  text-underline-offset: 0.18em;
}

.content a:not(.header):hover {
  color: var(--accent-hover);
  text-decoration-thickness: 0.1em;
}

.content hr {
  margin-block: 4rem;
  border-block-start: 1px solid var(--edge);
}

.content strong {
  color: var(--fg);
  font-weight: 700;
}

.hljs {
  background: var(--code-bg);
  color: var(--code-fg);
}

pre {
  margin-block: 2.4rem;
  overflow: hidden;
  border: 1px solid var(--edge-strong);
  border-radius: 0.8rem;
  background: var(--code-bg);
}

pre > code.hljs {
  overflow-x: auto;
  padding: 1.7rem 1.9rem;
  font-size: 1.35rem;
  line-height: 1.68;
}

:not(pre) > .hljs {
  padding: 0.12em 0.32em;
  border: 1px solid var(--edge);
  border-radius: 2px;
  background: var(--surface-muted);
}

pre > .buttons {
  visibility: visible;
  opacity: 0.7;
}

pre:hover > .buttons,
pre:focus-within > .buttons {
  opacity: 1;
}

pre > .buttons button {
  border-color: #56606b;
  border-radius: 2px;
  background: #181d23;
  box-shadow: none;
}

.table-wrapper {
  margin-block: 2.4rem;
  overflow: hidden;
  overflow-x: auto;
  border: 1px solid var(--edge-strong);
  border-radius: 0.8rem;
}

.table-wrapper table {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  text-align: start;
}

.table-wrapper table th,
.table-wrapper table td {
  padding: 1.05rem 1.25rem;
  border: 0;
  border-block-start: 1px solid var(--table-border-color);
  font-size: 1.4rem;
  text-align: start;
  vertical-align: top;
}

.table-wrapper table thead th {
  border-block-start: 0;
  background: var(--table-header-bg);
  color: var(--fg);
  font-weight: 700;
}

.table-wrapper table tbody tr:nth-child(2n) {
  background: var(--table-alternate-bg);
}

blockquote,
.api-reference-status {
  margin-block: 2.6rem;
  padding: 1.6rem 1.8rem;
  border: 1px solid var(--edge);
  border-inline-start: 3px solid var(--accent);
  border-radius: 0.8rem;
  background: var(--quote-bg);
}

blockquote > :first-child,
.api-reference-status > :first-child {
  margin-block-start: 0;
}

blockquote > :last-child,
.api-reference-status > :last-child {
  margin-block-end: 0;
}

#mdbook-searchbar {
  padding: 1rem 1.2rem;
  border-radius: 0.7rem;
  transition:
    border-color 100ms ease,
    box-shadow 100ms ease;
}

#mdbook-searchbar:focus,
#mdbook-searchbar.active {
  border-color: var(--focus-ring);
  box-shadow: 0 0 0 2px var(--focus-halo);
}

#mdbook-searchbar:focus-visible {
  outline: none;
}

.theme-popup,
#mdbook-help-popup {
  border-color: var(--edge-strong);
  border-radius: 0.8rem;
  background: var(--surface);
  box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.2);
}

.theme-popup .theme {
  padding-block: 0.45rem;
}

.searchresults-outer {
  border-block-start: 1px solid var(--edge);
}

.mobile-nav-chapters {
  border: 1px solid var(--edge-strong);
  border-radius: 0.7rem;
  background: var(--surface-muted);
}

.api-reference-status {
  border-inline-start-color: var(--quote-border);
}

#osmiron-api-reference:not(:empty) {
  margin-block-start: 2.4rem;
  min-height: 40rem;
}

:root {
  --sidebar-target-width: 29rem;
  --page-padding: clamp(1.6rem, 3vw, 4rem);
  --menu-bar-height: 5.6rem;
}

#mdbook-page-wrapper {
  background: var(--paper);
}

#mdbook-menu-bar .icon-button,
#mdbook-menu-bar .right-buttons > a:not(.docs-site-link) {
  border-radius: 0.6rem;
}

#mdbook-menu-bar .icon-button:hover,
#mdbook-menu-bar .right-buttons > a:not(.docs-site-link):hover {
  background: var(--surface-muted);
}

html:not(.sidebar-resizing) .sidebar,
.js:not(.sidebar-resizing) .page-wrapper {
  transition-duration: 280ms;
  transition-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
}

.docs-home-page .content {
  padding-block-end: 0;
}

.docs-home-page .content main {
  max-width: 118rem;
}

.docs-home {
  overflow: hidden;
  margin-inline: auto;
  border-inline: 1px solid var(--edge);
  background: var(--paper);
}

.docs-home p {
  margin-block: 0;
}

.docs-home a,
.docs-home a:hover {
  text-decoration: none;
}

.docs-home-hero {
  padding: clamp(7rem, 10vw, 11rem) clamp(2.4rem, 6vw, 7rem) 0;
  background: var(--home-dark);
  color: var(--home-dark-text);
  text-align: center;
}

.docs-eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 1rem !important;
  font-weight: 700;
  letter-spacing: 0.11em !important;
  line-height: 1.5 !important;
  text-transform: uppercase;
}

.docs-home-hero .docs-eyebrow {
  color: #7f8994;
}

.docs-home-hero h1 {
  max-width: 92rem;
  margin: 1.6rem auto 0;
  color: var(--home-dark-text);
  font-size: clamp(4.6rem, 8vw, 8.8rem);
  font-weight: 620;
  letter-spacing: -0.062em;
  line-height: 0.96;
  text-wrap: balance;
}

.docs-home-hero .docs-home-lede {
  max-width: 74rem;
  margin: 2.2rem auto 0;
  color: var(--home-dark-muted);
  font-size: clamp(1.7rem, 2vw, 2rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.docs-home-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-block-start: 2.8rem;
}

.docs-action {
  display: inline-flex;
  min-height: 4.6rem;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0.9rem 1.4rem;
  border: 1px solid #414953;
  border-radius: 0.7rem;
  color: #e7eaed !important;
  font-size: 1.35rem;
  font-weight: 680;
  line-height: 1.2;
  transition:
    background-color 140ms ease-out,
    border-color 140ms ease-out,
    color 140ms ease-out,
    transform 100ms ease-out;
}

.docs-action:hover {
  border-color: #69737e;
  background: var(--home-dark-surface);
  color: #ffffff !important;
}

.docs-action:active,
.docs-start-grid > a:active {
  transform: scale(0.98);
}

.docs-action-primary {
  border-color: #f5f7f8;
  background: #f5f7f8;
  color: #0b0d10 !important;
}

.docs-action-primary:hover {
  border-color: #ffffff;
  background: #ffffff;
  color: #0b0d10 !important;
}

.docs-home-signals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: clamp(6rem, 9vw, 9rem) calc(clamp(2.4rem, 6vw, 7rem) * -1) 0;
  border-block-start: 1px solid #2b3139;
  text-align: start;
}

.docs-home-signals > div {
  min-width: 0;
  padding: 2rem clamp(2rem, 4vw, 4rem);
  border-inline-start: 1px solid #2b3139;
}

.docs-home-signals > div:first-child {
  border-inline-start: 0;
}

.docs-home-signals dt {
  color: #737d88;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.docs-home-signals dd {
  margin: 0.6rem 0 0;
  color: #e1e5e9;
  font-size: 1.45rem;
  font-weight: 620;
  line-height: 1.4;
}

.docs-home-section {
  padding: clamp(6rem, 9vw, 9rem) clamp(2.4rem, 6vw, 7rem);
  border-block-start: 1px solid var(--edge);
}

.docs-section-heading {
  display: grid;
  grid-template-columns: minmax(12rem, 0.45fr) minmax(0, 1fr);
  column-gap: clamp(2rem, 5vw, 7rem);
  align-items: start;
}

.docs-section-heading .docs-eyebrow {
  grid-row: 1 / span 2;
  padding-block-start: 0.7rem;
}

.docs-section-heading h2,
.docs-scope-copy h2 {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--fg);
  font-size: clamp(3rem, 4.2vw, 4.8rem);
  font-weight: 620;
  letter-spacing: -0.045em;
  line-height: 1.04;
  text-wrap: balance;
}

.docs-section-heading > p:last-child {
  max-width: 66rem;
  margin-block-start: 1.6rem;
  color: var(--muted);
  font-size: 1.65rem;
  line-height: 1.7;
}

.docs-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(4rem, 7vw, 7rem) 0 0;
  padding: 0;
  border-block-start: 1px solid var(--edge);
  border-inline-start: 1px solid var(--edge);
  list-style: none;
}

.docs-flow > li {
  min-height: 20rem;
  margin: 0;
  padding: clamp(2rem, 3vw, 3.2rem);
  border-block-end: 1px solid var(--edge);
  border-inline-end: 1px solid var(--edge);
  background: var(--home-surface-raised);
}

.docs-flow > li > span,
.docs-start-grid > a > span {
  display: block;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.docs-flow > li > strong {
  display: block;
  margin-block-start: 3.5rem;
  color: var(--fg);
  font-size: 1.75rem;
  font-weight: 680;
  letter-spacing: -0.015em;
}

.docs-flow > li > p {
  margin-block-start: 0.9rem;
  color: var(--muted);
  font-size: 1.42rem;
  line-height: 1.65;
}

.docs-home-scope {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(28rem, 0.65fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: start;
  background: var(--home-surface);
}

.docs-scope-copy h2 {
  margin-block-start: 1.5rem;
}

.docs-scope-copy > p:not(.docs-eyebrow) {
  max-width: 70rem;
  margin-block-start: 1.8rem;
  color: var(--muted);
  font-size: 1.57rem;
  line-height: 1.75;
}

.docs-status {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;
  padding: 2.2rem;
  border: 1px solid var(--edge-strong);
  border-radius: 0.8rem;
  background: var(--home-surface-raised);
}

.docs-status-mark {
  width: 0.8rem;
  height: 0.8rem;
  margin-block-start: 0.65rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0.5rem var(--focus-halo);
}

.docs-status strong {
  color: var(--fg);
  font-size: 1.55rem;
}

.docs-status p {
  margin-block-start: 0.9rem;
  color: var(--muted);
  font-size: 1.4rem;
  line-height: 1.65;
}

.docs-status a {
  display: inline-flex;
  gap: 0.7rem;
  margin-block-start: 1.5rem;
  color: var(--fg) !important;
  font-size: 1.3rem;
  font-weight: 680;
}

.docs-status a:hover {
  color: var(--accent-hover) !important;
}

.docs-start-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-block-start: clamp(4rem, 7vw, 7rem);
  border-block-start: 1px solid var(--edge);
  border-inline-start: 1px solid var(--edge);
}

.docs-start-grid > a {
  min-height: 18rem;
  padding: clamp(2rem, 3vw, 3.2rem);
  border-block-end: 1px solid var(--edge);
  border-inline-end: 1px solid var(--edge);
  background: var(--home-surface-raised);
  color: var(--fg) !important;
  transition:
    background-color 140ms ease-out,
    color 140ms ease-out,
    transform 100ms ease-out;
}

.docs-start-grid > a:hover {
  background: var(--surface-muted);
}

.docs-start-grid > a > strong {
  display: block;
  margin-block-start: 3rem;
  color: inherit;
  font-size: 1.8rem;
  font-weight: 680;
  letter-spacing: -0.015em;
}

.docs-start-grid > a > p {
  margin-block-start: 0.8rem;
  color: var(--muted);
  font-size: 1.42rem;
  line-height: 1.6;
}

@media only screen and (max-width: 900px) {
  .docs-section-heading {
    display: block;
  }

  .docs-section-heading .docs-eyebrow {
    padding: 0;
  }

  .docs-section-heading h2 {
    margin-block-start: 1.5rem;
  }

  .docs-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .docs-home-scope {
    grid-template-columns: 1fr;
  }
}

@media only screen and (max-width: 620px) {
  :root {
    --page-padding: 1.8rem;
  }

  #mdbook-menu-bar {
    min-height: 4.8rem;
  }

  .menu-title {
    font-size: 1.35rem;
  }

  .docs-menu-descriptor,
  .docs-site-link {
    display: none;
  }

  .content h1 {
    margin-block-start: 4rem;
    font-size: 3rem;
  }

  .content h1 + p {
    font-size: 1.65rem;
  }

  .content h2 {
    margin-block-start: 4.2rem;
    font-size: 2.2rem;
  }

  .content h3 {
    font-size: 1.75rem;
  }

  pre > code.hljs {
    padding: 1.45rem;
  }

  .table-wrapper table th,
  .table-wrapper table td {
    padding: 0.9rem 1rem;
  }

  .docs-home {
    margin-inline: calc(var(--page-padding) * -1);
    border-inline: 0;
  }

  .docs-home-hero,
  .docs-home-section {
    padding-inline: 2rem;
  }

  .docs-home-hero h1 {
    font-size: clamp(4rem, 14vw, 5.6rem);
  }

  .docs-home-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .docs-action {
    width: 100%;
    box-sizing: border-box;
  }

  .docs-home-signals {
    grid-template-columns: 1fr;
    margin-inline: -2rem;
  }

  .docs-home-signals > div,
  .docs-home-signals > div:first-child {
    border-block-start: 1px solid #2b3139;
    border-inline-start: 0;
  }

  .docs-home-signals > div:first-child {
    border-block-start: 0;
  }

  .docs-flow,
  .docs-start-grid {
    grid-template-columns: 1fr;
  }

  .docs-flow > li,
  .docs-start-grid > a {
    min-height: 0;
  }
}

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

@media (prefers-reduced-transparency: reduce) {
  #mdbook-menu-bar {
    background: var(--paper);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (prefers-contrast: more) {
  :root,
  .light,
  .rust,
  .navy,
  .ayu,
  .coal {
    --edge: var(--edge-strong);
    --table-border-color: var(--edge-strong);
    --searchbar-border-color: var(--edge-strong);
  }

  :focus-visible {
    outline-width: 3px;
  }

  .content a:not(.header) {
    text-decoration-thickness: 0.12em;
  }
}

@media print {
  .content main {
    max-width: none;
  }

  .content h1 {
    margin-block-start: 0;
  }

  .docs-home-actions,
  .docs-home-signals {
    display: none;
  }

  .docs-home,
  .docs-home-hero,
  .docs-home-section {
    border: 0;
    background: transparent;
    color: #000000;
  }

  .docs-home-hero h1,
  .docs-home-hero .docs-home-lede {
    color: #000000;
  }
}
