/* MCP Server docs */

.wrap.container:has(.mcp-doc) .entry-content {
  --mcp-blue: #00a4e3;
  --mcp-blue-dark: #0077aa;
  --mcp-ink: #172033;
  --mcp-muted: #5d6b7c;
  --mcp-line: #dce7ef;
  --mcp-soft: #f5fbfe;
  color: var(--mcp-ink);
}

.wrap.container:has(.mcp-doc) .entry-content > p:first-of-type {
  color: var(--mcp-muted);
  font-size: 1.62rem;
}

.wrap.container:has(.mcp-doc) .entry-content h2 {
  margin-top: 42px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--mcp-line);
}

.wrap.container:has(.mcp-doc) .article-child {
  display: none;
}

.wrap.container:has(.mcp-doc) .entry-content h3 {
  margin-top: 28px;
  color: var(--mcp-ink);
}

.wrap.container:has(.mcp-doc) .entry-content pre {
  border: 1px solid #17263b;
  border-radius: 8px;
  background: #0d1726;
  box-shadow: 0 10px 24px rgba(13, 23, 38, 0.12);
}

.wrap.container:has(.mcp-doc) .entry-content pre code {
  color: #dcecff;
}

.wrap.container:has(.mcp-doc) .entry-content blockquote {
  margin: 18px 0;
  padding: 14px 18px;
  border-left: 4px solid var(--mcp-blue);
  border-radius: 0 8px 8px 0;
  background: var(--mcp-soft);
  color: var(--mcp-ink);
}

.wrap.container:has(.mcp-doc) .entry-content blockquote p {
  margin: 0;
}

.wrap.container:has(.mcp-doc) .entry-content table {
  overflow: hidden;
  border-radius: 8px;
  border-color: var(--mcp-line);
}

.wrap.container:has(.mcp-doc) .entry-content thead th {
  background: #edf8fd;
  color: var(--mcp-ink);
  border-color: var(--mcp-line);
}

.mcp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 24px;
  align-items: center;
  margin: 0 0 28px;
  padding: 28px;
  border-radius: 8px;
  background:
    radial-gradient(circle at top right, rgba(0, 164, 227, 0.25), transparent 34%),
    linear-gradient(135deg, #071826 0%, #0b2434 54%, #0d3347 100%);
  color: #fff;
}

.mcp-hero p {
  color: rgba(255, 255, 255, 0.76);
}

.mcp-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #82d9f5;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.mcp-hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mcp-blue);
  box-shadow: 0 0 0 6px rgba(0, 164, 227, 0.16);
}

.wrap.container:has(.mcp-doc) .entry-content .mcp-hero__title {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  color: #fff;
  font-size: 2.8rem;
  line-height: 1.25;
}

.mcp-hero__lead {
  margin: 0;
  font-size: 1.55rem;
}

.mcp-chat {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 14px;
  border: 1px solid rgba(130, 217, 245, 0.22);
  border-radius: 8px;
  background: rgba(3, 12, 22, 0.42);
}

.mcp-chat__row {
  display: flex;
}

.mcp-chat__row--user {
  justify-content: flex-end;
}

.mcp-chat__bubble {
  max-width: 88%;
  padding: 8px 11px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.24rem;
  line-height: 1.45;
}

.mcp-chat__row--user .mcp-chat__bubble {
  background: rgba(0, 164, 227, 0.35);
}

.mcp-tool {
  padding: 8px 10px;
  border: 1px solid rgba(130, 217, 245, 0.24);
  border-radius: 8px;
  color: #b9ecff;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 1.15rem;
}

.mcp-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 10px;
}

.mcp-card {
  display: block;
  min-height: 142px;
  padding: 18px;
  border: 1px solid var(--mcp-line);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  box-shadow: 0 8px 22px rgba(13, 23, 38, 0.06);
}

.mcp-card:hover {
  border-color: rgba(0, 164, 227, 0.48);
  color: inherit;
  transform: translateY(-1px);
}

.mcp-card__label {
  color: var(--mcp-blue-dark);
  font-size: 1.2rem;
  font-weight: 700;
}

.mcp-card__title {
  margin: 7px 0 8px;
  color: var(--mcp-ink);
  font-size: 1.72rem;
  font-weight: 700;
}

.mcp-card__text {
  margin: 0;
  color: var(--mcp-muted);
  font-size: 1.34rem;
}

.mcp-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 8px;
}

.mcp-flow__item {
  position: relative;
  padding: 16px;
  border: 1px solid var(--mcp-line);
  border-radius: 8px;
  background: var(--mcp-soft);
}

.mcp-flow__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--mcp-blue);
  color: #fff;
  font-weight: 700;
}

.mcp-flow__title {
  margin: 0 0 5px;
  font-size: 1.52rem;
  font-weight: 700;
}

.mcp-flow__text {
  margin: 0;
  color: var(--mcp-muted);
  font-size: 1.32rem;
}

.mcp-callout {
  margin: 20px 0;
  padding: 16px 18px;
  border: 1px solid rgba(0, 164, 227, 0.22);
  border-radius: 8px;
  background: var(--mcp-soft);
}

.mcp-callout--warning {
  border-color: rgba(220, 38, 38, 0.28);
  background: #fff5f5;
}

.mcp-callout__title {
  margin: 0 0 6px;
  font-weight: 700;
}

.mcp-callout--warning .mcp-callout__title {
  color: #b42318;
}

.mcp-callout p {
  margin: 0;
  color: var(--mcp-muted);
}

.mcp-callout--warning p {
  color: #6f1d1b;
}

.mcp-prompts {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 18px 0 28px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid #151515;
  border-radius: 8px;
  background: #080808;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 1.34rem;
}

.mcp-prompt {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
}

.mcp-prompt__user {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 10px;
  padding: 3px 9px 4px;
  background: #3a3a3a;
  color: #fff;
  font-size: 1.42rem;
  line-height: 1.45;
}

.mcp-prompt__user::before {
  content: "› ";
  color: #888;
  font-weight: 700;
}

.mcp-prompt__tool {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #f0f0f0;
  font-size: 1.42rem;
  font-weight: 700;
  line-height: 1.4;
}

.mcp-prompt__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #55c878;
  flex: 0 0 auto;
}

.mcp-prompt__result {
  margin: 2px 0 12px 28px;
  color: #d5d5d5;
  font-size: 1.34rem;
  line-height: 1.35;
  white-space: pre-wrap;
}

.mcp-prompt__assistant {
  margin: 0 0 8px;
  color: #e9e9e9;
  font-size: 1.38rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.mcp-prompt__assistant::before {
  content: "● ";
  color: #f3f3f3;
}

.mcp-prompt__dim {
  color: #777;
}

.mcp-prompt__accent {
  color: #aab7ff;
}

@media (max-width: 767px) {
  .mcp-hero,
  .mcp-cards,
  .mcp-flow {
    grid-template-columns: 1fr;
  }

  .mcp-hero {
    padding: 22px;
  }

  .mcp-prompt {
    overflow-x: auto;
  }
}
