:root {
  color-scheme: light;
  --page: #f5f7fa;
  --surface: #ffffff;
  --surface-subtle: #eef2f7;
  --ink: #172033;
  --muted: #566177;
  --soft: #7b8496;
  --line: #d8dee8;
  --line-strong: #bcc5d3;
  --blue: #245eea;
  --blue-dark: #1946b8;
  --blue-soft: #e8efff;
  --teal: #087f74;
  --teal-soft: #e6f5f2;
  --orange: #b45309;
  --orange-soft: #fff4e5;
  --danger: #b42318;
  --code: #111827;
  --code-muted: #9aa7bb;
  --shadow: 0 12px 32px rgba(33, 45, 67, 0.08);
  --font-sans: "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;
  --font-mono: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

code,
pre {
  font-family: var(--font-mono);
}

code {
  font-size: 0.9em;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 9px 14px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--surface);
  font-weight: 700;
  text-decoration: none;
  transition: top 180ms ease;
}

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

:focus-visible {
  outline: 3px solid rgba(36, 94, 234, 0.42);
  outline-offset: 3px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: 24px;
  padding: 10px max(24px, calc((100vw - 1280px) / 2));
  border-bottom: 1px solid rgba(188, 197, 211, 0.86);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 10px rgba(35, 48, 71, 0.04);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 218px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 7px;
  background: var(--ink);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.brand-copy {
  display: grid;
  line-height: 1.25;
}

.brand-copy strong {
  font-size: 15px;
}

.brand-copy span {
  color: var(--muted);
  font-size: 12px;
}

.topbar-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.topbar-meta code {
  color: var(--muted);
  font-size: 12px;
}

.local-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 9px;
  border: 1px solid #9fd3c8;
  border-radius: 999px;
  background: var(--teal-soft);
  color: #075e56;
  font-size: 12px;
  font-weight: 700;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(8, 127, 116, 0.12);
}

