Files
JX-BPOS/apps/web/src/app/styles/proto.vendor.css
T
JCAI Main AgentandClaude Opus 5 3cfaa04098 M6(1/n): 工作台任务要素 —— 原型 1:1 平移的第一屏
样式整文件搬(README 平移规则 1):app.css 2767 行 + proto.vendor.css +
theme.css + console.css 原样搬,设计令牌与全部 jc-* / g-* 类名不动。

前端(按 §9 重排,渲染输出 1:1):
- shared/:Ico / ScrollArea / useChatWidth 自原型搬,去掉 "use client" 等 Next 专有件;
  失效的 react-hooks disable 指令按 §17 清掉(不改渲染)
- shared/typed-fetch.ts:服务端交互唯一通道,路由契约来自 @contracts/api;
  不引 Hono RPC 客户端(那要求前端 import 后端类型,违反 §5.1)
- app/query.ts:TanStack Query;缓存失效由订阅层驱动,组件不轮询
- features/desk-task:任务列表(一条 = 一个活动的一次运行,不是一整条工作流)/
  标题区 + 工作区四页签 / 对话区(气泡二元制 + 卡族 + **composer 锁**)
- @ui:ViewContainer 用**沙箱 iframe(sandbox 不含 allow-scripts)** —— 结构上无脚本执行权,
  不依赖净化算法的完备性;ViewBlocks 渲染十一种视图块
  feature 不得自行 dangerouslySetInnerHTML,eslint 有规则守着

