body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.App{min-height:100vh;color:#172033;background:#f5f7fb;text-align:left}.app-shell{min-height:100vh;background:#f5f7fb}.app-sidebar{position:sticky!important;top:0;height:100vh;overflow:auto;background:#fff!important;border-right:1px solid #e5ebf3}.app-brand{display:flex;gap:12px;align-items:center;height:88px;padding:20px 18px 14px}.app-brand.collapsed{justify-content:center;padding-right:0;padding-left:0}.app-sidebar-menu.ant-menu{padding:0 12px;border-inline-end:0!important}.app-sidebar-menu .ant-menu-item,.app-sidebar-menu .ant-menu-submenu-title{height:46px;line-height:46px;margin:4px 0;border-radius:8px}.app-sidebar-menu .ant-menu-item-selected{color:#1264e6;font-weight:700;background:#e8f1ff}.app-main{min-width:0}.app-header{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;height:64px;padding:0 24px;background:#ffffffe6;border-bottom:1px solid #e5ebf3;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.app-content{min-width:0}.novel-video-preview-card{width:min(28vw,320px)}@media (min-width: 992px){.novel-video-preview-card{position:fixed;top:50%;right:24px;z-index:4;transform:translateY(-50%)}}@media (max-width: 991px){.novel-video-preview-card{width:100%;margin-top:16px}}.app-content>.saas-shell{min-height:auto;background:transparent}.app-content>.saas-shell>.saas-sider{display:none}.app-content>.saas-shell .saas-header{display:none}.app-content>.saas-shell .page-content{padding:24px}.saas-shell{min-height:100vh;background:radial-gradient(circle at 12% 0%,rgba(47,111,237,.08),transparent 24%),linear-gradient(180deg,#f8fbff,#f2f5fa)}.saas-sider{position:sticky;top:0;height:100vh;padding:18px 14px;background:#ffffffeb!important;border-right:1px solid #e7edf6;box-shadow:1px 0 #0f172a05}.brand-lockup{display:flex;gap:10px;align-items:center;padding:4px 8px 22px}.brand-mark{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;color:#fff;font-weight:800;background:linear-gradient(135deg,#1f7aff,#16b8a6);border-radius:8px;box-shadow:0 8px 20px #1f7aff3d}.brand-title{font-size:16px;font-weight:750;line-height:1.1;color:#121a2f}.brand-subtitle{margin-top:3px;font-size:12px;color:#7b879a}.saas-menu{display:flex;flex-direction:column;gap:6px}.saas-menu-item{display:flex;gap:10px;align-items:center;min-height:40px;padding:0 12px;color:#44546f;border-radius:8px;cursor:pointer;transition:all .2s ease}.saas-menu-item:hover{color:#1677ff;background:#eef5ff}.saas-menu-item.active{color:#1264e6;font-weight:650;background:#e8f1ff}.saas-sider-footer{position:absolute;right:14px;bottom:18px;left:14px;padding:12px;color:#5d6b82;background:#f6f9fd;border:1px solid #e7edf6;border-radius:8px}.saas-main{min-width:0}.saas-header{height:64px;padding:0 28px;background:#ffffffe0;border-bottom:1px solid #e7edf6;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.saas-header-inner{display:flex;align-items:center;justify-content:space-between;height:100%}.page-content{padding:24px 28px 32px}.page-heading{display:flex;gap:20px;align-items:flex-start;justify-content:space-between;margin-bottom:18px}.page-kicker{margin-bottom:6px;font-size:13px;font-weight:650;color:#1677ff}.page-title{margin:0;font-size:28px;font-weight:760;letter-spacing:0;color:#111827}.page-description{margin:8px 0 0;color:#68758a}.metric-grid{margin-bottom:16px}.metric-card.ant-card{overflow:hidden;border:1px solid #e7edf6;border-radius:8px;box-shadow:0 10px 30px #1321440d}.metric-card .ant-card-body{padding:18px}.metric-card .ant-statistic-title{color:#6b778c;font-size:13px}.metric-card .ant-statistic-content{color:#111827;font-weight:750}.metric-card:after{position:absolute;right:14px;bottom:12px;width:64px;height:28px;content:"";opacity:.36;background:linear-gradient(90deg,transparent 0 8%,#1677ff 8% 18%,transparent 18% 26%,#12b886 26% 39%,transparent 39% 48%,#faad14 48% 58%,transparent 58% 68%,#1677ff 68% 76%,transparent 76%);border-radius:4px}.metric-trend{margin-top:8px;font-size:12px;color:#0f9f6e}.panel-card.ant-card{border:1px solid #e7edf6;border-radius:8px;box-shadow:0 12px 34px #1321440f}.panel-card-100{height:100%}.filter-card.ant-card{margin:16px 0}.filter-card .ant-card-body{padding:16px}.log-table-card .ant-card-body{padding:0}.table-toolbar{display:flex;align-items:center;justify-content:space-between;padding:16px 16px 12px;border-bottom:1px solid #edf1f7}.table-title{font-size:16px;font-weight:720;color:#1f2937}.table-subtitle{margin-top:2px;font-size:12px;color:#7b879a}.trace-link{color:#1264e6;cursor:pointer}.trace-link:hover{text-decoration:underline}.trace-step-failed-row td{background:#fff5f5!important}.trace-drawer .ant-drawer-header{border-bottom:1px solid #e7edf6}.trace-drawer-title{display:flex;gap:12px;align-items:center;justify-content:space-between}.trace-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:16px}.trace-summary-item{padding:12px;background:#f7faff;border:1px solid #e7edf6;border-radius:8px}.trace-summary-label{margin-bottom:4px;font-size:12px;color:#6b778c}.trace-summary-value{font-size:16px;font-weight:720;color:#111827}.trace-detail-json{display:block;padding:8px 10px;margin-top:6px;overflow:auto;color:#334155;white-space:pre-wrap;background:#f8fafc;border:1px solid #e7edf6;border-radius:8px}@media (max-width: 960px){.saas-sider{display:none}.page-heading{flex-direction:column}.trace-summary{grid-template-columns:1fr}}.workflow-template-page{min-height:calc(100vh - 64px);padding:24px}.workflow-node-flow{display:flex;flex-direction:column;gap:12px;max-height:58vh;overflow:auto;padding:4px 2px 4px 0}.workflow-node-empty{padding:32px;color:#7b879a;text-align:center;background:#f8fafc;border:1px dashed #cfd8e6;border-radius:8px}.workflow-node-step{position:relative;display:grid;grid-template-columns:38px minmax(0,1fr);gap:12px}.workflow-node-step:before{position:absolute;top:40px;bottom:-14px;left:18px;width:2px;content:"";background:#dbe5f2}.workflow-node-step:last-child:before{display:none}.workflow-node-order{z-index:1;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;color:#fff;font-weight:750;background:#1677ff;border:3px solid #eaf3ff;border-radius:999px}.workflow-node-card{display:flex;gap:16px;align-items:center;justify-content:space-between;min-width:0;padding:14px 16px;background:#fff;border:1px solid #e7edf6;border-radius:8px;box-shadow:0 8px 22px #1321440d}.workflow-node-main{min-width:0}.chat-shell{height:100vh;min-height:100vh;overflow:hidden}.chat-shell .saas-main{height:100vh;min-height:0;overflow:hidden}.chat-sider{position:sticky;top:0;height:100vh;padding:18px 14px;overflow:hidden;background:#fffffff0!important;border-right:1px solid #e7edf6}.chat-brand{padding-bottom:18px}.chat-side-section{display:flex;flex-direction:column;min-height:0;height:calc(100vh - 134px);margin-top:18px}.chat-section-title{display:flex;gap:8px;align-items:center;margin:0 0 10px;color:#44546f;font-size:13px;font-weight:700}.chat-history-list{flex:1;min-height:0;overflow:auto;padding-right:2px}.chat-history-list .ant-list-empty-text{padding:28px 8px;color:#8a96aa}.chat-history-item{padding:10px 12px!important;margin-bottom:8px;cursor:pointer;background:#f7faff;border:1px solid #e7edf6!important;border-radius:8px;transition:all .2s ease}.chat-history-item:hover{border-color:#b8d3ff!important;box-shadow:0 8px 22px #13214412}.chat-history-item.active{background:#eaf3ff;border-color:#8bbdff!important}.chat-content{display:flex;flex:1 1 0;height:auto;min-height:0;overflow:hidden;padding:16px 24px}.chat-workbench{display:flex;flex:1 1 auto;height:100%;min-height:0;overflow:hidden;width:100%}.chat-main-panel{display:flex;flex-direction:column;flex:1 1 auto;height:100%;min-height:0;min-width:0;max-width:1180px;margin:0 auto}.chat-conversation-header{flex:0 0 auto;display:flex;gap:16px;align-items:flex-start;justify-content:space-between;padding:12px 16px;margin-bottom:10px;background:#ffffffdb;border:1px solid #e7edf6;border-radius:8px;box-shadow:0 10px 26px #1321440a}.chat-conversation-title{margin:0 0 4px!important;color:#111827!important;font-size:20px!important;letter-spacing:0}.chat-meta-strip{flex:0 0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:10px}.chat-meta-item{min-width:0;padding:8px 12px;background:#fff;border:1px solid #e7edf6;border-radius:8px;box-shadow:0 10px 26px #1321440a}.chat-meta-item span{display:block;margin-bottom:4px;color:#6b778c;font-size:12px}.chat-meta-item strong{display:block;overflow:hidden;color:#172033;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.chat-template-card{flex:0 0 auto;margin-bottom:10px}.chat-card{flex:1 1 0;height:0;min-height:0;overflow:hidden}.chat-card.ant-card{display:flex;flex-direction:column}.chat-card .ant-card-body{position:relative;display:flex;flex-direction:column;flex:1 1 auto;height:100%;min-height:0;padding:0;overflow:hidden;overflow-y:auto;background:linear-gradient(180deg,#fbfdff,#f6f8fc)}.chat-card .ant-card-body::-webkit-scrollbar,.chat-history-list::-webkit-scrollbar{width:8px;height:8px}.chat-card .ant-card-body::-webkit-scrollbar-thumb,.chat-history-list::-webkit-scrollbar-thumb{width:8px;height:8px;border-radius:4px;background-color:#aaa}.chat-history-list .chat-card .ant-spin-nested-loading,.chat-card .ant-spin-container{flex:1 1 auto;height:100%;min-height:0;overflow:hidden}.chat-card .ant-spin-nested-loading,.chat-card .ant-spin-container{display:flex;flex-direction:column}.chat-messages{position:relative;display:block;flex:1 1 auto;height:100%;min-height:0;overflow-x:hidden;overflow-y:auto;padding:16px;background:linear-gradient(180deg,#fbfdff,#f6f8fc);border-radius:8px}.virtual-message-list{overscroll-behavior:contain;scrollbar-gutter:stable}.chat-empty{position:relative;display:flex;flex:1;flex-direction:column;gap:8px;align-items:center;justify-content:center;min-height:220px;color:#68758a;text-align:center}.chat-empty .anticon{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;color:#1677ff;background:#eaf3ff;border-radius:8px}.chat-message-row{display:flex;flex:0 0 auto;gap:10px;align-items:flex-start}.chat-message-row+.chat-message-row{margin-top:18px}.chat-message-row.user{flex-direction:row-reverse}.chat-message-row.assistant{flex-direction:row}.chat-avatar{display:inline-flex;flex:0 0 34px;align-items:center;justify-content:center;width:34px;height:34px;color:#fff;font-size:12px;font-weight:750;border-radius:8px;box-shadow:0 8px 18px #1321441f}.chat-avatar.user{background:#1677ff}.chat-avatar.assistant{background:linear-gradient(135deg,#16b8a6,#1f7aff)}.chat-message-body{display:flex;flex-direction:column;min-width:0;max-width:min(760px,78%)}.chat-message-row.user .chat-message-body{align-items:flex-end}.chat-message-name{margin-bottom:5px;color:#6b778c;font-size:12px;font-weight:650}.chat-bubble{max-width:100%;padding:12px 15px;line-height:1.72;white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere;border-radius:8px;box-shadow:0 8px 22px #1321440f}.chat-bubble.user{color:#fff;background:#1677ff}.chat-bubble.assistant{color:#1f2937;background:#fff;border:1px solid #e7edf6}.chat-bubble.assistant .markdown-body{min-width:0;white-space:normal}.chat-bubble.assistant p,.chat-bubble.assistant ul,.chat-bubble.assistant ol,.chat-bubble.assistant blockquote,.chat-bubble.assistant pre{margin-top:0;margin-bottom:10px}.chat-bubble.assistant>:last-child,.chat-bubble.assistant .markdown-body>:last-child{margin-bottom:0}.chat-bubble.assistant h1,.chat-bubble.assistant h2,.chat-bubble.assistant h3,.chat-bubble.assistant h4{margin:4px 0 10px;color:#111827;line-height:1.35;letter-spacing:0}.chat-bubble.assistant h1{font-size:20px}.chat-bubble.assistant h2{font-size:18px}.chat-bubble.assistant h3,.chat-bubble.assistant h4{font-size:16px}.chat-bubble.assistant ul,.chat-bubble.assistant ol{padding-left:22px}.chat-bubble.assistant li+li{margin-top:4px}.chat-bubble.assistant blockquote{padding:8px 12px;color:#56657a;background:#f6f8fc;border-left:3px solid #9bbcff;border-radius:6px}.chat-bubble.assistant a{color:#1264e6;text-decoration:none}.chat-bubble.assistant a:hover{text-decoration:underline}.chat-markdown-inline-code{padding:2px 5px;color:#b42318;font-size:.92em;background:#fff1f0;border-radius:5px}.chat-markdown-code{max-width:100%;padding:12px;overflow:auto;color:#d6e2ff;background:#172033;border-radius:8px}.chat-markdown-code code{padding:0;color:inherit;font-size:13px;background:transparent}.chat-reference-card{flex:0 0 auto;max-height:150px;margin-top:10px;overflow:auto}.reference-item{border-radius:8px}.chat-composer{flex:0 0 auto;padding:10px;margin-top:10px;background:#fff;border:1px solid #dfe7f2;border-radius:8px;box-shadow:0 14px 34px #13214414}.chat-composer .ant-input{resize:none;min-height:66px;max-height:66px;border-radius:8px}.composer-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:8px}@media (max-width: 1180px){.chat-main-panel{max-width:none}}@media (max-width: 960px){.chat-sider{display:none}.chat-content{padding:18px}.chat-meta-strip{grid-template-columns:1fr}.chat-messages{max-height:none}.composer-actions{align-items:stretch;flex-direction:column}.chat-conversation-header{flex-direction:column}.chat-message-body{max-width:calc(100% - 44px)}}.stat-card{border:2px dashed #ccc;border-radius:8px}html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}