.icon-button {
  display: inline-grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.icon-button:hover {
  border-color: var(--line-strong);
  background: var(--surface-subtle);
}

.icon-button svg {
  width: 20px;
  height: 20px;
}

.mobile-menu-button {
  display: none;
}

.page-grid {
  display: grid;
  width: min(1280px, 100%);
  grid-template-columns: 224px minmax(0, 920px);
  gap: 48px;
  margin: 0 auto;
  padding: 0 24px;
}

.sidebar {
  position: sticky;
  top: 94px;
  align-self: start;
  max-height: calc(100vh - 114px);
  padding: 22px 0 32px;
  overflow-y: auto;
}

.table-of-contents {
  display: grid;
  gap: 3px;
}

.toc-label {
  margin: 18px 0 5px;
  color: var(--soft);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.toc-label:first-child {
  margin-top: 0;
}

.table-of-contents a {
  padding: 7px 10px;
  border-left: 2px solid transparent;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.table-of-contents a:hover,
.table-of-contents a[aria-current="location"] {
  border-left-color: var(--blue);
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.sidebar-note {
  display: grid;
  gap: 5px;
  margin-top: 32px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
}

.sidebar-note-title {
  color: var(--ink);
  font-weight: 700;
}

.sidebar-note code {
  overflow-wrap: anywhere;
  color: var(--blue-dark);
}

main {
  min-width: 0;
  background: var(--surface);
  box-shadow: 0 0 0 1px rgba(216, 222, 232, 0.7);
}

.intro-section,
.doc-section,
.document-footer {
  padding-right: 54px;
  padding-left: 54px;
}

.intro-section {
  display: grid;
  min-height: 610px;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  align-items: center;
  gap: 46px;
  padding-top: 68px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue-dark);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  line-height: 1.22;
}

h1 {
  margin-bottom: 20px;
  font-size: 48px;
  font-weight: 760;
}

h2 {
  margin-bottom: 8px;
  font-size: 30px;
}

h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.primary-action {
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #ffffff;
}

.primary-action:hover {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
}

.primary-action svg {
  width: 16px;
  height: 16px;
}

.secondary-action {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
}

.secondary-action:hover {
  border-color: var(--blue);
  color: var(--blue-dark);
}

.intro-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.intro-facts div {
  min-width: 0;
}

.intro-facts dt {
  color: var(--soft);
  font-size: 11px;
  font-weight: 700;
}

.intro-facts dd {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.device-stage {
  position: relative;
  display: grid;
  gap: 12px;
  align-content: center;
}

.device-stage::before {
  position: absolute;
  inset: 34px -12px 34px 26px;
  border: 1px solid #cbd5e4;
  border-radius: 8px;
  background: #eef2f7;
  content: "";
}

.device-figure {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  margin: 0 0 0 40px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.device-figure-primary {
  margin: 0 34px 0 0;
}

.device-image-wrap {
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e1e5eb;
  border-radius: 6px;
  background: #fafbfc;
}

.device-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.device-figure figcaption {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.device-figure figcaption span {
  color: var(--soft);
  font-size: 12px;
}

.device-figure figcaption strong {
  font-size: 17px;
}

.doc-section {
  padding-top: 70px;
  padding-bottom: 72px;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 34px;
}

.section-heading > div > p:last-child {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
}

.section-index {
  margin: 5px 0 0;
  color: var(--line-strong);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 28px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
  list-style: none;
}

.step-grid li {
  min-height: 182px;
  padding: 24px;
  background: var(--surface);
}

.step-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.step-number {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid #a9bceb;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
}

.status-window {
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid #9ea9ba;
  border-radius: 8px;
  background: #1e293b;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.18);
  color: #eef3fb;
}

.status-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 17px;
  border-bottom: 1px solid #39465a;
  background: #263348;
}

.status-window-bar > div {
  display: flex;
  align-items: center;
  gap: 16px;
}

.window-title {
  font-weight: 750;
}

.ready-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #94e2d2;
  font-size: 12px;
  font-weight: 700;
}

.ready-state span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2dd4bf;
}

.window-device {
  color: #b9c5d6;
  font-family: var(--font-mono);
  font-size: 12px;
}

.status-window-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 17px;
}

.endpoint-block {
  display: grid;
  gap: 5px;
}

.endpoint-block span {
  color: #aebbd0;
  font-size: 12px;
}

.endpoint-block code {
  color: #ffffff;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.status-window-actions {
  display: flex;
  gap: 8px;
}

.status-window-actions span {
  padding: 7px 10px;
  border: 1px solid #59667a;
  border-radius: 5px;
  color: #dce6f4;
  font-size: 12px;
}

.status-window-actions span:first-child {
  border-color: #5d82dd;
  background: #2859c5;
  color: #ffffff;
}

.notice {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 13px;
  margin-top: 24px;
  padding: 17px 18px;
  border: 1px solid;
  border-radius: 7px;
}

.notice svg {
  width: 23px;
  height: 23px;
  margin-top: 1px;
}

.notice strong {
  display: block;
  margin-bottom: 3px;
}

.notice p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.notice-important {
  border-color: #efc789;
  background: var(--orange-soft);
  color: var(--orange);
}

.notice-token {
  margin: 0 0 26px;
  border-color: #b8c9f0;
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.config-grid {
  display: grid;
  gap: 18px;
}

.config-block {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.config-title-row {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 15px;
  border-bottom: 1px solid #29364a;
  background: var(--code);
  color: #ffffff;
}

.config-title-row h3 {
  margin: 1px 0 0;
  color: #ffffff;
  font-size: 14px;
}

.config-kicker {
  color: var(--code-muted);
  font-size: 11px;
}

.copy-button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid #536076;
  border-radius: 5px;
  background: #1f2a3d;
  color: #eef3fb;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.copy-button:hover {
  border-color: #8aaaf2;
  background: #293850;
}

.copy-button.is-copied {
  border-color: #56b8a9;
  background: #113e39;
  color: #b6f0e7;
}

.copy-button svg {
  width: 15px;
  height: 15px;
}

.config-block pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  background: var(--code);
  color: #dce6f4;
  font-size: 13px;
  line-height: 1.7;
}

.connection-check {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding: 17px 18px;
  border-left: 3px solid var(--teal);
  background: var(--teal-soft);
}

.connection-check > div {
  display: grid;
  gap: 3px;
}

.connection-check strong {
  font-size: 14px;
}

.check-label {
  color: #07675f;
  font-size: 11px;
  font-weight: 800;
}

.protocol-chip {
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid #93c9c0;
  border-radius: 5px;
  color: #075e56;
  font-family: var(--font-mono);
  font-size: 11px;
}

.tool-group + .tool-group {
  margin-top: 36px;
}

.tool-group-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 13px;
}

.tool-group-heading h3 {
  margin-bottom: 2px;
}

.tool-group-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.tool-accent {
  width: 7px;
  height: 34px;
  flex: 0 0 7px;
  border-radius: 3px;
}

.tool-accent-common { background: var(--ink); }
.tool-accent-01a { background: var(--blue); }
.tool-accent-s1 { background: var(--teal); }

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 7px;
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: var(--surface);
  text-align: left;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: var(--surface-subtle);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

td {
  color: var(--muted);
  font-size: 13px;
}

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

td:first-child {
  width: 40%;
}

td:nth-child(2) {
  width: 24%;
}

.tool-name {
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.prompt-list {
  display: grid;
  gap: 12px;
}

.prompt-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.prompt-item:hover {
  border-color: #b7c6e7;
  box-shadow: 0 8px 20px rgba(36, 94, 234, 0.07);
}

.prompt-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  grid-column: 1 / -1;
  align-items: center;
}

.prompt-meta span {
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
}

.prompt-meta code {
  color: var(--soft);
  font-size: 11px;
}

.prompt-item p {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
}

.copy-button-light {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--muted);
}

.copy-button-light:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.boundary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.boundary-grid article {
  min-height: 190px;
  padding: 23px;
  background: var(--surface);
}

.boundary-grid svg {
  width: 25px;
  height: 25px;
  margin-bottom: 22px;
  color: var(--blue-dark);
}

.boundary-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.safety-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid #efc789;
  border-radius: 7px;
  background: var(--orange-soft);
}

.safety-strip strong {
  flex: 0 0 auto;
  color: var(--orange);
}

