:root {
  color-scheme: light;
  --docs-ink: #20231f;
  --docs-ink-soft: #353a33;
  --docs-paper: #f6f8f4;
  --docs-white: #fcfdfb;
  --docs-muted: #687066;
  --docs-muted-soft: #92998f;
  --docs-line: #e4e8df;
  --docs-line-strong: #d3d9ce;
  --docs-acid: #b9da68;
  --docs-acid-soft: #f0f6e2;
  --docs-blue: #7895c2;
  --docs-blue-soft: #f0f4fa;
  --docs-orange: #df7457;
  --docs-sidebar-width: 264px;
  --docs-header-height: 70px;
  --docs-radius: 6px;
  --docs-ease: cubic-bezier(0.2, 0.76, 0.2, 1);
  --docs-sans: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --docs-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-family: var(--docs-sans);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--docs-paper);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--docs-ink);
  background: var(--docs-paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.docs-nav-open,
body.docs-search-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

img,
svg {
  display: block;
}

::selection {
  color: var(--docs-ink);
  background: var(--docs-acid);
}

:focus-visible {
  outline: 3px solid var(--docs-blue);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 500;
  top: -80px;
  left: 18px;
  padding: 11px 14px;
  color: var(--docs-ink);
  background: var(--docs-acid);
  font-size: 13px;
  font-weight: 800;
  transition: top 180ms var(--docs-ease);
}

.skip-link:focus {
  top: 12px;
}

.reading-progress {
  position: fixed;
  z-index: 420;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
}

.reading-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--docs-acid);
  transform: scaleX(0);
  transform-origin: left center;
}

.docs-topbar {
  position: fixed;
  z-index: 400;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: auto minmax(240px, 440px) minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  width: 100%;
  height: var(--docs-header-height);
  padding: 0 24px;
  border-bottom: 1px solid var(--docs-line);
  background: rgba(252, 253, 251, 0.94);
  backdrop-filter: blur(18px) saturate(120%);
}

.docs-topbar-brand,
.docs-brand,
.docs-brand > span,
.docs-topbar-links,
.docs-mobile-actions,
.docs-version-line,
.docs-intro-actions,
.docs-button,
.docs-product-legend,
.docs-footer > div,
.docs-footer-brand,
.docs-footer-brand > span {
  display: flex;
  align-items: center;
}

.docs-topbar-brand {
  gap: 12px;
  white-space: nowrap;
}

.docs-topbar-brand > i {
  width: 1px;
  height: 24px;
  background: var(--docs-line-strong);
}

.docs-brand {
  gap: 9px;
}

.docs-brand img {
  width: 38px;
  height: 38px;
  border: 1px solid var(--docs-line-strong);
}

.docs-brand > span,
.docs-footer-brand > span {
  align-items: flex-start;
  flex-direction: column;
  gap: 3px;
}

.docs-brand strong {
  font-size: 14px;
  line-height: 1;
}

.docs-brand small {
  font-family: var(--docs-mono);
  font-size: 8px;
  line-height: 1;
}

.docs-product-name {
  font-size: 14px;
  font-weight: 760;
}

.docs-search-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--docs-line);
  border-radius: var(--docs-radius);
  color: var(--docs-muted);
  background: var(--docs-paper);
  cursor: pointer;
  transition: border-color 180ms var(--docs-ease), background-color 180ms var(--docs-ease);
}

.docs-search-trigger:hover {
  border-color: var(--docs-line-strong);
  background: var(--docs-white);
}

.docs-search-trigger svg {
  width: 16px;
  height: 16px;
}

.docs-search-trigger span {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.docs-topbar-links {
  justify-content: flex-end;
  gap: 22px;
  min-width: 0;
}

.docs-topbar-links a {
  color: var(--docs-muted);
  font-size: 12px;
  font-weight: 690;
  white-space: nowrap;
  transition: color 160ms var(--docs-ease);
}

.docs-topbar-links a:hover {
  color: var(--docs-ink);
}

.docs-topbar-links .docs-login-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  color: var(--docs-white);
  background: var(--docs-ink);
}

.docs-mobile-actions {
  display: none;
  justify-content: flex-end;
  gap: 8px;
}

.docs-mobile-actions button,
.docs-sidebar-head button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--docs-line);
  background: var(--docs-white);
  cursor: pointer;
}

