:root {
  --baton-accent: #397d63;
  --baton-ink: #293039;
  --baton-line: #e0e3e7;
  --baton-summary-bg: #f6f7f8;
  --baton-table-header-bg: #eef0f2;
  --pst-header-height: 72px;
  --pst-font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  --pst-font-family-heading: var(--pst-font-family-base);
}
html[data-theme="light"] {
  --pst-color-primary: #397d63;
  --pst-color-secondary: #397d63;
  --pst-color-link: #397d63;
  --pst-color-link-hover: #24543f;
  --pst-color-text-base: #293039;
  --pst-color-text-muted: #66707a;
  --pst-color-border: #e0e3e7;
  --pst-color-on-background: #f6f7f8;
}

html[data-theme="dark"] {
  --baton-accent: #9ac7b2;
  --baton-ink: #e7e9ec;
  --baton-line: #363b42;
  --baton-summary-bg: #1c1f23;
  --baton-table-header-bg: #252a30;
  --pst-color-primary: #9ac7b2;
  --pst-color-secondary: #9ac7b2;
  --pst-color-link: #9ac7b2;
  --pst-color-link-hover: #bedbce;
  --pst-color-text-base: #e7e9ec;
  --pst-color-text-muted: #a3aab3;
  --pst-color-border: #363b42;
  --pst-color-on-background: #1c1f23;
}
body { font-family: var(--pst-font-family-base); }
.neo-header { background: var(--pst-color-background); border-bottom: 1px solid var(--baton-line); box-shadow: none; }
.neo-header-inner { width: 100%; max-width: 1480px; margin: auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.neo-brand { color: var(--pst-color-text-base); font-size: 23px; letter-spacing: -.6px; text-decoration: none; white-space: nowrap; }
.neo-brand strong { color: var(--baton-accent); font-weight: 650; }
.neo-navigation { display: flex; align-items: center; gap: 28px; }
.neo-navigation a { color: var(--pst-color-text-muted); font-size: 14px; white-space: nowrap; text-decoration: none; padding: 8px 0; }
.neo-navigation a:hover, .neo-navigation a[aria-current] { color: var(--baton-accent); }
.neo-navigation a[aria-current] { border-bottom: 2px solid var(--baton-accent); font-weight: 600; }
.neo-navigation .neo-search-link { padding: 6px 15px; border: 1px solid var(--baton-line); border-radius: 20px; }
.neo-header a:focus-visible { outline: 2px solid var(--baton-accent); outline-offset: 4px; }
.bd-article h1 { font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 650; letter-spacing: -.035em; margin-bottom: 1.5rem; }
.bd-article h2 { font-size: 1.55rem; font-weight: 600; }
.bd-article h3 { font-size: 1.2rem; font-weight: 600; }
.bd-main .bd-content .bd-article-container .bd-article :target > :is(h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5) {
  background-color: transparent;
}
.bd-sidebar-primary { border-right-color: var(--baton-line); }
.bd-sidebar-primary .navbar-brand { font-size: 1rem; }
.bd-article .admonition { box-shadow: none; }
@media (max-width: 650px) {
  :root { --pst-header-height: 108px; }
  .neo-header-inner { flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px 16px; }
  .neo-brand { font-size: 21px; }
  .neo-navigation { gap: 19px; width: 100%; }
  .neo-navigation a { font-size: 13px; }
  .neo-navigation .neo-search-link { padding: 5px 10px; margin-left: auto; }
}

.bd-article p,
.bd-article li {
  line-height: 1.68;
}

.bd-article h2 {
  margin-top: 2.2rem;
  margin-bottom: 0.9rem;
  padding-left: 0.65rem;
  border-left: 3px solid var(--baton-accent);
}

.bd-article .admonition {
  border-radius: 6px;
  margin: 1.25rem 0;
}

.bd-article .page-summary {
  overflow-wrap: anywhere;
  background: var(--baton-summary-bg);
  border: 1px solid var(--pst-color-border, var(--baton-line));
  border-left: 4px solid var(--baton-accent);
  box-shadow: none;
}

.bd-article .page-summary > .admonition-title {
  padding-left: 0.6rem;
  color: var(--pst-color-text-base, var(--baton-ink));
  background: transparent;
  font-weight: 700;
}

.bd-article .page-summary > .admonition-title::before,
.bd-article .page-summary > .admonition-title::after {
  display: none !important;
  content: none !important;
}

.documentation-entry-grid,
.documentation-index {
  width: 100%;
}

.documentation-entry-grid td {
  width: 33.333%;
  padding: 1rem !important;
  vertical-align: top !important;
  border-top: 3px solid var(--baton-accent) !important;
  background: var(--pst-color-on-background, #fff);
}

.documentation-index th {
  color: var(--pst-color-text-base);
  background: var(--baton-table-header-bg);
}

.documentation-index td,
.documentation-index th {
  white-space: normal !important;
  overflow-wrap: anywhere;
  vertical-align: middle !important;
}

@media (max-width: 767px) {
  .documentation-entry-grid,
  .documentation-entry-grid tbody,
  .documentation-entry-grid tr,
  .documentation-entry-grid td {
    display: block;
    width: 100%;
  }

  .documentation-entry-grid td + td {
    margin-top: 0.75rem;
  }
}

.neo-brand{display:inline-flex;align-items:center;gap:7px}.neo-brand .neo-mark{width:30px;height:30px;flex-shrink:0;color:var(--baton-accent)}@media(max-width:600px){.neo-brand .neo-mark{width:25px;height:25px}}

.installation-shells {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 20px;
  margin: 24px 0;
}
.installation-shells figure {
  min-width: 0;
  margin: 0;
}
.installation-map {
  display: grid;
  grid-template-columns: minmax(100px, .8fr) minmax(0, 3.2fr);
  align-items: center;
  gap: 24px;
  margin: 28px 0 18px;
}
.installation-hub {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.installation-hub img {
  width: 100%;
  max-width: 180px;
  border-radius: 10px;
}
.installation-hub::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -24px;
  width: 24px;
  border-top: 1px solid var(--baton-line);
}
.installation-branches {
  display: grid;
  gap: 22px;
  border-left: 1px solid var(--baton-line);
  padding-left: 20px;
}
.installation-path {
  position: relative;
  display: grid;
  grid-template-columns: minmax(80px, .65fr) 18px minmax(0, 2.4fr);
  align-items: center;
  gap: 8px;
}
.installation-path::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -21px;
  width: 15px;
  border-top: 1px solid var(--baton-line);
}
.installation-interface,
.installation-targets a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  font-size: 14px;
  line-height: 1.6;
}
.installation-interface span,
.installation-targets span {
  font-size: 12px;
  color: var(--pst-color-text-muted);
}
.installation-arrow {
  color: var(--baton-accent);
}
.installation-targets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.installation-targets a {
  gap: 8px;
  padding: 14px 10px;
  border: 1px solid var(--baton-line);
  border-radius: 10px;
  color: var(--pst-color-text-base);
  text-decoration: none;
}
.installation-targets b {
  padding-top: 4px;
  margin-top: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--baton-accent);
}
.installation-targets a:hover {
  border-color: var(--baton-accent);
}
.installation-targets a:focus-visible {
  outline: 2px solid var(--baton-accent);
  outline-offset: 3px;
}
@media (max-width: 767px) {
  .installation-map,
  .installation-path {
    grid-template-columns: minmax(0, 1fr);
  }
  .installation-hub {
    max-width: 160px;
    margin: auto;
  }
  .installation-branches {
    border: 0;
    padding: 0;
  }
  .installation-hub::after,
  .installation-path::before,
  .installation-arrow {
    display: none;
  }
}
@media (max-width: 400px) {
  .installation-targets {
    grid-template-columns: minmax(0, 1fr);
  }
}