.safety-strip span {
  color: var(--muted);
  font-size: 14px;
}

.troubleshooting-list {
  border-top: 1px solid var(--line);
}

.troubleshooting-list details {
  border-bottom: 1px solid var(--line);
}

.troubleshooting-list summary {
  position: relative;
  padding: 18px 42px 18px 2px;
  cursor: pointer;
  font-weight: 750;
  list-style: none;
}

.troubleshooting-list summary::-webkit-details-marker {
  display: none;
}

.troubleshooting-list summary::after {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 18px;
  height: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--muted);
  content: "+";
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 16px;
  text-align: center;
  transform: translateY(-50%);
}

.troubleshooting-list details[open] summary::after {
  content: "−";
}

.troubleshooting-list details p {
  max-width: 740px;
  margin: -2px 0 20px;
  padding-right: 42px;
  color: var(--muted);
  font-size: 14px;
}

.document-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  padding-bottom: 30px;
  color: var(--muted);
  font-size: 13px;
}

.document-footer > div {
  display: grid;
}

.document-footer strong {
  color: var(--ink);
}

.document-footer a {
  color: var(--blue-dark);
  font-weight: 700;
  text-decoration: none;
}

.copy-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  max-width: min(340px, calc(100vw - 40px));
  padding: 10px 14px;
  border: 1px solid #84b9b0;
  border-radius: 6px;
  background: #123e39;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.24);
  color: #d7fff8;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.copy-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.mobile-navigation {
  position: fixed;
  inset: 0;
  z-index: 70;
}

.mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(15, 23, 42, 0.52);
  cursor: pointer;
}

.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  width: min(330px, 88vw);
  height: 100%;
  align-content: start;
  padding: 18px;
  background: var(--surface);
  box-shadow: -18px 0 36px rgba(15, 23, 42, 0.18);
}

.mobile-nav-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.mobile-nav-panel > a {
  padding: 11px 8px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 650;
  text-decoration: none;
}

.mobile-nav-panel > a[aria-current="location"] {
  color: var(--blue-dark);
}

@media (max-width: 1040px) {
  .page-grid {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 28px;
  }

  .intro-section,
  .doc-section,
  .document-footer {
    padding-right: 38px;
    padding-left: 38px;
  }

  .intro-section {
    grid-template-columns: 1fr;
  }

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

  .device-stage::before {
    inset: 26px 16px -12px;
  }

  .device-figure,
  .device-figure-primary {
    grid-template-columns: 92px minmax(0, 1fr);
    margin: 0;
  }

  .device-image-wrap {
    width: 92px;
    height: 92px;
  }
}

@media (max-width: 820px) {
  .topbar {
    padding-right: 18px;
    padding-left: 18px;
  }

  .topbar-meta code,
  .sidebar {
    display: none;
  }

  .mobile-menu-button {
    display: inline-grid;
  }

  .page-grid {
    display: block;
    width: 100%;
    padding: 0;
  }

  main {
    box-shadow: none;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 76px;
  }

  body {
    font-size: 15px;
  }

  .topbar {
    min-height: 62px;
    gap: 10px;
  }

  .brand {
    min-width: 0;
    gap: 8px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-copy span,
  .local-badge {
    display: none;
  }

  .topbar-meta {
    margin-left: auto;
  }

  .intro-section,
  .doc-section,
  .document-footer {
    padding-right: 20px;
    padding-left: 20px;
  }

  .intro-section {
    min-height: auto;
    gap: 34px;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 26px;
  }

  .lead {
    font-size: 16px;
  }

  .intro-facts {
    grid-template-columns: 1fr 1fr;
  }

  .device-stage {
    grid-template-columns: 1fr;
  }

  .device-stage::before {
    inset: 22px 8px -10px 24px;
  }

  .device-figure,
  .device-figure-primary {
    grid-template-columns: 86px minmax(0, 1fr);
    margin-right: 18px;
  }

  .device-figure:nth-child(2) {
    margin-right: 0;
    margin-left: 18px;
  }

  .device-image-wrap {
    width: 86px;
    height: 86px;
  }

  .doc-section {
    padding-top: 52px;
    padding-bottom: 54px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 4px;
    margin-bottom: 26px;
  }

  .section-index {
    margin: 0;
  }

  .step-grid,
  .boundary-grid {
    grid-template-columns: 1fr;
  }

  .step-grid li,
  .boundary-grid article {
    min-height: auto;
  }

  .status-window-bar,
  .status-window-body,
  .config-title-row,
  .connection-check,
  .safety-strip,
  .document-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .status-window-bar > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .status-window-actions {
    width: 100%;
  }

  .status-window-actions span {
    flex: 1;
    text-align: center;
  }

  .config-title-row {
    display: flex;
  }

  .copy-button {
    max-width: 100%;
  }

  .config-block pre {
    padding: 17px;
    font-size: 12px;
  }

  .prompt-item {
    grid-template-columns: 1fr;
  }

  .prompt-item .copy-button {
    justify-self: start;
  }

  .protocol-chip {
    align-self: flex-start;
  }

  .troubleshooting-list details p {
    padding-right: 4px;
  }
}

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

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