.docs-mobile-actions svg,
.docs-sidebar-head svg {
  width: 19px;
  height: 19px;
}

.docs-sidebar {
  position: fixed;
  z-index: 300;
  top: var(--docs-header-height);
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  width: var(--docs-sidebar-width);
  padding: 28px 14px 18px;
  overflow-y: auto;
  border-right: 1px solid var(--docs-line);
  background: var(--docs-paper);
}

.docs-sidebar-head {
  display: none;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  margin-bottom: 8px;
  padding: 0 4px;
}

.docs-sidebar-head span {
  font-size: 16px;
  font-weight: 800;
}

.docs-sidebar nav {
  display: grid;
  gap: 26px;
}

.docs-nav-group {
  display: grid;
  gap: 3px;
}

.docs-nav-group > strong {
  margin: 0 10px 7px;
  color: var(--docs-muted-soft);
  font-family: var(--docs-mono);
  font-size: 10px;
  font-weight: 650;
  text-transform: uppercase;
}

.docs-nav-group a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 8px 11px;
  border-radius: 6px;
  color: #50574e;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
  transition: color 160ms var(--docs-ease), background-color 160ms var(--docs-ease);
}

.docs-nav-group a::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: -16px;
  width: 3px;
  background: transparent;
}

.docs-nav-group a:hover {
  color: var(--docs-ink);
  background: rgba(255, 255, 255, 0.82);
}

.docs-nav-group a[aria-current="location"] {
  color: var(--docs-ink);
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(43, 54, 39, 0.05);
}

.docs-nav-group a[aria-current="location"]::before {
  background: var(--docs-acid);
}

.docs-nav-group svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  stroke-width: 1.7;
}

.docs-sidebar-support {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding: 18px 12px 4px;
  border-top: 1px solid var(--docs-line);
}

.docs-sidebar-support span {
  color: var(--docs-muted);
  font-size: 12px;
}

.docs-sidebar-support a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--docs-ink);
  font-size: 13px;
  font-weight: 800;
}

.docs-sidebar-support svg {
  width: 15px;
  height: 15px;
}

.docs-drawer-backdrop {
  position: fixed;
  z-index: 290;
  inset: var(--docs-header-height) 0 0;
  display: none;
  background: rgba(23, 25, 21, 0.5);
}

.docs-main {
  min-height: 100vh;
  margin-left: var(--docs-sidebar-width);
  padding-top: var(--docs-header-height);
  background: #ffffff;
}

.docs-reading {
  display: grid;
  grid-template-columns: minmax(0, 790px) 184px;
  gap: 64px;
  width: min(1080px, calc(100% - 72px));
  margin: 0 auto;
}

.docs-article {
  min-width: 0;
}

.docs-intro {
  padding: 70px 0 64px;
  scroll-margin-top: 88px;
  border-bottom: 1px solid var(--docs-line);
}

.docs-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 38px;
  color: var(--docs-muted);
  font-size: 12px;
}

.docs-breadcrumb a:hover {
  color: var(--docs-ink);
}

.docs-breadcrumb svg {
  width: 14px;
  height: 14px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #647d22;
  font-family: var(--docs-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.docs-intro h1 {
  max-width: 720px;
  margin: 0;
  color: var(--docs-ink);
  font-size: 48px;
  font-weight: 790;
  line-height: 1.12;
}

.docs-intro-lead {
  max-width: 700px;
  margin: 26px 0 0;
  color: #4f574d;
  font-size: 17px;
  line-height: 1.82;
}

.docs-version-line {
  justify-content: space-between;
  gap: 18px;
  margin-top: 30px;
  padding: 14px 16px;
  border-top: 1px solid var(--docs-line);
  border-bottom: 1px solid var(--docs-line);
  border-radius: 6px;
  background: var(--docs-paper);
}

.docs-version-line span,
.docs-version-line a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 720;
}

.docs-version-line span {
  color: var(--docs-muted);
}

.docs-version-line a {
  color: var(--docs-ink);
}

.docs-version-line svg {
  width: 15px;
  height: 15px;
}

.docs-version-line span svg {
  color: #769d15;
}

.docs-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.docs-path {
  position: relative;
  display: flex;
  min-height: 236px;
  flex-direction: column;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--docs-line);
  border-radius: var(--docs-radius);
  transition: transform 220ms var(--docs-ease), border-color 220ms var(--docs-ease);
}

