.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  color: var(--ink-3);
}
.crumbs li {
  min-width: 0;
}
.crumbs li + li::before {
  content: '/';
  margin-right: 8px;
  color: var(--line-2);
}
.crumbs a {
  color: var(--ink-2);
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.crumbs [aria-current] {
  display: inline-block;
  max-width: 42ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

.docs-meta {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--ink-3);
}

.docs-hero .lead {
  max-width: 70ch;
}
.docs-hero h1 {
  max-width: none;
}
.docs-search {
  display: flex;
  gap: 10px;
  max-width: 640px;
  margin-top: 28px;
}
.docs-search input,
.docs-mini-search input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}
.docs-search input:focus,
.docs-mini-search input:focus {
  outline: 2px solid color-mix(in srgb, var(--green) 55%, transparent);
  outline-offset: 1px;
  border-color: var(--ink-3);
}
.docs-results {
  max-width: 760px;
  margin-top: 18px;
}
.docs-results[hidden] {
  display: none;
}
.docs-results-count {
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 10px;
}
.docs-hits {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.docs-hits a {
  display: grid;
  gap: 2px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
}
.docs-hits a:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow);
}
.docs-hit-path {
  font-size: 12.5px;
  color: var(--ink-3);
}
.docs-hit-text {
  font-size: 14px;
  color: var(--ink-2);
}

.docs-start {
  padding-block: 56px;
}
.docs-start-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 48px;
}
.docs-start h2 {
  font-size: 22px;
  margin-bottom: 10px;
}
.docs-start .muted {
  margin-bottom: 16px;
  max-width: 60ch;
}
.docs-quick {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.docs-quick a {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.docs-quick a:hover {
  color: var(--green-ink);
}

.docs-map {
  padding-block: 56px 88px;
}
.docs-group + .docs-group {
  margin-top: 56px;
}
.docs-group-head {
  display: grid;
  gap: 6px;
  margin-bottom: 20px;
}
.docs-group-head h2 {
  font-size: clamp(24px, 2.6vw, 30px);
}
.docs-group-head p {
  color: var(--ink-2);
  max-width: 70ch;
}
.docs-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.docs-card {
  display: grid;
  align-content: start;
  gap: 6px;
  height: 100%;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.docs-card:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow);
}
.docs-card h3 {
  font-size: 16.5px;
  line-height: 1.35;
}
.docs-card p {
  font-size: 14px;
  color: var(--ink-2);
}

.docs-shell {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr) 208px;
  gap: 48px;
  align-items: start;
  padding-block: 36px 88px;
}
.docs-shell.no-toc {
  grid-template-columns: 236px minmax(0, 1fr);
}
.docs-side {
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 104px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 6px;
  font-size: 14px;
}
.docs-mini-search {
  margin-bottom: 18px;
}
.docs-mini-search input {
  width: 100%;
  height: 38px;
  font-size: 14px;
}
.docs-nav-home {
  display: block;
  margin-bottom: 14px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.docs-nav-group + .docs-nav-group {
  margin-top: 18px;
}
.docs-nav-title {
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.docs-nav ul {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid var(--line);
}
.docs-nav ul a {
  display: block;
  margin-left: -1px;
  padding: 5px 0 5px 12px;
  border-left: 2px solid transparent;
  color: var(--ink-2);
  text-decoration: none;
  line-height: 1.4;
}
.docs-nav ul a:hover {
  color: var(--ink);
}
.docs-nav a[aria-current='page'] {
  color: var(--ink);
  font-weight: 600;
  border-left-color: var(--green);
}
.docs-nav-mobile {
  display: none;
}

.docs-article {
  min-width: 0;
  max-width: 780px;
}
.docs-article h1 {
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1.15;
}
.docs-article > .lead {
  margin-top: 14px;
  font-size: 18px;
  color: var(--ink-2);
  max-width: 68ch;
}
.docs-toc-inline {
  display: none;
}

.docs-body {
  max-width: none;
  margin-top: 28px;
  font-size: 16.5px;
  line-height: 1.7;
}
.docs-body > :first-child {
  margin-top: 0;
}
.docs-body h2 {
  position: relative;
  font-size: 25px;
  margin: 44px 0 12px;
  padding-top: 8px;
}
.docs-body h3 {
  position: relative;
  font-size: 19px;
  margin: 30px 0 10px;
}
.docs-anchor {
  position: absolute;
  left: -1.1em;
  width: 1em;
  color: var(--ink-3);
  text-decoration: none;
  font-weight: 400;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.docs-body h2:hover .docs-anchor,
.docs-body h3:hover .docs-anchor,
.docs-anchor:focus {
  opacity: 1;
}
.docs-body p,
.docs-body ul,
.docs-body ol,
.docs-body blockquote,
.docs-body .table-wrap,
.docs-body .cmd {
  margin: 0 0 18px;
}
.docs-body a {
  color: var(--ink);
  text-decoration-color: color-mix(in srgb, var(--green) 70%, transparent);
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}
.docs-body a:hover {
  color: var(--green-ink);
}
.docs-body code {
  font-size: 0.88em;
  overflow-wrap: anywhere;
}
.docs-body .cmd {
  max-width: none;
}
.docs-body .cmd code {
  background: none;
  border: 0;
  padding: 0;
  font-size: inherit;
  overflow-wrap: anywhere;
  color: inherit;
}
.docs-body .cmd-code .cmd-text {
  white-space: pre;
  overflow-x: auto;
  overflow-wrap: normal;
}
.docs-body .cmd-code .cmd-text code {
  overflow-wrap: normal;
}
.docs-body blockquote {
  padding: 12px 16px;
  border: 1px solid color-mix(in srgb, var(--green) 35%, var(--line));
  border-left: 3px solid var(--green);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--green) 6%, var(--surface));
  color: var(--ink);
}
.docs-body blockquote p {
  margin: 0;
}
.docs-body table.t {
  font-size: 14.5px;
  line-height: 1.5;
}
.docs-body table.t td.r,
.docs-body table.t th.r {
  text-align: right;
}
.docs-body table.t thead th {
  white-space: normal;
}
.docs-body hr {
  margin: 40px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.docs-pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.docs-pager a {
  display: grid;
  gap: 4px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  text-decoration: none;
}
.docs-pager a:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow);
}
.docs-pager span {
  font-size: 13px;
  color: var(--ink-3);
}
.docs-pager-next {
  grid-column: 2;
  text-align: right;
}
.docs-feedback {
  margin-top: 24px;
  font-size: 14px;
  color: var(--ink-3);
}
.docs-feedback a {
  color: var(--ink-2);
}

