/* Shared reference layout; colors inherit the existing client theme. */
.mcp-docs { max-width: 1240px; margin: 0 auto; padding: 28px 24px 56px; color: var(--ink, var(--site-text, inherit)); font-size: 15px; line-height: 1.6; text-align: left; word-spacing: normal; letter-spacing: normal }
.mcp-docs *, .mcp-docs *::before, .mcp-docs *::after { box-sizing: border-box }
.mcp-docs h1 { margin: 20px 0 16px; font-size: 30px; font-weight: 700; line-height: 1.25 }
.mcp-docs h2 { margin: 0 0 12px; font-size: 19px; line-height: 1.4; font-weight: 700 }
.mcp-docs h3 { margin: 20px 0 8px; font-size: 15px; font-weight: 600 }
.mcp-docs p { max-width: 75ch; margin: 0 0 16px }
.mcp-docs a { color: inherit; text-decoration: underline; text-underline-offset: 3px }
.mcp-docs a:hover { text-decoration-thickness: 2px }
.mcp-docs a:focus-visible, .mcp-docs summary:focus-visible { outline: 2px solid currentColor; outline-offset: 4px }
.mcp-docs code { color: inherit; background: transparent; padding: 0; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .9em; overflow-wrap: anywhere }
.mcp-docs__endpoints { display: flex; gap: 12px 32px; flex-wrap: wrap; margin: 0 0 20px }
.mcp-docs dt { font-weight: 600 }
.mcp-docs dd { margin: 0 }
.mcp-docs__notice { font-size: 13px }
.mcp-docs__meta { font-size: 13px }
.mcp-docs__layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; margin-top: 36px }
.mcp-docs__contents ul { list-style: none; margin: 0; padding: 0 }
.mcp-docs__contents li { margin: 0 0 8px; overflow-wrap: anywhere; font-size: 13px }
.mcp-docs__group + .mcp-docs__group { border-top: 1px solid var(--border, #b7adc3); margin-top: 24px; padding-top: 20px }
.mcp-docs__group h3 { margin: 0 0 12px; font-size: 15px; font-weight: 700 }
.mcp-docs__contents h2 span { font-weight: 400; font-size: 14px }
.mcp-docs__commands { min-width: 0 }
.mcp-docs__command { padding: 0 0 30px; margin: 0 0 30px; border-bottom: 1px solid var(--border, #b7adc3); scroll-margin-top: 90px }

.mcp-docs__name { margin-top: -8px !important; font-size: 13px }
.mcp-docs__parameters { margin: 0 0 16px }
.mcp-docs__parameters > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 6px 0 }
.mcp-docs__type, .mcp-docs__optional { font-size: 13px }
.mcp-docs__command pre { margin: 0; padding: 14px 16px; white-space: pre-wrap; overflow-wrap: anywhere; background: var(--zebra, transparent); color: inherit; border: 1px solid var(--border, #b7adc3); border-radius: 8px; font-size: 13px; line-height: 1.6 }
.mcp-docs__index summary { cursor: pointer; margin-bottom: 20px; font-weight: 600 }
.mcp-docs__search { max-width: 600px; margin-top: 24px }
.mcp-docs__search label { display: block; margin-bottom: 6px; font-weight: 600 }
.mcp-docs__search input { width: 100%; min-height: 44px; border: 1px solid var(--border, #b7adc3); border-radius: 8px; background: transparent; color: inherit; padding: 10px 12px; font: inherit; caret-color: currentColor }
.mcp-docs__search input::placeholder { color: inherit; opacity: 1 }
.mcp-docs__search input:focus-visible { outline: 2px solid currentColor; outline-offset: 3px }
.mcp-docs [hidden] { display: none !important }
@media (max-width: 760px) {
  .mcp-docs { padding: 20px 16px 40px }
  .mcp-docs h1 { font-size: 26px }
  .mcp-docs__layout { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 24px }
  .mcp-docs__index summary { margin-bottom: 0 }
  .mcp-docs__index[open] summary { margin-bottom: 20px }
  .mcp-docs__contents li { break-inside: avoid }
  .mcp-docs__parameters > div { grid-template-columns: minmax(0, 1fr); gap: 2px; margin-bottom: 8px }
}