.docs-path:hover {
  transform: translateY(-3px);
  border-color: var(--docs-ink);
}

.docs-path-plugin {
  background: #f5f9ea;
}

.docs-path-desktop {
  background: #f2f5fa;
}

.docs-path > span,
.docs-path em {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-style: normal;
  font-weight: 760;
}

.docs-path > span svg,
.docs-path em svg {
  width: 17px;
  height: 17px;
}

.docs-path strong {
  display: block;
  margin-top: 26px;
  font-size: 24px;
  line-height: 1.25;
}

.docs-path p {
  margin: 10px 0 22px;
  color: #545d51;
  font-size: 14px;
  line-height: 1.65;
}

.docs-path em {
  margin-top: auto;
}

.docs-intro-actions {
  gap: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.docs-button {
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--docs-line-strong);
  border-radius: 6px;
  color: var(--docs-ink);
  background: var(--docs-white);
  font-size: 13px;
  font-weight: 780;
  line-height: 1.2;
  transition: color 160ms var(--docs-ease), background-color 160ms var(--docs-ease), border-color 160ms var(--docs-ease);
}

.docs-button:hover {
  border-color: var(--docs-ink);
}

.docs-button-primary {
  border-color: var(--docs-ink);
  color: var(--docs-white);
  background: var(--docs-ink);
}

.docs-button-primary:hover {
  border-color: var(--docs-orange);
  background: var(--docs-orange);
}

.docs-button svg {
  width: 17px;
  height: 17px;
}

.docs-mobile-toc {
  display: none;
  margin: 28px 0 0;
  border: 1px solid var(--docs-line);
  border-radius: var(--docs-radius);
  background: var(--docs-paper);
}

.docs-mobile-toc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 14px;
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 760;
}

.docs-mobile-toc summary::-webkit-details-marker {
  display: none;
}

.docs-mobile-toc summary span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.docs-mobile-toc summary svg {
  width: 16px;
  height: 16px;
}

.docs-mobile-toc[open] summary > svg {
  transform: rotate(180deg);
}

.docs-mobile-toc nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 8px;
  border-top: 1px solid var(--docs-line);
}

.docs-mobile-toc nav a {
  min-height: 36px;
  padding: 9px 10px;
  border-radius: 4px;
  color: var(--docs-muted);
  font-size: 12px;
  font-weight: 650;
}

.docs-mobile-toc nav a:hover {
  color: var(--docs-ink);
  background: var(--docs-white);
}

.doc-section {
  min-width: 0;
  padding: 70px 0;
  scroll-margin-top: 80px;
  border-bottom: 1px solid var(--docs-line);
}

.doc-section h2 {
  max-width: 720px;
  margin: 0;
  color: var(--docs-ink);
  font-size: 32px;
  font-weight: 790;
  line-height: 1.24;
}

.doc-section > p:not(.eyebrow) {
  max-width: 720px;
  margin: 20px 0 0;
  color: #50584e;
  font-size: 16px;
  line-height: 1.86;
}

.doc-callout,
.doc-note {
  display: grid;
  gap: 8px;
  margin-top: 26px;
  padding: 20px 22px;
  border-left: 3px solid var(--docs-acid);
  border-radius: 0 6px 6px 0;
  background: var(--docs-paper);
}

.doc-callout strong,
.doc-note strong {
  color: var(--docs-ink);
  font-size: 13px;
  font-weight: 820;
}

.doc-callout span,
.doc-note span {
  color: #3f473d;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.68;
}

.doc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 26px;
}

.doc-feature {
  min-height: 154px;
  padding: 22px;
  border: 1px solid var(--docs-line);
  border-radius: var(--docs-radius);
  background: #fafbf9;
  transition: border-color 180ms var(--docs-ease), background-color 180ms var(--docs-ease);
}

.doc-feature:hover {
  border-color: var(--docs-line-strong);
  background: var(--docs-white);
}

.doc-feature strong {
  display: block;
  color: var(--docs-ink);
  font-size: 16px;
  line-height: 1.4;
}

.doc-feature p {
  margin: 9px 0 0;
  color: var(--docs-muted);
  font-size: 14px;
  line-height: 1.7;
}

