/* Article styles; navigation uses the existing Assistant layout and shared breadcrumb. */
.mcp-page { background: var(--color-primary-dark); font-family: Inter, sans-serif; }
.mcp-page a:focus-visible, .mcp-page button:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 5px; }
.mcp-page .mcp-skip { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 12px 20px; background: #0f172a; color: #fff; }
.mcp-page .mcp-skip:focus { top: 12px; }
.mcp-article { color: #b9c5d5; font-size: 16px; line-height: 1.8; }
.mcp-article h1 { color: #f8fafc; font-size: 32px; line-height: 1.3; font-weight: 600; letter-spacing: -.03em; margin-bottom: 24px; }
.mcp-article h2 { color: #f1f5f9; font-size: 22px; font-weight: 600; line-height: 1.4; letter-spacing: -.015em; margin: 40px 0 18px; }
.mcp-article [id] { scroll-margin-top: 110px; }
.mcp-article p { margin: 16px 0; }
.mcp-article .mcp-introduction { color: #e2e8f0; font-size: 19px; line-height: 1.65; margin: 0 0 20px; }
.mcp-article blockquote { color: #e2e8f0; border-left: 2px solid var(--color-primary); padding-left: 20px; margin: 20px 0; }
.mcp-tools { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.7; margin: 20px 0 24px; }
.mcp-tools caption { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.mcp-tools th, .mcp-tools td { text-align: left; vertical-align: top; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.mcp-tools thead th { color: #94a3b8; font-size: 14px; font-weight: 500; padding-top: 0; }
.mcp-tools tbody th { width: 232px; padding-right: 24px; color: var(--color-accent); font-weight: 400; font-size: 14px; }
.mcp-endpoint { border-left: 2px solid #334155; padding: 4px 0 4px 20px; margin: 24px 0; font-size: 15px; }
.mcp-endpoint > div { display: grid; grid-template-columns: 92px minmax(0,1fr); gap: 16px; }
.mcp-endpoint > div + div { margin-top: 8px; }
.mcp-endpoint dt { color: #94a3b8; }
.mcp-endpoint dd { color: #e2e8f0; }
.mcp-endpoint code { overflow-wrap: anywhere; }
/* Support the shared footer at tablet widths and retain visible keyboard focus. */
.mcp-page #newsletterEmail { min-width: 0; width: 100%; }
.mcp-page #newsletterForm button { min-width: 44px; min-height: 44px; flex-shrink: 0; }
.mcp-page input:focus-visible { outline: 2px solid var(--color-accent) !important; outline-offset: 3px; }
.mcp-page footer .text-gray-500 { color: #94a3b8; }
.mcp-page footer a { min-height: 24px; }
.mcp-page footer li a { min-height: 32px; }
@media (max-width: 1000px) {
    .mcp-tools tbody th { width: 200px; padding-right: 16px; }
}
@media (max-width: 520px) {
    .mcp-article h1 { font-size: 28px; margin-bottom: 20px; }
    .mcp-article .mcp-introduction { font-size: 18px; }
    .mcp-article h2 { margin-top: 32px; }
    .mcp-tools, .mcp-tools tbody, .mcp-tools tr, .mcp-tools th, .mcp-tools td { display: block; }
    .mcp-tools thead { display: none; }
    .mcp-tools tr { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
    .mcp-tools tbody th { width: auto; font-size: 15px; padding: 0 0 8px; border: 0; }
    .mcp-tools td { padding: 0; border: 0; }
    .mcp-endpoint > div { grid-template-columns: 1fr; gap: 0; }
    .mcp-endpoint > div + div { margin-top: 12px; }
}

.mcp-reference { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; }
.mcp-reference:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1023px) {
    .mcp-index nav { display: grid; grid-template-columns: 1fr 1fr; }
}
