:root{color:#172033;background:#f5f7fa;font-family:Inter,Microsoft YaHei,PingFang SC,Arial,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}html,body,#root{width:100%;min-width:320px;height:100%;margin:0;overflow:hidden}#root{position:fixed;top:0;right:0;bottom:0;left:0;overflow:clip}body{font-size:13px}button,input,select,textarea{font:inherit}button{color:inherit}.app-shell{height:100%;min-height:100dvh;display:flex;flex-direction:column;background:#f4f6f9;overflow:hidden}.top-header{height:50px;flex:0 0 50px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;background:#fff;border-bottom:1px solid #e7eaf0}.brand,.account-area,.agent-identity,.agent-chip,.agent-actions,.config-section-title,.section-actions,.setting-line,.subsection-heading,.capability-row,.drawer-header,.drawer-footer,.trace-card>div,.history-arrows{display:flex;align-items:center}.brand{gap:9px;font-size:15px}.brand-mark{width:22px;height:22px;border-radius:5px;background:#4598ed;position:relative}.brand-mark:after{content:"";position:absolute;top:5px;right:5px;bottom:5px;left:5px;border:2px solid #fff;border-left:0}.account-area{gap:9px;color:#555f72}.account-area div{display:grid;gap:1px}.account-area small,.agent-chip small{color:#929aaa;font-size:11px}.account-avatar{width:27px;height:27px;border-radius:50%;background:#e7edf6;border:1px solid #dce3ec}.app-body{min-height:0;flex:1;display:flex}.global-sidebar{width:50px;flex:0 0 50px;padding:10px 7px;display:flex;flex-direction:column;align-items:center;gap:5px;background:#fff;border-right:1px solid #e5e9ef;overflow-y:auto;scrollbar-width:none}.sidebar-icon,.icon-button{border:0;background:transparent;display:inline-grid;place-items:center;cursor:pointer}.sidebar-icon{width:34px;height:32px;border-radius:5px;color:#788397;flex:0 0 auto}.sidebar-icon:hover,.sidebar-icon.active{background:#edf6ff;color:#2884df}.sidebar-spacer{flex:1}.workbench{min-width:0;flex:1;display:flex;flex-direction:column}.agent-header{height:64px;flex:0 0 64px;padding:0 16px;display:grid;grid-template-columns:205px minmax(0,1fr) auto;align-items:center;gap:14px;background:#fff;border-bottom:1px solid #e5e9ef}.agent-identity{gap:7px;min-width:0}.icon-button{width:30px;height:30px;border-radius:5px;color:#687386}.icon-button:hover{background:#f0f3f7;color:#27344a}.agent-chip{gap:9px;min-width:0}.agent-chip>div{display:grid;min-width:0;gap:2px}.agent-chip strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.agent-avatar{width:32px;height:32px;border-radius:5px;background:#e8f4ff;border:1px solid #cfe7fb}.agent-tabs{min-width:0;height:100%;display:flex;align-items:stretch;justify-content:center;gap:19px;overflow-x:auto;scrollbar-width:none}.agent-tabs::-webkit-scrollbar{display:none}.agent-tabs button{position:relative;border:0;background:transparent;white-space:nowrap;color:#687386;cursor:pointer}.agent-tabs button.active{color:#2082df;font-weight:600}.agent-tabs button.active:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:#2082df}.agent-actions{justify-content:flex-end;gap:8px;min-width:0}.model-selector,.small-button,.secondary-button,.primary-button,.text-button{border-radius:5px;border:1px solid #dce2e9;background:#fff;display:inline-flex;align-items:center;justify-content:center;gap:5px;cursor:pointer;white-space:nowrap}.model-selector{height:34px;min-width:210px;padding:0 10px}.model-selector em{padding:2px 4px;border-radius:3px;font-size:9px;font-style:normal;color:#2082df;background:#eaf5ff}.small-button{min-height:26px;padding:3px 8px;color:#5f6b7e;font-size:12px}.secondary-button,.primary-button{min-height:32px;padding:5px 13px}.primary-button{border-color:#2187e8;color:#fff;background:#2187e8}.primary-button:hover{background:#1477d4}.primary-button:disabled{opacity:.45;cursor:not-allowed}.text-button{border:0;padding:3px;color:#2784dd}.small-button:hover,.secondary-button:hover{border-color:#8fc4f4;color:#1678d2}.small-button:disabled{cursor:not-allowed;color:#adb4bf;background:#f7f8fa}.workspace{min-height:0;flex:1;display:grid;overflow:hidden}.workspace.is-resizing{cursor:col-resize;-webkit-user-select:none;user-select:none}.configuration-pane{min-width:0;overflow-y:auto;padding:14px 14px 42px}.workspace-resizer{position:relative;z-index:2;width:8px;height:100%;display:grid;place-items:center;color:#9aa5b4;background:#f5f7fa;border-right:1px solid #dfe5ec;border-left:1px solid #dfe5ec;cursor:col-resize;touch-action:none;outline:none;transition:color .15s,background .15s,border-color .15s}.workspace-resizer:before{content:"";position:absolute;top:0;right:-3px;bottom:0;left:-3px}.workspace-resizer:hover,.workspace-resizer:focus-visible,.workspace.is-resizing .workspace-resizer{color:#167dd9;background:#eaf5ff;border-color:#7db8ec}.config-section{margin:0 0 12px;padding:14px;border:1px solid #dcebf7;border-radius:6px;background:#edf7ff}.config-section-header{min-height:28px;margin-bottom:12px;display:flex;align-items:center;justify-content:space-between;gap:12px}.config-section-title{min-width:max-content;gap:8px;white-space:nowrap}.config-section-title svg{color:#308bdc}.config-section h2{margin:0;font-size:14px;letter-spacing:0}.section-actions{flex:0 0 auto;flex-wrap:nowrap;gap:6px;white-space:nowrap}.prompt-editor{min-height:118px;padding:11px;border:1px solid #dce3ea;border-radius:5px;background:#fff;outline:none;line-height:1.7}.prompt-editor:empty:before{content:attr(data-placeholder);color:#a0a8b5}.prompt-editor:focus{border-color:#69ace9;box-shadow:0 0 0 2px #dff0ff}.character-count{display:block;margin-top:5px;color:#9aa3b1;text-align:right;font-size:11px}.setting-line{justify-content:space-between;gap:16px;min-height:34px}.setting-line p,.capability-row p,.empty-config-row p,.guardrail-group summary small{margin:3px 0 0;color:#778397;font-size:12px;line-height:1.45}.radio-line{display:flex;flex-wrap:nowrap;gap:24px;margin-bottom:13px;overflow-x:auto}.radio-line label,.check-option{display:flex;align-items:center;gap:7px}.radio-line label{flex:0 0 auto;white-space:nowrap}input[type=radio],input[type=checkbox]{accent-color:#2388e6}.stacked-field,.form-grid label,.two-column-form label,.custom-http-fields>label,.form-section>label{display:grid;gap:7px;color:#505c6f;font-weight:500}input,select,textarea{width:100%;min-height:34px;padding:7px 9px;border:1px solid #d7dee7;border-radius:4px;outline:none;color:#263247;background:#fff}textarea{min-height:72px;resize:vertical;line-height:1.55}input:focus,select:focus,textarea:focus{border-color:#64a9e9;box-shadow:0 0 0 2px #dff0ff}.stacked-field+.stacked-field{margin-top:12px}.stacked-field small,.form-grid small{color:#969ead;font-weight:400}.form-grid,.two-column-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.info-box{padding:10px;border:1px solid #d8e9f7;border-radius:4px;color:#54657a;background:#f8fcff}.empty-config-row{min-height:54px;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;border:1px dashed #c9d9e7;border-radius:5px;background:#ffffffa6}.empty-config-row p{margin-bottom:0}.switch-control{display:inline-flex;flex:0 0 auto;cursor:pointer}.switch-control input{position:absolute;width:1px;height:1px;min-height:0;margin:0;opacity:0;pointer-events:none}.switch-track{width:32px;height:18px;padding:2px;border-radius:10px;background:#bcc4cf;transition:background .16s}.switch-track:after{content:"";display:block;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #19284140;transition:transform .16s}.switch-control input:checked+.switch-track{background:#2388e6}.switch-control input:checked+.switch-track:after{transform:translate(14px)}.guardrail-master{margin:-2px 0 12px;padding:10px 12px;border-radius:5px;background:#fff}.guardrail-group{margin-top:12px;border:1px solid #dbe4ec;border-radius:5px;background:#fff;overflow:hidden}.guardrail-group summary{min-height:52px;padding:10px 12px;display:flex;align-items:center;gap:9px;cursor:pointer;list-style:none}.guardrail-group summary::-webkit-details-marker{display:none}.guardrail-group summary:after{content:"+";margin-left:auto;color:#8490a2;font-size:17px}.guardrail-group[open] summary:after{content:"−"}.guardrail-group summary>span:nth-child(2){display:grid}.group-icon{width:28px;height:28px;border-radius:5px;display:grid;place-items:center;color:#277fce;background:#eaf5ff}.guardrail-group-body{padding:0 12px 12px;border-top:1px solid #edf0f4}.subsection-heading{min-height:42px;justify-content:space-between}.capability-row{min-height:62px;padding:9px 0;gap:12px;border-top:1px solid #edf0f4}.capability-row>div{flex:1;min-width:0}.rule-area{margin-top:6px}.rule-table{border:1px solid #e0e5eb;border-radius:5px;overflow-x:auto}.rule-table-header,.rule-table-row{min-width:710px;display:grid;grid-template-columns:1.6fr 1.05fr 1fr .9fr .55fr 36px;align-items:center;gap:8px;padding:9px 10px}.rule-table-header{color:#7e8898;background:#f6f8fa;font-size:11px}.rule-table-row{min-height:48px;border-top:1px solid #edf0f3}.rule-table-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.source-tag,.action-tag{width:fit-content;padding:3px 6px;border-radius:3px;color:#44536a;background:#eef2f6;font-size:11px}.source-tag.external{color:#8a5d1e;background:#fff4dc}.action-block{color:#b53e45;background:#fff0f1}.action-mask,.action-rewrite{color:#1a7a63;background:#eaf8f4}.action-confirm,.action-handoff{color:#8e5d16;background:#fff4dc}.status-text{color:#99a1ad}.status-text.enabled{color:#158c68}.icon-button.compact{width:26px;height:26px;font-weight:700}.response-experience-master>div{min-width:0}.response-experience-master p{margin:3px 0 0;color:#778397;font-size:12px}.response-experience-body{margin-top:10px;padding-top:12px;border-top:1px solid #d8e7f3}.compact-number-field{margin-top:9px;display:flex;justify-content:flex-end}.compact-number-field label{display:flex;align-items:center;gap:7px;color:#697689;font-size:11px}.compact-number-field input{width:72px;height:30px}.conversation-policy-row{min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:18px}.conversation-policy-row+.conversation-policy-row{border-top:1px solid #dbe8f2}.conversation-policy-row>div{min-width:0}.conversation-policy-row p{margin:4px 0 0;color:#7d899a;font-size:11px;line-height:1.45}.proactive-wait-config{margin:10px 0 8px;padding:10px 0 3px;display:grid;grid-template-columns:180px minmax(0,1fr);gap:12px;border-top:1px solid #dbe8f2}.proactive-wait-config label{display:grid;gap:6px;color:#697689;font-size:11px}.proactive-wait-config label>span{display:flex;align-items:center;gap:6px}.proactive-wait-config input{width:72px}.proactive-wait-config textarea{min-height:54px;resize:vertical}.experience-contract{margin-bottom:12px;display:flex;flex-wrap:wrap;gap:6px}.experience-contract span{padding:4px 7px;border-radius:3px;color:#276f9f;background:#dff1fc;font-size:11px}.scope-note{margin:10px 0 0;color:#8490a1;font-size:11px;line-height:1.55}.preview-panel{min-width:0;background:#fff;display:flex;flex-direction:column;overflow:hidden}.preview-panel>header{height:48px;flex:0 0 48px;padding:0 14px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e5e9ef}.preview-header-actions{display:flex;align-items:center;gap:6px}.preview-mode-switch{display:flex;padding:2px;border-radius:5px;background:#eef1f5}.preview-mode-switch button{height:27px;padding:0 9px;border:0;border-radius:4px;color:#687386;background:transparent;cursor:pointer;white-space:nowrap}.preview-mode-switch button.active{color:#1f7ed4;background:#fff;box-shadow:0 1px 3px #23354d1f}.preview-content{flex:1;min-height:0;overflow-y:auto;padding:16px;background:#fafbfd}.preview-empty{max-width:360px;margin:44px auto 0;text-align:center;color:#6b7689}.preview-empty>span{width:46px;height:46px;margin:0 auto 12px;display:grid;place-items:center;border-radius:7px;color:#2884dc;background:#eaf5ff}.preview-empty>strong{color:#27344a;font-size:15px}.preview-empty p{line-height:1.65}.example-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:18px;text-align:left}.example-grid button{min-height:76px;padding:9px;border:1px solid #e1e6ec;border-radius:5px;background:#fff;cursor:pointer}.example-grid button:hover{border-color:#79b6ec;background:#f7fbff}.example-grid small{margin-top:5px;display:-webkit-box;overflow:hidden;color:#8690a0;line-height:1.45;-webkit-line-clamp:2;-webkit-box-orient:vertical}.chat-composer{min-height:82px;margin:12px;padding:8px;display:flex;align-items:flex-end;gap:7px;border:1px solid #dce2e9;border-radius:7px;background:#fff}.chat-composer:focus-within{border-color:#63a9e9}.chat-composer textarea{min-height:52px;padding:7px 4px;border:0;box-shadow:none;resize:none}.multimodal-composer{position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:4px}.multimodal-composer textarea{width:100%;min-height:42px}.composer-toolbar{min-height:30px;display:flex;align-items:center;justify-content:space-between;gap:8px}.attachment-actions{display:flex;align-items:center;gap:2px}.chat-composer .composer-tool-button{width:30px;height:28px;padding:0;display:inline-grid;place-items:center;border:0;border-radius:5px;color:#6e798a;background:transparent;cursor:pointer}.chat-composer .composer-tool-button:hover{color:#247fcf;background:#eef6fd}.chat-composer .composer-tool-button:disabled{color:#b5bdc9;background:transparent;cursor:not-allowed}.chat-composer .composer-send{width:30px;height:30px;display:grid;place-items:center;border:0;border-radius:6px;color:#fff;background:#2787df;cursor:pointer}.chat-composer .composer-send:disabled{background:#b8c7d7;cursor:not-allowed}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.composer-attachments{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.attachment-chip{min-width:0;height:50px;padding:5px;display:grid;grid-template-columns:38px minmax(0,1fr) 24px;align-items:center;gap:6px;border:1px solid #dfe5ec;border-radius:6px;background:#f8fafc}.attachment-thumbnail{width:38px;height:38px;display:grid;place-items:center;overflow:hidden;border-radius:5px;color:#3889d4;background:#e9f4fd}.attachment-thumbnail img{width:100%;height:100%;object-fit:cover}.attachment-chip.audio .attachment-thumbnail{color:#7d68c6;background:#f0edfb}.attachment-copy{min-width:0;display:grid;gap:2px}.attachment-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.attachment-copy small{color:#929baa;font-size:10px}.attachment-chip>button{width:24px;height:24px;display:grid;place-items:center;border:0;border-radius:4px;color:#8a94a4;background:transparent;cursor:pointer}.attachment-chip>button:hover{color:#d34d4d;background:#fff0f0}.voice-recording-popover{position:absolute;left:12px;right:12px;bottom:calc(100% + 10px);z-index:12;min-height:188px;padding:20px 18px 16px;display:flex;flex-direction:column;align-items:center;border:1px solid #dbe4ed;border-radius:10px;background:#fff;box-shadow:0 14px 36px #24364e2e}.channel-workspace,.memory-workspace,.observability-page,.reports-page{min-width:0;min-height:0;flex:1;overflow:hidden;background:#f7f9fb}.channel-workspace{display:grid;grid-template-columns:272px minmax(0,1fr)}.channel-list-panel{min-width:0;padding:18px 12px;background:#fff;border-right:1px solid #e5eaf0}.channel-list-panel>header,.channel-detail-header,.observability-header,.memory-page-header,.ops-section-heading,.channel-section-heading,.memory-customer-header,.channel-message-preview>header{display:flex;align-items:center;justify-content:space-between;gap:16px}.channel-list-panel>header{padding:0 6px 14px}.channel-list-panel>header div,.channel-detail-header>div:first-child,.memory-page-header>div:first-child{display:flex;align-items:center;gap:10px;min-width:0}.channel-list-panel>header strong{display:block;font-size:15px}.channel-list-panel>header small,.channel-detail-header p,.memory-page-header p,.observability-header p{display:block;margin:4px 0 0;color:#8a95a5;font-size:11px}.channel-list-panel>header button{width:28px;height:28px;border:1px solid #dce4ec;border-radius:5px;color:#4f6379;background:#fff;cursor:pointer}.channel-list{display:grid;gap:5px}.channel-list>button{min-width:0;min-height:64px;padding:9px 7px;display:grid;grid-template-columns:32px minmax(0,1fr) auto 14px;align-items:center;gap:8px;border:1px solid transparent;border-radius:6px;text-align:left;color:#3d4b5e;background:transparent;cursor:pointer}.channel-list>button:hover{background:#f7fbff}.channel-list>button.active{border-color:#bcdaf4;background:#eef7ff}.channel-list>button>span:nth-child(2){min-width:0;display:grid;gap:3px}.channel-list>button strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.channel-list>button small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#9aa4b2;font-size:10px}.channel-list>button em{padding:3px 5px;border-radius:3px;color:#21876b;background:#e8f7f0;font-size:9px;font-style:normal;white-space:nowrap}.channel-list>button em.authorization{color:#9d6b20;background:#fff5df}.channel-logo{width:32px;height:32px;display:grid;place-items:center;flex:0 0 auto;border-radius:7px;color:#277fc7;background:#e8f4fd}.channel-logo.udesk_im{color:#3e8dd4;background:#edf7ff}.channel-logo.udesk_web{color:#7766c3;background:#f0edff}.channel-logo.whatsapp{color:#168d69;background:#e6f8f1}.channel-logo.x_dm{color:#313b49;background:#edf0f3}.channel-logo.x_dm strong{font-size:17px}.channel-model-note{margin:18px 4px 0;padding:10px;display:flex;gap:8px;color:#5c7184;border-top:1px solid #edf0f4}.channel-model-note>span,.channel-contract-row>div>span,.context-security-note>span{display:grid;gap:3px;min-width:0}.channel-model-note svg{color:#2d8cdb;flex:0 0 auto}.channel-model-note strong,.channel-contract-row strong,.context-security-note strong{font-size:11px}.channel-model-note small,.channel-contract-row small,.context-security-note p{margin:0;color:#8c97a5;font-size:10px;line-height:1.45}.channel-detail-panel{min-width:0;display:flex;flex-direction:column;overflow:hidden}.channel-detail-header{min-height:74px;padding:0 22px;background:#fff;border-bottom:1px solid #e5eaf0}.channel-detail-header>div:first-child{flex:1}.channel-detail-header h1,.memory-page-header h1,.observability-header h1{margin:0;color:#253449;font-size:18px}.channel-detail-header p{margin-top:4px}.channel-header-actions{display:flex;gap:7px}.channel-header-actions button svg,.ops-section-heading button svg{margin-right:3px}.channel-subnav{min-height:46px;padding:0 22px;display:flex;align-items:stretch;gap:25px;background:#fff;border-bottom:1px solid #e5eaf0}.channel-subnav button,.report-tabs button{position:relative;border:0;background:transparent;color:#718094;cursor:pointer}.channel-subnav button.active,.report-tabs button.active{color:#2785d7;font-weight:600}.channel-subnav button.active:after,.report-tabs button.active:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:#2888dc}.channel-detail-scroll{min-height:0;overflow-y:auto;padding:18px 22px 42px}.channel-capability-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:16px}.channel-capability-main,.channel-message-preview,.channel-rules-view,.channel-context-view,.memory-config-panel section,.memory-timeline-panel,.memory-conflict-panel,.channel-health-section,.alert-feed,.runtime-service-strip,.trend-report,.channel-distribution,.report-detail-table{border:1px solid #e0e7ee;border-radius:7px;background:#fff}.channel-capability-main,.channel-rules-view,.channel-context-view{padding:18px}.channel-section-heading{margin-bottom:18px;align-items:flex-start}.channel-section-heading h2,.ops-section-heading h2{margin:0;color:#29394c;font-size:15px}.channel-section-heading p,.ops-section-heading p{margin:5px 0 0;color:#8b96a4;font-size:11px}.capability-source{color:#8b96a4;font-size:10px}.capability-matrix-row{min-height:58px;padding:12px 0;display:grid;grid-template-columns:78px minmax(0,1fr);gap:15px;align-items:start;border-top:1px solid #edf0f3}.capability-matrix-row>strong{color:#617187;font-size:11px}.capability-matrix-row>div{display:flex;flex-wrap:wrap;gap:6px}.capability-matrix-row span{padding:5px 8px;border:1px solid #e3e9ef;border-radius:4px;color:#4d6174;background:#f8fafc;font-size:11px}.capability-matrix-row span.native{color:#317d68;border-color:#d8eee5;background:#f1faf6}.channel-contract-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:7px;border-top:1px solid #edf0f3}.channel-contract-row>div{padding:14px 0;display:flex;gap:8px}.channel-contract-row>div+div{padding-left:15px;border-left:1px solid #edf0f3}.channel-contract-row svg{flex:0 0 auto;color:#398bd3}.fallback-policy{min-height:56px;padding:10px 12px;display:flex;align-items:center;gap:12px;border-radius:5px;color:#5b6c80;background:#f5f9fc}.fallback-policy>div{flex:1}.fallback-policy p{margin:4px 0 0;color:#8d98a7;font-size:10px}.fallback-policy>span{padding:5px 8px;color:#477396;border-radius:4px;background:#e8f3fb;font-size:10px}.fallback-policy button{border:0;color:#2583d3;background:transparent;cursor:pointer;font-size:11px}.channel-message-preview{overflow:hidden}.channel-message-preview>header{min-height:48px;padding:0 14px;border-bottom:1px solid #edf0f3}.channel-message-preview>header>div{display:flex;padding:2px;border-radius:4px;background:#eff2f5}.channel-message-preview>header button{border:0;padding:5px 8px;border-radius:3px;color:#7c8898;background:transparent;cursor:pointer;font-size:10px}.channel-message-preview>header button.active{color:#247dcb;background:#fff;box-shadow:0 1px 3px #1e32461f}.channel-preview-body{min-height:355px;padding:18px 14px;background:#f7f9fb}.preview-customer-message{max-width:85%;margin:0 0 14px auto;padding:8px 10px;border-radius:7px 7px 2px;color:#fff;background:#328bd9;font-size:11px}.wa-order-preview,.web-order-preview,.plain-channel-preview{padding:13px;border:1px solid #e3e8ed;border-radius:7px 7px 7px 2px;background:#fff}.wa-order-preview small,.web-order-preview small{color:#2b9c77;font-size:10px}.wa-order-preview strong,.web-order-preview strong{display:block;margin-top:4px;color:#30445a;font-size:12px}.wa-order-preview p,.web-order-preview p,.plain-channel-preview p{margin:9px 0;color:#68788b;line-height:1.55;font-size:11px}.wa-order-preview button,.web-order-preview button{width:100%;min-height:28px;margin-top:5px;border:1px solid #d4e8f6;border-radius:4px;color:#207dc6;background:#f1f8fd;cursor:pointer;font-size:10px}.plain-channel-preview a{display:inline-flex;align-items:center;gap:4px;color:#277fc8;font-size:11px}.plain-channel-preview.fallback>span{display:flex;align-items:center;gap:4px;color:#a2742d;font-size:10px}.plain-channel-preview small{display:block;margin-top:12px;color:#9ba4b0;font-size:10px}.channel-message-preview>footer{min-height:48px;padding:0 12px;display:flex;align-items:center;gap:8px;border-top:1px solid #edf0f3}.channel-message-preview>footer span{display:flex;align-items:center;gap:4px;flex:1;color:#27916e;font-size:10px}.channel-message-preview>footer button{width:28px;height:28px;display:grid;place-items:center;border:0;border-radius:4px;color:#718092;background:transparent;cursor:pointer}.channel-message-preview>footer button:hover{color:#2583d3;background:#eff7fd}.channel-rule-table,.context-variable-table{border:1px solid #e1e7ed;border-radius:5px;overflow:hidden}.channel-rule-head,.channel-rule-row{min-width:720px;display:grid;grid-template-columns:1.3fr 1.2fr 1.3fr 70px;align-items:center;gap:12px;padding:11px 13px}.channel-rule-head,.context-variable-head{color:#8290a1;background:#f7f9fb;font-size:10px}.channel-rule-row{min-height:62px;border-top:1px solid #edf0f3;font-size:11px}.channel-rule-row>span:first-child{display:grid;gap:4px}.channel-rule-row small{color:#9aa4b1;font-size:9px}.rule-test-strip{margin-top:16px;padding:12px;display:flex;align-items:center;gap:12px;border:1px solid #dbe9f4;border-radius:5px;background:#f5fbff}.rule-test-strip>span{display:flex;align-items:center;gap:8px;flex:1}.rule-test-strip>span>span{display:grid;gap:3px}.rule-test-strip strong{font-size:11px}.rule-test-strip small{color:#8e9aa8;font-size:10px}.context-variable-head,.context-variable-row{min-width:640px;display:grid;grid-template-columns:1.3fr 1fr 1fr 60px;align-items:center;gap:12px;padding:11px 13px}.context-variable-row{min-height:55px;border-top:1px solid #edf0f3;font-size:11px}.context-variable-row code{color:#3175a8;font-size:10px}.context-security-note{margin-top:16px;padding:12px;display:flex;gap:8px;border-radius:5px;background:#f5f9fc}.context-security-note svg{flex:0 0 auto;color:#368bd2}.memory-workspace{padding:20px 24px 38px;overflow-y:auto}.memory-page-header,.observability-header{min-height:56px}.memory-page-header>div:last-child,.observability-header>div:last-child{display:flex;align-items:center;gap:12px}.memory-status,.live-indicator{display:inline-flex;align-items:center;gap:6px;color:#218666;font-size:11px}.memory-status i,.live-indicator i{width:7px;height:7px;border-radius:50%;background:#2aa67e;box-shadow:0 0 0 3px #2aa67e1c}.memory-layout{display:grid;grid-template-columns:290px minmax(0,1fr) 235px;gap:14px;margin-top:18px;align-items:start}.memory-config-panel{display:grid;gap:12px}.memory-config-panel section{padding:14px}.memory-section-title{display:flex;gap:8px;margin-bottom:13px}.memory-section-title>div{display:grid;gap:3px}.memory-section-title svg{color:#348bd3}.memory-section-title small,.memory-config-panel label{color:#8b96a3;font-size:10px}.memory-config-panel label{display:grid;gap:6px;margin-top:12px}.memory-config-panel select{min-height:31px;font-size:11px}.memory-add-key{margin-top:10px;display:inline-flex;align-items:center;gap:4px;border:0;color:#2682cf;background:transparent;cursor:pointer;font-size:10px}.identity-preview{margin-top:10px;padding:8px;display:grid;gap:5px;border-radius:4px;background:#f5f9fc}.identity-preview small,.identity-preview code{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.identity-preview small{color:#8a95a3;font-size:9px}.identity-preview code{color:#42769c;font-size:9px}.memory-policy-list{margin-top:11px;border-top:1px solid #edf0f3}.memory-policy-list span{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #edf0f3;font-size:10px}.memory-policy-list small{color:#8c97a5}.memory-check{display:flex!important;grid-template-columns:none!important;align-items:center;gap:6px;margin-top:9px!important;color:#687789!important}.memory-check input{width:auto;min-height:0}.memory-timeline-panel{min-width:0;padding:16px}.memory-customer-header{padding-bottom:14px;border-bottom:1px solid #edf0f3}.customer-avatar{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#2d8bd6;font-size:10px}.memory-customer-header>div{flex:1;display:grid;gap:4px}.memory-customer-header small{color:#8b96a5;font-size:10px}.memory-filter-row{min-height:51px;display:flex;justify-content:space-between;align-items:center}.memory-filter-row>div{display:flex;gap:3px}.memory-filter-row button:not(.secondary-button){min-height:27px;padding:0 8px;border:0;border-radius:4px;color:#8290a0;background:transparent;cursor:pointer;font-size:10px}.memory-filter-row button.active{color:#267fcb;background:#edf7ff}.memory-timeline{position:relative}.memory-timeline:before{content:"";position:absolute;top:12px;bottom:20px;left:73px;width:1px;background:#dbe5ed}.memory-timeline article{position:relative;min-height:96px;display:grid;grid-template-columns:58px 1fr;gap:30px;padding:14px 0}.memory-node{position:absolute;top:21px;left:69px;width:9px;height:9px;border:2px solid #fff;border-radius:50%;background:#4096d9;box-shadow:0 0 0 1px #8fc4e9}.memory-timeline article.conflict .memory-node{background:#d99442;box-shadow:0 0 0 1px #e8b974}.memory-time{display:grid;align-content:start;gap:2px;text-align:right}.memory-time strong{color:#53677c;font-size:10px}.memory-time small{color:#9aa4b0;font-size:9px}.memory-record{min-width:0;padding:10px 12px;border:1px solid #e4e9ee;border-radius:5px;background:#fcfdfe}.memory-timeline article.conflict .memory-record{border-color:#ecd8b8;background:#fffbf3}.memory-record header,.memory-record footer{display:flex;align-items:center;gap:7px}.memory-record header>span{padding:3px 5px;border-radius:3px;color:#347ca8;background:#e7f3fb;font-size:9px}.memory-record header code{color:#8794a3;font-size:10px}.memory-record header em{display:inline-flex;align-items:center;gap:3px;margin-left:auto;color:#b37a30;font-size:9px;font-style:normal}.memory-record header em.active{color:#22936f}.memory-record>strong{display:block;margin:9px 0;color:#3c4e62;font-size:12px}.memory-record footer{color:#96a0ac;font-size:9px}.memory-record footer span:first-child{flex:1}.memory-record footer button{width:24px;height:24px;display:grid;place-items:center;border:0;color:#a7b0ba;background:transparent;cursor:pointer}.memory-conflict-panel{overflow:hidden}.memory-conflict-panel>header{min-height:58px;padding:0 13px;display:flex;align-items:center;gap:8px;border-bottom:1px solid #edf0f3}.memory-conflict-panel>header>div{display:grid;gap:3px}.memory-conflict-panel>header small{color:#a07a43;font-size:10px}.memory-conflict-card{padding:14px}.memory-conflict-card>span{color:#8591a0;font-size:10px}.memory-conflict-card>div{margin-top:13px;padding:10px;display:grid;gap:5px;border:1px solid #dfe7ed;border-radius:5px;background:#fbfcfd}.memory-conflict-card>div.incoming{border-color:#ebdbbd;background:#fffaf1}.memory-conflict-card small{color:#8995a3;font-size:9px}.memory-conflict-card strong{color:#42566b;font-size:12px}.memory-conflict-card p{color:#9a7338;font-size:10px}.memory-conflict-card button{width:100%;margin-top:7px}.conflict-empty{min-height:220px;padding:30px 17px;display:grid;justify-items:center;align-content:center;gap:8px;text-align:center;color:#278e6d}.conflict-empty strong{color:#485b6f}.conflict-empty p{margin:0;color:#8c97a4;font-size:10px;line-height:1.5}.channel-header-actions button:disabled{opacity:.65;cursor:wait}.channel-header-actions .spin{animation:spin .8s linear infinite}.channel-section-heading{margin-bottom:12px;align-items:center}.fallback-policy{min-height:48px;padding:9px 11px}.fallback-policy>strong{flex:1;font-size:11px}.fallback-policy>span{padding:0;background:transparent;font-size:11px}.text-link{padding:0;display:inline-flex;align-items:center;gap:4px;border:0;color:#277fc8;background:transparent;cursor:pointer;font-size:11px}.channel-message-preview>footer{min-height:44px;justify-content:flex-end;gap:4px}.rule-test-strip>strong{flex:1}.memory-section-title{align-items:center}.memory-section-title>strong{font-size:12px}.backup-key-list{margin-top:10px;display:grid;gap:6px}.backup-key-list>strong{color:#8b96a3;font-size:10px;font-weight:400}.backup-key-list>span{min-height:30px;padding:0 7px;display:flex;align-items:center;justify-content:space-between;border:1px solid #e1e8ee;border-radius:4px;color:#52677b;font-size:10px}.backup-key-list button{width:22px;height:22px;display:grid;place-items:center;border:0;color:#8c98a6;background:transparent;cursor:pointer}.memory-empty{min-height:180px;display:grid;place-items:center;color:#8d98a6;font-size:11px}.identity-mapping-list{display:grid;border:1px solid #e1e7ed;border-radius:5px;overflow:hidden}.identity-mapping-list>div{min-height:48px;padding:0 12px;display:grid;grid-template-columns:1fr 1.5fr 20px;align-items:center;gap:10px}.identity-mapping-list>div+div{border-top:1px solid #edf0f3}.identity-mapping-list strong{font-size:11px}.identity-mapping-list code{color:#527795;font-size:10px}.identity-mapping-list svg{color:#27936f}.observability-page,.reports-page{padding:22px 24px 42px;overflow-y:auto}.observability-header{align-items:flex-start}.observability-header select,.observability-header>div:last-child>button{min-height:32px;width:auto}.observability-header>div:last-child>button:not(.secondary-button){padding:6px 10px;border:1px solid #dfe6ed;border-radius:4px;color:#5f7185;background:#fff;cursor:pointer;font-size:11px}.observability-header>div:last-child>button.active{color:#217fc9;border-color:#a8d0ee;background:#f0f8ff}.monitor-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:20px}.monitor-summary>section,.report-kpis>section{min-height:92px;padding:14px;display:flex;align-items:center;gap:10px;border:1px solid #e0e7ee;border-radius:6px;background:#fff}.monitor-summary>section>span{width:32px;height:32px;display:grid;place-items:center;border-radius:5px;color:#2c88d3;background:#edf7ff}.monitor-summary>section>div,.report-kpis>section{display:grid;gap:5px}.monitor-summary small,.report-kpis small{color:#8b97a5;font-size:10px}.monitor-summary strong,.report-kpis strong{color:#2c3f54;font-size:20px}.monitor-summary em,.report-kpis span{margin-left:auto;color:#299375;font-size:10px;font-style:normal}.monitor-summary em.danger{color:#bd7443}.monitor-summary em.good,.report-kpis span.down{color:#c17742}.monitor-main-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(320px,.75fr);gap:14px;margin-top:14px}.channel-health-section,.alert-feed,.runtime-service-strip,.trend-report,.channel-distribution,.report-detail-table{padding:16px}.ops-section-heading{align-items:flex-start}.ops-section-heading button{border:0;color:#297fca;background:transparent;cursor:pointer;font-size:10px}.health-table{margin-top:14px;overflow-x:auto}.health-table>div,.health-table>button{min-width:560px;display:grid;grid-template-columns:1.4fr .8fr 1fr .8fr .8fr;gap:10px;align-items:center;padding:10px}.health-table>div{color:#8d98a6;background:#f7f9fb;font-size:10px}.health-table>button{min-height:45px;border:0;border-top:1px solid #edf0f3;color:#586a7e;background:#fff;text-align:left;cursor:pointer;font-size:11px}.health-table>button:hover{background:#f9fcff}.health-正常{color:#218d6c}.health-波动{color:#b97735}.health-待授权{color:#9a7a44}.alert-feed{min-width:0}.alert-item{width:100%;min-height:65px;padding:10px 0;display:grid;grid-template-columns:28px minmax(0,1fr) 15px;align-items:center;gap:8px;border:0;border-top:1px solid #edf0f3;color:#53657a;background:transparent;text-align:left;cursor:pointer}.alert-item:first-of-type{margin-top:13px}.alert-item>div{display:grid;gap:4px}.alert-item strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.alert-item small{color:#9aa4af;font-size:9px}.alert-level{width:24px;padding:3px 0;border-radius:3px;color:#fff;background:#df7650;text-align:center;font-size:9px}.level-中{color:#a66c2f;background:#fff0d7}.level-低{color:#59809d;background:#e7f3fb}.runtime-service-strip{margin-top:14px}.service-nodes{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;margin-top:17px}.service-nodes>div{position:relative;min-height:72px;padding:10px;display:grid;grid-template-columns:28px minmax(0,1fr) 17px;align-items:center;gap:7px;border:1px solid #e5eaf0;background:#fbfcfd}.service-nodes>div+div{border-left:0}.service-nodes>div>span{width:28px;height:28px;display:grid;place-items:center;border-radius:5px;color:#347fc0;background:#edf6fc}.service-nodes strong{font-size:10px}.service-nodes small{grid-column:2;color:#8e99a5;font-size:9px}.service-nodes svg:last-child{color:#299876}.report-tabs{min-height:44px;margin-top:13px;display:flex;gap:25px;border-bottom:1px solid #e1e7ee}.report-tabs button{font-size:11px}.report-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:16px}.report-kpis>section{display:grid;align-content:center;gap:5px}.report-kpis strong{font-size:22px}.report-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.7fr);gap:14px;margin-top:14px}.report-legend{display:flex;align-items:center;gap:5px;color:#8793a0;font-size:9px}.report-legend i{width:7px;height:7px;border-radius:50%;background:#318bd6}.report-legend i:nth-of-type(2){margin-left:6px;background:#e3a065}.trend-chart{display:flex;height:218px;margin-top:19px}.chart-y{width:40px;display:flex;flex-direction:column;justify-content:space-between;padding:2px 0 19px;color:#a2abb6;font-size:9px}.chart-plot{min-width:0;flex:1;display:grid;grid-template-rows:1fr 20px}.chart-plot svg{width:100%;height:100%;overflow:visible;background:repeating-linear-gradient(to bottom,transparent 0,transparent 47px,#edf1f4 48px)}.chart-plot polyline{fill:none;stroke:#318bd6;stroke-width:2.5;vector-effect:non-scaling-stroke}.chart-plot polyline.secondary{stroke:#e3a065;stroke-width:2}.chart-x{display:flex;justify-content:space-between;color:#a2abb6;font-size:9px}.channel-distribution{min-width:0}.distribution-donut{width:156px;height:156px;margin:18px auto 14px;display:grid;place-items:center;border-radius:50%;background:conic-gradient(#3c8fd8 0,#3c8fd8 38%,#7db9e6 38%,#7db9e6 69%,#58b795 69%,#58b795 96%,#b9c5d1 96%,#b9c5d1)}.distribution-donut:after{content:"";position:absolute;width:106px;height:106px;border-radius:50%;background:#fff}.distribution-donut>div{position:relative;z-index:1;display:grid;justify-items:center;gap:3px}.distribution-donut strong{color:#34485c;font-size:16px}.distribution-donut small{color:#9aa4af;font-size:9px}.channel-distribution ul{margin:0;padding:0;display:grid;gap:10px;list-style:none}.channel-distribution li{display:flex;align-items:center;gap:6px;color:#68798a;font-size:10px}.channel-distribution li i{width:7px;height:7px;border-radius:50%;background:#3c8fd8}.channel-distribution li i.web{background:#7db9e6}.channel-distribution li i.wa{background:#58b795}.channel-distribution li i.x{background:#b9c5d1}.channel-distribution li strong{margin-left:auto;color:#4b5d70;font-size:10px}.report-detail-table{margin-top:14px}.report-table-row{min-width:680px;display:grid;grid-template-columns:1.2fr repeat(5,1fr);gap:10px;padding:11px 0;border-top:1px solid #edf0f3;color:#5b6d80;font-size:10px}.report-table-row.head{margin-top:13px;padding:9px 0;border-top:0;color:#8e99a6;background:#f7f9fb}.report-detail-table{overflow-x:auto}@media(max-width:1250px){.channel-capability-layout{grid-template-columns:minmax(0,1fr) 300px}.memory-layout{grid-template-columns:260px minmax(0,1fr)}.memory-conflict-panel{grid-column:1 / -1}.channel-list-panel{width:230px}.channel-workspace{grid-template-columns:230px minmax(0,1fr)}}.recording-close{position:absolute;right:10px;top:10px;width:28px;height:28px;display:grid;place-items:center;border:0;border-radius:5px;color:#8791a0;background:transparent;cursor:pointer}.recording-close:hover{background:#f0f3f6}.recording-orb{width:48px;height:48px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#3189d8;box-shadow:0 0 0 7px #eaf4fd;animation:recording-breathe 1.5s ease-in-out infinite}.recording-orb.transcribing svg{animation:spin .9s linear infinite}.voice-recording-popover>strong{margin-top:12px;color:#303d51;font-size:13px}.voice-recording-popover time{margin-top:3px;color:#7b8798;font-variant-numeric:tabular-nums;font-size:11px}.recording-wave{height:28px;margin:8px 0 10px;display:flex;align-items:center;gap:3px}.recording-wave i{width:2px;height:8px;border-radius:2px;background:#68a9e4;animation:recording-wave .8s ease-in-out infinite alternate}.recording-wave.is-processing i{height:3px;animation:status-pulse 1s infinite}.finish-recording{height:30px;padding:0 13px;display:inline-flex;align-items:center;gap:6px;border:0;border-radius:6px;color:#fff;background:#2f86d6;cursor:pointer;font-size:11px}.finish-recording:hover{background:#2779c3}.history-arrows{height:30px;flex-direction:column;justify-content:center;color:#9aa2ae}.preview-run{margin-bottom:22px}.compact-runtime-status{min-height:34px;margin:5px 2px 9px;display:flex;align-items:center;gap:8px;color:#657185}.compact-runtime-status strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:500}.compact-runtime-status.running svg{color:#398dd9;animation:spin .9s linear infinite}.compact-runtime-status.completed{color:#7a8493}.compact-runtime-status.completed svg{color:#27936d}.compact-runtime-status.cancelled{color:#9a6b32}.compact-runtime-status.cancelled svg{color:#d18b36}.replan-context{margin:-4px 0 9px 24px;padding:6px 8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-left:2px solid #76ade0;color:#718096;background:#f2f7fb;font-size:10px}.message-plan-summary{min-height:34px;margin:0 0 9px;padding:0 9px;display:flex;align-items:center;justify-content:space-between;border:1px solid #dce5ed;border-radius:5px;color:#728094;background:#fff;font-size:10px}.message-plan-summary strong{color:#3c4b60}.debug-message-stack{display:grid;gap:6px}.debug-message-stack .chat-message{margin-bottom:0}.status-pulse{width:5px;height:5px;margin-left:1px;border-radius:50%;background:#3b91dd;box-shadow:0 0 #3b91dd4d;animation:status-pulse 1.35s infinite}.agent-response-wrap{position:relative;padding-bottom:26px}.agent-response-wrap .chat-message{margin-bottom:0}.response-hover-actions{position:absolute;left:0;bottom:0;height:24px;display:flex;align-items:center;gap:2px;opacity:0;transform:translateY(-2px);transition:opacity .15s ease,transform .15s ease}.agent-response-wrap:hover .response-hover-actions,.response-hover-actions:focus-within{opacity:1;transform:translateY(0)}.response-hover-actions button{height:24px;padding:0 6px;display:inline-flex;align-items:center;gap:4px;border:0;border-radius:4px;color:#7b8696;background:transparent;cursor:pointer;font-size:11px}.response-hover-actions button:hover,.response-hover-actions button:focus-visible{color:#287fd0;background:#edf5fc;outline:none}.customer-preview-content{background:#f4f6f8}.customer-run{min-height:94px}.typing-indicator{width:fit-content;min-height:38px;padding:10px 12px;display:flex;align-items:center;gap:4px;border:1px solid #e0e5eb;border-radius:5px;color:#8a94a4;background:#fff}.typing-indicator i{width:5px;height:5px;border-radius:50%;background:#8994a4;animation:typing-dot 1.2s infinite ease-in-out}.typing-indicator i:nth-child(2){animation-delay:.16s}.typing-indicator i:nth-child(3){animation-delay:.32s}.typing-indicator span{margin-left:5px;font-size:11px}.typing-indicator.natural{animation:natural-hesitation 4.2s infinite}.streaming-message b{width:2px;height:14px;margin-left:2px;display:inline-block;vertical-align:-2px;background:#3788d5;animation:caret-blink .8s infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes status-pulse{70%{box-shadow:0 0 0 5px #3b91dd00}to{box-shadow:0 0 #3b91dd00}}@keyframes typing-dot{0%,60%,to{transform:translateY(0);opacity:.45}30%{transform:translateY(-3px);opacity:1}}@keyframes natural-hesitation{0%,54%,68%,to{opacity:1}58%,64%{opacity:.35}}@keyframes caret-blink{50%{opacity:0}}@keyframes recording-breathe{50%{box-shadow:0 0 0 11px #4294dc1f}}@keyframes recording-wave{0%{height:6px;opacity:.55}to{height:25px;opacity:1}}.chat-message{max-width:88%;margin-bottom:9px;padding:9px 11px;border-radius:5px;line-height:1.6}.chat-message.user{margin-left:auto;color:#fff;background:#3188d8}.chat-message.agent{border:1px solid #e2e6eb;background:#fff}.chat-message.wait-message{color:#59687a;border-color:#dfe5eb;background:#f9fafb}.user-message-group{display:grid;justify-items:end}.message-attachments{max-width:88%;margin:0 0 5px auto;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px}.message-attachment{min-width:84px;min-height:58px;display:flex;align-items:center;justify-content:center;gap:6px;overflow:hidden;border:1px solid #dce3ea;border-radius:7px;color:#687789;background:#fff;font-size:10px}.message-attachment.image{width:116px;height:74px}.message-attachment img{width:100%;height:100%;object-fit:cover}.message-attachment.audio{min-width:148px;padding:0 10px;justify-content:flex-start;color:#6653ad}.recognition-result{margin:-2px 0 10px;border:1px solid #dce5ed;border-radius:6px;background:#fff}.recognition-result summary{min-height:38px;padding:0 10px;display:flex;align-items:center;justify-content:space-between;gap:8px;list-style:none;cursor:pointer}.recognition-result summary::-webkit-details-marker{display:none}.recognition-result summary>span{display:inline-flex;align-items:center;gap:6px;color:#3c4b61;font-weight:600;font-size:11px}.recognition-result summary>span svg{color:#398bd6}.recognition-result summary small{color:#8590a0;font-size:10px}.recognition-result>div{padding:10px;border-top:1px solid #edf0f3}.recognition-result>div>strong{display:block;margin-bottom:9px;color:#344157;font-size:11px;line-height:1.6}.recognition-result label{display:block;margin-bottom:4px;color:#8a94a3;font-size:10px}.recognition-result pre{margin:0;padding:8px;white-space:pre-wrap;border-radius:5px;color:#596579;background:#f6f8fa;font:10px/1.6 inherit}.recognition-result footer{margin-top:8px;display:flex;flex-wrap:wrap;gap:5px}.recognition-result footer span{padding:3px 6px;border-radius:4px;color:#6f7c8f;background:#eef2f6;font-size:9px}.multimodal-setting-block+.multimodal-setting-block{margin-top:12px;padding-top:12px;border-top:1px solid #dce8f2}.setting-name{display:inline-flex;align-items:center;gap:7px}.setting-name svg{color:#398bd6}.multimodal-fields{margin-top:10px}.trace-card{margin-top:8px;padding:10px;border:1px solid #dde4eb;border-left:3px solid #5aa2e5;border-radius:4px;background:#fff}.trace-card>div{justify-content:space-between}.trace-card p{margin:8px 0 0;display:grid;grid-template-columns:1fr 1.2fr auto;align-items:center;gap:7px;color:#667185;font-size:11px}.trace-card code{overflow:hidden;text-overflow:ellipsis;color:#6b7484}.trace-card b,.decision{font-size:10px}.decision{padding:3px 6px;border-radius:3px;font-weight:700}.decision-allow{color:#167c5e;background:#e8f7f2}.decision-mask,.decision-rewrite{color:#176d87;background:#e7f6fb}.decision-block{color:#b23b43;background:#ffedef}.decision-confirm,.decision-handoff{color:#875b1d;background:#fff3da}.layer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;background:#111c2d47}.drawer{position:absolute;top:0;right:0;width:min(560px,94vw);height:100%;display:flex;flex-direction:column;background:#fff;box-shadow:-10px 0 30px #1b2d4626}.drawer-header{min-height:76px;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #e5e9ef}.drawer-header h2{margin:0;font-size:17px;letter-spacing:0}.drawer-header p{margin:5px 0 0;color:#8490a1}.drawer-body{flex:1;overflow-y:auto;padding:18px 20px 28px}.drawer-footer{min-height:64px;justify-content:flex-end;gap:8px;padding:12px 20px;border-top:1px solid #e5e9ef}.form-section{margin-bottom:20px}.field-label{display:block;margin-bottom:8px;color:#505c6f;font-weight:500}.check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.check-option{min-height:38px;padding:8px 10px;border:1px solid #e1e6ec;border-radius:4px;background:#fbfcfd}.check-option input{width:auto;min-height:0;margin:0}.form-help{margin:7px 0 0;color:#8a94a4;font-size:12px;line-height:1.5}.custom-http-fields{display:grid;gap:14px;padding:13px;border:1px solid #e0e8ef;border-radius:5px;background:#f7fafc}.input-suffix{display:flex}.input-suffix input{border-radius:4px 0 0 4px}.input-suffix span{min-width:42px;display:grid;place-items:center;border:1px solid #d7dee7;border-left:0;border-radius:0 4px 4px 0;color:#7a8493;background:#f3f5f7}.test-rule-button{margin-top:-4px}.test-success{color:#168460}.toast{position:fixed;z-index:80;top:62px;left:50%;transform:translate(-50%);padding:9px 14px;border-radius:5px;color:#fff;background:#243349;box-shadow:0 6px 18px #19284138}.product-modal{position:absolute;top:50%;left:50%;width:min(580px,94vw);max-height:min(820px,92vh);transform:translate(-50%,-50%);display:flex;flex-direction:column;border-radius:7px;background:#fff;box-shadow:0 18px 55px #172a4438;overflow:hidden}.product-modal.wide{width:min(880px,94vw)}.large-textarea{min-height:160px}.modal-tabs{min-height:38px;margin-bottom:15px;display:flex;align-items:center;gap:6px;border-bottom:1px solid #e9edf2}.modal-tabs button{height:36px;padding:0 12px;border:0;border-bottom:2px solid transparent;background:transparent;cursor:pointer}.modal-tabs button.active{color:#2386df;border-bottom-color:#2386df}.modal-tabs .small-button{margin-left:auto;height:28px;border:1px solid #dce2e9}.search-field{min-height:36px;padding:0 10px;display:flex;align-items:center;gap:7px;border:1px solid #d9e0e8;border-radius:4px;background:#fff}.search-field input{min-height:32px;padding:4px 0;border:0;box-shadow:none}.selection-list{margin-top:12px;display:grid;gap:7px}.selection-list label{min-height:54px;padding:9px 11px;display:flex;align-items:center;gap:10px;border:1px solid #e1e6ec;border-radius:5px;cursor:pointer}.selection-list label:hover{border-color:#85bceb;background:#f8fcff}.selection-list label>input{width:auto;min-height:0}.selection-list label>span{display:grid;gap:3px}.selection-list small{color:#8a94a3}.template-grid{margin-top:12px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.template-grid button{min-height:100px;padding:12px;display:grid;align-content:start;gap:7px;text-align:left;border:1px solid #e0e5eb;border-radius:5px;background:#fff;cursor:pointer}.template-grid button.selected,.template-grid button:hover{border-color:#55a2e5;background:#f5fbff}.template-grid small{color:#7f8999;line-height:1.5}.assistant-layout{display:grid;grid-template-columns:1fr 1fr;gap:18px}.assistant-layout>div:first-child{display:grid;gap:12px}.usecase-chips{display:flex;flex-wrap:wrap;gap:6px}.usecase-chips button{padding:5px 8px;border:1px solid #dce3ea;border-radius:4px;background:#fff;cursor:pointer}.generated-preview{min-height:360px;padding:16px;border:1px solid #e0e6ed;border-radius:5px;color:#687487;line-height:1.7;background:#f8fafc}.variable-table{border:1px solid #e0e5eb;border-radius:5px;overflow:hidden}.variable-head,.variable-row{display:grid;grid-template-columns:1.2fr 1.2fr 1fr 60px 36px;gap:8px;align-items:center;padding:9px}.variable-head{color:#7d8796;background:#f5f7f9}.variable-row{border-top:1px solid #edf0f3}.variable-row input[type=checkbox]{width:auto;min-height:0}.empty-state,.empty-copy{margin:0;padding:16px 2px;color:#8993a2}.added-items{display:flex;flex-wrap:wrap;gap:7px}.added-items>span{padding:6px 8px;display:inline-flex;align-items:center;gap:7px;border:1px solid #dce5ed;border-radius:4px;background:#fff}.added-items button{border:0;color:#8b95a3;background:transparent;cursor:pointer}.inline-config{margin-top:11px;padding:10px 12px;border:1px solid #dce5ec;border-radius:6px;background:#ffffffad}.session-form{margin:8px 0;padding:10px;border-top:1px solid #e5ebf0}.session-form>strong{display:block;margin-bottom:9px}.model-panel{position:absolute;z-index:40;top:57px;right:82px;width:420px;padding:16px;display:grid;gap:13px;border:1px solid #e1e6ed;border-radius:7px;background:#fff;box-shadow:0 14px 38px #1f314a2e}.model-panel header{display:flex;align-items:center;justify-content:space-between}.model-panel label{display:grid;gap:6px}.preset-control,.boolean-control{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.preset-control button,.boolean-control button{min-height:34px;border:1px solid #e0e5eb;border-radius:4px;background:#f8f9fb;cursor:pointer}.preset-control button.active,.boolean-control button.active{color:#197bd3;border-color:#78b5e9;background:#edf7ff}.model-metric{display:grid;grid-template-columns:74px 34px 1fr 58px;align-items:center;gap:8px}.model-metric input[type=range]{min-height:20px;padding:0}.model-metric .boolean-control{grid-column:3 / 5;grid-template-columns:1fr 1fr}.content-page{position:relative;min-height:0;flex:1;overflow:auto;padding:28px 30px;background:#fff}.docs-page{padding:0;display:grid;grid-template-columns:250px minmax(0,1fr)}.docs-page aside{padding:25px;border-right:1px solid #e5e9ef}.docs-page aside h2{font-size:15px}.docs-page aside a{padding:8px 0;display:block;color:#627087}.docs-page article{max-width:900px;padding:28px 40px 70px}.docs-page h1{margin-top:0}.docs-page article section{margin-top:30px}.code-block{min-height:48px;padding:12px;display:flex;align-items:center;justify-content:space-between;border-radius:5px;color:#dce7f7;background:#1e293b}.data-table{margin-top:22px;border-top:1px solid #e4e8ed}.data-row{width:100%;min-height:52px;padding:0 12px;display:grid;grid-template-columns:2fr 1.5fr .5fr .7fr 1fr;align-items:center;gap:12px;border:0;border-bottom:1px solid #eceff3;text-align:left;background:#fff}button.data-row{cursor:pointer}button.data-row:hover{background:#f7fbff}.data-row.head{min-height:40px;color:#7e8897;background:#f4f6f9}.log-detail{position:absolute;top:0;right:0;width:360px;height:100%;padding:22px;border-left:1px solid #e2e7ed;background:#fff;box-shadow:-8px 0 24px #182a431a}.monitor-filter{display:flex;align-items:center;gap:9px}.monitor-filter input{width:145px}.metric-grid{margin-top:16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.metric-chart{min-height:310px;padding:20px;border:1px solid #e3e7ec;border-radius:6px;overflow:hidden}.metric-chart h2{font-size:14px}.metric-chart>strong{font-size:28px}.chart-line{position:relative;height:190px;margin-top:18px;border-bottom:1px solid #dde3e9;background:repeating-linear-gradient(to bottom,transparent 0 45px,#edf0f3 46px)}.chart-line:after{content:"";position:absolute;left:0;right:0;top:36px;height:3px;transform:skewY(12deg);transform-origin:left;background:#33a0ad;box-shadow:0 40px #33a0ad14}.chart-line.orange:after{background:#e99248}.chart-line.gray:after{background:#aab2bd}.chart-line i{position:absolute;width:7px;height:7px;top:32px;border:2px solid #33a0ad;border-radius:50%;background:#fff}.chart-line i:nth-child(1){left:4%}.chart-line i:nth-child(2){left:34%}.chart-line i:nth-child(3){left:65%;top:78px}.chart-line i:nth-child(4){right:3%;top:80px}.review-filters{display:flex;gap:10px;margin-top:14px}.review-filters select{width:160px}.review-filters .search-field{width:220px}.empty-review{min-height:440px;display:grid;place-content:center;justify-items:center;color:#929baa}.management-body{height:calc(100vh - 50px);display:grid;grid-template-columns:200px minmax(0,1fr);background:#f5f6f8}.management-sidebar{padding:14px 10px;overflow-y:auto;border-right:1px solid #e1e5ea;background:#fff}.management-sidebar section{margin:12px 0 20px}.management-sidebar h3{margin:0 10px 7px;color:#929baa;font-size:12px;font-weight:500}.management-sidebar button{width:100%;min-height:38px;padding:0 11px;display:flex;align-items:center;gap:10px;border:0;border-radius:4px;color:#5f6b7c;background:transparent;cursor:pointer}.management-sidebar button:hover,.management-sidebar button.active{color:#227fd4;background:#eef6ff}.management-sidebar .back-to-agent{margin-bottom:8px;border:1px solid #e1e6ec}.skills-main,.skill-detail{min-width:0;overflow-y:auto}.skills-main{padding:30px 34px 60px}.skills-page-header,.skill-detail-header{display:flex;align-items:center}.skills-page-header{justify-content:space-between}.skills-page-header h1,.skill-detail-header h1{margin:0;font-size:22px;letter-spacing:0}.skills-page-header p,.skill-detail-header p{margin:6px 0 0;color:#7c8798}.skills-toolbar{margin-top:22px;display:grid;grid-template-columns:minmax(240px,1fr) 150px 140px 140px auto;gap:9px}.skills-table{margin-top:15px;border:1px solid #e0e5eb;border-radius:6px;background:#fff;overflow:hidden}.skills-row{width:100%;min-height:68px;padding:0 14px;display:grid;grid-template-columns:2fr 1.4fr .75fr .65fr .75fr 1fr 30px;align-items:center;gap:12px;border:0;border-top:1px solid #edf0f3;text-align:left;background:#fff}button.skills-row{cursor:pointer}button.skills-row:hover{background:#f7fbff}.skills-row.head{min-height:42px;border-top:0;color:#7f8997;font-size:12px;background:#f6f8fa}.skills-row span{min-width:0}.skills-row b{display:block;font-weight:500}.skills-row small{margin-top:4px;display:block;overflow:hidden;color:#8a94a3;text-overflow:ellipsis;white-space:nowrap}.skill-name-cell{display:flex;align-items:center;gap:10px}.skill-name-cell>i{width:34px;height:34px;flex:0 0 auto;display:grid;place-items:center;border-radius:5px;color:#267fcf;background:#eaf5ff}.skill-name-cell strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.skill-status{width:fit-content;padding:4px 7px;border-radius:3px;font-style:normal;font-size:11px;font-weight:600}.skill-status.published{color:#15785c;background:#e8f7f1}.skill-status.draft{color:#8c641e;background:#fff3dc}.skill-status.failed{color:#b33d45;background:#ffedef}.skill-status.validating{color:#2673b8;background:#eaf4fe}.skills-empty{min-height:180px;display:grid;place-content:center;color:#929baa}.create-mode{margin-bottom:18px;display:grid;grid-template-columns:1fr 1fr;gap:10px}.create-mode>button{min-height:80px;padding:14px;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;align-items:center;text-align:left;border:1px solid #dfe5ec;border-radius:6px;background:#fff;cursor:pointer}.create-mode>button svg{grid-row:1 / 3;color:#378dd9}.create-mode>button small{color:#8993a2}.create-mode>button.active{border-color:#5aa5e6;background:#f3f9ff}.tag-picker{margin:15px 0;display:flex;align-items:center;gap:7px}.tag-picker>span{margin-right:5px;font-weight:600}.tag-picker button{padding:5px 8px;border:1px solid #dce3ea;border-radius:4px;background:#fff;cursor:pointer}.tag-picker button.active{color:#237fd3;border-color:#72b1e9;background:#eef7ff}.upload-zone{min-height:130px;padding:20px;display:grid;place-content:center;justify-items:center;gap:7px;border:1px dashed #bfcddd;border-radius:6px;color:#657287;background:#f8fafc;cursor:pointer}.upload-zone input{display:none}.upload-zone small{color:#929baa}.ai-create-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:12px}.ai-create-grid>div{display:grid;gap:10px}.skill-code-editor{min-height:240px;border:1px solid #27364c;color:#dfe8f5;background:#172234;font-family:Consolas,monospace;line-height:1.65}.skill-code-editor.full{height:100%;min-height:540px;border:0;border-radius:0;resize:none}.tag-create{display:grid;grid-template-columns:1fr auto;gap:8px}.managed-tags{margin-top:15px;display:flex;flex-wrap:wrap;gap:8px}.managed-tags span{padding:7px 9px;display:flex;align-items:center;gap:8px;border:1px solid #dce3ea;border-radius:4px}.managed-tags button{border:0;color:#8b94a1;background:transparent;cursor:pointer}.skill-detail{display:flex;flex-direction:column;background:#fff}.skill-detail-header{min-height:74px;padding:0 22px;gap:12px;border-bottom:1px solid #e2e7ed}.skill-detail-header>div:nth-child(2){min-width:0}.skill-detail-header .detail-actions{margin-left:auto;display:flex;gap:7px}.skill-tabs{min-height:46px;padding-left:66px;display:flex;gap:24px;border-bottom:1px solid #e5e9ef}.skill-tabs button{position:relative;border:0;background:transparent;cursor:pointer}.skill-tabs button.active{color:#2382da;font-weight:600}.skill-tabs button.active:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:#2382da}.skill-workspace{min-height:0;flex:1;display:grid;grid-template-columns:260px minmax(0,1fr)}.file-tree{padding:12px;border-right:1px solid #dfe5ec;background:#f7f9fb}.file-tree header{min-height:36px;display:flex;align-items:center;justify-content:space-between}.file-tree header button{border:0;background:transparent;cursor:pointer}.file-tree>button{width:100%;min-height:36px;padding:0 8px;display:flex;align-items:center;gap:7px;border:0;border-radius:4px;color:#5c6879;background:transparent;cursor:pointer}.file-tree>button.active{color:#1c78ca;background:#e8f3fd}.skill-editor{min-width:0;display:flex;flex-direction:column}.skill-editor>header{height:44px;padding:0 13px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dfe5ec}.skill-editor>header div{display:flex}.skill-editor>header button{min-height:28px;padding:0 10px;border:1px solid #dce3ea;background:#fff;cursor:pointer}.skill-editor>header button.active{color:#237fd3;background:#eef7ff}.markdown-preview{flex:1;margin:0;padding:22px;overflow:auto;color:#253247;background:#fff;font-family:Consolas,monospace;line-height:1.7;white-space:pre-wrap}.version-list,.validation-page,.references-page{padding:24px 30px 60px;overflow-y:auto}.version-list>div{min-height:84px;display:grid;grid-template-columns:34px 1fr 90px auto;align-items:center;gap:12px;border-bottom:1px solid #e9edf1}.version-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;color:#267fcf;background:#eaf5ff}.version-list p{margin:5px 0}.version-list small{color:#8993a2}.validation-page>header,.references-page>header{display:flex;align-items:center;justify-content:space-between}.validation-page h2,.references-page h2{margin:0}.validation-page header p,.references-page header p{color:#7f8999}.validation-row{min-height:72px;display:grid;grid-template-columns:30px 1fr 80px;align-items:center;gap:12px;border-bottom:1px solid #e8ecf1}.validation-row>svg{color:#198664}.validation-row p{margin:5px 0 0;color:#7c8797}.validation-row>span{color:#18805f}.references-page>div:not(.skills-empty){min-height:60px;display:grid;grid-template-columns:30px 1fr 100px 100px;align-items:center;gap:10px;border-bottom:1px solid #e8ecf1}.ai-optimize{display:grid;grid-template-columns:1fr 1fr;gap:16px}.ai-optimize textarea{min-height:220px}.ai-optimize>div{padding:13px;border:1px solid #e0e6ed;border-radius:5px;background:#f7f9fb}.ai-optimize p{display:flex;align-items:center;gap:7px}.skill-binding-list{margin-top:12px;display:grid;gap:7px}.skill-binding-list>div{min-height:68px;padding:10px;display:grid;grid-template-columns:1fr 150px 110px;align-items:center;gap:10px;border:1px solid #e1e6ec;border-radius:5px}.skill-binding-list>div.active{border-color:#7db7e9;background:#f7fbff}.skill-binding-list label{display:flex;align-items:center;gap:8px}.skill-binding-list input[type=checkbox]{width:auto;min-height:0}.skill-binding-list label>span{display:grid;gap:3px}.skill-binding-list small{color:#8993a2}.skill-binding-list .auto-update{justify-content:center}.skill-binding-summary{margin-top:10px;display:grid;gap:5px}.skill-binding-summary>span{padding:8px 10px;display:flex;align-items:center;justify-content:space-between;border:1px solid #e1e7ed;border-radius:4px;background:#ffffffb8}.skill-binding-summary small{color:#758195}@media(max-width:1280px){.agent-header{grid-template-columns:195px 1fr auto}.agent-tabs{gap:12px}.model-selector{min-width:44px;width:44px;padding:0}.model-selector span,.model-selector em,.model-selector svg:last-child{display:none}.workspace{grid-template-columns:minmax(460px,1fr) 390px}}@media(max-width:960px){html,body{height:auto;min-height:100%;overflow:auto}#root{position:static;height:auto;min-height:100dvh;overflow:visible}.app-shell{min-height:100dvh;height:auto;overflow:visible}.app-body{flex:none;height:auto;min-height:calc(100dvh - 50px)}.agent-header{grid-template-columns:1fr auto}.agent-tabs{display:none}.workspace{display:block}.configuration-pane{overflow:visible;border-right:0}.preview-panel{min-height:620px;border-top:1px solid #dfe5ec}}@media(max-width:680px){.top-header{padding:0 10px}.account-area>svg:first-child,.account-area div,.account-area>svg:last-child{display:none}.global-sidebar{display:none}.agent-header{height:auto;min-height:64px;grid-template-columns:minmax(0,1fr) auto;padding:8px 10px}.agent-actions .secondary-button,.agent-actions>.icon-button{display:none}.configuration-pane{padding:10px 8px 26px}.config-section{padding:11px}.form-grid,.form-grid.three,.two-column-form,.check-grid{grid-template-columns:1fr}.radio-line{flex-wrap:wrap;gap:10px 16px}.rule-table-header,.rule-table-row{min-width:670px}.example-grid{grid-template-columns:1fr}.drawer{width:100vw}.drawer-header,.drawer-body,.drawer-footer{padding-left:14px;padding-right:14px}.model-panel{position:fixed;inset:60px 8px auto;width:auto;max-height:calc(100vh - 70px);overflow:auto}.assistant-layout,.docs-page,.metric-grid{grid-template-columns:1fr}.docs-page aside{display:none}.docs-page article{padding:20px 14px 60px}.template-grid{grid-template-columns:1fr}.variable-head{display:none}.variable-row{grid-template-columns:1fr}.data-table{overflow-x:auto}.data-row{min-width:760px}}
