.mcp-settings { max-width: 1120px; margin: 0 auto; }
.mcp-settings .panel-body { padding: 8px 26px 24px; }
.mcp-settings .panel-head { gap: 16px; flex-wrap: wrap; }
.mcp-settings .mcp-subtitle { margin: 8px 0 0; color: #8390a5; font-size: 13px; line-height: 1.6; }
.mcp-settings .mcp-source-row { display: flex; align-items: center; gap: 17px; padding: 25px 0; }
.mcp-settings .mcp-source-row + .mcp-source-row { border-top: 1px solid #edf0f5; }
.mcp-settings .mcp-source-icon { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 23px; font-weight: 700; }
.mcp-settings .mcp-source-icon.dingtalk { color: #378ce6; background: #edf5ff; }
.mcp-settings .mcp-source-icon.workbuddy { color: #8c77b8; background: #f3effb; }
.mcp-settings .mcp-source-copy { flex: 1; min-width: 0; }
.mcp-settings .mcp-source-title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.mcp-settings .mcp-source-title h3 { font-size: 17px; color: #263752; margin: 0; }
.mcp-settings .mcp-state { padding: 4px 9px; border-radius: 6px; font-size: 12px; color: #7e8ca2; background: #f0f3f7; white-space: nowrap; }
.mcp-settings .mcp-state.connected { color: #2d986a; background: #eaf8f0; }
.mcp-settings .mcp-state.error { color: #be4f38; background: #fff0ea; }
.mcp-settings .mcp-state.unverified { color: #bf842f; background: #fff5e5; }
.mcp-settings .mcp-help, .mcp-settings .mcp-checked, .mcp-settings .mcp-notice, .mcp-editor .mcp-help { color: #7c8ba2; line-height: 1.75; font-size: 13px; margin: 8px 0 0; overflow-wrap: anywhere; }
.mcp-settings .mcp-checked { font-size: 12px; margin-top: 3px; }
.mcp-settings .mcp-notice { padding: 12px 15px; border-radius: 8px; background: #fff8ee; color: #ab783a; margin-top: 4px; }
.mcp-settings .mcp-config { border-color: #ffdbb2; color: #e88816; background: #fffaf3; flex: 0 0 auto; }
.console-theme .drawer:has(.mcp-settings-drawer) { width: 640px; max-width: calc(100vw - 32px); }
.console-theme .drawer:has(.mcp-settings-drawer) .drawer-head { flex-shrink: 0; height: auto; min-height: 58px; }
.console-theme .drawer:has(.mcp-settings-drawer) .drawer-foot:empty { display: none; }
.mcp-editor { width: 100%; min-width: 0; }
.mcp-editor label { display: block; color: #33435e; font-size: 14px; line-height: 1.6; margin: 20px 0 0; }
.mcp-editor label:first-child { margin-top: 0; }
.mcp-editor input:not([type=checkbox]) { display: block; width: 100%; min-width: 0; height: 44px; border: 1px solid #dce4ef; border-radius: 7px; background: #fff; padding: 10px 12px; margin-top: 8px; color: #354561; font: inherit; }
.mcp-editor .mcp-toggle { display: flex; align-items: center; gap: 9px; }
.mcp-editor .mcp-toggle input { width: 17px; height: 17px; flex: 0 0 17px; accent-color: #f69114; margin: 0; }
.mcp-editor .mcp-clear { font-size: 13px; color: #718198; }
.mcp-editor .mcp-feedback { min-height: 48px; padding: 13px 15px; margin: 22px 0 16px; background: #f4f7fb; border-radius: 8px; color: #6d7e98; font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
.mcp-editor .mcp-feedback.success { background: #eaf8f0; color: #27855c; }
.mcp-editor .mcp-feedback.error { background: #fff0eb; color: #b64b34; }
.mcp-editor .mcp-editor-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.mcp-editor button:disabled { opacity: .5; cursor: not-allowed; }
.mcp-editor input:disabled { background: #f5f7fa; }
@media(max-width:700px) { .mcp-settings .panel-body { padding: 4px 16px 18px; } .mcp-settings .mcp-source-row { gap: 12px; flex-wrap: wrap; } .mcp-settings .mcp-source-copy { flex-basis: calc(100% - 60px); } .mcp-settings .mcp-config { margin-left: 56px; } }