.bd-article figure.product-scale-photo {
  max-width: 560px;
  margin: 24px auto;
}
.bd-article .product-scale-photo img {
  width: 100%;
  border-radius: 10px;
}
.bd-article .product-scale-photo figcaption {
  font-size: 13px;
  color: var(--pst-color-text-muted);
}

.bd-article .product-photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 20px;
  margin: 20px 0;
}
.bd-article .product-photos figure {
  min-width: 0;
  margin: 0;
}
.bd-article .product-photos img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 10px;
}

.bd-article .product-footnote {
  margin: 8px 0 20px;
  color: var(--pst-color-text-muted);
  font-size: 13px;
}
.bd-article .product-footnote p {
  margin: 0 0 8px;
  line-height: 1.65;
}

.computer-connection {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(90px, .7fr) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  margin: 20px 0 32px;
  border-bottom: 1px solid var(--baton-line);
}
.computer-device,
.computer-screen,
.computer-cable {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-align: center;
  font-size: 14px;
}
.computer-device img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 10px;
}
.computer-screen svg {
  width: 100%;
  max-width: 220px;
  height: auto;
  color: var(--baton-accent);
}
.computer-cable {
  gap: 8px;
  color: var(--pst-color-text-muted);
  font-size: 13px;
}
.computer-cable i {
  width: 100%;
  border-top: 2px solid var(--baton-line);
}
.computer-cable small { font-size: 12px; }
.bd-article .computer-step {
  padding-left: 18px;
  border-left: 2px solid var(--baton-line);
  margin: 28px 0 18px;
}
.bd-article .computer-step .rubric {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
}
.computer-help {
  margin: 12px 0;
  padding: 14px 18px;
  border: 1px solid var(--baton-line);
  border-radius: 10px;
  font-size: 14px;
}
.computer-help > summary {
  cursor: pointer;
  font-weight: 600;
  line-height: 1.65;
}
.computer-help > summary:focus-visible {
  outline: 2px solid var(--baton-accent);
  outline-offset: 4px;
}
.computer-help[open] > summary { margin-bottom: 18px; }
.computer-help > :last-child { margin-bottom: 0; }
.bd-article .computer-driver-stages .rubric {
  margin: 20px 0 8px;
  font-size: 15px;
  color: var(--baton-accent);
}
.computer-success {
  padding: 12px 0;
  margin: 12px 0;
}
.computer-success strong { color: var(--baton-accent); }
.device-entry {
  margin: 20px 0 32px;
  padding: 22px 24px 16px;
  border: 1px solid var(--baton-line);
  border-radius: 12px;
  background: var(--baton-summary-bg);
}
.device-entry-label { display: block; font-size: 13px; color: var(--pst-color-text-muted); }
.bd-article a.device-entry-address {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0 20px;
  font-size: clamp(18px, 3vw, 26px);
  font-weight: 600;
  letter-spacing: -.4px;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.bd-article a.device-entry-address:hover span:first-child { text-decoration: underline; text-underline-offset: 5px; }
.device-entry-arrow { font-size: 24px; flex-shrink: 0; }
.device-entry-help { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-top: 13px; border-top: 1px solid var(--baton-line); font-size: 13px; }
.device-entry-help > span { color: var(--pst-color-text-muted); }
@media (max-width: 600px) { .device-entry { padding: 18px 16px 14px; } }
.web-page-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 24px; }
.bd-article figure.web-page-overview { margin: 24px 0 36px; }
.web-page-overview a.image-reference { display: block; cursor: zoom-in; }
.bd-article .web-page-overview img { width: 100%; border: 1px solid var(--baton-line); border-radius: 12px; }
.bd-article .web-page-overview figcaption { font-size: 13px; color: var(--pst-color-text-muted); }
.web-page-card { min-width: 0; border: 1px solid var(--baton-line); border-radius: 12px; overflow: hidden; }
.web-page-card .page-preview { display: block; cursor: zoom-in; border-bottom: 1px solid var(--baton-line); }
.bd-article .web-page-card img { display: block; width: 100%; height: auto; }
.web-page-card-body { padding: 16px 18px; }
.bd-article .web-page-card h3 { margin: 0 0 8px; font-size: 17px; }
.web-page-card h3 a { display: flex; justify-content: space-between; gap: 10px; text-decoration: none; }
.web-page-card h3 a:hover { text-decoration: underline; }
.bd-article .web-page-card p { margin: 0; font-size: 14px; color: var(--pst-color-text-muted); }
.bd-article figure.web-overview-figure { margin: 24px 0 18px; }
.bd-article .web-overview-figure img {
  width: 100%;
  border: 1px solid var(--baton-line);
  border-radius: 10px;
}
.bd-article .web-overview-figure figcaption {
  font-size: 13px;
  color: var(--pst-color-text-muted);
}
.web-overview-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  margin: 18px 0 28px;
}
.bd-article .web-overview-details figure { margin: 0; min-width: 0; }
.bd-article .web-overview-details img {
  width: 100%;
  border: 1px solid var(--baton-line);
  border-radius: 10px;
}
.bd-article .web-overview-details figcaption { margin-top: 10px; font-size: 14px; }
.web-overview-figure a, .web-overview-details a { cursor: zoom-in; }
.docs-image-viewer {
  width: 96vw;
  max-width: 1600px;
  height: 94vh;
  height: 94dvh;
  max-height: 94dvh;
  padding: 0;
  border: 1px solid var(--baton-line);
  border-radius: 12px;
  background: var(--pst-color-background);
  color: var(--pst-color-text-base);
  overflow: hidden;
}
.docs-image-viewer[open] { display: flex; flex-direction: column; }
.docs-image-viewer::backdrop { background: rgb(0 0 0 / 65%); }
.docs-image-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-bottom: 1px solid var(--baton-line);
  flex-shrink: 0;
}
.docs-image-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 14px;
}
.docs-image-toolbar button {
  flex-shrink: 0;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--baton-line);
  border-radius: 6px;
  background: var(--pst-color-background);
  color: var(--pst-color-text-base);
  font: inherit;
  cursor: pointer;
}
.docs-image-toolbar button:focus-visible, .docs-image-stage:focus-visible {
  outline: 2px solid var(--baton-accent);
  outline-offset: -3px;
}
.docs-image-stage { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; }
.docs-image-stage img { display: block; width: 100%; height: 100%; object-fit: contain; }
.is-original .docs-image-stage img { width: auto; height: auto; max-width: none; max-height: none; }
@media (max-width: 600px) {
  .web-overview-details { grid-template-columns: minmax(0, 1fr); }
  .docs-image-title { display: none; }
  .docs-image-toolbar { justify-content: flex-end; }
}
.bd-article figure.tf-insertion-figure {
  max-width: 660px;
  margin: 24px auto;
}
.bd-article .tf-insertion-figure img { width: 100%; }
.bd-article .tf-insertion-figure figcaption {
  font-size: 13px;
  color: var(--pst-color-text-muted);
}
.bd-article figure.serial-connection-figure {
  max-width: 440px;
  margin: 24px auto;
}
.bd-article .serial-connection-figure img { width: 100%; }
.bd-article .serial-connection-figure figcaption {
  font-size: 13px;
  color: var(--pst-color-text-muted);
}
.computer-screen.phone-screen svg {
  max-width: 140px;
  max-height: 170px;
}
@media (max-width: 480px) {
  .computer-connection {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .computer-device img { max-width: 160px; }
  .computer-screen svg { max-width: 190px; }
  .computer-cable {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
  .computer-cable i {
    width: 24px;
    transform: rotate(90deg);
  }
  .computer-help { padding: 12px; }
}