.doc-principles {
  display: grid;
  gap: 0;
  margin-top: 24px;
  border-top: 1px solid var(--docs-line);
}

.doc-principles div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--docs-line);
}

.doc-principles strong {
  color: var(--docs-ink);
  font-size: 15px;
  line-height: 1.5;
}

.doc-principles p {
  margin: 0;
  color: var(--docs-muted);
  font-size: 14px;
  line-height: 1.72;
}

.docs-product-legend {
  gap: 8px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.docs-product-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--docs-line);
  border-radius: 4px;
  color: var(--docs-muted);
  background: var(--docs-paper);
  font-size: 11px;
  font-weight: 720;
}

.docs-product-legend .is-plugin {
  color: #536d12;
  background: var(--docs-acid-soft);
}

.docs-product-legend .is-desktop {
  color: #49638f;
  background: var(--docs-blue-soft);
}

.docs-product-legend svg {
  width: 15px;
  height: 15px;
}

.docs-table-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 26px;
  overflow-x: auto;
  border: 1px solid var(--docs-line-strong);
  border-radius: var(--docs-radius);
  background: var(--docs-white);
}

.docs-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  color: #50584e;
  font-size: 13px;
}

.docs-table th,
.docs-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--docs-line);
  text-align: left;
  vertical-align: top;
  line-height: 1.65;
}

.docs-table th {
  color: var(--docs-ink);
  background: #f5f7f3;
  font-family: var(--docs-mono);
  font-size: 10px;
  font-weight: 760;
}

.docs-table td:first-child {
  width: 166px;
  color: var(--docs-ink);
  font-weight: 820;
}

.surface-tag {
  display: block;
  width: max-content;
  margin-bottom: 7px;
  padding: 3px 6px;
  border: 1px solid var(--docs-line);
  border-radius: 3px;
  color: var(--docs-muted);
  background: var(--docs-paper);
  font-family: var(--docs-mono);
  font-size: 8px;
  font-weight: 720;
  line-height: 1.2;
}

.surface-tag.is-plugin {
  color: #536d12;
  background: var(--docs-acid-soft);
}

.surface-tag.is-desktop {
  color: #49638f;
  background: var(--docs-blue-soft);
}

.surface-tag.is-entry {
  color: var(--docs-ink-soft);
  background: #ecefe9;
}

.surface-tag.is-platform {
  color: #9a4b37;
  background: #fff1ec;
}

.docs-table tr:last-child td {
  border-bottom: 0;
}

.docs-table tbody tr:hover {
  background: #fafbf8;
}

.doc-process {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.doc-process div {
  min-height: 196px;
  padding: 20px;
  border: 1px solid var(--docs-line);
  border-radius: var(--docs-radius);
  background: var(--docs-paper);
}

.doc-process span {
  display: grid;
  width: 34px;
  height: 28px;
  place-items: center;
  color: var(--docs-ink);
  background: var(--docs-acid);
  font-family: var(--docs-mono);
  font-size: 10px;
  font-weight: 760;
}

.doc-process strong {
  display: block;
  margin-top: 18px;
  color: var(--docs-ink);
  font-size: 16px;
  line-height: 1.4;
}

.doc-process p {
  margin: 9px 0 0;
  color: var(--docs-muted);
  font-size: 14px;
  line-height: 1.7;
}

.doc-cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 56px 0 68px;
  padding: 26px;
  border: 1px solid var(--docs-ink);
  border-radius: var(--docs-radius);
  background: var(--docs-ink);
}

.doc-cta-strip strong,
.doc-cta-strip span {
  display: block;
}

.doc-cta-strip strong {
  color: var(--docs-white);
  font-size: 20px;
  line-height: 1.3;
}

.doc-cta-strip span {
  margin-top: 7px;
  color: #bec4b9;
  font-size: 13px;
  line-height: 1.65;
}

.doc-cta-strip .docs-button-primary {
  flex: 0 0 auto;
  border-color: var(--docs-acid);
  color: var(--docs-ink);
  background: var(--docs-acid);
}

.docs-on-page {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 16px;
  border: 1px solid var(--docs-line);
  border-radius: 6px;
  background: var(--docs-paper);
}

