/* Integration geometry: reference HTML/CSS supplies the visual design; existing controllers supply data. */
#app:has(#viewCustomers.on) .quota,#app:has(#viewCustomers.on) .share-float{display:none!important}
#app:has(#viewCustomers.on)>.main{padding-top:0!important}
#viewCustomers.cp-preview{container-type:inline-size;padding:0!important;overflow-y:auto;background:radial-gradient(ellipse at 48% 5%,#f8f4f0 0%,transparent 52%),#faf8f6;font-family:var(--font);font-size:14px;line-height:1.6}
#viewCustomers .topbar{margin:0;padding:0 24px;border-radius:0;border-bottom:1px solid #eee5df;flex-wrap:wrap;height:auto;min-height:64px;gap:12px}
#viewCustomers .topbar .brand{font-size:14px;color:#6c7380;gap:8px}
#viewCustomers .topbar .brand-tagline{font-size:18px;font-weight:700;color:#222631;margin-left:4px}
#viewCustomers .topnav{margin-right:0}
#viewCustomers .action-card{min-width:0}
@container(max-width:1250px){#viewCustomers .action-card{padding:16px;gap:12px}#viewCustomers .action-copy{min-width:0;flex:1}#viewCustomers .action-copy strong{font-size:17px}#viewCustomers .action-copy small{white-space:normal;font-size:12px}#viewCustomers .action-icon{width:44px;height:44px}#viewCustomers .round-arrow{width:26px;height:26px}}
@container(max-width:1250px){#viewCustomers .cw-home{padding:0 24px 20px!important}#viewCustomers .hero-actions{width:290px}#viewCustomers .hero h1{font-size:35px}#viewCustomers .hero-art{width:480px;left:calc(50% - 270px)}#viewCustomers .hero-copy{width:400px;padding-left:0}#viewCustomers .hero-features{gap:12px}#viewCustomers .plan-banner .coach-note{display:none}#viewCustomers .plan-actions .button{font-size:13px;padding:0 14px;min-width:0}#viewCustomers .topnav{gap:8px}#viewCustomers .table-tools{flex-wrap:wrap}#viewCustomers .hero-action{padding:18px}}
@container(max-width:950px){#viewCustomers .hero{height:auto;padding-bottom:20px}#viewCustomers .hero-art{left:auto;right:0;width:440px;opacity:.45}#viewCustomers .hero-actions{position:relative;top:auto;right:auto;width:100%;grid-template-columns:1fr 1fr;margin-top:26px}#viewCustomers .hero-copy{width:100%;padding-top:25px}#viewCustomers .plan-banner{flex-wrap:wrap}#viewCustomers .plan-actions{margin-left:auto}#viewCustomers .topnav{height:46px}#viewCustomers .topbar{padding:10px 18px}#viewCustomers .upload-note-top,#viewCustomers .upload-note-left{display:none}#viewCustomers .guide-hero h1{font-size:30px}#viewCustomers .table-toolbar{flex-wrap:wrap;gap:12px}}
#viewCustomers .cw-home{max-width:1760px;margin:0 auto;padding:0 40px 20px!important}
#viewCustomers .topbar .ca-tab{height:42px;min-height:0;padding:0 8px;font-size:14px;border-radius:10px;background:none;box-shadow:none}
#viewCustomers .topbar .ca-tab.active{background:#fff7f5;color:var(--brand)}
#viewCustomers .profile{max-width:160px}#viewCustomers #cpUser{max-width:110px;overflow:hidden;text-overflow:ellipsis}
#viewCustomers .cw-home .cw-customer-row{display:table-row;padding:0;border:0}
#viewCustomers .row-actions .button{font-size:12px;min-height:0;height:38px;padding:0 12px;border-radius:8px;white-space:nowrap;gap:6px}
#viewCustomers .row-actions .button.primary{background:linear-gradient(135deg,#d52d20,#bc271c);color:white}
#viewCustomers .plan-actions .button{font-size:16px;min-height:57px;height:57px;border-radius:12px;padding:0 22px}
#viewCustomers .plan-actions .primary{min-width:188px}
#viewCustomers .plan-copy h2,#viewCustomers .plan-copy p{white-space:normal}
#viewCustomers .plan-banner{height:auto;min-height:128px}
#viewCustomers #cwSuggestions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:14px}
#viewCustomers #cwSuggestions[hidden]{display:none}
#viewCustomers .overview-card{height:auto;min-height:149px}
#viewCustomers .overview-text{font-size:14px;color:#7e8696;line-height:1.9}
#viewCustomers #cwStatus{margin:0;font-size:12px}
#viewCustomers .ca-pane:not(.cw-home){max-width:none;margin:0;padding:0}
#viewCustomers .ca-archive-layout{grid-template-columns:325px minmax(0,1fr);gap:0;min-height:calc(100vh - 60px)}
#viewCustomers .cp-archive-sidebar{padding:20px 18px 30px 31px;border-right:1px solid #eee5df}
#viewCustomers .cp-archive-sidebar h2{font-size:24px;margin:0 0 2px}
#viewCustomers .cp-archive-sidebar>p{font-size:12px;color:#808797;margin-bottom:16px}
#viewCustomers .ca-archive-tools{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
#viewCustomers .ca-archive-tools input{flex-basis:100%;height:38px;font-size:12px;padding:8px 12px;border-radius:10px}
#viewCustomers .ca-archive-tools select{flex:1;width:0;font-size:12px;padding:7px}
#viewCustomers .ca-archive-tools button{font-size:12px;min-height:34px;padding:6px 12px}
#viewCustomers .ca-list{position:static;display:grid;grid-template-columns:1fr;max-height:none;overflow:visible;gap:10px}
#viewCustomers .ca-customer{grid-template-columns:44px minmax(0,1fr) max-content;border:1px solid #e8e3df;padding:12px 14px;border-radius:12px;gap:10px;background:rgba(255,255,255,.85)}
#viewCustomers .ca-customer.on{background:#fff6f3;border-color:#eea18f;box-shadow:inset 0 0 0 3px #fff}
#viewCustomers .ca-avatar{width:44px;height:44px;border-radius:50%;background:#fdebe6;font-size:20px;color:#c54832}
#viewCustomers .ca-customer strong{font-size:13px}#viewCustomers .ca-customer small{font-size:11px;margin-top:3px}
#viewCustomers .ca-detail{padding:18px 30px 22px 24px;background:none;border:0;box-shadow:none;min-width:0}
#viewCustomers .ca-detail-head{align-items:center;min-height:55px;margin-bottom:12px;padding:0}
#viewCustomers .ca-detail-head h3{font-size:25px;font-weight:750}
#viewCustomers .ca-detail-head p{font-size:13px;margin-top:3px}
#viewCustomers .cj-coach-entry{display:flex;align-items:center;gap:16px;min-height:114px;padding:14px 22px;margin-bottom:15px;background:#fff5f2;border:1px solid #f3d8ce;border-radius:12px}
#viewCustomers .cj-coach-entry .robot-art{width:82px;height:82px}
#viewCustomers .cj-coach-entry>div{flex:1;min-width:0}
#viewCustomers .cj-coach-entry .cj-eyebrow{font-size:12px;color:#bc4b32;letter-spacing:0}
#viewCustomers .cj-coach-entry h2{font-size:22px;color:#19202e;margin:2px 0 4px;line-height:1.5}
#viewCustomers .cj-coach-entry p{font-size:12px;color:#8993a3}
#viewCustomers .cj-coach-entry>.cj-button{min-height:50px;white-space:nowrap;font-size:15px;padding:0 20px}
#viewCustomers .cj-coach-entry .coach-note{width:140px;height:80px}
#viewCustomers .cj-top-actions{gap:11px;margin-bottom:13px}
#viewCustomers .cj-top-actions .cj-button{display:inline-flex;align-items:center;gap:8px;font-size:13px;height:41px;min-height:41px;padding:0 16px}
#viewCustomers .cj-info-tabs{gap:12px;margin-bottom:12px}
#viewCustomers .cj-info-tabs .cj-button{font-size:13px;padding:9px 16px;min-height:41px}
#viewCustomers .cj-progress{padding:17px 10px 18px;border-radius:12px;min-height:88px}
#viewCustomers .cj-step{font-size:12px;font-weight:400}
#viewCustomers .cj-step-dot{width:29px;height:29px;font-size:13px;margin-bottom:7px}
#viewCustomers .cj-live{margin:6px 0;font-size:11px;color:#858c94}
#viewCustomers .cj-card{margin-top:12px;border-radius:13px;border-color:#e5d9d2}
#viewCustomers .cj-card-hero{padding:13px 25px 12px;min-height:109px;background:linear-gradient(108deg,#884b3b,#7c392e 64%,#894b3d)}
#viewCustomers .cj-card-hero .cj-eyebrow{font-size:13px;letter-spacing:0}
#viewCustomers .cj-card h2{font-size:29px;font-weight:800;margin:1px 0;line-height:1.4}
#viewCustomers .cj-card-meta{font-size:11px;color:#f4ddd5}
#viewCustomers .cj-card-body{padding:10px 24px 9px}
#viewCustomers .cj-situation{font-size:12px;line-height:1.8;color:#7b8495;margin:0 0 8px}
#viewCustomers .cj-goal,#viewCustomers .cj-message,#viewCustomers .cj-action{display:grid;grid-template-columns:165px minmax(0,1fr);gap:0;align-items:start;border-radius:10px;padding:10px 16px;margin:0 0 8px;background:#fbf3f0}
#viewCustomers .cj-message{border-color:#f8deaa;background:#fffaf0}
#viewCustomers .cj-label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600;line-height:1.65;color:#c0472c}
#viewCustomers .cj-goal p,#viewCustomers .cj-message p,#viewCustomers .cj-action p{font-size:12px;line-height:1.65;margin:0;color:#28364c}
#viewCustomers .cj-card-grid{gap:8px;margin:0 0 8px}
#viewCustomers .cj-list{padding:10px 14px;font-size:12px;background:#fff;border-color:#e2e5e8}
#viewCustomers .cj-list h3{font-size:12px;margin-bottom:4px}
#viewCustomers .cj-list li{margin:3px 0}
#viewCustomers .cj-list.care{background:#fff}
#viewCustomers .cj-evidence{padding:10px 14px;border:0;border-radius:10px;background:#f2f4f6;font-size:11px;color:#8591a2}
#viewCustomers .cj-footnote{font-size:11px;margin:7px 0 0;color:#929ba7}
#viewCustomers .cp-guide-title{text-align:center;font-size:30px;padding-top:30px}
#viewCustomers .cp-guide-sub{text-align:center;color:#8590a1;margin:8px 0 24px}
#viewCustomers .ca-workflow{padding:0 22px 40px;width:min(920px,100%)}
#viewCustomers .ca-card{padding:26px;border-radius:16px}
#viewCustomers .ca-side{right:6px;top:6px;bottom:6px;height:calc(100dvh - 12px);width:576px;max-width:calc(100vw - 12px);border-radius:16px;background:#fffdfc;z-index:200;box-shadow:-8px 0 36px #2e231e1a}
#viewCustomers .ca-side-head{min-height:108px;padding:24px 48px 18px 28px;background:#fffaf7}
#viewCustomers .ca-side-head strong{font-size:22px;line-height:1.5;font-weight:800;letter-spacing:-.5px}
#viewCustomers .ca-side-head small{font-size:11px;line-height:1.8;color:#8690a0;margin-top:9px}
#viewCustomers .ca-side-list{display:flex;flex-direction:column;min-height:0;background:#fff;padding:20px}
#viewCustomers .cp-chat-empty{margin:auto 0;padding:30px 2px;text-align:center}
#viewCustomers .cp-chat-empty>img{width:220px;height:170px;object-fit:contain;margin:0 auto 28px;mix-blend-mode:multiply}
#viewCustomers .cp-chat-empty h2{font-size:22px;margin:0 0 13px}
#viewCustomers .cp-chat-empty>p{font-size:13px;line-height:2;color:#8a95a8;white-space:pre-line;padding:0 28px}
#viewCustomers .suggestions{display:grid;grid-template-columns:1.26fr 1fr;gap:12px;margin-top:44px}
#viewCustomers .ca-side-foot{padding:18px 20px 24px;background:#fffdfc}
#viewCustomers .ca-side-input{min-height:94px;font-size:14px;padding:14px;line-height:1.8;border-radius:14px}
#viewCustomers .ca-side-row{align-items:stretch}
#viewCustomers .cj-button,#viewCustomers .ca-detail-head .btn,#viewCustomers .ca-archive-tools button{border:1px solid #e4dfda;border-radius:9px;background:#fff}
#viewCustomers .cj-button.primary{background:#bd2d20;color:#fff;border-color:#bd2d20}
#viewCustomers .ca-side{overflow:hidden}
#viewCustomers .ca-side-row>.cc-btn{align-self:flex-end;background:#cf2f22;color:#fff;border-radius:9px;padding:10px 18px;margin-bottom:4px}
#viewCustomers .ca-side-tools .cj-button{padding:8px 12px;font-size:12px}
#viewCustomers .ca-workflow.upload-flow{width:1004px;padding:0 0 40px}
#viewCustomers .upload-card{padding:34px 36px}
#viewCustomers .upload-card .ca-step strong{font-size:21px}
#viewCustomers .upload-card .dropzone{border:1px dashed #e3b5a5;border-radius:13px;margin-top:25px}
#viewCustomers .upload-card .upload-info{margin-top:24px}
@media(max-width:1100px){#viewCustomers .ca-workflow.upload-flow{width:calc(100% - 40px)}}
@media(max-width:600px){#viewCustomers .hero-art{opacity:.25}#viewCustomers .upload-card{padding:20px}#viewCustomers .upload-card .ca-step strong{font-size:17px}}
@media(max-width:1200px){#viewCustomers .cj-coach-entry .coach-note{display:none}#viewCustomers .ca-archive-layout{grid-template-columns:280px minmax(0,1fr)}#viewCustomers .plan-banner .coach-note{display:none}}
@media(max-width:900px){#viewCustomers .ca-archive-layout{grid-template-columns:230px minmax(0,1fr)}#viewCustomers .cp-archive-sidebar{padding:18px 14px}#viewCustomers .ca-detail{padding:18px}#viewCustomers .cj-coach-entry{flex-wrap:wrap}#viewCustomers .cj-goal,#viewCustomers .cj-message,#viewCustomers .cj-action{grid-template-columns:1fr;gap:6px}}
@media(max-width:600px){#viewCustomers .cw-home{padding:0 15px 20px!important}#viewCustomers .ca-archive-layout{display:block}#viewCustomers .cp-archive-sidebar{border-right:0}#viewCustomers .ca-list{max-height:180px;overflow:auto}#viewCustomers .ca-detail{padding:14px 15px 24px}#viewCustomers .cj-card-body{padding:14px}#viewCustomers .cj-coach-entry>.cj-button{width:100%}#viewCustomers .cj-top-actions{gap:6px}#viewCustomers .cj-top-actions .cj-button{flex:1;font-size:11px;padding:0 9px}#viewCustomers .suggestions{grid-template-columns:1fr}#viewCustomers .ca-side-head strong{font-size:18px}#viewCustomers .plan-actions .button{font-size:12px;height:42px;min-height:42px;min-width:0;padding:0 12px}#viewCustomers .cp-chat-empty{padding:14px 0}#viewCustomers .cp-chat-empty>img{height:110px;margin-bottom:16px}#viewCustomers #cwSuggestions{grid-template-columns:1fr}}

/* ── 工作台客户表：小按钮 + 「更多」菜单 + 批量操作（用户 2026-09-18 要求） ──
   隐藏 / 删除收进「更多」，操作列按钮整体做小，别把一行铺满。 */
#viewCustomers .row-actions{gap:6px}
#viewCustomers .row-actions .button.cp-act{height:32px;min-height:0;padding:0 11px;font-size:12px;border-radius:8px;gap:5px}
#viewCustomers .row-actions .button.cp-act.primary{padding:0 13px}
#viewCustomers .row-actions .ico{width:14px;height:14px}
#viewCustomers .cp-more-btn{height:32px;padding:0 11px;border:1px solid #e6dfd7;border-radius:8px;background:#fff;color:#5f574f;font:inherit;font-size:12px;line-height:30px;cursor:pointer;white-space:nowrap}
#viewCustomers .cp-more-btn:hover{background:#faf6f2;border-color:#dcd2c8}
#viewCustomers .cp-more-btn:focus-visible{outline:2px solid #c9372a;outline-offset:2px}
#viewCustomers .client-cell{gap:10px}
#viewCustomers .cp-row-check{flex:none;width:16px;height:16px;margin:0;accent-color:#c9372a;cursor:pointer}
#viewCustomers .cw-customer-row.selected{background:#fdf5f3}
#viewCustomers .cp-batch-bar{display:flex;align-items:center;gap:10px;padding:9px 18px;border-bottom:1px solid #efe8e1;background:#fdfaf7;font-size:13px;color:#6b6259}
#viewCustomers .cp-batch-all{display:inline-flex;align-items:center;gap:6px;cursor:pointer;user-select:none}
#viewCustomers .cp-batch-all input{width:16px;height:16px;margin:0;accent-color:#c9372a;cursor:pointer}
#viewCustomers .cp-batch-count{margin-right:auto}
#viewCustomers .cp-batch-count{color:#9a9188}
#viewCustomers .cp-batch-btn{height:30px;padding:0 13px;border:1px solid #e6dfd7;border-radius:8px;background:#fff;color:#4d463f;font:inherit;font-size:12px;cursor:pointer}
#viewCustomers .cp-batch-btn:hover:not(:disabled){background:#f7f2ed}
#viewCustomers .cp-batch-btn.danger{color:#b63225;border-color:#eed3cc;background:#fff}
#viewCustomers .cp-batch-btn.danger:hover:not(:disabled){background:#fdf1ee}
#viewCustomers .cp-batch-btn:disabled{opacity:.5;cursor:default}
@media(max-width:600px){
 #viewCustomers .cp-batch-bar{flex-wrap:wrap;padding:8px 12px}
 #viewCustomers .cp-batch-count{margin-right:0;flex:1}
 #viewCustomers .cp-more-btn{flex:none;height:30px;line-height:28px}
}
