/* ============ MCP 接入模块样式 ============ */
/* MCP 主模块容器 */
.mcp-box {
  background: linear-gradient(180deg, #F7FAFF 0%, #EDF3FF 100%);
}
.container10 {
  padding: 90px 0 100px;
}
/* 接入方式切换卡 */
.mcp-paths {
  display: flex;
  gap: 40px;
  margin-top: 64px;
}
.mcp-paths .content-item {
  flex: 1;
  background: #fff;
  border: 1px solid #E8EEFB;
  border-radius: 12px;
  padding: 34px 34px 30px;
  position: relative;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.mcp-paths .content-item:hover {
  border-color: #DCE4F3;
  box-shadow: 0 10px 28px rgba(28, 100, 253, 0.08);
  transform: translateY(-2px);
}
.mcp-paths .content-item.is-active,
.mcp-paths .content-item.is-active:hover {
  border-color: #1C64FD;
  box-shadow: 0 0 0 1px #1C64FD, 0 12px 30px rgba(28, 100, 253, 0.16);
}
.mcp-paths .content-item .name {
  display: flex;
  align-items: center;
  line-height: 24px;
  font-size: 20px;
  font-weight: bold;
  color: #05152E;
}
.mcp-paths .content-item .text {
  line-height: 24px;
  font-size: 14px;
  color: #4D5871;
  margin-top: 20px;
}
.mcp-paths .content-item .list {
  margin-top: 22px;
  border-top: 1px solid #F0F3F9;
  padding-top: 18px;
}
.mcp-paths .content-item .list li {
  position: relative;
  padding-left: 18px;
  line-height: 26px;
  font-size: 13px;
  color: #333;
}
.mcp-paths .content-item .list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #1C64FD;
}
.mcp-path-cta {
  display: flex;
  align-items: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #F0F3F9;
  line-height: 20px;
  font-size: 13px;
  color: #8A93A6;
  transition: color 0.2s;
}
.mcp-path-cta i {
  margin-left: 7px;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid currentColor;
  transform: rotate(90deg);
}
.mcp-path-item:hover .mcp-path-cta {
  color: #1C64FD;
}
.mcp-path-item.is-active .mcp-path-cta {
  color: #1C64FD;
  font-weight: 500;
}
.mcp-ico {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mcp-ico svg {
  width: 21px;
  height: 21px;
}
.mcp-ico-api {
  background: #EAF1FF;
  color: #1C64FD;
}
.mcp-ico-mcp {
  background: #1C64FD;
  color: #fff;
}
/* 切换容器：未选中隐藏，选中按类型显示 */
.mcp-sw {
  display: none;
}
.mcp-sw.is-on {
  display: block;
}
.mcp-sw.mcp-sw-inline.is-on {
  display: inline;
}
.mcp-sw.mcp-sw-flex.is-on {
  display: flex;
}
/* 接入演示 */
.mcp-demo {
  display: flex;
  margin-top: 32px;
  background: #fff;
  border: 1px solid #E8EEFB;
  border-radius: 12px;
  overflow: hidden;
}
.mcp-demo-left {
  width: 640px;
  flex: none;
  background: #101725;
  padding: 18px 26px 20px;
}
.mcp-demo-left .mcp-sw {
  margin-top: 18px;
}
.mcp-demo-left pre {
  margin: 0;
  font-family: Consolas, Menlo, Monaco, 'Courier New', monospace;
  font-size: 13px;
  line-height: 24px;
  color: #C9D2E4;
  white-space: pre-wrap;
  word-break: break-all;
}
.mcp-demo-left .c-key {
  color: #6FA5FF;
}
.mcp-demo-left .c-str {
  color: #7BD88F;
}
.mcp-demo-left .c-cmd {
  color: #FFBF59;
}
.mcp-demo-bar {
  display: flex;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  line-height: 20px;
  font-size: 12px;
  color: #8A93A6;
}
.mcp-demo-bar-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 9px;
  background: #2FBF71;
}
.mcp-demo-note {
  margin-top: 16px;
  line-height: 18px;
  font-size: 12px;
  color: #5B6474;
}
.mcp-demo-right {
  flex: 1;
  padding: 26px 30px;
  display: flex;
  flex-direction: column;
}
.mcp-demo-right .mcp-sw.mcp-sw-flex.is-on {
  flex-direction: column;
  flex: 1;
}
.mcp-demo-right-title {
  line-height: 22px;
  font-size: 16px;
  font-weight: bold;
  color: #05152E;
}
.mcp-demo-right-text {
  margin-top: 6px;
  line-height: 20px;
  font-size: 13px;
  color: #8A93A6;
}
/* 聊天气泡样式 */
.mcp-chat {
  flex: 1;
  margin-top: 20px;
}
.mcp-chat-row {
  display: flex;
  margin-bottom: 14px;
}
.mcp-chat-row.user {
  justify-content: flex-end;
}
.mcp-chat-bubble {
  max-width: 330px;
  padding: 12px 16px;
  border-radius: 10px;
  line-height: 22px;
  font-size: 13px;
  color: #333;
  background: #F3F6FC;
}
.mcp-chat-bubble b {
  display: inline;
  color: #1C64FD;
  font-weight: bold;
}
.mcp-chat-row.user .mcp-chat-bubble {
  background: #1C64FD;
  color: #fff;
}
.mcp-chat-call {
  display: block;
  margin-bottom: 6px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #D8E0F0;
  font-size: 12px;
  color: #1C64FD;
}
/* REST 版右侧：返回结果示意 */
.mcp-resp {
  flex: 1;
  margin-top: 20px;
  border: 1px solid #E4EBF8;
  border-radius: 10px;
  overflow: hidden;
  background: #F8FAFF;
}
.mcp-resp-head {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  background: #EEF3FE;
  line-height: 20px;
  font-size: 12px;
}
.mcp-resp-method {
  flex: none;
  padding: 0 7px;
  margin-right: 9px;
  border-radius: 4px;
  background: #1C64FD;
  color: #fff;
  font-weight: bold;
}
.mcp-resp-url {
  flex: 1;
  color: #4D5871;
  font-family: Consolas, Menlo, Monaco, 'Courier New', monospace;
}
.mcp-resp-ok {
  flex: none;
  color: #2FBF71;
  font-weight: bold;
}
.mcp-resp-json {
  margin: 0;
  padding: 14px 16px;
  font-family: Consolas, Menlo, Monaco, 'Courier New', monospace;
  font-size: 12px;
  line-height: 22px;
  color: #333;
  white-space: pre-wrap;
  word-break: break-all;
}
/* 三步接入 */
.mcp-steps {
  margin-top: 40px;
}
.mcp-steps .mcp-sw.mcp-sw-flex.is-on {
  gap: 40px;
}
.mcp-steps .content-item {
  flex: 1;
  background: rgba(255, 255, 255, 0.7);
  border: 1px dashed rgba(28, 100, 253, 0.3);
  border-radius: 12px;
  padding: 26px 30px;
}
.mcp-steps .content-item .name {
  line-height: 24px;
  font-size: 16px;
  font-weight: bold;
  color: #15213A;
  margin-top: 6px;
}
.mcp-steps .content-item .text {
  line-height: 22px;
  font-size: 13px;
  color: #4D5871;
  margin-top: 12px;
}
.mcp-step-no {
  display: block;
  line-height: 34px;
  font-size: 30px;
  font-weight: bold;
  color: rgba(28, 100, 253, 0.25);
}
/* 底部按钮 */
.container10 .btns {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  gap: 24px;
}
.container10 .btns .btn {
  width: 260px;
  background: #1C64FD;
  line-height: 44px;
  font-size: 16px;
  color: #fff;
  text-align: center;
  border: 1px solid #1C64FD;
  border-radius: 8px;
  cursor: pointer;
}
.container10 .btns .btn:hover {
  background: #004DF0;
}
.container10 .btns .btn.cancel {
  background: transparent;
  border-color: rgba(28, 100, 253, 0.5);
  color: #1C64FD;
}
.container10 .btns .btn.cancel:hover {
  background: rgba(28, 100, 253, 0.1);
}