.docs-on-page > strong {
  color: var(--docs-ink);
  font-size: 12px;
  font-weight: 800;
}

.docs-on-page nav {
  display: grid;
  gap: 1px;
  margin-top: 12px;
}

.docs-on-page nav a {
  padding: 5px 0;
  color: var(--docs-muted);
  font-size: 11px;
  font-weight: 620;
  line-height: 1.45;
  transition: color 160ms var(--docs-ease), transform 160ms var(--docs-ease);
}

.docs-on-page nav a:hover,
.docs-on-page nav a[aria-current="location"] {
  color: var(--docs-ink);
  transform: translateX(3px);
}

.docs-on-page nav a[aria-current="location"] {
  font-weight: 780;
}

.docs-on-page-update {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--docs-line);
  color: var(--docs-muted);
  font-size: 11px;
  font-weight: 700;
}

.docs-on-page-update svg {
  width: 14px;
  height: 14px;
}

.docs-footer {
  margin-left: var(--docs-sidebar-width);
  padding: 32px max(32px, calc((100% - 1080px) / 2));
  border-top: 1px solid var(--docs-line);
  background: var(--docs-paper);
}

.docs-footer > div {
  justify-content: space-between;
  gap: 30px;
}

.docs-footer-brand {
  gap: 9px;
}

.docs-footer-brand img {
  width: 30px;
  height: 30px;
}

.docs-footer-brand strong {
  font-size: 12px;
  line-height: 1;
}

.docs-footer-brand small {
  color: var(--docs-muted);
  font-size: 9px;
  line-height: 1;
}

.docs-footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.docs-footer nav a {
  color: var(--docs-muted);
  font-size: 11px;
  font-weight: 680;
}

.docs-footer nav a:hover {
  color: var(--docs-ink);
}

.docs-footer > p {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--docs-line);
  color: var(--docs-muted-soft);
  font-size: 10px;
  line-height: 1.65;
}

.docs-search-layer {
  position: fixed;
  z-index: 600;
  inset: 0;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 10vh 20px 20px;
}

.docs-search-layer.is-open {
  display: flex;
}

.docs-search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 25, 21, 0.62);
  backdrop-filter: blur(5px);
  cursor: default;
}

.docs-search-panel {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  max-height: min(680px, 80vh);
  overflow: hidden;
  border: 1px solid var(--docs-line-strong);
  border-radius: var(--docs-radius);
  background: var(--docs-white);
  box-shadow: 0 30px 90px rgba(23, 25, 21, 0.24);
}

.docs-search-panel > header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 12px 0 18px;
  border-bottom: 1px solid var(--docs-line);
}

.docs-search-panel > header > svg {
  width: 19px;
  height: 19px;
  color: var(--docs-muted);
}

.docs-search-panel input {
  width: 100%;
  height: 56px;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--docs-ink);
  background: transparent;
  font-size: 16px;
}

.docs-search-panel input::placeholder {
  color: var(--docs-muted-soft);
}

.docs-search-panel input::-webkit-search-cancel-button {
  display: none;
}

.docs-search-panel header button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--docs-line);
  background: var(--docs-paper);
  cursor: pointer;
}

.docs-search-panel header button svg {
  width: 17px;
  height: 17px;
}

.docs-search-results {
  max-height: min(600px, calc(80vh - 60px));
  padding: 10px;
  overflow-y: auto;
}

.docs-search-empty {
  display: grid;
  min-height: 150px;
  place-items: center;
  padding: 30px;
  color: var(--docs-muted);
  font-size: 13px;
  text-align: center;
}

.docs-search-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 13px 14px;
  border-radius: 4px;
  transition: background-color 160ms var(--docs-ease);
}

.docs-search-result:hover {
  background: var(--docs-paper);
}

.docs-search-result strong,
.docs-search-result span {
  display: block;
}

.docs-search-result strong {
  color: var(--docs-ink);
  font-size: 14px;
}

.docs-search-result span {
  margin-top: 5px;
  overflow: hidden;
  color: var(--docs-muted);
  font-size: 12px;
  line-height: 1.55;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.docs-search-result svg {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--docs-muted-soft);
}

@media (max-width: 1360px) {
  .docs-reading {
    grid-template-columns: minmax(0, 790px);
    width: min(790px, calc(100% - 64px));
  }

  .docs-on-page {
    display: none;
  }

  .docs-mobile-toc {
    display: block;
  }
}

