:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#0f172a;background:#f5f8fc}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#f5f8fc}button,input,textarea,select{font:inherit}button{cursor:pointer}#root{min-height:100vh}.agent-badge{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:0 14px;border-radius:999px;background:#e4edff;color:#3159d6;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.agent-primary-button,.agent-secondary-button,.agent-mobile-back,.agent-conversation-card{border:none}.agent-primary-button{border-radius:12px;background:#3159d6;color:#fff;padding:8px 14px;font-weight:700;font-size:13px;white-space:nowrap}.agent-primary-button--danger{background:#dc2626}.agent-primary-button--danger:hover{background:#b91c1c}.agent-primary-button:disabled,.agent-secondary-button:disabled,.agent-mobile-back:disabled{cursor:not-allowed;opacity:.6}.agent-secondary-button,.agent-mobile-back{border-radius:12px;background:#edf2ff;color:#3159d6;padding:6px 10px;font-weight:600;font-size:12px;white-space:nowrap}.agent-boot,.agent-login{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px;background:linear-gradient(180deg,#f9fbff,#eef4fb)}.agent-boot__card,.agent-login__card{width:min(100%,420px);padding:28px;border-radius:28px;background:#ffffffeb;box-shadow:0 18px 48px #0f172a14}.agent-boot__card h1,.agent-login__card h1{margin:16px 0 10px;font-size:32px}.agent-boot__card p,.agent-login__card p{margin:0;color:#475569;line-height:1.6}.agent-login__form{display:flex;flex-direction:column;gap:16px;margin-top:24px}.agent-field{display:flex;flex-direction:column;gap:8px;color:#334155;font-size:14px;font-weight:600}.agent-field input,.agent-field textarea,.agent-field select{width:100%;border:1px solid #cbd5e1;border-radius:16px;background:#fff;padding:12px 14px}.agent-field textarea{min-height:120px;resize:vertical}.agent-field--compact{font-size:13px}.agent-form-error,.agent-alert--error{margin:0;border-radius:16px;background:#fff1f2;color:#be123c;padding:12px 14px}.agent-app{height:100dvh;overflow:hidden;padding:12px;background:linear-gradient(180deg,#f9fbff,#eef4fb)}.agent-shell{display:flex;flex-direction:column;gap:10px;height:100%;min-height:0}.agent-sidebar{position:sticky;top:0;z-index:10;flex:0 0 auto;padding:4px 6px;border-radius:14px;background:#ffffffe0;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:0 8px 20px #0f172a0d}.agent-sidebar__nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.agent-sidebar__tab{width:100%;min-height:40px;border-radius:10px;padding:4px 8px;background:#f8fbff;text-align:left;display:flex;align-items:center;gap:6px;color:#3159d6;border:1px solid transparent;transition:transform .18s ease,background .18s ease,box-shadow .18s ease,border-color .18s ease}.agent-sidebar__tab:hover{transform:translateY(-1px);background:#eef3ff}.agent-sidebar__tab.is-active{background:linear-gradient(180deg,#3159d6,#274bb3);color:#fff;box-shadow:0 16px 28px #3159d638;transform:translateY(0)}.agent-sidebar__glyph,.agent-sidebar__tab-glyph{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;flex:0 0 28px;border-radius:8px;background:#3159d61f;font-size:10px;font-weight:800;letter-spacing:.06em}.agent-sidebar__tab.is-active .agent-sidebar__tab-glyph{background:#ffffff2e}.agent-sidebar__copy{display:flex;flex-direction:column;gap:4px;min-width:0}.agent-sidebar__copy strong{font-size:13px;line-height:1.2}.agent-sidebar__copy small{color:inherit;opacity:.82;font-size:11px;line-height:1.3}.agent-stage{flex:1;min-height:0;overflow:hidden}.agent-stage__page{display:flex;width:100%;height:100%;min-height:0;overflow:hidden}.agent-stage__page[hidden]{display:none}.agent-stage__page--workspace{overflow:auto}.agent-stage__page>*{min-width:0}.agent-stage__page--workspace>*{width:100%;min-height:0}.agent-system-card{padding:18px 20px;border-radius:28px;background:#ffffffeb;box-shadow:0 16px 40px #0f172a0f}.agent-workspace{position:relative;display:flex;width:100%;gap:12px;height:100%;min-height:0;overflow:hidden}.agent-pane{min-height:0;border-radius:24px;background:#ffffffeb;box-shadow:0 16px 40px #0f172a0f;overflow:hidden}.agent-pane--conversations{display:flex;flex-direction:column;width:300px;flex-shrink:0}.agent-pane--chat{display:flex;flex-direction:column;flex:1;min-width:0}.agent-pane--context{display:flex;flex-direction:column;width:260px;flex-shrink:0}.agent-pane__header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:10px 16px 8px;min-height:44px}.agent-pane__header h2{margin:0;font-size:20px}.agent-pane__header p{margin:6px 0 0;color:#64748b;line-height:1.5}.agent-conversation-list,.agent-capability-sections{padding:0 16px 16px;overflow:auto}.agent-conversation-list{display:flex;flex-direction:column;gap:8px}.agent-conversation-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;width:100%;border-radius:18px;background:#f8fafc;padding:12px;text-align:left}.agent-conversation-card--active{background:#3159d6;color:#fff}.agent-avatar{width:38px;height:38px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#dbe7ff;color:#3159d6;font-weight:700;position:relative}.agent-conversation-card--active .agent-avatar{background:#ffffff2e;color:#fff}.agent-avatar__indicator{position:absolute;width:10px;height:10px;border-radius:50%;border:2px solid #fff;bottom:-2px;right:-2px}.agent-avatar__indicator--running{background:#3b82f6;animation:agent-pulse 1.5s ease-in-out infinite}@keyframes agent-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(1.2)}}.agent-conversation-card--active .agent-avatar__indicator{border-color:#3159d6}.agent-conversation-card__body{min-width:0;display:flex;flex-direction:column;gap:4px}.agent-conversation-card__body strong,.agent-conversation-card__body span,.agent-conversation-card small,.agent-message__text,.agent-message__card p,.agent-capability-sections p,.agent-capability-sections dd,.agent-empty p{overflow-wrap:anywhere}.agent-conversation-card__body strong{font-size:15px;font-weight:600;line-height:1.3}.agent-conversation-card__body span{color:#64748b;font-size:13px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.agent-conversation-card small{color:#94a3b8;font-size:12px;line-height:1.3;white-space:nowrap}.agent-conversation-card--active .agent-conversation-card__body strong{color:#fff}.agent-conversation-card--active .agent-conversation-card__body span{color:#ffffffbf}.agent-conversation-card--active small{color:#fff9}.agent-chat__header{display:flex;justify-content:space-between;align-items:center;padding:8px 16px;border-bottom:1px solid rgba(148,163,184,.16);min-height:44px}.agent-auto-reply-toggle{display:flex;align-items:center;gap:8px;cursor:pointer}.agent-auto-reply-toggle__label{font-size:13px;color:#64748b;white-space:nowrap}.agent-chat__header-main{display:flex;align-items:center;gap:12px}.agent-mobile-back{display:none}.agent-chat__timeline{flex:1;min-height:0;overflow:auto;padding:16px 20px}.agent-message-list{display:flex;flex-direction:column;gap:12px}.agent-message{max-width:min(100%,82%);display:flex;flex-direction:column;gap:6px;padding:14px 16px;border-radius:22px;box-shadow:0 12px 24px #0f172a0d}.agent-message--incoming{align-self:flex-start;background:#f8fafc}.agent-message--outgoing{align-self:flex-end;background:#3159d6;color:#fff}.agent-message__meta{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px}.agent-message--incoming .agent-message__meta{color:#64748b}.agent-message--outgoing .agent-message__meta{color:#fffc}.agent-message__text{margin:0;line-height:1.6}.agent-message__markdown{font-size:13px;line-height:1.55;overflow-wrap:anywhere}.agent-message__markdown>*:first-child{margin-top:0!important}.agent-message__markdown>*:last-child{margin-bottom:0!important}.agent-message__markdown p{margin:0 0 6px}.agent-message__markdown h1,.agent-message__markdown h2,.agent-message__markdown h3,.agent-message__markdown h4,.agent-message__markdown h5,.agent-message__markdown h6{margin:10px 0 4px;line-height:1.3}.agent-message__markdown h1{font-size:15px}.agent-message__markdown h2{font-size:14px}.agent-message__markdown h3{font-size:13px}.agent-message__markdown h4,.agent-message__markdown h5,.agent-message__markdown h6{font-size:12px}.agent-message__markdown ul,.agent-message__markdown ol{margin:4px 0;padding-left:1.3em}.agent-message__markdown li{margin:2px 0}.agent-message__markdown code{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,monospace;font-size:.9em;padding:2px 5px;border-radius:5px;background:#0000000f}.agent-message__markdown pre{margin:6px 0;padding:8px 10px;border-radius:8px;background:#f1f5f9;overflow-x:auto}.agent-message__markdown pre code{background:transparent;padding:0;font-size:.85em}.agent-message__markdown blockquote{margin:6px 0;padding:3px 10px;border-left:3px solid #cbd5e1;color:#475569}.agent-message__markdown a{color:#2563eb;text-decoration:underline;text-underline-offset:2px}.agent-message__markdown hr{border:none;border-top:1px solid #e2e8f0;margin:8px 0}.agent-message__markdown table{border-collapse:collapse;font-size:.95em;margin:6px 0;width:100%}.agent-message__markdown th,.agent-message__markdown td{border:1px solid #e2e8f0;padding:5px 8px;text-align:left}.agent-message__markdown th{background:#f8fafc}.agent-message__markdown img{max-width:100%;border-radius:8px}.agent-message--outgoing .agent-message__markdown code{background:#ffffff2e}.agent-message--outgoing .agent-message__markdown pre{background:#00000038}.agent-message--outgoing .agent-message__markdown pre code{background:transparent}.agent-message--outgoing .agent-message__markdown blockquote{border-left-color:#ffffff59;color:#ffffffd9}.agent-message--outgoing .agent-message__markdown a{color:#bfdbfe}.agent-message--outgoing .agent-message__markdown hr{border-top-color:#ffffff40}.agent-message--outgoing .agent-message__markdown th,.agent-message--outgoing .agent-message__markdown td{border-color:#ffffff40}.agent-message--outgoing .agent-message__markdown th{background:#ffffff1a}.agent-message__card{display:flex;flex-direction:column;gap:6px;color:inherit;text-decoration:none}.agent-message__card strong{font-size:12px;opacity:.72}.agent-message__card p{margin:0;line-height:1.5}.agent-composer{position:sticky;bottom:0;padding:8px 16px 12px;background:linear-gradient(180deg,#fff0,#fffffff0 20%,#fff)}.agent-composer__actions{display:flex;align-items:center;gap:8px;margin-bottom:6px;flex-wrap:wrap}.agent-composer__actions span{color:#64748b;font-size:12px}.agent-composer__attachment-sheet{display:grid;gap:8px;margin-bottom:8px;padding:10px 12px;border-radius:14px;background:#f8fafc}.agent-composer__panel{display:flex;flex-direction:row;align-items:center;gap:8px;padding:6px 8px;border-radius:16px;background:#fff;box-shadow:0 4px 16px #3159d614;width:100%}.agent-composer__panel textarea{flex:1;min-height:36px;max-height:120px;border:1px solid #e2e8f0;border-radius:12px;padding:8px 12px;resize:none;outline:none;font-size:14px;line-height:1.5}.agent-composer__panel textarea:focus{border-color:#3159d6}.agent-capability-sections{display:flex;flex-direction:column;gap:12px}.agent-capability-sections section{padding:14px;border-radius:20px;background:#f8fafc}.agent-capability-summary-card{padding:14px;border-radius:20px;background:#f8fafc}.agent-capability-summary-card__header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.agent-capability-summary-card__body{margin-top:12px}.agent-capability-sections h3{margin:0 0 8px;font-size:15px}.agent-capability-sections p{margin:0;color:#475569;line-height:1.6}.agent-capability-sections__meta{display:block;margin-top:8px;color:#64748b;line-height:1.5}.agent-capability-sections dl{margin:0;display:flex;flex-direction:column;gap:10px}.agent-capability-sections dl div{display:flex;flex-direction:column;gap:4px}.agent-capability-sections dt{color:#64748b;font-size:12px;font-weight:700}.agent-capability-sections dd{margin:0}.agent-capability-stack{display:flex;flex-direction:column;gap:10px}.agent-capability-chip-group{display:flex;flex-wrap:wrap;gap:8px}.agent-capability-chip-group span{display:inline-flex;align-items:center;min-height:30px;padding:0 10px;border-radius:999px;background:#e7eefc;color:#3159d6;font-size:12px;font-weight:600}.agent-sidebar-list,.agent-capability-list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:8px}.agent-empty{min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;color:#475569}.agent-empty--compact{min-height:180px}.agent-empty--full{height:100%}.agent-empty h2,.agent-empty h3{margin:0 0 10px;color:#0f172a}.agent-empty p{margin:0;line-height:1.6}.agent-manager-panel__card{padding:16px;border-radius:24px;background:#ffffffeb;box-shadow:0 16px 40px #0f172a0f}.agent-manager-panel__card h3{margin:0 0 10px;font-size:20px}.agent-manager-panel__card p{margin:0;color:#475569;line-height:1.6}.agent-skill-manager{display:grid;grid-template-columns:300px minmax(0,1fr);gap:12px;min-height:100%;width:100%}.agent-skill-manager__list,.agent-skill-manager__main,.agent-skill-manager__editor{min-height:0}.agent-skill-manager__editor{flex:1;display:flex;flex-direction:column}.agent-skill-manager__main{display:flex;flex-direction:column;gap:12px}.agent-skill-manager__list .agent-manager-panel__card,.agent-skill-manager__editor-card{display:flex;flex-direction:column;gap:16px;min-height:100%}.agent-skill-manager__toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.agent-skill-manager__toolbar>div:first-child{min-width:0}.agent-skill-manager__toolbar h3{margin:0 0 4px;font-size:20px}.agent-skill-manager__toolbar p{margin:0;color:#64748b;font-size:13px;line-height:1.5}.agent-skill-manager__actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;flex-shrink:0}.agent-skill-list-item__meta>span{display:inline-flex;align-items:center;min-height:26px;padding:0 10px;border-radius:999px;background:#e7eefc;color:#3159d6;font-size:12px;font-weight:600;white-space:nowrap}.agent-toggle__track{position:relative;width:44px;height:24px;border-radius:999px;background:#cbd5e1;border:none;padding:0;cursor:pointer;transition:background .2s ease;flex-shrink:0}.agent-toggle__track.is-on{background:#3159d6}.agent-toggle__track.is-disabled{opacity:.5;cursor:not-allowed}.agent-toggle__thumb{position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #00000026;transition:transform .2s ease;pointer-events:none}.agent-toggle__track.is-on .agent-toggle__thumb{transform:translate(20px)}.agent-file-upload{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:20px;border-radius:16px;border:2px dashed #cbd5e1;background:#f8fafc;cursor:pointer;min-width:0;position:relative;transition:border-color .15s ease,background .15s ease}.agent-file-upload:hover{border-color:#3159d6;background:#f1f5f9}.agent-file-upload.is-disabled{opacity:.6;cursor:not-allowed}.agent-file-upload__input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.agent-file-upload__prompt{color:#3159d6;font-size:14px;font-weight:600}.agent-file-upload__hint{color:#94a3b8;font-size:12px}.agent-field--inline{flex-direction:row;align-items:center;justify-content:space-between}.agent-skill-editor{flex:1;min-height:0;gap:0}.agent-skill-editor__header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:8px}.agent-skill-editor__tabs{display:flex;gap:4px;padding:3px;border-radius:10px;background:#f1f5f9}.agent-skill-editor__tab{border:none;border-radius:8px;background:transparent;color:#64748b;padding:5px 12px;font-size:12px;font-weight:600;transition:background .18s ease,color .18s ease;cursor:pointer}.agent-skill-editor__tab:hover{background:#e2e8f0;color:#334155}.agent-skill-editor__tab.is-active{background:#fff;color:#3159d6;box-shadow:0 1px 3px #0f172a14}.agent-skill-editor__toolbar{display:flex;flex-wrap:wrap;gap:5px;padding:8px 10px;border:1px solid #e2e8f0;border-bottom:none;border-radius:12px 12px 0 0;background:#f1f5f9}.agent-skill-editor__toolbar button{display:inline-flex;align-items:center;justify-content:center;min-width:30px;min-height:30px;padding:0 7px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#334155;font-size:13px;font-weight:600;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease,transform .12s ease;box-shadow:0 1px 2px #0f172a0d}.agent-skill-editor__toolbar button:hover{background:#e4edff;border-color:#93c5fd;color:#3159d6;transform:translateY(-1px)}.agent-skill-editor__toolbar button:active{transform:translateY(0);background:#dbe6f6}.agent-skill-editor__toolbar button b{font-weight:800;font-size:14px}.agent-skill-editor__toolbar button i{font-style:italic;font-weight:700;font-size:14px}.agent-skill-editor__toolbar button[title=标题]{font-weight:800;font-size:14px;color:#1e293b}.agent-skill-editor__toolbar button[title=标题]:hover{color:#3159d6}.agent-skill-editor__toolbar button[title=代码]{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,monospace;font-size:11px;font-weight:700}.agent-skill-editor__toolbar button[title=代码块]{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,monospace;font-size:12px;font-weight:700;letter-spacing:.04em}.agent-skill-editor__toolbar button[title=链接]{font-size:14px}.agent-skill-editor__body{flex:1;min-height:0;display:flex;flex-direction:column}.agent-skill-editor__textarea{flex:1;min-height:320px;width:100%;border:1px solid #cbd5e1;border-radius:16px;background:#fff;padding:12px 14px;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,monospace;font-size:13px;line-height:1.6;resize:none;outline:none;transition:border-color .15s ease}.agent-skill-editor__toolbar+.agent-skill-editor__body .agent-skill-editor__textarea{border-radius:0 0 16px 16px}.agent-skill-editor__textarea:focus{border-color:#3159d6}.agent-skill-editor__preview{flex:1;min-height:320px;width:100%;border:1px solid #cbd5e1;border-radius:16px;background:#fff;padding:12px 14px;overflow:auto;font-size:13px;line-height:1.6}.agent-skill-editor__empty{margin:0;color:#94a3b8;font-size:13px;text-align:center;padding:40px 0}.agent-system-workspace{display:flex;flex-direction:column;gap:16px;min-height:100%;width:100%}.agent-system-subtabs{display:flex;gap:8px;padding:4px;border-radius:16px;background:#ffffffb8;box-shadow:0 8px 24px #0f172a0d;width:fit-content}.agent-system-subtab{border:none;border-radius:12px;background:transparent;color:#475569;padding:8px 16px;font-size:13px;font-weight:600;transition:background .18s ease,color .18s ease}.agent-system-subtab:hover{background:#eef3ff;color:#3159d6}.agent-system-subtab.is-active{background:linear-gradient(180deg,#3159d6,#274bb3);color:#fff;box-shadow:0 8px 16px #3159d62e}.agent-system-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.agent-system-card{display:flex;flex-direction:column;gap:16px}.agent-system-card__header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.agent-system-card__header h3{margin:0 0 8px;font-size:20px}.agent-system-card__header p{margin:0;color:#64748b;line-height:1.6}.agent-system-card__actions{display:flex;flex-wrap:wrap;gap:8px}.agent-system-kv{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}.agent-system-kv div{display:flex;flex-direction:column;gap:4px}.agent-system-kv dt{color:#64748b;font-size:12px;font-weight:700}.agent-system-kv dd{margin:0;font-weight:700}.agent-system-metric-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.agent-system-metric{padding:14px;border-radius:18px;background:#f8fbff;border:1px solid #dbe6f6;display:flex;flex-direction:column;gap:6px}.agent-system-metric strong{font-size:28px;color:#0f172a}.agent-system-metric span{color:#64748b;line-height:1.5}.agent-mcp-workspace{display:grid;grid-template-columns:300px minmax(0,1fr);gap:12px;width:100%}.agent-mcp-sidebar,.agent-mcp-card{border-radius:24px;background:#ffffffeb;box-shadow:0 16px 40px #0f172a0f}.agent-mcp-sidebar{padding:14px;display:flex;flex-direction:column;gap:8px}.agent-mcp-sidebar__header,.agent-mcp-card__header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.agent-mcp-sidebar__header{align-items:center}.agent-mcp-sidebar__header h3,.agent-mcp-card__header h3{margin:0;font-size:18px}.agent-mcp-card__header p{margin:0;color:#64748b;line-height:1.6}.agent-mcp-sidebar__section{margin-top:4px}.agent-mcp-sidebar__section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.agent-mcp-sidebar__section-head h4{margin:0;font-size:14px;color:#475569}.agent-mcp-sidebar__count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 7px;border-radius:999px;background:#e4edff;color:#3159d6;font-size:12px;font-weight:700}.agent-mcp-sidebar__create,.agent-skill-sidebar__btn{padding:8px 12px;font-size:13px;border-radius:12px}.agent-mcp-sidebar__list,.agent-mcp-main,.agent-mcp-detail{display:flex;flex-direction:column;gap:8px}.agent-sidebar-item{width:100%;border:none;border-radius:16px;background:#f8fafc;padding:12px;text-align:left;display:flex;align-items:center;gap:10px;transition:background .15s ease;cursor:pointer}.agent-sidebar-item:hover{background:#f1f5f9}.agent-sidebar-item.is-active{background:#eef3ff}.agent-sidebar-item__icon{flex:0 0 28px;height:28px;display:inline-flex;align-items:center;justify-content:center;font-size:14px}.agent-sidebar-item__body{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.agent-sidebar-item__title{display:block;font-size:14px;font-weight:700;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-sidebar-item__subtitle{display:block;color:#64748b;font-size:12px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-sidebar-item__trailing{flex-shrink:0;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;max-width:140px}.agent-mcp-sidebar__empty{width:100%;border:none;border-radius:16px;background:#f8fafc;padding:16px 12px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:4px}.agent-mcp-sidebar__empty-icon{font-size:20px;margin-bottom:2px}.agent-mcp-sidebar__empty p{margin:0;font-size:13px;font-weight:600;color:#0f172a}.agent-mcp-sidebar__empty span{margin:0;font-size:11px;color:#64748b;line-height:1.5}.agent-mcp-status-dot{display:inline-block;width:10px;height:10px;border-radius:50%;background:#cbd5e1}.agent-mcp-status-dot--connected{background:#0f9f6e}.agent-mcp-status-dot--validated{background:#3159d6}.agent-mcp-status-dot--error{background:#be123c}.agent-mcp-status-dot--connecting{background:#f59e0b}.agent-mcp-card{padding:16px}.agent-mcp-card__actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.agent-mcp-enable-switch{display:flex;align-items:center;gap:8px;padding:4px 10px;border-radius:999px;background:#fff;border:1px solid #dbe6f6}.agent-mcp-enable-label{font-size:13px;font-weight:700;color:#64748b;transition:color .15s ease}.agent-mcp-enable-label.is-on{color:#0f9f6e}.agent-mcp-alert{margin-top:12px;padding:10px 14px;border-radius:14px;font-size:13px;font-weight:600;line-height:1.5}.agent-mcp-alert--info{background:#e4edff;color:#3159d6}.agent-mcp-alert--error{background:#fff1f2;color:#be123c}.agent-mcp-form{display:flex;flex-direction:column;gap:12px;margin-top:12px}.agent-mcp-form__row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.agent-mcp-form__full{grid-column:1 / -1}.agent-mcp-masked-note{margin:0;color:#64748b;font-size:12px;line-height:1.5}.agent-mcp-action-bar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:16px;padding-top:16px;border-top:1px solid #dbe6f6}.agent-mcp-action-bar__ghost{background:transparent;color:#64748b;font-weight:500}.agent-mcp-action-bar__ghost:hover:not(:disabled){background:#f1f5f9;color:#0f172a}.agent-mcp-danger-zone{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding:14px;border-radius:16px;background:#fff1f2;border:1px solid #fecdd3}.agent-mcp-danger-zone strong{display:block;font-size:14px;color:#9f1239;margin-bottom:2px}.agent-mcp-danger-zone span{display:block;font-size:12px;color:#be123c;line-height:1.5}.agent-mcp-runtime-list{margin:12px 0 0;display:flex;align-items:stretch;gap:12px}.agent-mcp-runtime-list div{flex:1;padding:12px;border-radius:16px;background:#f8fafc}.agent-mcp-runtime-list dt{color:#64748b;font-size:12px}.agent-mcp-runtime-list dd{margin:6px 0 0;font-weight:700}.agent-mcp-status,.agent-mcp-tools-count{display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:32px;padding:0 12px;border-radius:999px;background:#e4edff;color:#3159d6;font-size:12px;font-weight:700}.agent-mcp-status--connected,.agent-mcp-status--validated{background:#e8fff7;color:#0f9f6e}.agent-mcp-status--error{background:#fff1f2;color:#be123c}.agent-mcp-status--draft{background:#f1f5f9;color:#64748b}.agent-mcp-error-card,.agent-mcp-warning-strip{border-radius:18px;background:#fff1f2;border:1px solid #fecdd3;padding:14px}.agent-mcp-error-card strong,.agent-mcp-warning-strip strong{display:block;margin-bottom:4px;color:#9f1239}.agent-mcp-error-card span,.agent-mcp-error-card p,.agent-mcp-warning-strip p{color:#be123c}.agent-mcp-empty-state{padding:32px 24px;border-radius:18px;background:#f8fafc;display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px}.agent-mcp-empty-state__icon{font-size:32px;margin-bottom:4px}.agent-mcp-empty-state strong{font-size:14px;color:#0f172a}.agent-mcp-empty-state p{margin:0;font-size:13px;color:#64748b;line-height:1.5}.agent-mcp-tools-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.agent-mcp-tool-card{width:100%;border:none;border-radius:16px;background:#f8fafc;padding:14px;text-align:left;display:flex;flex-direction:column;gap:6px}.agent-mcp-tool-card__header{display:flex;align-items:center;justify-content:space-between;gap:8px}.agent-mcp-tool-card__header strong{font-size:14px;line-height:1.3}.agent-mcp-tool-card__badge{flex-shrink:0;display:inline-flex;align-items:center;min-height:22px;padding:0 8px;border-radius:6px;background:#fff1f2;color:#be123c;font-size:11px;font-weight:700}.agent-mcp-tool-card p{margin:0;color:#64748b;font-size:13px;line-height:1.5}.agent-mcp-tool-card__hint{font-size:12px;color:#94a3b8;line-height:1.5}.agent-mcp-danger-button{border:none;border-radius:16px;background:#be123c;color:#fff;padding:11px 14px;font-weight:700}.agent-mcp-builtin-title-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:4px}.agent-mcp-builtin-title-row h3{margin:0;font-size:18px}.agent-mcp-builtin-badge{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:700}.agent-mcp-builtin-badge--primary{background:#e4edff;color:#3159d6;border:1px solid #c7d7ff}.agent-mcp-builtin-badge--amber{background:#fffbeb;color:#b45309;border:1px solid #fcd34d}.agent-mcp-builtin-badge--muted{background:#f1f5f9;color:#64748b;border:1px solid #e2e8f0}.agent-mcp-builtin-note{margin-top:12px;padding:10px 14px;border-radius:14px;background:#f8fafc;border:1px solid #e2e8f0;font-size:13px;color:#64748b;line-height:1.5}.agent-mcp-builtin-grid{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:12px;margin-top:12px}.agent-mcp-builtin-schema-card{min-width:0}.agent-mcp-builtin-schema-card .agent-mcp-card__header{margin-bottom:12px}.agent-mcp-builtin-schema-card .agent-mcp-card__header h3{font-size:14px}.agent-mcp-builtin-schema-card .agent-mcp-card__header p{font-size:12px}.agent-mcp-builtin-pre{margin:0;max-width:100%;overflow-x:auto;border-radius:14px;background:#f8fafc;padding:12px;font-size:12px;line-height:1.6;color:#0f172a}.agent-mcp-builtin-summary-card .agent-mcp-card__header{margin-bottom:12px}.agent-mcp-builtin-summary-card .agent-mcp-card__header h3{font-size:14px}.agent-mcp-builtin-summary-card .agent-mcp-card__header p{font-size:12px}.agent-mcp-builtin-summary-list{display:flex;flex-direction:column;gap:8px}.agent-mcp-builtin-summary-item{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border-radius:12px;background:#f8fafc;border:1px solid #e2e8f0;font-size:13px}.agent-mcp-builtin-summary-item dt{color:#64748b}.agent-mcp-builtin-summary-item dd{margin:0;font-weight:700;color:#0f172a;text-align:right}@media(max-width:1099px){.agent-app{padding:10px}.agent-sidebar__nav{grid-template-columns:repeat(2,minmax(0,1fr))}.agent-sidebar__copy small{display:none}.agent-system-grid,.agent-skill-manager,.agent-mcp-workspace{grid-template-columns:1fr}.agent-workspace{gap:10px}}.agent-settings-body{display:flex;flex-direction:column;gap:14px}.agent-settings-tabs{display:flex;flex-wrap:wrap;gap:6px;border-bottom:1px solid #e2e8f0;padding-bottom:10px}.agent-settings-tab{border:none;border-radius:12px;background:#f8fafc;color:#475569;padding:8px 14px;font-size:13px;font-weight:600;transition:background .18s ease,color .18s ease}.agent-settings-tab:hover{background:#eef3ff;color:#3159d6}.agent-settings-tab.is-active{background:linear-gradient(180deg,#3159d6,#274bb3);color:#fff}.agent-settings-panel{display:flex;flex-direction:column;gap:12px}.agent-settings-section{display:flex;flex-direction:column;gap:10px}.agent-settings-section .agent-field textarea{min-height:140px}.agent-system-card.is-prompt-active{flex:1;min-height:0}.agent-system-card.is-prompt-active .agent-settings-body,.agent-system-card.is-prompt-active .agent-settings-panel{flex:1;min-height:0;display:flex;flex-direction:column}.agent-prompt-editor{flex:1;min-height:0;display:flex;flex-direction:column;gap:10px}.agent-prompt-editor__header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}.agent-prompt-editor__header>span{font-size:14px;font-weight:600;color:#334155}.agent-prompt-editor__tabs{display:flex;gap:4px;padding:3px;border-radius:10px;background:#f1f5f9}.agent-prompt-editor__tab{border:none;border-radius:8px;background:transparent;color:#64748b;padding:5px 12px;font-size:12px;font-weight:600;transition:background .18s ease,color .18s ease;cursor:pointer}.agent-prompt-editor__tab:hover{background:#e2e8f0;color:#334155}.agent-prompt-editor__tab.is-active{background:#fff;color:#3159d6;box-shadow:0 1px 3px #0f172a14}.agent-prompt-editor__body{flex:1;min-height:0;display:flex;flex-direction:column}.agent-prompt-editor__textarea{flex:1;min-height:0;width:100%;border:1px solid #cbd5e1;border-radius:16px;background:#fff;padding:12px 14px;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,monospace;font-size:13px;line-height:1.6;resize:none;outline:none;transition:border-color .15s ease}.agent-prompt-editor__textarea:focus{border-color:#3159d6}.agent-prompt-editor__preview{flex:1;min-height:0;width:100%;border:1px solid #cbd5e1;border-radius:16px;background:#fff;padding:12px 14px;overflow:auto;font-size:13px;line-height:1.6}.agent-settings-group{display:flex;flex-direction:column;gap:0;border-radius:20px;background:#f8fafc;overflow:hidden}.agent-setting-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;min-height:52px;border-bottom:1px solid #f1f5f9}.agent-setting-row:last-child{border-bottom:none}.agent-setting-row.is-disabled{opacity:.5}.agent-setting-row__label{font-size:14px;color:#0f172a;font-weight:500}.agent-setting-row__input{width:96px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;padding:8px 10px;text-align:right;font-size:14px}.agent-setting-row__select{border:1px solid #cbd5e1;border-radius:12px;background:#fff;padding:8px 10px;font-size:14px;min-width:120px}.agent-settings-hint{margin:0;color:#64748b;font-size:13px;line-height:1.6}@media(max-width:767px){.agent-app{padding:8px}.agent-sidebar{padding:6px}.agent-sidebar__nav{display:flex;overflow:auto;padding-bottom:2px;scrollbar-width:none}.agent-sidebar__nav::-webkit-scrollbar{display:none}.agent-sidebar__tab{min-width:120px;min-height:44px;padding:6px 10px}.agent-system-grid,.agent-system-kv,.agent-system-metric-row{grid-template-columns:1fr}.agent-workspace{gap:10px}.agent-workspace--conversations .agent-pane--chat,.agent-workspace--chat .agent-pane--conversations,.agent-pane--context{display:none}.agent-pane__header{padding:14px 14px 10px}.agent-chat__header-main{flex-direction:column;align-items:flex-start}.agent-mobile-back{display:inline-flex}.agent-chat__timeline{padding:14px 16px}.agent-message{max-width:min(100%,90%)}.agent-composer{padding:12px 16px calc(16px + env(safe-area-inset-bottom,0px))}.agent-capability-summary-card__header{flex-direction:column}}.agent-pane__add{width:36px;height:36px;border-radius:12px;border:none;background:#e7eefc;color:#3159d6;font-size:20px;font-weight:700;line-height:1;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;transition:background .18s ease,transform .18s ease}.agent-pane__add:hover{background:#d4dff9;transform:translateY(-1px)}.invite-modal-backdrop{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:20px;background:#0f172a73;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.invite-modal{width:min(100%,480px);border-radius:24px;background:#fff;box-shadow:0 24px 64px #0f172a2e;overflow:hidden}.invite-modal__header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px 14px;border-bottom:1px solid rgba(148,163,184,.16)}.invite-modal__header h3{margin:0;font-size:18px}.invite-modal__close{width:32px;height:32px;border-radius:10px;border:none;background:#f1f5f9;color:#64748b;font-size:16px;display:inline-flex;align-items:center;justify-content:center;transition:background .18s ease,color .18s ease}.invite-modal__close:hover{background:#e2e8f0;color:#0f172a}.invite-modal__body{display:flex;flex-direction:column;gap:14px;padding:18px 20px 20px}.invite-modal__result{display:flex;flex-direction:column;gap:12px}.invite-modal__url-row{display:flex;gap:8px}.invite-modal__url-input{flex:1;min-width:0;border:1px solid #cbd5e1;border-radius:14px;padding:10px 12px;background:#f8fafc;font-size:13px;color:#334155}.invite-modal__actions{display:flex;gap:10px}.invite-modal__actions .agent-primary-button,.invite-modal__actions .agent-secondary-button{flex:1}.prompt-modal-backdrop{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:20px;background:#0f172a73;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.prompt-modal{width:80vw;height:80vh;max-height:80vh;border-radius:24px;background:#fff;box-shadow:0 24px 64px #0f172a2e;overflow:hidden;display:flex;flex-direction:column}.prompt-modal__header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px 14px;flex-shrink:0}.prompt-modal__header h3{margin:0;font-size:18px}.prompt-modal__close{width:32px;height:32px;border-radius:10px;border:none;background:#f1f5f9;color:#64748b;font-size:16px;line-height:1;cursor:pointer;transition:background .15s ease,color .15s ease;display:inline-flex;align-items:center;justify-content:center}.prompt-modal__close:hover{background:#e2e8f0;color:#0f172a}.prompt-modal__body{flex:1;min-height:0;display:flex;flex-direction:column;gap:14px;padding:0 20px 20px}.prompt-modal__textarea{flex:1;min-height:200px;width:100%;border:1px solid #cbd5e1;border-radius:16px;background:#fff;padding:12px 14px;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,monospace;font-size:13px;line-height:1.6;resize:none;outline:none;transition:border-color .15s ease}.prompt-modal__textarea:focus{border-color:#3159d6}.prompt-modal__tabs{display:flex;gap:4px;padding:3px;border-radius:10px;background:#f1f5f9;flex-shrink:0;align-self:flex-start}.prompt-modal__tab{border:none;border-radius:8px;background:transparent;color:#64748b;padding:5px 12px;font-size:12px;font-weight:600;transition:background .18s ease,color .18s ease;cursor:pointer}.prompt-modal__tab:hover{background:#e2e8f0;color:#334155}.prompt-modal__tab.is-active{background:#fff;color:#3159d6;box-shadow:0 1px 3px #0f172a14}.prompt-modal__preview{flex:1;min-height:200px;width:100%;border:1px solid #cbd5e1;border-radius:16px;background:#fff;padding:12px 14px;font-size:13px;line-height:1.6;overflow-y:auto}.prompt-modal__preview-empty{color:#94a3b8;margin:0}.prompt-modal__actions{display:flex;gap:10px;justify-content:flex-end;flex-shrink:0}.agent-execution-trace{margin-top:10px}.agent-execution-trace__summary{padding:2px 0 8px;font-size:12px;font-weight:600;cursor:pointer;list-style:none;display:flex;align-items:center;gap:6px;color:inherit;opacity:.55}.agent-execution-trace__summary::-webkit-details-marker{display:none}.agent-execution-trace__summary:before{content:"▸";display:inline-block;transition:transform .15s ease;font-size:10px}.agent-execution-trace[open] .agent-execution-trace__summary:before{transform:rotate(90deg)}.agent-execution-trace__body{padding:0}.agent-execution-trace__list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:4px}.agent-execution-trace__item{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:5px 10px;border-radius:10px;background:#ffffff0f;cursor:pointer;transition:background .12s ease}.agent-execution-trace__item:hover{background:#ffffff1f}.agent-message--incoming .agent-execution-trace__item{background:#f1f5f9}.agent-message--incoming .agent-execution-trace__item:hover{background:#e2e8f0}.agent-execution-trace__item-header{display:flex;align-items:center;gap:8px;flex:1;min-width:0}.agent-execution-trace__badge{font-size:11px;font-weight:700;color:#fffffff2;flex-shrink:0}.agent-message--incoming .agent-execution-trace__badge{color:#3159d6}.agent-execution-trace__summary-text{font-size:11px;opacity:.65;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-shrink:1;min-width:0}.agent-execution-trace__meta{font-size:11px;opacity:.5;margin-left:auto;white-space:nowrap}.agent-execution-trace__detail-toggle{font-size:11px;color:inherit;opacity:.5;background:none;border:none;cursor:pointer;padding:0;white-space:nowrap;flex-shrink:0}.agent-execution-trace__detail-toggle:hover{opacity:.9;text-decoration:underline}.agent-execution-trace__detail{margin:4px 0 0;padding:6px 8px;border-radius:8px;font-size:11px;line-height:1.5;overflow-x:auto;white-space:pre-wrap;word-break:break-word;width:100%;min-width:0;background:#0000001f;color:inherit}.agent-message--incoming .agent-execution-trace__detail{background:#e2e8f0;color:#0f172a}.agent-execution-trace__error{margin:0;padding:8px 10px;border-radius:10px;background:#fff1f2;color:#be123c;font-size:12px}.agent-execution-trace__empty{margin:0;font-size:12px;opacity:.6}.agent-thinking-content{font-size:12px;line-height:1.5;max-height:300px;overflow:auto}.agent-thinking-content>*:first-child{margin-top:0!important}.agent-thinking-content>*:last-child{margin-bottom:0!important}.agent-thinking-content p{margin:0 0 4px}.agent-thinking-content pre{margin:4px 0;padding:6px 8px;border-radius:6px;background:#00000014;overflow-x:auto}.agent-thinking-content code{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,monospace;font-size:.9em;padding:1px 4px;border-radius:4px;background:#0000000f}.agent-thinking-content pre code{background:transparent;padding:0}.agent-message--incoming .agent-thinking-content pre{background:#0000000f}.agent-live-trace{align-self:flex-end;max-width:min(100%,82%);background:#3159d6;color:#fff;border-radius:14px;padding:10px 14px;margin-top:4px;animation:agent-live-pulse 2s ease-in-out infinite}.agent-live-trace__status{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;margin-bottom:4px;color:#ffffffe6}.agent-message--live{animation:agent-live-pulse 2s ease-in-out infinite}@keyframes agent-live-pulse{0%,to{box-shadow:0 12px 24px #0f172a0d}50%{box-shadow:0 12px 32px #3159d62e}}.agent-context__header{border-bottom:1px solid rgba(148,163,184,.16)}.agent-context__tabs{display:flex;gap:6px;padding:10px 14px;border-bottom:1px solid rgba(148,163,184,.16)}.agent-context__tab{flex:1;border:none;border-radius:10px;background:#f8fafc;color:#475569;padding:7px 10px;font-size:13px;font-weight:600;transition:background .18s ease,color .18s ease;cursor:pointer}.agent-context__tab:hover{background:#eef3ff;color:#3159d6}.agent-context__tab.is-active{background:linear-gradient(180deg,#3159d6,#274bb3);color:#fff}.agent-context__body{flex:1;min-height:0;overflow:auto;padding:12px 14px}.agent-context__section{display:flex;flex-direction:column;gap:10px}.agent-context__list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px}.agent-context__memory-card,.agent-context__task-card{padding:12px;border-radius:14px;background:#f8fafc;display:flex;flex-direction:column;gap:6px}.agent-context__memory-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.agent-context__memory-category{display:inline-flex;align-items:center;min-height:20px;padding:0 7px;border-radius:6px;background:#e4edff;color:#3159d6;font-size:11px;font-weight:700;white-space:nowrap;flex-shrink:0}.agent-context__memory-time{color:#94a3b8;font-size:11px;white-space:nowrap;flex-shrink:0}.agent-context__memory-card p{margin:0;font-size:13px;line-height:1.6;color:#334155}.agent-context__task-header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.agent-context__task-header strong{font-size:13px;line-height:1.4;color:#0f172a}.agent-context__task-time{color:#94a3b8;font-size:11px;white-space:nowrap}.agent-context-task__status{display:inline-flex;align-items:center;min-height:20px;padding:0 7px;border-radius:6px;font-size:11px;font-weight:700;flex-shrink:0}.agent-context-task__status--pending{background:#fffbeb;color:#b45309}.agent-context-task__status--executing{background:#e4edff;color:#3159d6}.agent-context-task__status--completed{background:#e8fff7;color:#0f9f6e}.agent-context-task__status--failed{background:#fff1f2;color:#be123c}.agent-context-task__status--cancelled{background:#f1f5f9;color:#64748b}.agent-context-menu{position:fixed;z-index:100;min-width:160px;padding:6px;border-radius:16px;background:#fffffff5;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:0 18px 48px #0f172a1f;border:1px solid rgba(226,232,240,.8);animation:agent-context-menu-in .12s ease forwards}@keyframes agent-context-menu-in{0%{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}.agent-context-menu__item{width:100%;border:none;border-radius:12px;background:transparent;color:#0f172a;padding:10px 14px;font-size:13px;font-weight:600;text-align:left;transition:background .15s ease,color .15s ease;cursor:pointer;white-space:nowrap}.agent-context-menu__item:hover:not(:disabled){background:#eef3ff;color:#3159d6}.agent-context-menu__item:disabled{opacity:.6;cursor:not-allowed}.cockpit-page{height:100%;min-height:0}.cockpit-sidebar{min-width:0;display:flex;flex-direction:column;overflow:hidden}.cockpit-sidebar.agent-mcp-sidebar{padding:0}.cockpit-sidebar__header{padding:16px 18px}.cockpit-sidebar__header h4{margin:0;font-size:14px;font-weight:700;color:#0f172a}.cockpit-sidebar__header p{margin:4px 0 0;font-size:12px;color:#64748b}.cockpit-sidebar__content{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:16px}.cockpit-sidebar__section{display:flex;flex-direction:column;gap:8px}.cockpit-sidebar__section-title{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:600;color:#334155}.cockpit-sidebar__section-title small{font-size:11px;color:#94a3b8;font-weight:500}.cockpit-sidebar__subsection{display:flex;flex-direction:column;gap:4px}.cockpit-sidebar__subsection>small{font-size:10px;text-transform:uppercase;letter-spacing:.05em;color:#94a3b8;font-weight:600}.cockpit-sidebar__item{display:flex;align-items:center;justify-content:space-between;padding:6px 10px;border-radius:8px;background:#f8fafc;border:1px solid #e2e8f0;font-size:12px;color:#334155}.cockpit-sidebar__item span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:180px}.cockpit-status-dot{width:7px;height:7px;border-radius:50%;background:#cbd5e1;flex-shrink:0}.cockpit-status-dot.is-on{background:#22c55e}.cockpit-sidebar__more{color:#94a3b8;padding-left:4px}.cockpit-sidebar__empty{font-size:12px;color:#94a3b8;padding:4px}.cockpit-sidebar__prompt{display:block;width:100%;text-align:left;padding:10px;border-radius:8px;background:#f8fafc;border:1px solid #e2e8f0;cursor:pointer;transition:background .15s ease,border-color .15s ease,box-shadow .15s ease}.cockpit-sidebar__prompt:hover{background:#eef3ff;border-color:#c7d7fe;box-shadow:0 2px 8px #3159d614}.cockpit-sidebar__prompt p{margin:0;font-size:11px;line-height:1.6;color:#64748b;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.cockpit-sidebar__settings{display:flex;flex-direction:column;gap:4px}.cockpit-sidebar__setting-row{display:flex;align-items:center;justify-content:space-between;padding:6px 10px;border-radius:8px;background:#f8fafc;border:1px solid #e2e8f0;font-size:11px}.cockpit-sidebar__setting-row span:first-child{color:#64748b}.cockpit-sidebar__setting-row span:last-child{color:#334155;font-weight:600;max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cockpit-chat{flex:1;display:flex;flex-direction:column;min-width:0;padding:0;overflow:hidden}.cockpit-chat.agent-mcp-card{padding:0}.cockpit-chat__header{display:flex;align-items:center;justify-content:space-between;padding:10px 16px 8px;min-height:44px;border-bottom:1px solid rgba(148,163,184,.16)}.cockpit-chat__header h3{margin:0;font-size:15px;font-weight:700;color:#0f172a}.cockpit-chat__header p{margin:4px 0 0;font-size:12px;color:#64748b}.cockpit-chat__header .cockpit-chat__status{color:#2563eb;font-weight:600}.cockpit-chat__list{flex:1;overflow-y:auto;padding:16px 20px;display:flex;flex-direction:column;gap:12px}.cockpit-chat__empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px 20px}.cockpit-chat__empty-icon{font-size:32px;margin-bottom:12px}.cockpit-chat__empty h4{margin:0;font-size:16px;font-weight:700;color:#0f172a}.cockpit-chat__empty p{margin:8px 0 0;font-size:13px;color:#64748b;max-width:320px}.cockpit-chat__examples{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:20px}.cockpit-chat__example-chip{padding:6px 14px;border-radius:999px;border:1px solid #e2e8f0;background:#f8fafc;color:#64748b;font-size:12px;font-weight:500;cursor:pointer;transition:all .15s ease}.cockpit-chat__example-chip:hover{background:#eef3ff;color:#3159d6;border-color:#c7d7ff}.cockpit-chat__input-area{padding:8px 16px 12px}.cockpit-sidebar__mcp-count{display:inline-flex;align-items:center;gap:2px;font-size:11px;color:#94a3b8}.cockpit-sidebar__toggle-row{display:flex;align-items:center;gap:8px;padding:5px 8px;border-radius:8px;cursor:pointer;transition:background .12s ease;font-size:12px;color:#334155}.cockpit-sidebar__toggle-row:hover{background:#f1f5f9}.cockpit-sidebar__toggle-row input[type=checkbox]{width:14px;height:14px;accent-color:#3159d6;cursor:pointer;flex-shrink:0}.cockpit-sidebar__toggle-row input[type=checkbox]:disabled{cursor:not-allowed;opacity:.6}.cockpit-sidebar__toggle-main{display:flex;flex-direction:column;flex:1;min-width:0;gap:1px}.cockpit-sidebar__toggle-name{font-size:12px;font-weight:500;color:#334155;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cockpit-sidebar__toggle-desc{font-size:10px;color:#94a3b8;line-height:1.4;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.cockpit-status-dot{flex:none}.cockpit-sidebar__mcp-group{margin-bottom:4px}.cockpit-sidebar__mcp-tools{margin-left:26px;padding-left:8px;border-left:1.5px solid #e2e8f0;display:flex;flex-direction:column;gap:4px;margin-top:2px}.cockpit-sidebar__mcp-tool{display:flex;flex-direction:column;gap:1px;padding:3px 6px;border-radius:6px}.cockpit-sidebar__mcp-tool:hover{background:#f8fafc}.cockpit-sidebar__mcp-tool-name{font-size:11px;font-weight:600;color:#475569}.cockpit-sidebar__mcp-tool-desc{font-size:10px;color:#94a3b8;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.cockpit-sidebar__toggle-label{display:flex;align-items:center;gap:8px;flex:1;min-width:0;cursor:pointer}.cockpit-sidebar__toggle-label .cockpit-sidebar__toggle-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cockpit-sidebar__mcp-expand{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;padding:0;border:none;background:transparent;color:#94a3b8;cursor:pointer;border-radius:4px;transition:background .12s ease,transform .2s ease;flex-shrink:0}.cockpit-sidebar__mcp-expand:hover{background:#e2e8f0;color:#64748b}.cockpit-sidebar__mcp-expand svg{transition:transform .2s ease}.cockpit-sidebar__mcp-expand.is-expanded svg{transform:rotate(90deg)}.cockpit-sidebar__section-toggle{display:flex;align-items:center;gap:4px;cursor:pointer;margin-left:auto}.cockpit-sidebar__section-toggle input[type=checkbox]{width:14px;height:14px;accent-color:#3159d6;cursor:pointer}.cockpit-sidebar__section-toggle small{font-size:11px;color:#64748b;-webkit-user-select:none;user-select:none}.cockpit-status-text{font-size:12px;color:#64748b;margin-right:4px}.tooltip-popup{background:#1e293b;color:#fff;padding:6px 10px;border-radius:6px;font-size:11px;line-height:1.4;white-space:normal;max-width:240px;box-shadow:0 4px 12px #00000026;pointer-events:none}
