.ec-shell{display:flex;width:100%;height:100%;min-height:0;overflow:hidden;background:#f5f7f9;color:#1d2d3e;border:1px solid #d7dee5;border-radius:4px}.ec-history{width:238px;flex:none;background:#f0f3f5;border-right:1px solid #d7dee5;display:flex;flex-direction:column;min-height:0}.ec-history-head{height:56px;flex:none;padding:0 14px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #d7dee5}.ec-history-head strong{font-size:14px}.ec-history-list{flex:1;min-height:0;overflow:auto;padding:8px}.ec-history-list button{height:38px;width:100%;border:0;border-radius:3px;padding:0 10px;text-align:left;background:transparent;color:#33485c;display:flex;align-items:center;gap:9px;cursor:pointer}.ec-history-list button span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ec-history-list button:hover,.ec-history-list button.active{background:#dcecf8;color:#0064b4}.ec-history-foot{height:42px;border-top:1px solid #d7dee5;padding:0 14px;display:flex;align-items:center;gap:8px;font-size:12px;color:#52677a}.ec-state-dot{width:7px;height:7px;border-radius:50%;background:#30914c}.ec-main{display:flex;flex:1;min-width:0;min-height:0;flex-direction:column}.ec-header{height:68px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:0 22px;border-bottom:1px solid #dfe4e8;background:#fff}.ec-header h1{font-size:19px;line-height:24px;margin:2px 0 0;font-weight:600}.ec-eyebrow{font-size:11px;color:#697d8f}.ec-body{display:flex;flex:1;min-height:0;flex-direction:column}.ec-thread{flex:1;min-height:0;overflow:auto;padding:18px max(20px,calc((100% - 860px)/2))}.ec-empty{margin:8vh auto 0;text-align:center;max-width:520px}.ec-emblem{height:46px;width:46px;border:1px solid #b4d6ee;background:#e8f3fb;color:#0875c9;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:22px}.ec-empty h2{font-size:20px;margin:14px 0 5px}.ec-empty p{margin:0;color:#627789;font-size:13px;line-height:1.6}.ec-suggestions{display:flex;gap:8px;justify-content:center;margin-top:18px;flex-wrap:wrap}.ec-suggestions button{border:1px solid #cbd6df;border-radius:3px;padding:8px 12px;background:#fff;color:#345064;cursor:pointer}.ec-suggestions button:hover{border-color:#0a6ed1;color:#0a6ed1}.ec-message{display:flex;gap:10px;max-width:760px;margin:16px auto;align-items:flex-start}.ec-message .ec-avatar{width:28px;height:28px;flex:none;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#e4ebf0;color:#506579;font-size:11px}.ec-assistant .ec-avatar{background:#d8edfb;color:#076eb8}.ec-content{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;font-size:14px}.ec-user .ec-content{padding:10px 13px;background:#e8f3fb;border:1px solid #d5e8f7;border-radius:4px}.ec-meta{margin-top:4px;font-size:10px;color:#8795a1}.ec-run{max-width:760px;margin:18px auto 22px;background:#fff;border:1px solid #d5dde4;border-radius:4px;padding:13px 15px}.ec-run-title{display:flex;justify-content:space-between;align-items:center;font-weight:600;font-size:13px;padding-bottom:9px;border-bottom:1px solid #edf0f2}.ec-run-title i{color:#0875c9}.ec-stages{display:grid;grid-template-columns:1fr 1fr;gap:7px 14px;padding-top:10px}.ec-stage{min-width:0;display:flex;gap:8px;align-items:center;padding:7px 8px;border:1px solid #edf0f2;border-radius:3px}.ec-stage-icon{width:21px;height:21px;border-radius:50%;flex:none;background:#f1f3f5;display:flex;align-items:center;justify-content:center;color:#8998a5;font-size:12px}.ec-stage-completed .ec-stage-icon{background:#e5f4e8;color:#278443}.ec-stage-running .ec-stage-icon{background:#e4f2fc;color:#0875c9}.ec-stage-needs_human .ec-stage-icon,.ec-stage-waiting_review .ec-stage-icon{background:#fff3dc;color:#a76c00}.ec-stage-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.ec-stage-copy strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ec-stage-copy span{font-size:10px;color:#748594;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ec-stage .el-tag{flex:none}.ec-confirm,.ec-error,.ec-result{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 0;font-size:12px}.ec-confirm{color:#705300}.ec-error{color:#bb0000}.ec-result{justify-content:flex-start;color:#237a3b;border-top:1px solid #edf0f2}.ec-run-actions{display:flex;justify-content:flex-end;border-top:1px solid #edf0f2;padding-top:5px}.ec-composer{flex:none;background:#fff;border-top:1px solid #dfe4e8;padding:10px max(20px,calc((100% - 860px)/2)) 9px}.ec-attachments{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-bottom:6px}.ec-chip{display:inline-flex;align-items:center;gap:6px;height:22px;border:1px solid #d8e0e6;border-radius:3px;padding:0 7px;font-size:11px;color:#53697a}.ec-chip i{cursor:pointer}.ec-input-row{display:flex;align-items:flex-end;gap:8px}.ec-input-row .el-textarea__inner{border-color:#b9c7d2;box-shadow:none;min-height:52px!important}.ec-input-row>.el-button{height:52px;min-width:88px}.ec-note{font-size:10px;color:#81909b;margin:6px 2px 0}.ec-doc-list{height:320px;overflow:auto;display:flex;flex-direction:column;gap:8px;padding:12px 4px}.ec-doc-list .el-checkbox{display:flex;align-items:center}.ec-doc-list .el-checkbox__label{white-space:normal;line-height:1.4}.ec-doc-list small{color:#82909b;margin-left:8px}.content-wrapper.ec-workspace-active{padding:12px;overflow:hidden;min-height:0}.content-wrapper.ec-workspace-active .ec-shell{min-height:0}@media(max-width:760px){.ec-history{width:58px}.ec-history-head{padding:0;justify-content:center}.ec-history-head strong{display:none}.ec-history-head .el-button{padding:7px}.ec-history-head .el-button span{display:none}.ec-history-list{padding:5px}.ec-history-list button{padding:0;justify-content:center}.ec-history-list button span{display:none}.ec-history-foot{padding:0;justify-content:center;font-size:0}.ec-header{height:58px;padding:0 12px}.ec-header h1{font-size:16px}.ec-thread{padding:12px}.ec-stages{grid-template-columns:1fr}.ec-composer{padding:8px 10px}.ec-input-row>.el-button{min-width:68px}.ec-note{line-height:1.4}.ec-empty{margin-top:5vh}}

.ec-stage-copy>span{white-space:normal;overflow-wrap:anywhere}.ec-stage-copy>small{font-size:10px;color:#0875c9}.ec-stage{align-items:flex-start}.ec-output{font-size:11px;margin-top:5px}.ec-output summary{color:#0875c9;cursor:pointer}.ec-output pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:12px;line-height:1.7;max-height:300px;overflow:auto;background:#f4f7fa;padding:8px;border:1px solid #e1e7ed;border-radius:3px}.ec-stage-copy{overflow:hidden}