后端:工作台路由 /api/desk/*(任务清单 / 任务详情 / 工单回传 / 自由输入 / 消息);
回传与后端校验**同 schema**;任务详情是服务端投影 —— 前端零过程状态,刷新即重建

已验证(真机):任务卡「A1 RFQ需求分析 · 序位 1/7 · awaiting-event」、
预算 2/40 步、1 张工单(LLM 步失败后转人兜底那张)、7 行带归侧标签的任务日志

358 个测试通过,门禁五道全绿;web 构建通过

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KeDBx2PHLavbURXB8LJJ7m
2026-07-27 02:45:42 +08:00

2 lines
234 KiB
CSS

.ops-module{--ops-bg: #f3f5f8;--ops-surface: #ffffff;--ops-soft: #f8f9fb;--ops-muted-surface: #f5f7fa;--ops-border: #dee0e3;--ops-border-soft: #e8eaed;--ops-text: #1f2329;--ops-muted: #646a73;--ops-primary: #3370ff;--ops-primary-soft: #f0f4ff;--ops-warning: #b45309;--ops-warning-soft: #fff7ed;--ops-danger: #be123c;--ops-danger-soft: #fff1f2;--ops-success: #047857;--ops-success-soft: #ecfdf5;height:calc(100vh - 68px);min-height:660px;min-width:0;display:grid;gap:12px;padding:12px;background:var(--ops-bg);color:var(--ops-text);font-size:13px}.ops-projects{grid-template-columns:306px minmax(0,1fr) 330px}.ops-projects.chat-collapsed{grid-template-columns:306px minmax(0,1fr) 52px}.ops-mail{grid-template-columns:216px 350px minmax(0,1fr) 318px}.ops-mail.chat-collapsed{grid-template-columns:216px 350px minmax(0,1fr) 52px}.ops-mail.folders-collapsed{grid-template-columns:64px 350px minmax(0,1fr) 318px}.ops-mail.folders-collapsed.chat-collapsed{grid-template-columns:64px 350px minmax(0,1fr) 52px}.ops-message{grid-template-columns:178px 326px minmax(0,1fr) 286px}.ops-knowledge{grid-template-columns:252px 342px minmax(0,1fr) 318px}.ops-pane{min-width:0;min-height:0;border:1px solid var(--ops-border);border-radius:10px;background:var(--ops-surface);box-shadow:0 1px 2px #1f23290d;overflow:hidden}.ops-rail,.ops-list-pane,.ops-inspector{display:flex;flex-direction:column;padding:12px}.ops-main{display:flex;flex-direction:column}.ops-title{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:3px 8px;padding-bottom:10px;border-bottom:1px solid var(--ops-border-soft);margin-bottom:10px}.ops-title.with-action{grid-template-columns:minmax(0,1fr) auto}.ops-title span{grid-column:1;color:var(--ops-muted);font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.ops-title strong{grid-column:1;color:var(--ops-text);font-size:18px;line-height:1.1}.ops-title em{grid-row:1 / span 2;grid-column:2;align-self:center;color:var(--ops-muted);font-size:12px;font-style:normal}.ops-icon-action{grid-row:1 / span 2;grid-column:2;width:36px;height:36px;display:grid;place-items:center;border:1px solid #b7caf2;border-radius:8px;background:var(--ops-primary);color:#fff}.ops-search{height:36px;display:flex;align-items:center;gap:8px;padding:0 10px;border:1px solid var(--ops-border);border-radius:8px;background:var(--ops-soft);color:var(--ops-muted)}.ops-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--ops-text);font-size:13px}.ops-segmented{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.ops-segmented button,.ops-folder,.ops-mini-tabs button{min-height:30px;border:1px solid var(--ops-border);border-radius:8px;background:#fff;color:#41464e;padding:5px 9px;font-size:12px}.ops-segmented button.active,.ops-folder.active,.ops-mini-tabs button.active{border-color:#c7d7f2;background:var(--ops-primary-soft);color:var(--ops-primary);font-weight:750}.ops-checkline{display:flex;align-items:center;gap:7px;min-height:30px;margin-bottom:8px;color:#565c66;font-size:12px}.ops-list,.ops-scroll,.ops-chat-stream{min-height:0;overflow:auto}.ops-list{flex:1;padding-right:2px}.ops-scroll{flex:1;padding:12px 14px 16px}.ops-record,.ops-mail-row,.ops-chat-row,.ops-knowledge-row,.ops-space-row,.ops-row,.ops-card,.ops-section,.ops-confirm-card,.ops-picker-card,.ops-file-line,.ops-member-row{width:100%;border:1px solid var(--ops-border-soft);border-radius:9px;background:#fff;box-shadow:none}.ops-record,.ops-mail-row,.ops-chat-row,.ops-knowledge-row,.ops-space-row{display:block;margin-top:8px;padding:10px;text-align:left}.ops-record:hover,.ops-mail-row:hover,.ops-chat-row:hover,.ops-knowledge-row:hover,.ops-space-row:hover,.ops-row:hover,.ops-file-line:hover,.ops-picker-card:hover,.ops-member-row:hover{border-color:#b8c6d8;background:#fbfcfe}.ops-record.active,.ops-mail-row.active,.ops-chat-row.active,.ops-knowledge-row.active,.ops-space-row.active,.ops-row.active{border-color:#98b8ef;background:#f6f9ff;box-shadow:inset 3px 0 0 var(--ops-primary)}.ops-record strong,.ops-mail-row strong,.ops-chat-row strong,.ops-knowledge-row strong{display:block;margin:5px 0 3px;color:var(--ops-text);font-size:13px;line-height:1.35}.ops-record small,.ops-record footer,.ops-mail-row p,.ops-mail-row small,.ops-chat-row p,.ops-chat-row small,.ops-knowledge-row p,.ops-space-row span,.ops-card p,.ops-row p,.ops-hero p,.ops-section-head span{color:var(--ops-muted);font-size:12px;line-height:1.45}.ops-record footer{display:flex;justify-content:space-between;gap:8px;margin-top:8px}.ops-record footer b{color:#41464e}.ops-progress{height:5px;margin:9px 0 7px;border-radius:999px;background:#e8eaed;overflow:hidden}.ops-progress span{display:block;height:100%;border-radius:inherit;background:var(--ops-primary)}.ops-pill{display:inline-flex;align-items:center;width:fit-content;min-height:22px;border:1px solid transparent;border-radius:999px;padding:2px 8px;font-size:11px;font-weight:750}.ops-pill.running{border-color:#bacefd;background:#f0f4ff;color:#245bdb}.ops-pill.warning{border-color:#fed7aa;background:var(--ops-warning-soft);color:var(--ops-warning)}.ops-pill.pending{border-color:#fecdd3;background:var(--ops-danger-soft);color:var(--ops-danger)}.ops-pill.success{border-color:#a7f3d0;background:var(--ops-success-soft);color:var(--ops-success)}.ops-pill.neutral{border-color:#e2e8f0;background:#f1f5f9;color:#565c66}.ops-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:14px 16px;border-bottom:1px solid var(--ops-border-soft);background:#fff}.ops-kicker{display:inline-flex;margin-bottom:5px;color:var(--ops-primary);font-size:12px;font-weight:750}.ops-hero h2{margin:0;color:var(--ops-text);font-size:18px;line-height:1.25}.ops-actions{display:flex;align-items:flex-start;justify-content:flex-end;gap:8px;flex-wrap:wrap}.ops-actions button,.ops-row button,.ops-inline,.ops-action-grid button,.ops-chat-card button,.ops-confirm-card button,.ops-modal-actions button{min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--ops-border);border-radius:8px;background:#fff;color:#41464e;padding:6px 10px;font-size:13px}.ops-actions button.primary,.ops-action-grid button:first-child,.ops-modal-actions button.primary,.ops-confirm-card button:first-child{border-color:var(--ops-primary);background:var(--ops-primary);color:#fff}.ops-actions button.danger{border-color:#fecdd3;background:#fff1f2;color:#be123c}.ops-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:10px 14px;border-bottom:1px solid var(--ops-border-soft)}.ops-metrics article,.ops-meta-grid article{display:grid;grid-template-columns:18px minmax(0,1fr);gap:4px 8px;align-items:center;padding:8px 10px;border:1px solid var(--ops-border-soft);border-radius:8px;background:var(--ops-soft)}.ops-metrics span,.ops-meta-grid span{color:var(--ops-muted);font-size:12px}.ops-metrics strong,.ops-meta-grid strong{grid-column:2;color:var(--ops-text);font-size:15px}.ops-tabs{display:flex;gap:12px;padding:0 14px;border-bottom:1px solid var(--ops-border-soft)}.ops-tabs button{border:0;border-bottom:2px solid transparent;background:transparent;color:var(--ops-muted);padding:10px 2px 9px;font-size:13px}.ops-tabs button.active{border-bottom-color:var(--ops-primary);color:var(--ops-primary);font-weight:750}.ops-section{margin-bottom:10px;padding:12px}.ops-section-head{display:flex;justify-content:space-between;gap:12px;padding-bottom:8px;border-bottom:1px solid var(--ops-border-soft);margin-bottom:10px}.ops-section-head strong,.ops-card h3{color:var(--ops-text);font-size:14px}.ops-gantt{overflow:auto;border:1px solid var(--ops-border-soft);border-radius:9px}.ops-gantt-section{padding:0;overflow:hidden}.ops-gantt-section .ops-section-head{margin:0;padding:12px 14px;background:#fff}.sop-gantt{height:calc(100vh - 312px);min-height:430px;overflow:auto;background:linear-gradient(90deg,rgba(219,228,239,.62) 1px,transparent 1px) 340px 0 / var(--day-width) 100%,#f8f9fb}.sop-gantt-grid{display:grid;grid-template-columns:340px repeat(var(--days),var(--day-width));min-width:calc(340px + var(--days) * var(--day-width))}.sop-gantt-header{position:sticky;top:0;z-index:5;min-height:52px;border-bottom:1px solid var(--ops-border);background:#fffffff5}.sop-gantt-left-head{position:sticky;left:0;z-index:6;display:grid;align-content:center;gap:2px;padding:9px 14px;border-right:1px solid var(--ops-border);background:#fff}.sop-gantt-left-head strong{color:var(--ops-text);font-size:13px}.sop-gantt-left-head span{color:var(--ops-muted);font-size:12px}.sop-gantt-tick{display:grid;place-items:center;min-height:52px;border-right:1px solid rgba(219,228,239,.72);color:#646a73;font-size:11px}.sop-gantt-tick.week{background:#f0f4ff;color:#3370ff;font-weight:750}.sop-gantt-tick em{font-size:10px;font-style:normal}.sop-gantt-body{display:grid}.sop-gantt-row{position:relative;min-height:86px;border:0;border-bottom:1px solid var(--ops-border-soft);background:transparent;padding:0;text-align:left}.sop-gantt-row:hover{background:#f0f4ff57}.sop-gantt-row.active{background:#f0f4ffb8}.sop-gantt-task{position:sticky;left:0;z-index:3;display:grid;align-content:center;gap:4px;min-height:86px;padding:10px 14px;border-right:1px solid var(--ops-border);background:#fff}.sop-gantt-row.active .sop-gantt-task{background:#f6f9ff;box-shadow:inset 3px 0 0 var(--ops-primary)}.sop-gantt-task strong{overflow:hidden;color:var(--ops-text);font-size:13px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.sop-gantt-task small{overflow:hidden;color:var(--ops-muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.sop-gantt-task footer{display:flex;gap:10px;align-items:center;color:#565c66;font-size:12px}.sop-gantt-task footer a{color:var(--ops-primary);font-weight:750;text-decoration:none}.sop-gantt-bar{align-self:center;position:relative;z-index:1;height:32px;margin:0 4px;overflow:hidden;border:1px solid #bacefd;border-radius:8px;background:#e1eaff;box-shadow:0 6px 16px #3370ff1f}.sop-gantt-bar span{display:block;height:100%;border-radius:inherit;background:#3370ff}.sop-gantt-bar em{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;color:#1f2329;font-size:11px;font-style:normal;font-weight:800}.sop-gantt-bar.warning{border-color:#fdba74;background:#ffedd5}.sop-gantt-bar.warning span{background:#f97316}.sop-gantt-bar.pending{border-color:#fecdd3;background:#ffe4e6}.sop-gantt-bar.pending span{background:#e11d48}.sop-gantt-bar.success{border-color:#a7f3d0;background:#d1fae5}.sop-gantt-bar.success span{background:#059669}.ops-project-chat{min-width:0;min-height:0;display:grid;grid-template-rows:auto auto 1fr auto;overflow:hidden;border:1px solid #c9d8ee;border-radius:10px;background:#f7faff;box-shadow:inset 1px 0 #3370ff14,0 10px 28px #1f232914}.ops-project-chat-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:14px;border-bottom:1px solid #d6e3f7;background:#fff}.ops-project-chat-head span{color:#646a73;font-size:11px;font-weight:750;letter-spacing:.08em;text-transform:uppercase}.ops-project-chat-head h2{margin:2px 0;color:var(--ops-text);font-size:18px;line-height:1.15}.ops-project-chat-head p{margin:0;color:var(--ops-muted);font-size:12px}.ops-project-chat-head button,.ops-project-chat-rail{border:1px solid #d6e3f7;border-radius:8px;background:#fff;color:#41464e}.ops-project-chat-head button{width:36px;height:36px;display:grid;place-items:center}.ops-project-chat-prompts{display:flex;flex-wrap:wrap;gap:7px;padding:10px 12px;border-bottom:1px solid #d6e3f7;background:#f8fbff}.ops-project-chat-prompts button{min-height:30px;border:1px solid #d6e3f7;border-radius:8px;background:#fff;color:#41464e;padding:5px 8px;font-size:12px}.ops-project-chat-stream{min-height:0;overflow:auto;padding:12px}.ops-project-chat-bubble{margin-bottom:10px;border:1px solid #d6e3f7;border-radius:10px;background:#fff;padding:10px;box-shadow:0 1px 2px #1f23290d}.ops-project-chat-bubble.user{border-color:#c7d7f2;background:#f4f8ff}.ops-project-chat-bubble.ai{background:#fff}.ops-project-chat-bubble header{display:flex;justify-content:space-between;gap:8px;margin-bottom:5px}.ops-project-chat-bubble strong{color:#1f2329;font-size:12px}.ops-project-chat-bubble time{color:#646a73;font-size:11px}.ops-project-chat-bubble p{margin:0;color:#172033;font-size:13px;line-height:1.5}.ops-project-chat-input{display:grid;grid-template-columns:1fr 42px;gap:8px;padding:12px;border-top:1px solid #d6e3f7;background:#fff}.ops-project-chat-input textarea{min-height:48px;max-height:120px;resize:vertical;border:1px solid #d6e3f7;border-radius:9px;background:#f8fbff;color:#1f2329;padding:9px 10px;font-size:13px}.ops-project-chat-input button{width:42px;height:42px;display:grid;place-items:center;border:0;border-radius:9px;background:var(--ops-primary);color:#fff}.ops-project-chat-rail{display:grid;align-content:center;justify-items:center;gap:10px;min-width:0;min-height:0;color:#3370ff;background:#f7faff}.ops-project-chat-rail span{writing-mode:vertical-rl;color:#3370ff;font-size:12px;font-weight:800;letter-spacing:.08em}.ops-row{display:grid;grid-template-columns:20px minmax(0,1fr) auto auto;align-items:center;gap:10px;margin-bottom:8px;padding:10px}.ops-row strong{color:var(--ops-text);font-size:13px}.ops-row.risk{border-color:#fed7aa;background:#fffaf2}.ops-card{margin-bottom:10px;padding:12px}.ops-card.highlight{background:#f8fbff}.ops-card.compact{margin-top:10px;background:var(--ops-soft)}.ops-card select,.ops-modal input,.ops-modal select,.ops-modal textarea{width:100%;border:1px solid var(--ops-border);border-radius:8px;background:#fff;color:var(--ops-text);padding:8px 10px;font-size:13px}.ops-card dl{display:grid;grid-template-columns:64px 1fr;gap:6px 10px;margin:0}.ops-card dt{color:var(--ops-muted)}.ops-card dd{margin:0;color:var(--ops-text)}.ops-inline,.ops-file{width:fit-content;margin-top:8px}.ops-file,.ops-file-line{display:flex;align-items:center;gap:8px;padding:8px 10px;text-align:left}.ops-file-line div,.ops-file-line strong,.ops-file-line span{min-width:0}.ops-file-line span{color:var(--ops-muted);font-size:12px}.ops-file-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ops-table-wrap header{display:flex;align-items:center;gap:8px;margin-bottom:8px}.ops-table{width:100%;border-collapse:collapse;overflow:hidden;border:1px solid var(--ops-border-soft);border-radius:9px;background:#fff;font-size:12px}.ops-table th,.ops-table td{border-bottom:1px solid var(--ops-border-soft);padding:9px 10px;text-align:left;vertical-align:top}.ops-table th{background:var(--ops-soft);color:var(--ops-muted);font-weight:750}.ops-table tr{cursor:pointer}.ops-account,.ops-member-row{display:flex;align-items:flex-start;gap:9px;padding:10px;border:1px solid var(--ops-border-soft);border-radius:9px;background:var(--ops-soft);text-align:left}.ops-account strong,.ops-member-row strong{display:block;color:var(--ops-text)}.ops-account span,.ops-member-row span{color:var(--ops-muted);font-size:12px}.ops-folder-list,.ops-space-list{display:grid;gap:5px}.ops-folder{width:100%;display:flex;align-items:center;justify-content:flex-start;gap:8px;margin-top:0;text-align:left}.ops-folder span{min-width:0;flex:1}.ops-folder em{min-width:20px;height:20px;display:inline-grid;place-items:center;border-radius:999px;background:#f1f5f9;color:#565c66;font-size:11px;font-style:normal}.ops-folder.active em{background:#3370ff;color:#fff}.ops-folder-collapse{width:100%;min-height:32px;display:inline-flex;align-items:center;justify-content:center;gap:6px;margin:8px 0;border:1px solid var(--ops-border);border-radius:8px;background:#fff;color:#41464e;font-size:12px}.mail-folders-collapsed{padding:10px 8px}.mail-folders-collapsed .ops-title{display:flex;justify-content:center;padding-bottom:8px}.mail-folders-collapsed .ops-icon-action{position:static}.mail-folders-collapsed .ops-folder-list{gap:8px}.mail-folders-collapsed .ops-folder{position:relative;min-height:44px;justify-content:center;padding:6px 4px}.mail-folders-collapsed .ops-folder em{position:absolute;top:-5px;right:-4px;min-width:18px;height:18px;font-size:10px}.ops-mail-row header,.ops-chat-row header,.ops-message-bubble header{display:flex;justify-content:space-between;gap:8px}.ops-mail-row footer,.ops-knowledge-row footer{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.ops-mail-row em,.ops-knowledge-row em{border-radius:999px;background:#f1f5f9;color:var(--ops-muted);padding:2px 7px;font-style:normal;font-size:11px}.ops-mail-row footer span{display:inline-flex;align-items:center;gap:4px;color:var(--ops-muted)}.mail-body pre,.ops-doc-preview,.ops-preview{white-space:pre-wrap;margin:0;color:var(--ops-text);font-family:inherit;font-size:13px;line-height:1.58}.ops-mail-ai-chat{min-height:0}.mail-case-layout{display:grid;grid-template-columns:1fr;gap:10px}.mail-case-primary,.mail-case-facts article{border:1px solid var(--ops-border-soft);border-radius:9px;background:#f8f9fb}.mail-case-primary{padding:12px}.mail-case-primary h3{margin:8px 0 6px;color:#1f2329;font-size:15px;line-height:1.35}.mail-case-primary p{margin:0;color:#565c66;font-size:13px;line-height:1.55}.mail-case-facts{display:grid;grid-template-columns:repeat(2,minmax(180px,1fr));gap:8px}.mail-case-facts article{display:block;min-height:88px;padding:10px}.mail-case-facts span{display:block;margin-bottom:6px;color:#646a73;font-size:12px;font-weight:750}.mail-case-facts strong{display:block;color:#1f2329;font-size:13px;line-height:1.5;word-break:break-word}.ops-action-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.ops-mail .ops-action-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ops-confirm-card{margin-top:10px;padding:12px;border-color:#fed7aa;background:#fffaf2}.ops-confirm-card ul{margin:8px 0;padding-left:18px;color:#565c66}.ops-confirm-card div{display:flex;gap:8px}.ops-chat-main{display:grid;grid-template-rows:auto 1fr auto}.ops-chat-stream{padding:14px;background:#fbfdff}.ops-message-bubble{max-width:78%;margin-bottom:10px;border:1px solid var(--ops-border-soft);border-radius:10px;background:#fff;padding:10px 12px}.ops-message-bubble.mine{margin-left:auto;border-color:#c7d7f2;background:#f4f8ff}.ops-message-bubble p{margin:6px 0 0;line-height:1.5}.ops-chat-card,.ops-approval-card{margin-top:8px;border:1px solid var(--ops-border);border-radius:9px;background:var(--ops-soft);padding:10px}.ops-approval-card{display:grid;grid-template-columns:20px 1fr;gap:8px}.ops-approval-card.pending{border-color:#fed7aa;background:#fff7ed}.ops-approval-card.approved{border-color:#a7f3d0;background:#f0fdf4}.ops-approval-card.rejected{border-color:#fecdd3;background:#fff1f2}.ops-approval-card footer{grid-column:2;display:flex;gap:8px;margin-top:8px}.ops-chat-input{display:grid;grid-template-columns:1fr 42px;gap:8px;padding:12px;border-top:1px solid var(--ops-border-soft);background:#fff}.ops-chat-input textarea{min-height:46px;max-height:120px;resize:vertical;border:1px solid var(--ops-border);border-radius:9px;background:#fff;color:var(--ops-text);padding:9px 10px;font-size:13px}.ops-chat-input button{width:42px;height:42px;display:grid;place-items:center;border:0;border-radius:9px;background:var(--ops-primary);color:#fff}.ops-member-list{display:grid;gap:8px;margin-bottom:10px}.ops-member-row{width:100%;background:#fff}.ops-member-row i{width:9px;height:9px;border-radius:999px;margin-top:5px;background:#cbd5e1}.ops-member-row i.online{background:#22c55e}.ops-space-row{display:flex;gap:10px}.ops-meta-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ops-empty{margin-top:10px;padding:14px;border:1px dashed #cbd5e1;border-radius:9px;background:#f8f9fb}.ops-empty strong{color:var(--ops-text)}.ops-empty p{color:var(--ops-muted);font-size:12px}.ops-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:grid;place-items:center;background:#1f23296b}.ops-modal>section{width:min(760px,calc(100vw - 48px));max-height:calc(100vh - 80px);overflow:auto;border:1px solid var(--ops-border);border-radius:12px;background:#fff;box-shadow:0 24px 72px #1f23293d;padding:16px}.ops-modal header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.ops-modal header button{width:34px;height:34px;display:grid;place-items:center;border:1px solid var(--ops-border);border-radius:8px;background:#fff}.ops-modal label{display:grid;gap:6px;margin:9px 0;color:var(--ops-muted);font-size:12px}.ops-modal textarea{min-height:160px;resize:vertical}.ops-modal-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:12px}.ops-picker-card{display:block;margin:8px 0;padding:12px;text-align:left}.ops-picker-card strong,.ops-picker-card span{display:block}.ops-picker-card span{margin-top:3px;color:var(--ops-muted);font-size:12px}.ops-toast{position:fixed;right:28px;bottom:28px;z-index:100;border-radius:10px;background:#111827;color:#fff;box-shadow:0 18px 42px #1f232938;padding:11px 14px;font-size:13px}@media(max-width:1380px){.ops-mail,.ops-message,.ops-knowledge{grid-template-columns:220px 330px minmax(0,1fr)}.ops-mail .ops-inspector,.ops-message .ops-inspector,.ops-knowledge .ops-inspector{display:none}}@media(max-width:1180px){.ops-module{height:auto;min-height:calc(100vh - 68px);grid-template-columns:1fr}.ops-pane{min-height:260px}.ops-list{max-height:420px}.ops-hero,.ops-row{grid-template-columns:1fr}.ops-metrics,.ops-action-grid,.ops-file-grid,.ops-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.sop-editor-v04{--bg: #f0f2f5;--panel: #ffffff;--soft: #f8f9fb;--line: #dbe3ee;--line-soft: #e8eaed;--text: #172033;--muted: #646a73;--primary: #2f5bd6;--primary-soft: #eef4ff;--green: #047857;--green-soft: #ecfdf5;--amber: #b45309;--amber-soft: #fffbeb;--red: #be123c;--red-soft: #fff1f2;height:calc(100vh - 68px);min-height:720px;min-width:0;display:grid;grid-template-columns:minmax(760px,1fr) minmax(500px,34vw);gap:10px;padding:12px;background:var(--bg);color:var(--text);font-size:13px}.sop-editor-v04.chat-collapsed{grid-template-columns:minmax(760px,1fr) 52px}.sop-editor-v04 *,.sop-editor-v04 *:before,.sop-editor-v04 *:after{box-sizing:border-box}.sop-editor-v04 h2,.sop-editor-v04 p,.sop-editor-v04 ul{margin:0}.sop-editor-v04 button,.sop-editor-v04 input,.sop-editor-v04 textarea,.sop-editor-v04 select{font:inherit}.sop-editor-v04 button{cursor:pointer}.sop-editor-v04 button:disabled{cursor:not-allowed;opacity:.48}.sop-editor-v04-workspace,.sop-editor-v04-chat,.sop-editor-v04-chat-rail{min-width:0;min-height:0;border:1px solid var(--line);border-radius:10px;background:var(--panel);box-shadow:0 1px 2px #1f23290d;overflow:hidden}.sop-editor-v04-chat{display:flex;flex-direction:column;padding:12px}.section-title{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;padding-bottom:10px;border-bottom:1px solid var(--line-soft)}.section-title span,.sop-editor-v04-header span,.panel-heading span,.chat-head span{display:block;color:var(--primary);font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.section-title strong,.panel-heading strong,.chat-head strong{display:block;margin-top:2px;color:var(--text);font-size:16px;line-height:1.22}.section-title em{color:var(--muted);font-size:12px;font-style:normal}.flow-list-body{min-height:0;flex:1;overflow:auto;display:grid;align-content:start;gap:8px;padding-top:10px}.flow-list-body button{width:100%;display:grid;gap:6px;border:1px solid var(--line-soft);border-radius:9px;background:#fff;padding:10px;text-align:left;transition:.15s ease}.flow-list-body button:hover,.flow-list-body button.active{border-color:#adc4f4;background:#f7faff}.flow-list-body button.active{box-shadow:inset 3px 0 0 var(--primary)}.flow-list-body button>span{width:fit-content;border-radius:999px;background:var(--primary-soft);color:var(--primary);padding:2px 8px;font-size:11px;font-weight:850}.flow-list-body strong{color:var(--text);font-size:13px;line-height:1.35}.flow-list-body p{display:-webkit-box;overflow:hidden;color:var(--muted);font-size:12px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:3}.flow-list-body footer{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--muted);font-size:12px}.flow-list-body footer em{overflow:hidden;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.flow-list-body footer b{color:#41464e}.sop-editor-v04-workspace{display:flex;flex-direction:column}.sop-editor-v04-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:start;padding:14px 16px;border-bottom:1px solid var(--line-soft)}.sop-editor-v04-header h2{margin-top:4px;color:var(--text);font-size:24px;line-height:1.22;letter-spacing:0}.sop-editor-v04-header p{margin-top:6px;color:var(--muted);font-size:13px;line-height:1.5}.flow-title-picker{position:relative;width:fit-content;max-width:100%}.flow-title-trigger{max-width:min(820px,100%);display:inline-grid;grid-template-columns:minmax(0,1fr) 28px;gap:8px;align-items:center;border:0;background:transparent;color:var(--text);padding:0;text-align:left}.flow-title-trigger h2{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.flow-title-trigger svg{color:var(--primary)}.flow-title-menu{position:absolute;z-index:30;top:46px;left:0;width:min(640px,calc(100vw - 680px));min-width:420px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 22px 58px #1f23292e;padding:8px}.flow-title-menu-list{max-height:330px;overflow:auto;display:grid;gap:6px;padding-right:2px}.flow-title-menu-list button{width:100%;display:grid;grid-template-columns:86px minmax(0,1fr);gap:4px 10px;align-items:center;border:1px solid transparent;border-radius:9px;background:#fff;padding:9px 10px;text-align:left}.flow-title-menu-list button:hover,.flow-title-menu-list button.active{border-color:#c7d7f2;background:#f6f9ff}.flow-title-menu-list span{grid-row:span 2;width:fit-content;border-radius:999px;background:var(--primary-soft);color:var(--primary);padding:2px 8px;font-size:11px;font-weight:850}.flow-title-menu-list strong{min-width:0;overflow:hidden;color:var(--text);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.flow-title-menu-list small{color:var(--muted);font-size:12px}.create-flow-button{width:100%;min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:7px;margin-top:8px;border:1px solid var(--primary);border-radius:9px;background:var(--primary);color:#fff;font-size:13px;font-weight:800}.header-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.header-actions button,.sop-link-row button,.chat-examples button,.proposal-actions button,.ai-edit-button{min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#41464e;padding:6px 10px;font-size:12px;font-weight:750}.header-actions button.primary{border-color:var(--primary);background:var(--primary);color:#fff}.sop-editor-v04-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;padding:6px 14px;border-bottom:1px solid var(--line-soft)}.sop-editor-v04-metrics article{min-height:34px;display:grid;grid-template-columns:16px minmax(0,1fr) auto;gap:6px;align-items:center;border:1px solid var(--line-soft);border-radius:8px;background:var(--soft);padding:5px 8px}.sop-editor-v04-metrics svg{color:var(--primary)}.sop-editor-v04-metrics span{color:var(--muted);font-size:11px;white-space:nowrap}.sop-editor-v04-metrics strong{color:var(--text);font-size:13px}.sop-editor-v04-main{min-height:0;flex:1;display:grid;grid-template-columns:1fr;gap:10px;padding:10px;background:#f8f9fb}.l0-flow-panel,.inspector-panel{min-width:0;min-height:0;border:1px solid var(--line);border-radius:9px;background:#fff;overflow:hidden}.l0-flow-panel,.inspector-panel{display:flex;flex-direction:column}.panel-heading{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;padding:12px;border-bottom:1px solid var(--line-soft);background:#fff}.panel-heading p{color:var(--muted);font-size:12px;line-height:1.45}.l0-flow{min-height:0;flex:1;overflow:auto;padding:14px 18px 28px 24px;background:linear-gradient(90deg,rgba(226,232,240,.5) 1px,transparent 1px),linear-gradient(180deg,rgba(226,232,240,.5) 1px,transparent 1px),#fbfdff;background-size:22px 22px}.l0-card{position:relative;display:grid;gap:8px;margin:0 0 14px}.l0-main{width:100%;display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:12px;align-items:center;border:1px solid #ccd8e8;border-radius:9px;background:#fff;padding:12px;text-align:left;box-shadow:0 8px 18px #1f23290f;transition:.15s ease}.l0-card.active .l0-main,.l0-main:hover{border-color:#9fb8ef;box-shadow:0 12px 24px #2f5bd624}.l0-main>span{width:54px;min-height:38px;display:grid;place-items:center;border-radius:8px;background:var(--primary-soft);color:var(--primary);font-weight:850}.l0-main>span b,.l0-main>span i{display:block;font-style:normal;line-height:1.1}.l0-main>span b{font-size:11px;letter-spacing:.08em}.l0-main>span i{margin-top:3px;font-size:11px}.l0-main strong{color:var(--text);font-size:15px;line-height:1.3}.l0-main p{margin-top:4px;color:#565c66;font-size:12px;line-height:1.45}.l0-main em{max-width:150px;overflow:hidden;border-radius:999px;background:#f1f5f9;color:#565c66;padding:4px 8px;font-size:11px;font-style:normal;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.l0-meta{display:grid;gap:5px;margin-left:70px;border-left:3px solid #dce7fb;padding-left:10px;color:var(--muted);font-size:12px;line-height:1.4}.sop-link-row{display:flex;flex-wrap:wrap;gap:8px;margin-left:70px}.sop-link-row button:first-child{border-color:#bbf7d0;background:var(--green-soft);color:var(--green)}.sop-link-row .sop-summary{width:min(760px,calc(100% - 108px));min-height:58px;display:grid;grid-template-columns:18px 30px minmax(260px,1fr) auto;gap:5px 8px;align-items:center;border:1px solid #bbf7d0;border-radius:8px;background:var(--green-soft);color:var(--green);padding:7px 10px;text-align:left}.sop-link-row .sop-summary>svg{color:var(--green)}.sop-link-row .sop-summary span{grid-row:1 / span 2;grid-column:2;width:28px;height:28px;border-radius:8px;font-size:11px}.sop-link-row .sop-summary strong{display:block;overflow:hidden;color:#153d2a;font-size:13px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.sop-link-row .sop-summary p,.sop-link-row .sop-summary footer{color:#477462;font-size:11px;line-height:1.25}.sop-link-row .sop-summary p{display:inline;margin:0 10px 0 0}.sop-link-row .sop-summary footer{grid-row:1 / span 2;grid-column:4;display:flex;flex-direction:column;gap:2px;margin:0;text-align:right;white-space:nowrap}.cross-sop-chip{margin-left:2px;border-radius:999px;background:#ffedd5;color:#c2410c;padding:1px 7px;font-size:11px;font-style:normal;font-weight:850}.sop-expansion{display:grid;gap:8px;margin-left:70px;border-left:3px solid #bbf7d0;padding-left:10px}.sop-summary{width:100%;display:grid;grid-template-columns:64px minmax(0,1fr);gap:6px 14px;align-items:center;border:1px solid #bdebd0;border-radius:10px;background:#f4fff9;padding:16px 18px;text-align:left}.sop-summary span{grid-row:span 2;width:48px;height:48px;display:grid;place-items:center;border-radius:12px;background:#dcfce7;color:var(--green);font-size:14px;font-weight:850}.sop-summary strong{color:#153d2a;font-size:17px;line-height:1.25}.sop-summary p,.sop-summary footer{color:#477462;font-size:13px}.sop-summary p{margin-top:4px;line-height:1.35}.sop-summary p b{color:#166534;font-weight:850}.sop-summary footer{grid-column:2;display:flex;flex-wrap:wrap;gap:10px;margin-top:4px}.sop-summary footer em,.sop-summary footer b,.sop-summary footer i{font-style:normal;font-weight:750}.sop-summary footer i{color:#c2410c}.sop-node-block{display:grid;gap:6px}.sop-node-title{width:100%;display:grid;grid-template-columns:18px 70px minmax(0,1fr) auto;gap:8px;align-items:center;border:1px solid #ddd6fe;border-radius:8px;background:#fbfaff;padding:9px 10px;text-align:left}.sop-node-title span{color:#6d28d9;font-size:11px;font-weight:850}.sop-node-title strong{color:#24144d;font-size:13px}.sop-node-title em{color:var(--muted);font-size:11px;font-style:normal}.cross-sop-transfer{display:grid;grid-template-columns:116px minmax(0,1fr);gap:8px;align-items:stretch;padding-left:28px}.cross-sop-rail{display:grid;place-items:center;align-content:center;gap:4px;border:1px dashed #fdba74;border-radius:8px;background:#fff7ed;color:#b45309;font-size:11px;font-weight:850;text-align:center}.cross-sop-card{border:1px solid #fed7aa;border-radius:9px;background:#fffaf4;padding:9px 10px}.cross-sop-card header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;margin-bottom:5px}.cross-sop-card strong{color:#7c2d12;font-size:13px}.cross-sop-card em{border-radius:999px;background:#ffedd5;color:#9a3412;padding:2px 7px;font-size:11px;font-style:normal;font-weight:800}.cross-sop-card p,.cross-sop-card footer{color:#9a3412;font-size:12px;line-height:1.45}.cross-sop-card footer{margin-top:5px;padding-top:5px;border-top:1px dashed #fed7aa}.l2-step-list{display:grid;gap:6px;padding-left:28px}.l2-step-list button{width:100%;display:grid;grid-template-columns:92px minmax(0,1fr) auto;gap:8px;align-items:center;border:1px solid var(--line-soft);border-radius:8px;background:#fff;padding:8px 10px;text-align:left}.l2-step-list button:hover,.l2-step-list button.active{border-color:#f6c173;background:#fffaf1}.l2-step-list span{width:fit-content;border-radius:999px;background:#fef3c7;color:#92400e;padding:2px 7px;font-size:11px;font-weight:800}.l2-step-list strong{min-width:0;overflow:hidden;color:var(--text);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.l2-step-list em{color:var(--muted);font-size:11px;font-style:normal}.l2-step-list button.cross-wait{border-color:#fdba74;background:#fff7ed}.l2-step-list button.cross-wait span{background:#ffedd5;color:#c2410c}.flow-connector{width:2px;height:18px;margin:-2px 0 0 28px;background:var(--primary)}.inspector-panel{background:#fff}.inspector-body{min-height:0;flex:1;overflow:auto;padding:12px}.object-header{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;align-items:center;margin-bottom:12px;border:1px solid var(--line-soft);border-radius:9px;background:var(--soft);padding:10px}.object-header>span{width:34px;height:34px;display:grid;place-items:center;border-radius:8px;background:var(--primary-soft);color:var(--primary)}.object-header em{display:block;color:var(--muted);font-size:11px;font-style:normal;font-weight:800}.object-header strong{display:block;margin-top:2px;color:var(--text);font-size:14px;line-height:1.32}.editor-field{display:grid;gap:6px;margin-bottom:10px;color:#565c66;font-size:12px;font-weight:750}.editor-field input,.editor-field textarea,.editor-field select{width:100%;min-width:0;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--text);padding:8px 10px;font-size:13px;font-weight:400;outline:0}.editor-field input,.editor-field select{min-height:36px}.editor-field textarea{min-height:82px;resize:vertical;line-height:1.5}.editor-field input:focus,.editor-field textarea:focus,.editor-field select:focus,.chat-composer textarea:focus,.chat-composer select:focus{border-color:#9fb8ef;box-shadow:0 0 0 3px #2f5bd61f}.validation-box{border:1px solid #bbf7d0;border-radius:9px;background:var(--green-soft);padding:10px;margin-bottom:10px}.validation-box strong{color:var(--green);font-size:13px}.validation-box p{margin-top:5px;color:#166534;font-size:12px;line-height:1.45}.ai-edit-button{width:100%;border-color:#adc4f4;background:var(--primary-soft);color:var(--primary)}.sop-editor-v04-chat{overflow:hidden}.sop-editor-v04-chat.right-chat.copilot-chat{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;padding:0;overflow:hidden;background:#fbfbfc;border-color:#d8e2f1}.sop-editor-v04-chat .copilot-head button{width:34px;height:34px;display:grid;place-items:center;border:1px solid #dee0e3;border-radius:8px;background:#fff;color:#41464e}.sop-editor-v04-chat .copilot-quick button:disabled{background:#f0f2f5;color:#8f959e}.sop-editor-v04-chat .copilot-action-card.diff{border-color:#bacefd;background:#f8fbff}.sop-editor-v04-chat .copilot-action-card.simulation{border-color:#bbf7d0;background:#f0fdf4}.sop-editor-v04-chat .copilot-action-card.publish{border-color:#ddd6fe;background:#fbfaff}.sop-editor-v04-chat .copilot-action-card.upload{border-color:#fed7aa;background:#fff7ed}.sop-editor-v04-chat .copilot-action-card.question{border-color:#e3e8f0;background:#fff}.sop-editor-v04-diff-list{display:grid;gap:5px;margin:8px 0 0;padding-left:18px;color:#4b5563;font-size:12px;line-height:1.5}.sop-editor-v04-send-actions{display:inline-flex;align-items:center;gap:8px}.sop-editor-v04-send-actions input[type=file]{display:none}.sop-editor-v04-upload-button{min-width:36px;width:36px;padding:0!important;border:1px solid #dee0e3!important;background:#fff!important;color:#2f6fed!important}.sop-editor-v04-chat-rail{display:grid;place-items:center;align-content:center;gap:8px;padding:10px 0;color:var(--primary)}.sop-editor-v04-chat-rail span{writing-mode:vertical-rl;color:#41464e;font-size:12px;font-weight:850;letter-spacing:0}.chat-head{display:grid;grid-template-columns:minmax(0,1fr) 34px;gap:8px;align-items:center;padding-bottom:10px;border-bottom:1px solid var(--line-soft)}.chat-head button{width:34px;height:34px;display:grid;place-items:center;border:1px solid var(--line);border-radius:8px;background:#fff;color:#41464e}.chat-stream{min-height:0;flex:1;overflow:auto;padding:12px 2px 10px 0}.chat-stream article{display:grid;grid-template-columns:28px minmax(0,1fr);gap:8px;margin-bottom:10px}.chat-stream article>span{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;background:#eef2ff;color:var(--primary)}.chat-stream article.user>span{background:#f1f5f9;color:#41464e}.chat-stream article>div{border:1px solid var(--line-soft);border-radius:9px;background:#fff;padding:9px 10px}.chat-stream article.ai>div{border-color:#e1eaff;background:#f8fbff}.chat-stream article.diff>div,.proposal-card>div{border-color:#bacefd;background:#f8fbff}.chat-stream article.simulation>div{border-color:#bbf7d0;background:#f0fdf4}.chat-stream article.publish>div{border-color:#ddd6fe;background:#fbfaff}.chat-stream em{display:inline-flex;margin-bottom:6px;border-radius:999px;background:var(--primary-soft);color:var(--primary);padding:2px 7px;font-size:11px;font-style:normal;font-weight:850}.chat-stream p{white-space:pre-line;color:#41464e;font-size:13px;line-height:1.55}.chat-stream small{display:block;margin-top:6px;color:#8f959e;font-size:11px}.proposal-card strong{display:block;color:var(--text);font-size:13px;margin-bottom:5px}.proposal-card ul{display:grid;gap:4px;padding-left:18px;margin-top:7px;color:#41464e;font-size:12px;line-height:1.45}.proposal-actions{display:flex;gap:8px;margin-top:10px}.proposal-actions button:first-child{border-color:#bbf7d0;background:var(--green-soft);color:var(--green)}.proposal-actions button:last-child{border-color:var(--primary);background:var(--primary);color:#fff}.chat-composer{display:grid;gap:8px;padding-top:10px;border-top:1px solid var(--line-soft)}.chat-composer label{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;align-items:center;color:var(--muted);font-size:12px;font-weight:750}.chat-composer select{min-height:32px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--text);padding:6px 8px}.composer-row{display:grid;grid-template-columns:38px minmax(0,1fr) 38px;gap:8px}.composer-row input[type=file]{display:none}.composer-row textarea{min-height:68px;max-height:140px;resize:vertical;border:1px solid var(--line);border-radius:9px;padding:9px 10px;color:var(--text);font-size:13px;line-height:1.5;outline:0}.composer-row button{width:38px;height:38px;display:grid;place-items:center;border:0;border-radius:9px;background:var(--primary);color:#fff}.composer-row button.upload{border:1px solid var(--line);background:#fff;color:var(--primary)}@media(max-width:1440px){.sop-editor-v04{grid-template-columns:minmax(680px,1fr) minmax(460px,36vw)}.sop-editor-v04.chat-collapsed{grid-template-columns:minmax(680px,1fr) 52px}}@media(max-width:1220px){.sop-editor-v04,.sop-editor-v04.chat-collapsed{height:auto;min-height:calc(100vh - 68px);grid-template-columns:1fr}.sop-editor-v04-chat-rail{min-height:56px}.sop-editor-v04-chat-rail span{writing-mode:horizontal-tb}.sop-editor-v04-main{grid-template-columns:1fr}.flow-title-menu{width:min(620px,calc(100vw - 48px));min-width:0}.sop-editor-v04-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.sop-editor-v04-header{grid-template-columns:1fr}.header-actions{justify-content:flex-start}}.execution-panel{overflow:auto;padding:16px}.task-hero{display:flex;justify-content:space-between;gap:20px;padding:18px;border:1px solid #dee0e3;border-radius:10px;background:linear-gradient(135deg,#fff,#f7faff)}.hero-kicker{display:flex;align-items:center;gap:8px;margin-bottom:8px;font-size:12px;color:#646a73}.hero-main h2{font-size:24px;letter-spacing:0;margin-bottom:6px}.hero-actions{gap:9px;align-self:flex-start}.primary-action,.secondary-action,.ghost-action,.artifact-strip button{height:36px;padding:0 12px;font-size:13px}.metric-row{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:12px 0}.metric-card{display:grid;grid-template-columns:36px 1fr;gap:2px 10px;align-items:center;border:1px solid #e2e8f0;border-radius:10px;padding:12px;background:#fff}.metric-card div{grid-row:span 2;width:36px;height:36px;display:grid;place-items:center;border-radius:8px;background:#f0f4ff;color:#3370ff}.metric-card span{font-size:12px;color:#646a73}.metric-card strong{font-size:14px}.work-surface{display:grid;grid-template-columns:320px minmax(360px,1fr);gap:12px;align-items:start}.node-rail,.node-detail{min-width:0}.node-step{width:100%;display:grid;grid-template-columns:34px 1fr 18px;gap:10px;border:1px solid #e1e7f0;border-radius:10px;background:#fff;padding:12px;text-align:left;margin-bottom:10px}.node-step.active{border-color:#3370ff;background:#f7faff}.node-index{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;background:#eef2ff;color:#3370ff;font-weight:700}.node-title-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.node-title-row h3{font-size:14px}.node-copy p{display:flex;align-items:center;gap:6px;margin-top:5px;flex-wrap:wrap}.node-copy p span{width:3px;height:3px;border-radius:999px;background:#8f959e}.node-clock{color:#8f959e}.detail-grid,.detail-columns{display:grid;grid-template-columns:1fr;gap:12px;margin-bottom:12px}.detail-card{border:1px solid #e1e7f0;border-radius:10px;background:#fff;padding:14px}.ai-card{border-color:#bacefd;background:#f8fbff}.human-card{border-color:#fde68a;background:#fffdf4}.card-title{gap:7px;font-size:13px;font-weight:750;margin-bottom:9px}.detail-card p{font-size:13px;color:#565c66;line-height:1.55}.card-actions,.feedback-box,.context-actions{gap:8px;margin-top:12px;flex-wrap:wrap}.feedback-box button,.context-actions button{height:31px;padding:0 9px;font-size:12px}.step-list{margin:0;padding:0;list-style:none}.step-list li{display:flex;gap:9px;align-items:center;font-size:13px;color:#41464e;padding:8px 0;border-bottom:1px solid #f0f2f5}.step-list li span{width:22px;height:22px;border-radius:7px;display:grid;place-items:center;background:#eef2ff;color:#3370ff;font-size:11px;font-weight:700}.evidence-list{display:grid;gap:8px}.evidence-item{display:flex;justify-content:space-between;padding:9px 10px;border-radius:8px;font-size:13px;background:#f8f9fb}.evidence-item.good{background:#ecfdf5;color:#047857}.evidence-item.warning{background:#fffbeb;color:#b45309}.evidence-item.danger{background:#fff1f2;color:#be123c}.tool-table{display:grid;gap:8px}.tool-row{display:grid;grid-template-columns:10px minmax(120px,1fr) 56px auto;gap:10px;min-height:38px;padding:9px;border-radius:8px;background:#f8f9fb;font-size:12px}.tool-dot{width:8px;height:8px;border-radius:999px;background:#8f959e}.tool-dot.success{background:#10b981}.tool-dot.running{background:#3370ff}.tool-dot.warning{background:#f59e0b}.tool-row p{font-size:12px;grid-column:2 / -1}.tool-row button{height:28px;padding:0 9px}.artifact-strip{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;padding:12px 14px;border:1px dashed #b8c5d6;border-radius:10px;background:#fbfdff}.artifact-strip strong{display:block;font-size:13px}.artifact-strip span{font-size:12px;color:#646a73}.right-chat{padding-bottom:12px}.context-card{margin:12px;padding:13px;border:1px solid #e1eaff;border-radius:10px;background:#f8fbff}.context-title{display:flex;align-items:center;gap:7px;font-size:12px;color:#3370ff;margin-bottom:8px;font-weight:700}.context-card strong{font-size:13px}.quick-prompts{display:flex;flex-wrap:wrap;gap:7px;padding:0 12px 12px;border-bottom:1px solid #edf1f6}.quick-prompts button{height:30px;padding:0 9px;border:1px solid #dee0e3;border-radius:999px;background:#fff;color:#41464e;font-size:12px}.message-list{padding-top:8px}.message{display:grid;grid-template-columns:28px 1fr;gap:8px;margin-bottom:12px}.message-icon{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;background:#eef2ff;color:#3370ff}.message.user .message-icon{background:#f1f5f9;color:#41464e}.message div:last-child{padding:9px 10px;border:1px solid #e1e7f0;border-radius:10px;background:#fff}.message.ai div:last-child{background:#f8fbff;border-color:#e1eaff}.message.system div:last-child{background:#f8f9fb}.message p{font-size:13px;line-height:1.5;color:#41464e}.message span{display:block;margin-top:6px;font-size:11px;color:#8f959e}.chat-input{display:grid;grid-template-columns:1fr 40px;gap:8px;padding:12px;border-top:1px solid #edf1f6}.chat-input textarea{min-height:60px;resize:none;border:1px solid #dee0e3;border-radius:9px;padding:10px;outline:none}.chat-input button{border:0;border-radius:9px;background:#3370ff;color:#fff}@media(max-width:1280px){body{min-width:1040px}.workspace{grid-template-columns:300px minmax(540px,1fr) 320px}.work-surface,.detail-grid,.detail-columns{grid-template-columns:1fr}}:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#f0f2f5;color:#172033}*{box-sizing:border-box}body{margin:0;min-width:1180px;background:#f0f2f5}button,input,select,textarea{font:inherit}button{cursor:pointer}.app-shell{height:100vh;display:flex;flex-direction:column}.topbar{height:68px;display:grid;grid-template-columns:340px minmax(360px,620px) auto;gap:16px;align-items:center;padding:0 22px;background:#fff;border-bottom:1px solid #dee0e3}.brand-block,.top-actions,.hero-actions,.card-actions,.context-actions,.task-card-top,.task-bottom,.filter-title,.tool-row,.card-title{display:flex;align-items:center}.brand-block{gap:12px}.brand-mark,.chat-avatar{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;color:#fff;background:#3370ff}h1,h2,h3,p{margin:0}.brand-block h1{font-size:15px;letter-spacing:0}.brand-block p,.hero-main p,.task-card p,.node-copy p,.context-card p{font-size:12px;color:#667389}.top-search-wrap{position:relative;width:100%;max-width:640px}.top-search{height:40px;display:flex;align-items:center;gap:10px;padding:0 12px;border:1px solid #dee0e3;border-radius:8px;background:#f8f9fb;color:#646a73}.search-clear{width:26px;height:26px;display:grid;place-items:center;border:0;border-radius:7px;background:transparent;color:#646a73}.search-popover{position:absolute;z-index:20;top:46px;left:0;right:0;max-height:420px;overflow:auto;padding:8px;border:1px solid #dee0e3;border-radius:10px;background:#fff;box-shadow:0 18px 42px #1f232929}.search-popover button,.search-empty{width:100%;display:grid;gap:4px;padding:10px;border:0;border-radius:8px;background:#fff;text-align:left}.search-popover button:hover{background:#f1f5f9}.search-popover button span{width:fit-content;padding:2px 7px;border-radius:999px;background:#f0f4ff;color:#245bdb;font-size:11px}.search-popover button strong{font-size:13px}.search-popover button p,.search-empty{font-size:12px;color:#646a73}.top-search input{width:100%;border:0;outline:0;background:transparent;color:#1f2937}.top-actions{gap:8px;justify-content:flex-end}.top-user-menu{position:relative}.top-user-button{width:36px;height:36px;display:inline-grid;place-items:center;border:1px solid #dee0e3;border-radius:999px;background:#fff;color:#3370ff}.top-user-button:hover,.top-user-button[aria-expanded=true]{border-color:#bacefd;background:#f0f4ff}.top-user-popover{position:absolute;z-index:30;top:44px;right:0;width:220px;padding:8px;border:1px solid #dee0e3;border-radius:10px;background:#fff;box-shadow:0 18px 42px #1f232929}.top-user-summary{display:grid;grid-template-columns:36px minmax(0,1fr);gap:9px;align-items:center;padding:8px;border-bottom:1px solid #edf1f6}.top-user-avatar{width:36px;height:36px;display:grid;place-items:center;border-radius:999px;background:#3370ff;color:#fff;font-weight:800}.top-user-summary strong{display:block;color:#1f2329;font-size:13px}.top-user-summary small{display:block;margin-top:2px;color:#646a73;font-size:12px}.top-user-logout{width:100%;min-height:34px;display:flex;align-items:center;gap:8px;margin-top:6px;border:0;border-radius:8px;background:#fff;color:#41464e;padding:0 9px;text-align:left}.top-user-logout:hover{background:#f1f5f9;color:#be123c}.nav-button,.icon-button,.primary-action,.secondary-action,.ghost-action,.sort-button,.artifact-strip button,.tool-row button,.context-actions button,.quick-prompts button,.feedback-box button{border:1px solid #dee0e3;background:#fff;color:#41464e;border-radius:8px;display:inline-flex;align-items:center;gap:7px}.nav-button{height:36px;padding:0 12px;font-size:13px}.nav-button.active,.primary-action,.primary-square{border-color:#3370ff;background:#3370ff;color:#fff}.icon-button,.primary-square{width:36px;height:36px;justify-content:center}.primary-square{border:0;border-radius:8px}.workspace{flex:1;min-height:0;display:grid;grid-template-columns:310px minmax(720px,1fr) 340px;gap:14px;padding:14px}.workspace.chat-collapsed{grid-template-columns:310px minmax(880px,1fr)}.task-sidebar,.execution-panel,.right-chat{min-height:0;background:#fff;border:1px solid #dee0e3;border-radius:10px;overflow:hidden}.task-sidebar,.right-chat{display:flex;flex-direction:column}.sidebar-head,.chat-head{display:flex;align-items:center;justify-content:space-between;padding:16px;border-bottom:1px solid #edf1f6}.eyebrow{font-size:11px;color:#646a73;text-transform:uppercase;letter-spacing:.08em}.sidebar-head h2,.chat-head h2{font-size:18px;margin-top:3px}.filter-panel{padding:12px 14px;border-bottom:1px solid #edf1f6;background:#f8f9fb}.filter-title{gap:6px;font-size:12px;color:#646a73;margin-bottom:9px}.filter-row{display:grid;grid-template-columns:42px 1fr;align-items:center;gap:8px;margin:7px 0;font-size:12px;color:#646a73}.filter-row select{height:31px;border:1px solid #dee0e3;border-radius:7px;background:#fff;color:#1f2937;padding:0 8px}.sort-button{width:100%;height:32px;justify-content:center;margin-top:8px;font-size:12px}.queue-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:12px 14px;border-bottom:1px solid #edf1f6}.queue-summary div{padding:8px;border:1px solid #edf1f6;border-radius:8px;background:#fbfdff}.queue-summary strong{display:block;font-size:17px}.queue-summary span{font-size:11px;color:#646a73}.task-list,.message-list{flex:1;overflow:auto;padding:12px}.task-card{position:relative;width:100%;text-align:left;border:1px solid #dfe6ef;border-radius:10px;background:#fff;padding:12px;margin-bottom:10px;transition:.16s ease}.task-card:before{content:"";position:absolute;left:0;top:12px;bottom:12px;width:4px;border-radius:0 999px 999px 0;background:var(--task-color, #3370ff)}.task-card:hover,.task-card.selected{border-color:var(--task-color, #3370ff);box-shadow:0 10px 28px #1f23291f}.task-card.selected{background:#fbfdff}.task-card-top{justify-content:space-between;margin-bottom:9px}.task-card h3{font-size:14px;line-height:1.35;margin-bottom:4px}.task-meta,.task-bottom,.task-state-row{display:flex;justify-content:space-between;gap:8px;margin-top:10px;font-size:12px;color:#646a73}.task-state-row{margin-top:9px;color:#565c66}.task-bottom span{display:flex;align-items:center;gap:5px}.progress-line,.mini-progress{height:6px;border-radius:99px;background:#e8edf4;overflow:hidden;margin-top:10px}.progress-line span,.mini-progress i{display:block;height:100%;background:#3370ff;border-radius:inherit}.pill{display:inline-flex;align-items:center;height:24px;padding:0 8px;border-radius:999px;font-size:11px;font-weight:650;border:1px solid transparent}.pill.blue{color:#245bdb;background:#f0f4ff;border-color:#bacefd}.pill.green{color:#047857;background:#ecfdf5;border-color:#a7f3d0}.pill.amber{color:#b45309;background:#fffbeb;border-color:#fde68a}.pill.red{color:#be123c;background:#fff1f2;border-color:#fecdd3}.pill.gray{color:#565c66;background:#f1f5f9;border-color:#e2e8f0}.login-page{min-height:100vh;display:grid;place-items:center;padding:42px;background:linear-gradient(135deg,rgba(51,112,255,.08),transparent 40%),linear-gradient(315deg,rgba(5,150,105,.1),transparent 36%),#f0f2f5}.login-hero{width:min(1060px,100%);display:grid;gap:26px}.login-brand{display:flex;align-items:center;gap:12px}.login-brand>span,.login-role-icon{display:grid;place-items:center;color:#fff;background:#3370ff}.login-brand>span{width:46px;height:46px;border-radius:12px}.login-brand h1{font-size:18px}.login-brand p,.login-copy p,.login-role-card p,.login-role-card small{color:#646a73}.login-copy{max-width:680px}.login-copy h2{margin:6px 0 8px;font-size:34px;line-height:1.1;letter-spacing:0}.login-copy p{font-size:15px;line-height:1.7}.login-role-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.login-role-card{min-height:340px;display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:20px;border:1px solid #dee0e3;border-radius:8px;background:#ffffffeb;color:#172033;text-align:left;box-shadow:0 18px 42px #1f23291a;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.login-role-card:hover{transform:translateY(-2px);border-color:#82a7fc;box-shadow:0 22px 48px #1f232924}.login-role-icon{width:44px;height:44px;border-radius:10px}.login-role-card.admin .login-role-icon{background:#7c2d12}.login-role-card strong{font-size:20px}.login-role-card small{font-size:13px}.login-role-card p{min-height:78px;font-size:14px;line-height:1.6}.login-module-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto}.login-module-row i{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border:1px solid #dee0e3;border-radius:999px;background:#f8f9fb;color:#41464e;font-size:12px;font-style:normal}.login-role-card em{width:100%;display:inline-flex;justify-content:center;padding:10px 12px;border-radius:7px;background:#3370ff;color:#fff;font-style:normal;font-weight:700}.login-role-card.admin em{background:#7c2d12}.workspace{position:relative}.task-hero{border-top:4px solid #3370ff}.hero-actions{display:grid;grid-template-columns:repeat(2,auto);align-items:end}.control-field{display:grid;gap:5px;font-size:11px;color:#646a73}.control-field select{height:34px;min-width:170px;border:1px solid #dee0e3;border-radius:8px;background:#fff;color:#172033;padding:0 9px}.control-field.compact select{min-width:190px}.center-tabs{display:flex;gap:8px;margin-bottom:12px;border-bottom:1px solid #e5edf6}.center-tabs button{height:38px;display:inline-flex;align-items:center;gap:7px;border:0;border-bottom:2px solid transparent;background:transparent;color:#646a73;font-weight:650}.center-tabs button.active{color:#3370ff;border-bottom-color:#3370ff}.node-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px;margin-bottom:12px;border:1px solid #e1e7f0;border-radius:10px;background:#fff}.node-toolbar span{display:block;margin-bottom:4px;font-size:11px;color:#646a73}.node-toolbar strong{font-size:14px}.block-card{display:grid;grid-template-columns:34px 1fr auto;gap:10px;align-items:start;padding:12px;margin-bottom:12px;border:1px solid #fecdd3;border-radius:10px;background:#fff7f8;color:#9f1239}.block-card svg{margin-top:2px}.block-card p{margin-top:4px;color:#646a73;font-size:12px}.io-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:12px}.io-card{padding:11px;border:1px solid #e1e7f0;border-radius:10px;background:#fff}.io-card span{display:block;margin-bottom:6px;font-size:11px;font-weight:750;color:#3370ff}.io-card p{font-size:12px;line-height:1.5;color:#565c66}.workspace-tab{display:grid;gap:12px}.workspace-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.workspace-card,.workspace-wide{min-width:0;padding:14px;border:1px solid #e1e7f0;border-radius:10px;background:#fff}.workspace-card p{font-size:13px;line-height:1.55;color:#565c66}.tag-list{display:flex;flex-wrap:wrap;gap:8px}.tag-list span{padding:6px 9px;border-radius:999px;background:#f1f5f9;color:#41464e;font-size:12px}.plain-list{margin:0;padding-left:18px;color:#565c66;font-size:13px;line-height:1.65}.flow-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.flow-node{position:relative;min-height:190px;display:grid;gap:8px;align-content:start;padding:12px;border:1px solid #dfe6ef;border-radius:10px;background:#fbfdff;text-align:left}.flow-node.active{border-color:#3370ff;box-shadow:0 10px 24px #3370ff1f}.flow-index{width:26px;height:26px;display:grid;place-items:center;border-radius:8px;background:#eef2ff;color:#3370ff;font-weight:750}.flow-node strong{font-size:13px}.flow-node p,.flow-node small,.flow-node em{font-size:12px;line-height:1.45;color:#646a73}.flow-node em{font-style:normal;color:#be123c}.automation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.automation-card{display:grid;grid-template-columns:38px 1fr;gap:10px;padding:12px;border:1px solid #dfe6ef;border-radius:10px;background:#fbfdff}.automation-card.fired{border-color:#bacefd;background:#f0f4ff}.automation-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:9px;background:#eef2ff;color:#3370ff}.automation-head{display:flex;justify-content:space-between;gap:8px}.automation-card p,.automation-card span,.automation-card small{display:block;margin-top:5px;font-size:12px;color:#646a73}.automation-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.automation-actions button{height:29px;padding:0 9px;border:1px solid #dee0e3;border-radius:8px;background:#fff;color:#41464e;font-size:12px}.chat-tools{display:flex;align-items:center;gap:8px}.chat-input-area{border-top:1px solid #edf1f6;background:#fff}.selected-context,.empty-context{position:relative;margin:12px 12px 0;padding:12px;border:1px solid #e1eaff;border-radius:10px;background:#f8fbff}.selected-context>button{position:absolute;top:8px;right:8px;width:26px;height:26px;display:grid;place-items:center;border:0;border-radius:7px;background:#fff;color:#646a73}.empty-context{font-size:12px;color:#646a73;background:#f8f9fb;border-color:#e2e8f0}.chat-action-card{display:grid;gap:4px;margin-bottom:8px;padding:9px;border:1px solid #bacefd;border-radius:8px;background:#f0f4ff}.chat-action-card strong{font-size:13px;color:#245bdb}.chat-action-card span{margin:0;font-size:12px;color:#565c66}.chat-card-actions{display:flex;gap:7px;margin-top:9px}.chat-card-actions button{height:30px;padding:0 10px;border-radius:8px;border:1px solid #dee0e3;background:#fff;font-size:12px}.chat-card-actions button.primary{border-color:#3370ff;background:#3370ff;color:#fff}.chat-card-actions button.danger{border-color:#fecdd3;background:#fff1f2;color:#be123c}.expand-chat{position:absolute;right:16px;top:84px;height:38px;display:inline-flex;align-items:center;gap:7px;padding:0 12px;border:1px solid #dee0e3;border-radius:10px;background:#fff;color:#3370ff;box-shadow:0 12px 28px #1f232924}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:center;padding:24px;background:#1f232961}.action-modal{width:min(620px,100%);max-height:min(720px,90vh);display:flex;flex-direction:column;overflow:hidden;border-radius:12px;border:1px solid #dbe3ef;background:#fff;box-shadow:0 28px 80px #1f232947}.action-modal header,.action-modal footer{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:16px;border-bottom:1px solid #edf1f6}.action-modal footer{border-top:1px solid #edf1f6;border-bottom:0;justify-content:flex-end}.action-modal h2{font-size:18px;margin-bottom:4px}.action-modal header p{font-size:12px;color:#646a73}.modal-body{overflow:auto;padding:16px}.detail-list{display:grid;gap:9px}.detail-list div{display:grid;grid-template-columns:128px 1fr;gap:12px;padding:10px;border:1px solid #e5edf6;border-radius:9px;background:#fbfdff}.detail-list span{font-size:12px;color:#646a73}.detail-list strong{font-size:13px;line-height:1.45;color:#172033}.toast-stack{position:fixed;z-index:60;right:18px;top:82px;display:grid;gap:8px;pointer-events:none}.toast-stack div{min-width:240px;max-width:360px;padding:10px 12px;border:1px solid #bacefd;border-radius:10px;background:#f0f4ff;color:#245bdb;box-shadow:0 14px 34px #1f232929;font-size:13px}@media(max-width:1280px){.workspace{grid-template-columns:300px minmax(500px,1fr) 300px}.workspace.chat-collapsed{grid-template-columns:300px minmax(700px,1fr)}.workspace-grid,.automation-grid,.flow-overview,.io-grid{grid-template-columns:1fr}}.workspace{grid-template-columns:310px minmax(620px,1fr) 360px;gap:0;padding:12px}.workspace.left-collapsed{grid-template-columns:52px minmax(760px,1fr) 360px}.task-sidebar{border-right:0;border-radius:12px 0 0 12px;box-shadow:0 14px 36px #1f232914}.execution-panel{min-width:0;display:flex;flex-direction:column;overflow:hidden;border-left:0;border-radius:0 12px 12px 0;box-shadow:0 14px 36px #1f232914}.right-chat{margin-left:14px;border-color:#bacefd;background:#f7fbff;box-shadow:0 16px 42px #3370ff21}.right-chat .chat-head,.right-chat .chat-input-area{background:#f8fbff}.right-chat .chat-avatar{background:#16409e}.side-rail{min-height:0;width:52px;display:grid;justify-items:center;align-content:start;gap:12px;padding:14px 8px;border:1px solid #dee0e3;background:#fff;color:#3370ff;box-shadow:0 14px 36px #1f232914}.side-rail span{writing-mode:vertical-rl;letter-spacing:0;font-size:13px;font-weight:750}.side-rail strong{width:26px;height:26px;display:grid;place-items:center;border-radius:8px;background:#f0f4ff;font-size:12px}.task-rail{border-radius:12px 0 0 12px;border-right:0}.chat-rail{margin-left:14px;border-color:#bacefd;border-radius:12px;background:#f7fbff;color:#16409e}.sidebar-tools{display:flex;gap:7px}.filter-panel.compact{padding:9px 12px}.filter-toggle{width:100%;justify-content:space-between;border:0;background:transparent;padding:0}.filter-toggle span{max-width:150px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:11px;color:#8f959e}.filter-chips{display:flex;gap:7px;margin-top:8px}.filter-chips span{height:24px;display:inline-flex;align-items:center;gap:4px;padding:0 8px;border:1px solid #e2e8f0;border-radius:999px;background:#fff;color:#565c66;font-size:11px}.task-card{border-width:1px;padding-left:15px}.task-card.selected{border-width:2px;background:linear-gradient(90deg,color-mix(in srgb,var(--task-color, #3370ff) 10%,#ffffff),#fff 72%);box-shadow:inset 5px 0 0 var(--task-color, #3370ff),0 14px 34px #1f232929;transform:translate(3px)}.task-card.selected h3{color:#1f2329}.center-tabs{flex:0 0 auto;padding:0 16px;margin-bottom:0;background:#fff}.center-tabs .trigger-tab span{min-width:20px;height:20px;display:inline-grid;place-items:center;border-radius:999px;background:#e1eaff;color:#245bdb;font-size:11px}.center-tabs .trigger-tab.active span{background:#3370ff;color:#fff}.center-scroll{flex:1;min-height:0;overflow:auto;padding:14px 16px 16px}.task-hero,.metric-row{flex:0 0 auto;margin-left:16px;margin-right:16px}.task-hero{margin-top:16px}.automation-tab{display:grid;gap:12px}.trigger-hero{display:flex;justify-content:space-between;gap:16px;padding:16px;border:1px solid #bacefd;border-radius:12px;background:linear-gradient(135deg,#f0f4ff,#fff)}.trigger-hero h3{font-size:18px;margin:3px 0 5px}.trigger-hero p{max-width:680px;color:#565c66;font-size:13px;line-height:1.55}.trigger-hero button{height:36px;align-self:start;display:inline-flex;align-items:center;gap:7px;border:1px solid #3370ff;border-radius:9px;background:#3370ff;color:#fff;padding:0 12px}.trigger-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.trigger-stats div{padding:12px;border:1px solid #e1e7f0;border-radius:10px;background:#fff}.trigger-stats span{display:block;color:#646a73;font-size:12px}.trigger-stats strong{font-size:22px}.trigger-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.trigger-card{display:grid;gap:12px;padding:14px;border:1px solid #dfe6ef;border-radius:12px;background:#fff}.trigger-card.fired{border-color:#82a7fc;background:#f0f4ff}.trigger-card-head,.trigger-footer,.trigger-footer div{display:flex;align-items:center;gap:9px}.trigger-card-head{justify-content:space-between}.trigger-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;background:#eef2ff;color:#3370ff}.trigger-card-head>div:nth-child(2){flex:1}.trigger-card-head p,.trigger-rule p,.trigger-footer small{color:#646a73;font-size:12px;line-height:1.45}.trigger-rule span{display:block;margin-bottom:4px;color:#3370ff;font-size:11px;font-weight:750}.trigger-footer{justify-content:space-between;border-top:1px solid #f0f2f5;padding-top:10px}.trigger-footer button{height:28px;padding:0 9px;border:1px solid #dee0e3;border-radius:8px;background:#fff;color:#41464e;font-size:12px}.trigger-timeline{display:grid;gap:9px;padding:14px;border:1px solid #e1e7f0;border-radius:12px;background:#fff}.trigger-timeline>div:not(.card-title){display:grid;grid-template-columns:12px 72px 160px 1fr;gap:10px;align-items:center;font-size:12px;color:#646a73}.trigger-timeline i{width:8px;height:8px;border-radius:999px;background:#3370ff}@media(max-width:1280px){.workspace{grid-template-columns:270px minmax(500px,1fr) 300px}.workspace.left-collapsed{grid-template-columns:52px minmax(650px,1fr) 300px}.workspace.chat-collapsed{grid-template-columns:270px minmax(700px,1fr) 52px}.workspace.left-collapsed.chat-collapsed{grid-template-columns:52px minmax(840px,1fr) 52px}.trigger-grid,.trigger-stats{grid-template-columns:1fr}}.app-body{flex:1;min-height:0;display:grid;grid-template-columns:86px minmax(0,1fr);background:#eef0f4}.app-nav{min-height:0;display:flex;flex-direction:column;gap:8px;padding:12px 10px;border-right:1px solid #dee0e3;background:#f8f9fb}.app-nav-mark{width:44px;height:44px;display:grid;place-items:center;margin:0 auto 8px;border-radius:12px;background:#16409e;color:#fff}.app-nav button{position:relative;min-height:66px;display:grid;justify-items:center;align-content:center;gap:6px;border:1px solid transparent;border-radius:12px;background:transparent;color:#646a73;font-size:12px;font-weight:700}.app-nav-icon-wrap{position:relative;display:inline-grid;place-items:center;min-width:24px;min-height:22px}.app-nav-badge{position:absolute;top:-10px;right:-15px;min-width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;padding:0 5px;border:2px solid #f8f9fb;border-radius:999px;background:#e11d48;color:#fff;font-size:10px;font-weight:800;line-height:1;box-shadow:0 4px 10px #e11d4847;pointer-events:none}.app-nav button:hover{background:#eef4ff;color:#3370ff}.app-nav button.separated{margin-top:10px}.app-nav button.separated:before{content:"";position:absolute;top:-10px;left:8px;right:8px;height:1px;background:#dee0e3}.app-nav button.active{border-color:#bacefd;background:#eaf0ff;color:#1c4cba;box-shadow:inset 3px 0 #3370ff}.workspace{min-width:0;height:100%}.module-page{min-width:0;min-height:0;overflow:auto;padding:18px}.module-hero{display:flex;justify-content:space-between;gap:20px;padding:20px;border:1px solid #e1eaff;border-radius:14px;background:linear-gradient(135deg,#fff,#f0f4ff);box-shadow:0 16px 42px #1f232914}.module-hero h2{margin:4px 0 6px;font-size:24px}.module-hero p{max-width:760px;color:#565c66;font-size:14px;line-height:1.6}.module-hero button,.module-card-grid button{height:36px;display:inline-flex;align-items:center;gap:7px;border:1px solid #3370ff;border-radius:9px;background:#3370ff;color:#fff;padding:0 12px}.module-hero-icon{width:56px;height:56px;display:grid;place-items:center;border-radius:14px;background:#3370ff;color:#fff}.module-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0}.module-stats div{padding:14px;border:1px solid #e1e7f0;border-radius:12px;background:#fff}.module-stats span,.module-card-grid span{display:block;color:#646a73;font-size:12px}.module-stats strong{font-size:24px}.trigger-table{display:grid;overflow:hidden;border:1px solid #dfe6ef;border-radius:14px;background:#fff}.trigger-table header,.trigger-table article{display:grid;grid-template-columns:260px 220px minmax(260px,1fr) 90px 160px;gap:12px;align-items:center;padding:12px 14px}.trigger-table header{background:#f8f9fb;color:#646a73;font-size:12px;font-weight:750}.trigger-table article{border-top:1px solid #edf2f7}.trigger-name{display:flex;align-items:center;gap:10px}.trigger-name>span{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:#eef2ff;color:#3370ff}.trigger-name small,.trigger-table p{display:block;margin-top:3px;color:#646a73;font-size:12px;line-height:1.45}.task-link{border:0;background:transparent;color:#3370ff;text-align:left;font-weight:700}.row-actions{display:flex;gap:6px;flex-wrap:wrap}.row-actions button{height:28px;padding:0 9px;border:1px solid #dee0e3;border-radius:8px;background:#fff;color:#41464e;font-size:12px}.global-timeline{display:grid;gap:9px;margin-top:14px;padding:14px;border:1px solid #e1e7f0;border-radius:14px;background:#fff}.global-timeline>div:not(.card-title){display:grid;grid-template-columns:12px 74px 180px 1fr;gap:10px;align-items:center;color:#646a73;font-size:12px}.global-timeline i{width:8px;height:8px;border-radius:999px;background:#3370ff}.module-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:14px}.module-card-grid article{display:grid;gap:10px;align-content:start;min-height:190px;padding:16px;border:1px solid #dfe6ef;border-radius:14px;background:#fff}.module-card-grid strong{font-size:16px}.module-card-grid p{color:#646a73;font-size:13px;line-height:1.55}@media(max-width:1280px){.app-body{grid-template-columns:78px minmax(0,1fr)}.trigger-table{overflow-x:auto}.trigger-table header,.trigger-table article{min-width:980px}.module-card-grid,.module-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}.hero-actions{display:flex;align-items:flex-start;gap:10px;flex-wrap:wrap}.studio-layout,.admin-shell,.trigger-workbench{display:grid;gap:14px;margin-top:14px;min-height:620px}.studio-layout{grid-template-columns:280px minmax(420px,1fr) 300px}.studio-chat,.flow-canvas,.inspector,.trigger-filter,.trigger-list,.event-console,.builder-panel,.admin-tabs,.user-table,.admin-detail,.role-matrix,.team-map,.agent-access,.policy-card,.risk-rules,.auth-link-card,.approval-simulator,.audit-log{border:1px solid #dfe6ef;border-radius:14px;background:#fff;box-shadow:0 12px 30px #1f23290f}.studio-chat,.inspector,.event-console,.admin-tabs,.admin-detail,.policy-card,.risk-rules,.auth-link-card,.approval-simulator,.audit-log{padding:14px}.studio-chat textarea,.inspector textarea,.inspector input,.builder-field textarea,.admin-detail input,.admin-detail textarea,.admin-detail select{width:100%;min-height:38px;border:1px solid #dee0e3;border-radius:9px;background:#f8f9fb;padding:9px 10px;color:#1f2329;font:inherit}.studio-chat textarea,.inspector textarea,.builder-field textarea,.admin-detail textarea{min-height:92px;resize:vertical}.primary-wide{width:100%;height:38px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #3370ff;border-radius:9px;background:#3370ff;color:#fff;font-weight:750}.primary-wide.ghost{background:#fff;color:#3370ff}.mini-log{margin:10px 0;padding:10px;border:1px solid #bacefd;border-radius:10px;background:#f0f4ff;color:#1e3a8a;font-size:12px;line-height:1.5}.palette{display:grid;gap:8px}.palette button{display:flex;align-items:center;gap:8px;min-height:38px;border:1px solid #e2e8f0;border-left:4px solid #3370ff;border-radius:9px;background:#fff;color:#41464e;text-align:left}.flow-canvas{display:flex;flex-direction:column;overflow:hidden}.canvas-toolbar{height:48px;display:flex;align-items:center;justify-content:space-between;padding:0 14px;border-bottom:1px solid #e6edf5;background:#f8f9fb}.canvas-toolbar strong,.card-title{display:flex;align-items:center;gap:7px}.scratch-flow{flex:1;display:grid;align-content:start;gap:14px;overflow:auto;padding:18px;background:linear-gradient(#eef4fb 1px,transparent 1px),linear-gradient(90deg,#eef4fb 1px,transparent 1px);background-size:26px 26px}.scratch-block{position:relative;display:grid;grid-template-columns:34px 1fr;gap:4px 12px;min-height:88px;padding:14px 14px 14px 0;border:2px solid transparent;border-radius:14px 8px 8px 14px;background:#fff;color:#1f2329;text-align:left;box-shadow:inset 8px 0 0 var(--block-color),0 10px 24px #1f232914}.scratch-block:after{content:"";position:absolute;left:48px;bottom:-12px;width:18px;height:18px;border-radius:0 0 8px 8px;background:var(--block-color)}.scratch-block.selected{border-color:#3370ff;box-shadow:inset 8px 0 0 var(--block-color),0 0 0 4px #e1eaff}.scratch-block span{grid-row:span 3;width:24px;height:24px;display:grid;place-items:center;margin-left:12px;border-radius:999px;background:var(--block-color);color:#fff;font-weight:800}.scratch-block small,.scratch-block em,.trigger-card small,.event-line,.risk-rules small,.auth-link-card p,.approval-simulator p,.admin-detail label{color:#646a73;font-size:12px;line-height:1.5}.scratch-block em{font-style:normal}.inspector{display:grid;gap:10px;align-content:start}.inspector label,.admin-detail label,.builder-field{display:grid;gap:6px;font-size:12px;font-weight:750;color:#565c66}.inspector-actions{display:flex;gap:8px;flex-wrap:wrap}.inspector-actions button,.builder-actions button,.admin-tabs button,.role-matrix button,.team-map button,.row-actions button{min-height:32px;border:1px solid #dee0e3;border-radius:8px;background:#fff;color:#41464e}.validation-box{display:grid;gap:6px;padding:12px;border-radius:10px;background:#f0fdf4;color:#166534}.validation-box p{display:flex;gap:6px;margin:0;font-size:12px}.trigger-workbench{grid-template-columns:180px minmax(430px,1fr) 330px;align-items:start}.trigger-filter{display:grid;gap:8px;padding:10px}.trigger-filter button,.admin-tabs button{display:flex;align-items:center;gap:8px;justify-content:flex-start;min-height:38px;padding:0 10px}.trigger-filter button.active,.admin-tabs button.active,.option-grid button.active{border-color:#3370ff;background:#f0f4ff;color:#1c4cba;font-weight:800}.trigger-list{display:grid;gap:10px;padding:12px}.trigger-card{display:grid;gap:12px;padding:14px;border:1px solid #e6edf5;border-radius:12px;background:#fff}.trigger-card-head{display:grid;grid-template-columns:38px 1fr auto;gap:10px;align-items:center}.trigger-card-head>span{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#eef2ff;color:#3370ff}.trigger-rule-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.trigger-rule-grid p{margin:0;padding:10px;border-radius:9px;background:#f8f9fb;color:#565c66;font-size:12px}.trigger-rule-grid b{display:block;margin-bottom:5px;color:#1f2329}.event-console{display:grid;gap:10px}.event-line{display:flex;gap:8px;padding:8px;border-radius:8px;background:#f8f9fb}.event-line i,.audit-log i{width:8px;height:8px;flex:0 0 auto;margin-top:5px;border-radius:999px;background:#3370ff}.payload-card,.test-result{display:grid;gap:8px;padding:12px;border-radius:10px;background:#1f2329;color:#fff}.payload-card code,.auth-link-card code{white-space:pre-wrap;word-break:break-all;font-size:12px}.builder-panel{margin-top:14px;padding:14px}.builder-header,.builder-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.builder-steps,.option-grid{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.builder-steps button,.option-grid button{min-height:34px;border:1px solid #dee0e3;border-radius:999px;background:#fff;padding:0 12px}.builder-steps button.active{background:#3370ff;color:#fff}.test-result{grid-auto-flow:column;justify-content:start;align-items:center;background:#f0fdf4;color:#166534}.admin-shell{grid-template-columns:180px minmax(420px,1fr) 300px;align-items:start}.admin-tabs,.user-table,.role-matrix,.team-map,.agent-access,.admin-detail{display:grid;gap:10px}.user-table{padding:12px}.user-table button{display:grid;gap:4px;padding:12px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;text-align:left}.user-table button.active{border-color:#3370ff;box-shadow:inset 4px 0 #3370ff}.user-table span,.agent-access article div{display:flex;align-items:center;gap:8px}.user-table em,.risk-rules em{width:fit-content;border-radius:999px;background:#ecfeff;color:#0e7490;padding:2px 8px;font-size:11px;font-style:normal}.role-matrix,.team-map,.agent-access{padding:12px}.role-matrix header,.role-matrix div{display:grid;grid-template-columns:150px repeat(5,minmax(86px,1fr));gap:8px;align-items:center}.role-matrix header{color:#646a73;font-size:12px}.team-map{grid-template-columns:repeat(2,minmax(0,1fr))}.team-map article,.agent-access article{display:grid;gap:8px;padding:12px;border:1px solid #e2e8f0;border-radius:10px;background:#fff}.agent-access article{grid-template-columns:1fr 170px;align-items:center}.agent-access select{height:34px;border:1px solid #dee0e3;border-radius:8px}@media(max-width:1380px){.studio-layout,.trigger-workbench,.admin-shell,.trigger-rule-grid,.team-map{grid-template-columns:1fr}}.trigger-redesign{height:100%;padding:12px;overflow:hidden;color:#172033;background:#f0f2f5}.trigger-redesign button,.trigger-redesign input,.trigger-redesign select,.trigger-redesign textarea{font-size:13px}.tc-header,.tc-management,.tc-log-ledger,.tc-modal>section{border:1px solid #dee0e3;border-radius:10px;background:#fff}.tc-header{min-height:68px;display:grid;grid-template-columns:minmax(250px,1.05fr) auto minmax(360px,1.35fr) auto;align-items:center;gap:12px;padding:10px 12px}.tc-header h2{margin:1px 0 2px;font-size:17px;line-height:1.25}.tc-header p{color:#667389;font-size:12px;line-height:1.35}.tc-header-copy{min-width:0}.tc-header-copy .eyebrow{font-size:11px;line-height:1}.tc-header-actions,.tc-action-row,.tc-log-toolbar,.tc-modal footer{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.tc-header-actions{justify-content:flex-end;flex-wrap:nowrap}.tc-main-tabs{display:flex;gap:4px;margin:0;padding:3px;width:fit-content;border:1px solid #dee0e3;border-radius:9px;background:#fff}.tc-main-tabs button{min-height:34px;display:inline-flex;align-items:center;gap:6px;border:0;border-radius:7px;background:transparent;color:#646a73;padding:0 10px;font-weight:700;white-space:nowrap}.tc-main-tabs button.active{background:#3370ff;color:#fff}.tc-metrics{min-width:0;display:grid;grid-template-columns:repeat(4,minmax(82px,1fr));gap:6px;margin:0}.tc-metrics div{display:grid;grid-template-columns:24px minmax(0,1fr);gap:0 7px;align-items:center;min-height:42px;padding:7px 9px;border:1px solid #dee0e3;border-radius:9px;background:#fbfdff}.tc-metrics svg{grid-row:span 2;width:24px;height:24px;padding:5px;border-radius:8px;background:#f0f4ff;color:#3370ff}.tc-metrics span,.tc-kicker,.tc-panel-head span,.tc-trigger-item small,.tc-detail-row span,.tc-log-toolbar span,.tc-modal header span{color:#667389;font-size:12px}.tc-metrics strong{color:#172033;font-size:16px;line-height:1.1}.tc-management{min-height:0;height:calc(100vh - 174px);display:grid;grid-template-columns:360px minmax(0,1fr) 320px;gap:0;overflow:hidden}.tc-list-panel,.tc-main-panel,.tc-inspector{min-width:0;min-height:0;overflow:hidden}.tc-list-panel,.tc-inspector{display:flex;flex-direction:column;padding:12px;background:#fbfdff}.tc-list-panel{border-right:1px solid #edf1f6}.tc-inspector{border-left:1px solid #edf1f6}.tc-panel-head{min-height:30px;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.tc-panel-head strong{font-size:14px}.tc-search{height:36px;display:flex;align-items:center;gap:8px;padding:0 10px;border:1px solid #dee0e3;border-radius:8px;background:#fff;color:#646a73}.tc-search input{width:100%;border:0;outline:0;background:transparent;color:#172033}.tc-filter-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}.tc-filter-row select,.tc-log-toolbar select,.tc-builder-grid input,.tc-builder-grid select,.tc-builder-grid textarea{min-height:34px;width:100%;border:1px solid #dee0e3;border-radius:8px;background:#fff;color:#172033;padding:0 9px;outline:0}.tc-trigger-list{flex:1;min-height:0;overflow:auto;display:grid;align-content:start;gap:8px;padding-right:2px}.tc-trigger-item{width:100%;display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:9px;align-items:center;min-height:78px;border:1px solid #dfe6ef;border-radius:10px;background:#fff;padding:10px;text-align:left;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.tc-trigger-item:hover,.tc-trigger-item.active{border-color:#9bbcf3;background:#f7faff}.tc-trigger-item.active{box-shadow:inset 3px 0 #3370ff}.tc-trigger-item strong{display:block;margin-bottom:4px;color:#172033;font-size:13px;line-height:1.35}.tc-source-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:#eef4ff;color:#3370ff}.tc-main-panel{overflow:auto;padding:14px;background:#fff}.tc-selected-card{display:grid;gap:12px}.tc-selected-head{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:11px;align-items:start;padding:14px;border:1px solid #e1eaff;border-radius:10px;background:linear-gradient(135deg,#fff,#f7faff)}.tc-selected-head h3{margin:2px 0 5px;color:#111827;font-size:18px;line-height:1.25}.tc-selected-head p{color:#52637a;font-size:12px}.tc-rule-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tc-rule-grid article{min-height:132px;display:grid;align-content:start;gap:8px;padding:12px;border:1px solid #e1e7f0;border-radius:10px;background:#fff}.tc-rule-grid article svg{color:#3370ff}.tc-rule-grid article span{color:#172033;font-size:13px;font-weight:750}.tc-rule-grid article p,.tc-recent-box p,.tc-detail-row p{margin:0;color:#565c66;font-size:12px;line-height:1.55}.tc-recent-box{display:grid;grid-template-columns:150px minmax(180px,.8fr) minmax(0,1fr);gap:10px;align-items:stretch;padding:12px;border:1px dashed #b8c5d6;border-radius:10px;background:#fbfdff}.tc-recent-box div{display:grid;gap:4px}.tc-recent-box span{color:#646a73;font-size:12px}.tc-recent-box strong{color:#172033;font-size:13px}.tc-action-row{padding-top:2px}.tc-action-row .ghost-action{margin-left:auto}.tc-status,.tc-log-result{width:fit-content;display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:0 8px;border:1px solid transparent;border-radius:999px;font-size:11px;font-weight:750;white-space:nowrap}.tc-status.compact{min-height:22px}.tc-status.enabled,.tc-status.fired,.tc-log-result.success{border-color:#a7f3d0;background:#ecfdf5;color:#047857}.tc-status.paused,.tc-log-result.waiting{border-color:#fde68a;background:#fffbeb;color:#b45309}.tc-log-result.blocked{border-color:#fecdd3;background:#fff1f2;color:#be123c}.tc-detail-row{display:grid;gap:5px;padding:10px 0;border-bottom:1px solid #edf1f6}.tc-payload{display:grid;gap:8px;margin-top:12px;padding:12px;border-radius:10px;background:#1f2329;color:#fff}.tc-payload strong{font-size:13px}.tc-payload code{white-space:pre-wrap;word-break:break-word;color:#e1eaff;font-size:11px;line-height:1.55}.tc-log-ledger{height:calc(100vh - 174px);overflow:hidden}.tc-log-toolbar{justify-content:space-between;padding:12px 14px;border-bottom:1px solid #edf1f6}.tc-log-toolbar>div{display:grid;gap:3px}.tc-log-toolbar label{display:inline-flex;align-items:center;gap:7px;color:#646a73}.tc-log-table{height:calc(100% - 62px);overflow:auto}.tc-log-table header,.tc-log-table article{display:grid;grid-template-columns:112px minmax(160px,.9fr) minmax(210px,1.15fr) minmax(190px,1fr) minmax(200px,1fr) 74px 58px;gap:10px;align-items:start;padding:10px 14px}.tc-log-table header{position:sticky;top:0;z-index:1;border-bottom:1px solid #edf1f6;background:#f8f9fb;color:#646a73;font-size:12px;font-weight:750}.tc-log-table article{border-bottom:1px solid #edf1f6;background:#fff}.tc-log-table time,.tc-log-table article>span{color:#646a73;font-size:12px}.tc-log-table strong{color:#172033;font-size:13px;line-height:1.35}.tc-log-table p{margin:0;color:#565c66;font-size:12px;line-height:1.5}.tc-log-table p b{display:block;color:#172033}.tc-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:70;display:grid;place-items:center;background:#1f232975}.tc-modal>section{width:min(760px,calc(100vw - 48px));max-height:calc(100vh - 80px);display:grid;gap:14px;padding:16px;overflow:auto;box-shadow:0 24px 60px #1f23293d}.tc-modal header{display:flex;align-items:center;justify-content:space-between;gap:12px}.tc-modal header>div{display:grid;gap:3px}.tc-modal header button{min-height:32px;border:1px solid #dee0e3;border-radius:8px;background:#fff;color:#41464e;padding:0 10px}.tc-builder-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tc-builder-grid label{display:grid;gap:6px;color:#565c66;font-size:12px;font-weight:750}.tc-builder-grid label.wide{grid-column:1 / -1}.tc-builder-grid textarea{min-height:82px;resize:vertical;padding-top:9px}.tc-modal footer{justify-content:flex-end;border-top:1px solid #edf1f6;padding-top:12px}.tc-toast{position:fixed;right:24px;bottom:24px;z-index:90;border-radius:10px;background:#111827;color:#fff;box-shadow:0 18px 42px #1f232933;padding:11px 14px;font-size:13px}@media(max-width:1380px){.tc-header{grid-template-columns:minmax(220px,1fr) auto}.tc-main-tabs,.tc-metrics{grid-column:1 / -1}.tc-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.tc-management{height:calc(100vh - 196px);grid-template-columns:330px minmax(0,1fr)}.tc-log-ledger{height:calc(100vh - 196px)}.tc-inspector{display:none}.tc-rule-grid,.tc-recent-box{grid-template-columns:1fr}.tc-log-table{overflow:auto}.tc-log-table header,.tc-log-table article{grid-template-columns:110px 180px 250px 230px 250px 74px 58px;min-width:1190px}}.security-grid{display:grid;grid-template-columns:300px minmax(360px,1fr) 330px;gap:14px;margin-top:14px}.policy-card,.risk-rules,.auth-link-card,.approval-simulator,.audit-log{display:grid;gap:10px;align-content:start}.policy-card button,.risk-rules button{display:grid;gap:5px;padding:12px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;text-align:left}.policy-card button.active,.risk-rules button.active{border-color:#3370ff;background:#f0f4ff}.auth-link-card,.approval-simulator{grid-column:3}.audit-log{grid-column:1 / -1}.audit-log p{display:flex;gap:8px;margin:0;padding:8px;border-radius:8px;background:#f8f9fb;color:#565c66;font-size:12px}@media(max-width:1380px){.security-grid{grid-template-columns:1fr}.auth-link-card,.approval-simulator,.audit-log{grid-column:auto}}.governance-page{height:100%;padding:12px;overflow:hidden;color:#172033;background:#f0f2f5}.governance-page button,.governance-page input,.governance-page select,.governance-page textarea{font-size:13px}.gov-header,.gov-layout{border:1px solid #dee0e3;border-radius:10px;background:#fff}.gov-header{min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px}.gov-header h2{margin:3px 0 4px;font-size:18px;line-height:1.25}.gov-header p,.gov-kicker,.gov-panel-head span,.gov-member-list small,.gov-info-grid p,.gov-role-matrix small,.gov-group-grid small,.gov-agent-grid small,.sec-rule-list small,.sec-approval-list small,.sec-info-line span,.sec-helper{color:#667389;font-size:12px;line-height:1.45}.gov-header-actions,.gov-detail-actions,.sec-action-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.gov-header-actions{justify-content:flex-end}.gov-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0}.gov-metrics div{min-height:58px;display:grid;grid-template-columns:34px minmax(0,1fr);gap:2px 10px;align-items:center;padding:10px 12px;border:1px solid #dee0e3;border-radius:10px;background:#fff}.gov-metrics svg{grid-row:span 2;width:30px;height:30px;padding:7px;border-radius:8px;background:#f0f4ff;color:#3370ff}.gov-metrics span{color:#667389;font-size:12px}.gov-metrics strong{font-size:17px}.gov-tabs{display:inline-flex;gap:4px;margin-bottom:10px;padding:4px;border:1px solid #dee0e3;border-radius:10px;background:#fff}.gov-tabs button{min-height:32px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:8px;background:transparent;color:#565c66;padding:0 12px;font-weight:700}.gov-tabs button.active{background:#3370ff;color:#fff}.gov-layout{min-height:0;height:calc(100% - 176px);display:grid;grid-template-columns:306px minmax(0,1fr) 330px;overflow:hidden}.gov-list-panel,.gov-main-panel,.gov-detail-panel{min-width:0;min-height:0}.gov-list-panel,.gov-detail-panel{display:flex;flex-direction:column;gap:10px;padding:12px;overflow:hidden}.gov-list-panel{border-right:1px solid #e8eaed}.gov-detail-panel{border-left:1px solid #e8eaed}.gov-main-panel{padding:14px;overflow:auto;background:#fbfdff}.gov-panel-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.gov-panel-head strong{color:#1f2329}.gov-search{height:36px;display:flex;align-items:center;gap:8px;padding:0 10px;border:1px solid #dee0e3;border-radius:9px;background:#f8f9fb;color:#646a73}.gov-search input{width:100%;border:0;outline:0;background:transparent;color:#172033}.gov-member-list,.sec-rule-list,.sec-approval-list,.sec-audit-list{min-height:0;overflow:auto}.gov-member-list{display:grid;gap:8px}.gov-member-list button,.sec-rule-list button,.sec-approval-list button{width:100%;display:grid;gap:5px;padding:11px;border:1px solid #e1e7f0;border-radius:10px;background:#fff;color:#172033;text-align:left}.gov-member-list button:hover,.gov-member-list button.active,.sec-rule-list button:hover,.sec-rule-list button.active,.sec-approval-list button:hover,.sec-approval-list button.active{border-color:#98b8ef;background:#f6f9ff;box-shadow:inset 3px 0 #3370ff}.gov-member-list span,.gov-selected-head,.gov-agent-grid article,.sec-resource-grid article,.sec-mode-card button{display:flex;align-items:center;gap:9px}.gov-member-list em,.sec-rule-list strong,.sec-approval-list em{width:fit-content;border-radius:999px;padding:2px 8px;font-size:11px;font-style:normal;font-weight:800}.gov-member-list em.success,.sec-approval-list em.success{background:#ecfdf5;color:#047857}.gov-member-list em.warning,.sec-approval-list em.warning,.sec-rule-list strong.warning{background:#fffbeb;color:#b45309}.gov-member-list em.muted{background:#f1f5f9;color:#646a73}.sec-rule-list strong.danger,.sec-approval-list em.danger{background:#fff1f2;color:#be123c}.gov-selected-head{padding:12px;border:1px solid #e1eaff;border-radius:10px;background:#fff}.gov-avatar{width:42px;height:42px;display:grid;place-items:center;border-radius:10px;background:#3370ff;color:#fff;font-size:18px;font-weight:800}.gov-selected-head h3{margin:3px 0 4px;font-size:18px}.gov-selected-head p{margin:0;color:#565c66;font-size:13px}.gov-info-grid,.gov-group-grid,.gov-agent-grid,.sec-resource-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}.gov-info-grid article,.gov-group-grid article,.gov-agent-grid article,.sec-resource-grid article,.sec-mode-card,.sec-rule-detail,.sec-approval-detail,.sec-policy-summary{border:1px solid #e1e7f0;border-radius:10px;background:#fff}.gov-info-grid article{display:grid;grid-template-columns:28px minmax(0,1fr);gap:4px 9px;padding:12px}.gov-info-grid article svg{grid-row:span 2;color:#3370ff}.gov-info-grid span,.gov-group-grid strong,.gov-agent-grid strong,.sec-resource-grid strong,.sec-mode-card strong,.sec-rule-detail strong,.sec-approval-detail strong{color:#1f2329;font-weight:800}.gov-info-grid p,.gov-group-grid p,.gov-agent-grid p,.sec-resource-grid p{margin:0}.gov-role-matrix{min-width:900px;display:grid;gap:8px}.gov-role-matrix header,.gov-role-matrix article{display:grid;grid-template-columns:190px repeat(5,minmax(92px,1fr));gap:8px;align-items:center}.gov-role-matrix header{color:#667389;font-size:12px}.gov-role-matrix article{padding:10px;border:1px solid #e1e7f0;border-radius:10px;background:#fff}.gov-role-matrix button{min-height:30px;border:1px solid transparent;border-radius:999px;font-weight:800}.gov-role-matrix button.allow{background:#ecfdf5;color:#047857}.gov-role-matrix button.review{background:#fffbeb;color:#b45309}.gov-role-matrix button.readonly{background:#f1f5f9;color:#646a73}.gov-group-grid article,.gov-agent-grid article,.sec-resource-grid article{padding:12px}.gov-group-grid article{display:grid;gap:8px}.gov-group-grid article>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.gov-group-grid button,.gov-agent-grid button,.sec-resource-grid button{width:fit-content;min-height:30px;border:1px solid #dee0e3;border-radius:8px;background:#fff;color:#41464e;padding:0 10px}.gov-agent-grid article,.sec-resource-grid article{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:10px;align-items:start}.gov-agent-grid article>span,.sec-resource-grid article>span{width:32px;height:32px;display:grid;place-items:center;border-radius:8px;background:#f0f4ff;color:#3370ff}.gov-detail-panel label{display:grid;gap:5px;color:#667389;font-size:12px}.gov-detail-panel input,.gov-detail-panel textarea,.gov-detail-panel select{width:100%;min-height:36px;border:1px solid #dee0e3;border-radius:8px;background:#f8f9fb;color:#172033;padding:8px 10px}.gov-detail-panel textarea{min-height:76px;resize:vertical}.gov-detail-actions button,.sec-action-row button{min-height:34px;border:1px solid #dee0e3;border-radius:8px;background:#fff;color:#41464e;padding:0 10px}.gov-mini-log{margin-top:auto;padding:10px;border:1px solid #bacefd;border-radius:10px;background:#f0f4ff;color:#1e3a8a;font-size:12px;line-height:1.5}.security-layout{grid-template-columns:300px minmax(0,1fr) 330px}.sec-rule-list{display:grid;gap:8px}.sec-policy-view,.sec-approval-view{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:10px}.sec-mode-card,.sec-rule-detail,.sec-approval-detail,.sec-policy-summary{display:grid;gap:10px;padding:12px;align-content:start}.sec-mode-card button{width:100%;align-items:flex-start;padding:12px;border:1px solid #e1e7f0;border-radius:10px;background:#fff;text-align:left}.sec-mode-card button.active{border-color:#98b8ef;background:#f6f9ff;box-shadow:inset 3px 0 #3370ff}.sec-mode-card button svg{color:#3370ff}.sec-mode-card p,.sec-rule-detail p,.sec-approval-detail p,.sec-policy-summary p{margin:0;color:#565c66;font-size:13px;line-height:1.5}.sec-info-line{display:grid;grid-template-columns:84px minmax(0,1fr);gap:10px;padding:9px 0;border-bottom:1px solid #edf1f6}.sec-approval-list{display:grid;max-height:560px;gap:8px}.sec-resource-grid{margin:0}.sec-resource-grid em{display:inline-flex;width:fit-content;margin-top:8px;border-radius:999px;background:#f0f4ff;color:#3370ff;padding:2px 8px;font-size:11px;font-style:normal;font-weight:800}.sec-audit-list{display:grid;gap:8px;max-height:100%}.sec-audit-list p{display:flex;gap:8px;margin:0;padding:10px;border:1px solid #e1e7f0;border-radius:9px;background:#fff;color:#565c66;font-size:13px}.sec-audit-list i{width:8px;height:8px;flex:0 0 auto;margin-top:6px;border-radius:999px;background:#3370ff}.sec-helper{margin:0}.sec-auth-code{display:block;white-space:pre-wrap;overflow-wrap:anywhere;padding:10px;border-radius:9px;background:#1f2329;color:#e1eaff;font-size:12px;line-height:1.45}.sec-policy-summary{margin-top:4px}@media(max-width:1380px){.gov-layout,.security-layout{grid-template-columns:260px minmax(0,1fr)}.gov-detail-panel{display:none}}@media(max-width:1180px){.governance-page{overflow:auto}.gov-header,.gov-layout,.sec-policy-view,.sec-approval-view{grid-template-columns:1fr}.gov-header{display:grid}.gov-layout,.security-layout{height:auto;grid-template-columns:1fr}.gov-list-panel,.gov-detail-panel{border:0}.gov-detail-panel{display:flex}.gov-metrics,.gov-info-grid,.gov-group-grid,.gov-agent-grid,.sec-resource-grid{grid-template-columns:1fr}}.user-ledger-page{height:100%;display:flex;flex-direction:column;gap:10px;padding:12px;overflow:hidden;background:#f0f2f5;color:#172033}.user-ledger-page button,.user-ledger-page input,.user-ledger-page select,.user-ledger-page textarea{font-size:13px}.user-ledger-header,.user-ledger-toolbar,.user-ledger-table-card,.user-ledger-lower article{border:1px solid #dee0e3;border-radius:10px;background:#fff}.user-ledger-header{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px}.user-ledger-header h2{margin:3px 0 4px;font-size:18px;line-height:1.25}.user-ledger-header p,.user-ledger-toolbar span,.user-ledger-table-head span,.user-ledger-table small,.user-ledger-table p,.user-ledger-lower header span,.user-ledger-audit p{color:#667389;font-size:12px;line-height:1.45}.user-ledger-actions,.user-ledger-table-head,.user-ledger-lower header{display:flex;align-items:center;justify-content:space-between;gap:12px}.user-ledger-actions{flex-wrap:wrap;justify-content:flex-end}.user-ledger-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.user-ledger-summary div{min-height:58px;display:grid;grid-template-columns:34px minmax(0,1fr);gap:2px 10px;align-items:center;padding:10px 12px;border:1px solid #dee0e3;border-radius:10px;background:#fff}.user-ledger-summary svg{grid-row:span 2;width:30px;height:30px;padding:7px;border-radius:8px;background:#f0f4ff;color:#3370ff}.user-ledger-summary span{color:#667389;font-size:12px}.user-ledger-summary strong{font-size:17px}.user-ledger-toolbar{min-height:50px;display:grid;grid-template-columns:minmax(320px,1fr) 150px 150px auto;gap:10px;align-items:center;padding:8px 10px}.user-ledger-search{min-width:0;display:flex;align-items:center;gap:8px;height:34px;padding:0 10px;border:1px solid #dee0e3;border-radius:8px;background:#f8f9fb;color:#667389}.user-ledger-search input,.user-ledger-toolbar select,.user-ledger-table input,.user-ledger-table select,.user-ledger-table textarea{min-width:0;width:100%;border:1px solid #dee0e3;border-radius:8px;background:#fff;color:#172033;outline:none}.user-ledger-search input{height:100%;border:0;background:transparent}.user-ledger-toolbar select{height:34px;padding:0 8px}.user-ledger-toolbar>span{white-space:nowrap;text-align:right}.user-ledger-table-card{min-height:0;flex:1 1 auto;display:flex;flex-direction:column;overflow:hidden}.user-ledger-table-head{min-height:46px;padding:0 14px;border-bottom:1px solid #e6ebf2}.user-ledger-table-head strong{display:inline-flex;align-items:center;gap:8px}.user-ledger-table-scroll{min-height:0;overflow:auto}.user-ledger-table{width:100%;min-width:1480px;border-collapse:collapse}.user-ledger-table th,.user-ledger-table td{padding:10px;border-bottom:1px solid #e8edf4;vertical-align:top;text-align:left}.user-ledger-table th{position:sticky;top:0;z-index:1;background:#f8f9fb;color:#565c66;font-size:12px;font-weight:800}.user-ledger-table td{font-size:13px}.user-ledger-table td:first-child{width:150px}.user-ledger-table td:nth-child(2),.user-ledger-table td:nth-child(4),.user-ledger-table td:nth-child(8),.user-ledger-table td:nth-child(9){width:150px}.user-ledger-table td:nth-child(3){width:150px}.user-ledger-table td:nth-child(5){width:190px}.user-ledger-table td:nth-child(6),.user-ledger-table td:nth-child(7),.user-ledger-table td:nth-child(10){width:210px}.user-ledger-table td:last-child{width:124px}.user-ledger-table td>strong,.user-ledger-table td>span,.user-ledger-table td>small,.user-ledger-table td>p{display:block}.user-ledger-table td>strong{margin-bottom:4px}.user-ledger-table td>span{color:#565c66;font-size:12px}.user-ledger-table input,.user-ledger-table select{height:32px;padding:0 8px}.user-ledger-table textarea{min-height:54px;resize:vertical;padding:7px 8px}.user-ledger-table td:nth-child(3) input+input,.user-ledger-table td:nth-child(7) small,.user-ledger-table td:nth-child(9) small,.user-ledger-table td:nth-child(10) small{margin-top:6px}.user-ledger-table td:last-child{display:grid;gap:6px}.user-ledger-table td:last-child button{min-height:30px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #dee0e3;border-radius:8px;background:#fff;color:#3370ff;font-weight:800}.user-ledger-table td:last-child button.is-stop{color:#b42318}.user-ledger-table td:last-child button.is-enable{color:#087443}.user-ledger-table tr.is-disabled{background:#f8f9fb}.user-ledger-table tr.is-disabled td:first-child strong,.user-ledger-table tr.is-disabled td:first-child span,.user-ledger-table tr.is-disabled td:first-child small{color:#8f959e}.user-ledger-lower{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:10px;min-height:190px;max-height:240px}.user-ledger-lower article{min-width:0;overflow:hidden}.user-ledger-lower header{min-height:42px;padding:0 12px;border-bottom:1px solid #e6ebf2}.user-ledger-matrix table{width:100%;border-collapse:collapse}.user-ledger-matrix th,.user-ledger-matrix td{padding:8px 12px;border-bottom:1px solid #edf1f6;text-align:left;font-size:12px}.user-ledger-matrix th{background:#f8f9fb;color:#565c66}.user-ledger-audit{display:flex;flex-direction:column}.user-ledger-audit p{margin:0;padding:9px 12px;border-bottom:1px solid #edf1f6}@media(max-width:1180px){.user-ledger-page{overflow:auto}.user-ledger-header,.user-ledger-toolbar,.user-ledger-lower{grid-template-columns:1fr}.user-ledger-header{display:grid}.user-ledger-summary{grid-template-columns:1fr 1fr}.user-ledger-table-card{min-height:560px}.user-ledger-lower{max-height:none}}.user-ledger-redesign{--ledger-border: #d9e1ec;--ledger-muted: #646a73;--ledger-text: #172033;--ledger-soft: #f7f9fc;--ledger-blue: #3370ff;--ledger-blue-soft: #eaf0ff;gap:8px;background:#f0f2f5}.user-ledger-redesign .user-ledger-header{min-height:70px;border-radius:9px;padding:12px 14px}.user-ledger-redesign .user-ledger-header h2{margin:2px 0 3px;font-size:19px}.user-ledger-redesign .user-ledger-header p{max-width:860px;margin:0}.user-ledger-redesign .user-ledger-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.user-ledger-redesign .user-ledger-summary div{min-height:50px;border-radius:9px;padding:8px 10px;grid-template-columns:30px minmax(0,1fr);background:#fff}.user-ledger-redesign .user-ledger-summary svg{width:28px;height:28px;padding:7px;border-radius:7px;background:var(--ledger-blue-soft)}.user-ledger-redesign .user-ledger-toolbar{min-height:46px;border-radius:9px;grid-template-columns:minmax(320px,1fr) 140px 140px 62px;padding:6px 8px}.user-ledger-redesign .user-ledger-search,.user-ledger-redesign .user-ledger-toolbar select{height:34px;border-radius:7px}.user-ledger-workspace{min-height:0;flex:1 1 auto;display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:10px;overflow:hidden}.user-ledger-main,.user-ledger-detail{min-width:0;min-height:0;border:1px solid var(--ledger-border);border-radius:9px;background:#fff;overflow:hidden}.user-ledger-redesign .user-ledger-table-head{min-height:42px;padding:0 12px}.user-ledger-redesign .user-ledger-table-head span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-ledger-redesign .user-ledger-table-scroll{height:calc(100% - 42px);overflow-y:auto;overflow-x:hidden}.user-ledger-redesign .user-ledger-table{min-width:0;table-layout:fixed}.user-ledger-redesign .user-ledger-table th,.user-ledger-redesign .user-ledger-table td{padding:10px;border-bottom:1px solid #edf1f6}.user-ledger-redesign .user-ledger-table th{height:38px;color:#526076;background:#f9fbfd}.user-ledger-redesign .user-ledger-table td{height:72px;color:var(--ledger-text)}.user-ledger-redesign .user-ledger-table tr{cursor:pointer}.user-ledger-redesign .user-ledger-table tbody tr:hover{background:#f8fbff}.user-ledger-redesign .user-ledger-table tr.is-selected{background:#f0f4ff;box-shadow:inset 3px 0 0 var(--ledger-blue)}.user-ledger-redesign .user-ledger-table th:first-child,.user-ledger-redesign .user-ledger-table td:first-child{width:130px}.user-ledger-redesign .user-ledger-table th:nth-child(2),.user-ledger-redesign .user-ledger-table td:nth-child(2){width:88px}.user-ledger-redesign .user-ledger-table th:nth-child(3),.user-ledger-redesign .user-ledger-table td:nth-child(3){width:130px}.user-ledger-redesign .user-ledger-table th:nth-child(4),.user-ledger-redesign .user-ledger-table td:nth-child(4){width:126px}.user-ledger-redesign .user-ledger-table th:nth-child(5),.user-ledger-redesign .user-ledger-table td:nth-child(5){width:auto}.user-ledger-redesign .user-ledger-table th:nth-child(6),.user-ledger-redesign .user-ledger-table td:nth-child(6){width:80px}.user-ledger-redesign .user-ledger-table th:last-child,.user-ledger-redesign .user-ledger-table td:last-child{width:108px;display:table-cell}.user-ledger-redesign .user-ledger-table td>strong{margin-bottom:3px;color:#111827;font-size:13px}.user-ledger-redesign .user-ledger-table td>span,.user-ledger-redesign .user-ledger-table td>small,.user-ledger-redesign .user-ledger-table td>p{margin:0;color:var(--ledger-muted);font-size:12px}.user-ledger-redesign .user-ledger-table td>p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.user-ledger-redesign .user-ledger-table td:last-child button{min-height:28px;padding:0 8px;border-radius:7px}.user-ledger-redesign .user-ledger-table td:last-child button+button{margin-top:6px}.ledger-badge,.ledger-status{display:inline-flex;align-items:center;width:fit-content;max-width:100%;min-height:24px;padding:0 8px;border:1px solid transparent;border-radius:999px;font-size:12px;font-weight:800;line-height:1;white-space:nowrap}.ledger-badge.neutral{border-color:#dee0e3;background:#f8f9fb;color:#41464e}.ledger-badge.admin{border-color:#bacefd;background:#f0f4ff;color:#245bdb}.ledger-badge.owner{border-color:#bbf7d0;background:#f0fdf4;color:#047857}.ledger-badge.warning{border-color:#fde68a;background:#fffbeb;color:#92400e}.ledger-badge.muted{border-color:#e2e8f0;background:#f8f9fb;color:#646a73}.ledger-status.enabled{border-color:#bbf7d0;background:#ecfdf5;color:#047857}.ledger-status.pending{border-color:#fde68a;background:#fffbeb;color:#a16207}.ledger-status.disabled{border-color:#e2e8f0;background:#f1f5f9;color:#646a73}.user-ledger-detail{display:flex;flex-direction:column;overflow:auto}.user-ledger-detail>header{padding:14px 14px 12px;border-bottom:1px solid #e6ebf2;background:#fbfdff}.user-ledger-detail>header span{color:var(--ledger-blue);font-size:12px;font-weight:800}.user-ledger-detail>header h3{margin:3px 0;color:#111827;font-size:20px}.user-ledger-detail>header p{margin:0;color:var(--ledger-muted);font-size:13px}.detail-status-row{display:flex;gap:8px;flex-wrap:wrap;padding:12px 14px 0}.detail-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px 14px 0}.user-ledger-detail label{display:grid;gap:5px;color:#565c66;font-size:12px;font-weight:800}.user-ledger-detail input,.user-ledger-detail select,.user-ledger-detail textarea{width:100%;min-width:0;border:1px solid var(--ledger-border);border-radius:7px;background:#fff;color:var(--ledger-text);outline:none}.user-ledger-detail input,.user-ledger-detail select{height:34px;padding:0 8px}.user-ledger-detail textarea{min-height:58px;resize:vertical;padding:8px;line-height:1.45}.detail-wide-field,.detail-module-list,.detail-actions{margin:10px 14px 0}.detail-module-list{display:grid;gap:7px;padding:10px;border:1px solid #e6ebf2;border-radius:8px;background:#f8f9fb}.detail-module-list strong{color:#41464e;font-size:12px}.detail-module-list div{display:flex;flex-wrap:wrap;gap:6px}.detail-module-list span{display:inline-flex;min-height:24px;align-items:center;border-radius:999px;background:#fff;color:#565c66;padding:0 8px;font-size:12px}.detail-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding-bottom:14px}.detail-actions button{min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--ledger-border);border-radius:8px;background:#fff;color:#3370ff;font-weight:800}.user-ledger-redesign .user-ledger-lower{min-height:160px;max-height:180px;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)}.user-ledger-redesign .user-ledger-lower article{border-radius:9px}.user-ledger-redesign .user-ledger-lower header{min-height:38px}.user-ledger-redesign .user-ledger-matrix th,.user-ledger-redesign .user-ledger-matrix td{padding:7px 12px}@media(max-width:1040px){.user-ledger-workspace{grid-template-columns:1fr;overflow:visible}.user-ledger-detail{max-height:none}.user-ledger-redesign{overflow:auto}}@media(max-width:860px){.user-ledger-redesign .user-ledger-summary,.detail-field-grid,.detail-actions,.user-ledger-redesign .user-ledger-toolbar{grid-template-columns:1fr}}.task-sidebar .sidebar-head{min-height:48px;padding:8px 10px 7px 12px}.task-sidebar .sidebar-head h2{margin:0;font-size:15px;line-height:1.1}.task-sidebar .sidebar-head div>span{display:block;margin-top:2px;color:#646a73;font-size:11px}.task-sidebar .sidebar-tools{gap:5px}.task-sidebar .icon-button,.task-sidebar .primary-square{width:30px;height:30px}.status-filter-row{display:flex;gap:5px;overflow-x:auto;min-height:40px;padding:6px 9px;border-bottom:1px solid #edf1f6;background:#fbfdff;scrollbar-width:none}.status-filter-row button{flex:0 0 auto;height:28px;display:inline-flex;align-items:center;gap:5px;border:1px solid #dee0e3;border-radius:999px;background:#fff;color:#565c66;padding:0 8px;font-size:11px;font-weight:700}.status-filter-row button.active{border-color:#3370ff;background:#eaf0ff;color:#1c4cba;box-shadow:inset 0 0 0 1px #bacefd}.status-filter-row strong{min-width:18px;height:18px;display:inline-grid;place-items:center;border-radius:999px;background:#f1f5f9;color:#1f2329;font-size:10px}.status-filter-row button.active strong{background:#3370ff;color:#fff}.task-sidebar .filter-panel.compact{padding:5px 9px}.task-sidebar .filter-title{margin-bottom:0;font-size:11px}.task-sidebar .filter-toggle span{max-width:150px}.task-sidebar .filter-panel.compact .filter-chips{display:none}.task-sidebar .filter-panel.open{padding:8px 10px}.task-sidebar .filter-row{margin:5px 0}.task-sidebar .filter-row select{height:28px}.task-sidebar .sort-button{height:28px;margin-top:6px}.task-sidebar .task-list{padding:8px}.task-sidebar .task-card{padding:7px 9px 7px 14px;margin-bottom:6px;border-radius:9px}.task-sidebar .task-card:before{top:8px;bottom:8px;width:4px}.task-sidebar .task-card.selected:before{width:8px}.task-sidebar .task-card.selected{box-shadow:inset 8px 0 0 var(--task-color, #3370ff),0 10px 24px #1f232924;transform:translate(2px)}.task-sidebar .task-card-top{margin-bottom:4px}.task-sidebar .task-card .pill{height:20px;padding:0 6px;font-size:10px}.task-sidebar .task-card h3{display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-bottom:2px;font-size:13px;line-height:1.25}.task-sidebar .task-card p{overflow:hidden;margin:0;color:#646a73;font-size:11px;white-space:nowrap;text-overflow:ellipsis}.task-sidebar .task-meta,.task-sidebar .task-bottom,.task-sidebar .task-state-row{margin-top:5px;gap:6px;font-size:11px}.task-sidebar .task-state-row{display:none}.task-sidebar .task-meta span,.task-sidebar .task-state-row span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.task-sidebar .progress-line{height:4px;margin-top:6px}.empty-task-state{padding:16px 10px;border:1px dashed #dee0e3;border-radius:10px;color:#646a73;background:#f8f9fb;font-size:12px;line-height:1.5}.execution-panel .task-hero{gap:14px;padding:10px 12px;margin-top:10px;border-top-width:3px;border-radius:9px;background:#fff}.execution-panel .hero-kicker{gap:6px;margin-bottom:4px;font-size:11px}.execution-panel .hero-kicker .pill{height:20px;padding:0 6px;font-size:10px}.execution-panel .hero-main h2{overflow:hidden;margin-bottom:3px;color:#1f2329;font-size:17px;line-height:1.25;white-space:nowrap;text-overflow:ellipsis}.execution-panel .hero-main p{overflow:hidden;max-width:620px;color:#646a73;font-size:12px;line-height:1.35;white-space:nowrap;text-overflow:ellipsis}.execution-panel .hero-actions{display:grid;grid-template-columns:repeat(2,minmax(126px,auto));gap:6px;align-items:end;align-self:flex-start}.execution-panel .primary-action,.execution-panel .secondary-action{height:30px;padding:0 9px;border-radius:8px;font-size:12px}.execution-panel .control-field{gap:0;font-size:10px}.execution-panel .control-field span{width:1px;height:1px;overflow:hidden;position:absolute;clip:rect(0 0 0 0)}.execution-panel .control-field select{height:30px;min-width:136px;border-radius:8px;font-size:12px}.execution-panel .metric-row{gap:8px;margin:8px 16px}.execution-panel .metric-card{grid-template-columns:28px 1fr;gap:1px 8px;padding:8px 10px;border-radius:9px}.execution-panel .metric-card div{width:28px;height:28px;border-radius:7px}.execution-panel .metric-card span{font-size:11px}.execution-panel .metric-card strong{overflow:hidden;font-size:12px;white-space:nowrap;text-overflow:ellipsis}.execution-panel .center-tabs{padding:0 16px}.execution-panel .center-tabs button{height:32px;font-size:12px}.execution-panel .center-scroll{padding-top:10px}.execution-panel .node-step{position:relative;gap:8px;padding:10px;margin-bottom:8px;border-color:#e5e7eb;border-radius:9px;background:#fff}.execution-panel .node-step.active{border-color:#99f6e4;background:linear-gradient(135deg,#ecfdf5,#fff 78%);box-shadow:inset 0 0 0 1px #ccfbf1,0 8px 18px #0d948814}.execution-panel .node-step.active:before{content:"";position:absolute;left:12px;top:8px;width:7px;height:7px;border-radius:999px;background:#0d9488}.execution-panel .node-step.active .node-index{background:#ccfbf1;color:#0f766e}.execution-panel .node-step.active .node-title-row h3{color:#1f2329}.execution-panel .node-index{width:28px;height:28px;border-radius:7px;font-size:12px}.execution-panel .node-title-row h3{font-size:13px;line-height:1.25}.execution-panel .node-status-wrap{display:flex;align-items:center;gap:5px;flex:0 0 auto}.execution-panel .node-complete-mark{width:18px;height:18px;display:inline-grid;place-items:center;border-radius:999px;background:#dcfce7;color:#16a34a;border:1px solid #bbf7d0}.execution-panel .node-copy p{margin-top:4px;color:#646a73;font-size:11px}.execution-panel .node-copy .mini-progress{height:4px;margin-top:7px}.execution-panel .work-surface{grid-template-columns:180px minmax(0,1fr)}.sop-node-detail{display:grid;gap:10px}.compact-node-toolbar{margin-bottom:0}.node-toolbar-actions{display:flex;align-items:center;gap:8px}.node-block-alert{display:grid;grid-template-columns:24px 1fr auto;gap:10px;align-items:start;padding:10px 12px;border:1px solid #fed7aa;border-radius:10px;background:#fff7ed;color:#9a3412}.node-block-alert p{margin-top:3px;color:#b45309;font-size:12px}.sop-section{overflow:hidden;border:1px solid #dfe6ef;border-radius:10px;background:#fff}.sop-section-head{width:100%;height:38px;display:flex;align-items:center;justify-content:space-between;border:0;background:#f8f9fb;color:#1f2329;padding:0 12px;font-weight:800}.sop-section-head span,.step-console-head,.process-step-head,.node-status-wrap{display:flex;align-items:center;gap:7px}.sop-section-body{display:grid;gap:10px;padding:12px}.node-input-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.node-input-grid article{display:grid;grid-template-columns:24px 1fr;gap:8px;padding:9px;border:1px solid #e6edf5;border-radius:9px;background:#fbfdff}.node-input-grid article>span,.objective-list span,.process-step-head>span{width:22px;height:22px;display:inline-grid;place-items:center;border-radius:999px;background:#e0f2fe;color:#0369a1;font-size:11px;font-weight:800}.node-input-grid strong,.node-output-panel strong{font-size:12px}.node-input-grid p,.objective-list p,.process-step p,.node-output-panel p,.validation-panel p,.rule-suggestion-list p{color:#565c66;font-size:12px;line-height:1.5}.objective-list{display:grid;gap:6px}.objective-list p{display:flex;gap:8px;margin:0}.step-console{display:grid;gap:8px}.step-console-head{justify-content:space-between}.step-console-head button,.process-step button,.node-output-panel button,.rule-suggestion-list button,.node-toolbar-actions button{min-height:30px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #dee0e3;border-radius:8px;background:#fff;color:#41464e;padding:0 10px;font-size:12px}.process-step{display:grid;gap:8px;padding:10px;border:1px solid #e6edf5;border-radius:10px;background:#fff}.process-step.active{border-color:#bacefd;background:#f0f4ff}.process-step.failed{border-color:#fecdd3;background:#fff1f2}.process-step.waiting{border-color:#fde68a;background:#fffbeb}.process-step-head{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:start}.process-step-head strong{font-size:13px}.step-badge{border-radius:999px;padding:3px 8px;font-size:11px;font-style:normal;background:#f1f5f9;color:#565c66}.step-badge.done{background:#dcfce7;color:#15803d}.step-badge.running{background:#e1eaff;color:#245bdb}.step-badge.waiting{background:#fef3c7;color:#b45309}.step-badge.failed{background:#ffe4e6;color:#be123c}.human-input-box,.yesno-box,.content-review-box,.file-review-box,.step-error-box{display:flex;gap:8px;flex-wrap:wrap;align-items:end;padding:9px;border-radius:9px;background:#ffffffb8}.human-input-box label{display:grid;gap:5px;color:#646a73;font-size:11px}.human-input-box input{height:30px;min-width:220px;border:1px solid #dee0e3;border-radius:8px;padding:0 9px}.yesno-box button:first-child,.file-review-box button:nth-child(2){border-color:#86efac;background:#dcfce7;color:#166534}.yesno-box button:nth-child(2),.step-error-box button{border-color:#fecdd3;background:#fff1f2;color:#be123c}.content-review-box{align-items:center;justify-content:space-between}.content-review-box p{flex:1 1 360px;margin:0}.node-output-panel{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(180px,.8fr) minmax(180px,.8fr);gap:10px}.node-output-panel article{display:grid;gap:8px;align-content:start;padding:10px;border:1px solid #e6edf5;border-radius:9px;background:#fbfdff}.validation-panel{display:grid;grid-template-columns:minmax(140px,.7fr) minmax(220px,1.2fr) 120px auto;gap:10px;align-items:center}.validation-panel span{display:block;color:#646a73;font-size:11px}.validation-score{text-align:center}.validation-score strong{color:#047857;font-size:24px}.rule-suggestion-list{display:grid;gap:8px}.rule-suggestion-list article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:10px;border:1px solid #e6edf5;border-radius:9px;background:#fbfdff}.rule-suggestion-list em{display:inline-block;margin-top:6px;border-radius:999px;background:#ecfdf5;color:#047857;padding:3px 8px;font-size:11px;font-style:normal}.preview-popover{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:center;background:#1f232952}.preview-popover>div{width:min(760px,calc(100vw - 64px));max-height:min(680px,calc(100vh - 64px));display:grid;grid-template-rows:auto minmax(0,1fr);border-radius:12px;background:#fff;box-shadow:0 24px 80px #1f23293d}.preview-popover header{display:flex;justify-content:space-between;padding:12px 14px;border-bottom:1px solid #e6edf5}.preview-popover pre{overflow:auto;margin:0;padding:16px;white-space:pre-wrap;color:#1f2329;font-size:13px;line-height:1.6}@media(max-width:1320px){.node-output-panel,.validation-panel,.rule-suggestion-list article{grid-template-columns:1fr}.node-input-grid{grid-template-columns:1fr}}@media(max-width:1280px){.execution-panel .work-surface{grid-template-columns:180px minmax(0,1fr)}}.execution-panel{padding:8px 10px}.execution-panel .task-hero,.execution-panel .metric-row{margin-left:8px;margin-right:8px}.execution-panel .task-hero{margin-top:8px}.execution-panel .hero-kicker{flex-wrap:wrap}.execution-panel .hero-kicker em{display:inline-flex;align-items:center;height:20px;border-radius:999px;background:#f0f4ff;color:#245bdb;padding:0 7px;font-size:10px;font-style:normal;font-weight:750}.execution-panel .hero-actions{grid-template-columns:132px minmax(150px,1fr) minmax(132px,.85fr)}.execution-panel .hero-actions .primary-action,.execution-panel .hero-actions .secondary-action{grid-row:1}.execution-panel .pause-action{border-color:#bacefd;background:#f0f4ff;color:#245bdb}.execution-panel .icon-field{position:relative;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:0}.execution-panel .icon-field>svg{z-index:1;width:28px;height:30px;padding:7px;border:1px solid #dee0e3;border-right:0;border-radius:8px 0 0 8px;background:#f8f9fb;color:#3370ff}.execution-panel .icon-field select{min-width:0;border-radius:0 8px 8px 0}.execution-panel .icon-field select:disabled{background:#f1f5f9;color:#646a73;cursor:not-allowed}.execution-panel .center-tabs{padding:0 8px}.execution-panel .center-scroll{padding:8px 8px 10px}.execution-panel .work-surface{grid-template-columns:220px minmax(0,1fr);gap:14px}.execution-panel .node-rail{position:relative;padding-left:10px}.execution-panel .node-rail:before{content:"";position:absolute;left:23px;top:18px;bottom:18px;width:1px;background:#e1eaff}.execution-panel .node-step{position:relative;grid-template-columns:28px minmax(0,1fr);padding:9px;margin-bottom:10px;border-radius:10px}.execution-panel .node-clock{display:none}.execution-panel .node-title-row{display:grid;grid-template-columns:1fr;gap:6px;align-items:start}.execution-panel .node-title-row h3{display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:13px;line-height:1.28}.execution-panel .node-status-wrap{justify-content:flex-start}.execution-panel .node-status-wrap .pill{height:20px;padding:0 7px;font-size:10px}.execution-panel .node-copy .node-meta-line{display:grid;grid-template-columns:14px minmax(0,1fr);gap:4px 5px;align-items:center;margin-top:4px;color:#646a73;font-size:11px}.execution-panel .node-copy .node-meta-line span{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;grid-column:2}.execution-panel .node-copy .mini-progress{margin-top:8px}.execution-panel .node-step.active{transform:translate(2px)}.execution-panel .node-step.active:before{left:-2px;top:12px;width:8px;height:8px}.sop-node-detail{min-width:0}.sop-section{border-left:3px solid #bacefd}.sop-section:nth-of-type(3){border-left-color:#99f6e4}.sop-section:nth-of-type(4){border-left-color:#fde68a}.sop-section:nth-of-type(5){border-left-color:#bbf7d0}.sop-section-head{background:linear-gradient(90deg,#f8f9fb,#fff)}.step-console{padding-left:16px;border-left:1px dashed #bacefd}.process-step{position:relative}.process-step:before{content:"";position:absolute;left:-21px;top:20px;width:10px;height:1px;background:#bacefd}.human-input-box,.yesno-box,.content-review-box,.file-review-box,.step-error-box{margin-left:32px;border:1px solid #e0f2fe}.task-detail-tab{display:grid;gap:12px}.task-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.task-detail-card{display:grid;gap:10px;align-content:start;padding:14px;border:1px solid #dfe6ef;border-radius:12px;background:#fff}.task-detail-card.wide{grid-column:1 / -1}.task-detail-card p{color:#565c66;font-size:13px;line-height:1.6}.task-kv-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.task-kv-grid div{padding:10px;border-radius:9px;background:#f8f9fb}.task-kv-grid span{display:block;margin-bottom:4px;color:#646a73;font-size:11px}.task-kv-grid strong{color:#1f2329;font-size:13px}.detail-tag-list{display:flex;flex-wrap:wrap;gap:8px}.detail-tag-list span{border-radius:999px;background:#f0f4ff;color:#245bdb;padding:5px 9px;font-size:12px}.detail-rule-list{display:grid;gap:8px;margin:0;padding-left:18px;color:#565c66;font-size:13px}.task-node-map{display:grid;gap:8px}.task-node-map button{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:10px;align-items:start;border:1px solid #e2e8f0;border-radius:10px;background:#fff;padding:10px;text-align:left}.task-node-map button.active{border-color:#99f6e4;background:#ecfdf5}.task-node-map button>span{width:24px;height:24px;display:grid;place-items:center;border-radius:8px;background:#e1eaff;color:#245bdb;font-weight:800}.task-node-map p,.task-node-map small{display:block;margin-top:4px;color:#646a73;font-size:12px;line-height:1.45}@media(max-width:1280px){.execution-panel .work-surface{grid-template-columns:220px minmax(0,1fr)}.task-kv-grid,.task-detail-grid{grid-template-columns:1fr}}.execution-panel .center-scroll{display:flex;flex-direction:column;overflow:hidden}.execution-panel .work-surface{flex:1;min-height:0;overflow:hidden}.execution-panel .node-rail,.execution-panel .sop-node-detail{min-height:0;max-height:100%;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin}.execution-panel .sop-node-detail{padding-right:2px}.execution-panel .node-step,.execution-panel .node-copy,.execution-panel .node-title-row,.execution-panel .node-copy .node-meta-line{min-width:0}.execution-panel .node-copy .node-meta-line{display:flex!important;align-items:center;flex-wrap:wrap;gap:3px 6px;margin-top:5px}.execution-panel .node-copy .node-meta-line span{min-width:0;overflow:visible;white-space:nowrap;text-overflow:clip;line-height:1.35;word-break:keep-all;display:inline!important;grid-column:auto!important}.execution-panel .node-copy .node-meta-line b{display:inline-block;width:auto;height:auto;min-width:0;margin:0;padding:0;color:#646a73;font-size:11px;font-weight:500;line-height:1.35;white-space:nowrap;word-break:keep-all;writing-mode:horizontal-tb}.execution-panel .node-copy .node-meta-line b+b:before{content:"·";margin-right:6px;color:#cbd5e1}.execution-panel .artifact-strip{flex:0 0 auto}.node-input-stack{display:grid;gap:12px}.input-group{display:grid;gap:8px}.input-group>header{display:grid;gap:3px}.input-group>header strong{color:#1f2329;font-size:13px}.input-group>header span{color:#646a73;font-size:12px;line-height:1.45}.input-group>div{display:grid;grid-template-columns:1fr;gap:8px}.rich-input-grid .input-source-card,.node-input-stack .input-source-card{display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;align-items:start;padding:10px 12px;border:1px solid #e6edf5;border-radius:10px;background:#fff}.node-input-stack .input-source-card>span{width:24px;height:24px;display:inline-grid;place-items:center;border-radius:8px;background:#e0f2fe;color:#0369a1;font-size:12px;font-weight:800;line-height:1;margin-top:2px}.node-input-stack .input-source-card>div{min-width:0;display:grid;gap:5px}.input-title-line{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}.input-title-line strong{min-width:0;color:#1f2329;font-size:13px;line-height:1.35}.input-title-line em{border-radius:999px;background:#f0f4ff;color:#245bdb;padding:2px 7px;font-size:10px;font-style:normal;white-space:nowrap}.input-source-card button{min-height:28px;display:inline-flex;align-items:center;gap:6px;margin-top:8px;border:1px solid #dee0e3;border-radius:8px;background:#fff;color:#41464e;padding:0 9px;font-size:12px;justify-self:start}.input-source-card p{margin:0;color:#41464e;font-size:13px;line-height:1.45;white-space:normal;overflow:visible;text-overflow:clip}.input-source-card.email{border-color:#bacefd;background:#f8fbff}.input-source-card.file{border-color:#bbf7d0;background:#f7fef9}.process-step-head{width:100%;border:0;background:transparent;padding:0;text-align:left;align-items:start}.process-step-head>div{text-align:left;justify-self:stretch;min-width:0}.process-step-head>div strong,.process-step-head>div p{text-align:left}.process-step.done{background:#f8f9fb;border-color:#e2e8f0}.process-step.done .process-step-head>span{background:#e2e8f0;color:#646a73}.process-step.done .process-step-head strong,.process-step.done .process-step-head p{color:#646a73}.process-step.waiting,.process-step.waiting.active{border-color:#fdba74;background:#fff7ed;box-shadow:inset 3px 0 #f97316}.process-step.waiting .step-badge.waiting{background:#fed7aa;color:#9a3412}.step-expanded{display:grid;gap:10px;padding-top:8px;border-top:1px dashed #dee0e3}.step-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.step-info-box{display:grid;gap:6px;align-content:start;padding:9px;border:1px solid #e6edf5;border-radius:9px;background:#fff}.step-info-box strong{font-size:12px}.step-info-box p{margin:0;color:#565c66;font-size:12px;line-height:1.5}.step-info-box button,.preview-popover header button{min-height:28px;display:inline-flex;align-items:center;gap:6px;border:1px solid #dee0e3;border-radius:8px;background:#fff;color:#41464e;padding:0 9px;font-size:12px}.process-step.waiting .human-input-box,.process-step.waiting .yesno-box{border-color:#fb923c;background:#ffedd5}.process-step.waiting .human-input-box input{border-color:#fb923c;background:#fff7ed}.process-step.waiting .human-input-box button,.process-step.waiting .yesno-box button,.process-step.waiting .file-review-box button{border-color:#f97316;background:#f97316;color:#fff;font-weight:800}.validation-checklist{display:grid;grid-template-columns:220px minmax(0,1fr) 160px;gap:10px;align-items:start}.validator-card,.validation-actions{display:grid;gap:6px;padding:10px;border:1px solid #e6edf5;border-radius:9px;background:#fbfdff}.validator-card span,.validation-actions span{color:#646a73;font-size:11px}.validator-card p{color:#565c66;font-size:12px;line-height:1.5}.validation-items{display:grid;gap:8px}.validation-items article{display:grid;grid-template-columns:24px minmax(0,1fr) 22px;gap:8px;align-items:center;padding:9px;border:1px solid #e6edf5;border-radius:9px;background:#fff}.validation-items article>span{width:22px;height:22px;display:grid;place-items:center;border-radius:999px;background:#e0f2fe;color:#0369a1;font-weight:800;font-size:11px}.validation-items article.passed{border-color:#bbf7d0;background:#f0fdf4}.validation-items article.passed svg{color:#16a34a}.validation-items article.blocked svg{color:#f97316}.validation-actions .primary-action:disabled{border-color:#e2e8f0;background:#f1f5f9;color:#8f959e;cursor:not-allowed}.ai-rule-list{display:grid;gap:8px}.ai-rule-list article{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:10px;padding:10px;border:1px solid #fde68a;border-left:3px solid #f59e0b;border-radius:9px;background:#fffbeb}.ai-rule-list article.muted{border-color:#e2e8f0;border-left-color:#cbd5e1;background:#f8f9fb;opacity:.78}.rule-dot{width:7px;height:7px;margin-top:7px;border-radius:999px;background:#f59e0b}.ai-rule-list article.muted .rule-dot{background:#8f959e}.rule-title-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.rule-title-line span{border-radius:999px;background:#fef3c7;color:#b45309;padding:2px 7px;font-size:11px}.ai-rule-list p,.ai-rule-list small{display:block;margin-top:4px;color:#646a73;font-size:12px}.rule-actions{display:flex;align-items:center;gap:6px}.rule-actions button:first-child{border-color:#86efac;background:#dcfce7;color:#166534}.rule-actions button:nth-child(2){border-color:#e2e8f0;background:#fff;color:#565c66}.preview-popover header>div{display:flex;gap:8px}@media(max-width:1280px){.validation-checklist,.step-detail-grid{grid-template-columns:1fr}}.sop-ai-empty-log{color:#646a73;font-size:12px}.sop-ai-log-shell{border:1px solid #dee0e3;border-radius:10px;background:#f3f5f8;padding:10px}.sop-ai-log-list{display:grid;align-content:start;gap:6px;overflow:visible;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:12px;text-align:left}.sop-ai-log-line{width:100%;display:grid;grid-template-columns:max-content minmax(0,1fr) 18px;gap:8px;align-items:center;justify-content:flex-start;border:1px solid #e2e8f0;border-radius:6px;background:#fff;padding:6px 8px;color:#41464e;text-align:left}.process-step .sop-ai-log-line{display:grid!important;justify-content:flex-start!important;text-align:left!important}.sop-ai-log-line:hover{background:#f8f9fb}.sop-ai-log-time{color:#565c66;white-space:nowrap;text-align:left;align-self:center}.sop-ai-log-source{display:inline;margin-right:6px;color:#3370ff;white-space:nowrap;text-align:left}.sop-ai-log-source.warning{color:#b45309}.sop-ai-log-source.error{color:#dc2626}.sop-ai-log-main{min-width:0;display:-webkit-box;overflow:hidden;color:#565c66;line-height:1.45;text-align:left;-webkit-box-orient:vertical;-webkit-line-clamp:3}.sop-ai-log-message{display:inline;color:#565c66;word-break:normal;overflow-wrap:anywhere;text-align:left}.sop-ai-log-message b{color:#41464e;font-weight:700}.sop-ai-log-duration{display:inline-flex;align-items:center;margin-left:6px;border-radius:999px;background:#e2e8f0;color:#41464e;padding:1px 7px;font-size:10px;white-space:nowrap;vertical-align:1px}.sop-ai-log-line svg{color:#646a73;transition:transform .15s ease;justify-self:end;align-self:center}.sop-ai-log-line svg.open{transform:rotate(180deg)}.sop-ai-log-detail{display:grid;gap:8px;margin:6px 6px 10px 0;padding-left:0;text-align:left}.sop-ai-json-viewer{border:1px solid #dee0e3;border-radius:8px;background:#fff;color:#41464e;font-size:11px;line-height:1.55;overflow:auto;max-height:360px;word-break:break-word}.sop-ai-json-head{display:flex;align-items:center;gap:5px;border-bottom:1px solid #e2e8f0;background:#f8f9fb;color:#646a73;padding:6px 9px;font-size:10px;font-weight:800;letter-spacing:0}.sop-ai-json-body{padding:9px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;white-space:pre-wrap}.json-node,.json-line{display:block;text-align:left}.json-toggle{width:18px;min-height:18px!important;display:inline-flex!important;align-items:center;justify-content:center;margin:0 2px 0 0;border:0!important;background:transparent!important;color:#646a73!important;padding:0!important;vertical-align:middle}.json-children{display:block;margin:2px 0 2px 18px;padding-left:10px;border-left:1px solid #e2e8f0}.json-key{color:#3370ff}.json-string{color:#047857}.json-number{color:#b45309}.json-boolean{color:#7c3aed}.json-null,.json-muted,.json-comma{color:#8f959e}.json-bracket{color:#646a73}.sop-ai-feedback-panel{display:grid;gap:8px;border:1px solid #fdba74;border-radius:9px;background:#fff7ed;padding:10px}.sop-ai-feedback-panel strong{color:#9a3412;font-size:13px}.sop-ai-feedback-panel p{margin:0;color:#7c2d12;font-size:12px;line-height:1.5}.sop-ai-feedback-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}.sop-ai-feedback-fields label{display:grid;gap:4px;color:#9a3412;font-size:11px;font-weight:700}.sop-ai-feedback-fields input{min-height:30px;border:1px solid #fdba74;border-radius:7px;background:#fff;color:#1f2329;padding:0 8px;font-size:12px}.sop-ai-feedback-actions{display:flex;gap:8px;flex-wrap:wrap}.sop-ai-feedback-actions button:first-child{border-color:#f97316;background:#f97316;color:#fff}.sop-ai-feedback-actions button:not(:first-child){border-color:#fdba74;background:#fff;color:#9a3412}.sop-ai-log-detail button{justify-self:start;min-height:28px;border:1px solid #bacefd;border-radius:8px;background:#f0f4ff;color:#245bdb;padding:0 9px;font-size:12px;text-align:left}.step-console,.step-console-head,.process-step,.process-step-head,.process-step-head>div,.process-step-head strong,.process-step-head p,.step-expanded,.step-detail-grid,.step-info-box,.step-info-box p{text-align:left}.step-result-panel{width:100%;display:grid;gap:8px;padding:12px;border:1px solid #bacefd;border-radius:10px;background:#f0f4ff}.step-result-panel.feedback-required{border-color:#fdba74;background:#fff7ed}.step-result-panel>strong{color:#1e3a8a;font-size:13px}.step-result-panel.feedback-required>strong{color:#9a3412}.step-result-panel p{margin:0;color:#1f2329;font-size:13px;line-height:1.55}.step-result-assets{display:flex;gap:8px;flex-wrap:wrap}.step-result-assets button{min-height:30px;display:inline-flex;align-items:center;gap:6px;border:1px solid #82a7fc;border-radius:8px;background:#fff;color:#245bdb;padding:0 10px;font-size:12px;font-weight:700}.step-result-feedback{display:grid;gap:8px;padding:10px;border:1px solid #fdba74;border-radius:9px;background:#fff}.step-result-feedback strong{color:#9a3412;font-size:13px}.step-result-feedback p{margin:3px 0 0;color:#7c2d12;font-size:12px;line-height:1.5}.step-output-json{width:100%;display:grid;gap:8px}.step-output-json>button{justify-self:start;min-height:28px;display:inline-flex;align-items:center;gap:5px;border:1px solid #dee0e3;border-radius:8px;background:#fff;color:#41464e;padding:0 10px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:12px}.process-step-head{justify-items:start}.process-step .step-expanded{margin-left:32px;padding-left:12px;border-left:1px dashed #dee0e3}.process-step .process-step-head{width:100%;display:grid!important;grid-template-columns:24px minmax(0,1fr) auto 16px;align-items:center;justify-content:stretch!important;justify-items:start;text-align:left!important}.process-step .process-step-head>span,.process-step .process-step-head>div,.process-step .process-step-head>em,.process-step .process-step-head>svg{justify-self:start}.node-goal-summary{margin:3px 0 0;color:#646a73;font-size:12px;line-height:1.45}.node-input-stack .input-source-card{width:100%;border:1px solid #e6edf5;background:#fff;color:inherit;font:inherit;text-align:left;cursor:pointer;transition:border-color .14s ease,background .14s ease,box-shadow .14s ease}.node-input-stack .input-source-card:hover{border-color:#82a7fc;background:#f8fbff;box-shadow:0 4px 14px #1c4cba14}.node-input-stack .input-source-card.file:hover{border-color:#86efac;background:#f7fef9}.input-title-line strong{text-decoration:none}.input-source-card.file .input-title-line strong{color:#245bdb}.input-source-card:hover .input-title-line strong{text-decoration:underline;text-underline-offset:3px}.input-row-hint{display:inline-flex;align-items:center;gap:5px;color:#646a73;font-size:11px;line-height:1.2}.ai-supplement-box{display:grid;gap:8px;padding-top:8px;border-top:1px dashed #fed7aa}.ai-supplement-box label{display:grid;gap:5px;color:#9a3412;font-size:11px;font-weight:800}.ai-supplement-box textarea{min-height:64px;resize:vertical;border:1px solid #fdba74;border-radius:8px;background:#fff7ed;color:#1f2329;padding:8px;font:inherit;font-size:12px;line-height:1.45}.ai-supplement-files{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.ai-supplement-files label,.ai-supplement-files button,.ai-supplement-files span{min-height:28px;display:inline-flex;align-items:center;gap:6px;border:1px solid #fdba74;border-radius:8px;background:#fff;color:#9a3412;padding:0 9px;font-size:12px;font-weight:700}.ai-supplement-files label{cursor:pointer}.ai-supplement-files input{display:none}.ai-supplement-files button{border-color:#f97316;background:#f97316;color:#fff}.ai-supplement-files>button:not(.ai-supplement-submit){display:none}.step-feedback-state{display:flex;align-items:center;gap:8px;border:1px solid #bbf7d0;border-radius:8px;background:#f0fdf4;color:#166534;padding:8px 10px;font-size:12px}.step-feedback-state strong{min-width:max-content;color:#047857;font-size:12px}.step-feedback-state span{color:#166534;line-height:1.4}.human-feedback-record{display:grid;gap:8px;border:1px solid #bbf7d0;border-radius:9px;background:#f0fdf4;padding:10px}.human-feedback-record>div:first-child{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.human-feedback-record span{display:inline-flex;align-items:center;min-height:22px;border-radius:999px;background:#dcfce7;color:#047857;padding:0 8px;font-size:11px;font-weight:900}.human-feedback-record strong{color:#064e3b;font-size:13px}.human-feedback-record p{white-space:pre-wrap;color:#14532d;font-size:12px;line-height:1.5}.human-feedback-record>div:last-child{display:flex;gap:7px;flex-wrap:wrap}.human-feedback-record button{min-height:28px;display:inline-flex;align-items:center;gap:5px;border:1px solid #86efac;border-radius:8px;background:#fff;color:#047857;padding:0 9px;font-size:12px;font-weight:800}.manual-feedback-editor{display:grid;gap:8px;border:1px solid #fdba74;border-radius:9px;background:#fff7ed;padding:10px}.manual-feedback-editor>strong{color:#9a3412;font-size:13px}.manual-feedback-editor textarea{min-height:76px;resize:vertical;border:1px solid #fdba74;border-radius:8px;background:#fff;color:#1f2329;padding:8px;font:inherit;font-size:12px;line-height:1.45}.manual-feedback-editor label{width:max-content;min-height:28px;display:inline-flex;align-items:center;gap:6px;border:1px solid #fdba74;border-radius:8px;background:#fff;color:#9a3412;padding:0 9px;font-size:12px;font-weight:800;cursor:pointer}.manual-feedback-editor input{display:none}.manual-feedback-editor>p{color:#7c2d12;font-size:12px}.manual-feedback-editor>div{display:flex;gap:8px;flex-wrap:wrap}.manual-feedback-editor button{min-height:28px;border:1px solid #fdba74;border-radius:8px;background:#fff;color:#9a3412;padding:0 10px;font-size:12px;font-weight:800}.manual-feedback-editor button:first-child{border-color:#f97316;background:#f97316;color:#fff}.node-output-summary{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) minmax(0,1fr);gap:10px;margin-bottom:10px}.node-output-card{display:grid;gap:8px;align-content:start;min-width:0;border:1px solid #dee0e3;border-radius:10px;background:#fff;padding:11px}.node-output-card.conclusion{border-color:#bacefd;background:#f0f4ff}.node-output-card>span{color:#646a73;font-size:11px;font-weight:800}.node-output-card strong{color:#1f2329;font-size:13px;line-height:1.45}.node-output-card p,.node-output-card li{color:#565c66;font-size:12px;line-height:1.5}.node-output-feedback-list{display:grid;gap:7px}.node-output-feedback-list button{width:100%;min-height:30px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#41464e;padding:7px 9px;font-size:12px;line-height:1.45;text-align:left}.node-output-feedback-list button:hover{border-color:#82a7fc;background:#f8fbff;color:#245bdb}.node-output-files{display:flex;gap:7px;flex-wrap:wrap}.node-output-files button{min-height:28px;border:1px solid #bacefd;border-radius:8px;background:#f0f4ff;color:#245bdb;padding:0 9px;font-size:12px;font-weight:700}.ai-rule-list{grid-template-columns:repeat(3,minmax(180px,1fr));align-items:stretch;overflow-x:auto;padding-bottom:2px}.ai-rule-list article{grid-template-columns:minmax(0,1fr)!important;gap:10px!important;align-content:start;min-height:150px;padding:12px!important;border-left-width:1px!important}.ai-rule-list .rule-dot{display:none}.ai-rule-list .rule-title-line{align-items:flex-start}.ai-rule-list .rule-title-line strong{font-size:14px;line-height:1.35}.ai-rule-list p,.ai-rule-list small,.ai-rule-list em{font-size:11px;line-height:1.45}.ai-rule-list .rule-actions{margin-top:auto;justify-content:flex-start}.ai-rule-list .rule-actions button{min-height:28px;border-radius:8px;padding:0 10px;font-size:12px;font-weight:800}.ai-rule-list .rule-actions button:first-child{border-color:#f97316;background:#f97316;color:#fff}.ai-rule-list .rule-actions button:nth-child(2){border-color:#fdba74;background:#fff;color:#9a3412}.ai-rule-list article.rule-decided{background:#f8f9fb!important}.ai-rule-list article.rule-decided .rule-actions button{display:none}.ai-rule-list article.rule-decided em{width:max-content;display:inline-flex;align-items:center;min-height:24px;margin-top:4px;border:1px solid #bbf7d0;border-radius:999px;background:#f0fdf4;color:#047857;padding:0 9px;font-style:normal;font-weight:800}@media(max-width:1280px){.node-output-summary{grid-template-columns:1fr}}:root{--jcai-bg: #f3f5f8;--jcai-surface: #ffffff;--jcai-surface-soft: #f8f9fb;--jcai-surface-muted: #f5f7fa;--jcai-border: #dee0e3;--jcai-border-soft: #e8eaed;--jcai-text: #1f2329;--jcai-muted: #646a73;--jcai-primary: #3370ff;--jcai-primary-soft: #f0f4ff;--jcai-warning: #f97316;--jcai-warning-soft: #fff7ed;--jcai-success-soft: #f0fdf4;--jcai-shadow-1: 0 1px 2px rgba(15, 23, 42, .05);--jcai-shadow-2: 0 10px 28px rgba(15, 23, 42, .08)}body,.app-body,.workspace{background:var(--jcai-bg)}.topbar{border-bottom-color:var(--jcai-border);background:#fffffff5}.top-search{border-color:var(--jcai-border);background:var(--jcai-surface-soft)}.app-nav{border-right-color:var(--jcai-border);background:#f7f9fc}.app-nav button.active{border-color:#c7d7f2;background:#eaf0ff;box-shadow:inset 0 0 0 1px #3370ff14}.task-sidebar,.execution-panel{background:var(--jcai-surface);border-color:var(--jcai-border);box-shadow:var(--jcai-shadow-1)}.right-chat{background:#f7faff;border-color:#c9d8ee;box-shadow:inset 1px 0 #3370ff14,var(--jcai-shadow-2)}.task-sidebar .sidebar-head,.chat-head,.center-tabs{border-bottom-color:var(--jcai-border-soft);background:var(--jcai-surface)}.task-sidebar .filter-panel,.status-filter-row,.task-sidebar .task-list,.execution-panel .center-scroll{background:var(--jcai-surface)}.filter-panel,.status-filter-row{border-bottom-color:var(--jcai-border-soft)}.status-filter-row button,.filter-row select,.sort-button,.icon-button,.ghost-action,.secondary-action,.control-field,.control-field select{border-color:var(--jcai-border);background:var(--jcai-surface);color:#41464e;box-shadow:none}.status-filter-row button.active{border-color:#b7c9ed;background:var(--jcai-primary-soft);color:#1c4cba;box-shadow:inset 0 0 0 1px #3370ff14}.status-filter-row button.active strong{background:var(--jcai-primary);color:#fff}.task-sidebar .task-card{border-color:var(--jcai-border);background:var(--jcai-surface);box-shadow:none;transform:none}.task-sidebar .task-card:before{display:none}.task-sidebar .task-card:hover{border-color:#b8c6d8;background:#fbfcfe;box-shadow:var(--jcai-shadow-1);transform:none}.task-sidebar .task-card.selected{border-color:var(--jcai-primary);background:#f8fbff;box-shadow:inset 0 0 0 1px #3370ff2e,0 8px 22px #1f232914;transform:none}.task-sidebar .task-card.selected:before{display:none}.task-sidebar .task-card h3,.task-sidebar .task-card.selected h3,.node-title-row h3,.sop-section-head,.process-step-head strong{color:var(--jcai-text)}.progress-line,.mini-progress{background:#e7edf5}.progress-line span,.mini-progress i{background:var(--jcai-primary)}.task-hero{border:1px solid var(--jcai-border)!important;border-top-color:var(--jcai-border)!important;background:var(--jcai-surface);box-shadow:var(--jcai-shadow-1)}.hero-kicker em{border:1px solid #d6e3f7;border-radius:999px;background:var(--jcai-primary-soft);color:#245bdb;padding:2px 7px;font-style:normal}.center-tabs button{color:var(--jcai-muted)}.center-tabs button.active{color:var(--jcai-primary);border-bottom-color:var(--jcai-primary);background:transparent}.work-surface{background:var(--jcai-surface)}.node-rail{border-right:1px solid var(--jcai-border-soft);padding-right:12px}.node-detail{padding-left:2px}.execution-panel .node-step{border-color:var(--jcai-border);background:var(--jcai-surface);box-shadow:none}.execution-panel .node-step:hover{border-color:#b8c6d8;background:#fbfcfe}.execution-panel .node-step.active{border-color:#b8c6d8;background:#fbfcfe;box-shadow:inset 0 0 0 1px #1f23290d,var(--jcai-shadow-1);transform:none!important}.execution-panel .node-step.active:before{display:none}.execution-panel .node-step.active .node-index,.node-index{background:#eaf0ff;color:var(--jcai-primary)}.node-complete-mark{background:var(--jcai-success-soft)}.node-toolbar,.node-block-alert,.artifact-strip{border-color:var(--jcai-border);background:var(--jcai-surface);box-shadow:var(--jcai-shadow-1)}.sop-section{overflow:hidden;border:1px solid var(--jcai-border)!important;border-left-width:1px!important;border-left-color:var(--jcai-border)!important;border-radius:12px;background:var(--jcai-surface);box-shadow:var(--jcai-shadow-1)}.sop-section:nth-of-type(3),.sop-section:nth-of-type(4),.sop-section:nth-of-type(5){border-left-color:var(--jcai-border)!important}.sop-section-head{background:var(--jcai-surface-soft)!important;border-bottom:1px solid var(--jcai-border-soft)}.sop-section-body{background:var(--jcai-surface)}.input-group,.input-source-card,.node-output-card,.validator-card,.validation-items article,.task-detail-card,.workspace-card,.workspace-wide{border-color:var(--jcai-border);background:var(--jcai-surface);box-shadow:none}.input-group header,.step-console-head{border-bottom-color:var(--jcai-border-soft)}.input-source-card:hover,.node-output-feedback-list button:hover{border-color:#b8c6d8;background:#fbfcfe;box-shadow:var(--jcai-shadow-1)}.node-output-card.conclusion,.step-result-panel{border-color:var(--jcai-border);background:#f8fbff}.step-console{border-left:1px solid var(--jcai-border-soft)!important;padding-left:18px}.process-step:before{background:var(--jcai-border-soft)!important}.process-step{border-color:var(--jcai-border)!important;background:var(--jcai-surface)!important;box-shadow:none!important}.process-step.done{background:#fbfcfe!important}.process-step.waiting,.process-step.waiting.active{border-color:#fdba74!important;background:var(--jcai-warning-soft)!important;box-shadow:none!important}.process-step.active:not(.waiting){border-color:#cbd7e6!important;background:#fbfcfe!important}.process-step .step-expanded{border-left:1px solid var(--jcai-border-soft)!important}.process-step-head{background:transparent!important}.step-result-panel{border-width:1px!important;box-shadow:none!important}.step-result-panel.feedback-required,.step-result-feedback,.manual-feedback-editor,.sop-ai-feedback-panel{border-color:#fdba74!important;background:var(--jcai-warning-soft)!important;box-shadow:none!important}.step-result-feedback,.manual-feedback-editor{border-width:1px!important}.sop-ai-log-shell{border-color:var(--jcai-border);background:var(--jcai-surface-muted)}.sop-ai-log-line{border-color:var(--jcai-border);background:var(--jcai-surface)}.sop-ai-log-line:hover{background:#fbfcfe}.sop-ai-log-duration{background:#e6edf5}.sop-ai-json-viewer,.sop-ai-json-head{border-color:var(--jcai-border)}.sop-ai-json-head{background:var(--jcai-surface-soft)}.validation-checklist{border-color:var(--jcai-border);background:var(--jcai-surface)}.validation-items article.passed{background:#f7fef9}.validation-items article.blocked{background:var(--jcai-warning-soft)}.ai-rule-list article{border-color:var(--jcai-border)!important;background:var(--jcai-surface)!important;box-shadow:var(--jcai-shadow-1)}.ai-rule-list article.warning,.ai-rule-list article.strong{border-color:#f8cf94!important;background:#fffbf5!important}.ai-rule-list article.rule-decided{border-color:var(--jcai-border)!important;background:#fbfcfe!important}.ai-rule-list .rule-actions button{border-color:var(--jcai-border);background:var(--jcai-surface);color:#41464e;box-shadow:none}.ai-rule-list .rule-actions button:first-child{border-color:var(--jcai-primary);background:var(--jcai-primary);color:#fff}.ai-rule-list .rule-actions button:nth-child(2){border-color:var(--jcai-border);background:var(--jcai-surface);color:#41464e}.context-card,.message-bubble,.chat-action-card{border-color:#d6e3f7;background:#fff;box-shadow:var(--jcai-shadow-1)}.chat-input-area,.chat-input{border-color:#d6e3f7;background:#f8fbff}.preview-popover>div,.search-popover{border-color:var(--jcai-border);box-shadow:0 24px 72px #1f23292e}.workspace{--jcai-ai-chat-width: calc(360px + 10vw) ;grid-template-columns:310px minmax(620px,1fr) var(--jcai-ai-chat-width);height:100%;min-height:0;overflow:hidden}.workspace.left-collapsed{grid-template-columns:52px minmax(760px,1fr) var(--jcai-ai-chat-width)}.workspace.chat-collapsed{grid-template-columns:310px minmax(760px,1fr) 52px}.workspace.left-collapsed.chat-collapsed{grid-template-columns:52px minmax(900px,1fr) 52px}.execution-panel .task-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px}.execution-panel .hero-main h2,.execution-panel .hero-main p{overflow:visible;white-space:normal;text-overflow:clip}.execution-panel .hero-main p{max-width:none;line-height:1.45}.execution-panel .hero-actions{min-width:240px;display:grid;grid-template-columns:1fr;justify-items:end;gap:8px}.execution-panel .hero-actions>.primary-action,.execution-panel .hero-actions>.secondary-action{width:240px;justify-self:end;justify-content:center}.hero-control-row{width:240px;display:flex;flex-direction:column;justify-content:flex-end;gap:8px}.hero-control-row .control-field{width:100%;min-width:0}.center-tabs button{flex:0 0 auto}.execution-panel .center-scroll:has(.work-surface){overflow:hidden}.execution-panel .task-detail-tab{min-height:0;padding-bottom:18px}.status-filter-row{flex-wrap:wrap;overflow:visible;min-height:0;height:auto;max-height:none;scrollbar-width:auto}.status-filter-row::-webkit-scrollbar{display:none}.node-toolbar-actions{align-self:start}.node-toolbar .node-goal-summary{max-width:none}.step-result-feedback.feedback-required{border-width:1px!important;border-color:#fb923c!important;background:#fff7ed!important;box-shadow:inset 0 0 0 1px #f973161f!important}.execution-panel .center-scroll:has(.sop-flow-shell){overflow:hidden}.sop-flow-shell{position:relative;height:100%;min-height:0;overflow:hidden;border-top:1px solid var(--jcai-border-soft);background:#f7f9fc}.sop-flow-head{display:flex;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--jcai-border);background:#ffffffeb}.sop-flow-head span{color:var(--jcai-primary);font-size:12px;font-weight:800}.sop-flow-head h3{margin:2px 0 3px;color:var(--jcai-text);font-size:15px}.sop-flow-head p{max-width:920px;margin:0;color:var(--jcai-muted);font-size:12px;line-height:1.45}.flow-legend{display:flex;align-items:center;gap:8px;white-space:nowrap;color:#646a73;font-size:12px}.flow-legend i{width:9px;height:9px;border-radius:999px}.flow-legend .done{background:#22c55e}.flow-legend .running{background:#3370ff}.flow-legend .blocked{background:#f97316}.flow-legend .pending{background:#8f959e}.sop-flow-shell .react-flow{height:100%}.sop-flow-shell.drawer-open .react-flow{width:100%}.sop-flow-node{width:300px;min-height:64px;padding:8px;border:1px solid #d8e2ee;border-radius:12px;background:#fff;box-shadow:0 8px 22px #1f23290f;color:#1f2329;cursor:pointer}.sop-flow-node.trigger{border-color:#c4b5fd;background:#fbfaff}.sop-flow-node.active{border-color:#3370ff;box-shadow:inset 0 0 0 2px #3370ff3d,0 14px 34px #3370ff2e}.sop-flow-node.gate{border-style:dashed;border-color:#f59e0b;background:#fffaf0}.sop-flow-node.completed{border-top:4px solid #22c55e}.sop-flow-node.running{border-top:4px solid #3370ff}.sop-flow-node.human_input,.sop-flow-node.event_waiting,.sop-flow-node.permission_waiting{border-top:4px solid #f97316}.sop-flow-node.risk{border-top:4px solid #ef4444}.sop-flow-node.pending{border-top:4px solid #8f959e}.flow-node-title{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:6px}.flow-node-title>span{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:22px;padding:0 6px;border-radius:8px;background:#eaf0ff;color:var(--jcai-primary);font-weight:800}.flow-node-title strong{color:#1f2329;font-size:12.5px;line-height:1.25;white-space:normal;word-break:break-word}.sop-flow-node p,.sop-flow-node li,.flow-node-state{font-size:12px;line-height:1.35}.sop-flow-node p{display:-webkit-box;min-height:0;margin:5px 0;overflow:hidden;color:#565c66;-webkit-box-orient:vertical;-webkit-line-clamp:1}.flow-node-state{display:flex;align-items:center;justify-content:flex-start;gap:8px;margin-bottom:0;color:#646a73}.flow-node-flags{display:flex;align-items:center;gap:6px;margin-top:5px}.flow-node-flags em{padding:2px 7px;border-radius:999px;background:#fff7ed;color:#c2410c;font-size:11px;font-style:normal;font-weight:800}.source-edge-label{position:absolute;padding:1px 6px;border-radius:6px;background:#f8f9fbf0;color:#41464e;font-size:11px;font-weight:800;line-height:16px;pointer-events:none;white-space:nowrap}.sop-node-drawer{position:fixed;top:0;left:0;bottom:0;z-index:120;display:flex;flex-direction:column;width:40vw;height:100vh;border:0;border-right:1px solid #c9d8ee;border-radius:0;background:#fff;box-shadow:24px 0 60px #1f23292e;overflow:hidden}.compact-input-list,.node-input-panel{display:grid;gap:12px}.node-input-brief{display:grid;gap:10px;border:1px solid var(--jcai-border);border-radius:12px;background:#f8fbff;padding:12px}.node-input-brief header{display:flex;align-items:center;justify-content:space-between;gap:8px}.node-input-brief header span{color:#646a73;font-size:12px;font-weight:800}.node-input-brief header strong{border-radius:999px;background:#eaf0ff;color:var(--jcai-primary);padding:2px 8px;font-size:12px}.node-input-brief p{margin:0;color:#41464e;font-size:13px;line-height:1.6}.node-input-brief dl{display:grid;gap:6px;margin:0}.node-input-brief dl>div{display:grid;grid-template-columns:84px minmax(0,1fr);gap:8px;align-items:start}.node-input-brief dt{color:#646a73;font-size:12px;font-weight:800}.node-input-brief dd{min-width:0;margin:0;color:#1f2329;font-size:13px;line-height:1.45;overflow-wrap:anywhere}.node-input-reference-row{display:flex;gap:8px;flex-wrap:wrap}.node-input-reference-row button{min-height:30px;border:1px solid #bacefd;border-radius:8px;background:#fff;color:#245bdb;padding:0 10px;font-size:12px;font-weight:800}.compact-input-list>div{display:grid;gap:6px}.compact-input-list>div>span{color:#646a73;font-size:12px;font-weight:800}.compact-input-item{width:100%;min-height:36px;display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:8px;border:1px solid var(--jcai-border);border-radius:9px;background:#fff;color:#1f2329;padding:7px 9px;font:inherit;text-align:left;cursor:pointer}.compact-input-item:hover{border-color:#b8c6d8;background:#fbfcfe;box-shadow:var(--jcai-shadow-1)}.compact-input-item>span{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:7px;background:#eaf0ff;color:var(--jcai-primary);font-size:12px;font-weight:800}.compact-input-item strong{min-width:0;overflow:hidden;color:#1f2329;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.compact-input-item em{border-radius:999px;background:#f1f5f9;color:#646a73;padding:2px 7px;font-size:11px;font-style:normal;font-weight:800}.compact-input-item.file em{background:#f0f4ff;color:#245bdb}.compact-input-item.email em{background:#f0fdf4;color:#047857}.compact-input-item.rule em{background:#fff7ed;color:#c2410c}.preview-popover{z-index:180}.preview-popover>div{width:min(980px,calc(100vw - 72px))}.file-preview-plain{overflow:auto;margin:0;padding:16px;white-space:pre-wrap;color:#1f2329;font-size:13px;line-height:1.6}.file-preview-table,.file-preview-sheet,.file-preview-email,.file-preview-doc,.file-preview-ppt,.file-preview-md,.file-preview-pdf{min-height:0;overflow:auto;padding:16px}.file-preview-table table,.file-preview-sheet table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--jcai-border);border-radius:10px;overflow:hidden;font-size:12px}.file-preview-table th,.file-preview-table td,.file-preview-sheet th,.file-preview-sheet td{border-right:1px solid #e6edf5;border-bottom:1px solid #e6edf5;padding:8px 10px;text-align:left;vertical-align:top}.file-preview-table th,.file-preview-sheet th{background:#f8f9fb;color:#41464e;font-weight:900}.file-preview-table td,.file-preview-sheet td{color:#1f2329;line-height:1.45}.sheet-toolbar,.pdf-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;border:1px solid var(--jcai-border);border-radius:9px;background:#f8f9fb;padding:8px 10px;color:#646a73;font-size:12px}.sheet-toolbar strong,.pdf-toolbar strong{color:#245bdb}.file-preview-email{display:grid;gap:12px;background:#f8f9fb}.file-preview-email>header,.file-preview-email dl,.file-preview-email section{border:1px solid var(--jcai-border);border-radius:10px;background:#fff;padding:12px}.file-preview-email>header{display:grid;justify-content:stretch;gap:4px}.file-preview-email>header span,.file-preview-email dt{color:#646a73;font-size:12px;font-weight:800}.file-preview-email>header strong{color:#1f2329;font-size:18px}.file-preview-email dl{display:grid;gap:6px;margin:0}.file-preview-email dl>div{display:grid;grid-template-columns:64px minmax(0,1fr);gap:8px}.file-preview-email dd{margin:0;color:#1f2329;font-size:13px}.file-preview-email p,.file-preview-doc p,.file-preview-md p,.file-preview-pdf p{margin:0 0 10px;color:#41464e;font-size:13px;line-height:1.65}.file-preview-doc,.file-preview-pdf{background:#f0f2f5}.doc-page,.file-preview-pdf article{max-width:720px;min-height:520px;margin:0 auto;border:1px solid #dee0e3;border-radius:4px;background:#fff;padding:42px 50px;box-shadow:0 12px 34px #1f23291f}.doc-page h2,.file-preview-pdf h2,.file-preview-md h3{margin:0 0 12px;color:#1f2329}.doc-meta{color:#646a73!important;font-size:12px!important}.file-preview-ppt{display:grid;grid-template-columns:180px minmax(0,1fr);gap:14px;background:#f8f9fb}.file-preview-ppt aside{display:grid;gap:8px;align-content:start}.file-preview-ppt aside div{display:grid;grid-template-columns:24px minmax(0,1fr);gap:6px;border:1px solid var(--jcai-border);border-radius:9px;background:#fff;padding:8px}.file-preview-ppt aside div.active{border-color:#82a7fc;background:#f0f4ff}.file-preview-ppt section{min-height:420px;display:grid;align-content:center;border:1px solid #dee0e3;border-radius:12px;background:linear-gradient(135deg,#fff,#f0f4ff);padding:48px}.file-preview-ppt h2{margin:0 0 18px;color:#1f2329;font-size:28px}.file-preview-ppt li{margin:10px 0;color:#41464e;font-size:16px}.file-preview-md{background:#fff}.file-preview-md h3{border-bottom:1px solid #e6edf5;padding-bottom:8px}.file-preview-md .md-list:before{content:"• ";color:#3370ff;font-weight:900}.process-step.feedback-needed,.process-step.feedback-needed.active{border-color:#fb923c!important;background:#fffaf5!important}.process-step.feedback-needed .process-step-head>span{background:#ffedd5;color:#c2410c}.step-result-feedback.feedback-required{padding:12px}.step-result-feedback.feedback-required>div:first-child{display:grid;gap:4px}.step-result-feedback.feedback-required>div:first-child:before{content:"等待人类反馈";justify-self:start;border-radius:999px;background:#ffedd5;color:#c2410c;padding:2px 8px;font-size:11px;font-weight:900}.validation-checklist{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px;align-items:stretch}.node-output-summary{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px;align-items:stretch}.node-output-summary .node-output-card{min-width:0;min-height:0}.node-output-summary .node-output-card.conclusion{grid-column:1 / -1}.node-output-summary .node-output-card.conclusion strong{display:block;max-height:none;overflow:visible;white-space:normal;overflow-wrap:anywhere}.node-output-summary .node-output-files,.node-output-summary .node-output-feedback-list{align-content:start}.node-output-summary .node-output-files{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,max-content));gap:8px}.node-output-summary .node-output-files button{width:fit-content;max-width:100%}.node-output-summary .node-output-feedback-list button{min-height:38px}@media(max-width:1180px){.node-output-summary{grid-template-columns:minmax(0,1fr)!important}.node-output-summary .node-output-card.conclusion{grid-column:auto}}.validator-card{width:100%;display:grid;grid-template-columns:minmax(0,1fr);gap:4px}.validator-card strong,.validator-card p{min-width:0;max-width:none}.validator-card p{margin:0;white-space:normal}.validation-items{width:100%;display:grid;grid-template-columns:minmax(0,1fr);gap:8px}.validation-items article{width:100%;display:grid!important;grid-template-columns:26px minmax(0,1fr) auto!important;gap:8px;align-items:center;min-height:42px}.validation-items article p{min-width:0;margin:0;color:#1f2329;font-size:13px;line-height:1.45;white-space:normal;word-break:normal;overflow-wrap:anywhere}.validation-items article>svg,.validation-items article>button{justify-self:end}.validation-items article.warning{border-color:#fdba74;background:#fff7ed}.validation-items article.failed{border-color:#fecaca;background:#fff1f2}.validation-items article>svg{color:#16a34a}.validation-retry-button{min-height:30px;display:inline-flex;align-items:center;gap:5px;border:1px solid #fdba74;border-radius:8px;background:#fff;color:#c2410c;padding:0 9px;font-size:12px;font-weight:800;white-space:nowrap}.validation-items article.failed .validation-retry-button{border-color:#fecaca;color:#dc2626}.validation-actions{display:none!important}.sop-node-drawer>header{flex:0 0 auto;display:flex;align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid var(--jcai-border-soft);background:#f8f9fb}.sop-node-drawer>header button{width:32px;height:32px;border:1px solid var(--jcai-border);border-radius:9px;background:#fff}.sop-node-drawer>header span{display:block;color:#646a73;font-size:12px}.sop-node-drawer>header strong{color:#1f2329}.sop-node-drawer .node-detail{flex:1 1 auto;min-height:0;height:auto!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden;padding:12px 12px 28px;scrollbar-gutter:stable}.sop-node-drawer .sop-node-detail{display:flex;flex-direction:column;gap:10px}.sop-node-drawer .sop-section{flex:0 0 auto;min-height:auto}.sop-node-drawer .sop-section-body{max-height:none!important;overflow:visible!important}.sop-node-drawer .step-console{max-height:none;overflow:visible}.trigger-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.trigger-detail-grid article{padding:12px;border:1px solid var(--jcai-border);border-radius:12px;background:#f8f9fb}.trigger-detail-grid article.wide{grid-column:1 / -1}.trigger-detail-grid span{display:block;margin-bottom:6px;color:#646a73;font-size:12px;font-weight:700}.trigger-detail-grid strong{color:#1f2329;font-size:14px}.trigger-detail-grid p,.trigger-detail-grid li{margin:6px 0 0;color:#565c66;font-size:13px;line-height:1.55}.trigger-detail-grid ul{margin:0;padding-left:18px}.task-sidebar{border-right:1px solid #bdc8d8!important;box-shadow:inset -1px 0 #8f959e40,0 14px 36px #1f232914}.collapsed-task-panel{min-height:0;width:52px;display:flex;flex-direction:column;border:1px solid #cbd5e1;border-right-color:#b6c2d1;border-radius:12px 0 0 12px;background:#fff;box-shadow:inset -1px 0 #8f959e40,0 14px 36px #1f232914;overflow:hidden}.collapsed-task-panel .side-rail{width:100%;min-height:auto;border:0;border-bottom:1px solid #edf1f6;border-radius:0;box-shadow:none;padding:12px 6px}.collapsed-status-stack{min-height:0;display:grid;gap:6px;align-content:start;overflow:auto;padding:8px 6px}.collapsed-status-stack button{min-height:54px;display:grid;justify-items:center;align-content:center;gap:4px;border:1px solid #e2e8f0;border-radius:10px;background:#f8f9fb;color:#41464e;cursor:pointer}.collapsed-status-stack button:hover{border-color:#bacefd;background:#f0f4ff;color:#245bdb}.collapsed-status-stack span{writing-mode:vertical-rl;color:inherit;font-size:11px;font-weight:800;letter-spacing:0}.collapsed-status-stack strong{min-width:22px;height:20px;display:grid;place-items:center;border-radius:999px;background:#fff;color:#245bdb;font-size:11px}.center-tabs{display:flex;align-items:center;justify-content:space-between;gap:12px}.center-tab-buttons{display:flex;align-items:center;gap:14px;min-width:0}.center-tabs .fullscreen-toggle{margin-left:auto;min-height:30px;padding:0 10px;border:1px solid #d6e1ef;border-radius:9px;background:#fff;color:#41464e;font-size:12px;font-weight:800}.center-tabs .fullscreen-toggle:hover{border-color:#82a7fc;background:#f0f4ff;color:#245bdb}.execution-panel.detail-fullscreen{position:fixed;top:0;right:0;bottom:0;left:0;z-index:150;width:100vw;height:100dvh;border:0;border-radius:0;background:#eef3f8;box-shadow:none}.execution-panel.detail-fullscreen .task-hero{margin:12px 12px 0;border-radius:12px}.execution-panel.detail-fullscreen .center-tabs{padding:0 12px}.execution-panel.detail-fullscreen .center-scroll{padding:10px 12px 12px;overflow:hidden}.execution-panel.detail-fullscreen .sop-flow-shell.inline-detail{border:1px solid #c9d8ee;border-radius:12px}.sop-flow-shell.inline-detail{display:grid;grid-template-columns:minmax(0,60%) minmax(360px,40%);gap:0;min-height:0;background:#f3f6fb}.sop-flow-shell.inline-detail .react-flow{min-width:0;border-right:1px solid #c9d8ee}.sop-node-inline-detail{min-width:0;min-height:0;display:flex;flex-direction:column;background:#fff;overflow:hidden}.sop-node-inline-detail>header{flex:0 0 auto;display:flex;align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid var(--jcai-border-soft);background:#f8f9fb}.sop-node-inline-detail>header span{display:block;color:#646a73;font-size:12px}.sop-node-inline-detail>header strong{color:#1f2329}.sop-node-inline-detail .node-detail{flex:1 1 auto;min-height:0;height:auto!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden;padding:12px 12px 28px;scrollbar-gutter:stable}.sop-node-inline-detail .sop-node-detail{display:flex;flex-direction:column;gap:10px}.sop-node-inline-detail .sop-section{flex:0 0 auto;min-height:auto}.sop-node-inline-detail .sop-section-body{max-height:none!important;overflow:visible!important}.sop-node-inline-detail .step-console{max-height:none;overflow:visible}.step-output-detail{display:grid;gap:10px;width:100%}.step-output-detail>section{display:grid;gap:8px;border:1px solid #dee0e3;border-radius:10px;background:#f8f9fb;padding:10px}.step-output-detail>section>strong{color:#41464e;font-size:12px;font-weight:800}.step-result-summary{display:grid;gap:8px;border-color:#bacefd;background:#f8fbff}.step-result-summary>strong{color:#1f2329;font-size:13px;line-height:1.5}.step-result-summary ul{display:grid;gap:6px;margin:0;padding:0;list-style:none}.step-result-summary li{position:relative;padding-left:18px;color:#41464e;font-size:13px;line-height:1.55}.step-result-summary li:before{content:"";position:absolute;left:3px;top:9px;width:6px;height:6px;border-radius:999px;background:#3370ff}@media(max-width:1280px){.workspace{--jcai-ai-chat-width: calc(300px + 10vw) ;grid-template-columns:270px minmax(500px,1fr) var(--jcai-ai-chat-width)}.workspace.left-collapsed{grid-template-columns:52px minmax(650px,1fr) var(--jcai-ai-chat-width)}.workspace.chat-collapsed{grid-template-columns:270px minmax(700px,1fr) 52px}.workspace.left-collapsed.chat-collapsed{grid-template-columns:52px minmax(840px,1fr) 52px}}.right-chat.copilot-chat{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;padding-bottom:0;overflow:hidden;background:#fbfbfc;border-color:#d8e2f1}.copilot-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid #edf1f6;background:#fff}.copilot-agent{min-width:0;display:flex;align-items:center;gap:10px}.copilot-avatar,.copilot-mini-avatar{flex:0 0 auto;display:grid;place-items:center;background:linear-gradient(135deg,#2f6fed,#5a8bf0);color:#fff}.copilot-avatar{width:42px;height:42px;border-radius:10px}.copilot-mini-avatar{width:28px;height:28px;border-radius:8px}.copilot-agent h2{margin:0;color:#1f2329;font-size:18px;line-height:1.2}.copilot-agent p{display:flex;align-items:center;gap:6px;margin:3px 0 0;color:#646a73;font-size:12px;line-height:1.35}.copilot-agent p span{width:7px;height:7px;border-radius:999px;background:#16a34a}.copilot-agent-status.thinking span{background:#f59e0b;box-shadow:0 0 0 3px #f59e0b24}.copilot-agent-status.running span{background:#3370ff;box-shadow:0 0 0 3px #3370ff21}.copilot-agent-status.idle span{background:#16a34a;box-shadow:0 0 0 3px #16a34a1f}.copilot-quick{display:flex;flex-wrap:wrap;gap:7px;padding:10px 14px;border-bottom:1px solid #edf1f6;background:#f8fbff}.copilot-quick button,.copilot-draft-card button,.copilot-action-card button,.copilot-feedback-card button{min-height:30px;display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid #dee0e3;border-radius:8px;background:#fff;color:#41464e;padding:5px 9px;font-size:12px}.copilot-stream{min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:14px;padding:14px;background:#fbfbfc}.copilot-msg{display:flex;gap:9px;max-width:100%}.copilot-sent-message{order:90}.copilot-msg>div:last-child{min-width:0;max-width:88%;display:flex;flex-direction:column}.copilot-msg.user,.copilot-msg.human{flex-direction:row-reverse}.copilot-msg.user>div:last-child,.copilot-msg.human>div:last-child{align-items:flex-end}.copilot-msg.system{justify-content:center}.copilot-bubble{border:1px solid #e5e9f0;border-radius:3px 11px 11px;background:#fff;color:#1f2937;padding:10px 12px;font-size:13px;line-height:1.58;white-space:pre-wrap;word-break:break-word;box-shadow:0 1px 2px #1f23290a}.copilot-msg.user .copilot-bubble,.copilot-msg.human .copilot-bubble{border-color:#2f6fed;border-top-left-radius:11px;border-top-right-radius:3px;background:#2f6fed;color:#fff}.copilot-msg.system .copilot-bubble{border:0;border-radius:999px;background:#f0f2f5;color:#646a73;font-size:12px}.copilot-msg time{margin-top:5px;color:#a0a7b3;font-size:11px}.copilot-email-avatar{flex:0 0 auto;width:28px;height:28px;display:grid;place-items:center;border-radius:8px;background:#eef1f5;font-size:15px}.copilot-email-card,.copilot-draft-card,.copilot-action-card,.copilot-feedback-card{border:1px solid #e3e8f0;border-radius:12px;background:#fff;padding:12px 14px;box-shadow:0 1px 2px #1f23290a}.copilot-email-card header,.copilot-draft-card header,.copilot-action-card header,.copilot-feedback-card header{display:flex;align-items:center;gap:8px;margin-bottom:8px}.copilot-email-card header strong,.copilot-draft-card header strong,.copilot-action-card header strong,.copilot-feedback-card header strong{min-width:0;flex:1;color:#4b5563;font-size:13px;line-height:1.35}.copilot-email-card header span,.copilot-draft-card header span,.copilot-action-card header span,.copilot-feedback-card header span{flex:0 0 auto;border-radius:999px;background:#f1f5f9;color:#646a73;padding:2px 8px;font-size:11px;font-weight:750}.copilot-email-card h3,.copilot-draft-card h3{margin:0 0 10px;color:#1f2937;font-size:15px;line-height:1.42}.copilot-email-card section,.copilot-draft-card section{display:grid;gap:5px;margin-top:10px}.copilot-email-card section+section,.copilot-draft-card section label+p+label{padding-top:9px;border-top:1px dashed #e6ebf2}.copilot-email-card label,.copilot-draft-card label{color:#9aa3af;font-size:12px}.copilot-email-card p,.copilot-draft-card p,.copilot-action-card p,.copilot-feedback-card p{margin:0;color:#4b5563;font-size:13px;line-height:1.62;white-space:pre-wrap}.copilot-draft-card{border-color:#f0d7a8;background:#fffaf0}.copilot-msg.draft.sent .copilot-draft-card{border-color:#c7d7f2;background:#f3f7ff}.copilot-draft-card header span,.copilot-action-card.pending header span,.copilot-feedback-card header span{background:#fbefd6;color:#b26a00}.copilot-action-card.approved header span,.copilot-msg.draft.sent .copilot-draft-card header span{background:#e7f6ed;color:#15803d}.copilot-action-card.rejected header span{background:#fff1f2;color:#be123c}.draft-lead{margin-bottom:8px!important;color:#6b7280!important}.copilot-draft-card footer,.copilot-action-card footer,.copilot-feedback-card footer{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:12px}.copilot-draft-card button.primary,.copilot-action-card button.primary,.copilot-feedback-card button.primary,.copilot-send-row button{border-color:#2f6fed;background:#2f6fed;color:#fff}.copilot-draft-card button.danger,.copilot-action-card button.danger{border-color:#fecaca;background:#fff1f2;color:#be123c}.copilot-card-result{color:#15803d;font-size:12px;font-weight:750}.copilot-edit-box,.copilot-feedback-card textarea,.copilot-input-area textarea{width:100%;border:1px solid #dee0e3;border-radius:9px;background:#fff;color:#111827;padding:9px 10px;font-family:inherit;font-size:13px;line-height:1.55;outline:none;resize:vertical}.copilot-edit-box{min-height:130px}.copilot-feedback-card{border-color:#fdba74;background:#fff7ed}.copilot-feedback-card.approved{border-color:#a7f3d0;background:#f0fdf4}.copilot-feedback-card.rejected{border-color:#dee0e3;background:#f8f9fb}.copilot-feedback-card textarea{min-height:84px;margin-top:10px;border-color:#fed7aa;background:#fffaf4}.copilot-feedback-file,.copilot-feedback-notice{margin-top:9px;border-radius:9px;padding:8px 10px;font-size:12px;line-height:1.45}.copilot-feedback-file{display:flex;align-items:center;gap:7px;border:1px solid #bacefd;background:#f0f4ff;color:#245bdb;font-weight:750}.copilot-feedback-notice{border:1px solid #fed7aa;background:#fff7ed;color:#b45309}.copilot-inline-editor{display:grid;gap:8px;margin-top:10px}.copilot-inline-editor textarea{width:100%;min-height:72px;border:1px solid #fed7aa;border-radius:9px;background:#fffaf4;color:#111827;padding:9px 10px;font-family:inherit;font-size:13px;line-height:1.55;resize:vertical;outline:none}.copilot-inline-editor button{justify-self:end}.copilot-input-area{display:grid;gap:9px;padding:12px;border-top:1px solid #edf1f6;background:#fff}.copilot-context,.copilot-empty-context{border:1px solid #e1eaff;border-radius:10px;background:#f8fbff;padding:7px 9px}.copilot-context-agent-row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}.copilot-context{display:grid;grid-template-columns:minmax(0,1fr) 24px;gap:6px;align-items:center}.copilot-context span,.copilot-empty-context{color:#3370ff;font-size:12px;font-weight:750}.copilot-context strong{display:block;overflow:hidden;color:#1f2329;font-size:13px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.copilot-context p{margin:3px 0 0;overflow:hidden;color:#646a73;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.copilot-context button{width:24px;height:24px;display:grid;place-items:center;border:1px solid #dee0e3;border-radius:8px;background:#fff;color:#646a73}.copilot-context>div{min-width:0}.copilot-context>div>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.copilot-input-area>textarea{min-height:54px;max-height:150px;resize:vertical}.copilot-send-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.copilot-send-row span{color:#a0a7b3;font-size:12px}.copilot-send-row button{min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;border-radius:9px;padding:0 13px;font-size:13px}.copilot-send-row button:disabled{background:#a9bbef;cursor:not-allowed}.copilot-case-stack{width:100%;display:grid;gap:10px}.copilot-case-heading{width:min(88%,100%);justify-self:start;display:grid;gap:2px;padding:0 2px}.copilot-case-heading span{color:#646a73;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.copilot-case-heading strong{color:#1f2329;font-size:13px}.copilot-case-card{width:min(88%,100%);justify-self:start;border:1px solid #dee0e3;border-radius:12px;background:#fff;padding:12px;box-shadow:0 1px 2px #1f23290a}.copilot-case-card.approval{border-color:#fed7aa;background:#fffaf2}.copilot-case-card.fill{border-color:#bacefd;background:#f8fbff}.copilot-case-card.upload{border-color:#d8d5ff;background:#fbfaff}.copilot-case-card.intervention{border-color:#bbf7d0;background:#f7fef9}.copilot-case-card.approved,.copilot-case-card.submitted,.copilot-case-card.uploaded,.copilot-case-card.rerun{border-color:#a7f3d0;background:#f0fdf4}.copilot-case-card.rejected{border-color:#fecaca;background:#fff1f2}.copilot-case-card header{display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:8px;margin-bottom:8px}.copilot-case-card header svg{color:#3370ff}.copilot-case-card.approval header svg{color:#b45309}.copilot-case-card.upload header svg{color:#6d5bd0}.copilot-case-card.intervention header svg{color:#15803d}.copilot-case-card header strong{min-width:0;color:#1f2329;font-size:13px;line-height:1.35}.copilot-case-card header span{border-radius:999px;background:#f1f5f9;color:#565c66;padding:2px 8px;font-size:11px;font-weight:800}.copilot-case-card.pending header span{background:#fff7ed;color:#b45309}.copilot-case-card.approved header span,.copilot-case-card.submitted header span,.copilot-case-card.uploaded header span,.copilot-case-card.rerun header span{background:#dcfce7;color:#15803d}.copilot-case-card.rejected header span{background:#ffe4e6;color:#be123c}.copilot-case-card p{margin:0;color:#565c66;font-size:13px;line-height:1.58}.copilot-case-card footer{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:11px}.copilot-case-card button,.copilot-file-trigger{min-height:30px;display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid #dee0e3;border-radius:8px;background:#fff;color:#41464e;padding:5px 9px;font-size:12px;cursor:pointer}.copilot-case-card button.primary{border-color:#3370ff;background:#3370ff;color:#fff}.copilot-case-card button.danger{border-color:#fecaca;background:#fff1f2;color:#be123c}.copilot-case-fields{display:grid;gap:8px;margin-top:10px}.copilot-case-fields label{display:grid;gap:5px}.copilot-case-fields label span{color:#646a73;font-size:12px;font-weight:750}.copilot-case-fields input,.copilot-case-card textarea{width:100%;border:1px solid #dee0e3;border-radius:9px;background:#fff;color:#1f2329;padding:8px 9px;font-family:inherit;font-size:13px;line-height:1.45;outline:none}.copilot-case-card textarea{min-height:82px;margin-top:10px;resize:vertical}.copilot-file-list{display:grid;gap:7px;margin-top:10px}.copilot-file-list button{justify-content:flex-start;width:100%;min-width:0;background:#ffffffbd}.copilot-hidden-file{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;clip-path:inset(50%)}.copilot-case-result{margin-top:10px;border:1px solid #bbf7d0;border-radius:9px;background:#f0fdf4;color:#166534;padding:8px 10px;font-size:12px;font-weight:750;line-height:1.5}.copilot-case-human-reply{max-width:78%;justify-self:end;display:grid;gap:5px}.copilot-case-human-reply>div{border:1px solid #2f6fed;border-radius:11px 3px 11px 11px;background:#2f6fed;color:#fff;padding:10px 12px;font-size:13px;line-height:1.58;white-space:pre-wrap;word-break:break-word}.copilot-case-human-reply time{justify-self:end;color:#a0a7b3;font-size:11px}.workspace{--jcai-ai-chat-width: clamp(500px, 31vw, 680px);grid-template-columns:300px minmax(540px,1fr) var(--jcai-ai-chat-width);gap:0;column-gap:0;overflow:hidden}.workspace.left-collapsed{grid-template-columns:52px minmax(620px,1fr) var(--jcai-ai-chat-width)}.execution-panel{min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;padding:0}.execution-panel .task-hero{min-height:0;padding:12px 14px;grid-template-columns:minmax(0,1fr);gap:12px}.execution-panel .hero-main{min-width:0}.execution-panel .hero-kicker{gap:6px;margin-bottom:6px}.execution-panel .hero-kicker em,.execution-panel .hero-kicker span,.execution-panel .hero-kicker .sop-type-tag{font-size:11px}.execution-panel .hero-main h2{margin:0 0 4px;font-size:20px;line-height:1.18;letter-spacing:0}.execution-panel .hero-main p{max-width:none;margin:0;color:#646a73;font-size:12px;line-height:1.35;white-space:normal;overflow:visible;text-overflow:clip}.execution-panel .hero-actions{display:none!important}.execution-panel .hero-actions>.primary-action,.execution-panel .hero-actions>.secondary-action{display:none!important}.hero-control-row{width:230px;gap:6px}.hero-control-row .control-field{min-height:34px;height:34px;padding:0;border-radius:8px}.hero-control-row .control-field>span{display:none}.hero-control-row .control-field svg{width:14px;height:14px}.hero-control-row .control-field select{min-height:32px;height:32px;font-size:12px}.center-tabs{min-height:42px;padding:0 12px}.center-tab-buttons button{height:40px;padding:0 10px;font-size:13px}.fullscreen-toggle{height:34px;padding:0 10px}.execution-panel .center-scroll{overflow-y:auto;overflow-x:hidden}.current-execution.current-node-work{min-height:100%;padding:8px 12px 16px;display:block;background:#f6f8fb}.current-work-notice{display:flex;align-items:center;gap:8px;margin-bottom:10px;padding:9px 11px;border:1px solid #fed7aa;border-radius:10px;background:#fffaf2;color:#9a3412;font-size:12px;line-height:1.4}.current-node-work .sop-node-detail{gap:8px;padding:0;background:transparent}.current-node-work .node-detail,.current-node-work .sop-node-detail{height:auto!important;max-height:none!important;overflow:visible!important;scrollbar-gutter:auto!important}.current-node-work .node-toolbar{min-height:0;padding:11px 12px;border-radius:10px;box-shadow:0 8px 20px #1f23290a}.current-node-work .node-toolbar span{font-size:11px}.current-node-work .node-toolbar strong{margin-top:2px;font-size:18px;line-height:1.22}.current-node-work .node-goal-summary{margin-top:3px;font-size:12px;line-height:1.4}.current-node-work .node-toolbar-actions .ghost-action{height:30px;padding:0 9px;font-size:12px}.current-node-work .sop-section{border-radius:10px;box-shadow:none}.current-node-work .sop-section-head{min-height:36px;height:36px;padding:0 10px}.current-node-work .sop-section-head span,.current-node-work .sop-section-title,.current-node-work .section-title{font-size:14px}.current-node-work .sop-section-body{gap:8px;padding:10px}.current-node-work .step-console{padding:10px}.current-node-work .step-console-head{margin-bottom:9px}.current-node-work .step-console-head strong{font-size:14px}.current-node-work .step-console-head button{height:30px;padding:0 9px;font-size:12px}.current-node-work .process-step{border-radius:10px;background:#fff}.current-node-work .process-step.active,.current-node-work .process-step.waiting,.current-node-work .process-step.feedback-needed{border-color:#fdba74;background:#fffaf2}.current-node-work .process-step.done{background:#f8f9fb}.current-node-work .process-step-head{min-height:48px;padding:8px 10px}.current-node-work .process-step-head>span:first-child{width:28px;height:28px;font-size:13px}.current-node-work .process-step-head strong{font-size:14px}.current-node-work .process-step-head p{margin-top:2px;font-size:12px;line-height:1.35}.current-node-work .step-expanded{margin-left:10px!important;padding:0 0 10px;border-left:0!important}.current-node-work .process-step:before,.current-node-work .step-expanded:before{display:none!important}.current-node-work .step-result-panel,.current-node-work .step-result-feedback{border-width:1px!important;border-radius:10px}.current-node-work .validation-checklist,.current-node-work .node-output-summary,.current-node-work .ai-rule-list{margin-top:0}.artifact-strip{display:none!important}.sop-type-tag{display:inline-flex;align-items:center;max-width:360px;padding:2px 8px;border:1px solid #c8d7f3;border-radius:999px;background:#f4f8ff;color:#1c4cba;font-size:12px;font-weight:700;line-height:1.4}.execution-panel.detail-fullscreen .task-hero{display:none}.execution-topline{min-height:48px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:4px 10px;border:1px solid #d7e1ef;border-top:3px solid #3370ff;border-radius:12px 12px 0 0;background:#fff}.compact-task-line{min-width:0;display:flex;align-items:center;gap:5px;flex-wrap:nowrap;overflow:visible;white-space:normal}.compact-task-line>span,.compact-task-line>em{flex:0 0 auto;color:#646a73;font-size:11px;font-style:normal}.compact-task-line>em{display:none}.compact-task-line>strong{flex:1 1 auto;min-width:0;overflow:visible;color:#111827;font-size:14px;font-weight:800;line-height:1.18;text-overflow:clip;white-space:normal}.execution-topline .sop-type-tag{flex:0 0 auto;max-width:210px;font-size:10px}.execution-topline .center-tabs{min-height:0;padding:0;display:flex;align-items:center;justify-content:flex-end;gap:8px;border:0}.execution-topline .center-tab-buttons{display:flex;align-items:center;gap:4px}.execution-topline .center-tab-buttons button{height:32px;padding:0 7px;font-size:12px;white-space:nowrap}.execution-topline .fullscreen-toggle{display:none!important}.current-node-work{padding-top:7px!important}.current-node-work .current-work-notice,.current-node-work .node-goal-summary{display:none!important}.current-node-work .node-toolbar{padding:7px 10px}.current-node-work .node-toolbar strong{font-size:15px}.current-node-work .node-toolbar-actions,.current-node-work .step-console-head{display:none!important}.focus-task-context{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;align-items:center;margin-bottom:4px;padding:7px 9px;border:1px solid #dbe5f2;border-radius:10px;background:#fff}.focus-task-context>div:first-child{min-width:0;display:grid;gap:2px}.focus-task-context span{color:#646a73;font-size:11px;font-weight:800}.focus-task-context strong{overflow:visible;color:#1f2329;font-size:14px;line-height:1.2;text-overflow:clip;white-space:normal}.focus-task-context p{grid-column:1 / -1;overflow:hidden;color:#646a73;font-size:11px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.focus-task-context .focus-source-line{display:flex;gap:6px;align-items:center;color:#565c66}.focus-task-context .focus-source-line b{flex:0 0 auto;color:#646a73;font-size:11px}.focus-task-context>div:last-child{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.focus-task-context>div:last-child span{border-radius:999px;background:#eef4ff;color:#3370ff;padding:3px 7px}.todo-flow-bookend{display:grid;gap:3px;min-width:0;padding:8px 10px;border:1px solid #dbe5f2;border-radius:9px;background:#fbfdff}.todo-flow-bookend.source{margin-bottom:8px}.todo-flow-bookend.next{margin-top:8px}.todo-flow-bookend span{color:#646a73;font-size:11px;font-weight:900}.todo-flow-bookend strong{min-width:0;overflow:hidden;color:#172033;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.todo-flow-bookend p{min-width:0;margin:0;color:#646a73;font-size:12px;line-height:1.35}.focus-input-panel .node-input-brief{display:none!important}.focus-input-panel .compact-input-list{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}.focus-input-panel .compact-input-list>div:first-child{display:grid;gap:6px}.focus-input-panel .compact-input-list>div:first-child>span{color:#646a73;font-size:12px;font-weight:800}.compact-input-context{margin-top:2px;border:1px dashed #d8e1ef;border-radius:8px;background:#fbfdff}.compact-input-context>summary{cursor:pointer;padding:8px 10px;color:#646a73;font-size:12px;font-weight:800}.compact-input-context>div{display:grid;gap:6px;padding:0 10px 10px}.focus-outcome-summary{display:grid;gap:10px;margin-top:8px;padding:10px;border:1px solid #dbe5f2;border-radius:10px;background:#fff}.focus-final-output{display:grid;gap:7px;padding:9px 10px;border:1px solid #bacefd;border-radius:9px;background:#f8fbff}.focus-final-output span{color:#3370ff;font-size:12px;font-weight:900}.markdown-like-output article{display:grid;gap:3px}.markdown-like-output article+article{padding-top:7px;border-top:1px dashed #d7e3f4}.markdown-like-output p{margin:0;color:#41464e;font-size:12px;line-height:1.55;white-space:pre-line}.final-output-body{display:flex;flex-wrap:wrap;gap:6px 8px}.final-output-body p{width:100%}.final-output-table-block{width:100%;display:grid;gap:5px}.final-output-table-block>b{color:#1e3a8a;font-size:12px}.final-output-table-block>div{max-width:100%;overflow-x:auto;border:1px solid #dbe5f2;border-radius:8px;background:#fff}.final-output-table-block table{width:100%;min-width:640px;border-collapse:collapse;font-size:11px;line-height:1.35}.final-output-table-block th,.final-output-table-block td{padding:7px 8px;border-bottom:1px solid #e7eef8;color:#41464e;text-align:left;vertical-align:top;white-space:nowrap}.final-output-table-block th{background:#f3f7fc;color:#646a73;font-weight:850}.final-output-table-block tr:last-child td{border-bottom:0}.final-output-body button{min-height:28px;display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border:1px solid #b8cdfd;border-radius:8px;background:#fff;color:#3370ff;font-size:12px;font-weight:850;cursor:pointer}.final-output-body button:hover{background:#f0f4ff}.todo-flow-bookend.next>span:not(.next-task-label){display:none}.focus-outcome-summary section{display:grid;gap:8px}.focus-outcome-summary header{display:flex;align-items:center;justify-content:space-between;gap:10px}.focus-outcome-summary header strong{color:#172033;font-size:14px}.focus-outcome-summary header button,.focus-validation-list article button{height:28px;padding:0 9px;border:1px solid #c8d7f3;border-radius:8px;background:#f8fbff;color:#3370ff;font-size:12px;font-weight:800}.focus-outcome-summary>section>p{margin:0;color:#565c66;font-size:12px;line-height:1.45}.focus-validation-list{display:grid;gap:6px}.focus-validation-list article{min-height:34px;display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:8px;padding:7px 9px;border:1px solid #dbe5f2;border-radius:8px;background:#f8f9fb}.focus-validation-list article.passed{border-color:#bbf7d0;background:#f0fdf4}.focus-validation-list article.failed,.focus-validation-list article.warning{border-color:#fed7aa;background:#fff7ed}.focus-validation-list article>span{width:22px;height:22px;display:grid;place-items:center;border-radius:999px;background:#eaf3ff;color:#3370ff;font-size:12px;font-weight:800}.focus-validation-list article p,.focus-rule-summary article p{min-width:0;margin:0;color:#565c66;font-size:12px;line-height:1.4}.focus-rule-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.focus-rule-summary article{display:grid;gap:4px;padding:9px;border:1px solid #fde68a;border-radius:8px;background:#fffbeb}.focus-rule-summary article.decided.accepted{border-color:#bbf7d0;background:#f0fdf4}.focus-rule-summary article.decided.ignored{border-color:#dee0e3;background:#f8f9fb}.focus-rule-summary article strong{color:#172033;font-size:13px}.focus-rule-summary article span{width:max-content;padding:2px 6px;border-radius:999px;background:#fef3c7;color:#b45309;font-size:11px;font-weight:800}.focus-rule-summary article div{display:flex;gap:6px;margin-top:4px}.focus-rule-summary article button{height:26px;padding:0 9px;border:1px solid #dee0e3;border-radius:7px;background:#fff;color:#41464e;font-size:12px;font-weight:800}.focus-rule-summary article button:first-child{border-color:#86efac;color:#15803d}.focus-rule-summary article em,.focus-rule-pending{color:#646a73;font-size:12px;font-style:normal;line-height:1.4}.focus-rule-pending{border:1px dashed #dee0e3;border-radius:8px;background:#f8f9fb;padding:10px}.step-ai-trace{display:grid;gap:7px;margin-bottom:10px;padding:10px 11px;border:1px solid #e1eaff;border-radius:10px;background:linear-gradient(180deg,#f8fbff,#fff)}.step-ai-trace header{display:flex;align-items:center;gap:7px}.step-ai-trace header strong{flex:1;color:#172033;font-size:13px}.step-ai-trace header span{border-radius:999px;background:#f0f4ff;color:#3370ff;padding:2px 7px;font-size:11px;font-weight:900}.step-ai-trace ol{display:grid;gap:6px;margin:0;padding:0;list-style:none}.step-ai-trace li{min-width:0;display:grid;grid-template-columns:40px minmax(0,1fr);gap:10px;align-items:start;padding:8px 0;border-top:1px solid #e8eef7}.step-ai-trace li:first-child{border-top:0;padding-top:0}.step-ai-trace li>span{display:inline-flex;justify-content:center;align-items:center;min-width:32px;height:22px;border-radius:999px;background:#eef4ff;color:#3370ff;font-size:10px;font-weight:900}.step-ai-trace li.tool>span{background:#ecfdf5;color:#047857}.step-ai-trace li.system>span{background:#f1f5f9;color:#565c66}.step-ai-trace li.warning>span,.step-ai-trace li.feedback>span{background:#fff7ed;color:#c2410c}.step-ai-trace li strong{display:inline;color:#172033;font-size:12px;line-height:1.3}.step-ai-trace li em{margin-left:8px;color:#8f959e;font-size:11px;font-style:normal}.step-ai-trace li p{margin:2px 0 0;color:#41464e;font-size:12px;line-height:1.45;white-space:pre-line}.step-waiting-feedback-stack{display:grid;gap:10px}.step-waiting-feedback-stack .step-ai-trace{margin-bottom:0;border-color:#fed7aa;background:linear-gradient(180deg,#fffaf2,#fff)}.risk-level-selector{display:grid;gap:8px;margin-top:10px}.risk-level-selector>span{color:#9a3412;font-size:12px;font-weight:900}.risk-level-selector>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.risk-level-selector button{min-height:76px;display:grid;gap:4px;padding:10px 11px;border:1px solid #fed7aa;border-radius:10px;background:#fff;color:#41464e;text-align:left;cursor:pointer}.risk-level-selector button:hover,.risk-level-selector button.selected{border-color:#f97316;background:#fff7ed;box-shadow:inset 0 0 0 1px #f97316}.risk-level-selector strong{color:#172033;font-size:13px}.risk-level-selector p{margin:0;color:#646a73;font-size:12px;line-height:1.4}.sop-ai-feedback-actions.risk-actions .primary:disabled{opacity:.45;cursor:not-allowed}.step-pending-placeholder{min-height:48px;display:flex;align-items:center;padding:12px 14px;border:1px dashed #dee0e3;border-radius:10px;background:#f8f9fb;color:#646a73;font-size:13px;font-weight:850}.task-create-menu{position:relative;display:inline-flex}.task-create-dropdown{position:absolute;top:calc(100% + 8px);right:0;z-index:80;width:218px;display:grid;gap:4px;padding:6px;border:1px solid #dee0e3;border-radius:12px;background:#fff;box-shadow:0 16px 34px #1f232929}.task-create-dropdown button{width:100%;display:grid;gap:2px;padding:9px 10px;border:0;border-radius:9px;background:transparent;text-align:left;cursor:pointer}.task-create-dropdown button:hover{background:#f6f8fb}.task-create-dropdown strong{color:#172033;font-size:13px;line-height:1.3}.task-create-dropdown span{color:#646a73;font-size:11px;line-height:1.35}.task-card.non-sop{background:linear-gradient(180deg,#fff7ed,#fff 70%)}.task-card.non-sop .task-card-top .status-pill:first-child{border-color:#fed7aa;color:#9a3412;background:#fff7ed}.execution-panel.non-sop-mode .execution-topline{min-height:54px}.non-sop-workbench{display:grid;gap:12px;padding:14px}.non-sop-hero,.non-sop-grid article,.non-sop-open-work{border:1px solid #dee0e3;border-radius:14px;background:#fff;box-shadow:0 10px 24px #1f23290d}.non-sop-hero{display:flex;justify-content:space-between;gap:16px;padding:16px 18px;border-top:4px solid #f97316}.non-sop-kicker{display:inline-flex;align-items:center;gap:6px;color:#9a3412;font-size:12px;font-weight:850}.non-sop-hero h2{margin:6px 0 4px;color:#101827;font-size:22px;line-height:1.25}.non-sop-hero p,.non-sop-grid p,.non-sop-thread p{margin:0;color:#5f6b82;line-height:1.55}.non-sop-state{min-width:130px;display:grid;align-content:center;gap:4px;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412;text-align:right}.non-sop-state strong{font-size:16px}.non-sop-state span{color:#646a73;font-size:12px}.non-sop-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.non-sop-grid article,.non-sop-open-work{padding:14px 16px}.non-sop-grid h3,.non-sop-open-work h3{display:flex;align-items:center;gap:7px;margin:0 0 10px;color:#172033;font-size:15px}.non-sop-grid dl{display:grid;gap:8px;margin:12px 0 0}.non-sop-grid dl div{display:grid;grid-template-columns:72px minmax(0,1fr);gap:8px;padding:8px 0;border-top:1px solid #edf2f7}.non-sop-grid dt{color:#646a73;font-weight:800}.non-sop-grid dd{margin:0;color:#172033;font-weight:750}.non-sop-grid ul{display:grid;gap:8px;margin:12px 0 0;padding-left:18px;color:#41464e}.non-sop-thread{display:grid;gap:8px}.non-sop-thread>div{padding:11px 12px;border:1px solid #e3eaf3;border-radius:11px;background:#f8f9fb}.non-sop-thread strong{display:block;margin-bottom:4px;color:#1f3b8f}.non-sop-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;padding-top:12px;border-top:1px dashed #dee0e3}.non-sop-actions button{display:inline-flex;align-items:center;gap:6px;border:1px solid #d6dfeb;border-radius:10px;background:#fff;color:#172033;padding:8px 11px;font-weight:800;cursor:pointer}.non-sop-actions button.primary{border-color:#3370ff;background:#3370ff;color:#fff}.step-inline-validation{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.step-inline-validation span{display:inline-flex;align-items:center;gap:4px;border-radius:999px;padding:3px 8px;font-size:11px;font-weight:850}.step-inline-validation .passed{background:#ecfdf5;color:#047857}.step-inline-validation .pending{background:#f1f5f9;color:#646a73}.visible-task-detail .visibility-banner{display:flex;gap:10px;align-items:flex-start;margin-bottom:12px;padding:12px;border:1px solid #bacefd;border-radius:10px;background:#f8fbff}.visible-task-detail .visibility-banner strong{color:#172033;font-size:14px}.visible-task-detail .visibility-banner p{margin-top:3px;color:#646a73;font-size:12px;line-height:1.45}.copilot-workbench-actions{display:grid;gap:10px}.copilot-action-card.done,.copilot-action-card.approved{border-color:#bbf7d0;background:#f0fdf4}.copilot-action-card.rejected{border-color:#fecaca;background:#fff1f2}.copilot-action-card.done header span{background:#dcfce7;color:#15803d}.copilot-action-card.rejected header span{background:#ffe4e6;color:#be123c}.copilot-action-card.supplement textarea,.copilot-action-card.intervention textarea{display:block;width:100%;min-height:88px;margin-top:10px;padding:10px 12px;border:1px solid #dee0e3;border-radius:10px;border-color:#dee0e3;background:#fff;color:#172033;font-size:13px;line-height:1.5;resize:vertical}.copilot-action-card.supplement footer,.copilot-action-card.intervention footer{width:100%;align-items:center;justify-content:flex-end}.copilot-card-guide{margin-top:10px;padding:10px 12px;border:1px dashed #cbd5e1;border-radius:10px;background:#f8f9fb;color:#646a73;font-size:13px;line-height:1.55}.copilot-expert-row{display:flex;gap:8px;align-items:center;flex:0 0 auto;min-width:210px;max-width:46%}.copilot-expert-row span{color:#646a73;font-size:12px;font-weight:800;white-space:nowrap}.copilot-expert-row select{height:34px;width:170px;min-width:150px;border:1px solid #dee0e3;border-radius:9px;background:#fff;color:#172033;padding:0 9px;font-size:13px}.copilot-context{padding:6px 8px}.copilot-context-agent-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.copilot-context-compact{min-width:0;max-width:52%;flex:1 1 auto}.copilot-context-compact strong{display:inline;color:inherit;font-size:inherit;line-height:inherit}.copilot-context span{font-size:12px}.copilot-stream{padding-bottom:18px}.copilot-demo-divider{align-self:center;max-width:88%;border-radius:999px;background:#eef2ff;color:#3b5bdb;padding:5px 10px;font-size:11px;font-weight:850}.copilot-demo-card{border:1px solid #dbe5f2;border-radius:12px;background:#fff;padding:12px;box-shadow:0 1px 2px #1f23290d}.copilot-demo-card.confirm,.copilot-demo-card.nonstandard{border-color:#fed7aa;background:#fff8ef}.copilot-demo-card.memory{border-color:#c7d2fe;background:#f7f8ff}.copilot-demo-card.done{border-color:#bbf7d0;background:#f4fdf7}.copilot-demo-card.rejected{border-color:#fecaca;background:#fff5f6}.copilot-demo-card header{display:flex;align-items:center;gap:8px;margin-bottom:9px}.copilot-demo-card header svg{color:#2f6fed}.copilot-demo-card.confirm header svg,.copilot-demo-card.nonstandard header svg{color:#c76a00}.copilot-demo-card header strong{min-width:0;flex:1;color:#172033;font-size:14px;line-height:1.35}.copilot-demo-card header span{flex:0 0 auto;border-radius:999px;background:#f0f4ff;color:#2f6fed;padding:2px 8px;font-size:11px;font-weight:850}.copilot-demo-card.confirm header span,.copilot-demo-card.nonstandard header span{background:#fbefd6;color:#b45309}.copilot-demo-card.done header span,.copilot-demo-card.done .copilot-card-result{background:transparent;color:#15803d}.copilot-demo-card.rejected header span,.copilot-demo-card.rejected .copilot-card-result{background:transparent;color:#be123c}.copilot-demo-card>p{margin:0;color:#565c66;font-size:13px;line-height:1.65}.copilot-report-sections{display:grid;gap:8px}.copilot-report-sections section{border:1px solid #e6edf7;border-radius:10px;background:#f8fbff;padding:8px 10px}.copilot-report-sections b{display:block;margin-bottom:3px;color:#41464e;font-size:12px}.copilot-report-sections p{margin:0;color:#172033;font-size:13px;line-height:1.55}.copilot-table-wrap{overflow-x:auto;border:1px solid #e6edf7;border-radius:10px}.copilot-mini-table{width:100%;min-width:420px;border-collapse:collapse;background:#fff;font-size:12px}.copilot-mini-table th,.copilot-mini-table td{border-bottom:1px solid #edf2f7;padding:7px 8px;text-align:left;vertical-align:top;color:#41464e}.copilot-mini-table th{background:#f8f9fb;color:#646a73;font-weight:850}.copilot-mini-table tr:last-child td{border-bottom:0}.copilot-tool-steps{display:grid;gap:7px;margin:0;padding:0;list-style:none}.copilot-tool-steps li{display:grid;grid-template-columns:26px minmax(0,1fr);gap:8px;align-items:flex-start;border:1px solid #e6edf7;border-radius:10px;background:#f8fbff;padding:8px}.copilot-tool-steps li.warn{border-color:#fed7aa;background:#fff8ef}.copilot-tool-steps li.danger{border-color:#fecaca;background:#fff5f6}.copilot-tool-steps li>span{display:grid;place-items:center;width:24px;height:24px;border-radius:999px;background:#eaf0ff;color:#2f6fed;font-size:12px;font-weight:900}.copilot-tool-steps b{color:#41464e;font-size:12px}.copilot-tool-steps p{margin:2px 0 0;color:#565c66;font-size:12px;line-height:1.45}.copilot-email-preview{display:grid;gap:8px;border:1px solid #f0d7a8;border-radius:11px;background:#fffaf0;padding:10px}.copilot-email-preview h3{margin:0;color:#172033;font-size:14px;line-height:1.4}.copilot-email-preview label{color:#9a6a21;font-size:11px;font-weight:850}.copilot-email-preview p{margin:0;color:#565c66;font-size:13px;line-height:1.55}.copilot-file-list{display:grid;gap:7px}.copilot-file-list button{width:100%;min-height:42px;display:grid;grid-template-columns:18px minmax(0,1fr);gap:8px;align-items:center;border:1px solid #e1eaff;border-radius:10px;background:#f8fbff;color:#245bdb;padding:8px 10px;text-align:left}.copilot-file-list b,.copilot-file-list small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.copilot-file-list b{color:#245bdb;font-size:12px}.copilot-file-list small{margin-top:2px;color:#646a73;font-size:11px}.copilot-memory-list{display:grid;gap:7px;margin:0;padding:0;list-style:none}.copilot-memory-list li{position:relative;border:1px solid #e0e7ff;border-radius:10px;background:#fff;padding:8px 10px 8px 24px;color:#565c66;font-size:12px;line-height:1.48}.copilot-memory-list li:before{position:absolute;left:10px;top:14px;width:6px;height:6px;border-radius:999px;background:#6366f1;content:""}.copilot-demo-card footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:12px}.copilot-demo-card button{min-height:30px;border:1px solid #dee0e3;border-radius:8px;background:#fff;color:#41464e;padding:5px 10px;font-size:12px;font-weight:750}.copilot-demo-card button.primary{border-color:#2f6fed;background:#2f6fed;color:#fff}.copilot-demo-card button.danger{border-color:#fecaca;background:#fff1f2;color:#be123c}.copilot-live-message{order:80}.execution-panel.detail-fullscreen .execution-topline{display:none}@media(max-width:1280px){.workspace{--jcai-ai-chat-width: clamp(460px, 35vw, 560px);grid-template-columns:270px minmax(460px,1fr) var(--jcai-ai-chat-width)}.workspace.left-collapsed{grid-template-columns:52px minmax(560px,1fr) var(--jcai-ai-chat-width)}}._3_ygE{display:table;border-bottom:#e6e4e4 1px solid;border-top:#e6e4e4 1px solid;border-left:#e6e4e4 1px solid}._1nBOt{display:table-row;list-style:none}._2eZzQ{border-right:1px solid rgb(196,196,196);opacity:1;margin-left:-2px}._WuQ0f{display:table-cell;vertical-align:-webkit-baseline-middle;vertical-align:middle}._3ZbQT{display:table;border-bottom:#e6e4e4 1px solid;border-left:#e6e4e4 1px solid}._34SS0{display:table-row;text-overflow:ellipsis}._34SS0:nth-of-type(2n){background-color:#f5f5f5}._3lLk3{display:table-cell;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._nI1Xw{display:flex}._2QjE6{color:#565656;font-size:.6rem;padding:.15rem .2rem 0rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}._2TfEi{font-size:.6rem;padding-left:1rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}._3T42e{background:#fff;padding:12px;box-shadow:0 3px 6px #00000029,0 3px 6px #0000003b}._29NTg{font-size:12px;margin-bottom:6px;color:#666}._25P-K{position:absolute;display:flex;flex-shrink:0;pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}._3gVAq{visibility:hidden;position:absolute;display:flex;pointer-events:none}._1eT-t{overflow:hidden auto;width:1rem;flex-shrink:0;scrollbar-width:thin}._1eT-t::-webkit-scrollbar{width:1.1rem;height:1.1rem}._1eT-t::-webkit-scrollbar-corner{background:transparent}._1eT-t::-webkit-scrollbar-thumb{border:6px solid transparent;background:#0003;background:var(--palette-black-alpha-20, rgba(0, 0, 0, .2));border-radius:10px;background-clip:padding-box}._1eT-t::-webkit-scrollbar-thumb:hover{border:4px solid transparent;background:#0000004d;background:var(--palette-black-alpha-30, rgba(0, 0, 0, .3));background-clip:padding-box}._2dZTy{fill:#fff}._2dZTy:nth-child(2n){fill:#f5f5f5}._3rUKi{stroke:#ebeff2}._RuwuK{stroke:#e6e4e4}._9w8d5{text-anchor:middle;fill:#333;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}._1rLuZ{stroke:#e6e4e4}._2q1Kt{text-anchor:middle;fill:#555;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}._35nLX{fill:#fff;stroke:#e0e0e0;stroke-width:1.4}._KxSXS{cursor:pointer;outline:none}._KxSXS:hover ._3w_5u{visibility:visible;opacity:1}._3w_5u{fill:#ddd;cursor:ew-resize;opacity:0;visibility:hidden}._31ERP{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;stroke-width:0}._RRr13{cursor:pointer;outline:none}._2P2B1{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}._1KJ6x{cursor:pointer;outline:none}._2RbVy{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:.6}._2pZMF{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}._3zRJQ{fill:#fff;text-anchor:middle;font-weight:lighter;dominant-baseline:central;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}._3KcaM{fill:#555;text-anchor:start;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}._CZjuD{overflow:hidden;font-size:0;margin:0;padding:0}._2B2zv{margin:0;padding:0;overflow:hidden}._3eULf{display:flex;padding:0;margin:0;list-style:none;outline:none;position:relative}._2k9Ys{overflow:auto;max-width:100%;scrollbar-width:thin;height:1.2rem}._2k9Ys::-webkit-scrollbar{width:1.1rem;height:1.1rem}._2k9Ys::-webkit-scrollbar-corner{background:transparent}._2k9Ys::-webkit-scrollbar-thumb{border:6px solid transparent;background:#0003;background:var(--palette-black-alpha-20, rgba(0, 0, 0, .2));border-radius:10px;background-clip:padding-box}._2k9Ys::-webkit-scrollbar-thumb:hover{border:4px solid transparent;background:#0000004d;background:var(--palette-black-alpha-30, rgba(0, 0, 0, .3));background-clip:padding-box}._19jgW{height:1px}.react-flow{direction:ltr;--xy-edge-stroke-default: #b1b1b7;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #555;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(255, 255, 255, .5);--xy-minimap-background-color-default: #fff;--xy-minimap-mask-background-color-default: rgba(240, 240, 240, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #e2e2e2;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: transparent;--xy-background-pattern-dots-color-default: #91919a;--xy-background-pattern-lines-color-default: #eee;--xy-background-pattern-cross-color-default: #e2e2e2;background-color:var(--xy-background-color, var(--xy-background-color-default));--xy-node-color-default: inherit;--xy-node-border-default: 1px solid #1a192b;--xy-node-background-color-default: #fff;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(0, 0, 0, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #1a192b;--xy-node-border-radius-default: 3px;--xy-handle-background-color-default: #1a192b;--xy-handle-border-color-default: #fff;--xy-selection-background-color-default: rgba(0, 89, 220, .08);--xy-selection-border-default: 1px dotted rgba(0, 89, 220, .8);--xy-controls-button-background-color-default: #fefefe;--xy-controls-button-background-color-hover-default: #f4f4f4;--xy-controls-button-color-default: inherit;--xy-controls-button-color-hover-default: inherit;--xy-controls-button-border-color-default: #eee;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #ffffff;--xy-edge-label-color-default: inherit;--xy-resize-background-color-default: #3367d9}.react-flow.dark{--xy-edge-stroke-default: #3e3e3e;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #727272;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(150, 150, 150, .25);--xy-minimap-background-color-default: #141414;--xy-minimap-mask-background-color-default: rgba(60, 60, 60, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #2b2b2b;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: #141414;--xy-background-pattern-dots-color-default: #777;--xy-background-pattern-lines-color-default: #777;--xy-background-pattern-cross-color-default: #777;--xy-node-color-default: #f8f8f8;--xy-node-border-default: 1px solid #3c3c3c;--xy-node-background-color-default: #1e1e1e;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(255, 255, 255, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #999;--xy-handle-background-color-default: #bebebe;--xy-handle-border-color-default: #1e1e1e;--xy-selection-background-color-default: rgba(200, 200, 220, .08);--xy-selection-border-default: 1px dotted rgba(200, 200, 220, .8);--xy-controls-button-background-color-default: #2b2b2b;--xy-controls-button-background-color-hover-default: #3e3e3e;--xy-controls-button-color-default: #f8f8f8;--xy-controls-button-color-hover-default: #fff;--xy-controls-button-border-color-default: #5b5b5b;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #141414;--xy-edge-label-color-default: #f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props, var(--xy-background-color, var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1;touch-action:none}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width, var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke, var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width, var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{overflow:visible;position:absolute;pointer-events:none}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}svg.react-flow__connectionline{z-index:1001;overflow:visible;position:absolute}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background-color:var(--xy-handle-background-color, var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color, var(--xy-handle-border-color-default));border-radius:100%}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:0;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px) translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px) translateY(-50%)}.react-flow__attribution{font-size:10px;background:var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;left:0;top:0}.react-flow__viewport-portal{position:absolute;width:100%;height:100%;left:0;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__minimap{background:var( --xy-minimap-background-color-props, var(--xy-minimap-background-color, var(--xy-minimap-background-color-default)) )}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var( --xy-minimap-mask-background-color-props, var(--xy-minimap-mask-background-color, var(--xy-minimap-mask-background-color-default)) );stroke:var( --xy-minimap-mask-stroke-color-props, var(--xy-minimap-mask-stroke-color, var(--xy-minimap-mask-stroke-color-default)) );stroke-width:var( --xy-minimap-mask-stroke-width-props, var(--xy-minimap-mask-stroke-width, var(--xy-minimap-mask-stroke-width-default)) )}.react-flow__minimap-node{fill:var( --xy-minimap-node-background-color-props, var(--xy-minimap-node-background-color, var(--xy-minimap-node-background-color-default)) );stroke:var( --xy-minimap-node-stroke-color-props, var(--xy-minimap-node-stroke-color, var(--xy-minimap-node-stroke-color-default)) );stroke-width:var( --xy-minimap-node-stroke-width-props, var(--xy-minimap-node-stroke-width, var(--xy-minimap-node-stroke-width-default)) )}.react-flow__background-pattern.dots{fill:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-dots-color-default)) )}.react-flow__background-pattern.lines{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-lines-color-default)) )}.react-flow__background-pattern.cross{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-cross-color-default)) )}.react-flow__controls{display:flex;flex-direction:column;box-shadow:var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default))}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{display:flex;justify-content:center;align-items:center;height:26px;width:26px;padding:4px;border:none;background:var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));border-bottom:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) );color:var( --xy-controls-button-color-props, var(--xy-controls-button-color, var(--xy-controls-button-color-default)) );cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px;fill:currentColor}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:var(--xy-node-border-radius, var(--xy-node-border-radius-default));width:150px;font-size:12px;color:var(--xy-node-color, var(--xy-node-color-default));text-align:center;border:var(--xy-node-border, var(--xy-node-border-default));background-color:var(--xy-node-background-color, var(--xy-node-background-color-default))}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover, var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color, var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color, var(--xy-selection-background-color-default));border:var(--xy-selection-border, var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var( --xy-controls-button-background-color-hover-props, var(--xy-controls-button-background-color-hover, var(--xy-controls-button-background-color-hover-default)) );color:var( --xy-controls-button-color-hover-props, var(--xy-controls-button-color-hover, var(--xy-controls-button-color-hover-default)) )}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) )}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:5px;height:5px;border:1px solid #fff;border-radius:1px;background-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));translate:-50% -50%}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color, var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color, var(--xy-edge-label-color-default))}.sg-module{height:calc(100vh - 54px);min-height:680px;min-width:0;display:grid;grid-template-columns:300px minmax(0,1fr) 330px;gap:12px;padding:12px;background:var(--jcai-bg);color:var(--jcai-text)}.sg-mail{grid-template-columns:220px 360px minmax(0,1fr) 320px}.sg-message{grid-template-columns:180px 320px minmax(0,1fr) 280px}.sg-knowledge{grid-template-columns:260px 340px minmax(0,1fr) 320px}.sg-editor{grid-template-columns:280px minmax(0,1fr) 340px}.sg-rail,.sg-list-panel,.sg-main-panel,.sg-inspector{min-width:0;min-height:0;border:1px solid var(--jcai-border);border-radius:12px;background:var(--jcai-surface);box-shadow:var(--jcai-shadow-1)}.sg-rail,.sg-list-panel,.sg-inspector{padding:12px;overflow:hidden}.sg-main-panel{display:flex;flex-direction:column;overflow:hidden}.sg-panel-head,.sg-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:10px;border-bottom:1px solid var(--jcai-border-soft)}.sg-panel-head{margin-bottom:10px}.sg-page-head{padding:12px 14px}.sg-panel-head strong,.sg-page-head h2,.sg-card h3,.sg-section-head strong{color:var(--jcai-text);font-weight:750}.sg-page-head h2{margin:2px 0;font-size:18px;line-height:1.25}.sg-panel-head span,.sg-page-head span,.sg-page-head p,.sg-card p,.sg-row p,.sg-mail-row p,.sg-chat-row p,.sg-knowledge-row p,.sg-space-row span,.sg-list-card small,.sg-list-card footer,.sg-section-head span{color:var(--jcai-muted)}.sg-head-actions,.sg-toolbar,.sg-section-head,.sg-modal-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}.sg-head-actions button,.sg-toolbar button,.sg-inline-action,.sg-primary-mini,.sg-action-grid button,.sg-modal-actions button,.sg-row button,.sg-chat-card button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:32px;border:1px solid var(--jcai-border);border-radius:8px;background:#fff;color:var(--jcai-text);padding:6px 10px;font-size:13px}.sg-head-actions button:first-child,.sg-primary-mini,.sg-modal-actions button:last-child{border-color:#b7caf2;background:var(--jcai-primary);color:#fff}.sg-search{display:flex;align-items:center;gap:8px;height:34px;padding:0 10px;border:1px solid var(--jcai-border);border-radius:9px;background:var(--jcai-surface-soft)}.sg-search input{width:100%;border:0;outline:0;background:transparent;color:var(--jcai-text)}.sg-filter-wrap{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.sg-filter-wrap button,.sg-folder,.sg-block-row{min-height:30px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--jcai-muted);padding:6px 8px}.sg-filter-wrap button.active,.sg-folder.active,.sg-block-row:hover,.sg-toolbar button.active{border-color:#c7d7f2;background:var(--jcai-primary-soft);color:var(--jcai-primary);font-weight:700}.sg-rail-list,.sg-content-scroll,.sg-chat-stream{min-height:0;overflow:auto}.sg-rail-list{height:calc(100% - 94px);padding-right:2px}.sg-content-scroll{flex:1;padding:12px 14px 16px}.sg-list-card,.sg-mail-row,.sg-chat-row,.sg-knowledge-row,.sg-space-row,.sg-row,.sg-card,.sg-section,.sg-file-line,.sg-picker-card,.sg-confirm-card{width:100%;border:1px solid var(--jcai-border-soft);border-radius:10px;background:#fff;box-shadow:none}.sg-list-card,.sg-mail-row,.sg-chat-row,.sg-knowledge-row,.sg-space-row{display:block;margin-top:8px;padding:10px;text-align:left}.sg-list-card.active,.sg-mail-row.active,.sg-chat-row.active,.sg-knowledge-row.active,.sg-space-row.active,.sg-row.active{border-color:#98b8ef;background:#f6f9ff;box-shadow:inset 3px 0 0 var(--jcai-primary)}.sg-list-card strong,.sg-mail-row strong,.sg-chat-row strong,.sg-knowledge-row strong{display:block;margin:5px 0 3px;line-height:1.35}.sg-progress{height:5px;margin:10px 0 8px;border-radius:999px;background:#e8eaed}.sg-progress span{display:block;height:100%;border-radius:inherit;background:var(--jcai-primary)}.sg-status{display:inline-flex;align-items:center;width:fit-content;min-height:22px;border-radius:999px;padding:2px 8px;background:#f0f2f5;color:#565c66;font-size:12px;font-weight:700}.sg-status.running{background:#eaf0ff;color:#3370ff}.sg-status.warning{background:#fff7ed;color:#b45309}.sg-status.pending{background:#fff1f2;color:#be123c}.sg-status.success{background:#f0fdf4;color:#15803d}.sg-status.neutral{background:#f1f5f9;color:#565c66}.sg-kpi-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:10px 14px;border-bottom:1px solid var(--jcai-border-soft)}.sg-kpi-strip div,.sg-meta-grid article{border:1px solid var(--jcai-border-soft);border-radius:9px;background:var(--jcai-surface-soft);padding:8px 10px}.sg-kpi-strip span,.sg-meta-grid span{display:block;color:var(--jcai-muted);font-size:12px}.sg-kpi-strip strong,.sg-meta-grid strong{display:block;margin-top:2px;color:var(--jcai-text);font-size:15px}.sg-tabs{display:flex;gap:12px;padding:0 14px;border-bottom:1px solid var(--jcai-border-soft)}.sg-tabs button{border:0;border-bottom:2px solid transparent;background:transparent;color:var(--jcai-muted);padding:10px 2px 9px}.sg-tabs button.active{border-bottom-color:var(--jcai-primary);color:var(--jcai-primary);font-weight:750}.sg-section{margin-bottom:10px;padding:12px}.sg-section-head{padding-bottom:8px;border-bottom:1px solid var(--jcai-border-soft);margin-bottom:10px}.sg-gantt{overflow:auto;border:1px solid var(--jcai-border-soft);border-radius:9px}.sg-row{display:grid;grid-template-columns:20px minmax(0,1fr) auto auto;align-items:center;gap:10px;margin-bottom:8px;padding:10px}.sg-row.risk{background:#fffaf2}.sg-card{margin-bottom:10px;padding:12px}.sg-card.flat{margin-top:10px;background:var(--jcai-surface-soft)}.sg-card dl{display:grid;grid-template-columns:64px 1fr;gap:6px 10px;margin:0}.sg-card dt{color:var(--jcai-muted)}.sg-card dd{margin:0;color:var(--jcai-text)}.sg-file-chip,.sg-file-line{display:flex;align-items:center;gap:8px;margin-top:7px;padding:8px 10px;text-align:left}.sg-file-chip{width:fit-content}.sg-table-wrap header{display:flex;align-items:center;gap:8px;margin-bottom:8px}.sg-table{width:100%;border-collapse:collapse;overflow:hidden;border:1px solid var(--jcai-border-soft);border-radius:9px;background:#fff}.sg-table th,.sg-table td{border-bottom:1px solid var(--jcai-border-soft);padding:9px 10px;text-align:left;vertical-align:top}.sg-table th{background:var(--jcai-surface-soft);color:var(--jcai-muted);font-weight:700}.sg-account,.sg-member-row{display:flex;align-items:flex-start;gap:9px;padding:10px;border:1px solid var(--jcai-border-soft);border-radius:10px;background:var(--jcai-surface-soft);text-align:left}.sg-folder{width:100%;display:flex;align-items:center;justify-content:space-between;margin-top:4px;text-align:left}.sg-mail-row header,.sg-chat-row header,.sg-message-bubble header{display:flex;justify-content:space-between;gap:8px}.sg-mail-row footer,.sg-knowledge-row footer{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.sg-mail-row em,.sg-knowledge-row em{border-radius:999px;background:#f1f5f9;color:var(--jcai-muted);padding:2px 7px;font-style:normal;font-size:11px}.mail-body pre,.sg-doc-preview,.sg-json-preview,.sg-log-list pre,.sg-modal pre{white-space:pre-wrap;margin:0;color:var(--jcai-text);font-family:inherit;line-height:1.55}.sg-action-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.sg-action-grid.single{grid-template-columns:1fr 1fr}.sg-confirm-card{margin-top:10px;padding:12px;background:#fffaf2;border-color:#fed7aa}.sg-chat-stream{flex:1;padding:14px;background:#fbfdff}.sg-main-panel.chat{display:grid;grid-template-rows:auto 1fr auto}.sg-message-bubble{max-width:78%;margin-bottom:10px;border:1px solid var(--jcai-border-soft);border-radius:12px;background:#fff;padding:10px 12px}.sg-message-bubble.mine{margin-left:auto;border-color:#c7d7f2;background:#f4f8ff}.sg-chat-card,.sg-approval-card{margin-top:8px;border:1px solid var(--jcai-border);border-radius:10px;background:var(--jcai-surface-soft);padding:10px}.sg-approval-card{display:grid;grid-template-columns:20px 1fr;gap:8px}.sg-approval-card.pending{border-color:#fed7aa;background:#fff7ed}.sg-approval-card footer{grid-column:2;display:flex;gap:8px}.sg-chat-input{display:grid;grid-template-columns:1fr 42px;gap:8px;padding:12px;border-top:1px solid var(--jcai-border-soft)}.sg-chat-input textarea,.sg-editor-prompt textarea,.sg-modal textarea,.sg-card textarea,.sg-modal input,.sg-modal select,.sg-wide-select,.sg-card select{width:100%;border:1px solid var(--jcai-border);border-radius:9px;background:#fff;color:var(--jcai-text);padding:9px 10px}.sg-chat-input textarea{min-height:46px;resize:none}.sg-member-row{width:100%;margin-bottom:8px;background:#fff}.sg-member-row i{width:9px;height:9px;border-radius:999px;margin-top:6px;background:#cbd5e1}.sg-member-row i.online{background:#22c55e}.sg-space-row{display:flex;gap:10px}.sg-meta-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.sg-editor-prompt{display:grid;grid-template-columns:22px minmax(0,1fr) 96px;gap:10px;align-items:center;padding:10px 14px;border-bottom:1px solid var(--jcai-border-soft)}.sg-editor-prompt textarea{min-height:42px;resize:vertical}.sg-flow-canvas{display:grid;gap:8px}.sg-flow-node{display:grid;grid-template-columns:30px minmax(0,1fr) auto 20px;align-items:center;gap:10px;border:1px solid var(--jcai-border-soft);border-radius:10px;background:#fff;padding:10px;text-align:left}.sg-flow-node.active{border-color:#98b8ef;background:#f6f9ff}.sg-flow-node>span{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;background:var(--jcai-primary-soft);color:var(--jcai-primary);font-weight:750}.sg-flow-node em{border-radius:999px;background:#f1f5f9;color:var(--jcai-muted);padding:3px 7px;font-style:normal}.sg-section.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.sg-log-list,.sg-json-preview{border:1px solid var(--jcai-border-soft);border-radius:9px;background:var(--jcai-surface-soft);padding:10px}.sg-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:grid;place-items:center;background:#1f232947}.sg-modal>section{width:min(760px,calc(100vw - 48px));max-height:calc(100vh - 80px);overflow:auto;border:1px solid var(--jcai-border);border-radius:14px;background:#fff;box-shadow:var(--jcai-shadow-2);padding:16px}.sg-modal header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.sg-modal label,.sg-card label{display:grid;gap:6px;margin:9px 0;color:var(--jcai-muted);font-size:12px}.sg-modal textarea{min-height:160px}.sg-picker-card{display:block;margin:8px 0;padding:12px;text-align:left}.sg-toast{position:fixed;right:28px;bottom:28px;z-index:80;border-radius:10px;background:#111827;color:#fff;box-shadow:var(--jcai-shadow-2);padding:11px 14px}@media(max-width:1280px){.sg-mail,.sg-message,.sg-knowledge{grid-template-columns:220px 320px minmax(0,1fr)}.sg-mail .sg-inspector,.sg-message .sg-inspector,.sg-knowledge .sg-inspector{display:none}}