:root {
  color-scheme: light dark;
  --paper: #f7fbfc;
  --surface: #fff;
  --ink: #15333e;
  --muted: #526b75;
  --line: #d9e6e9;
  --accent: #08798a;
  --accent-soft: #e6f6f6;
  --code: #edf4f6;
  --focus: #c05a12;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 1rem; line-height: 1.7; }
a { color: var(--accent); text-underline-offset: .2em; text-decoration-thickness: .07em; }
a:hover { text-decoration-thickness: .13em; }
a:focus-visible, pre:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; border-radius: 3px; }
.skip { position: absolute; left: 1rem; top: -6rem; padding: .6rem 1rem; z-index: 10; background: var(--surface); }
.skip:focus { top: 1rem; }
.site-header { max-width: 1216px; margin: 0 auto; padding: 1.4rem 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--ink); text-decoration: none; font-size: 1.05rem; font-weight: 750; letter-spacing: -.025em; white-space: nowrap; }
.brand img { width: 40px; height: 40px; }
.header-links { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 1.25rem; font-size: .85rem; }
/* Keep each label with its external-link arrow; whole links wrap instead (#1029). */
.header-links a { text-decoration: none; white-space: nowrap; }
.language { color: var(--muted); }
.layout { display: grid; grid-template-columns: 192px minmax(0, 760px); gap: 4.25rem; max-width: 1160px; padding: 3.75rem 2.5rem 5rem; margin: 0 auto; }
.rail {
  --rail-inset: 2rem;
  align-self: start;
  position: sticky;
  top: var(--rail-inset);
  max-height: calc(100vh - var(--rail-inset) * 2);
  max-height: calc(100dvh - var(--rail-inset) * 2);
  overflow-y: auto;
  font-size: .84rem;
  line-height: 1.45;
}
.rail-title { margin: .3rem 0 1rem; color: var(--muted); font-size: .68rem; font-weight: 750; text-transform: uppercase; letter-spacing: .14em; }
.rail-scroll-help { display: none; }
.rail ul { list-style: none; padding: 0; margin: 0; }
.rail a { display: block; border-left: 1px solid var(--line); padding: .45rem 0 .45rem 1rem; text-decoration: none; color: var(--muted); }
.rail a:hover, .rail a:focus-visible { color: var(--accent); border-left-color: var(--accent); }
.rail a:focus-visible { outline-offset: -3px; } /* Keep focus visible inside the scroll area. */
.rail .rail-divider { margin-top: .8rem; }
article { min-width: 0; }
.eyebrow { color: var(--accent); font-size: .73rem; text-transform: uppercase; letter-spacing: .13em; font-weight: 750; margin: 0 0 1rem; }
h1 { font-size: clamp(2.45rem, 5vw, 3.8rem); line-height: 1.08; letter-spacing: -.055em; font-weight: 750; max-width: 700px; margin: 0 0 1.4rem; }
.lede { max-width: 640px; color: var(--muted); font-size: 1.15rem; line-height: 1.65; margin: 0; }
.flow { display: flex; flex-wrap: wrap; list-style: none; padding: 0; gap: .6rem 1.5rem; margin: 1.7rem 0 2rem; font-size: .85rem; }
.flow li { display: flex; align-items: center; gap: .5rem; }
.flow .step-number { flex-shrink: 0; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; font-size: .7rem; font-weight: 750; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.endpoint { border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 8px; padding: 1.25rem 1.5rem; background: var(--surface); }
.endpoint-label { margin: 0 0 .3rem; color: var(--muted); font-size: .7rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.endpoint pre { background: transparent; padding: 0; margin: .4rem 0 .85rem; font-size: .94rem; }
.endpoint-meta { display: flex; flex-wrap: wrap; gap: .35rem 1.3rem; margin: 0; color: var(--muted); font-size: .79rem; }
.endpoint-meta span::before { content: ""; display: inline-block; width: .35rem; height: .35rem; margin-right: .4rem; margin-bottom: .1rem; border-radius: 50%; background: var(--accent); }
section { padding-top: 2.75rem; margin-top: 2.75rem; border-top: 1px solid var(--line); scroll-margin-top: 2rem; }
h2 { font-size: 1.65rem; line-height: 1.25; letter-spacing: -.035em; margin: 0 0 1.1rem; font-weight: 720; }
h3 { font-size: 1rem; margin: 1.5rem 0 .4rem; }
p { margin: .8rem 0; }
li { margin: .5rem 0; padding-left: .15rem; }
ul, ol { padding-left: 1.3rem; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86em; overflow-wrap: anywhere; }
p code, li code, td code { background: var(--code); border-radius: 3px; padding: .1em .25em; }
code.inline-url { overflow-wrap: normal; word-break: normal; } /* #1450: break only at the slashes copy.js marks. */
pre { border: 1px solid var(--line); background: var(--code); border-radius: 6px; padding: 1rem 1.2rem; overflow-x: auto; line-height: 1.65; font-size: .9rem; white-space: pre; tab-size: 2; }
/* A code box that scrolls sideways shows a fade at the clipped edge, so trailing arguments are not missed (QA-36). */
pre { background: linear-gradient(to right, var(--code) 30%, transparent) left center / 2rem 100% no-repeat local, linear-gradient(to left, var(--code) 30%, transparent) right center / 2rem 100% no-repeat local, linear-gradient(to right, var(--line), transparent) left center / .6rem 100% no-repeat scroll, linear-gradient(to left, var(--line), transparent) right center / .6rem 100% no-repeat scroll, var(--code); }
pre:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (max-width: 700px) { .code-help::after { content: " Scroll the box sideways to see the whole command."; } }
pre code { font-size: inherit; overflow-wrap: normal; user-select: text; }
.code-help { margin-top: -.3rem; font-size: .75rem; color: var(--muted); }
.code-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; margin: .2rem 0 .6rem; }
.code-copy { min-height: 44px; padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; }
.code-copy:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.code-copy:disabled { cursor: wait; }
.code-copy-status { min-width: 0; font-size: .8rem; color: var(--muted); overflow-wrap: anywhere; }
.note { border-left: 3px solid var(--accent); border-radius: 0 5px 5px 0; background: var(--accent-soft); padding: .8rem 1.1rem; margin: 1.3rem 0; font-size: .91rem; }
.note p { margin: 0; }
.source { font-size: .8rem; color: var(--muted); margin-top: 1.2rem; }
blockquote { border-left: 3px solid var(--accent); margin: 1.2rem 0; padding: .25rem 1.2rem; color: var(--ink); font-size: 1.05rem; }
blockquote p { margin: .3rem 0; }
.table-wrap { overflow-x: auto; margin: 1.3rem 0; }
table { width: 100%; border-collapse: collapse; font-size: .87rem; text-align: left; }
th { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
th, td { border-bottom: 1px solid var(--line); padding: .7rem .8rem .7rem 0; vertical-align: top; }
td:first-child { font-weight: 650; min-width: 145px; }
.connection-cell-label { display: none; }
.connection-choices td:nth-child(2) code { white-space: nowrap; }
/* Long remedies get the full width on a phone: each symptom heads its own block (#979). */
@media (max-width: 640px) {
  .troubleshooting, .troubleshooting tbody, .troubleshooting tr, .troubleshooting td { display: block; }
  .troubleshooting thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
  .troubleshooting tr { padding-block: .7rem; border-bottom: 1px solid var(--line); }
  .troubleshooting td { min-width: 0; border: 0; padding: .2rem 0; }
}
@media (max-width: 640px) {
  .mcp-settings, .mcp-settings tbody, .mcp-settings tr, .mcp-settings td { display: block; }
  .mcp-settings thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
  .mcp-settings tr { padding-block: .7rem; border-bottom: 1px solid var(--line); }
  .mcp-settings td { min-width: 0; border: 0; padding: .2rem 0; }
  .mcp-settings td code { white-space: normal; overflow-wrap: normal; }
}
.site-footer { max-width: 760px; margin: 0 auto; padding: 0 2.5rem 2.5rem; text-align: center; font-size: .78rem; color: var(--muted); }
.site-footer a { display: inline-block; margin: 0 .6rem; white-space: nowrap; }
@media (max-width: 950px) {
  .layout { grid-template-columns: 150px minmax(0, 1fr); gap: 2.25rem; padding-top: 2.75rem; }
}
@media (max-width: 700px) {
  .site-header { padding: 1rem 1.25rem; gap: .7rem; }
  .brand { font-size: .95rem; }
  .brand img { width: 32px; height: 32px; }
  .header-links { gap: .5rem 1rem; font-size: .75rem; }
  .language { display: none; }
  .layout { display: flex; flex-direction: column; padding: 1.5rem 1.25rem 3rem; gap: 2rem; }
  .rail { position: static; width: 100%; min-width: 0; max-height: none; overflow: visible; }
  .rail-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .3rem .8rem; margin-bottom: .4rem; }
  .rail-scroll-help { display: inline; font-size: .7rem; font-weight: 400; text-transform: none; letter-spacing: normal; }
  .rail ul { display: flex; flex-wrap: nowrap; gap: .55rem; overflow-x: auto; padding: 8px; scroll-padding-inline: 8px; scrollbar-width: thin; }
  .rail li, .rail .rail-divider { flex: 0 0 auto; margin: 0; }
  .rail a { display: flex; align-items: center; min-height: 44px; border: 1px solid var(--line); border-radius: 4px; padding: .3rem .55rem; font-size: .75rem; white-space: nowrap; scroll-margin-inline: 8px; }
  .rail a:hover { border-color: var(--accent); }
  .rail a:focus-visible { outline-offset: 5px; }
  h1 { font-size: 2.65rem; }
  .lede { font-size: 1.05rem; }
  section { padding-top: 2rem; margin-top: 2rem; }
  .endpoint { padding: 1rem; }
  pre { padding: .85rem; }
}
:root:where([data-theme="light"]) { color-scheme: light; }
:root:where([data-theme="dark"]) {
  color-scheme: dark; --paper: #10212a; --surface: #142a34; --ink: #e2edf0; --muted: #a4bdc6; --line: #304a55; --accent: #68d5dc; --accent-soft: #153b43; --code: #182f39; --focus: #f4b176;
}
@media (prefers-color-scheme: dark) {
  :root:where(:not([data-theme])) { color-scheme: dark; --paper: #10212a; --surface: #142a34; --ink: #e2edf0; --muted: #a4bdc6; --line: #304a55; --accent: #68d5dc; --accent-soft: #153b43; --code: #182f39; --focus: #f4b176; }
}
@media print {
  :root { color-scheme: light; --paper: white; --surface: white; --ink: #111; --muted: #444; --line: #ddd; --accent: #075b68; --accent-soft: #f5f5f5; --code: #f5f5f5; }
  .rail, .header-links, .skip, .code-help, .code-actions { display: none; }
  .layout { display: block; max-width: 850px; padding: 1.5rem 0; }
  .site-header { padding: .5rem 0; }
  section { margin-top: 1.5rem; padding-top: 1.5rem; }
  pre { white-space: pre-wrap; overflow-wrap: anywhere; }
  h2, h3 { break-after: avoid; }
}

/* Reflow before the table's three columns would squeeze its complete server URLs. */
@media (max-width: 950px) {
  .connection-choices, .connection-choices tbody, .connection-choices tr, .connection-choices td { display: block; }
  .connection-choices thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
  .connection-choices tbody > tr { border: 1px solid var(--line); border-radius: 6px; padding: 1rem; margin-bottom: 1rem; background: var(--surface); }
  .connection-choices tbody > tr:last-child { margin-bottom: 0; }
  .connection-choices td { border: 0; padding: .4rem 0; }
  .connection-choices td:nth-child(2) code { white-space: normal; overflow-wrap: normal; }
  .connection-choices td:first-child { min-width: 0; padding-top: 0; font-size: 1rem; }
  .connection-choices .connection-cell-label { display: block; margin-bottom: .2rem; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
}