@media (max-width: 1120px) {
  .docs-topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
  }

  .docs-search-trigger,
  .docs-topbar-links {
    display: none;
  }

  .docs-mobile-actions {
    display: flex;
  }

  .docs-sidebar {
    z-index: 320;
    width: min(320px, calc(100vw - 44px));
    transform: translateX(-102%);
    transition: transform 260ms var(--docs-ease);
  }

  .docs-sidebar-head {
    display: flex;
  }

  .docs-nav-open .docs-sidebar {
    transform: translateX(0);
  }

  .docs-nav-open .docs-drawer-backdrop {
    display: block;
  }

  .docs-main,
  .docs-footer {
    margin-left: 0;
  }

  .docs-reading {
    width: min(790px, calc(100% - 48px));
  }
}

@media (max-width: 720px) {
  .docs-topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 0 16px;
  }

  .docs-search-trigger {
    display: none;
  }

  .docs-topbar-brand {
    min-width: 0;
  }

  .docs-brand strong {
    font-size: 13px;
  }

  .docs-product-name {
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
  }

  .docs-reading {
    width: min(100% - 36px, 680px);
  }

  .docs-intro {
    padding: 42px 0 48px;
  }

  .docs-breadcrumb {
    margin-bottom: 24px;
  }

  .docs-intro h1 {
    font-size: 36px;
    line-height: 1.12;
  }

  .docs-intro-lead {
    font-size: 16px;
    line-height: 1.72;
  }

  .docs-version-line {
    align-items: flex-start;
    flex-direction: column;
  }

  .docs-paths,
  .doc-grid,
  .doc-process {
    grid-template-columns: 1fr;
  }

  .docs-path {
    min-height: 220px;
  }

  .docs-mobile-toc nav {
    grid-template-columns: 1fr;
  }

  .doc-section {
    padding: 46px 0;
  }

  .doc-section h2 {
    font-size: 28px;
  }

  .doc-section > p:not(.eyebrow) {
    font-size: 15px;
  }

  .doc-principles div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .doc-feature {
    min-height: 0;
  }

  .docs-table-wrap {
    overflow: visible;
  }

  .docs-table,
  .docs-table tbody,
  .docs-table tr,
  .docs-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .docs-table thead {
    display: none;
  }

  .docs-table tr {
    padding: 18px;
    border-bottom: 1px solid var(--docs-line);
  }

  .docs-table tr:last-child {
    border-bottom: 0;
  }

  .docs-table td,
  .docs-table td:first-child {
    width: 100%;
    padding: 0;
    border: 0;
  }

  .docs-table td:first-child {
    font-size: 15px;
    line-height: 1.5;
  }

  .docs-table td:nth-child(2),
  .docs-table td:nth-child(3) {
    margin-top: 14px;
  }

  .docs-table td:nth-child(2)::before,
  .docs-table td:nth-child(3)::before {
    display: block;
    margin-bottom: 5px;
    color: var(--docs-muted-soft);
    font-family: var(--docs-mono);
    font-size: 9px;
    font-weight: 720;
  }

  .docs-table td:nth-child(2)::before {
    content: "主要能力";
  }

  .docs-table td:nth-child(3)::before {
    content: "业务价值";
  }

  .doc-process div {
    min-height: 0;
  }

  .doc-cta-strip {
    align-items: flex-start;
    flex-direction: column;
    margin: 44px 0 52px;
    padding: 22px;
  }

  .doc-cta-strip .docs-button {
    width: 100%;
  }

  .docs-footer {
    padding: 24px 18px;
  }

  .docs-footer > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .docs-footer nav {
    justify-content: flex-start;
    gap: 14px 18px;
  }

  .docs-search-layer {
    padding: 12px;
  }

  .docs-search-panel {
    max-height: calc(100svh - 24px);
  }

  .docs-search-results {
    max-height: calc(100svh - 84px);
  }
}

@media (max-width: 420px) {
  .docs-topbar-brand > i,
  .docs-product-name {
    display: none;
  }

  .docs-brand img {
    width: 36px;
    height: 36px;
  }

  .docs-intro h1 {
    font-size: 34px;
  }

  .docs-intro-actions .docs-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
