/* 客户总控独立页与批量跟进（2026-09-12） */
.customer-console-page main{padding:0!important}
.customer-console-page > main > header{display:none!important}
.customer-console-standalone{position:relative;height:calc(100vh - 16px);min-height:620px;background:#f7f5f2}
.customer-console-standalone .ai-workbench-frame{position:absolute;inset:0}
.customer-console-standalone .ai-internal-page{overflow:hidden}
.cc-shell-standalone{height:100%!important;min-height:0;padding:8px;gap:7px;max-width:100%;overflow-x:hidden}
.cc-shell-standalone .cc-topbar{padding-left:22px}
.cc-shell-standalone .cc-topbar{min-height:34px}
.cc-shell-standalone .cc-title h2{font-size:18px}
.cc-shell-standalone .cc-title span{margin-top:1px}
.cc-console-top-fold{display:grid;grid-template-rows:1fr;min-height:0;flex:none;overflow:hidden;transition:grid-template-rows .22s ease,opacity .18s ease}
.cc-console-top-fold-inner{display:flex;flex-direction:column;gap:7px;min-height:0;overflow:hidden}
.cc-console-top-fold.is-collapsed{grid-template-rows:0fr;opacity:0;pointer-events:none}
.cc-shell-standalone .cc-top-summary{padding:5px 8px}
.cc-shell-standalone .cc-summary-chip{padding:4px 7px;font-size:11px}
.cc-command-bar{display:grid;grid-template-columns:auto minmax(260px,1fr) auto;align-items:center;gap:10px;padding:7px 9px;border:1px solid #e2d5c8;border-radius:10px;background:#fffdf9;flex:none;min-width:0}
.cc-command-title{min-width:0}.cc-command-title b{display:block;color:#53151c;font-size:14px}.cc-command-title span{display:block;margin-top:1px;overflow:hidden;color:#8b786c;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.cc-command-input{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;min-width:0}.cc-command-input input{min-width:0;padding:8px 10px;border:1px solid #dfd1c2;border-radius:8px;background:#fff;color:#342b2d;font:inherit;font-size:13px}.cc-command-input button{padding:8px 13px;border:1px solid #7e1c2a;border-radius:8px;background:#7e1c2a;color:#fff;font:inherit;font-weight:700;cursor:pointer}
.cc-command-presets{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.cc-command-presets button{padding:5px 8px;border:1px solid #e0d2c1;border-radius:999px;background:#fff;color:#6b5049;font:inherit;font-size:11px;cursor:pointer;white-space:nowrap}.cc-command-presets button:hover{border-color:#bd8b4d;background:#fffaf0}
.cc-aggregate{display:grid;grid-template-columns:180px minmax(340px,.9fr) minmax(420px,1.5fr);gap:8px;min-height:0;height:100%;overflow:hidden}
.cc-sales-column,.cc-queue-column,.cc-detail-column{border:1px solid #e6dcd1;border-radius:10px;background:#fff;min-width:0;min-height:0}
.cc-sales-column,.cc-queue-column{display:flex;flex-direction:column;overflow:hidden}.cc-detail-column{display:flex;flex-direction:column;overflow:hidden}.cc-detail-column .cc-detail{flex:1;min-width:0;border:0;border-radius:0}
.cc-column-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:11px 12px 9px;border-bottom:1px solid #eee5dc;flex:none}.cc-column-head b{color:#4b2025;font-size:15px}.cc-column-head span{color:#9b8d84;font-size:12px}.cc-sales-column-list{display:flex;flex-direction:column;gap:7px;padding:8px;overflow-y:auto;overflow-x:hidden;min-height:0;scrollbar-width:none;-ms-overflow-style:none}.cc-sales-column-list::-webkit-scrollbar{width:0;height:0;display:none}.cc-sales-column .cc-sale{height:66px;padding:9px 10px}.cc-sales-column .cc-sale-main b{font-size:14px}.cc-sales-column .cc-sale-main em{font-size:12px}.cc-sales-column .cc-sale-badges i{font-size:11px}.cc-sale-all{background:#f6f0e8}.cc-sale-row{position:relative}.cc-sale-row .cc-sale{width:100%;padding-right:10px}.cc-sale.pinned{border-color:#c69754;box-shadow:inset 3px 0 0 #c69754}.cc-sale-auto,.cc-sale-pin{position:absolute;right:6px;width:44px;padding:2px 2px;border:1px solid #dfd2c4;border-radius:5px;background:#fff;color:#8b786c;font:inherit;font-size:9px;line-height:1.2;text-align:center;cursor:pointer}.cc-sale-auto{right:38px;bottom:6px}.cc-sale-auto.active{border-color:#4f8a5b;background:#f1fbf3;color:#2f6b3d;font-weight:700}.cc-sale-auto.failed{border-color:#d79b8d;background:#fff5f2;color:#a23a28}.cc-sale-auto:disabled{cursor:not-allowed;opacity:.62}.cc-sale-pin{bottom:7px;width:28px}.cc-sale-pin.active{border-color:#b77e45;background:#fff4e3;color:#8b5718;font-weight:700}.cc-aggregate-pinned{position:sticky;top:-8px;z-index:2;box-shadow:0 6px 12px rgba(92,55,34,.08)}
.cc-queue-column .cc-queue-head{padding:11px 12px 9px}.cc-queue-column .cc-queue-head b{font-size:16px}.cc-queue-column .cc-queue-head span{font-size:12px}.cc-queue-column .cc-queue-head input{width:100%;box-sizing:border-box;margin-top:8px;padding:8px 10px;font-size:13px}.cc-queue-filters{display:flex;gap:6px;padding:0 11px 9px;border-bottom:1px solid #f1e9df;overflow-x:auto;flex:none}.cc-queue-filters button{flex:none;padding:5px 9px;border:1px solid #e4d9ce;border-radius:999px;background:#fff;color:#7a6762;font:inherit;font-size:12px;cursor:pointer;white-space:nowrap}.cc-queue-filters button.active{border-color:#7e1c2a;background:#fff2ef;color:#7e1c2a;font-weight:700}.cc-queue-column .cc-queue-scroll{padding:8px;gap:7px;overflow-y:auto;overflow-x:hidden;min-height:0;scrollbar-width:none;-ms-overflow-style:none}.cc-queue-column .cc-queue-scroll::-webkit-scrollbar{width:0;height:0;display:none}.cc-queue-column .cc-customer{padding:11px 12px;gap:5px}.cc-queue-column .cc-customer-top b{font-size:15px}.cc-queue-column .cc-customer-sub,.cc-queue-column .cc-customer-msg{font-size:12.5px}.cc-queue-column .cc-state{font-size:11px;padding:3px 7px}.cc-detail-title b{font-size:18px}.cc-detail-head>div:first-child>span{font-size:12px}.cc-chat{font-size:13.5px;line-height:1.75}
.cc-sales-strip{display:flex;gap:7px;padding:6px;border:1px solid #e5dbd0;border-radius:10px;background:#fff;overflow-x:auto;overflow-y:hidden;flex:none;min-height:82px}
.cc-sale-card{position:relative;flex:0 0 218px;height:68px;box-sizing:border-box;display:grid;grid-template-columns:12px minmax(0,1fr) auto;grid-template-rows:auto auto;gap:1px 7px;align-items:center;padding:7px 8px;border:1px solid transparent;border-radius:9px;background:#faf8f5;color:#4b2025;text-align:left;font:inherit;cursor:pointer;overflow:hidden}.cc-sale-card:hover{border-color:#d8c5aa;background:#fff}.cc-sale-card.selected{border-color:#7e1c2a;background:#fff4f1;box-shadow:inset 3px 0 0 #7e1c2a}.cc-sale-card.all{flex-basis:170px;background:#f6f0e8}
.cc-sale-card-dot{grid-column:1;grid-row:1/3;width:10px;height:10px;border-radius:50%;background:#aaa}.cc-sale-card-dot.online{background:#1b9c62;box-shadow:0 0 0 4px rgba(27,156,98,.12)}.cc-sale-card-dot.warning{background:#d69a1e;box-shadow:0 0 0 4px rgba(214,154,30,.12)}.cc-sale-card-dot.offline{background:#cf3f36;box-shadow:0 0 0 4px rgba(207,63,54,.10)}.cc-sale-card-dot.no_report{background:#aaa}.cc-sale-card-dot.all-dot{background:linear-gradient(135deg,#7e1c2a,#d6a75e)}
.cc-sale-card-main{grid-column:2;grid-row:1;display:flex;align-items:baseline;gap:6px;min-width:0}.cc-sale-card-main b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.cc-sale-card-main em{color:#8b7c72;font-size:11px;font-style:normal;white-space:nowrap}.cc-sale-card-state{grid-column:3;grid-row:1;color:#8b7c72;font-size:11px;font-weight:700;white-space:nowrap}.cc-sale-card-state.online{color:#16845b}.cc-sale-card-state.warning{color:#9a6410}.cc-sale-card-state.offline{color:#b42318}.cc-sale-card-signals{grid-column:2/4;grid-row:2;display:flex;gap:4px;min-width:0;overflow:hidden}.cc-sale-card-signals i{display:inline-block;max-width:86px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:2px 5px;border-radius:4px;background:#f1ece6;color:#8b7c6d;font-size:10px;font-style:normal}.cc-sale-card-signals i.error{background:#fde8e6;color:#b42318}.cc-sale-card-signals i.unread{background:#fff2d6;color:#9a6410}.cc-sale-card-signals i.due{background:#e8f3ff;color:#2f6fed}.cc-sale-card-signals i.stale{background:#fff0e8;color:#a43d25}.cc-sale-card-signals i.pending{background:#eef7f0;color:#16845b}
.cc-workspace{min-height:0;flex:1;overflow:hidden}.cc-workspace .cc-single{grid-template-columns:360px minmax(0,1fr)}.cc-workspace .cc-queue-head{padding:11px 12px}.cc-workspace .cc-queue-head b{font-size:15px}.cc-workspace .cc-queue-scroll{gap:6px;padding:8px}.cc-workspace .cc-customer{gap:4px;padding:10px 11px}.cc-workspace .cc-customer-top b{font-size:14px}.cc-workspace .cc-customer-sub,.cc-workspace .cc-customer-msg{font-size:12px}
.cc-batch-panel{display:flex;flex-direction:column;height:100%;min-height:0;border:1px solid #e6dcd1;border-radius:10px;background:#fff;overflow:hidden}.cc-batch-loading{display:grid;place-items:center;height:100%;color:#7a6762;font-size:13px}.cc-batch-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:11px 12px;border-bottom:1px solid #eee5dc;flex:none}.cc-batch-head h3{margin:0;color:#53151c;font-size:16px}.cc-batch-head span{display:block;margin-top:3px;color:#8b786c;font-size:11px}.cc-batch-head-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end;flex:none}.cc-batch-head-actions button{padding:7px 10px;border:1px solid #dbcbbb;border-radius:8px;background:#fff;color:#5b4948;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.cc-batch-head-actions button.primary{border-color:#7e1c2a;background:#7e1c2a;color:#fff}.cc-batch-head-actions button:disabled{opacity:.5;cursor:not-allowed}.cc-batch-columns,.cc-batch-row{display:grid;grid-template-columns:38px 175px minmax(220px,.85fr) minmax(340px,1.35fr) 120px;gap:9px;align-items:center}.cc-batch-columns{padding:7px 11px;background:#faf7f2;color:#9a8d84;font-size:11px;font-weight:700;border-bottom:1px solid #eee5dc;flex:none}.cc-batch-list{min-height:0;overflow:auto;padding:7px}.cc-batch-row{margin-bottom:6px;padding:9px;border:1px solid #e8ddd1;border-radius:9px;background:#fffdfa;cursor:pointer}.cc-batch-row.selected{border-color:#b77e45;background:#fff8ed}.cc-batch-row.blocked{background:#faf9f7;cursor:default}.cc-batch-row input{width:16px;height:16px}.cc-batch-customer{min-width:0}.cc-batch-customer b,.cc-batch-customer em{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cc-batch-customer b{color:#4b2025;font-size:13px}.cc-batch-customer em{margin-top:2px;color:#8b786c;font-size:11px;font-style:normal}.cc-batch-context,.cc-batch-message{color:#5e4d47;font-size:12px;line-height:1.45;word-break:break-word}.cc-batch-context{max-height:44px;overflow:hidden}.cc-batch-message{padding:7px 8px;border-radius:7px;background:#fbf6ef}.cc-batch-state{justify-self:end;padding:4px 7px;border-radius:999px;background:#eef7f0;color:#16845b;font-size:11px;font-weight:700;text-align:center}.cc-batch-row.blocked .cc-batch-state{background:#f3eeea;color:#8b7c72}.cc-batch-empty{display:grid;place-items:center;min-height:220px;color:#8b786c;font-size:13px}.cc-batch-result{padding:8px 11px;border-top:1px solid #eadfc9;background:#fff8e8;color:#6b4d18;font-size:12px;flex:none}
.ai-workbench-home{height:100%;overflow:auto;padding:18px}.ai-workbench-home-head{display:flex;align-items:baseline;justify-content:space-between;gap:14px;padding-bottom:12px;border-bottom:1px solid #eee2d4}.ai-workbench-home-head h2{margin:0;color:#53151c;font-size:20px}.ai-workbench-home-head span{color:#8b786c;font-size:12px}.ai-workbench-home-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px;padding-top:14px}.ai-workbench-home-card{display:flex;align-items:center;gap:12px;min-height:76px;padding:12px 14px;border:1px solid #e5d9ca;border-radius:11px;background:#fff;text-align:left;cursor:pointer}.ai-workbench-home-card:hover{border-color:#c69754;background:#fffaf0}.ai-workbench-home-card img{width:38px;height:38px;object-fit:contain}.ai-workbench-home-card span{display:grid;gap:3px}.ai-workbench-home-card b{color:#4b2025;font-size:15px}.ai-workbench-home-card em{color:#8b786c;font-size:11px;font-style:normal}
.cc-detail-inline-loading{padding:12px;border:1px solid #eadfce;border-radius:9px;background:#fffaf3;color:#8b6d45;font-size:12px}.cc-detail-scroll{overflow-x:hidden}
@media(max-width:1220px){.cc-command-bar{grid-template-columns:auto minmax(220px,1fr)}.cc-command-presets{grid-column:1/-1;justify-content:flex-start}.cc-aggregate{grid-template-columns:205px 285px minmax(275px,1fr)}.cc-batch-columns,.cc-batch-row{grid-template-columns:38px 170px minmax(0,1fr) 110px}.cc-batch-columns span:nth-child(3){display:none}.cc-batch-context{display:none}.cc-workspace .cc-single{grid-template-columns:310px minmax(0,1fr)}}
@media(max-width:1180px){.customer-console-standalone{height:auto;min-height:900px}.cc-command-bar{grid-template-columns:1fr}.cc-command-input{grid-template-columns:1fr}.cc-aggregate{grid-template-columns:1fr;grid-template-rows:185px 320px minmax(440px,1fr);height:auto;overflow:visible}.cc-sales-column-list{flex-direction:row;overflow-x:auto;overflow-y:hidden}.cc-sale-row{flex:0 0 204px}.cc-sale{flex:none;height:66px}.cc-sales-column .cc-column-head{display:none}.cc-batch-head{flex-direction:column}.cc-batch-head-actions{justify-content:flex-start}.cc-batch-columns{display:none}.cc-batch-row{grid-template-columns:32px minmax(0,1fr) 100px}.cc-batch-message{grid-column:2/4}.cc-batch-state{grid-column:3;grid-row:1}.cc-batch-context{display:none}.cc-shell .ca-followup-fields{grid-template-columns:1fr}}

/* 客户总控 · 一主四副聊天窗口（2026-09-12） */
.cc-detail-column{background:#f6f2ed}
.cc-main-window{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;border:1px solid #e6dcd1;border-radius:9px;background:#fff}
.cc-main-window>.cc-detail-head{padding:10px 11px;background:#fffdfa}
.cc-main-window>.cc-detail-scroll{flex:1;min-height:0;padding:10px;overflow:auto;overflow-x:hidden}
.cc-main-window .cc-chat-card{min-width:0}
.cc-main-window .cc-chat{height:clamp(185px,31vh,340px);max-height:none;min-height:150px;box-sizing:border-box;overscroll-behavior:contain}
.cc-chat-card{min-width:0}
.cc-unread-count{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:18px;height:18px;box-sizing:border-box;padding:0 5px;border-radius:999px;background:#e5484d;color:#fff;font-size:10px;font-style:normal;font-weight:800;line-height:1;box-shadow:0 1px 2px rgba(184,28,35,.22)}
.cc-state.handling{background:#e8f3ff;color:#2f6fed}
.cc-state.unreplied{background:#fff0e8;color:#a43d25}
.cc-customer-tag{flex:none;max-width:132px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:2px 6px;border-radius:999px;background:#fff3d6;color:#8a5a00;font-size:10px;font-style:normal;font-weight:700}
.cc-sale-badges i.unreplied{background:#fff0e8;color:#a43d25}
.cc-customer-flags{display:flex;align-items:center;justify-content:flex-end;gap:4px;flex:none}
.cc-queue-column .cc-customer{min-height:78px;box-sizing:border-box;border-left:3px solid transparent}
.cc-queue-column .cc-customer.has-unread{border-left-color:#e5484d;background:#fff8f7}
.cc-queue-column .cc-customer.has-sales-handling{border-left-color:#2f6fed;background:#f4f8ff}
.cc-queue-column .cc-customer.has-unreplied{border-left-color:#d97706;background:#fffaf2}
.cc-queue-column .cc-customer-top b{min-width:0}
.cc-queue-column .cc-customer-msg{font-size:12px}
.cc-queue-group{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:3px 0 1px;padding:7px 9px;border:1px solid #ece2d6;border-radius:7px;background:#faf6f0;color:#7c6a60;font-size:12px;font-weight:700;line-height:1.2}
.cc-queue-group span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cc-queue-group em{color:#9a887c;font-size:11px;font-style:normal;font-weight:700}
.cc-queue-group.pinned{border-color:#e2c9a6;background:#fff6e8;color:#8b5718}
.cc-queue-group.pinned em{color:#a6763b}
.cc-queue-more{padding:10px 8px 14px;color:#8d7f76;font-size:11px;line-height:1.45;text-align:center}
.cc-queue-column .cc-customer.pinned{box-shadow:inset 0 0 0 1px #ecd7b8}
.cc-sales-column .cc-sale{height:70px;padding-right:10px}
.cc-sales-column .cc-sale-badges{padding-right:78px}
.cc-sales-column .cc-sale-main{display:grid;gap:0}
.cc-sales-column .cc-sale-main b{font-size:13px}
.cc-sales-column .cc-sale-main em{font-size:10px;white-space:nowrap}
.cc-sale-pin{width:24px;right:5px;bottom:6px}
@media(max-width:1600px){.cc-aggregate{grid-template-columns:160px 300px minmax(0,1fr)}.cc-watchboard{grid-template-columns:minmax(0,1fr) 250px}}
@media(max-width:1220px){.cc-aggregate{grid-template-columns:145px 250px minmax(0,1fr)}.cc-watchboard{grid-template-columns:minmax(0,1fr) 230px}}
@media(max-width:1180px){.cc-aggregate{grid-template-columns:1fr;grid-template-rows:185px 300px minmax(760px,1fr);height:auto;overflow:visible}.cc-watchboard{grid-template-columns:minmax(0,1fr) 320px;height:760px}.cc-watch-side{grid-template-rows:repeat(4,minmax(0,1fr))}}
@media(max-width:900px){.cc-watchboard{grid-template-columns:1fr;grid-template-rows:minmax(480px,1fr) auto;height:auto}.cc-watch-side{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,260px);height:auto}.cc-main-window .cc-chat{height:260px}}


/* 客户总控最终工作区：销售｜客户列表｜主聊天｜AI分析＋四副窗口 */
/* 2026-10-14 布局重做：聊天列吃剩余宽度（1fr），判断/OPS 列收窄并可一键收起，
   解决「聊天太小、判断/OPS 太大、互相遮挡」。 */
.cc-aggregate{grid-template-columns:126px minmax(168px,214px) minmax(0,1fr) minmax(300px,384px)}
.cc-aggregate.cc-detail-collapsed{grid-template-columns:126px minmax(168px,214px) minmax(0,1fr) 0}
.cc-aggregate.cc-detail-collapsed>.cc-detail-column{display:none}
.cc-sales-column,.cc-queue-column,.cc-main-chat-column,.cc-detail-column{border:1px solid #e6dcd1;border-radius:10px;background:#fff;min-width:0;min-height:0}
.cc-main-chat-column{display:flex;flex-direction:column;overflow:hidden}
.cc-detail-column{display:flex;flex-direction:column;overflow:hidden;background:#f6f2ed}
.cc-main-chat-column>.cc-detail-scroll{flex:1;min-height:0;padding:10px;overflow:hidden}
.cc-main-chat-column .cc-chat-card{display:flex;flex-direction:column;height:100%;min-height:0}
.cc-main-chat-column .cc-chat{flex:1;height:auto;max-height:none;min-height:0;box-sizing:border-box;overscroll-behavior:contain}
/* 2026-10-14 老板口径：聊天框像微信——上面就一个名字 + 右侧操作，下面整块都是聊天。
   OPS 明细搬到右侧判断面板，聊天区只在「电话待接管」时才出现操作条。 */
.cc-chat-head{display:flex;align-items:center;gap:7px;min-width:0;padding:8px 11px;border-bottom:1px solid #eee5dc;background:#fffdfa;flex:none}
.cc-main-chat-stack>.cc-main-chat-top>.cc-chat-head{flex:none}
.cc-chat-head-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#4b2025;font-size:15px;font-weight:750}
.cc-chat-head-meta{min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#9a8d84;font-size:11px}
.cc-chat-head-actions{display:flex;align-items:center;gap:6px;flex:0 0 auto;flex-wrap:nowrap}
.cc-chat-head-actions button{padding:5px 9px;border:1px solid #dbcbbb;border-radius:7px;background:#fff;color:#5b4948;font:inherit;font-size:11px;font-weight:700;white-space:nowrap;cursor:pointer}
.cc-chat-head-actions button:hover{border-color:#b77e45;color:#8b5718}
/* 聊天列里的 OPS 条压成一行：只留「当前阶段 + 电话接管」，明细全在右侧判断面板。
   老板口径：聊天框上面不要一大片，就像微信那样一个名字下面直接聊。 */
.cc-main-chat-column .cc-ops-stage-strip{grid-template-columns:minmax(0,1fr) auto;margin:0;border:0;border-bottom:1px solid #eee5dc;border-radius:0;background:#fffdfa;gap:0}
.cc-main-chat-column .cc-ops-stage-strip>div{padding:6px 10px;background:transparent}
.cc-main-chat-column .cc-ops-stage-strip>.cc-ops-stage-main span{display:none}
.cc-main-chat-column .cc-ops-stage-strip>.cc-ops-stage-main b{display:inline;margin:0;color:#4b2025;font-size:12px}
.cc-main-chat-column .cc-ops-stage-strip>.cc-ops-stage-main em{display:inline-block;margin:0 0 0 7px;font-size:9.5px;vertical-align:middle}
.cc-main-chat-column .cc-ops-stage-strip>.cc-ops-phone-actions{grid-column:2;grid-row:1;padding:6px 10px}
.cc-main-chat-column .cc-ops-stage-strip>.cc-ops-stage-next,
.cc-main-chat-column .cc-ops-stage-strip>.cc-ops-stage-origin,
.cc-main-chat-column .cc-ops-stage-strip>.cc-ops-step-rail,
.cc-main-chat-column .cc-ops-stage-strip>.cc-ops-stage-analysis,
.cc-main-chat-column .cc-ops-stage-strip>.cc-ops-stage-line,
.cc-main-chat-column .cc-ops-stage-strip>.cc-ops-boundary{display:none}
.cc-main-chat-column>.cc-main-chat-stack{display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden}
.cc-main-chat-stack>.cc-main-chat-top{display:flex;flex:1 1 auto;flex-direction:column;min-height:0;overflow:hidden}
.cc-main-chat-stack>.cc-main-chat-top>.cc-detail-head{padding:10px 11px;background:#fffdfa;flex:none}
.cc-main-chat-stack>.cc-main-chat-top>.cc-detail-scroll{display:flex;flex:1;min-height:0;padding:10px;overflow:hidden}
.cc-main-chat-stack>.cc-main-chat-top>.cc-detail-scroll>.cc-chat-card{display:flex;flex:1;flex-direction:column;height:auto;min-height:0}
.cc-main-chat-stack>.cc-main-chat-top>.cc-detail-scroll .cc-chat{flex:1;height:auto;max-height:none;min-height:0;overflow:auto;box-sizing:border-box;overflow-anchor:none;overscroll-behavior:contain}
.cc-main-chat-stack>.cc-main-chat-top>.cc-manual-send{flex:none}
.cc-main-chat-stack>.cc-main-chat-top>.cc-main-manual-send{flex:0 0 84px;height:84px;min-width:0;margin:0 10px 10px;overflow:auto;border:1px solid #eae0d5;border-radius:9px;background:#fffdfa}
.cc-main-manual-send-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:7px 8px 0}
.cc-main-manual-send-head b{flex:none;color:#4b2025;font-size:11px}.cc-main-manual-send-head span{min-width:0;overflow:hidden;color:#9a8d84;font-size:10px;text-align:right;text-overflow:ellipsis;white-space:nowrap}
.cc-main-manual-send>.cc-manual-send{border-top:0;background:transparent}
.cc-auto-follow-dock{display:flex;flex:0 0 clamp(340px,55%,520px);flex-direction:column;min-height:300px;border-top:1px solid #d9c8b9;background:#f7f2ec;overflow:hidden}
.cc-auto-follow-dock-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 9px;border-bottom:1px solid #e5d8cc;background:#fffaf5;flex:none}
.cc-auto-follow-dock-head>div{min-width:0}.cc-auto-follow-dock-head>b,.cc-auto-follow-dock-head span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cc-auto-follow-dock-head b{color:#4b2025;font-size:12px}.cc-auto-follow-dock-head span{margin-top:2px;color:#8b786c;font-size:10px}
.cc-auto-follow-dock-head>div:last-child{display:flex;gap:4px;flex:none}.cc-auto-follow-dock-head button{padding:4px 7px;border:1px solid #dccbbe;border-radius:6px;background:#fff;color:#6e5850;font:inherit;font-size:10px;cursor:pointer}.cc-auto-follow-dock-head button.danger{border-color:#d9a29a;background:#fff7f5;color:#a23828}.cc-auto-follow-dock-head button:disabled{opacity:.55;cursor:not-allowed}
.cc-auto-follow-dock-body{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(170px,.85fr);flex:1 1 auto;gap:7px;min-height:150px;padding:7px;overflow:hidden}
.cc-auto-follow-process{display:flex;flex-direction:column;gap:6px;min-width:0;min-height:0;overflow:hidden}
.cc-auto-follow-alert{padding:6px 7px;border:1px solid #e7c995;border-radius:7px;background:#fff8e8;color:#7d5718;font-size:10px;line-height:1.45}.cc-auto-follow-alert b,.cc-auto-follow-alert span{display:block}.cc-auto-follow-alert b{margin-bottom:2px}.cc-auto-follow-alert span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cc-auto-follow-current{padding:7px;border:1px solid #e2d6ca;border-radius:7px;background:#fff}.cc-auto-follow-current>div:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:6px}.cc-auto-follow-current b{color:#4b2025;font-size:11px}.cc-auto-follow-current span{color:#8b786c;font-size:9px}.cc-auto-follow-current em{display:block;margin-top:5px;overflow:hidden;color:#6f5d52;font-size:10px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.cc-auto-follow-current small{display:block;margin-top:4px;overflow:hidden;color:#9b8d84;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.cc-auto-follow-current.live-active{border-color:#b9d4c0;background:#f7fcf8}.cc-auto-follow-current.live-warn{border-color:#e7c995;background:#fffaf0}.cc-auto-follow-current.live-error{border-color:#e0b0a7;background:#fff7f5}.cc-auto-follow-current.live-ok{border-color:#b9d4c0;background:#f4faf5}
.cc-auto-follow-bar{height:5px;margin-top:5px;overflow:hidden;border-radius:999px;background:#eee4da}.cc-auto-follow-bar i{display:block;height:100%;border-radius:inherit;background:#b77e45;transition:width .25s ease}
.cc-auto-follow-events{display:flex;flex:1;flex-direction:column;gap:4px;min-height:0;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.cc-auto-follow-events::-webkit-scrollbar,.cc-auto-follow-chat-scroll::-webkit-scrollbar{width:0;height:0;display:none}
.cc-auto-follow-event{display:grid;grid-template-columns:auto minmax(0,1fr);gap:2px 6px;padding:5px 6px;border:1px solid #e6ddd3;border-radius:6px;background:#fff}.cc-auto-follow-event i{grid-row:1/3;color:#9a8d84;font-size:8px;font-style:normal;white-space:nowrap}.cc-auto-follow-event b{overflow:hidden;color:#5b4948;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.cc-auto-follow-event span{overflow:hidden;color:#81736a;font-size:9px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.cc-auto-follow-event.queued{border-color:#bdd7c1;background:#f6fcf7}.cc-auto-follow-event.queued b{color:#2f6b3d}.cc-auto-follow-event.failed{border-color:#edc3b8;background:#fff7f4}.cc-auto-follow-event.failed b{color:#a23828}
.cc-auto-follow-empty{padding:8px;border:1px dashed #dccdbf;border-radius:7px;background:#fffdfa;color:#8b786c;font-size:10px;line-height:1.5}
.cc-auto-follow-results{display:flex;flex-direction:column;gap:4px;max-height:88px;overflow:auto;scrollbar-width:none}.cc-auto-follow-result{padding:5px 6px;border:1px solid #e6ddd3;border-radius:6px;background:#fff}.cc-auto-follow-result b,.cc-auto-follow-result span,.cc-auto-follow-result em{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cc-auto-follow-result b{color:#4b2025;font-size:10px}.cc-auto-follow-result span,.cc-auto-follow-result em{margin-top:2px;color:#81736a;font-size:9px;font-style:normal}.cc-auto-follow-result.queued{border-color:#bdd7c1;background:#f6fcf7}
.cc-auto-follow-reviews{display:flex;flex:0 0 clamp(240px,50%,320px);flex-direction:column;gap:5px;min-height:240px;padding:7px 7px 8px;border-top:1px solid #e7ddd3;background:#fbf7f2;overflow:hidden}
.cc-auto-follow-review-head{display:flex;align-items:baseline;justify-content:space-between;gap:5px;flex:none}.cc-auto-follow-review-head b{color:#4b2025;font-size:10px}.cc-auto-follow-review-head span{overflow:hidden;color:#8b786c;font-size:8px;text-overflow:ellipsis;white-space:nowrap}
.cc-auto-follow-review-filters{display:flex;gap:3px;flex:none}.cc-auto-follow-review-filters button{padding:2px 5px;border:1px solid #ded1c4;border-radius:5px;background:#fff;color:#725f55;font:inherit;font-size:8px;cursor:pointer}.cc-auto-follow-review-filters button.active{border-color:#8e4c32;background:#8e4c32;color:#fff}
.cc-auto-follow-review-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:5px;flex:1;min-height:0;overflow:auto;align-content:start;scrollbar-width:none}.cc-auto-follow-review-list::-webkit-scrollbar{width:0;height:0;display:none}
.cc-auto-follow-review-item{display:flex;flex-direction:column;gap:3px;min-width:0;padding:7px 8px;border:1px solid #e6ddd3;border-radius:6px;background:#fff}.cc-auto-follow-review-item.correct{border-color:#bdd7c1;background:#f7fcf7}.cc-auto-follow-review-item.wrong{border-color:#e7b9ad;background:#fff8f5}
.cc-auto-follow-review-title{display:flex;align-items:center;justify-content:space-between;gap:5px}.cc-auto-follow-review-title b{overflow:hidden;color:#4b2025;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.cc-auto-follow-review-title i{padding:1px 4px;border-radius:999px;background:#eee5dc;color:#725f55;font-size:8px;font-style:normal;white-space:nowrap}.cc-auto-follow-review-item.correct .cc-auto-follow-review-title i{background:#dcefdc;color:#2f6b3d}.cc-auto-follow-review-item.wrong .cc-auto-follow-review-title i{background:#f5d9d2;color:#9b3526}
.cc-auto-follow-review-item>span,.cc-auto-follow-review-item>em{display:-webkit-box;overflow:hidden;color:#75665e;font-size:10px;font-style:normal;line-height:1.45;text-overflow:ellipsis;white-space:normal;word-break:break-word;-webkit-box-orient:vertical;-webkit-line-clamp:2}.cc-auto-follow-review-item>em{color:#54443e;-webkit-line-clamp:3}.cc-auto-follow-review-item>small{color:#9b3526;font-size:8px}.cc-auto-follow-review-facts{display:flex;gap:6px;flex-wrap:wrap}.cc-auto-follow-review-facts span{color:#8b786c;font-size:8px}
.cc-auto-follow-review-actions{display:flex;align-items:flex-start;gap:4px;margin-top:2px}.cc-auto-follow-review-actions button{padding:3px 6px;border:1px solid #d6c8bc;border-radius:5px;background:#fff;color:#66544b;font:inherit;font-size:8px;cursor:pointer}.cc-auto-follow-review-actions button.ok{border-color:#6b9c75;color:#2f6b3d}.cc-auto-follow-review-actions button.danger{border-color:#d79b8d;color:#9b3526}.cc-auto-follow-review-actions button:disabled{opacity:.5;cursor:not-allowed}
.cc-auto-follow-review-actions details{position:relative;min-width:0}.cc-auto-follow-review-actions summary{padding:3px 6px;border:1px solid #d79b8d;border-radius:5px;background:#fff;color:#9b3526;font-size:8px;cursor:pointer;list-style:none}.cc-auto-follow-review-actions summary::-webkit-details-marker{display:none}.cc-auto-follow-review-actions details[open]{display:grid;grid-template-columns:minmax(72px,.35fr) minmax(0,1fr);gap:3px;padding:5px;border:1px solid #e2c1b7;border-radius:6px;background:#fffaf8}.cc-auto-follow-review-actions details[open] summary{grid-column:1/-1}.cc-auto-follow-review-actions details select,.cc-auto-follow-review-actions details textarea{box-sizing:border-box;min-width:0;padding:3px 4px;border:1px solid #dfcfc4;border-radius:4px;background:#fff;color:#443833;font:inherit;font-size:8px;resize:none}.cc-auto-follow-review-actions details button{grid-column:1/-1}
.cc-auto-follow-chat{display:flex;flex-direction:column;min-width:0;min-height:0;border:1px solid #e2d6ca;border-radius:7px;background:#fff;overflow:hidden}
.cc-auto-follow-chat-head{display:flex;align-items:baseline;justify-content:space-between;gap:5px;padding:6px 7px;border-bottom:1px solid #eee5dc;background:#fffdfa;flex:none}.cc-auto-follow-chat-head b{color:#4b2025;font-size:11px}.cc-auto-follow-chat-head span{overflow:hidden;color:#9a8d84;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
.cc-auto-follow-chat-scroll{display:flex;flex:1;flex-direction:column;gap:5px;min-height:0;padding:6px;overflow:auto;overscroll-behavior:contain}
.cc-auto-follow-message{max-width:94%;padding:5px 6px;border:1px solid #e7ddd2;border-radius:7px;background:#fbf8f4;color:#443833;font-size:10px;line-height:1.45}.cc-auto-follow-message.user{align-self:flex-end;border-color:#7e1c2a;background:#7e1c2a;color:#fff}.cc-auto-follow-message span{display:block;white-space:pre-wrap;word-break:break-word}.cc-auto-follow-message em{display:block;margin-top:2px;color:#a99a90;font-size:8px;font-style:normal}.cc-auto-follow-message.user em{color:rgba(255,255,255,.72)}.cc-auto-follow-message.thinking span{color:#8c7768}
.cc-auto-follow-apply{display:flex;align-items:center;gap:4px;padding:4px 6px;color:#7d6a60;font-size:9px;flex:none}.cc-auto-follow-apply input{margin:0}
.cc-auto-follow-compose{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px;padding:5px 6px 6px;border-top:1px solid #eee5dc;flex:none}.cc-auto-follow-compose textarea{box-sizing:border-box;width:100%;min-height:35px;max-height:70px;padding:5px 6px;border:1px solid #ded1c4;border-radius:6px;background:#fffdfa;color:#3f342f;font:inherit;font-size:10px;line-height:1.35;resize:none}.cc-auto-follow-compose textarea:focus{outline:none;border-color:#b77e45;box-shadow:0 0 0 2px rgba(183,126,69,.12)}.cc-auto-follow-compose button{align-self:end;height:29px;padding:0 8px;border:1px solid #7e1c2a;border-radius:6px;background:#7e1c2a;color:#fff;font:inherit;font-size:10px;font-weight:700;cursor:pointer}.cc-auto-follow-compose button:disabled{opacity:.55;cursor:not-allowed}
.cc-right-workspace{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(150px,1fr) minmax(190px,1.15fr) minmax(150px,1fr);gap:7px;min-width:0;min-height:0;height:100%;overflow:hidden}
.cc-watch-slot{min-width:0;min-height:0;overflow:hidden}
.cc-watch-slot>.cc-watch-pane,.cc-watch-slot>.cc-watch-empty{width:100%;height:100%}
.cc-analysis-pane{grid-column:1/-1;display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;border:1px solid #e6dcd1;border-radius:9px;background:#fff}
.cc-analysis-pane-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding:8px 10px;border-bottom:1px solid #eee5dc;background:#fffdfa;flex:none}
.cc-analysis-pane-head>div{min-width:0}
.cc-analysis-pane-head b,.cc-analysis-pane-head span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cc-analysis-pane-head b{color:#4b2025;font-size:13px}
.cc-analysis-pane-head span{margin-top:2px;color:#9a8d84;font-size:10px}
.cc-analysis-pane-head button{padding:6px 9px;border:1px solid #7e1c2a;border-radius:7px;background:#7e1c2a;color:#fff;font:inherit;font-size:11px;font-weight:700;cursor:pointer;flex:none}
.cc-analysis-pane-head button:disabled{opacity:.55;cursor:not-allowed}
.cc-analysis-pane-scroll{flex:1;min-height:0;padding:8px;overflow:auto;overflow-x:hidden}
.cc-ai-head{align-items:center;padding:7px 8px;gap:6px}
.cc-ai-head-actions{display:flex;align-items:center;gap:4px;flex:none;min-width:0}
.cc-ai-head-actions button{padding:5px 7px;border-color:#e2d6ca;background:#fff;color:#6f5d52;font-size:10px}
.cc-ai-head-actions button.active{border-color:#b77e45;background:#fff4e3;color:#8b5718}
.cc-ai-head-actions button.primary{border-color:#7e1c2a;background:#7e1c2a;color:#fff}
.cc-ai-chat{display:flex;flex-direction:column;height:100%;min-height:0;background:#fbf8f4}
.cc-ai-chat-scroll{display:flex;flex:1;flex-direction:column;gap:6px;min-height:0;padding:8px;overflow:auto;overscroll-behavior:contain}
.cc-ai-message{max-width:92%;padding:6px 8px;border:1px solid #e7ddd2;border-radius:8px;background:#fff;color:#443833;font-size:11px;line-height:1.55}
.cc-ai-message.user{align-self:flex-end;border-color:#7e1c2a;background:#7e1c2a;color:#fff}
.cc-ai-message span{display:block;white-space:pre-wrap;word-break:break-word}
.cc-ai-message em{display:block;margin-top:3px;color:#a99a90;font-size:9px;font-style:normal}
.cc-ai-message.user em{color:rgba(255,255,255,.72)}
.cc-ai-message.thinking span{color:#8c7768}
.cc-ai-quick{display:flex;flex:none;gap:4px;padding:0 7px 6px;overflow-x:auto}
.cc-ai-quick button{padding:4px 7px;border:1px solid #e2d6ca;border-radius:7px;background:#fff;color:#6f5d52;font:inherit;font-size:10px;white-space:nowrap;cursor:pointer}
.cc-ai-quick button:hover{border-color:#b77e45;color:#8b5718}
.cc-ai-quick span{align-self:center;color:#9a8d84;font-size:10px}
.cc-ai-compose{display:grid;flex:none;grid-template-columns:minmax(0,1fr) auto;gap:5px;padding:6px 7px 7px;border-top:1px solid #eee5dc;background:#fff}
.cc-ai-compose textarea{box-sizing:border-box;width:100%;min-height:44px;max-height:96px;padding:6px 7px;border:1px solid #ded1c4;border-radius:7px;background:#fffdfa;color:#3f342f;font:inherit;font-size:11px;line-height:1.45;resize:none}
.cc-ai-compose textarea:focus{outline:none;border-color:#b77e45;box-shadow:0 0 0 2px rgba(183,126,69,.12)}
.cc-ai-compose button{align-self:end;height:32px;padding:0 10px;border:1px solid #7e1c2a;border-radius:7px;background:#7e1c2a;color:#fff;font:inherit;font-size:11px;font-weight:700;cursor:pointer}
.cc-ai-compose button:disabled,.cc-ai-compose textarea:disabled{opacity:.55;cursor:not-allowed}
.cc-ai-task{display:flex;flex-direction:column;height:100%;min-height:0;background:#f7f5f2}
.cc-ai-task-hero{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;flex:none;padding:11px 12px;border-bottom:1px solid #ece4da;background:#fff}
.cc-ai-task-mark{display:grid;place-items:center;width:34px;height:34px;border:1px solid #ead9d4;border-radius:10px;background:#fff5f3;color:#7e1c2a;font-size:11px;font-weight:900;letter-spacing:.03em}
.cc-ai-task-hero>div{min-width:0}.cc-ai-task-hero b,.cc-ai-task-hero span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cc-ai-task-hero b{color:#3f1d22;font-size:14px}.cc-ai-task-hero span{margin-top:2px;color:#9b8b82;font-size:10px}
.cc-ai-task-state{display:inline-flex!important;align-items:center;gap:5px;padding:4px 7px;border:1px solid #dce8df;border-radius:999px;background:#f4faf5;color:#39714a!important;font-size:9px!important;font-style:normal}.cc-ai-task-state:before{width:5px;height:5px;border-radius:50%;background:#4d9662;content:""}.cc-ai-task-state.busy{border-color:#e5d9ef;background:#faf6fd;color:#76518f!important}.cc-ai-task-state.busy:before{background:#8f6bb0}
.cc-ai-task-form{display:grid;gap:9px;flex:none;padding:11px 12px 12px;border-bottom:1px solid #eee5dc;background:#fff}
.cc-ai-task-scope-row{display:grid;grid-template-columns:1fr;align-items:stretch;gap:7px;min-width:0}.cc-ai-task-form label{display:grid;gap:5px;min-width:0;color:#74635b;font-size:10px;font-weight:800}.cc-ai-task-form label>span{letter-spacing:.01em}.cc-ai-task-scope-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.cc-ai-task-scope-head b{color:#74635b;font-size:10px}.cc-ai-task-scope-head em{min-width:0;overflow:hidden;color:#a09289;font-size:9px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.cc-ai-task-scope-tabs{display:flex;gap:4px;flex-wrap:wrap}.cc-ai-task-scope-tabs button{padding:4px 7px;border:1px solid #e1d7cc;border-radius:7px;background:#fff;color:#806f66;font:inherit;font-size:9px;cursor:pointer}.cc-ai-task-scope-tabs button.active{border-color:#d8b7bd;background:#fff3f4;color:#7e1c2a;font-weight:800}.cc-ai-task-scope-tabs button:disabled{opacity:.45;cursor:not-allowed}.cc-ai-task-sales{display:grid;grid-template-columns:1fr;gap:4px;max-height:132px;overflow:auto;padding-right:2px}.cc-ai-task-sale{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:6px;width:100%;padding:5px 7px;border:1px solid #e8ded4;border-radius:8px;background:#fffdfa;color:#5d4e48;font:inherit;text-align:left;cursor:pointer}.cc-ai-task-sale:hover{border-color:#d6b9a3;background:#fff}.cc-ai-task-sale.selected{border-color:#d7aeb5;background:#fff5f6;box-shadow:inset 3px 0 0 #7e1c2a}.cc-ai-task-sale>span{display:grid;gap:1px;min-width:0}.cc-ai-task-sale b,.cc-ai-task-sale em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cc-ai-task-sale b{color:#4b3d39;font-size:10px}.cc-ai-task-sale em{color:#9a8d84;font-size:8px;font-style:normal}.cc-ai-task-sale strong{color:#a09289;font-size:8px;font-weight:700}.cc-ai-task-sale.selected strong{color:#8c3e48}.cc-ai-task-sales-note,.cc-ai-task-sales-empty{color:#a09289;font-size:8px;line-height:1.45}.cc-ai-task-sales-empty{padding:5px 6px;border:1px dashed #e5d9ce;border-radius:7px;background:#faf8f5}
.cc-ai-task-form select,.cc-ai-task-form textarea{box-sizing:border-box;width:100%;padding:8px 9px;border:1px solid #ded3c7;border-radius:9px;background:#fffdfa;color:#3f342f;font:inherit;font-size:11px;line-height:1.5}
.cc-ai-task-form textarea{min-height:76px;max-height:150px;resize:vertical}.cc-ai-task-command{position:relative}.cc-ai-task-command em{position:absolute;right:8px;bottom:7px;padding:2px 5px;border-radius:5px;background:#f6f0e9;color:#a3958c;font-size:8px;font-style:normal;pointer-events:none}
.cc-ai-task-form select:focus,.cc-ai-task-form textarea:focus{outline:none;border-color:#b77e45;box-shadow:0 0 0 3px rgba(183,126,69,.1)}
.cc-ai-task-policy{display:flex;flex-wrap:wrap;align-items:center;gap:4px}.cc-ai-task-policy b,.cc-ai-task-policy span{padding:3px 6px;border:1px solid #eee4da;border-radius:999px;background:#faf8f5;color:#8d7e75;font-size:9px;font-weight:500}.cc-ai-task-policy b{border-color:#ead8d4;background:#fff5f3;color:#8c3e48;font-weight:800}
.cc-ai-task-quick{display:flex;gap:5px;overflow-x:auto;padding-bottom:1px;scrollbar-width:none}.cc-ai-task-quick::-webkit-scrollbar{display:none}.cc-ai-task-quick button{flex:none;padding:5px 8px;border:1px solid #e4d9ce;border-radius:999px;background:#fff;color:#745f57;font:inherit;font-size:9px;cursor:pointer;transition:border-color .16s ease,background .16s ease,color .16s ease}.cc-ai-task-quick button:hover{border-color:#bd8b4d;background:#fffaf0;color:#81501d}
.cc-ai-task-run{display:grid;gap:2px;width:100%;padding:9px 10px;border:1px solid #7e1c2a;border-radius:9px;background:#7e1c2a;color:#fff;text-align:left;cursor:pointer;box-shadow:0 3px 8px rgba(126,28,42,.14);transition:transform .15s ease,box-shadow .15s ease}.cc-ai-task-run:hover{transform:translateY(-1px);box-shadow:0 5px 12px rgba(126,28,42,.18)}.cc-ai-task-run b{font-size:11px}.cc-ai-task-run span{color:rgba(255,255,255,.72);font-size:9px}.cc-ai-task-run:disabled{opacity:.58;cursor:not-allowed;transform:none;box-shadow:none}
.cc-ai-task-empty{padding:12px;color:#8b786c;font-size:11px;line-height:1.6}
.cc-ai-job{display:flex;flex:1;flex-direction:column;gap:6px;min-height:0;padding:8px;overflow:hidden}
.cc-ai-job-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;color:#4b2025}.cc-ai-job-head b{font-size:12px}.cc-ai-job-head span{color:#8b786c;font-size:10px}
.cc-ai-job-bar{height:6px;overflow:hidden;border-radius:999px;background:#eee4da}.cc-ai-job-bar i{display:block;height:100%;border-radius:inherit;background:#b77e45;transition:width .25s ease}
.cc-ai-job-current{color:#6f5d52;font-size:10px;line-height:1.45;word-break:break-word}
.cc-ai-job-stats{display:flex;flex-wrap:wrap;gap:4px}.cc-ai-job-stats span{padding:3px 6px;border-radius:999px;background:#f1e9e1;color:#7d6a60;font-size:9px}
.cc-ai-job-results{display:flex;flex:1;flex-direction:column;gap:5px;min-height:0;overflow:auto}
.cc-ai-job-row{display:grid;gap:2px;padding:6px 7px;border:1px solid #e6ddd3;border-radius:7px;background:#fff}.cc-ai-job-row.queued{border-color:#d7e7db;background:#f6fbf7}.cc-ai-job-row.skipped{background:#faf8f5}.cc-ai-job-row b{color:#4b2025;font-size:11px}.cc-ai-job-row em{color:#8b786c;font-size:9px;font-style:normal}.cc-ai-job-row span{color:#54453f;font-size:10px;line-height:1.45;word-break:break-word}
/* 2026-09-16 AI任务作战中心：紧凑指挥台 + 真实执行轨迹。只做任务中心展示层。 */
.cc-task-hub-head{padding:9px 11px}
.cc-task-hub-head h3{margin:2px 0 1px;font-size:15px}
.cc-task-hub-head p{overflow:hidden;font-size:10px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.cc-task-hub-command .cc-ai-task-hero{grid-template-columns:30px minmax(0,1fr) auto;gap:8px;padding:8px 12px}
.cc-task-hub-command .cc-ai-task-mark{width:30px;height:30px;border-radius:9px;font-size:10px}
.cc-task-hub-command .cc-ai-task-hero b{font-size:14px}.cc-task-hub-command .cc-ai-task-hero span{font-size:9px}
.cc-task-hub-command .cc-ai-task-form{grid-template-columns:minmax(290px,.78fr) minmax(0,1.22fr);gap:8px;padding:9px 11px 10px}
.cc-task-hub-command .cc-ai-task-scope-row{grid-column:1;grid-row:1}
.cc-task-hub-command .cc-ai-task-command{grid-column:2;grid-row:1/span 3}
.cc-task-hub-command .cc-ai-task-policy{grid-column:1;grid-row:2;align-content:start}
.cc-ai-task-scope-head b{font-size:9px}.cc-ai-task-scope-head em{font-size:8px}
.cc-ai-task-sales{grid-template-columns:repeat(2,minmax(0,1fr));max-height:98px}
.cc-ai-task-sale{gap:5px;padding:5px 6px;border-radius:7px}
.cc-ai-task-sale b{font-size:9px}.cc-ai-task-sale em{font-size:7.5px}.cc-ai-task-sale strong{font-size:7.5px}
.cc-task-hub-command .cc-ai-task-form textarea{min-height:72px;max-height:112px;padding:7px 8px;font-size:10.5px}
.cc-ai-task-actionbar{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;align-items:stretch;min-width:0}
.cc-task-hub-command .cc-ai-task-actionbar .cc-ai-task-quick{grid-column:auto;align-self:center;min-width:0}
.cc-task-hub-command .cc-ai-task-actionbar .cc-ai-task-run{grid-column:2;width:auto;min-width:236px;padding:7px 12px;border-radius:8px;box-shadow:none}
.cc-ai-task-actionbar .cc-ai-task-run b{font-size:11px}.cc-ai-task-actionbar .cc-ai-task-run span{font-size:8px}
.cc-ai-task-empty.compact{padding:7px 10px;border-top:1px solid #eee5dc;background:#fbfaf8;color:#8b786c;font-size:9px;line-height:1.45}
.cc-ai-job{display:grid;gap:5px;flex:none;max-height:252px;padding:8px 10px 9px;border-top:1px solid #eee5dc;background:#fbfaf8;overflow:hidden}
.cc-ai-job-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}
.cc-ai-job-title{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:4px 7px;min-width:0}
.cc-ai-job-title>span{padding:2px 5px;border:1px solid #ded3ef;border-radius:5px;background:#f8f4fd;color:#76518f;font-size:7px;font-weight:900;letter-spacing:.08em}
.cc-ai-job-title>b{color:#4b2025;font-size:11px}.cc-ai-job-title>em{grid-column:1/-1;overflow:hidden;color:#8b786c;font-size:8.5px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}
.cc-ai-job-progress{display:grid;justify-items:end;gap:1px;flex:none}.cc-ai-job-progress strong{color:#7e1c2a;font-size:16px;line-height:1}.cc-ai-job-progress span{color:#8b786c;font-size:8px;white-space:nowrap}
.cc-ai-job-bar{height:4px}.cc-ai-job-bar i{background:#8f6bb0}
.cc-ai-job-pipeline{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
.cc-ai-job-pipeline span{position:relative;display:flex;align-items:center;gap:4px;min-width:0;padding:4px 6px;border:1px solid #e5ddd5;border-radius:6px;background:#fff;color:#998b82;font-size:8px;font-weight:700;white-space:nowrap;overflow:hidden}
.cc-ai-job-pipeline span i{width:5px;height:5px;flex:none;border-radius:50%;background:#c9bfb6}.cc-ai-job-pipeline span.done{border-color:#d8eadf;background:#f5fbf7;color:#39714a}.cc-ai-job-pipeline span.done i{background:#4d9662}.cc-ai-job-pipeline span.active{border-color:#ddccea;background:#faf6fd;color:#76518f}.cc-ai-job-pipeline span.active i{background:#8f6bb0;box-shadow:0 0 0 3px rgba(143,107,176,.12)}.cc-ai-job-pipeline span.failed{border-color:#efc5b6;background:#fff5f1;color:#9a2f20}.cc-ai-job-pipeline span.failed i{background:#c94b3d}
.cc-ai-job-grid{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(260px,.82fr);gap:6px;min-height:0}
.cc-ai-job-trace,.cc-ai-job-output{display:flex;flex-direction:column;min-width:0;min-height:0;border:1px solid #e7ded5;border-radius:7px;background:#fff;overflow:hidden}
.cc-ai-job-section{display:flex;align-items:baseline;justify-content:space-between;gap:6px;padding:5px 7px;border-bottom:1px solid #efe7df;background:#fcfaf8;flex:none}
.cc-ai-job-section b{color:#4b2025;font-size:9px}.cc-ai-job-section span{overflow:hidden;color:#9a8d84;font-size:7.5px;text-overflow:ellipsis;white-space:nowrap}
.cc-ai-job-events{display:flex;flex-direction:column;gap:2px;min-height:0;max-height:152px;overflow:auto;padding:4px}
.cc-ai-job-event{display:grid;grid-template-columns:7px minmax(0,1fr) auto;gap:5px;align-items:start;padding:4px 5px;border-radius:5px}
.cc-ai-job-event>i{width:6px;height:6px;margin-top:3px;border-radius:50%;background:#b8aea6}.cc-ai-job-event>div{min-width:0}.cc-ai-job-event b,.cc-ai-job-event span{display:block;overflow:hidden;text-overflow:ellipsis}.cc-ai-job-event b{color:#51433e;font-size:9px}.cc-ai-job-event span{margin-top:1px;color:#82746c;font-size:8px;line-height:1.35;white-space:nowrap}.cc-ai-job-event>em{color:#aaa096;font-size:7.5px;font-style:normal;white-space:nowrap}
.cc-ai-job-event.latest{background:#faf7fb}.cc-ai-job-event.read>i{background:#4b79b5}.cc-ai-job-event.run>i{background:#8f6bb0}.cc-ai-job-event.retry>i{background:#d28a2f}.cc-ai-job-event.data>i{background:#2f8b8a}.cc-ai-job-event.decision>i{background:#76518f}.cc-ai-job-event.queued>i,.cc-ai-job-event.done>i{background:#4d9662}.cc-ai-job-event.blocked>i,.cc-ai-job-event.failed>i{background:#c94b3d}.cc-ai-job-event.skip>i{background:#9b9188}
.cc-ai-job-output>.cc-ai-job-stats{padding:5px 6px 0}.cc-ai-job-stats span{padding:2px 5px;font-size:7.5px}
.cc-ai-job-results{display:flex;flex-direction:column;gap:3px;min-height:0;max-height:112px;overflow:auto;padding:5px 6px 6px}
.cc-ai-job-row{gap:1px;padding:4px 5px;border-radius:5px}.cc-ai-job-row b{font-size:9px}.cc-ai-job-row em{font-size:7.5px}.cc-ai-job-row span{font-size:8px;line-height:1.3}
.cc-ai-job-none{margin:5px 6px;padding:7px;border:1px dashed #e5d9ce;border-radius:6px;background:#faf8f5;color:#9a8d84;font-size:8px;line-height:1.4;text-align:center}
.cc-command-bar{grid-template-columns:auto minmax(260px,1fr);align-items:center;gap:12px;padding:7px 9px;border-color:#eadfd2;background:#fff;box-shadow:0 1px 2px rgba(83,21,28,.04)}
.cc-command-title b{font-size:13px}.cc-command-title span{max-width:240px;color:#9b8b82}
.cc-command-input input{border-color:#e1d5c9;background:#fffdfa}.cc-command-input button{border-radius:8px;background:#7e1c2a}
.cc-sales-column .cc-column-head{padding:9px 10px 8px;border-bottom:1px solid #f1e8de}.cc-sales-column .cc-column-head b{font-size:14px}.cc-sales-column .cc-column-head span{display:none}
.cc-sales-all-host{flex:none;padding:8px 8px 0;background:#fff}
.cc-sales-all-host .cc-sale{width:100%;margin:0}
.cc-sales-column-list{padding:7px 8px 8px;gap:6px}
.cc-queue-column .cc-queue-head{padding:8px 9px 7px}
.cc-queue-column .cc-queue-head b{font-size:13px}.cc-queue-column .cc-queue-head span{font-size:10px}
.cc-queue-column .cc-queue-head input{margin-top:6px;padding:7px 8px;font-size:12px}
.cc-queue-filters{gap:4px;padding:0 8px 7px}.cc-queue-filters button{padding:4px 7px;font-size:10px}
.cc-queue-column .cc-queue-scroll{padding:6px}
.cc-queue-column .cc-customer{min-height:72px;padding:8px 9px;gap:3px;box-sizing:border-box;border-left:3px solid transparent}
.cc-queue-column .cc-queue-group{padding:5px 7px;font-size:10px}
.cc-queue-column .cc-queue-group em{font-size:9px}
.cc-queue-column .cc-customer.has-unread{border-left-color:#e5484d;background:#fff8f7}
.cc-queue-column .cc-customer-top b{min-width:0;font-size:13px}
.cc-queue-column .cc-customer-sub,.cc-queue-column .cc-customer-msg{font-size:10.5px}
.cc-queue-column .cc-state{font-size:9px;padding:2px 5px}
.cc-sale-all{height:58px!important;padding-right:8px!important}
.cc-sale-all .cc-sale-badges{display:none}
.cc-sale-all .cc-sale-main em{font-size:9px}
.cc-manual-send{flex:none;padding:7px 9px 8px;border-top:1px solid #eee5dc;background:#fffdfa}
.cc-manual-send-head{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0;margin-bottom:5px;color:#8b786c;font-size:10px}
.cc-manual-send-head span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cc-manual-send-head em{flex:none;padding:2px 5px;border-radius:999px;background:#f1e9e1;color:#7d6a60;font-style:normal}
.cc-manual-send-head em.busy{background:#fff2df;color:#9a641c}
.cc-manual-send-compose{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px;align-items:stretch}
.cc-manual-send textarea{box-sizing:border-box;width:100%;min-height:38px;max-height:78px;padding:6px 7px;border:1px solid #ded1c4;border-radius:7px;background:#fff;color:#3f342f;font:inherit;font-size:11px;line-height:1.45;resize:none}
.cc-manual-send textarea:focus{outline:none;border-color:#b77e45;box-shadow:0 0 0 2px rgba(183,126,69,.12)}
.cc-manual-send button{align-self:stretch;min-width:52px;padding:0 9px;border:1px solid #7e1c2a;border-radius:7px;background:#7e1c2a;color:#fff;font:inherit;font-size:11px;font-weight:700;cursor:pointer}
.cc-manual-send button:disabled{border-color:#d8cdc4;background:#efe8e2;color:#988a81;cursor:not-allowed}
.cc-manual-send-retry{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:5px;color:#9b4b2f;font-size:9px}
.cc-manual-send-retry span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cc-manual-send-retry button{flex:none;min-width:auto;padding:3px 7px;border-color:#c88462;background:#fff7f2;color:#9b4b2f;font-size:9px;font-weight:600}
.cc-manual-send-notice{margin-top:5px;padding:4px 6px;border:1px solid #efc5b6;border-radius:6px;background:#fff6f2;color:#9b4b2f;font-size:9px;line-height:1.4}
.cc-manual-send-detail{margin-top:4px;overflow:hidden;color:#9a8d84;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
.cc-manual-send.compact{padding:5px 6px 6px;border-top-color:#f0e7de;background:#fff}
.cc-manual-send.compact .cc-manual-send-head{margin-bottom:3px;font-size:9px}
.cc-manual-send.compact textarea{min-height:30px;max-height:54px;padding:4px 5px;font-size:9px}
.cc-manual-send.compact button{min-width:44px;font-size:9px}
.cc-manual-send.compact .cc-manual-send-detail{display:none}
@media(max-width:1600px){.cc-aggregate{grid-template-columns:120px 178px minmax(0,1fr) minmax(280px,340px)}.cc-aggregate.cc-detail-collapsed{grid-template-columns:120px 178px minmax(0,1fr) 0}}
@media(max-width:1220px){.cc-aggregate{grid-template-columns:106px 158px minmax(0,1fr) minmax(240px,300px)}.cc-aggregate.cc-detail-collapsed{grid-template-columns:106px 158px minmax(0,1fr) 0}}
@media(max-width:1180px){.cc-aggregate{grid-template-columns:1fr;grid-template-rows:155px 300px 520px 760px;height:auto;overflow:visible}.cc-sales-column-list{flex-direction:row;overflow-x:auto;overflow-y:hidden}.cc-sale-row{flex:0 0 180px}.cc-sale{flex:none}.cc-sales-column .cc-column-head{display:none}.cc-right-workspace{height:760px}}
@media(max-width:900px){.cc-right-workspace{grid-template-columns:1fr;grid-template-rows:260px 260px 320px 260px 260px;height:auto}.cc-analysis-pane{grid-column:1}.cc-watch-slot{min-height:260px}}

/* 发送异常详情：列表徽标和发送框都可直接点开 */
.cc-state-clickable{cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.cc-state-clickable:hover{filter:brightness(.96)}
.cc-manual-send-status{display:flex;align-items:center;gap:4px;flex:none;overflow:visible!important}
.cc-manual-send-head .cc-manual-send-view-error{min-width:auto;align-self:center;padding:2px 6px;border-color:#d8a69a;background:#fff7f5;color:#a23828;font-size:9px;line-height:1.25}
.cc-manual-send-error-line{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:6px;width:100%;margin-top:5px;padding:5px 7px;border:1px solid #efc5b6;border-radius:7px;background:#fff6f2;color:#8d3426;text-align:left}
.cc-manual-send-error-line b{white-space:nowrap;color:#a23828;font-size:9px}
.cc-manual-send-error-line span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;font-weight:400}
.cc-manual-send-error-line i{color:#b75f4e;font-size:9px;font-style:normal;font-weight:700}
.cc-manual-send.compact .cc-manual-send-error-line{grid-template-columns:minmax(0,1fr) auto;margin-top:3px;padding:4px 5px}
.cc-manual-send.compact .cc-manual-send-error-line b{display:none}
/* 每个客户自己的发送任务清单：展开后能逐条取消、停止、确认未发送或重排。 */
.cc-manual-task-list{margin-top:5px;border:1px solid #e7dbcf;border-radius:8px;background:#fff;overflow:hidden}
.cc-manual-task-list summary{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:6px;padding:5px 7px;color:#6f5c52;font-size:9px;cursor:pointer;list-style:none;background:#fbf8f4}
.cc-manual-task-list summary::-webkit-details-marker{display:none}.cc-manual-task-list summary span{font-weight:700;color:#4b2025}.cc-manual-task-list summary b{padding:1px 5px;border-radius:999px;background:#f0e7de;color:#7e1c2a}.cc-manual-task-list summary em{overflow:hidden;color:#9b8b82;text-align:right;font-style:normal;text-overflow:ellipsis;white-space:nowrap}
.cc-manual-task-list-body{display:flex;flex-direction:column;gap:5px;max-height:230px;padding:5px;overflow:auto}
.cc-manual-task-row{display:flex;flex-direction:column;gap:4px;padding:6px 7px;border:1px solid #eee3d8;border-left:3px solid #a98a76;border-radius:7px;background:#fffdfa}
.cc-manual-task-row.tone-waiting{border-left-color:#d29a31}.cc-manual-task-row.tone-running{border-left-color:#3d7ca8}.cc-manual-task-row.tone-stopping{border-left-color:#d36b35}.cc-manual-task-row.tone-problem,.cc-manual-task-row.tone-unknown{border-left-color:#c93434}.cc-manual-task-row.tone-done{border-left-color:#3f9462}.cc-manual-task-row.tone-cancelled{border-left-color:#8c8179}
.cc-manual-task-row-head{display:flex;align-items:flex-start;justify-content:space-between;gap:6px}.cc-manual-task-row-head b{display:-webkit-box;min-width:0;overflow:hidden;color:#4b2025;font-size:9px;line-height:1.4;text-overflow:ellipsis;white-space:normal;word-break:break-word;-webkit-box-orient:vertical;-webkit-line-clamp:2}.cc-manual-task-row-head em{flex:none;padding:1px 5px;border-radius:999px;background:#f0e9e2;color:#66564d;font-size:8px;font-style:normal;font-weight:700}
.cc-manual-task-row-meta{display:flex;gap:7px;color:#9a8d84;font-size:8px}.cc-manual-task-row-meta span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cc-manual-task-row p{margin:0;overflow:hidden;color:#8d3426;font-size:8px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.cc-manual-task-row-actions{display:flex;flex-wrap:wrap;gap:4px}.cc-manual-task-row-actions button{min-width:auto;align-self:auto;padding:3px 6px;border:1px solid #d7c6b6;border-radius:6px;background:#fff;color:#5f4942;font-size:8px;font-weight:700;cursor:pointer}.cc-manual-task-row-actions button.primary{border-color:#7e1c2a;background:#7e1c2a;color:#fff}.cc-manual-task-row-actions button.danger{border-color:#d9a29a;background:#fff6f4;color:#a23828}.cc-task-list-busy{color:#8b786c;font-size:8px}
.cc-manual-send.compact .cc-manual-task-list-body{max-height:160px}.cc-manual-send.compact .cc-manual-task-row{padding:4px 5px}.cc-manual-send.compact .cc-manual-task-row p{display:none}
.cc-task-row.problem{width:100%;box-sizing:border-box;border-left:3px solid #d55645;background:#fff7f4;color:#8d3426;text-align:left;font:inherit;cursor:pointer}
.cc-task-row.problem:hover{background:#fff0eb}
.cc-task-row.problem i{color:#b42318;font-size:10px;font-style:normal;font-weight:700;white-space:nowrap}
.cc-task-detail-layer{position:fixed;inset:0;z-index:4000;display:grid;place-items:center;padding:24px;background:rgba(39,25,24,.42)}
.cc-task-detail-dialog{display:flex;flex-direction:column;width:min(720px,100%);max-height:min(760px,calc(100vh - 48px));border:1px solid #dfcfc1;border-radius:12px;background:#fffdfa;box-shadow:0 24px 70px rgba(49,25,22,.28);overflow:hidden}
.cc-task-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:15px 17px 13px;border-bottom:1px solid #eee1d6;background:#fff8f5}
.cc-task-detail-head span{display:block;color:#b42318;font-size:11px;font-weight:700}.cc-task-detail-head h3{margin:3px 0 2px;color:#4b2025;font-size:19px}.cc-task-detail-head p{margin:0;color:#8b786c;font-size:11px}
.cc-task-detail-close{flex:none;padding:5px 10px;border:1px solid #d9c8b8;border-radius:7px;background:#fff;color:#6e5850;font:inherit;font-size:11px;cursor:pointer}
.cc-task-detail-body{display:flex;flex-direction:column;gap:12px;padding:15px 17px;overflow:auto}
.cc-task-detail-error{padding:11px 12px;border:1px solid #efbdae;border-radius:9px;background:#fff5f1}.cc-task-detail-error small,.cc-task-detail-message small{display:block;margin-bottom:5px;color:#a23828;font-size:11px;font-weight:700}.cc-task-detail-error pre,.cc-task-detail-message pre{margin:0;white-space:pre-wrap;word-break:break-word;font:inherit;line-height:1.6}.cc-task-detail-error pre{color:#9a2f20;font-size:13px;font-weight:700}
.cc-task-detail-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0}.cc-task-detail-meta div{min-width:0;padding:8px 9px;border:1px solid #eee3d8;border-radius:8px;background:#fff}.cc-task-detail-meta dt{color:#9a8d84;font-size:10px}.cc-task-detail-meta dd{margin:3px 0 0;overflow-wrap:anywhere;color:#4b3c37;font-size:11px}
.cc-task-detail-message{padding:10px 11px;border:1px solid #e7ddce;border-radius:9px;background:#faf8f5}.cc-task-detail-message small{color:#8b6d45}.cc-task-detail-message pre{color:#54443e;font-size:12px}
.cc-task-detail-actions{display:flex;justify-content:flex-end;gap:8px;padding:12px 17px;border-top:1px solid #eee1d6;background:#fffaf6}.cc-task-detail-actions button{padding:7px 12px;border:1px solid #d7c6b6;border-radius:7px;background:#fff;color:#5f4942;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.cc-task-detail-actions button.primary{border-color:#7e1c2a;background:#7e1c2a;color:#fff}.cc-task-detail-actions button.danger{border-color:#d9a29a;background:#fff6f4;color:#a23828}
@media(max-width:640px){.cc-task-detail-layer{padding:10px}.cc-task-detail-dialog{max-height:calc(100vh - 20px)}.cc-task-detail-meta{grid-template-columns:1fr}.cc-task-detail-head h3{font-size:16px}}

/* 任务处理后台：统一查看等待、执行、停止请求和最终结果。 */
.cc-top-actions button.active{border-color:#7e1c2a;background:#fff1ee;color:#7e1c2a;font-weight:700}
.cc-task-center-layer{position:fixed;inset:0;z-index:4200;display:grid;place-items:center;padding:18px;background:rgba(36,23,22,.48)}
.cc-task-center-dialog{display:flex;flex-direction:column;width:min(1120px,100%);height:min(820px,calc(100vh - 36px));border:1px solid #dfcfc1;border-radius:12px;background:#f8f5f1;box-shadow:0 28px 80px rgba(49,25,22,.32);overflow:hidden}
.cc-task-center-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:15px 17px 13px;border-bottom:1px solid #eaded3;background:#fffdfa;flex:none}
.cc-task-center-head span{display:block;color:#8a2633;font-size:11px;font-weight:700}.cc-task-center-head h3{margin:3px 0 2px;color:#4b2025;font-size:19px}.cc-task-center-head p{margin:0;color:#8b786c;font-size:11px;line-height:1.5}
.cc-task-center-head-actions{display:flex;gap:7px;flex:none}.cc-task-center-head-actions button{padding:6px 11px;border:1px solid #d8c8b9;border-radius:7px;background:#fff;color:#624e46;font:inherit;font-size:11px;font-weight:700;cursor:pointer}.cc-task-center-head-actions button:last-child{border-color:#7e1c2a;background:#7e1c2a;color:#fff}
.cc-task-center-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 12px;border-bottom:1px solid #e9ddd2;background:#fff;flex:none}
.cc-task-center-tabs{display:flex;gap:5px;overflow-x:auto;min-width:0}.cc-task-center-tabs button{flex:none;padding:5px 9px;border:1px solid #e2d6ca;border-radius:999px;background:#fff;color:#735f56;font:inherit;font-size:11px;cursor:pointer}.cc-task-center-tabs button.active{border-color:#7e1c2a;background:#fff1ee;color:#7e1c2a;font-weight:700}.cc-task-center-tabs b{padding-left:2px;font-size:10px}
.cc-task-center-filters{display:flex;align-items:center;gap:6px}.cc-task-center-filters input,.cc-task-center-filters select{height:30px;box-sizing:border-box;padding:0 8px;border:1px solid #ded0c3;border-radius:7px;background:#fffdfa;color:#3f342f;font:inherit;font-size:11px}.cc-task-center-filters input{width:250px}.cc-task-center-filters span{white-space:nowrap;color:#8d7d74;font-size:10px}
.cc-task-center-body{display:flex;flex-direction:column;gap:8px;min-height:0;padding:10px 12px;overflow:auto;background:#f8f5f1}
.cc-task-center-row{display:flex;flex-direction:column;gap:8px;padding:10px 11px;border:1px solid #e5d9ce;border-left:4px solid #a98a76;border-radius:9px;background:#fffdfa}
.cc-task-center-row.tone-waiting{border-left-color:#d29a31}.cc-task-center-row.tone-running{border-left-color:#3d7ca8}.cc-task-center-row.tone-stopping{border-left-color:#d36b35}.cc-task-center-row.tone-problem,.cc-task-center-row.tone-unknown{border-left-color:#c93434}.cc-task-center-row.tone-done{border-left-color:#3f9462}.cc-task-center-row.tone-cancelled{border-left-color:#8c8179}
.cc-task-center-row-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.cc-task-center-row-head b{display:block;color:#4b2025;font-size:14px}.cc-task-center-row-head span{display:block;margin-top:2px;color:#8b786c;font-size:10px}.cc-task-center-status{flex:none;padding:3px 7px;border-radius:999px;background:#f0e9e2;color:#66564d;font-size:10px;font-style:normal;font-weight:700}.cc-task-center-status.tone-waiting{background:#fff3dd;color:#8b5718}.cc-task-center-status.tone-running{background:#eaf4fb;color:#285f85}.cc-task-center-status.tone-stopping{background:#fff0e8;color:#a4471f}.cc-task-center-status.tone-problem,.cc-task-center-status.tone-unknown{background:#fff0ee;color:#a23828}.cc-task-center-status.tone-done{background:#edf8f0;color:#287345}.cc-task-center-status.tone-cancelled{background:#f0eeec;color:#6f6660}
.cc-task-center-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.cc-task-center-meta span{display:grid;grid-template-columns:68px minmax(0,1fr);gap:5px;min-width:0;padding:5px 7px;border:1px solid #eee4da;border-radius:7px;background:#fff}.cc-task-center-meta i{color:#9a8d84;font-size:9px;font-style:normal}.cc-task-center-meta b{min-width:0;overflow-wrap:anywhere;color:#4b3c37;font-size:10px}
.cc-task-center-error,.cc-task-center-message{display:grid;grid-template-columns:70px minmax(0,1fr);gap:7px;padding:7px 8px;border-radius:7px}.cc-task-center-error{border:1px solid #efc5b6;background:#fff5f1}.cc-task-center-message{border:1px solid #e9dfd4;background:#faf8f5}.cc-task-center-error i,.cc-task-center-message i{color:#9a5b4c;font-size:9px;font-style:normal;font-weight:700}.cc-task-center-error p,.cc-task-center-message p{margin:0;color:#5d4740;font-size:10px;line-height:1.5;white-space:pre-wrap;word-break:break-word}
.cc-task-center-actions{display:flex;justify-content:flex-end;gap:7px}.cc-task-center-actions button{padding:5px 10px;border:1px solid #d6c5b7;border-radius:7px;background:#fff;color:#5f4942;font:inherit;font-size:10px;font-weight:700;cursor:pointer}.cc-task-center-actions button.danger{border-color:#d9a29a;background:#fff6f4;color:#a23828}.cc-task-center-no-action{color:#9b8d84;font-size:10px}
.cc-task-center-empty,.cc-task-center-error-box{padding:30px 16px;border:1px dashed #d9cabd;border-radius:9px;background:#fffdfa;color:#8b786c;text-align:center;font-size:12px}.cc-task-center-error-box{border-color:#efbdae;background:#fff5f1;color:#9a2f20;text-align:left}
.cc-task-center-foot{display:flex;justify-content:space-between;gap:12px;padding:8px 13px;border-top:1px solid #e9ddd2;background:#fffaf6;color:#8d7d74;font-size:10px;flex:none}
@media(max-width:900px){.cc-task-center-toolbar{grid-template-columns:1fr}.cc-task-center-filters{justify-content:space-between}.cc-task-center-filters input{width:min(45vw,250px)}.cc-task-center-meta{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.cc-task-center-layer{padding:8px}.cc-task-center-dialog{height:calc(100vh - 16px)}.cc-task-center-head{flex-direction:column}.cc-task-center-head-actions{width:100%}.cc-task-center-head-actions button{flex:1}.cc-task-center-filters{flex-wrap:wrap}.cc-task-center-filters input{width:100%}.cc-task-center-filters select{flex:1}.cc-task-center-meta{grid-template-columns:1fr}.cc-task-center-foot{flex-direction:column;gap:3px}}

/* 客户总控内所有滚动区域统一隐藏原生滚动条，滚轮和触控板滚动能力保留。 */
.cc-shell-standalone,.cc-shell-standalone *{scrollbar-width:none;-ms-overflow-style:none;scrollbar-gutter:auto!important}
.cc-shell-standalone::-webkit-scrollbar,.cc-shell-standalone *::-webkit-scrollbar{width:0;height:0;display:none}

/* 客户意向分池：让老板先看资源，再决定什么时候调动 AI。 */
.cc-intent-summary{display:flex;flex:1 1 100%;align-items:center;gap:5px;min-width:0;padding-top:6px;border-top:1px solid #eee5dc;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none}
.cc-intent-summary::-webkit-scrollbar{width:0;height:0;display:none}
.cc-intent-chip{display:inline-flex;flex:none;align-items:center;gap:5px;min-height:25px;padding:3px 8px;border:1px solid #e4d9ce;border-radius:999px;background:#fffdfa;color:#6d5a52;font:inherit;font-size:11px;cursor:pointer;white-space:nowrap}
.cc-intent-chip b{min-width:17px;padding:1px 4px;border-radius:999px;background:#f3ece5;color:#4b2025;text-align:center;font-size:10px}
.cc-intent-chip:hover{border-color:#bd8b4d;background:#fffaf0}
.cc-intent-chip.active{border-color:#7e1c2a;background:#fff0ed;color:#7e1c2a;font-weight:700}.cc-intent-chip.active b{background:#7e1c2a;color:#fff}
.cc-intent-tag{display:inline-flex;align-items:center;max-width:74px;overflow:hidden;padding:2px 5px;border:1px solid #d8e2da;border-radius:999px;background:#f4faf5;color:#376848;font-size:10px;font-style:normal;font-weight:700;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1180px){.cc-intent-summary{flex-wrap:nowrap}.cc-intent-chip{font-size:10px}}

/* 客户任务中心：分类、跟进打法、发布任务在同一个工作壳里完成。 */
.cc-task-hub{display:flex;flex-direction:column;gap:8px;height:100%;min-height:0;overflow:hidden}
.cc-task-hub-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:11px 12px;border:1px solid #e3d7ca;border-radius:9px;background:linear-gradient(120deg,#fffdfa 0%,#fff8f1 58%,#f5fbf8 100%);flex:none}
.cc-task-hub-head>div:first-child{min-width:0}.cc-task-hub-head span{display:block;color:#8a2633;font-size:10px;font-weight:800;letter-spacing:.04em}.cc-task-hub-head h3{margin:3px 0 2px;color:#4b2025;font-size:17px}.cc-task-hub-head p{max-width:880px;margin:0;color:#81736a;font-size:11px;line-height:1.5}
.cc-task-hub-head-actions{display:flex;flex:none;gap:6px}.cc-task-hub-head-actions button{padding:6px 10px;border:1px solid #d8c8b9;border-radius:7px;background:#fff;color:#624e46;font:inherit;font-size:11px;font-weight:700;cursor:pointer}.cc-task-hub-head-actions button.primary{border-color:#7e1c2a;background:#7e1c2a;color:#fff}.cc-task-hub-head-actions button:disabled{opacity:.55;cursor:not-allowed}
.cc-task-hub-command{flex:none;border:1px solid #e4d9ce;border-radius:10px;background:#fff;box-shadow:0 5px 18px rgba(83,21,28,.05);overflow:hidden}.cc-task-hub-command .cc-ai-task{height:auto;background:#fff}.cc-task-hub-command .cc-ai-task-hero{grid-template-columns:38px minmax(0,1fr) auto;padding:12px 14px;background:#fffdfb}.cc-task-hub-command .cc-ai-task-mark{width:38px;height:38px;border-radius:11px}.cc-task-hub-command .cc-ai-task-hero b{font-size:15px}.cc-task-hub-command .cc-ai-task-form{grid-template-columns:minmax(230px,.72fr) minmax(0,1.28fr);align-items:start;padding:12px 14px 14px}.cc-task-hub-command .cc-ai-task-scope-row{grid-column:1;grid-row:1}.cc-task-hub-command .cc-ai-task-command{grid-column:2;grid-row:1/span 2}.cc-task-hub-command .cc-ai-task-policy{grid-column:1;grid-row:2;align-content:start}.cc-task-hub-command .cc-ai-task-quick,.cc-task-hub-command .cc-ai-task-run{grid-column:1/-1}.cc-task-hub-command .cc-ai-task-run{padding:10px 12px}.cc-task-hub-command .cc-ai-task-run b{font-size:12px}.cc-task-hub-command .cc-ai-task-run span{font-size:10px}
.cc-task-hub-body{display:grid;grid-template-columns:205px minmax(0,1fr) 286px;gap:8px;min-height:0;height:100%;overflow:hidden}
.cc-task-hub>.cc-task-hub-body{flex:1;height:auto}
.cc-task-hub-pools,.cc-task-hub-workbench,.cc-task-hub-publish{display:flex;flex-direction:column;min-width:0;min-height:0;border:1px solid #e6dcd1;border-radius:9px;background:#fff;overflow:hidden}
.cc-task-hub-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:7px;padding:8px 9px;border-bottom:1px solid #eee5dc;background:#fffdfa;flex:none}.cc-task-hub-section-head b{color:#4b2025;font-size:12px}.cc-task-hub-section-head span{overflow:hidden;color:#94857c;font-size:9px;text-align:right;text-overflow:ellipsis;white-space:nowrap}
.cc-task-hub-pool-list{display:flex;flex-direction:column;gap:5px;padding:7px;overflow:auto;min-height:0}
.cc-task-hub-pool{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:4px 7px;padding:8px 8px 7px;border:1px solid #e8ded3;border-left:3px solid #b6a297;border-radius:8px;background:#fffdfa;color:#5b4948;text-align:left;font:inherit;cursor:pointer}.cc-task-hub-pool:hover{border-color:#c5a17c;background:#fffaf4}.cc-task-hub-pool.active{border-color:#7e1c2a;border-left-color:#7e1c2a;background:#fff4f1;box-shadow:inset 0 0 0 1px rgba(126,28,42,.08)}.cc-task-hub-pool.tone-hot{border-left-color:#d24b3d}.cc-task-hub-pool.tone-money{border-left-color:#c48a20}.cc-task-hub-pool.tone-ready{border-left-color:#2d8a64}.cc-task-hub-pool.tone-wake{border-left-color:#4b79b5}.cc-task-hub-pool.tone-danger{border-left-color:#b42318}.cc-task-hub-pool.tone-safe,.cc-task-hub-pool.tone-muted{border-left-color:#9b9188}.cc-task-hub-pool>span{min-width:0}.cc-task-hub-pool>span b,.cc-task-hub-pool>span em{display:block}.cc-task-hub-pool>span b{color:#4b2025;font-size:12px}.cc-task-hub-pool>span em{margin-top:2px;overflow:hidden;color:#8b786c;font-size:9px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.cc-task-hub-pool>strong{grid-row:1/3;align-self:center;min-width:26px;padding:3px 5px;border-radius:999px;background:#f3ece5;color:#4b2025;font-size:12px;text-align:center}.cc-task-hub-pool.active>strong{background:#7e1c2a;color:#fff}.cc-task-hub-pool>i{justify-self:start;padding:1px 5px;border-radius:999px;background:#f2efeb;color:#81736a;font-size:8px;font-style:normal;font-weight:700}.cc-task-hub-pool.active>i{background:#fff0ed;color:#8a2633}
.cc-task-hub-workbench{overflow:hidden}.cc-task-hub-query{display:grid;grid-template-columns:auto minmax(260px,1fr);gap:9px;align-items:center;padding:8px 9px;border-bottom:1px solid #eee5dc;background:#fff;flex:none}.cc-task-hub-query>div:first-child{min-width:0}.cc-task-hub-query b,.cc-task-hub-query span{display:block}.cc-task-hub-query b{color:#4b2025;font-size:12px}.cc-task-hub-query span{margin-top:2px;overflow:hidden;color:#91837a;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.cc-task-hub-query>div:last-child{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;min-width:0}.cc-task-hub-query input{min-width:0;height:32px;box-sizing:border-box;padding:0 9px;border:1px solid #ded0c3;border-radius:7px;background:#fffdfa;color:#3f342f;font:inherit;font-size:11px}.cc-task-hub-query button{padding:0 11px;border:1px solid #7e1c2a;border-radius:7px;background:#7e1c2a;color:#fff;font:inherit;font-size:11px;font-weight:700;cursor:pointer}.cc-task-hub-query button:disabled{opacity:.55;cursor:not-allowed}
.cc-task-hub-error{margin:7px;padding:8px;border:1px solid #efc5b6;border-radius:7px;background:#fff5f1;color:#9a2f20;font-size:11px}
.cc-task-hub-result-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 9px;border-bottom:1px solid #eee5dc;background:#fcfaf7;flex:none}.cc-task-hub-result-head>div:first-child{min-width:0}.cc-task-hub-result-head b,.cc-task-hub-result-head span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cc-task-hub-result-head b{color:#4b2025;font-size:12px}.cc-task-hub-result-head span{margin-top:2px;color:#8b786c;font-size:9px}.cc-task-hub-result-head>div:last-child{display:flex;gap:5px;flex:none}.cc-task-hub-result-head button{padding:4px 7px;border:1px solid #dccbbe;border-radius:6px;background:#fff;color:#6e5850;font:inherit;font-size:9px;cursor:pointer}
.cc-task-hub-list{display:flex;flex-direction:column;gap:5px;padding:7px;min-height:0;overflow:auto;background:#faf8f5}
.cc-task-hub-row{display:grid;grid-template-columns:20px minmax(125px,.7fr) minmax(180px,1fr) minmax(220px,1.2fr) 86px;gap:8px;align-items:center;padding:8px;border:1px solid #e7ddd2;border-radius:8px;background:#fffdfa;cursor:pointer}.cc-task-hub-row:hover{border-color:#c9a67f;background:#fffaf3}.cc-task-hub-row.selected{border-color:#b77e45;background:#fff8ed}.cc-task-hub-row.blocked{cursor:default;background:#faf9f7}.cc-task-hub-row input{width:15px;height:15px}.cc-task-hub-customer,.cc-task-hub-context,.cc-task-hub-message{min-width:0}.cc-task-hub-customer b,.cc-task-hub-customer em,.cc-task-hub-context,.cc-task-hub-message{display:block;overflow:hidden;text-overflow:ellipsis}.cc-task-hub-customer b{color:#4b2025;font-size:12px}.cc-task-hub-customer em{margin-top:2px;color:#8b786c;font-size:9px;font-style:normal;white-space:nowrap}.cc-task-hub-context,.cc-task-hub-message{color:#5e4d47;font-size:10px;line-height:1.35}.cc-task-hub-context i,.cc-task-hub-message i{display:block;margin-bottom:2px;color:#9a8d84;font-size:8px;font-style:normal}.cc-task-hub-message{padding:5px 6px;border-radius:6px;background:#fbf6ef}.cc-task-hub-state{justify-self:end;padding:4px 6px;border-radius:999px;background:#eef7f0;color:#16845b;font-size:9px;font-weight:700;text-align:center;white-space:nowrap}.cc-task-hub-row.blocked .cc-task-hub-state{background:#f3eeea;color:#8b7c72}.cc-task-hub-empty{display:grid;place-items:center;min-height:220px;padding:18px;color:#8b786c;font-size:12px;text-align:center}
.cc-task-hub-publish{padding-bottom:8px}.cc-task-hub-playbook{margin:7px;padding:8px;border:1px solid #e9ded2;border-radius:8px;background:#fffaf4}.cc-task-hub-playbook>b{display:block;color:#5b2a30;font-size:11px}.cc-task-hub-playbook ol{margin:6px 0 0;padding-left:17px;color:#6f5d52;font-size:10px;line-height:1.55}.cc-task-hub-playbook li+li{margin-top:3px}.cc-task-hub-publish-count{display:grid;grid-template-columns:auto minmax(0,1fr);gap:1px 6px;align-items:baseline;margin:0 7px 7px;padding:8px;border:1px solid #e2d6ca;border-radius:8px;background:#fff}.cc-task-hub-publish-count b{grid-row:1/3;color:#7e1c2a;font-size:26px;line-height:1}.cc-task-hub-publish-count span{color:#4b2025;font-size:11px;font-weight:700}.cc-task-hub-publish-count em{color:#8b786c;font-size:9px;font-style:normal}.cc-task-hub-guard{margin:0 7px 7px;padding:7px 8px;border:1px solid #e5c48e;border-radius:7px;background:#fff8e8;color:#7d5718;font-size:10px;line-height:1.5}.cc-task-hub-publish-button{margin:0 7px;padding:9px 10px;border:1px solid #7e1c2a;border-radius:8px;background:#7e1c2a;color:#fff;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.cc-task-hub-publish-button:disabled{border-color:#d8c8b9;background:#eee7e0;color:#9b8d84;cursor:not-allowed}.cc-task-hub-publish-note{display:flex;flex-direction:column;gap:4px;margin:8px 7px 0;padding:7px 8px;border:1px solid #e9e0d7;border-radius:7px;background:#faf8f5;color:#82736a;font-size:9px}.cc-task-hub-publish-note span:before{content:'·';margin-right:4px;color:#b77e45}.cc-task-hub-live-note{margin-top:auto;padding:8px 7px 0}.cc-task-hub-live-note .cc-live-status{width:100%;box-sizing:border-box}

/* 实时事件：所有跳动都来自客户总控 SSE 的真实事件。 */
.cc-live-status{display:inline-flex;align-items:center;gap:5px;min-width:0;padding:4px 7px;border:1px solid #d9e7df;border-radius:999px;background:#f5fbf7;color:#276544;font-size:10px;font-weight:700;white-space:nowrap}.cc-live-status i{width:7px;height:7px;flex:none;border-radius:50%;background:#35a56b;box-shadow:0 0 0 0 rgba(53,165,107,.35);animation:ccLivePulse 1.8s ease-out infinite}.cc-live-status em{min-width:0;overflow:hidden;color:#5e7b69;font-size:9px;font-style:normal;text-overflow:ellipsis}.cc-live-status strong{padding:1px 5px;border-radius:999px;background:#dff2e6;color:#276544;font-size:9px}.cc-live-status.connecting{border-color:#e6ddd4;background:#faf8f5;color:#8b786c}.cc-live-status.connecting i{background:#aaa096;animation:none;box-shadow:none}.cc-live-status.connecting em{color:#9a8d84}
@keyframes ccLivePulse{0%{box-shadow:0 0 0 0 rgba(53,165,107,.34)}70%{box-shadow:0 0 0 7px rgba(53,165,107,0)}100%{box-shadow:0 0 0 0 rgba(53,165,107,0)}}
.cc-live-flash{animation:ccLiveFlash 1.05s ease-out 2}.cc-live-pulse{position:relative}.cc-live-pulse:after{position:absolute;inset:-1px;border:1px solid rgba(53,165,107,.68);border-radius:inherit;content:'';pointer-events:none;animation:ccLiveRing 1.4s ease-out 2}
@keyframes ccLiveFlash{0%{background:#edf9f1;box-shadow:0 0 0 2px rgba(53,165,107,.34)}55%{background:#fffaf0;box-shadow:0 0 0 1px rgba(214,154,30,.24)}100%{background:inherit;box-shadow:none}}
@keyframes ccLiveRing{0%{opacity:.95;transform:scale(.995)}100%{opacity:0;transform:scale(1.015)}}
@media(max-width:1400px){.cc-task-hub-body{grid-template-columns:180px minmax(0,1fr) 255px}.cc-task-hub-row{grid-template-columns:20px minmax(120px,.75fr) minmax(170px,1fr) minmax(190px,1.15fr) 80px}}
@media(max-width:1180px){.cc-task-hub{height:auto;overflow:visible}.cc-task-hub-command .cc-ai-task-form{grid-template-columns:1fr}.cc-task-hub-command .cc-ai-task-scope-row,.cc-task-hub-command .cc-ai-task-command,.cc-task-hub-command .cc-ai-task-policy,.cc-task-hub-command .cc-ai-task-quick,.cc-task-hub-command .cc-ai-task-run{grid-column:1;grid-row:auto}.cc-task-hub-body{grid-template-columns:170px minmax(0,1fr);grid-template-rows:minmax(520px,auto) auto}.cc-task-hub-publish{grid-column:1/-1;min-height:0}.cc-task-hub-row{grid-template-columns:20px minmax(130px,.8fr) minmax(0,1.2fr) 84px}.cc-task-hub-context{display:none}.cc-task-hub-row .cc-task-hub-message{grid-column:3/4}.cc-task-hub-row .cc-task-hub-state{grid-column:4;grid-row:1}}
@media(max-width:760px){.cc-task-hub-head{flex-direction:column}.cc-task-hub-head-actions{width:100%;flex-wrap:wrap}.cc-task-hub-head-actions button{flex:1}.cc-task-hub-body{grid-template-columns:1fr;grid-template-rows:auto minmax(480px,auto) auto}.cc-task-hub-pools{max-height:240px}.cc-task-hub-query{grid-template-columns:1fr}.cc-task-hub-query>div:last-child{grid-template-columns:1fr}.cc-task-hub-row{grid-template-columns:20px minmax(0,1fr) 72px}.cc-task-hub-context,.cc-task-hub-message{display:none}.cc-task-hub-state{grid-column:3;grid-row:1}}

@media(max-width:1180px){.cc-ai-task-actionbar{grid-template-columns:1fr}.cc-ai-task-actionbar .cc-ai-task-quick,.cc-ai-task-actionbar .cc-ai-task-run{grid-column:auto}.cc-ai-task-actionbar .cc-ai-task-run{width:100%;min-width:0}.cc-ai-job-grid{grid-template-columns:1fr}.cc-ai-job{max-height:none}.cc-ai-job-events{max-height:140px}}
@media(max-width:760px){.cc-ai-task-sales{grid-template-columns:1fr}.cc-ai-job-pipeline{grid-template-columns:repeat(2,minmax(0,1fr))}.cc-task-hub-head p{white-space:normal}}

/* 销售员工卡：白底、轻描边、两层状态和紧凑指标。 */
.cc-sale-row .cc-sale.employee-card{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(7,auto);gap:2px;align-items:stretch;width:100%;height:auto;min-height:152px;box-sizing:border-box;padding:6px 7px 7px;border:1px solid #eee4dc;border-radius:10px;background:#fffdfb;box-shadow:0 1px 2px rgba(83,21,28,.05);color:#4b2025;overflow:hidden;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease,background .15s ease}
.cc-sale-row .cc-sale.employee-card:hover{border-color:#d9c7ba;background:#fff;box-shadow:0 4px 12px rgba(83,21,28,.08);transform:translateY(-1px)}
.cc-sale-row .cc-sale.employee-card.selected{border-color:#dfc2c4;background:#fff8f7;box-shadow:inset 3px 0 0 #7e1c2a,0 3px 10px rgba(83,21,28,.07)}
.cc-sale-row .cc-sale.employee-card.pinned{border-color:#e8d6b9}
.cc-sale-card-head{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0}
.cc-sale-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#3f3130;font-size:15px;font-weight:800;line-height:1.15}
.cc-sale-unread-pill,.cc-sale-unread-quiet{flex:none;padding:2px 5px;border-radius:999px;font-size:8px;font-weight:800;line-height:1.2;white-space:nowrap}
.cc-sale-unread-pill{background:#fff0d8;color:#985e0d;box-shadow:inset 0 0 0 1px #f1d5a5}
.cc-sale-unread-quiet{background:#f4f0ed;color:#a99b92}
.cc-sale-sync-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:center;min-width:0}
.cc-sale-sync-stack{display:grid;gap:2px;min-width:0}
.cc-sale-sync-line{display:flex;align-items:center;gap:4px;min-width:0;color:#8b7c72;font-size:8.5px;line-height:1.15;white-space:nowrap}
.cc-sale-sync-line b{min-width:0;overflow:hidden;color:#6e5f59;font-size:8.5px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
.cc-sale-sync-line em{min-width:0;overflow:hidden;color:#9a8d84;font-size:8.5px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}
.cc-sale-unread-reply{display:grid;justify-items:end;gap:1px;flex:none;min-width:48px;padding:3px 5px;border:1px solid #eee4dc;border-radius:7px;background:#faf8f5;color:#9a8d84;white-space:nowrap}
.cc-sale-unread-reply em{font-size:7.5px;font-style:normal;line-height:1}.cc-sale-unread-reply b{color:#6e5f59;font-size:11px;font-weight:800;line-height:1}
.cc-sale-unread-reply.hot{border-color:#efcfa9;background:#fff6e8;color:#985e0d}.cc-sale-unread-reply.hot b{color:#a63a2a}
.cc-sync-dot{flex:none;width:6px;height:6px;border-radius:50%;background:#aaa}
.cc-sync-dot.online,.cc-sync-dot.data{background:#1b9c62}
.cc-sync-dot.warning{background:#d69a1e}
.cc-sync-dot.offline{background:#cf3f36}
.cc-sync-dot.no_report,.cc-sync-dot.none{background:#b4aaa3}
.cc-sale-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;min-width:0}
.cc-sale-metric{display:flex;align-items:baseline;justify-content:space-between;gap:2px;min-width:0;padding:4px;border:1px solid #f0e7df;border-radius:7px;background:#faf8f5}
.cc-sale-metric em{min-width:0;overflow:visible;color:#9a8d84;font-size:8px;font-style:normal;white-space:nowrap}
.cc-sale-metric b{flex:none;color:#554741;font-size:11px;font-weight:800;line-height:1}
.cc-sale-metric.hot{border-color:#f0d4c2;background:#fff6ef}
.cc-sale-metric.hot b{color:#a63a2a}
.cc-sale-reply-states{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;min-width:0}
.cc-sale-reply-states>span{display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;gap:1px;min-width:0;padding:2px 3px;border:1px solid #eee4dc;border-radius:6px;background:#faf8f5;color:#9a8d84;white-space:normal}
.cc-sale-reply-states em{width:100%;overflow:visible;font-size:6.5px;font-style:normal;line-height:1;text-align:center;word-break:break-all}
.cc-sale-reply-states b{color:#6e5f59;font-size:9.5px;font-weight:800;line-height:1}
.cc-sale-reply-states .unread{border-color:#efd4ad;background:#fff6e8;color:#985e0d}
.cc-sale-reply-states .unread b{color:#a63a2a}
.cc-sale-reply-states .read{border-color:#cee0d8;background:#f3faf7;color:#357260}
.cc-sale-reply-states .read b{color:#26705d}
.cc-sale-reply-states .unsynced{border-color:#e6e0db;background:#f7f4f1;color:#8e827a}
.cc-sale-reply-states .unsynced.warn{border-color:#e5c991;background:#fff8e8;color:#8e6417}
.cc-sale-reply-states .unsynced.warn b{color:#9a641c}
.cc-sale-mode-row{display:grid;grid-template-columns:auto minmax(0,1fr);justify-content:space-between;gap:5px;align-items:center;min-width:0}
.cc-sale-mode{display:inline-flex;align-items:center;gap:3px;min-width:0;padding:3px 5px;border-radius:6px;font-size:8.5px;font-weight:700;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cc-sale-mode.manual{background:#f1efec;color:#776b65}
.cc-sale-mode.ai{background:#f2efff;color:#6547a8}
.cc-sale.employee-card .cc-sale-switches{display:flex;align-items:center;justify-content:flex-end;gap:3px;min-width:0}
.cc-sale.employee-card .cc-sale-auto{position:static;right:auto;bottom:auto;width:auto;min-width:48px;height:21px;padding:0 5px;border:1px solid #ddd2c9;border-radius:6px;background:#faf8f5;color:#756861;font-size:8.5px;line-height:19px;white-space:nowrap}
.cc-sale.employee-card .cc-sale-auto b{margin-left:2px;color:#9b8d84;font-weight:800}
.cc-sale.employee-card .cc-sale-auto.active{border-color:#c9ddce;background:#f2faf4;color:#2f6b3d}
.cc-sale.employee-card .cc-sale-auto.active b{color:#217a42}
.cc-sale.employee-card .cc-sale-auto.failed{border-color:#e1b5ab;background:#fff4f1;color:#a23a28}
.cc-sale.employee-card .cc-sale-auto:disabled{cursor:not-allowed;opacity:.62}
.cc-sale-ops{display:block;width:auto;min-width:46px;height:21px;box-sizing:border-box;padding:0 4px;border:1px solid #d5dee1;border-radius:6px;background:#f6f9fa;color:#5f7078;font:inherit;font-size:8.5px;font-weight:700;line-height:19px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
.cc-sale.employee-card .cc-sale-ops b{margin-left:2px;color:#87979e;font-weight:800}
.cc-sale.employee-card .cc-sale-ops.active{border-color:#a8d5d0;background:#eefaf7;color:#256c64}
.cc-sale.employee-card .cc-sale-ops.active b{color:#1e7c6f}
.cc-sale.employee-card .cc-sale-ops.shadow{border-color:#d5c9a8;background:#fffaf0;color:#85671c}
.cc-sale.employee-card .cc-sale-ops:disabled{cursor:not-allowed;opacity:.62}
.cc-sale-fallback{display:block;width:calc(100% - 33px);min-width:0;height:21px;box-sizing:border-box;padding:0 5px;border:1px solid #d9d4cf;border-radius:6px;background:#f7f5f2;color:#82766f;font-size:8.5px;font-weight:700;line-height:19px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:border-color .15s ease,background .15s ease,color .15s ease}
.cc-sale-fallback.active{border-color:#b9d8d1;background:#f0faf7;color:#267368}
.cc-sale-fallback.working{border-color:#e2c889;background:#fff8e8;color:#8e6417}
.cc-sale-fallback:hover{border-color:#c8bcb3;background:#fff;color:#5e514a}
.cc-sale-fallback.active:hover{border-color:#8fc9bd;background:#eaf8f4;color:#1d675d}
.cc-sale-fallback:disabled{cursor:not-allowed;opacity:.62}
.cc-sale.employee-card .cc-sale-badges{grid-column:auto;grid-row:auto;display:flex;gap:3px;min-width:0;overflow:hidden}
.cc-sale.employee-card .cc-sale-badges i{max-width:66px;padding:2px 4px;font-size:8px;line-height:1.1}
.cc-sale-row .cc-sale-pin{position:absolute;right:7px;bottom:7px;width:auto;min-width:31px;height:19px;box-sizing:border-box;padding:0 5px;border:1px solid #e3d8cf;border-radius:6px;background:#fbf9f7;color:#9a8d84;font-size:8px;line-height:17px;white-space:nowrap}
.cc-sale-row .cc-sale-pin:hover{border-color:#d6bfa1;background:#fffaf0;color:#8b5718}
.cc-sale-row .cc-sale-pin.active{border-color:#e5d0ad;background:#fff7e7;color:#8b5718}

/* 消息聚合入口：固定在员工列表上方，只做视觉区分，不承载员工状态。 */
.cc-sales-all-host{padding:8px 8px 7px;border-bottom:1px solid #f0e7dd}
.cc-sales-all-host .cc-sale.aggregate-entry{display:grid;grid-template-columns:20px minmax(0,1fr);grid-template-rows:auto auto auto;gap:1px 7px;align-items:center;width:100%;height:auto!important;min-height:70px;box-sizing:border-box;padding:8px 9px;border:1px solid #ead9c8;border-left:3px solid #b98b55;border-radius:9px;background:linear-gradient(180deg,#fffaf3,#fbf5ee);box-shadow:0 1px 2px rgba(96,58,35,.04);color:#4b2025;text-align:left}
.cc-sales-all-host .cc-sale.aggregate-entry:hover{border-color:#d7b992;background:linear-gradient(180deg,#fffdf8,#fff8ef);box-shadow:0 4px 11px rgba(96,58,35,.08)}
.cc-sales-all-host .cc-sale.aggregate-entry.selected{border-color:#dfc2c4;border-left-color:#7e1c2a;background:linear-gradient(90deg,#fff3f1,#fffaf8);box-shadow:inset 3px 0 0 #7e1c2a,0 3px 10px rgba(83,21,28,.07)}
.cc-aggregate-icon{grid-column:1;grid-row:1/4;display:grid;place-items:center;width:20px;height:20px;border-radius:7px;background:#f5e8d6;color:#9a642c;font-size:12px;font-weight:800;line-height:1}
.cc-sale.aggregate-entry.selected .cc-aggregate-icon{background:#7e1c2a;color:#fff}
.cc-aggregate-copy{grid-column:2;grid-row:1/4;display:grid;gap:1px;min-width:0}
.cc-aggregate-copy b{overflow:hidden;color:#3f3130;font-size:14px;font-weight:800;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}
.cc-aggregate-copy em{overflow:hidden;color:#9b8172;font-size:9.5px;font-style:normal;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
.cc-aggregate-copy small{overflow:hidden;color:#9b8172;font-size:9px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}
.cc-aggregate-copy strong{color:#7e1c2a;font-size:10.5px;font-weight:850;font-variant-numeric:tabular-nums}

/* 客户列表状态卡最终覆盖：只作用于中间客户队列 */
.cc-queue-column .cc-customer{display:grid;grid-template-rows:auto auto minmax(18px,auto) auto;gap:5px;min-height:104px;box-sizing:border-box;padding:10px 11px 9px;border:1px solid #ece5dd;border-left:3px solid transparent;border-radius:8px;background:#fff;box-shadow:0 1px 2px rgba(74,46,36,.045);text-align:left;overflow:hidden;transition:transform .14s ease,border-color .14s ease,box-shadow .14s ease,background .14s ease}
.cc-queue-column .cc-customer:hover{transform:translateY(-1px);border-color:#dbc8bb;box-shadow:0 4px 12px rgba(83,53,41,.08)}
.cc-queue-column .cc-customer.active{border-left-color:#7e1c2a;background:#fff8f6;box-shadow:0 3px 12px rgba(126,28,42,.09)}
.cc-queue-column .cc-customer.status-reply_pending{border-left-color:#d14345;background:#fffaf9}
.cc-queue-column .cc-customer.status-viewed_unreplied{border-left-color:#d97706;background:#fffaf2}
.cc-queue-column .cc-customer.status-merging{background:#fffbef}
.cc-queue-column .cc-customer.status-brain_analyzing,.cc-queue-column .cc-customer.status-ai_fallback_running{background:#fbf9ff}
.cc-queue-column .cc-customer.status-waiting_widget,.cc-queue-column .cc-customer.status-sending{background:#faf8ff}
.cc-queue-column .cc-customer.status-sent{background:#f8fcfa}
.cc-queue-column .cc-customer.status-send_error,.cc-queue-column .cc-customer.status-analysis_error{background:#fff7f6}
.cc-queue-column .cc-customer-top{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px;min-width:0;min-height:20px}
.cc-queue-column .cc-customer-top b{display:block;min-width:0;max-width:100%;overflow:hidden;color:#3f252a;font-size:14px;font-weight:750;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}
.cc-queue-column .cc-customer-top-meta{display:flex;align-items:center;justify-content:flex-end;gap:5px;min-width:0;max-width:100%;flex:none;color:#a0958d;font-size:10px;font-style:normal}
.cc-queue-column .cc-customer-top-meta em{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-style:normal;font-variant-numeric:tabular-nums}
.cc-queue-column .cc-customer-unread{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:18px;height:18px;box-sizing:border-box;padding:0 5px;border-radius:999px;background:#e5484d;color:#fff;font-size:9px;font-style:normal;font-weight:800;line-height:1;box-shadow:0 1px 2px rgba(184,28,35,.2)}
.cc-queue-column .cc-customer-owner{display:block;min-width:0;min-height:13px;overflow:hidden;color:#958780;font-size:10.5px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
.cc-queue-column .cc-customer-msg{display:block;min-width:0;min-height:18px;max-width:100%;overflow:hidden;color:#5c4b47;font-size:11.5px;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}
.cc-queue-column .cc-customer-foot{display:grid;grid-template-columns:minmax(0,84px) minmax(0,1fr);align-items:center;gap:8px;min-width:0;padding-top:4px;overflow:hidden}
.cc-queue-column .cc-queue-intent{display:inline-flex;align-items:center;justify-content:center;min-width:0;max-width:100%;min-height:19px;box-sizing:border-box;padding:2px 6px;border:1px solid #eee1c9;border-radius:999px;background:#fff9e9;color:#8a5a00;font-size:9.5px;font-style:normal;font-weight:750;line-height:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cc-queue-column .cc-queue-state{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;justify-items:start;gap:4px;min-width:0;overflow:hidden;color:#756862;font-size:9.5px;font-weight:700;line-height:1.2}
.cc-queue-column .cc-queue-state>i{width:6px;height:6px;flex:none;border-radius:50%;background:currentColor;box-shadow:0 0 0 2px rgba(117,104,98,.1)}
.cc-queue-column .cc-queue-state b{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cc-queue-column .cc-queue-state em{display:block;flex:none;color:inherit;font-size:9px;font-style:normal;font-variant-numeric:tabular-nums;white-space:nowrap}
.cc-queue-column .cc-queue-state.wait{color:#b66712}.cc-queue-column .cc-queue-state.ai{color:#7050a6}.cc-queue-column .cc-queue-state.ok{color:#27845a}.cc-queue-column .cc-queue-state.error{color:#c43f3f}.cc-queue-column .cc-queue-state.neutral{color:#81746e}
.cc-queue-column .cc-customer.has-unread:not(.active){border-left-color:#d14345}

/* ===== 主聊天真实聊天气泡（2026-09-15，只作用于客户总控主聊天上半区） ===== */
.cc-chat-bubbles{display:flex;flex-direction:column;gap:10px;margin:0;padding:11px 12px;font-family:inherit;font-size:13.5px;line-height:1.7;white-space:normal;overflow-y:auto;overflow-x:hidden;background:#fcfaf6}
.ccb-note{align-self:center;max-width:92%;padding:5px 10px;border-radius:8px;background:#f4efe7;color:#8b786c;font-size:11.5px;text-align:center}
.ccb-day{display:flex;align-items:center;justify-content:center;margin:3px 0}
.ccb-day span{padding:2px 10px;border-radius:999px;background:#f1ece5;color:#9a8d84;font-size:11px}
.ccb-row{display:flex;flex-direction:column;gap:3px;align-items:flex-start;max-width:100%}
.ccb-row.sales{align-items:flex-end}
.ccb-row.system{align-items:center}
.ccb-meta{display:flex;align-items:baseline;gap:6px;color:#9a8d84;font-size:11px}
.ccb-name{color:#7a6762;font-size:11.5px;font-weight:700}
.ccb-time{font-style:normal}
.ccb-bubble{max-width:min(78%,760px);padding:7px 11px;border-radius:11px;background:#f2efe9;color:#3f3431;word-break:break-word}
.ccb-row.sales .ccb-bubble{background:#f5e3e1;color:#5b2028}
.ccb-text{white-space:pre-wrap}
.ccb-tokens{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}
.ccb-token{padding:1px 7px;border-radius:6px;background:rgba(126,28,42,.07);color:#7e1c2a;font-size:11px}
.ccb-quote{margin-top:5px;padding:5px 8px;border-left:2px solid #ddcdbd;background:rgba(255,255,255,.6);color:#6b5b53;font-size:12px;white-space:pre-wrap}
.ccb-sys{align-self:center;max-width:90%;padding:3px 11px;border-radius:999px;background:#f1ece5;color:#8f8279;font-size:11.5px;text-align:center}
.ccb-weak{color:#9a8d84;font-size:11.5px}
.ccb-shot{width:min(86%,760px);margin-top:2px;padding:9px 10px;border-radius:11px;background:#fffdf7;box-shadow:0 1px 0 rgba(92,55,34,.05)}
.ccb-shot-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding-bottom:6px;border-bottom:1px dashed #eee0cd}
.ccb-shot-head b{color:#5b4948;font-size:12px}
.ccb-shot-head em{color:#a4968c;font-size:10.5px;font-style:normal}
.ccb-shot-rows{display:flex;flex-direction:column;gap:4px;padding-top:6px;max-height:300px;overflow:auto}
.ccb-shot-row{display:flex;gap:7px;align-items:flex-start;font-size:12.5px;line-height:1.55}
.ccb-shot-row b{flex:none;min-width:52px;padding:1px 6px;border-radius:5px;background:#f1ece5;color:#7a6762;font-size:10.5px;font-weight:700;text-align:center}
.ccb-shot-row.role-customer b{background:#e8edf3;color:#3c5a7a}
.ccb-shot-row.role-girl b{background:#f7e6ea;color:#8d2f41}
.ccb-shot-row.role-unknown b{background:#f0ede9;color:#8b7f74}
.ccb-shot-row.role-other b{background:#f3f1ee;color:#8b7f74}
.ccb-shot-row.role-other span{color:#7c6f66;font-size:11.5px}
.ccb-shot-row span{flex:1;min-width:0;color:#43383a;white-space:pre-wrap;word-break:break-word}
.ccb-shot-empty{padding-top:6px;color:#a4968c;font-size:11.5px}
.ccb-shot-foot{margin-top:7px;padding-top:5px;border-top:1px dashed #eee0cd;color:#a4968c;font-size:10.5px}
.ccb-empty{padding:24px 0;text-align:center;color:#a4968c;font-size:12.5px}
/* ===== 主聊天下半区 · 统一 AI 操作台（2026-09-15） =====
   只做展示层：默认收起成一条 dock，老板手动展开；展开后上下可拖拽，高度只存页面级数值。 */
.cc-main-chat-stack>.cc-ai-console{display:flex;flex:0 0 auto;flex-direction:column;min-height:0;overflow:hidden;border-top:1px solid #e2d5c8;background:#fbf7f2}
.cc-main-chat-stack.cc-console-open>.cc-main-chat-top{min-height:150px}
.cc-main-chat-stack.cc-console-open>.cc-ai-console{flex:0 0 var(--cc-console-h,34%);min-height:150px;max-height:calc(100% - 150px)}
.cc-ai-console-splitter{flex:none;height:7px;border-bottom:1px solid #eee5dc;background:linear-gradient(#f3ece5,#fffaf5);cursor:row-resize;touch-action:none}
.cc-ai-console-splitter::after{content:'';display:block;width:44px;height:3px;margin:2px auto 0;border-radius:999px;background:#ddcfc1}
.cc-ai-console-splitter:hover::after{background:#b77e45}
.cc-ai-console-dock{display:flex;align-items:center;gap:6px;flex:none;min-width:0;padding:6px 9px;background:#fffaf5}
.cc-ai-console-dock .cc-ai-console-icon{flex:none;width:15px;text-align:center;color:#8b5718;font-size:12px;line-height:1}
.cc-ai-console-dock b{flex:none;color:#4b2025;font-size:12px}
.cc-ai-console-dock em{flex:1;min-width:0;overflow:hidden;color:#8b786c;font-size:11px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}
.cc-ai-console-dock button{flex:none;padding:4px 9px;border:1px solid #dccbbe;border-radius:6px;background:#fff;color:#6e5850;font:inherit;font-size:10px;cursor:pointer}
.cc-ai-console-dock button:hover{border-color:#b77e45;color:#8b5718}
.cc-ai-console.open>.cc-ai-console-dock{border-bottom:1px solid #eee5dc}
.cc-ai-console-dock.tone-error{background:#fff5f3}
.cc-ai-console-dock.tone-error .cc-ai-console-icon,.cc-ai-console-dock.tone-error em{color:#a23828}
.cc-ai-console-dock.tone-ai{background:#fff9f0}
.cc-ai-console-dock.tone-ai .cc-ai-console-icon{color:#b77e45}
.cc-ai-console-dock.tone-wait em{color:#9a641c}
.cc-ai-console-dock.tone-ok em{color:#3f6b4a}
.cc-ai-console-body{display:flex;flex:1 1 auto;flex-direction:column;gap:7px;min-height:0;padding:8px;overflow:auto;overscroll-behavior:contain}
.cc-console-card{flex:none;min-height:0;padding:7px 8px;border:1px solid #eae0d5;border-radius:9px;background:#fffdfa}
.cc-console-card-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:5px}
.cc-console-card-head b{flex:none;color:#4b2025;font-size:11px}
.cc-console-card-head span{min-width:0;overflow:hidden;color:#9a8d84;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.cc-console-chips{display:flex;flex-wrap:wrap;gap:4px}
.cc-console-chip{display:inline-flex;align-items:baseline;gap:4px;padding:3px 7px;border:1px solid #e7ddd2;border-radius:999px;background:#fbf7f2;color:#7d6a60;font-size:10px}
.cc-console-chip b{color:#6f5d52;font-size:10px}
.cc-console-chip em{color:#9a8d84;font-size:9px;font-style:normal}
.cc-console-chip.active{border-color:#b77e45;background:#fff4e3;color:#8b5718}
.cc-console-chip.active b{color:#8b5718}
.cc-console-facts{display:flex;flex-direction:column;gap:3px;margin-top:6px}
.cc-console-fact{color:#8b786c;font-size:10px;line-height:1.45}
.cc-console-quiet{color:#9a8d84;font-size:10px;line-height:1.5}
.cc-console-note{margin-top:4px;color:#8b786c;font-size:10px;line-height:1.5;word-break:break-word}
.cc-console-current{margin-top:4px;color:#5d4b42;font-size:10px;line-height:1.5;word-break:break-word}
.cc-console-reply{margin-top:6px;padding:6px 7px;border:1px solid #eadfd3;border-radius:8px;background:#fbf7f2}
.cc-console-reply>div{display:flex;align-items:center;justify-content:space-between;gap:6px}
.cc-console-reply b{color:#4b2025;font-size:10px}
.cc-console-reply button{padding:2px 6px;border:1px solid #dccbbe;border-radius:6px;background:#fff;color:#6e5850;font:inherit;font-size:9px;cursor:pointer}
.cc-console-reply p{margin:4px 0 0;color:#4a3d36;font-size:11px;line-height:1.55;white-space:pre-wrap;word-break:break-word}
.cc-console-actions{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}
.cc-console-actions button{padding:4px 8px;border:1px solid #dccbbe;border-radius:6px;background:#fff;color:#6e5850;font:inherit;font-size:10px;cursor:pointer}
.cc-console-actions button:hover{border-color:#b77e45;color:#8b5718}
.cc-console-actions button:disabled{opacity:.5;cursor:not-allowed}
.cc-console-card .cc-task-panel{margin-top:5px}
/* OPS 阶段条：主聊天顶部只展示理解流程所需的四件事，不重复整块AI操作台。 */
.cc-ops-stage-strip{display:grid;grid-template-columns:minmax(130px,.8fr) minmax(0,1.2fr);gap:1px;flex:none;margin:0 10px 8px;overflow:hidden;border:1px solid #eadfd3;border-radius:9px;background:#eadfd3}
.cc-ops-stage-strip>div{min-width:0;padding:7px 8px;background:#fffdfa}
.cc-ops-stage-main span,.cc-ops-stage-next span{display:block;color:#a3948a;font-size:9.5px;line-height:1.2}
.cc-ops-stage-main b{display:block;margin-top:2px;overflow:hidden;color:#4b2025;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.cc-ops-stage-main em{display:inline-block;max-width:100%;margin-top:4px;padding:2px 6px;overflow:hidden;border:1px solid #e5d8cc;border-radius:999px;background:#f8f4ee;color:#7d6a60;font-size:9.5px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}
.cc-ops-stage-next b{display:-webkit-box;margin-top:2px;overflow:hidden;color:#4a3d36;font-size:11px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.cc-ops-stage-next em{display:block;margin-top:3px;overflow:hidden;color:#8b786c;font-size:9.5px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}
.cc-ops-stage-line{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:baseline;gap:5px}
.cc-ops-stage-line i{color:#a3948a;font-size:9.5px;font-style:normal;white-space:nowrap}
.cc-ops-stage-line p{min-width:0;margin:0;overflow:hidden;color:#5b4740;font-size:10.5px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.cc-ops-stage-line em{color:#aaa09a;font-size:9px;font-style:normal;white-space:nowrap}
.cc-ops-stage-analysis,.cc-ops-phone-actions{grid-column:1/-1}
.cc-ops-stage-analysis span{display:block;margin-bottom:3px;color:#a3948a;font-size:9.5px}
.cc-ops-stage-analysis p{margin:0;color:#5b4740;font-size:11px;line-height:1.5;white-space:pre-wrap;word-break:break-word}
.cc-ops-phone-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.cc-ops-phone-actions>span{color:#a3948a;font-size:9.5px;white-space:nowrap}
.cc-ops-phone-actions button{padding:4px 9px;border:1px solid #cddfd1;border-radius:6px;background:#f2faf4;color:#286642;font-size:10.5px;cursor:pointer}
.cc-ops-phone-actions button.warn{border-color:#e6cba9;background:#fff8ec;color:#8b5718}
.cc-ops-phone-actions button:disabled{opacity:.55;cursor:wait}
.cc-ops-phone-actions em{color:#8b786c;font-size:9.5px;font-style:normal}
.cc-ops-stage-strip.tone-run .cc-ops-stage-main em{border-color:#edd3a9;background:#fff7e8;color:#8a5a00}
.cc-ops-stage-strip.tone-wait .cc-ops-stage-main em{border-color:#ead7b6;background:#fff9ed;color:#8a641c}
.cc-ops-stage-strip.tone-ready .cc-ops-stage-main em{border-color:#c8e3d1;background:#eef8f1;color:#31774c}
.cc-ops-stage-strip.tone-ok .cc-ops-stage-main em{border-color:#c8e3d1;background:#eef8f1;color:#31774c}
.cc-ops-stage-strip.tone-warn .cc-ops-stage-main em{border-color:#e3c7a0;background:#fff5e8;color:#8b5718}
.cc-ops-stage-strip.tone-error .cc-ops-stage-main em{border-color:#e4b8b2;background:#fff3f1;color:#a23828}
.cc-ops-progress{display:flex;flex-direction:column;gap:8px;min-width:0;padding:9px;border:1px solid #e8ddd3;border-radius:8px;background:#fdfbf8}
.cc-ops-progress-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;min-width:0}
.cc-ops-progress-head>div{min-width:0}
.cc-ops-progress-head b{display:block;color:#4b2025;font-size:12px}
.cc-ops-progress-head span{display:block;margin-top:2px;overflow:hidden;color:#998b83;font-size:9.5px;text-overflow:ellipsis;white-space:nowrap}
.cc-ops-progress-head button{flex:none;padding:4px 7px;border:1px solid #d8c7ba;border-radius:6px;background:#fff;color:#704843;font:inherit;font-size:9.5px;cursor:pointer}
.cc-ops-progress-head button:hover{border-color:#b77e45;color:#8b5718}
.cc-ops-progress-current{display:grid;grid-template-columns:1fr;gap:7px;min-width:0}
.cc-ops-progress-current-copy{min-width:0;padding:8px;border:1px solid #e7d9cf;border-radius:7px;background:#fff}
.cc-ops-progress-current-copy span{display:block;color:#a3948a;font-size:9px}
.cc-ops-progress-current-copy>b{display:block;margin-top:2px;color:#7d1d2a;font-size:12px}
.cc-ops-progress-current-copy p{margin:5px 0 0;color:#4d3b34;font-size:10.5px;line-height:1.5;word-break:break-word}
.cc-ops-progress-branches{display:grid;grid-template-columns:1fr;gap:5px;min-width:0;max-height:240px;overflow:auto;overscroll-behavior:contain}
.cc-ops-progress-branch{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:2px 5px;min-width:0;padding:6px 7px;border:1px solid #e8dfd8;border-radius:7px;background:#fff;color:#57443d;font:inherit;text-align:left;cursor:pointer}
.cc-ops-progress-branch:hover{border-color:#d8b69b;background:#fffaf4}
.cc-ops-progress-branch.is-hit{border-color:#cfa1a7;background:#fff4f5;box-shadow:inset 3px 0 0 #8b1e2d}
.cc-ops-progress-branch>span{grid-column:1/-1;color:#a3948a;font-size:8.5px}
.cc-ops-progress-branch>b{overflow:hidden;color:#563d39;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.cc-ops-progress-branch>em{overflow:hidden;color:#a3948a;font-size:8.5px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}
.cc-ops-progress-branch>i{color:#b77e45;font-size:12px;font-style:normal}
.cc-ops-progress-branch>strong{overflow:hidden;color:#765229;font-size:9.5px;text-overflow:ellipsis;white-space:nowrap}
.cc-ops-progress-branch:disabled{opacity:.66;cursor:default}
.cc-ops-progress-terminal{padding:9px;border:1px dashed #ded1c8;border-radius:7px;color:#95877f;font-size:10px;line-height:1.5}
.cc-ops-progress-full{border-top:1px solid #eee5dd;padding-top:7px}
.cc-ops-progress-full summary{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#4b2025;font-size:10.5px;cursor:pointer}
.cc-ops-progress-full summary span{color:#a3948a;font-size:9px;font-weight:400}
.cc-ops-progress-scroll{display:flex;flex-direction:column;gap:7px;max-height:400px;margin-top:7px;overflow:auto;overscroll-behavior:contain;padding-right:2px}
.cc-ops-progress-stage{display:flex;flex-direction:column;gap:4px}
.cc-ops-progress-stage h5{margin:2px 0 0;color:#a09188;font-size:9px;font-weight:700}
.cc-ops-progress-node{min-width:0;padding:6px 7px;border:1px solid #eee6df;border-radius:7px;background:#fff}
.cc-ops-progress-node.is-visited{border-color:#cde1d2;background:#f7fcf8}
.cc-ops-progress-node.is-next{border-color:#d9c8ae;background:#fffdf5}
.cc-ops-progress-node.is-current{border-color:#c78e98;background:#fff5f6;box-shadow:inset 3px 0 0 #8b1e2d}
.cc-ops-progress-node-main{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:6px;min-width:0}
.cc-ops-progress-node-main>span{display:grid;place-items:center;width:22px;height:22px;border-radius:6px;background:#f1ebe7;color:#8c7d75;font-size:8.5px}
.cc-ops-progress-node.is-current .cc-ops-progress-node-main>span{background:#8b1e2d;color:#fff}
.cc-ops-progress-node-main>div{min-width:0}
.cc-ops-progress-node-main b,.cc-ops-progress-node-main em{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cc-ops-progress-node-main b{color:#4b3832;font-size:10px}
.cc-ops-progress-node-main em{margin-top:1px;color:#9c8e86;font-size:8.5px;font-style:normal}
.cc-ops-progress-node-main button{padding:3px 6px;border:1px solid #e1d5cc;border-radius:5px;background:#fff;color:#71554e;font:inherit;font-size:8.5px;cursor:pointer}
.cc-ops-progress-node-branches{display:flex;flex-wrap:wrap;gap:3px;margin-top:4px;padding-left:30px}
.cc-ops-progress-node-branches>span{display:inline-flex;align-items:center;gap:3px;max-width:100%;padding:2px 5px;border-radius:5px;background:#f6f1ed;color:#796961;font-size:8px}
.cc-ops-progress-node-branches>span.is-line{background:#eef4f9;color:#536d84}
.cc-ops-progress-node-branches>span.is-handoff{background:#fff5df;color:#8a611c}
.cc-ops-progress-node-branches b{font-weight:700}
.cc-ops-progress-node-branches i{font-style:normal}
.cc-ops-progress-node-branches em{overflow:hidden;font-style:normal;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1100px){.cc-ops-progress-current{grid-template-columns:1fr}.cc-ops-progress-branches{grid-template-columns:1fr;max-height:260px}}
@media(max-width:760px){.cc-ops-stage-strip{grid-template-columns:1fr}.cc-ops-stage-line{grid-template-columns:auto minmax(0,1fr)}.cc-ops-stage-line em{grid-column:2;justify-self:start}}
/* ===== 顶部实时状态栏（2026-09-16）：只改这一行文字，不影响其它布局 ===== */
.cc-title #cc-updated{color:rgba(255,239,220,.74)}
.cc-live-clock{font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:.4px;color:#fff6e8}
.cc-data-age{font-variant-numeric:tabular-nums;color:rgba(255,239,220,.86)}
/* ===== 右侧 AI巡视台（2026-09-16）：默认右侧主视图 =====
   只用 ccCustomers() 里已有的真实字段，不读 docText、不拉详情、不加载图片。
   原来 4 个副聊天小窗的规则（.cc-watch-pane / .cc-watch-slot / .cc-watchboard）
   全部保留不动，方便随时回退；只是主界面不再渲染它们。 */
.cc-right-workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
.cc-right-workspace.cc-patrol-tools{grid-template-rows:minmax(300px,1fr) minmax(180px,.65fr)}
.cc-right-workspace>#cc-analysis-window{display:none}
.cc-right-workspace.cc-patrol-tools>#cc-analysis-window{display:flex}
.cc-ops-patrol-stack{display:grid;grid-template-rows:minmax(0,var(--cc-ops-h,46%)) 11px minmax(0,1fr);min-width:0;min-height:0;overflow:hidden}
.cc-ops-records{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;border:1px solid #e6dcd1;border-radius:9px;background:#fff}
.cc-ops-records-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding:9px 10px 7px;border-bottom:1px solid #f0e7de;background:#fffdfa;flex:none}
.cc-ops-records-head>div{min-width:0}
.cc-ops-records-head b{display:block;color:#4b2025;font-size:13px}
.cc-ops-records-head span{display:block;margin-top:2px;overflow:hidden;color:#9a8d84;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.cc-ops-records-reset{flex:none;padding:4px 8px;border:1px solid #e2d6ca;border-radius:7px;background:#fff;color:#8d7b70;font:inherit;font-size:10px;cursor:pointer}
.cc-ops-records-reset:hover{border-color:#b77e45;color:#8b5718}
.cc-legacy-recovery{flex:none;border-bottom:1px solid #f0e7de;background:linear-gradient(180deg,#fffdfa,#fbf8f3)}
.cc-legacy-recovery.tone-error{background:#fff6f4}
.cc-legacy-recovery-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding:9px 10px 6px}
.cc-legacy-recovery-head>div{min-width:0}
.cc-legacy-recovery-head b{display:block;color:#4b2025;font-size:13px}
.cc-legacy-recovery-head span{display:block;margin-top:2px;color:#8d7b70;font-size:10px;line-height:1.45}
.cc-legacy-recovery-head button{flex:none;padding:4px 8px;border:1px solid #d9c9bb;border-radius:6px;background:#fff;color:#80552f;font:inherit;font-size:10px;cursor:pointer}
.cc-legacy-recovery-head button:hover{border-color:#b77e45;color:#8b5718}
.cc-legacy-recovery-note{padding:0 10px 7px;color:#a3948a;font-size:9.5px;line-height:1.5}
.cc-legacy-recovery-list{display:flex;flex-direction:column;gap:6px;max-height:320px;padding:0 8px 8px;overflow:auto;overscroll-behavior:contain}
.cc-legacy-recovery-list.is-single{max-height:none;overflow:visible}
.cc-legacy-recovery-row{display:flex;flex-direction:column;gap:4px;width:100%;box-sizing:border-box;padding:8px 8px 9px;border:1px solid #eee4da;border-radius:8px;background:#fff;color:inherit;font:inherit;text-align:left;cursor:pointer}
.cc-legacy-recovery-row:hover{background:#fffaf4;border-color:#e3d3c4;box-shadow:0 4px 12px rgba(92,55,34,.06)}
.cc-legacy-recovery-row:focus-visible{outline:0;border-color:#b77e45;box-shadow:0 0 0 2px rgba(183,126,69,.18)}
.cc-legacy-recovery-row:disabled{cursor:default;opacity:.75}
.cc-legacy-recovery-row.tone-ok{box-shadow:inset 3px 0 0 #3f9a63}
.cc-legacy-recovery-row.tone-wait{box-shadow:inset 3px 0 0 #d0942f}
.cc-legacy-recovery-row.tone-warn{box-shadow:inset 3px 0 0 #b8231c}
.cc-legacy-recovery-row-top{display:flex;align-items:center;gap:6px;min-width:0}
.cc-legacy-recovery-row-top b{overflow:hidden;color:#41262a;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.cc-legacy-recovery-row-top em{flex:none;color:#a3948a;font-size:9.5px;font-style:normal}
.cc-legacy-recovery-row-top i{margin-left:auto;flex:none;padding:2px 6px;border-radius:999px;background:#f4eee8;color:#77665c;font-size:9.5px;font-style:normal}
.cc-legacy-recovery-row.tone-ok .cc-legacy-recovery-row-top i{background:#eaf5ee;color:#31774c}
.cc-legacy-recovery-row.tone-wait .cc-legacy-recovery-row-top i{background:#fff5e8;color:#8b5718}
.cc-legacy-recovery-row.tone-warn .cc-legacy-recovery-row-top i{background:#fdecea;color:#a23828}
.cc-legacy-recovery-stage{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px;min-width:0;padding:4px 6px;border-radius:7px;background:#fbf7f2}
.cc-legacy-recovery-stage>b{overflow:hidden;color:#5b4740;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.cc-legacy-recovery-progress{display:flex;align-items:center;gap:5px;min-width:0}
.cc-legacy-recovery-progress>span{display:flex;align-items:center;gap:2px}
.cc-legacy-recovery-progress i{display:block;width:5px;height:5px;border-radius:50%;background:#e1d6cb}
.cc-legacy-recovery-progress i.done{background:#b9cdbc}
.cc-legacy-recovery-progress i.current{width:14px;border-radius:4px;background:#b77e45}
.cc-legacy-recovery-row.tone-ok .cc-legacy-recovery-progress i.current{background:#3f9a63}
.cc-legacy-recovery-row.tone-warn .cc-legacy-recovery-progress i.current{background:#b8231c}
.cc-legacy-recovery-progress em{flex:none;color:#a3948a;font-size:8.5px;font-style:normal;white-space:nowrap}
.cc-legacy-recovery-fact{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:3px 6px;min-width:0;color:#8d7b70;font-size:9.5px}
.cc-legacy-recovery-fact i{color:#a3948a;font-style:normal;white-space:nowrap}
.cc-legacy-recovery-fact b{overflow:hidden;color:#5b4740;font-size:10px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
.cc-legacy-recovery-reason{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:5px;min-width:0;color:#8d7b70;font-size:9.5px;line-height:1.4}
.cc-legacy-recovery-reason i{flex:none;padding:1px 5px;border-radius:5px;background:#f4eee8;color:#77665c;font-size:8.5px;font-style:normal;white-space:nowrap}
.cc-legacy-recovery-row-next{display:block;overflow:hidden;color:#5b4740;font-size:10px;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}
.cc-legacy-recovery-row-next b{margin-right:5px;color:#4b2025}
.cc-legacy-recovery-empty{padding:8px;color:#a3948a;font-size:10px;text-align:center}
.cc-ops-records-scroll{flex:1;min-height:0;padding:7px;overflow:auto;overflow-x:hidden;overscroll-behavior:contain;background:#fdfbf8}
.cc-ops-record{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:flex-start;gap:7px;width:100%;box-sizing:border-box;padding:7px 8px;border:1px solid #eee4da;border-radius:8px;background:#fff;color:inherit;font:inherit;text-align:left;cursor:pointer}
.cc-ops-record+.cc-ops-record{margin-top:5px}
.cc-ops-record:hover{background:#fffaf4;border-color:#e3d3c4}
.cc-ops-record:focus-visible{outline:0;background:#fff6ea;box-shadow:inset 0 0 0 2px rgba(183,126,69,.25)}
.cc-ops-record.is-active{border-color:#e2b9b1;background:#fff7f5;box-shadow:inset 3px 0 0 #b8231c}
.cc-ops-record-dot{width:7px;height:7px;margin-top:4px;border-radius:50%;background:#c9bdb2}
.cc-ops-record.tone-error .cc-ops-record-dot{background:#d2372f;box-shadow:0 0 0 3px rgba(210,55,47,.14)}
.cc-ops-record.tone-ai .cc-ops-record-dot{background:#8b5a9a}
.cc-ops-record.tone-ok .cc-ops-record-dot{background:#3f9a63}
.cc-ops-record.tone-wait .cc-ops-record-dot{background:#d0942f}
.cc-ops-record.tone-ready .cc-ops-record-dot{background:#3f9a63}
.cc-ops-record-main{min-width:0}
.cc-ops-record-top{display:flex;align-items:baseline;gap:6px;min-width:0}
.cc-ops-record-top b{overflow:hidden;color:#41262a;font-size:11.5px;text-overflow:ellipsis;white-space:nowrap}
.cc-ops-record-top em{flex:none;margin-left:auto;color:#a3948a;font-size:9.5px;font-style:normal;font-variant-numeric:tabular-nums}
.cc-ops-record-meta{display:flex;align-items:center;gap:4px;margin-top:2px;min-width:0}
.cc-ops-record-meta i{overflow:hidden;color:#a3948a;font-size:9.5px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}
.cc-ops-record-meta i.stage{flex:0 1 auto;padding:1px 5px;border-radius:999px;background:#f4eee8;color:#77665c}
.cc-ops-record-meta i.status{flex:none;margin-left:auto;padding:1px 6px;border-radius:999px;background:#f4eee8;color:#7d6a60}
.cc-ops-record.tone-error .cc-ops-record-meta i.status{background:#fdecea;color:#a23828}
.cc-ops-record.tone-warn .cc-ops-record-meta i.status{background:#fff5e8;color:#8b5718}
.cc-ops-record.tone-wait .cc-ops-record-meta i.status{background:#fdf3e2;color:#8a5a00}
.cc-ops-record.tone-ok .cc-ops-record-meta i.status{background:#eaf5ee;color:#31774c}
.cc-ops-record-meta.cc-ops-record-layers{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;gap:4px;margin-top:5px}
.cc-ops-layer{display:flex;flex-direction:column;min-width:0;min-height:46px;box-sizing:border-box;padding:4px 5px;border:1px solid #efe6dc;border-radius:6px;background:#fcfaf7;overflow:hidden}
.cc-ops-layer-label{display:block;overflow:hidden;color:#a09187;font-size:8px;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}
.cc-ops-layer b{display:block;margin-top:2px;overflow:hidden;color:#5b4740;font-size:9.5px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}
.cc-ops-layer em{display:-webkit-box;min-height:20px;margin-top:2px;overflow:hidden;color:#9a8d84;font-size:8px;font-style:normal;line-height:1.18;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.cc-ops-layer.tone-error{border-color:#efd2cd;background:#fff7f5}
.cc-ops-layer.tone-error b{color:#a23828}
.cc-ops-layer.tone-warn{border-color:#efdcbd;background:#fffaf0}
.cc-ops-layer.tone-warn b{color:#8b5718}
.cc-ops-layer.tone-ok{border-color:#cee4d4;background:#f3faf5}
.cc-ops-layer.tone-ok b{color:#31774c}
.cc-ops-layer.tone-wait{border-color:#ead7b6;background:#fff9ed}
.cc-ops-layer.tone-wait b{color:#8a641c}
.cc-ops-layer.tone-run{border-color:#d8d0ed;background:#f8f6ff}
.cc-ops-layer.tone-run b{color:#6b4c94}
@media(max-width:1100px){.cc-ops-record-meta.cc-ops-record-layers{grid-template-columns:repeat(2,minmax(0,1fr))}}
.cc-ops-record-line{display:block;margin-top:3px;overflow:hidden;color:#8d7b70;font-size:10px;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}
.cc-ops-records-single{padding:0}
.cc-ops-records-single .cc-ops-record{border-color:#dfcfc1;background:#fffdfa}
.cc-ops-records-empty{padding:12px 9px;color:#9a8d84;font-size:10.5px;line-height:1.5}
.cc-ops-records-more{padding:7px 4px 2px;color:#a3948a;font-size:9.5px;text-align:center}
.cc-ops-patrol-splitter{position:relative;display:flex;align-items:center;justify-content:center;height:11px;min-height:11px;border:0;background:#fbf8f4;cursor:ns-resize;touch-action:none}
.cc-ops-patrol-splitter:before{position:absolute;right:9px;left:9px;top:50%;border-top:1px solid #e5d8cc;content:""}
.cc-ops-patrol-splitter:after{position:relative;width:38px;height:3px;border-radius:999px;background:#d9c9bb;box-shadow:0 0 0 3px #fbf8f4;content:""}
.cc-ops-patrol-splitter:hover:after,.cc-ops-patrol-splitter:focus-visible:after{background:#b77e45}
.cc-ops-patrol-splitter:focus-visible{outline:0}
body.cc-ops-patrol-resizing,body.cc-ops-patrol-resizing *{cursor:ns-resize!important;user-select:none!important}
.cc-cognition-patrol-stack{display:grid;min-width:0;min-height:0;overflow:hidden}
.cc-cognition-patrol-stack.has-cognition{grid-template-rows:minmax(0,var(--cc-cognition-h,40%)) 11px minmax(0,1fr)}
.cc-cognition-patrol-stack.no-cognition{display:block;height:100%}
.cc-cognition-patrol-stack.no-cognition>.cc-cognition,.cc-cognition-patrol-stack.no-cognition>.cc-cognition-splitter{display:none}
.cc-cognition-patrol-stack.no-cognition>.cc-patrol{height:100%}
.cc-cognition-splitter{position:relative;display:flex;align-items:center;justify-content:center;height:11px;min-height:11px;border:0;background:#fbf8f4;cursor:ns-resize;touch-action:none}
.cc-cognition-splitter:before{position:absolute;right:9px;left:9px;top:50%;border-top:1px solid #e5d8cc;content:""}
.cc-cognition-splitter:after{position:relative;width:38px;height:3px;border-radius:999px;background:#d9c9bb;box-shadow:0 0 0 3px #fbf8f4;content:""}
.cc-cognition-splitter:hover:after,.cc-cognition-splitter:focus-visible:after{background:#b77e45}
.cc-cognition-splitter:focus-visible{outline:0}
body.cc-cognition-resizing,body.cc-cognition-resizing *{cursor:ns-resize!important;user-select:none!important}
.cc-cognition{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;border:1px solid #e6dcd1;border-radius:9px;background:#fff}
.cc-cognition-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding:9px 10px 7px;border-bottom:1px solid #f0e7de;background:#fffdfa;flex:none}
.cc-cognition-head>div{min-width:0}.cc-cognition-head b{display:block;color:#4b2025;font-size:13px}.cc-cognition-head span{display:block;margin-top:2px;overflow:hidden;color:#9a8d84;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.cc-cognition-head-actions{display:flex;align-items:center;gap:5px;flex:none}.cc-cognition-head-actions .cc-cognition-status{margin-top:0}
.cc-cognition-expand{flex:none;padding:3px 7px;border:1px solid #e2d6ca;border-radius:6px;background:#fff;color:#6e5850;font:inherit;font-size:9.5px;cursor:pointer}.cc-cognition-expand:hover{border-color:#b77e45;color:#8b5718}
.cc-cognition-status{flex:none;padding:3px 7px;border:1px solid #e4ddd4;border-radius:999px;background:#f8f4ee;color:#7d6a60;font-size:9.5px}
.cc-cognition-status.tone-ok{border-color:#c8e3d1;background:#eef8f1;color:#31774c}.cc-cognition-status.tone-warn{border-color:#edd3a9;background:#fff7e8;color:#8a5a00}
.cc-cognition-scroll{flex:1;min-height:0;padding:8px;overflow:auto;overflow-x:hidden;overscroll-behavior:contain;background:#fdfbf8}
.cc-cognition-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-bottom:7px}
.cc-cognition-summary>div{min-width:0;padding:6px 7px;border:1px solid #efe4d9;border-radius:7px;background:#fff}.cc-cognition-summary i{display:block;color:#a3948a;font-size:9.5px;font-style:normal}.cc-cognition-summary b{display:block;margin-top:2px;overflow:hidden;color:#4b2025;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.cc-cognition-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.cc-cognition-grid article{min-width:0;padding:7px;border:1px solid #efe4d9;border-radius:7px;background:#fff}.cc-cognition-grid article.wide{grid-column:1/-1}.cc-cognition-grid h4{margin:0 0 5px;color:#5a3b37;font-size:10.5px}.cc-cognition-grid dl{margin:0;display:grid;grid-template-columns:auto minmax(0,1fr);gap:3px 6px}.cc-cognition-grid dt{color:#a3948a;font-size:9.5px}.cc-cognition-grid dd{margin:0;overflow:hidden;color:#5b4740;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.cc-cognition-grid ul{margin:0;padding-left:15px;color:#5b4740;font-size:10px;line-height:1.5}.cc-cognition-grid li{margin:1px 0}.cc-cognition-grid li.is-empty{list-style:none;margin-left:-15px;color:#aaa09a}.cc-cognition-evidence{max-height:72px;overflow:auto}.cc-cognition-key{margin:0;color:#5b4740;font-size:10.5px;line-height:1.5}.cc-cognition-feedback{margin-top:6px;padding-top:5px;border-top:1px dashed #efe4d9}.cc-cognition-feedback span{display:block;color:#a3948a;font-size:9.5px}.cc-cognition-feedback b{display:block;margin-top:2px;color:#7e1c2a;font-size:10px;font-weight:600;line-height:1.45}.cc-cognition-actions{display:flex;flex-wrap:wrap;align-items:center;gap:5px;padding:7px 8px;border-top:1px solid #f0e7de;background:#fffdfa;flex:none}.cc-cognition-actions button{padding:4px 8px;border:1px solid #e2d6ca;border-radius:6px;background:#fff;color:#5b4740;font:inherit;font-size:10px;cursor:pointer}.cc-cognition-actions button.primary{border-color:#b8231c;background:#b8231c;color:#fff}.cc-cognition-actions button:disabled{opacity:.48;cursor:not-allowed}.cc-cognition-actions>span{margin-left:auto;color:#a3948a;font-size:9.5px}
.cc-cognition-empty,.cc-cognition-loading{padding:12px;color:#9a8d84;font-size:11px}.cc-cognition-editor{margin-top:7px;padding:7px;border:1px solid #e8d8c9;border-radius:7px;background:#fffaf4}.cc-cognition-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.cc-cognition-editor label{display:block;min-width:0}.cc-cognition-editor label.wide{grid-column:1/-1}.cc-cognition-editor label>span{display:block;margin-bottom:2px;color:#9a8d84;font-size:9.5px}.cc-cognition-editor input,.cc-cognition-editor textarea{width:100%;box-sizing:border-box;padding:5px;border:1px solid #e2d6ca;border-radius:5px;background:#fff;color:#4b2025;font:inherit;font-size:10px}.cc-cognition-editor textarea{resize:vertical;min-height:42px}.cc-cognition-editor-actions{display:flex;align-items:center;gap:5px;margin-top:6px}.cc-cognition-editor-actions button{padding:4px 8px;border:1px solid #e2d6ca;border-radius:6px;background:#fff;color:#5b4740;font:inherit;font-size:10px;cursor:pointer}.cc-cognition-editor-actions button.primary{border-color:#b8231c;background:#b8231c;color:#fff}.cc-cognition-editor-actions span{color:#a3948a;font-size:9.5px}
.cc-cognition-tierbar{display:flex;align-items:stretch;gap:7px;padding:7px 8px;border-bottom:1px solid #f0e7de;background:#fffaf6;flex:none}
.cc-cognition-tier{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:7px;min-width:0;flex:1;padding:5px 7px;border:1px solid #eadbd0;border-radius:8px;background:#fff}
.cc-cognition-tier>b{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#6b5666;color:#fff;font-size:16px;font-weight:900;font-variant-numeric:tabular-nums}
.cc-cognition-tier>span{min-width:0;overflow:hidden;color:#5b4740;font-size:10px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.cc-cognition-tier>em{flex:none;color:#9a8d84;font-size:9.5px;font-style:normal;white-space:nowrap}
.cc-cognition-tier.tier-s>b{background:#a8212b}.cc-cognition-tier.tier-a>b{background:#b36b1d}.cc-cognition-tier.tier-b>b{background:#466a86}.cc-cognition-tier.tier-c>b{background:#7d746e}.cc-cognition-tier.tier-x>b{background:#c62828}.cc-cognition-tier.tier-unknown>b{background:#8d817a;font-size:9px}
.cc-cognition-tier-meta{display:flex;align-items:center;justify-content:center;flex:none;max-width:132px;padding:0 8px;border:1px dashed #e3d6cb;border-radius:8px;background:#fffdfa;color:#9a8d84;font-size:9.5px;text-align:center}
.cc-cognition-tabs{display:flex;align-items:center;gap:3px;padding:6px 8px 0;border-bottom:1px solid #f0e7de;background:#fffdfa;flex:none;overflow:auto}
.cc-cognition-tabs button{flex:none;padding:5px 8px;border:1px solid transparent;border-bottom:0;border-radius:7px 7px 0 0;background:transparent;color:#8d7b70;font:inherit;font-size:10px;cursor:pointer}
.cc-cognition-tabs button:hover{background:#faf4ee;color:#6d4d45}.cc-cognition-tabs button.active{border-color:#eadbd0;background:#fff;color:#7e1c2a;font-weight:700}
.cc-cognition-focus{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-bottom:7px}
.cc-cognition-metric{min-width:0;padding:6px 7px;border:1px solid #efe4d9;border-radius:7px;background:#fff}.cc-cognition-metric i{display:block;color:#a3948a;font-size:9.5px;font-style:normal}.cc-cognition-metric b{display:block;margin-top:2px;overflow:hidden;color:#4b2025;font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}
.cc-cognition-tab-body{display:flex;flex-direction:column;gap:6px}.cc-cognition-summary-tight{margin-bottom:0}.cc-cognition-wide-card{padding:7px;border:1px solid #efe4d9;border-radius:7px;background:#fff}.cc-cognition-wide-card h4{margin:0 0 5px;color:#5a3b37;font-size:10.5px}.cc-cognition-wide-card p{margin:0;color:#5b4740;font-size:10.5px;line-height:1.5}.cc-cognition-wide-card ul{margin:0;padding-left:15px;color:#5b4740;font-size:10px;line-height:1.5}.cc-cognition-wide-card li.is-empty{list-style:none;margin-left:-15px;color:#aaa09a}.cc-cognition-wide-card dl{margin:0;display:grid;grid-template-columns:auto minmax(0,1fr);gap:3px 6px}.cc-cognition-wide-card dt{color:#a3948a;font-size:9.5px}.cc-cognition-wide-card dd{margin:0;overflow:hidden;color:#5b4740;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1500px){.cc-cognition-focus{grid-template-columns:repeat(2,minmax(0,1fr))}.cc-cognition-tierbar{flex-direction:column}.cc-cognition-tier-meta{max-width:none;min-height:22px}}
.cc-patrol{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;border:1px solid #e6dcd1;border-radius:9px;background:#fff}
.cc-patrol-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding:9px 10px 7px;border-bottom:1px solid #f0e7de;background:#fffdfa;flex:none}
.cc-patrol-head>div{min-width:0}
.cc-patrol-head b{display:block;color:#4b2025;font-size:13px}
.cc-patrol-head span{display:block;margin-top:2px;overflow:hidden;color:#9a8d84;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.cc-patrol-head .cc-patrol-tools{flex:none;padding:4px 8px;border:1px solid #e2d6ca;border-radius:7px;background:#fff;color:#8d7b70;font:inherit;font-size:10px;cursor:pointer}
.cc-patrol-head .cc-patrol-tools:hover{border-color:#b77e45;color:#8b5718}
.cc-patrol-summary{display:flex;flex-wrap:wrap;gap:5px;padding:7px 9px;border-bottom:1px solid #f0e7de;background:#fffdfa;flex:none}
.cc-patrol-chip{display:inline-flex;align-items:baseline;gap:5px;padding:3px 8px;border:1px solid #eee5dc;border-radius:999px;background:#faf7f3;color:#8d7b70;font-size:10px}
.cc-patrol-chip i{font-style:normal}
.cc-patrol-chip b{color:#5b4740;font-size:12px;font-weight:800;font-variant-numeric:tabular-nums}
.cc-patrol-chip.tone-error{border-color:#f0c7bd;background:#fff4f1;color:#a23828}
.cc-patrol-chip.tone-error b{color:#b8231c}
.cc-patrol-chip.tone-ai{border-color:#e4d3e8;background:#fbf5fc;color:#7a4a86}
.cc-patrol-chip.tone-ai b{color:#6d3d79}
.cc-patrol-scroll{flex:1;min-height:0;padding:8px;overflow:auto;overflow-x:hidden;overscroll-behavior:contain;background:#fdfbf8}
.cc-patrol-block{margin-bottom:9px;border:1px solid #ece2d8;border-radius:8px;background:#fff;overflow:hidden}
.cc-patrol-block:last-child{margin-bottom:0}
.cc-patrol-block-head{display:flex;align-items:center;gap:6px;padding:6px 8px;border-bottom:1px solid #f1e9e0;background:#fffdfa}
.cc-patrol-block-head b{color:#4b2025;font-size:11px}
.cc-patrol-block-head span{margin-right:auto;color:#a3948a;font-size:10px;font-variant-numeric:tabular-nums}
.cc-patrol-block-head button{padding:3px 7px;border:1px solid #e2d6ca;border-radius:6px;background:#fff;color:#7d6a60;font:inherit;font-size:10px;cursor:pointer}
.cc-patrol-block-head button:hover{border-color:#b77e45;color:#8b5718}
.cc-patrol-list{display:flex;flex-direction:column}
.cc-patrol-empty{padding:10px 9px;color:#a3948a;font-size:10.5px}
.cc-patrol-more{padding:6px 9px;border-top:1px dashed #efe6dc;color:#a3948a;font-size:10px}
.cc-patrol-item{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:flex-start;gap:7px;width:100%;padding:7px 9px;border:0;border-top:1px solid #f4ece4;background:#fff;color:inherit;font:inherit;text-align:left;cursor:pointer}
.cc-patrol-item:first-child{border-top:0}
.cc-patrol-item:hover{background:#fffaf4}
.cc-patrol-item:focus-visible{outline:0;background:#fff6ea;box-shadow:inset 0 0 0 2px rgba(183,126,69,.25)}
.cc-patrol-dot{width:7px;height:7px;margin-top:4px;border-radius:50%;background:#c9bdb2}
.cc-patrol-item.tone-error .cc-patrol-dot{background:#d2372f;box-shadow:0 0 0 3px rgba(210,55,47,.14)}
.cc-patrol-item.tone-ai .cc-patrol-dot{background:#8b5a9a}
.cc-patrol-item.tone-ok .cc-patrol-dot{background:#3f9a63}
.cc-patrol-item.tone-wait .cc-patrol-dot{background:#d0942f}
.cc-patrol-item-main{min-width:0}
.cc-patrol-item-top{display:flex;align-items:baseline;gap:6px;min-width:0}
.cc-patrol-item-top b{overflow:hidden;color:#41262a;font-size:11.5px;text-overflow:ellipsis;white-space:nowrap}
.cc-patrol-item-top em{flex:none;margin-left:auto;color:#a3948a;font-size:9.5px;font-style:normal;font-variant-numeric:tabular-nums}
.cc-patrol-item-meta{display:flex;align-items:center;gap:5px;margin-top:2px;min-width:0}
.cc-patrol-item-meta i{overflow:hidden;color:#a3948a;font-size:9.5px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}
.cc-patrol-item-meta i.cc-patrol-label{flex:none;max-width:62%;padding:1px 6px;border-radius:999px;background:#f3ece5;color:#7d6a60}
.cc-patrol-item.tone-error .cc-patrol-item-meta i.cc-patrol-label{background:#fdecea;color:#a23828}
.cc-patrol-item.tone-ai .cc-patrol-item-meta i.cc-patrol-label{background:#f6eef8;color:#7a4a86}
.cc-patrol-item.tone-ok .cc-patrol-item-meta i.cc-patrol-label{background:#eaf5ee;color:#31774c}
.cc-patrol-item.tone-wait .cc-patrol-item-meta i.cc-patrol-label{background:#fdf3e2;color:#8a5a00}
.cc-patrol-item-reason{display:block;margin-top:3px;color:#8d7b70;font-size:10px;line-height:1.45;word-break:break-word}
/* 推送记录（2026-10-05）：只读列表——选中态 + 推送原文 + 没发出的真实原因，没有处理/展开控件。 */
.cc-patrol-row{display:flex;flex-direction:column;min-width:0;background:#fff}
.cc-patrol-row.is-active{background:#fff7f5;box-shadow:inset 3px 0 0 #b8231c}
.cc-patrol-row.is-active .cc-patrol-item{background:#fff7f5}
.cc-patrol-row.is-active .cc-patrol-item-top b{color:#8f221c}
.cc-patrol-item-text{display:block;margin-top:3px;color:#5b4a44;font-size:10px;line-height:1.45;word-break:break-word}
.cc-patrol-item-meta i.cc-patrol-channel{flex:none;padding:1px 6px;border-radius:999px;background:#eef2f6;color:#5a6b7a}
/* 2026-10-06 老板要的两件事：巡视台每行直接看见「客户走到哪一步」和「系统在干嘛」。 */
.cc-patrol-item-meta i.cc-patrol-step{flex:none;max-width:40%;padding:1px 6px;border-radius:999px;background:#eef6f1;color:#33604a;font-weight:700}
.cc-patrol-item-decision{display:block;margin-top:3px;color:#6f5a52;font-size:10px;line-height:1.45;word-break:break-word}
@media(max-width:900px){.cc-right-workspace{grid-template-rows:minmax(0,1fr) 260px;height:760px}.cc-right-workspace:not(.cc-patrol-tools){grid-template-rows:minmax(0,1fr)}.cc-right-workspace.cc-patrol-tools{grid-template-rows:minmax(0,1fr) 260px}}

/* 当前客户决策面板（2026-09-28）：客户专属信息只保留流程 / 判断 / 任务三块。 */
.cc-decision-panel{display:flex;flex-direction:column;min-width:0;min-height:0;height:100%;overflow:hidden;border:1px solid #e6dcd1;border-radius:9px;background:#fff}
.cc-decision-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 11px 8px;border-bottom:1px solid #f0e7de;background:linear-gradient(180deg,#fffdfa,#fff8f4);flex:none}
.cc-decision-head>div{min-width:0}.cc-decision-head b{display:block;overflow:hidden;color:#4b2025;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.cc-decision-head span{display:block;margin-top:2px;overflow:hidden;color:#9a8d84;font-size:9.5px;text-overflow:ellipsis;white-space:nowrap}
.cc-decision-stage{flex:none;max-width:42%;overflow:hidden;padding:3px 7px;border-radius:999px;background:#f3ece5;color:#77665c;font-size:9.5px;font-style:normal;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.cc-decision-stage.tone-ok{background:#eaf5ee;color:#31774c}.cc-decision-stage.tone-wait{background:#fdf3e2;color:#8a5a00}.cc-decision-stage.tone-error,.cc-decision-stage.tone-warn{background:#fdecea;color:#a23828}.cc-decision-stage.tone-ai{background:#f6eef8;color:#7a4a86}
.cc-decision-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:7px;border-bottom:1px solid #f0e7de;background:#fffdfa;flex:none}
.cc-decision-tabs button{display:grid;gap:2px;min-width:0;padding:6px 7px;border:1px solid #e7ddd3;border-radius:7px;background:#fff;color:#6f5b52;font:inherit;text-align:left;cursor:pointer}.cc-decision-tabs button:hover{border-color:#d3bda9;background:#fffaf6}.cc-decision-tabs button.active{border-color:#7e1c2a;background:#fff3f0;color:#7e1c2a;box-shadow:inset 0 -2px 0 #7e1c2a}.cc-decision-tabs button b{font-size:11px}.cc-decision-tabs button span{overflow:hidden;color:#9a8d84;font-size:8.5px;text-overflow:ellipsis;white-space:nowrap}.cc-decision-tabs button.active span{color:#a4545c}
.cc-decision-scroll{flex:1;min-height:0;padding:8px;overflow:auto;overflow-x:hidden;overscroll-behavior:contain;background:#fdfbf8}
.cc-decision-tab-body{display:flex;flex-direction:column;gap:8px;min-width:0}
.cc-decision-section-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 8px;border:1px solid #eee3d8;border-radius:8px;background:#fff}.cc-decision-section-tools span{min-width:0;overflow:hidden;color:#8b786c;font-size:9.5px;text-overflow:ellipsis;white-space:nowrap}.cc-decision-section-tools button{flex:none;padding:4px 8px;border:1px solid #7e1c2a;border-radius:6px;background:#7e1c2a;color:#fff;font:inherit;font-size:9.5px;font-weight:700;cursor:pointer}.cc-decision-section-tools button:disabled{opacity:.5;cursor:not-allowed}
.cc-decision-empty{display:grid;place-items:center;align-content:center;gap:6px;height:100%;min-height:220px;padding:18px;color:#8b786c;text-align:center}.cc-decision-empty b{color:#53151c;font-size:14px}.cc-decision-empty span{font-size:10.5px;line-height:1.6}
.cc-decision-empty-inline{display:grid;gap:4px;padding:12px 10px;border:1px dashed #e4d7ca;border-radius:8px;background:#fff;color:#8b786c}.cc-decision-empty-inline b{color:#53151c;font-size:12px}.cc-decision-empty-inline span{font-size:10px;line-height:1.5}
.cc-decision-tab-body .ca-analysis-row{grid-template-columns:72px minmax(0,1fr);padding:8px 9px;font-size:11px;line-height:1.55}
.cc-decision-tab-body .ca-analysis-grid{grid-template-columns:1fr}
.cc-decision-tab-body .ca-followup-panel{margin-top:0;padding:9px}
@media(max-width:900px){.cc-decision-panel{min-height:520px}.cc-decision-tabs button{padding:5px}.cc-decision-tab-body .ca-analysis-row{grid-template-columns:1fr}}

/* 客户任务中心 · 今日主动跟进决策页：层级、为什么今天跟、今天的目标。 */
.cc-task-hub-head-actions button.active{border-color:#7e1c2a;background:#fff0ed;color:#7e1c2a}
.cc-today-stats{display:flex;flex:none;gap:7px;overflow:auto;padding:8px 10px;border:1px solid #e6dcd1;border-radius:9px;background:#fffdfa}
.cc-today-stats>span{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto;gap:0 6px;align-items:baseline;min-width:104px;padding:6px 9px;border:1px solid #eee3d8;border-radius:8px;background:#fff}
.cc-today-stats>span i{grid-column:1;color:#8b786c;font-size:9.5px;font-style:normal;font-weight:700;white-space:nowrap}
.cc-today-stats>span b{grid-column:2;grid-row:1/3;color:#4b2025;font-size:20px;line-height:1.1}
.cc-today-stats>span em{grid-column:1;color:#a3948a;font-size:9px;font-style:normal;white-space:nowrap}
.cc-today-stats>span.tone-candidate{border-color:#e7c9c2;background:#fff8f6}
.cc-today-stats>span.tone-s b{color:#b8231c}
.cc-today-stats>span.tone-a b{color:#b5721c}
.cc-today-stats>span.tone-c b{color:#6c7b8a}
.cc-today-stats>span.tone-x b{color:#8b8078}
.cc-today-stats>span.tone-task b{color:#2d8a64}
.cc-today-levels{display:flex;flex-direction:column;gap:5px;padding:7px}
.cc-today-level-chip{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:7px 9px;border:1px solid #e8ded3;border-left:3px solid #b6a297;border-radius:8px;background:#fffdfa;color:#5b4948;font:inherit;font-size:11px;text-align:left;cursor:pointer}
.cc-today-level-chip span{padding:1px 6px;border-radius:999px;background:#f3ece5;color:#4b2025;font-size:10px;font-weight:800}
.cc-today-level-chip.active{border-color:#7e1c2a;border-left-color:#7e1c2a;background:#fff4f1;box-shadow:inset 0 0 0 1px rgba(126,28,42,.08)}
.cc-today-level-chip.active span{background:#7e1c2a;color:#fff}
.cc-today-level-chip.tone-s{border-left-color:#b8231c}
.cc-today-level-chip.tone-a{border-left-color:#c48a20}
.cc-today-level-chip.tone-b{border-left-color:#2d8a64}
.cc-today-level-chip.tone-c{border-left-color:#6c7b8a}
.cc-today-level-chip.tone-x{border-left-color:#9b9188}
.cc-today-list{display:flex;flex-direction:column;gap:7px;padding:7px;overflow:auto;min-height:0}
.cc-today-card{display:flex;flex-direction:column;gap:5px;padding:9px 10px;border:1px solid #e8ded3;border-left:3px solid #b6a297;border-radius:9px;background:#fff}
.cc-today-card.level-S{border-left-color:#b8231c;background:#fffaf9}
.cc-today-card.level-A{border-left-color:#c48a20}
.cc-today-card.level-B{border-left-color:#2d8a64}
.cc-today-card.level-C{border-left-color:#6c7b8a;background:#fcfbfa}
.cc-today-card.level-X{border-left-color:#b3aaa2;background:#fbfaf9}
.cc-today-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.cc-today-card-name{min-width:0}
.cc-today-card-name b{display:block;overflow:hidden;color:#3f2a2c;font-size:13px;text-overflow:ellipsis;white-space:nowrap}
.cc-today-card-name em{display:block;margin-top:2px;overflow:hidden;color:#8b786c;font-size:9.5px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}
.cc-today-badge{flex:none;padding:3px 8px;border:1px solid #e3d7ca;border-radius:999px;background:#faf6f2;color:#6f5d52;font-size:10px;font-weight:800;white-space:nowrap}
.cc-today-badge.tone-hot{border-color:#eabfb8;background:#fdeeeb;color:#a92a1f}
.cc-today-badge.tone-warm{border-color:#e8d3a8;background:#fdf6e6;color:#96631a}
.cc-today-badge.tone-calm{border-color:#c7e0d3;background:#f1faf5;color:#216d4d}
.cc-today-badge.tone-hold{border-color:#d3dde3;background:#f4f8fa;color:#4f6272}
.cc-today-badge.tone-mute{border-color:#e2ddd7;background:#f7f5f3;color:#7d736a}
.cc-today-line{display:flex;flex-wrap:wrap;gap:8px;color:#94857c;font-size:9.5px}
.cc-today-line i{font-style:normal}
.cc-today-line i.tone-label{padding:1px 6px;border-radius:999px;background:#f4f1ee;color:#7a6a5f;font-weight:700}
.cc-today-why,.cc-today-goal,.cc-today-time,.cc-today-brain,.cc-today-script{padding:5px 7px;border:1px solid #f0e8e0;border-radius:7px;background:#fffdfa;color:#54423b;font-size:10.5px;line-height:1.5}
.cc-today-why i,.cc-today-goal i,.cc-today-time i,.cc-today-brain i,.cc-today-script i{display:block;margin-bottom:2px;color:#a08d80;font-size:9px;font-style:normal;font-weight:800;letter-spacing:.02em}
.cc-today-why{border-color:#f2ddd8;background:#fff8f6}
.cc-today-why i{color:#b8231c}
.cc-today-card.level-C .cc-today-why,.cc-today-card.level-X .cc-today-why{border-color:#e7e1db;background:#faf8f6}
.cc-today-card.level-C .cc-today-why i,.cc-today-card.level-X .cc-today-why i{color:#7d736a}
.cc-today-brain{border-color:#e4dcea;background:#faf7fd}
.cc-today-brain i{color:#6b4c86}
.cc-today-script{border-color:#dcE8dd;background:#f8fdf9}
.cc-today-script i{color:#2d8a64}
.cc-today-block{padding:4px 7px;border:1px dashed #e0d6cc;border-radius:7px;color:#9a8b80;font-size:9.5px}
.cc-today-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:1px}
.cc-today-actions button{padding:5px 10px;border:1px solid #d8c8b9;border-radius:7px;background:#fff;color:#624e46;font:inherit;font-size:10.5px;font-weight:700;cursor:pointer}
.cc-today-actions button.primary{border-color:#7e1c2a;background:#7e1c2a;color:#fff}
.cc-today-actions button:disabled{opacity:.55;cursor:not-allowed}
.cc-task-hub-more{padding:8px;text-align:center;flex:none}
.cc-task-hub-more button{padding:7px 14px;border:1px solid #d8c8b9;border-radius:8px;background:#fff;color:#624e46;font:inherit;font-size:11px;font-weight:700;cursor:pointer}

/* 今日名单卡：清掉批量视图行样式（.cc-task-hub-row 的 align-items:center）对卡片的居中影响，恢复整宽纵向排版。 */
.cc-today-card.cc-task-hub-row{align-items:stretch;justify-content:flex-start;cursor:pointer}
.cc-today-card.cc-task-hub-row:hover{border-color:#d9c7ba;background:#fffaf9}
/* 今日名单卡头：extra.css 的全局 header 元素样式（深色渐变条）会套到卡片 <header> 上，这里显式还原成普通一行。 */
.cc-today-card-head{position:static;height:auto;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;justify-content:space-between;align-items:flex-start;gap:8px;color:inherit}
/* 今日主动跟进 · 批量勾选与批量操作条 */
.cc-today-toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;margin:0 7px 7px;padding:8px 10px;border:1px solid #e6dcd1;border-radius:9px;background:#fffdfa}
.cc-today-toolbar-info{display:flex;flex-wrap:wrap;gap:8px;align-items:baseline;min-width:0}
.cc-today-toolbar-info b{color:#5b2a30;font-size:11.5px}
.cc-today-toolbar-info span{color:#8b786c;font-size:10.5px}
.cc-today-toolbar-info em{color:#7e1c2a;font-size:10.5px;font-style:normal;font-weight:700}
.cc-today-toolbar-actions{display:flex;flex-wrap:wrap;gap:6px}
.cc-today-toolbar-actions button{padding:6px 11px;border:1px solid #d8c8b9;border-radius:7px;background:#fff;color:#624e46;font:inherit;font-size:10.5px;font-weight:700;cursor:pointer}
.cc-today-toolbar-actions button.primary{border-color:#7e1c2a;background:#7e1c2a;color:#fff}
.cc-today-toolbar-actions button:disabled{opacity:.5;cursor:not-allowed}
.cc-today-pick{display:inline-flex;flex:none;align-items:center;gap:4px;margin-right:2px;color:#8b786c;font-size:9.5px;white-space:nowrap;cursor:pointer}
.cc-today-pick input{width:15px;height:15px;margin:0;accent-color:#7e1c2a;cursor:pointer}
.cc-today-card-head{align-items:flex-start}
.cc-today-card-name{flex:1}
.cc-today-card.selected{border-color:#b77e45;background:#fff8ed;box-shadow:inset 3px 0 0 #7e1c2a}

/* 2026-09-16 AI任务作战中心：三栏作战台 + 底部任务下达区。仅前端展示层。 */
.cc-task-hub{gap:7px}
.cc-task-hub-warroom{display:grid;grid-template-columns:minmax(250px,.78fr) minmax(390px,1.45fr) minmax(250px,.77fr);gap:7px;height:286px;min-height:238px;flex:none;overflow:hidden}
.cc-task-hub-window{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;border:1px solid #e6ddd4;border-radius:9px;background:#fff;box-shadow:0 1px 2px rgba(83,21,28,.035)}
.cc-task-hub-window-head{display:flex;align-items:center;justify-content:space-between;gap:7px;min-width:0;padding:8px 9px;border-bottom:1px solid #eee6df;background:#fffdfb;flex:none}.cc-task-hub-window-head>div{min-width:0}.cc-task-hub-window-head b,.cc-task-hub-window-head span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cc-task-hub-window-head b{color:#4b2025;font-size:11px}.cc-task-hub-window-head span{margin-top:1px;color:#9a8d84;font-size:8px}.cc-task-hub-window-head>em{color:#8b786c;font-size:8px;font-style:normal;white-space:nowrap}
.cc-task-hub-scope-tabs{display:flex;gap:4px;flex-wrap:wrap;padding:6px 7px 4px;border-bottom:1px solid #f1e9e2;background:#fff;flex:none}.cc-task-hub-scope-tabs button{padding:3px 6px;border:1px solid #e1d7cc;border-radius:6px;background:#fff;color:#806f66;font:inherit;font-size:8px;cursor:pointer}.cc-task-hub-scope-tabs button.active{border-color:#d8b7bd;background:#fff3f4;color:#7e1c2a;font-weight:800}.cc-task-hub-scope-tabs button:disabled{opacity:.45;cursor:not-allowed}
.cc-task-hub-sales-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;min-height:0;padding:6px;overflow:auto;flex:1;align-content:start}
.cc-task-hub-sale-card{display:flex;flex-direction:column;gap:4px;min-width:0;min-height:70px;padding:6px;border:1px solid #e8ded5;border-radius:7px;background:#fffdfa;color:#5d4e48;transition:border-color .14s ease,background .14s ease,box-shadow .14s ease}.cc-task-hub-sale-card:hover{border-color:#d4b6a8;background:#fff}.cc-task-hub-sale-card.selected{border-color:#d7aeb5;background:#fff6f7;box-shadow:inset 3px 0 0 #7e1c2a}.cc-task-hub-sale-select{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 5px;width:100%;min-width:0;padding:0;border:0;background:transparent;color:inherit;text-align:left;font:inherit;cursor:pointer}.cc-task-hub-sale-top{display:flex;align-items:center;gap:4px;min-width:0;grid-column:1}.cc-task-hub-sale-top b{overflow:hidden;color:#4b2025;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.cc-task-hub-sale-top em{overflow:hidden;color:#9a8d84;font-size:7px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.cc-task-hub-sale-metrics{grid-column:1;display:flex;gap:8px;min-width:0}.cc-task-hub-sale-metrics span{display:grid;gap:0;min-width:0}.cc-task-hub-sale-metrics strong{color:#674a43;font-size:11px;line-height:1}.cc-task-hub-sale-metrics em{color:#a09289;font-size:7px;font-style:normal}.cc-task-hub-sale-check{grid-column:2;grid-row:1/3;align-self:center;color:#a09289;font-size:7px;font-weight:800;white-space:nowrap}.cc-task-hub-sale-card.selected .cc-task-hub-sale-check{color:#8c3e48}.cc-task-hub-sale-auto{display:flex;align-items:center;justify-content:center;gap:4px;width:100%;min-height:21px;padding:3px 5px;border:1px solid #e3d8ce;border-radius:5px;background:#faf8f5;color:#8b786c;font:inherit;font-size:7.5px;font-weight:800;cursor:pointer}.cc-task-hub-sale-auto i{width:5px;height:5px;border-radius:50%;background:#aaa096;flex:none}.cc-task-hub-sale-auto.on{border-color:#cfe4d5;background:#f3faf4;color:#24734f}.cc-task-hub-sale-auto.on i{background:#3a9568}.cc-task-hub-sale-auto:hover:not(:disabled){border-color:#c59b9f;background:#fff7f7;color:#7e1c2a}.cc-task-hub-sale-auto:disabled{opacity:.5;cursor:not-allowed}
.cc-task-hub-window-foot{padding:5px 7px 6px;border-top:1px solid #f1e9e2;color:#a09289;font-size:7.5px;line-height:1.35;flex:none}
.cc-task-hub-window-empty{padding:10px 8px;color:#9a8d84;font-size:8.5px;line-height:1.45;text-align:center}
.cc-task-hub-runtime-window{background:#fdfcfb}.cc-task-hub-runtime-state{display:inline-flex;align-items:center;gap:4px;padding:3px 6px;border:1px solid #e4ddd7;border-radius:999px;background:#faf8f6;color:#8b786c;font-size:7.5px;font-style:normal;font-weight:800;white-space:nowrap}.cc-task-hub-runtime-state:before{width:5px;height:5px;border-radius:50%;background:#aaa096;content:""}.cc-task-hub-runtime-state.running{border-color:#ddccea;background:#faf6fd;color:#76518f}.cc-task-hub-runtime-state.running:before{background:#8f6bb0;animation:ccRuntimeDot 1.5s ease-in-out infinite}
@keyframes ccRuntimeDot{0%,100%{opacity:.45;transform:scale(.82)}50%{opacity:1;transform:scale(1)}}
.cc-task-hub-runtime-current{display:grid;gap:2px;padding:6px 8px;border-bottom:1px solid #f1e9e2;background:#fff;flex:none}.cc-task-hub-runtime-current b,.cc-task-hub-runtime-current span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cc-task-hub-runtime-current b{color:#5b2a30;font-size:9px}.cc-task-hub-runtime-current span{color:#8b786c;font-size:7.5px}
.cc-task-hub-runtime-stages{margin:6px 7px 0}.cc-task-hub-runtime-stages span{padding:3px 5px;font-size:7px}
.cc-task-hub-runtime-feed{display:flex;flex:1;flex-direction:column;gap:2px;min-height:0;padding:5px 6px 6px;overflow:auto}.cc-task-hub-runtime-feed .cc-ai-job-event{padding:4px 5px}.cc-task-hub-runtime-feed .cc-ai-job-event b{font-size:8.5px}.cc-task-hub-runtime-feed .cc-ai-job-event span{font-size:7.5px}
.cc-task-hub-runtime-empty{display:grid;place-items:center;gap:3px;height:100%;min-height:120px;padding:14px;color:#8b786c;text-align:center}.cc-task-hub-runtime-empty b{color:#6f5d52;font-size:10px}.cc-task-hub-runtime-empty span{max-width:260px;font-size:8.5px;line-height:1.5}
.cc-task-hub-progress-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:6px;border-bottom:1px solid #f1e9e2;background:#fff;flex:none}.cc-task-hub-progress-stat{display:grid;place-items:center;gap:1px;min-width:0;padding:5px 2px;border:1px solid #eee6df;border-radius:6px;background:#fcfaf8}.cc-task-hub-progress-stat strong{color:#4b2025;font-size:13px;line-height:1}.cc-task-hub-progress-stat span{color:#9a8d84;font-size:6.5px;white-space:nowrap}.cc-task-hub-progress-stat.done strong{color:#2d8a64}.cc-task-hub-progress-stat.queue strong{color:#9a641c}.cc-task-hub-progress-stat.error strong{color:#b42318}.cc-task-hub-progress-stat.pending strong{color:#76518f}
.cc-task-hub-progress-list{display:flex;flex-direction:column;gap:3px;min-height:0;padding:5px 6px 6px;overflow:auto;flex:1}.cc-task-hub-progress-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 5px;padding:5px 6px;border:1px solid #eee5dd;border-radius:6px;background:#fff}.cc-task-hub-progress-row b{overflow:hidden;color:#4b2025;font-size:8.5px;text-overflow:ellipsis;white-space:nowrap}.cc-task-hub-progress-row span{overflow:hidden;color:#9a8d84;font-size:7px;text-overflow:ellipsis;white-space:nowrap}.cc-task-hub-progress-row em{grid-column:2;grid-row:1/3;align-self:center;padding:2px 5px;border-radius:999px;background:#f3eeea;color:#8b786c;font-size:7px;font-style:normal;font-weight:800;white-space:nowrap}.cc-task-hub-progress-row.queued em{background:#eef7f0;color:#16845b}.cc-task-hub-progress-row.error em{background:#fff0ed;color:#b42318}
.cc-task-hub-command{border-color:#e4d9ce;border-radius:9px;box-shadow:0 2px 8px rgba(83,21,28,.04)}
.cc-task-hub-command .cc-ai-task{background:#fff}.cc-task-hub-command .cc-ai-task-hero{grid-template-columns:28px minmax(0,1fr) auto;gap:7px;padding:7px 10px;background:#fffdfb}.cc-task-hub-command .cc-ai-task-mark{width:28px;height:28px;border-radius:8px}.cc-task-hub-command .cc-ai-task-hero b{font-size:12px}.cc-task-hub-command .cc-ai-task-hero span{font-size:8px}
.cc-ai-task-command-area{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:10px;align-items:stretch;padding:9px 10px;border-bottom:1px solid #f1e9e2;background:#fff}.cc-ai-task-command-area .cc-ai-task-command{display:grid;gap:4px;min-width:0}.cc-ai-task-command-area .cc-ai-task-command>span{display:block;color:#74635b;font-size:9px;font-weight:800}.cc-ai-task-command-area textarea{box-sizing:border-box;min-height:62px;max-height:92px;padding:8px 9px;line-height:1.45}.cc-ai-task-command-area .cc-ai-task-run{width:100%;min-width:0;align-self:stretch;padding:8px 11px;border-radius:8px;box-shadow:none}.cc-ai-task-command-area .cc-ai-task-run b{font-size:11px}.cc-ai-task-command-area .cc-ai-task-run span{font-size:8px}
.cc-task-hub-command .cc-ai-task-command{grid-column:auto;grid-row:auto}.cc-task-hub-command .cc-ai-task-run{grid-column:auto;grid-row:auto}.cc-task-hub-command .cc-ai-task-quick,.cc-task-hub-command .cc-ai-task-policy{grid-column:auto;grid-row:auto}
.cc-ai-task-chiprow{display:grid;grid-template-columns:68px minmax(0,1fr);gap:6px;align-items:center;min-width:0;padding:6px 10px;border-bottom:1px solid #f4eee8}.cc-ai-task-chiprow:last-child{border-bottom:0}.cc-ai-task-chiprow>b{color:#8a2633;font-size:8px;white-space:nowrap}.cc-ai-task-chiprow .cc-ai-task-policy,.cc-ai-task-chiprow .cc-ai-task-quick{flex-wrap:wrap;overflow:visible}.cc-ai-task-chiprow .cc-ai-task-policy span,.cc-ai-task-chiprow .cc-ai-task-quick button{padding:3px 7px;font-size:8px}.cc-ai-task-chiprow .cc-ai-task-policy b{display:none}
@media(max-width:1320px){.cc-task-hub-warroom{grid-template-columns:minmax(230px,.78fr) minmax(360px,1.22fr)}.cc-task-hub-progress-window{grid-column:1/-1;height:210px}.cc-ai-task-command-area{grid-template-columns:minmax(0,1fr) 220px}}
@media(max-width:900px){.cc-task-hub-warroom{grid-template-columns:1fr;height:auto}.cc-task-hub-window{min-height:210px}.cc-task-hub-progress-window{grid-column:auto}.cc-ai-task-command-area{grid-template-columns:1fr}.cc-ai-task-chiprow{grid-template-columns:1fr}.cc-task-hub-sales-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* OPS销售级开关：与AI自动并排，只切换当前销售是否按流程推进。 */
.cc-task-hub-sale-switches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;width:100%;min-width:0}
.cc-task-hub-sale-auto-state{display:flex;align-items:center;justify-content:center;gap:4px;width:100%;min-width:0;min-height:21px;padding:3px 5px;border:1px solid #e3d8ce;border-radius:5px;background:#faf8f5;color:#8b786c;font:inherit;font-size:7.5px;font-weight:800;white-space:nowrap}.cc-task-hub-sale-auto-state i{width:5px;height:5px;border-radius:50%;background:#aaa096;flex:none}.cc-task-hub-sale-auto-state.on{border-color:#cfe4d5;background:#f3faf4;color:#24734f}.cc-task-hub-sale-auto-state.on i{background:#3a9568}.cc-task-hub-sale-auto-state.busy{opacity:.62}
.cc-task-hub-sale-ops{display:flex;align-items:center;justify-content:center;gap:4px;width:100%;min-width:0;min-height:21px;padding:3px 4px;border:1px solid #d7e1e2;border-radius:5px;background:#f6f9fa;color:#5f7078;font:inherit;font-size:7.5px;font-weight:800;white-space:nowrap;cursor:pointer}
.cc-task-hub-sale-ops i{width:5px;height:5px;border-radius:50%;background:#aaa096;flex:none}
.cc-task-hub-sale-ops.on{border-color:#a8d5d0;background:#eefaf7;color:#256c64}.cc-task-hub-sale-ops.on i{background:#2d8a7d}
.cc-task-hub-sale-ops:disabled{opacity:.5;cursor:not-allowed}

/* 2026-09-26 OPS待办队列：正面呈现 needs_human 正式队列，接单后进入人工跟进中。 */
.cc-ops-queue{display:flex;flex-direction:column;gap:8px;height:100%;min-height:0;padding:8px;overflow:auto;background:#f7f5f2}
.cc-ops-queue-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:11px 12px;border:1px solid #e6dcd1;border-radius:10px;background:#fff}
.cc-ops-queue-head>div:first-child{min-width:0}
.cc-ops-queue-head>div:last-child{display:flex;gap:6px;flex:none}
.cc-ops-queue-head span{display:block;color:#9a6a31;font-size:10px;font-weight:800}
.cc-ops-queue-head h3{margin:3px 0 2px;color:#4b2025;font-size:18px}
.cc-ops-queue-head p{margin:0;color:#8b786c;font-size:11px;line-height:1.45}
.cc-ops-queue-head button{padding:7px 10px;border:1px solid #dbcbbb;border-radius:8px;background:#fff;color:#5b4948;font:inherit;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap}
.cc-ops-queue-head button.primary{border-color:#7e1c2a;background:#7e1c2a;color:#fff}
.cc-ops-queue-head button:disabled{opacity:.55;cursor:not-allowed}
.cc-ops-queue-stats{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 10px;border:1px solid #eadfd3;border-radius:9px;background:#fffdfa;color:#7b6b63;font-size:11px}
.cc-ops-queue-stats span{padding:3px 8px;border-radius:999px;background:#f5f0ea}
.cc-ops-queue-stats b{margin-right:3px;color:#7e1c2a;font-size:14px}
.cc-ops-triage-board{display:flex;flex-direction:column;gap:7px;padding:10px 11px;border:1px solid #e3d3c3;border-radius:10px;background:linear-gradient(180deg,#fffdf9,#fbf6ef)}
.cc-ops-triage-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.cc-ops-triage-head span{display:block;color:#9a6a31;font-size:10px;font-weight:800}
.cc-ops-triage-head h4{margin:3px 0 2px;color:#4b2025;font-size:15px}
.cc-ops-triage-head p{margin:0;max-width:640px;color:#8b786c;font-size:11px;line-height:1.45}
.cc-ops-triage-actions{display:flex;gap:6px;flex-wrap:wrap}
.cc-ops-triage-actions button{padding:7px 10px;border:1px solid #dbcbbb;border-radius:8px;background:#fff;color:#5b4948;font:inherit;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap}
.cc-ops-triage-actions button.primary{border-color:#7e1c2a;background:#7e1c2a;color:#fff}
.cc-ops-triage-actions button:disabled{opacity:.55;cursor:not-allowed}
.cc-ops-triage-stats{display:flex;gap:8px;flex-wrap:wrap;color:#7b6b63;font-size:11px}
.cc-ops-triage-stats span{padding:3px 9px;border-radius:999px;background:#f5f0ea}
.cc-ops-triage-stats b{margin-right:3px;color:#7e1c2a;font-size:14px}
.cc-ops-triage-chips{display:flex;gap:6px;flex-wrap:wrap}
.cc-ops-triage-chip{padding:5px 10px;border:1px solid #e2d5c7;border-radius:999px;background:#fff;color:#5b4948;font:inherit;font-size:11px;font-weight:700;cursor:pointer}
.cc-ops-triage-chip b{margin-right:4px;color:#7e1c2a}
.cc-ops-triage-chip.active{border-color:#7e1c2a;background:#7e1c2a;color:#fff}
.cc-ops-triage-chip.active b{color:#fff}
.cc-ops-triage-meta{display:flex;gap:10px;flex-wrap:wrap;color:#9a8d84;font-size:10px}
.cc-ops-queue-error{padding:9px 11px;border:1px solid #e7b9b0;border-radius:9px;background:#fff4f1;color:#a23a28;font-size:12px}
.cc-ops-queue-section{display:flex;flex-direction:column;flex:none;min-height:0;border:1px solid #e6dcd1;border-radius:10px;background:#fff;overflow:hidden}
.cc-ops-queue-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:9px 11px;border-bottom:1px solid #eee5dc;background:#fffdfa}
.cc-ops-queue-section-head b{color:#4b2025;font-size:14px}
.cc-ops-queue-section-head span{color:#9a8d84;font-size:10px}
.cc-ops-queue-columns,.cc-ops-queue-row{display:grid;grid-template-columns:minmax(130px,.85fr) minmax(105px,.72fr) minmax(92px,.58fr) minmax(220px,1.8fr) minmax(82px,.52fr) minmax(78px,.48fr) minmax(155px,.9fr);gap:8px;align-items:center;min-width:980px}
.cc-ops-queue-columns{padding:7px 10px;background:#faf7f2;color:#9a8d84;font-size:10px;font-weight:800}
.cc-ops-queue-list{min-height:0;overflow:visible;padding:7px}
.cc-ops-queue-row{margin-bottom:6px;padding:8px 9px;border:1px solid #e8ddd1;border-radius:8px;background:#fffdfa}
.cc-ops-queue-row.active{border-color:#a8d5d0;background:#f2faf8}
.cc-ops-queue-row>span{min-width:0;color:#5e4d47;font-size:11px;line-height:1.45;word-break:break-word}
.cc-ops-queue-row>span[data-label="客户最后一轮"]{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.cc-ops-queue-customer{display:block;min-width:0;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
.cc-ops-queue-customer b,.cc-ops-queue-customer em{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cc-ops-queue-customer b{color:#4b2025;font-size:13px}
.cc-ops-queue-customer em{margin-top:2px;color:#8b786c;font-size:10px;font-style:normal}
.cc-ops-queue-owner{color:#7b6b63;font-size:10px;font-weight:700}
.cc-ops-queue-actions{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.cc-ops-queue-actions button{padding:5px 8px;border:1px solid #d8c8b9;border-radius:7px;background:#fff;color:#5e4d47;font:inherit;font-size:10px;font-weight:800;cursor:pointer}
.cc-ops-queue-actions button.primary{border-color:#7e1c2a;background:#7e1c2a;color:#fff}
.cc-ops-queue-actions button:disabled{opacity:.55;cursor:not-allowed}
.cc-ops-queue-empty{display:grid;place-items:center;min-height:110px;color:#8b786c;font-size:12px}
.cc-ops-review-board{display:flex;flex-direction:column;flex:none;gap:8px;padding:11px;border:1px solid #d9c6b3;border-radius:11px;background:linear-gradient(180deg,#fffdf9,#fbf4eb)}
.cc-ops-review-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.cc-ops-review-head span{display:block;color:#9a6a31;font-size:10px;font-weight:800}
.cc-ops-review-head h4{margin:3px 0 2px;color:#4b2025;font-size:16px}
.cc-ops-review-head p{margin:0;max-width:760px;color:#8b786c;font-size:11px;line-height:1.45}
.cc-ops-review-actions{display:flex;gap:6px;flex:none}
.cc-ops-review-actions button{padding:7px 10px;border:1px solid #dbcbbb;border-radius:8px;background:#fff;color:#5b4948;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.cc-ops-review-stats,.cc-ops-review-chips{display:flex;gap:6px;flex-wrap:wrap;color:#7b6b63;font-size:11px}
.cc-ops-review-stats span{padding:3px 9px;border-radius:999px;background:#f5eee6}
.cc-ops-review-stats b{margin-right:3px;color:#7e1c2a;font-size:14px}
.cc-ops-review-chip{padding:5px 10px;border:1px solid #e2d5c7;border-radius:999px;background:#fff;color:#5b4948;font:inherit;font-size:11px;font-weight:700;cursor:pointer}
.cc-ops-review-chip b{margin-right:4px;color:#7e1c2a}
.cc-ops-review-chip.active{border-color:#7e1c2a;background:#7e1c2a;color:#fff}
.cc-ops-review-chip.active b{color:#fff}
.cc-ops-review-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(360px,1fr));gap:8px}
.cc-ops-review-card{display:flex;flex-direction:column;gap:7px;padding:10px;border:1px solid #e5d7ca;border-radius:9px;background:#fff}
.cc-ops-review-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.cc-ops-review-card>header button{display:block;min-width:0;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
.cc-ops-review-card>header b,.cc-ops-review-card>header small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cc-ops-review-card>header b{color:#4b2025;font-size:14px}
.cc-ops-review-card>header small{margin-top:2px;color:#8b786c;font-size:10px}
.cc-ops-review-card>header>span{padding:3px 7px;border-radius:999px;background:#f5eee6;color:#8c6b54;font-size:10px;font-weight:800;white-space:nowrap}
.cc-ops-review-stage{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.cc-ops-review-stage>div,.cc-ops-review-chat>div{padding:7px 8px;border:1px solid #eee4da;border-radius:8px;background:#fcfaf7}
.cc-ops-review-stage em,.cc-ops-review-chat em,.cc-ops-review-reason em,.cc-ops-review-next em{display:block;margin-bottom:3px;color:#9a6a31;font-size:10px;font-style:normal;font-weight:800}
.cc-ops-review-stage b{color:#4b2025;font-size:13px}
.cc-ops-review-chat{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.cc-ops-review-chat p,.cc-ops-review-reason p,.cc-ops-review-next p{margin:0;color:#5e4d47;font-size:11px;line-height:1.5;word-break:break-word}
.cc-ops-review-chat p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3}
.cc-ops-review-reason{padding:7px 8px;border:1px solid #f0d6c9;border-radius:8px;background:#fff7f3}
.cc-ops-review-reason small{display:block;margin-top:4px;color:#9a8d84;font-size:10px;line-height:1.4}
.cc-ops-review-next{padding:7px 8px;border:1px solid #d9e7e2;border-radius:8px;background:#f5fbf9}
.cc-ops-review-next p+p{margin-top:3px}
.cc-ops-review-correct{display:grid;grid-template-columns:minmax(120px,1fr) minmax(150px,1.2fr);gap:7px;align-items:center}
.cc-ops-review-correct label{color:#6b5049;font-size:10px;font-weight:800}
.cc-ops-review-correct select{width:100%;min-width:0;box-sizing:border-box;padding:7px 8px;border:1px solid #d8c8b9;border-radius:7px;background:#fff;color:#4b2025;font:inherit;font-size:11px}
.cc-ops-review-card>footer{display:flex;gap:5px;flex-wrap:wrap}
.cc-ops-review-card>footer button{padding:6px 8px;border:1px solid #d8c8b9;border-radius:7px;background:#fff;color:#5e4d47;font:inherit;font-size:10px;font-weight:800;cursor:pointer}
.cc-ops-review-card>footer button.primary{border-color:#7e1c2a;background:#7e1c2a;color:#fff}
.cc-ops-review-card>footer button:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:900px){
  .cc-ops-queue{padding:6px}
  .cc-ops-queue-head{flex-direction:column}
  .cc-ops-queue-head>div:last-child{width:100%;flex-wrap:wrap}
  .cc-ops-queue-head button{flex:1}
  .cc-ops-queue-columns,.cc-ops-queue-row{min-width:860px;grid-template-columns:120px 95px 85px 200px 74px 70px 135px}
  .cc-ops-queue-list{overflow:auto}
  .cc-ops-review-head{flex-direction:column}
  .cc-ops-review-actions{width:100%}
  .cc-ops-review-actions button{width:100%}
  .cc-ops-review-list{grid-template-columns:1fr}
  .cc-ops-review-chat,.cc-ops-review-stage{grid-template-columns:1fr}
  .cc-ops-review-correct{grid-template-columns:1fr}
}

.cc-ops-queue-modal-layer{position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:18px;background:rgba(42,25,24,.42)}
.cc-ops-queue-modal{display:flex;flex-direction:column;width:min(560px,100%);max-height:min(620px,calc(100vh - 36px));border:1px solid #dfcfc1;border-radius:12px;background:#fffdfa;box-shadow:0 24px 70px rgba(49,25,22,.28);overflow:hidden}
.cc-ops-queue-modal header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid #eee5dc;background:#fff}
.cc-ops-queue-modal header span{display:block;color:#9a6a31;font-size:10px;font-weight:800}
.cc-ops-queue-modal header h3{margin:3px 0 2px;color:#4b2025;font-size:17px}
.cc-ops-queue-modal header p{margin:0;color:#8b786c;font-size:11px;line-height:1.45}
.cc-ops-queue-modal header button{padding:6px 9px;border:1px solid #d8c8b9;border-radius:7px;background:#fff;color:#5e4d47;font:inherit;font-size:11px;cursor:pointer}
.cc-ops-queue-modal-body{display:grid;gap:8px;padding:14px;overflow:auto}
.cc-ops-queue-modal-body label{color:#6b5049;font-size:11px;font-weight:800}
.cc-ops-queue-current{padding:9px 10px;border:1px solid #eadfd3;border-radius:8px;background:#faf6f0;color:#4b2025;font-size:12px;font-weight:700}
.cc-ops-queue-modal-body select{width:100%;min-width:0;box-sizing:border-box;padding:9px 10px;border:1px solid #d8c8b9;border-radius:8px;background:#fff;color:#4b2025;font:inherit;font-size:12px}
.cc-ops-queue-modal footer{display:flex;justify-content:flex-end;gap:7px;padding:10px 14px;border-top:1px solid #eee5dc;background:#faf7f2}
.cc-ops-queue-modal footer button{padding:7px 12px;border:1px solid #d8c8b9;border-radius:8px;background:#fff;color:#5e4d47;font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.cc-ops-queue-modal footer button.primary{border-color:#7e1c2a;background:#7e1c2a;color:#fff}
.cc-ops-queue-modal footer button.primary.danger{border-color:#a23a28;background:#a23a28}
.cc-ops-queue-modal footer button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:640px){.cc-ops-queue-modal-layer{padding:8px}.cc-ops-queue-modal{max-height:calc(100vh - 16px)}.cc-ops-queue-modal header{flex-direction:column}.cc-ops-queue-modal header button{width:100%}.cc-ops-queue-modal footer button{flex:1}}

/* 销售选择反馈与单销售范围：点销售后面板范围要明确变化，不能只换一条很淡的边框。 */
.cc-sale-card-tags{display:flex;align-items:center;gap:4px;min-width:0;flex:none}
.cc-sale-selected-mark{flex:none;padding:2px 5px;border:1px solid #e3b7bc;border-radius:999px;background:#fff1f2;color:#8e2433;font-size:8px;font-weight:800;white-space:nowrap}
.cc-sale-row .cc-sale.employee-card.selected{border-color:#b94858;background:#fff5f4;box-shadow:inset 4px 0 0 #7e1c2a,0 5px 14px rgba(83,21,28,.11)}
.cc-sale-row .cc-sale.employee-card.selected .cc-sale-name{color:#761c2a}
.cc-sale-row .cc-sale.employee-card.cc-selection-flash{animation:ccSaleSelectionFlash .62s ease-out 1}
@keyframes ccSaleSelectionFlash{0%{box-shadow:inset 4px 0 0 #7e1c2a,0 0 0 3px rgba(126,28,42,.20)}100%{box-shadow:inset 4px 0 0 #7e1c2a,0 5px 14px rgba(83,21,28,.11)}}
.cc-queue-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:0 8px}
.cc-queue-head-copy{min-width:0}
.cc-queue-head-copy b,.cc-queue-head-copy span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cc-queue-clear-sale{align-self:start;flex:none!important;padding:4px 7px!important;border:1px solid #d7b8bd!important;border-radius:7px!important;background:#fff7f7!important;color:#8e2433!important;font:inherit!important;font-size:10px!important;font-weight:800!important;cursor:pointer}
.cc-queue-clear-sale:hover{border-color:#b94858!important;background:#fff1f2!important}
.cc-queue-head>#cc-search{grid-column:1/-1}

.cc-howto{margin:10px 0;padding:10px 12px;border:1px solid #e7c9a8;border-radius:8px;background:#fffaf1}
.cc-howto-head{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}
.cc-howto-head b{color:#8a4b12}
.cc-howto-head span{color:#6b5b4d;font-size:12px}
.cc-howto-body{display:flex;gap:10px;align-items:flex-start;margin-top:8px}
.cc-howto-body p{flex:1;margin:0;line-height:1.6;color:#2f2620;white-space:pre-wrap}
.cc-howto-body button{flex:none;border:1px solid #d9b183;background:#fff;border-radius:6px;padding:5px 9px;cursor:pointer;color:#8a4b12;font-size:12px}