.docs-toc {
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 104px);
  overflow-y: auto;
  font-size: 13.5px;
}
.docs-toc .toc-label {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.docs-toc ol,
.docs-toc-inline ol {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.docs-toc > ol {
  border-left: 1px solid var(--line);
}
.docs-toc a {
  display: block;
  margin-left: -1px;
  padding: 4px 0 4px 12px;
  border-left: 2px solid transparent;
  color: var(--ink-2);
  text-decoration: none;
  line-height: 1.4;
}
.docs-toc ol ol a {
  padding-left: 24px;
  font-size: 13px;
}
.docs-toc a:hover {
  color: var(--ink);
}
.docs-toc a[aria-current='true'] {
  color: var(--ink);
  border-left-color: var(--green);
}

@media (max-width: 1180px) {
  .docs-shell,
  .docs-shell.no-toc {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 40px;
  }
  .docs-toc {
    display: none;
  }
  .docs-toc-inline {
    display: block;
    margin-top: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    font-size: 14px;
  }
  .docs-toc-inline summary {
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 550;
    color: var(--ink);
  }
  .docs-toc-inline > ol {
    padding: 0 14px 12px;
  }
  .docs-toc-inline ol ol {
    padding-left: 14px;
  }
  .docs-toc-inline a {
    display: block;
    padding: 4px 0;
    color: var(--ink-2);
    text-decoration: none;
  }
  .docs-toc-inline a:hover {
    color: var(--ink);
  }
}

@media (max-width: 860px) {
  .docs-shell,
  .docs-shell.no-toc {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding-block: 20px 64px;
  }
  .docs-side {
    display: none;
  }
  .docs-nav-mobile {
    display: block;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    font-size: 14px;
  }
  .docs-nav-mobile summary {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 14px;
    cursor: pointer;
    color: var(--ink-3);
  }
  .docs-nav-mobile summary > span:first-child {
  flex: none;
  white-space: nowrap;
}
.docs-nav-mobile-cur {
    color: var(--ink);
    font-weight: 550;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .docs-nav-mobile .docs-nav {
    padding: 4px 14px 14px;
    max-height: 60vh;
    overflow-y: auto;
  }
  .docs-start-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .docs-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .docs-anchor {
    display: none;
  }
}

@media (max-width: 640px) {
  .docs-cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .docs-search {
    flex-direction: column;
  }
  .docs-article > .lead {
    font-size: 17px;
  }
  .docs-body {
    font-size: 16px;
  }
  .docs-body h2 {
    font-size: 22px;
  }
  .docs-body h3 {
    font-size: 18px;
  }
  .docs-pager {
    grid-template-columns: minmax(0, 1fr);
  }
  .docs-pager-next {
    grid-column: 1;
  }
  .docs-start,
  .docs-map {
    padding-block: 40px;
  }
}
