/* /mcp pages only (templates/mcp/mcp_detail.html). Learn pages do not load this file. */

.learn-content blockquote {
  position: relative;
  margin: 24px 0;
  padding: 36px 20px 18px 20px;
  background: rgba(81, 95, 188, 0.12);
  border: 1px solid rgba(81, 95, 188, 0.28);
  border-left: 4px solid var(--learn-brand, #515fbc);
  border-radius: 10px;
  overflow-wrap: anywhere;
  font-family: inherit;
}

.learn-content blockquote::before {
  content: "Prompt";
  position: absolute;
  top: 10px;
  left: 20px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--learn-text-2, #9ba3c4);
}

.learn-content blockquote p {
  margin: 0;
  font-family: inherit;
  font-size: 18px;
  line-height: 1.55;
  color: var(--learn-text-1, #f1f2f8);
}

.learn-content blockquote p + p {
  margin-top: 12px;
}

.mcp-copy-btn {
  position: absolute;
  top: 6px;
  right: 8px;
  padding: 4px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--learn-text-1, #f1f2f8);
  background: var(--learn-brand-dim, rgba(81, 95, 188, 0.18));
  border: 1px solid rgba(81, 95, 188, 0.4);
  border-radius: 6px;
  cursor: pointer;
}

.mcp-copy-btn:hover {
  background: var(--learn-brand, #515fbc);
}

.learn-content pre {
  margin: 20px 0;
  padding: 16px 18px;
  max-width: 100%;
  overflow-x: auto;
  background: #05060d;
  border: 1px solid var(--learn-border, rgba(255, 255, 255, 0.09));
  border-radius: 10px;
  -webkit-overflow-scrolling: touch;
}

.learn-content pre code {
  display: block;
  padding: 0;
  background: none;
  border: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  line-height: 1.6;
  white-space: pre;
  color: #e6e8f5;
}

.learn-content :not(pre) > code {
  padding: 2px 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--learn-surface-raised, rgba(255, 255, 255, 0.06));
  border-radius: 4px;
  overflow-wrap: anywhere;
}

.learn-article-col,
.learn-content {
  min-width: 0;
}
