/* css/mcp.css — the MCP install pages (/mcp, /tw/mcp). Loaded after
   css/app.css (tokens) and css/page.css (the public sub-page shell), so both
   languages share one layout. Code blocks stay dark like the API page's. */
.mcp .lede.answer { max-width: 68ch; }
.mcp .lede.answer code { font-size: 13.5px; }
.pg-kicker { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-60); }
.pg ul.facts { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0 22px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2); font-size: 14px; color: var(--text-2); list-style: none; max-width: none; }
.mcp .facts li { font-size: 14px; line-height: 1.5; }
.facts b { color: var(--blue-90); }
[data-copy][hidden] { display: none !important; }
.mcp .btn-lg { padding: 12px 22px; font-size: 15px; }
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 8px; }
.hero-ctas .btn-primary, .cta-end .btn-primary { color: #fff; }
.pg ul.jump { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; margin: 10px 0 18px; padding: 0; list-style: none; max-width: none; }
.mcp .jump li { font-size: 13px; }
.jump a { display: inline-block; padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--text-2); font-weight: 600; text-decoration: none; }
.jump a:hover { border-color: var(--blue-30); color: var(--blue-60); }
.client { border: 1px solid var(--border); border-radius: 14px; background: #fff; padding: 16px 18px 6px; margin: 0 0 14px; scroll-margin-top: 16px; }
.client h3 { margin: 0 0 4px; font-size: 16px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.client h3 .where { font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--text-3); }
.client p { font-size: 14px; }
.snip { position: relative; margin: 0 0 12px; }
.snip pre { background: #0F1326; color: #D7DCE8; padding: 14px 16px; border-radius: 10px; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.7; overflow-x: auto; margin: 0; tab-size: 2; }
.snip pre.wrap { white-space: pre-wrap; overflow-wrap: anywhere; }
.snip .copy { position: absolute; top: 8px; right: 8px; padding: 4px 10px; font-size: 12px; border-radius: 7px; background: rgba(255,255,255,.1); color: #D7DCE8; border: 1px solid rgba(255,255,255,.18); }
.snip .copy:hover { background: rgba(255,255,255,.18); color: #fff; }
.snip.has-copy pre { padding-right: 76px; }
.prompt { border: 1px solid var(--blue-20); background: var(--blue-10); border-radius: 14px; padding: 16px 18px; margin: 0 0 12px; }
.prompt blockquote { margin: 0 0 12px; font-size: 14.5px; line-height: 1.7; color: var(--blue-90); }
.prompt blockquote code { background: #fff; }
.tools-wrap { margin: 6px 0 16px; }
.mcp table.tools { min-width: 0; }
.mcp table.tools th.grp { padding-top: 18px; font-size: 12px; color: var(--blue-60); letter-spacing: .06em; }
.mcp table.tools td:first-child { width: 190px; white-space: nowrap; }
.mcp table.tools td:last-child { width: 118px; text-align: right; }
.mcp table.tools td code { color: var(--blue-70); font-weight: 600; }
.fx { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.fx-r { background: var(--surface-3); color: var(--text-2); }
.fx-w { background: var(--blue-10); color: var(--blue-70); }
.fx-s { background: var(--green-bg); color: var(--green-deep); }
.fx-d { background: var(--red-bg); color: var(--red); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--text-3); margin: 0 0 6px; }
.not-yet li b { color: var(--blue-90); }
.mcp .pg-faq details { border: 1px solid var(--border); border-radius: 12px; background: #fff; margin: 0 0 10px; }
.mcp .pg-faq summary { cursor: pointer; padding: 14px 16px; font-weight: 700; font-size: 14.5px; color: var(--blue-90); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.mcp .pg-faq summary::-webkit-details-marker { display: none; }
.mcp .pg-faq summary::after { content: "+"; color: var(--blue-50); font-weight: 700; }
.mcp .pg-faq details[open] summary::after { content: "\2212"; }
.mcp .pg-faq .faq-body { padding: 0 16px 14px; font-size: 14px; line-height: 1.7; color: var(--text-2); }
.cta-end { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 34px; }
@media (max-width: 640px) {
  .client { padding: 14px 14px 4px; }
  .snip pre { font-size: 11.5px; padding: 12px 12px; }
  .snip.has-copy pre { padding-right: 12px; padding-top: 40px; }
  .mcp table.tools, .mcp table.tools tbody, .mcp table.tools tr, .mcp table.tools td, .mcp table.tools th { display: block; width: auto; }
  .mcp table.tools tr { padding: 10px 0; border-bottom: 1px solid var(--surface-3); }
  .mcp table.tools td { border: 0; padding: 2px 0; text-align: left; }
  .mcp table.tools td:first-child, .mcp table.tools td:last-child { width: auto; text-align: left; }
  .mcp table.tools th.grp { padding: 18px 0 4px; border-bottom: 0; }
  .mcp table.tools td:last-child { margin-top: 4px; }
}
