/* ===== 中文字体：本地优先 + Google Fonts 兜底 + 系统字体回退 ===== */
@font-face{font-family:'LXGW WenKai TC';src:local('LXGW WenKai TC'),url('assets/fonts/LXGWWenKai-Regular.ttf') format('truetype');font-display:swap}
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:-apple-system,"Microsoft YaHei",sans-serif;background:#eef3f8;color:#2c3e50;font-size:14px}
/* ===== 登录遮罩 ===== */
.login-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:linear-gradient(135deg,#1a6984,#0d3b4f);display:flex;align-items:center;justify-content:center;z-index:99999}
.login-card{background:#fff;border-radius:12px;padding:40px 36px;width:380px;box-shadow:0 20px 60px rgba(0,0,0,.3)}
.login-card h2{text-align:center;color:#1a6984;margin-bottom:6px;font-size:22px}
.login-card .sub{text-align:center;color:#94a3b8;font-size:13px;margin-bottom:28px}
.login-card label{display:block;font-size:13px;color:#475569;margin-bottom:6px;font-weight:500}
.login-card input{width:100%;padding:10px 14px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;margin-bottom:18px;outline:0}
.login-card input:focus{border-color:#1a6984;box-shadow:0 0 0 3px rgba(26,105,132,.1)}
.login-card .btn-login{width:100%;padding:12px;background:#1a6984;color:#fff;border:none;border-radius:8px;font-size:15px;cursor:pointer;font-weight:600;transition:background .15s}
.login-card .btn-login:hover{background:#155a73}
.login-card .btn-login:disabled{opacity:.6;cursor:not-allowed}
.login-card .err{color:#e74c3c;font-size:12px;text-align:center;margin-top:12px;min-height:18px}
.login-card .footer{text-align:center;color:#94a3b8;font-size:11px;margin-top:24px}
.topbar{background:linear-gradient(135deg,#1a6984,#178ca4);padding:8px 24px;display:flex;align-items:center;gap:10px;position:sticky;top:0;z-index:100;box-shadow:0 2px 12px rgba(26,105,132,.25)}
.topbar .brand{font-size:15px;color:#fff;font-weight:700;margin-right:24px;opacity:.9}
.topbar h1{font-size:18px;color:#fff;margin-right:auto;font-weight:700}
.topbar-actions{display:flex;align-items:center;gap:8px;margin-left:auto}
.topbar-actions .btn{padding:6px 14px;border:1px solid rgba(255,255,255,.25);border-radius:6px;background:transparent;cursor:pointer;font-size:13px;color:rgba(255,255,255,.85);display:inline-flex;align-items:center;gap:4px;transition:all .15s}
.topbar-actions .btn:hover{background:rgba(255,255,255,.1);color:#fff}
.server-status-dot{display:inline-block;width:10px;height:10px;border-radius:50%;background:#22c55e;box-shadow:0 0 6px #22c55e;transition:background .3s,box-shadow .3s;margin-left:10px;cursor:default}
.server-status-dot.offline{background:#ef4444;box-shadow:0 0 6px #ef4444}
.server-status-dot.unknown{background:#9ca3af;box-shadow:none}
.topbar-actions .btn-red{background:transparent;border-color:rgba(255,255,255,.25);color:rgba(255,255,255,.85)}
.topbar-actions .btn-orange{background:transparent;border-color:rgba(255,255,255,.25);color:rgba(255,255,255,.85)}
.topbar-actions .btn-blue{background:transparent;border-color:rgba(255,255,255,.25);color:rgba(255,255,255,.85)}
.topbar-actions .btn-green{background:transparent;border-color:rgba(255,255,255,.25);color:rgba(255,255,255,.85)}
.topbar-actions .btn-ghost{border:1px solid rgba(255,255,255,.25);background:transparent;color:rgba(255,255,255,.85)}
.topbar-actions .btn-ghost:hover{background:rgba(255,255,255,.1);color:#fff}
.dash{max-width:1920px;width:98vw;margin:0 auto;padding:14px 12px}

/* ========== 今日作战室 ========== */
.ops-room{background:#f8fafc;min-height:calc(100vh - 80px)}
.ops-attack-bar{background:#fff;border-radius:10px;padding:14px 18px;margin-bottom:14px;box-shadow:0 1px 6px rgba(26,105,132,.06);display:flex;align-items:center;justify-content:space-between;gap:16px;border-left:4px solid #cbd5e1}
.ops-attack-left{display:flex;align-items:center;gap:14px}
.ops-attack-icon{font-size:26px}
.ops-attack-label{font-size:13px;color:#64748b;font-weight:700}
.ops-attack-sub{font-size:20px;font-weight:800;color:#1e293b}
.ops-attack-sub span{color:#e89130}
.ops-attack-btn{background:linear-gradient(135deg,#e89130,#d68910);color:#fff;border:none;border-radius:6px;padding:8px 18px;font-size:13px;font-weight:700;cursor:pointer;white-space:nowrap}
.ops-attack-btn:hover{opacity:.9}
.ops-main{display:grid;grid-template-columns:5fr 2fr;gap:14px;align-items:stretch;width:100%;height:calc(100vh - 150px);overflow:hidden}
.ops-left{background:#fff;border-radius:10px;padding:12px;box-shadow:0 1px 6px rgba(26,105,132,.06);min-height:0;min-width:0;width:100%;display:flex;flex-direction:column;overflow:hidden}
.ops-right{display:flex;flex-direction:column;gap:14px;min-width:0;width:100%;overflow-y:auto;min-height:0}
.ops-section-header{display:flex;align-items:center;gap:12px;margin-bottom:10px;flex-wrap:wrap}
.ops-section-header h3{font-size:16px;font-weight:700;color:#1e293b;display:flex;align-items:center;gap:6px;margin:0}
.ops-section-sub{font-size:12px;color:#94a3b8;font-weight:400}
.ops-capacity-text{font-size:11px;color:#64748b;background:#f0f6f9;padding:3px 10px;border-radius:10px;white-space:nowrap;margin-left:auto;font-weight:500}
.ops-capacity-text b{color:#1a6984}
.ops-filter-row{display:flex;gap:6px;flex-wrap:wrap}
.ops-filter{padding:5px 11px;border-radius:16px;font-size:12px;color:#64748b;background:#f1f5f9;cursor:pointer;transition:all .15s;border:1px solid transparent}
.ops-filter:hover{background:#e2e8f0}
.ops-filter.active{background:#1a8a8a;color:#fff;font-weight:600}
.ops-filter b{font-size:11px;font-weight:700;margin-left:2px}
.ops-filter.active b{color:#fff}
.ops-task-list{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;overflow-y:auto;overflow-x:hidden;padding-right:4px;min-height:0;align-content:start;flex:1}
.ops-task-column{min-width:0;overflow-y:auto;max-height:100%;display:flex;flex-direction:column;gap:8px}
.ops-column-header{font-size:13px;font-weight:700;color:#1e293b;padding:8px 10px;background:#f8fafc;border-radius:6px;border:1px solid #e2e8f0;position:sticky;top:0;z-index:10}
.ops-time-slot{font-size:11px;font-weight:700;color:#1a6984;padding:6px 8px;background:#e8f4fc;border-radius:6px;display:flex;align-items:center;justify-content:space-between;gap:6px;cursor:pointer;user-select:none}
.ops-time-slot:hover{background:#d0ecf8}
.ops-time-slot .slot-count{font-size:10px;color:#64748b;background:#fff;padding:1px 6px;border-radius:10px}
.ops-time-slot .slot-toggle{font-size:10px;color:#94a3b8;transition:transform .2s}
.ops-time-slot.collapsed .slot-toggle{transform:rotate(-90deg)}
.ops-slot-tasks{display:flex;flex-direction:column;gap:4px;min-height:40px;transition:max-height .25s ease,opacity .2s;overflow:hidden}
.ops-slot-tasks.collapsed{max-height:0!important;min-height:0!important;opacity:0;margin:0;padding:0}
.ops-other-list{display:flex;flex-direction:column;gap:6px}
.ops-other-item{padding:8px 10px;background:#fff;border:1px solid #e2e8f0;border-radius:6px;font-size:12px;cursor:pointer;transition:background .15s,border-color .15s}
.ops-other-item:hover{background:#f8fafc;border-color:#1a6984}
.ops-other-item.done{opacity:.6;text-decoration:line-through;background:#f8fafc}
.ops-other-item.urgent{border-left:3px solid #e74c3c;background:linear-gradient(90deg,#fff5f5,#fff)}
.ops-other-time{font-size:11px;font-weight:700;color:#1a6984;margin-bottom:3px}
.ops-other-date{font-size:10px;color:#0f766e;background:#ccfbf1;padding:1px 5px;border-radius:3px;display:inline-block;margin-left:4px}
.ops-other-title{font-size:12px;color:#1e293b}
.ops-other-duration{font-size:10px;color:#94a3b8;margin-top:2px}
  .ops-other-actions{display:flex;align-items:center;gap:6px;flex:0 0 auto}
  .ops-other-btn{width:40px;height:40px;border-radius:10px;border:1.5px solid #cbd5e1;background:#fff;color:#475569;font-size:20px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;flex:0 0 auto;transition:all .15s;touch-action:manipulation}
  .ops-other-btn:hover{background:#f1f5f9;color:#1a6984;border-color:#1a6984;transform:scale(1.08)}
  .ops-other-btn.delete:hover{background:#fef2f2;color:#dc2626;border-color:#fca5a5}
  .ops-other-btn.done:hover{background:#f0fdf4;color:#16a34a;border-color:#86efac}
.ops-memo-panel{background:#fff;border-radius:10px;padding:14px;box-shadow:0 1px 6px rgba(26,105,132,.06);display:flex;flex-direction:column;gap:10px;min-height:200px;flex:1}
.ops-memo-header{font-size:14px;font-weight:700;color:#1e293b;display:flex;align-items:center;gap:6px}
.ops-memo-editor{flex:1;min-height:120px;max-height:300px;overflow-y:auto;border:1px solid #e2e8f0;border-radius:6px;padding:10px;font-size:13px;line-height:1.6;color:#1e293b;background:#fafafa;outline:none}
.ops-memo-editor:focus{border-color:#1a6984;background:#fff}
.ops-memo-editor img{max-width:100%;border-radius:4px;margin:4px 0}
.ops-memo-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}
.ops-memo-status{font-size:11px;color:#94a3b8}
.ops-memo-warning{font-size:11px;color:#e74c3c;font-weight:600}
.ops-memo-btn{padding:5px 14px;border-radius:6px;font-size:12px;font-weight:600;cursor:pointer;border:none;background:#1a8a8a;color:#fff}
.ops-memo-btn:hover{background:#156f6f}
.ops-memo-calendar{position:absolute;top:calc(100% + 6px);left:0;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 4px 16px rgba(0,0,0,.12);padding:10px;z-index:1000;min-width:230px}
.ops-memo-cal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:13px;font-weight:600;color:#1e293b}
.ops-memo-cal-header button{background:none;border:none;cursor:pointer;font-size:16px;color:#64748b;padding:2px 8px;border-radius:4px}
.ops-memo-cal-header button:hover{background:#f1f5f9;color:#1a6984}
.ops-memo-cal-days{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;text-align:center;font-size:11px;color:#94a3b8;margin-bottom:4px}
.ops-memo-cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}
.ops-memo-cal-grid button{width:28px;height:28px;border:none;border-radius:50%;background:#fff;cursor:pointer;font-size:12px;color:#334155;display:flex;align-items:center;justify-content:center}
.ops-memo-cal-grid button:hover{background:#f1f5f9}
.ops-memo-cal-grid button.today{background:#e0f2fe;color:#0369a1;font-weight:600}
.ops-memo-cal-grid button.selected{background:#1a6984;color:#fff}
.ops-memo-cal-grid button.other-month{color:#cbd5e1}
.ops-eff-summary{font-size:12px;line-height:1.6;color:#475569;padding:10px;background:#f8fafc;border-radius:6px;border:1px solid #e2e8f0}
.ops-eff-metrics{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;margin-bottom:10px}
.ops-eff-metric{background:#fff;border:1px solid #f1f5f9;border-radius:8px;padding:8px 4px 6px;text-align:center;line-height:1}
.ops-eff-metric-label{font-size:12px;color:#64748b;margin-bottom:2px;font-weight:600}
.ops-eff-metric-val{font-size:26px;font-weight:800;color:#1e293b;line-height:1}
.ops-eff-metric-sub{font-size:11px;color:#94a3b8;margin-top:1px}
.ops-eff-metric-sub.up{color:#16a34a}
.ops-eff-metric-sub.down{color:#dc2626}
.ops-eff-improve{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:10px 12px}
.ops-eff-imp-title{font-size:11px;font-weight:700;color:#94a3b8;margin-bottom:6px;letter-spacing:.3px}
.ops-eff-imp-action{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:13px;font-weight:600;color:#475569;line-height:1.5;padding:8px 10px;background:#f8fafc;border-radius:6px}
.ops-eff-action-btn{padding:3px 10px;font-size:12px;font-weight:600;color:#fff;background:#1a6984;border:none;border-radius:5px;cursor:pointer;white-space:nowrap;flex-shrink:0}
.ops-eff-imp-diag{font-size:11px;line-height:1.5;color:#94a3b8;margin-top:6px;padding-top:6px;border-top:1px dashed #e2e8f0}

/* 今日攻坚区域 */
.ops-eff-attack{margin-top:8px;padding:10px 12px;background:linear-gradient(135deg,#fff5f5,#fff);border:1px solid #fde0e0;border-radius:8px}
.ops-eff-attack-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.ops-eff-attack-title span:first-child{font-size:11px;font-weight:700;color:#c44;letter-spacing:.3px}
.ops-eff-attack-add{font-size:11px;color:#c44;cursor:pointer;font-weight:600;padding:2px 8px;border-radius:4px;transition:background .15s}
.ops-eff-attack-add:hover{background:#fff0f0}
.ops-eff-attack-input{width:100%;padding:6px 10px;border:1px solid #f0c0c0;border-radius:6px;font-size:12px;outline:none;margin-bottom:6px}
.ops-eff-attack-input:focus{border-color:#e74c3c;box-shadow:0 0 0 2px rgba(231,76,60,.1)}
.ops-eff-attack-list{display:flex;flex-direction:column;gap:4px;max-height:200px;overflow-y:auto}
.ops-eff-attack-item{display:flex;align-items:center;justify-content:space-between;padding:6px 8px;background:#fff;border:1px solid #fde0e0;border-radius:6px;font-size:12px;transition:all .15s;cursor:pointer}
.ops-eff-attack-item:hover{border-color:#e74c3c;box-shadow:0 1px 4px rgba(231,76,60,.1)}
.ops-eff-attack-item .atk-name{font-weight:600;color:#334155;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ops-eff-attack-item .atk-meta{font-size:10px;color:#94a3b8;margin-left:4px;flex-shrink:0}
.ops-eff-attack-item .atk-del{font-size:14px;color:#cbd5e1;cursor:pointer;padding:0 4px;flex-shrink:0;transition:color .15s}
.ops-eff-attack-item .atk-del:hover{color:#e74c3c}
.ops-eff-attack-empty{font-size:11px;color:#94a3b8;text-align:center;padding:8px 0}

.ops-quote-banner{margin-bottom:12px;padding:14px 18px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;border-left:3px solid #1a8a8a;position:relative;cursor:pointer;transition:all .15s}
.ops-quote-banner:hover{background:#f8fafc;border-color:#cbd5e1}
.ops-quote-text{font-family:'Ma Shan Zheng','LXGW WenKai TC','STXingkai','KaiTi','SimKai','Microsoft YaHei',cursive,serif;font-size:22px;color:#334155;line-height:1.5;display:block;min-height:33px}
.ops-quote-banner.empty .ops-quote-text{color:#94a3b8;font-size:18px}
.ops-quote-edit{position:absolute;top:10px;right:12px;font-size:12px;color:#94a3b8;opacity:0;transition:opacity .15s}
.ops-quote-banner:hover .ops-quote-edit{opacity:1}
.ops-quote-banner .ops-quote-hint{font-size:11px;color:#94a3b8;margin-top:4px}
.ops-quote-lib-item{padding:10px 12px;border:1px solid #e2e8f0;border-radius:6px;margin-bottom:8px;cursor:pointer;transition:all .15s;background:#fff;font-size:14px;color:#334155}
.ops-quote-lib-item:hover{background:#f0fdfa;border-color:#1a8a8a}
.ops-quote-input{width:100%;min-height:80px;padding:10px 12px;border:1px solid #e2e8f0;border-radius:6px;font-size:14px;line-height:1.5;resize:vertical;margin-bottom:12px;font-family:inherit}
.ops-quote-input:focus{outline:none;border-color:#1a8a8a}
.ops-quote-empty{color:#94a3b8;font-size:13px;text-align:center;padding:20px 0}
.ops-task-card{border:1px solid #e2e8f0;border-radius:6px;padding:4px 6px 4px 6px;transition:all .15s;cursor:pointer;position:relative;background:#fff;min-width:0}
.ops-task-card:hover{box-shadow:0 4px 14px rgba(0,0,0,.08);border-color:#cbd5e1}
.ops-task-card.urgent{border-left:3px solid #e74c3c;background:#fff}
.ops-task-card.important{border-left:3px solid #e89130;background:#fff}
.ops-task-card.normal{border-left:3px solid #cbd5e1;background:#fff}
.ops-task-card.done{opacity:.7;background:#f8fafc;border-left:3px solid #94a3b8}
.ops-task-card.done .ops-task-title{text-decoration:line-through}
.ops-task-card.deferred{opacity:.55;background:#f8fafc;border-left:3px solid #cbd5e1}
.ops-task-card.deferred .ops-task-title{color:#94a3b8}
.ops-carryover-tag{font-size:9px;padding:1px 4px;background:#fef3c7;color:#d97706;border-radius:3px;font-weight:600;animation:ops-carry-pulse 2s ease-in-out infinite}
@keyframes ops-carry-pulse{0%,100%{opacity:.7}50%{opacity:1}}
.ops-task-hd{display:flex;align-items:flex-start;justify-content:space-between;gap:6px;margin-bottom:4px}
.ops-task-title{font-size:12px;font-weight:700;color:#1e293b;flex:1;min-width:0}
.ops-task-time{display:flex;align-items:center;gap:3px;font-size:11px;color:#64748b;background:#f1f5f9;padding:2px 6px;border-radius:10px;white-space:nowrap}
.ops-task-tags{display:flex;flex-wrap:wrap;gap:3px;margin-bottom:4px}
.ops-tag{font-size:10px;padding:1px 5px;border-radius:8px;font-weight:600;white-space:nowrap;background:#f1f5f9;color:#64748b}
.ops-tag.stage{background:#f1f5f9;color:#64748b}
.ops-tag.level-A{background:#fef2f2;color:#dc2626}
.ops-tag.level-Aplus{background:#fee2e2;color:#991b1b}
.ops-tag.level-B{background:#f1f5f9;color:#64748b}
.ops-tag.level-Bplus{background:#f1f5f9;color:#64748b}
.ops-tag.level-C{background:#f1f5f9;color:#94a3b8}
.ops-tag.complaint{background:#f1f5f9;color:#64748b}
.ops-tag.six-sig{background:#f1f5f9;color:#64748b}
.ops-tag.attack{background:#f1f5f9;color:#64748b}
.ops-tag.done{background:#f1f5f9;color:#94a3b8}
.ops-task-reason{font-size:12px;color:#475569;line-height:1.6;margin-bottom:10px}
.ops-task-reason strong{color:#1e293b}
.ops-task-actions{display:flex;gap:8px;flex-wrap:wrap}
.ops-task-btn{padding:5px 12px;border-radius:6px;font-size:12px;font-weight:600;cursor:pointer;border:none;transition:all .15s}
.ops-task-btn.primary{background:#1a8a8a;color:#fff}
.ops-task-btn.primary:hover{background:#156f6f}
.ops-task-btn.secondary{background:#f1f5f9;color:#475569;border:1px solid #e2e8f0}
.ops-task-btn.secondary:hover{background:#e2e8f0}
.ops-task-btn.ghost{background:transparent;color:#64748b}
.ops-task-btn.ghost:hover{background:#f1f5f9}
.ops-snapshot{background:#fff;border-radius:10px;padding:16px;box-shadow:0 1px 6px rgba(26,105,132,.06)}
.ops-snapshot h3{font-size:15px;font-weight:700;color:#1e293b;margin-bottom:12px;display:flex;align-items:center;gap:6px}
.ops-snapshot-sub{font-size:12px;color:#94a3b8;font-weight:400}
.ops-snapshot-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ops-eff-panel{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:18px;display:flex;flex-direction:column;gap:14px;min-height:0}
.ops-eff-header{display:flex;align-items:center;justify-content:space-between}
.ops-eff-title{font-size:15px;font-weight:700;color:#1e293b}
.ops-eff-rating{font-size:12px;font-weight:800;padding:3px 10px;border-radius:12px}
.ops-eff-rating.good{background:#dcfce7;color:#16a34a}
.ops-eff-rating.caution{background:#fef3c7;color:#b45309}
.ops-eff-rating.urgent{background:#fee2e2;color:#dc2626}
.ops-snapshot-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:12px;text-align:center;cursor:pointer;transition:all .15s}
.ops-snapshot-card:hover{background:#f0fdfa;border-color:#b2dfdb}
.ops-snapshot-num{font-size:36px;font-weight:800;color:#1a8a8a;line-height:1}
.ops-snapshot-label{font-size:14px;color:#475569;margin-top:6px;font-weight:600}
.ops-snapshot-desc{font-size:11px;color:#94a3b8;margin-top:2px}
.ops-timeline{background:#fff;border-radius:10px;padding:16px;box-shadow:0 1px 6px rgba(26,105,132,.06)}
.ops-timeline h3{font-size:15px;font-weight:700;color:#1e293b;margin-bottom:12px;display:flex;align-items:center;gap:6px}
.ops-timeline-list{position:relative;padding-left:18px;border-left:2px solid #e2e8f0}
.ops-timeline-item{position:relative;padding-bottom:14px}
.ops-timeline-item:last-child{padding-bottom:0}
.ops-timeline-dot{position:absolute;left:-23px;top:2px;width:10px;height:10px;border-radius:50%;background:#cbd5e1;border:2px solid #fff;box-shadow:0 0 0 2px #e2e8f0}
.ops-timeline-item.urgent .ops-timeline-dot{background:#e74c3c;box-shadow:0 0 0 2px #fecaca}
.ops-timeline-item.important .ops-timeline-dot{background:#e89130;box-shadow:0 0 0 2px #fed7aa}
.ops-timeline-item.normal .ops-timeline-dot{background:#27ae60;box-shadow:0 0 0 2px #bbf7d0}
.ops-timeline-time{font-size:12px;font-weight:700;color:#1e293b;margin-bottom:2px}
.ops-timeline-title{font-size:13px;color:#475569;margin-bottom:2px}
.ops-timeline-reason{font-size:11px;color:#94a3b8;line-height:1.4}
.ops-empty{text-align:center;padding:40px 20px;color:#94a3b8;font-size:13px}
.ops-empty-icon{font-size:32px;margin-bottom:8px;display:block}

@media(max-width:768px){
  .ops-main{grid-template-columns:1fr}
  .ops-right{order:-1}
  .ops-task-list{grid-template-columns:1fr}
}

/* 全局视图导航 */
.app-view-tabs{display:flex;gap:6px;padding:10px 0 14px;border-bottom:1px solid #e2e8f0;margin-bottom:14px;flex-wrap:wrap}
.app-view-tab{padding:7px 16px;border-radius:20px;border:1px solid #e2e8f0;background:#fff;color:#64748b;font-size:13px;font-weight:600;cursor:pointer;transition:all .15s}
.app-view-tab:hover{background:#f8fafc;color:#1a6984}
.app-view-tab.active{background:linear-gradient(135deg,#1a6984,#178ca4);color:#fff;border-color:transparent;box-shadow:0 2px 8px rgba(26,105,132,.25)}
.ops-room-tabs{display:flex;gap:6px;margin-bottom:12px;border-bottom:1px solid #e2e8f0;padding-bottom:8px}
.ops-room-tab{padding:7px 16px;border-radius:6px 6px 0 0;border:none;border-bottom:2px solid transparent;background:#fff;color:#64748b;font-size:13px;font-weight:600;cursor:pointer;transition:all .15s}
.ops-room-tab:hover{background:#f8fafc;color:#1a6984}
.ops-room-tab.active{background:#fff;color:#1a6984;border-bottom:2px solid #1a6984;box-shadow:none}
.ops-fold-full{width:100%;box-sizing:border-box}
.ops-ft-tab{padding:4px 10px;border-radius:6px;font-size:13px;font-weight:700;cursor:pointer;white-space:nowrap;transition:background .15s,color .15s,box-shadow .15s}
.ops-ft-tab:hover{background:#e8f4f8;color:#1a6984}

.ops-room-panel{display:none}
.ops-room-panel.active{display:block}

.app-view-section{display:none}
.app-view-section.active{display:block}

/* 全量客户视图内 Tab */
.full-view-tabs{display:flex;gap:6px;margin-bottom:12px;align-items:center;flex-wrap:wrap}
.full-view-tab{padding:6px 14px;border-radius:16px;border:1px solid #e2e8f0;background:#fff;color:#64748b;font-size:12px;font-weight:600;cursor:pointer;transition:all .15s}
.full-view-tab:hover{background:#f8fafc;color:#1a6984}
.full-view-tab.active{background:#fef3c7;color:#92400e;border-color:#fcd34d}
.full-subview{display:none}
.full-subview.active{display:block}

/* 本月重点标记表格 */
.mf-header{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;padding:10px 14px;margin-bottom:10px;font-size:12px;color:#166534;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.mf-header strong{color:#14532d}
.mf-tag{font-size:10px;padding:2px 7px;border-radius:10px;font-weight:600;white-space:nowrap}
.mf-tag-Aplus{background:#fee2e2;color:#991b1b}
.mf-tag-A{background:#fef3c7;color:#92400e}
.mf-tag-Bplus{background:#dbeafe;color:#1e40af}
.mf-tag-B{background:#dcfce7;color:#166534}
.mf-tag-C{background:#f3f4f6;color:#4b5563}
.mf-tag-D{background:#fef2f2;color:#991b1b}
.mf-tag-F{background:#e2e8f0;color:#64748b}
.mf-atk{font-size:11px;font-weight:700;padding:2px 7px;border-radius:10px;background:#fef9c3;color:#a16207}
tr.month-focus{background:linear-gradient(90deg,#e0f2fe 0%,#fff 10px)!important}
tr.week-focus{background:linear-gradient(90deg,#fef3c7 0%,#fff 10px)!important}
tr.month-focus:hover,tr.week-focus:hover{background:#f0f9ff!important}


/* 攻单号面板 — 今日必攻+周概览合并为单行 */
/* ========== 今日攻单条（极简汇总） ========== */
.attack-bar{
  background:#fff;
  border-radius:10px;
  padding:12px 16px;
  margin-bottom:12px;
  box-shadow:0 1px 6px rgba(26,105,132,.06);
  border-left:4px solid #e89130;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.attack-bar-left{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.attack-bar-label{font-size:13px;color:#64748b;font-weight:700}
.attack-bar-count{font-size:26px;font-weight:800;color:#e89130;min-width:24px;text-align:center}
.attack-bar-sub{font-size:12px;color:#64748b}
.attack-bar-btn{
  background:linear-gradient(135deg,#e89130,#d68910);
  color:#fff;
  border:none;
  border-radius:6px;
  padding:7px 18px;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
  white-space:nowrap;
}
.attack-bar-btn:hover{opacity:.9}
.attack-dot{
  width:6px;
  height:6px;
  border-radius:50%;
  background:#e74c3c;
  display:inline-block;
  vertical-align:middle;
  animation:blink 1s infinite;
  margin:0 4px;
}
@keyframes blink{50%{opacity:.3}}

/* 攻单清单弹窗内网格 — 极简 chips 风格 */
.attack-list-grid{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.attack-chip{
  border:1px solid #e2e8f0;
  border-radius:6px;
  padding:6px 14px;
  background:#fff;
  font-size:12.5px;
  color:#475569;
  cursor:pointer;
  transition:all .15s;
  user-select:none;
}
.attack-chip:hover{background:#f1f5f9;border-color:#cbd5e1}
.attack-chip.done{background:#f0fdf4;border-color:#bbf7d0;color:#166534}
.attack-chip.done:hover{background:#dcfce7}
.attack-list-card.active{
  border-color:#e89130;
  background:#fffaf3;
}
.attack-list-card-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.attack-list-name{font-size:13px;font-weight:700;color:#1e293b}
.attack-list-badge{font-size:10px;padding:2px 7px;border-radius:10px;font-weight:700}
.attack-list-badge.red{background:#fef2f2;color:#dc2626}
.attack-list-badge.orange{background:#fff7ed;color:#ea580c}
.attack-list-badge.green{background:#f0fdf4;color:#16a34a}
.attack-list-count{font-size:11px;color:#64748b}
.attack-list-progress{
  height:6px;
  background:#e2e8f0;
  border-radius:3px;
  overflow:hidden;
}
.attack-list-progress-fill{height:100%;border-radius:3px;transition:width .3s}
.attack-list-actions{display:flex;gap:6px;justify-content:flex-end}
.attack-list-actions button{font-size:11px;padding:4px 10px;border:none;border-radius:4px;cursor:pointer;font-weight:600}
.al-switch{background:#e2e8f0;color:#475569}
.al-switch:hover{background:#cbd5e1}

/* ========== 攻单计划 V4 周历弹窗 ========== */
.ap-modal{position:fixed;inset:0;background:rgba(0,0,0,.35);display:none;align-items:flex-start;justify-content:center;padding-top:36px;z-index:200}
.ap-modal.open{display:flex}
.ap-box{background:#fff;border-radius:16px;box-shadow:0 20px 60px rgba(0,0,0,.18);width:min(1020px,96vw);max-height:90vh;overflow:auto;padding:24px}
.ap-hd{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}
.ap-hd h3{font-size:18px;font-weight:700;color:#111}
.ap-close{width:32px;height:32px;border-radius:8px;border:none;background:#f1f5f9;color:#64748b;font-size:18px;cursor:pointer;display:flex;align-items:center;justify-content:center}
.ap-close:hover{background:#e2e8f0}
.ap-tabs{display:flex;gap:6px;margin-bottom:14px;border-bottom:2px solid #e5e7eb;padding-bottom:10px}
.ap-tab{padding:7px 15px;border-radius:8px;cursor:pointer;font-size:13px;color:#64748b;background:#f8fafc;border:none;font-weight:500;transition:all .15s}
.ap-tab:hover{background:#e2e8f0}
.ap-tab.active{background:#1a8a8a;color:#fff;font-weight:600}
.ap-tab-content{display:none}
.ap-tab-content.active{display:block}
.ap-summary{display:flex;justify-content:space-between;align-items:center;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:10px;padding:10px 14px;margin-bottom:12px;font-size:12px;color:#64748b}
.ap-summary .ap-right{font-weight:700;color:#111}
.ap-week-cal{display:flex;flex-direction:row;gap:7px;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin;width:100%;box-sizing:border-box}
.ap-week-cal::-webkit-scrollbar{height:5px}
.ap-week-cal::-webkit-scrollbar-track{background:#f1f5f9;border-radius:3px}
.ap-week-cal::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}
.ap-day{flex:1 1 0;min-width:0;border-radius:10px;padding:9px 7px;min-height:155px;border:1px solid #e5e7eb;background:#fff;transition:box-shadow .15s;display:flex;flex-direction:column;box-sizing:border-box}
.ap-day:hover{box-shadow:0 2px 8px rgba(0,0,0,.06)}
.ap-day.past{background:#f9fafb}
.ap-day.past .ap-day-label{color:#94a3b8}
.ap-day.today{border:2px solid #1a8a8a;background:#f0fdfa}
.ap-day.today .ap-day-label{color:#1a8a8a}
.ap-day.future{background:#fafafa}
.ap-day-label{font-size:12px;font-weight:700;margin-bottom:6px;line-height:1.3}
.ap-day-date{font-size:10px;color:#94a3b8;font-weight:400;display:block;margin-top:1px}
.ap-chips{flex:1;display:flex;flex-direction:column;gap:4px}
.ap-chip{display:flex;align-items:center;gap:3px;padding:4px 5px;border-radius:5px;font-size:11px;cursor:pointer;transition:all .15s;border:1px solid transparent;min-height:26px}
.ap-chip.wx{background:#eff6ff;border-color:#bfdbfe;color:#1e40af;font-weight:600}
.ap-chip.wx:hover{transform:translateY(-1px);box-shadow:0 2px 6px rgba(37,99,235,.12)}
.ap-chip.wx.done{background:#dcfce7;border-color:#86efac;color:#166534;text-decoration:line-through;opacity:.82}
.ap-chip.person{background:#fee2e2;border-color:#fca5a5;color:#991b1b;font-weight:600}
.ap-chip.person:hover{transform:translateY(-1px);box-shadow:0 2px 6px rgba(220,38,38,.12)}
.ap-chip.person.done{background:#dcfce7;border-color:#86efac;color:#166534;text-decoration:line-through;opacity:.82}
.ap-chip .ap-name{flex:1;min-width:0;white-space:normal;word-break:break-all;overflow:visible;line-height:1.3}
.ap-chip .ap-badge{font-size:10px;opacity:.85;background:rgba(255,255,255,.55);padding:1px 4px;border-radius:4px}
.ap-chip .ap-actions{display:flex;gap:2px;opacity:0;flex-shrink:0}
.ap-chip:hover .ap-actions{opacity:1}
.ap-chip .ap-btn{width:17px;height:17px;border:none;border-radius:4px;background:rgba(255,255,255,.7);color:#64748b;font-size:10px;cursor:pointer;display:flex;align-items:center;justify-content:center}
.ap-chip .ap-btn:hover{background:#fff;color:#111}
.ap-add-slot{margin-top:auto;padding:4px 5px;border-radius:5px;border:1px dashed #cbd5e1;color:#94a3b8;font-size:10px;text-align:center;cursor:pointer;transition:all .15s;background:#fff}
.ap-add-slot:hover{border-color:#1a8a8a;color:#1a8a8a;background:#f0fdfa}
.ap-hint{display:flex;flex-wrap:wrap;gap:8px 14px;font-size:11px;color:#94a3b8;padding-top:6px;border-top:1px solid #e5e7eb}
.ap-hint span{display:flex;align-items:center;gap:3px}

/* ========== 嵌入版攻单计划（今日待攻单面板内） ========== */
.ops-emb-cal{display:flex;flex-direction:row;gap:6px;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin}
.ops-emb-cal::-webkit-scrollbar{height:5px}
.ops-emb-cal::-webkit-scrollbar-track{background:#f1f5f9;border-radius:3px}
.ops-emb-cal::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}
.ops-emb-day{border-radius:8px;padding:8px 6px;min-height:125px;border:1px solid #e2e8f0;background:#fff;display:flex;flex-direction:column;transition:box-shadow .15s;flex:1;min-width:0}
.ops-emb-day:hover{box-shadow:0 2px 6px rgba(0,0,0,.05)}
.ops-emb-day.past{background:#f9fafb}
.ops-emb-day.past .ops-emb-label{color:#94a3b8}
.ops-emb-day.today{border:2px solid #1a8a8a;background:#f0fdfa}
.ops-emb-day.today .ops-emb-label{color:#1a8a8a}
.ops-emb-day.future{background:#fafafa}
.ops-emb-label{font-size:12px;font-weight:700;margin-bottom:5px;line-height:1.3}
.ops-emb-date{font-size:10px;color:#94a3b8;font-weight:400;display:block;margin-top:1px}
.ops-emb-chips{flex:1;display:flex;flex-direction:row;flex-wrap:wrap;align-content:flex-start;gap:4px}
.ops-emb-chip{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:3px;padding:5px 6px;border-radius:5px;font-size:12px;cursor:pointer;transition:all .15s;border:1px solid transparent;min-height:24px;width:100%}
.ops-emb-chip.wx{width:calc(50% - 2px);min-height:32px;font-size:13px;justify-content:center}
.ops-emb-chip.person{width:100%;min-width:0;box-sizing:border-box}
.ops-emb-chip.wx{background:#eff6ff;border-color:#bfdbfe;color:#1e40af;font-weight:600}
.ops-emb-chip.wx.done{background:#dcfce7;border-color:#86efac;color:#166534;opacity:.82}
.ops-emb-chip.wx.done .ops-emb-name{text-decoration:line-through}
.ops-emb-chip.person{background:#fee2e2;border-color:#fca5a5;color:#991b1b;font-weight:600}
.ops-emb-chip.person.done{background:#dcfce7;border-color:#86efac;color:#166534;opacity:.82}
.ops-emb-chip.person.done .ops-emb-title{text-decoration:line-through}
.ops-emb-chip .ops-emb-name{flex:1;white-space:normal;word-break:break-all}
.ops-emb-chip .ops-emb-actions{position:absolute;top:3px;right:3px;display:flex;gap:1px;opacity:0;transition:opacity .15s;background:rgba(255,255,255,.8);border-radius:3px}
.ops-emb-chip:hover .ops-emb-actions{opacity:1}
.ops-emb-btn{width:16px;height:16px;border:none;border-radius:3px;background:rgba(255,255,255,.7);color:#64748b;font-size:10px;cursor:pointer;display:flex;align-items:center;justify-content:center}
.ops-emb-btn:hover{background:#fff;color:#111}
.ops-emb-add{margin-top:auto;padding:4px;border-radius:4px;border:1px dashed #cbd5e1;color:#94a3b8;font-size:10px;text-align:center;cursor:pointer;transition:all .15s;background:#fff}
.ops-emb-add:hover{border-color:#1a8a8a;color:#1a8a8a;background:#f0fdfa}
.ops-emb-title{font-size:12px;font-weight:700;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:22px}
.ops-emb-tags{display:flex;flex-wrap:wrap;gap:3px}
.ops-emb-tag{font-size:10px;padding:1px 5px;border-radius:8px;font-weight:600;white-space:nowrap}
.ops-emb-complaint{font-size:11px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#1a6984;font-weight:600}
.ops-emb-reason{font-size:11px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#475569}
.ops-emb-reason strong{color:#e74c3c}
.ops-emb-chip .ops-task-title{padding-right:22px}

.al-switch.active{background:#e89130;color:#fff}
.al-mark{background:#16a34a;color:#fff}
.al-mark:hover{background:#15803d}

/* 保留原微信号选择器样式（弹窗内仍可能使用） */
select.wx-sel{padding:3px 8px;font-size:11px;border-radius:6px;border:1px solid #d0e3ea}



/* 紧急标题 */
.shtitle-row{display:flex;align-items:center;justify-content:space-between;margin:14px 0 6px}
.shtitle-row>div:first-child{display:flex;align-items:center}
.shtitle{display:inline-flex;align-items:center;gap:8px;font-size:15px;font-weight:800;background:linear-gradient(135deg,#c0392b,#e74c3c);color:#fff;padding:8px 16px;border-radius:8px;box-shadow:0 3px 12px rgba(192,57,43,.2);white-space:nowrap}
.shtitle-o{background:linear-gradient(135deg,#e89130,#d68910);box-shadow:0 3px 12px rgba(232,145,48,.25)}
.shtitle-b{background:linear-gradient(135deg,#1a6984,#178ca4);box-shadow:0 3px 12px rgba(26,105,132,.25)}
.shtitle-w{background:linear-gradient(135deg,#e6c62d,#ca8a04);box-shadow:0 3px 12px rgba(202,138,4,.25);color:#333}
.shtitle-sub{font-size:11px;color:#888;margin-bottom:0;white-space:nowrap}

/* 客户卡片 */
.ugrid{display:flex;flex-wrap:wrap;gap:8px}

/* 联想搜索下拉 */
.ac-dropdown{position:absolute;top:100%;left:0;right:0;background:#fff;border:1px solid #d0e3ea;border-radius:10px;box-shadow:0 6px 20px rgba(26,105,132,.12);z-index:9999;max-height:260px;overflow-y:auto;display:none;margin-top:2px}
.ac-item{padding:7px 12px;font-size:12px;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:6px;border-bottom:1px solid #f5f5f5;transition:background .1s}
.ac-item:last-child{border-bottom:none}
.ac-item:hover,.ac-item.ac-active{background:#e8f4fc}
.ac-item-name{font-weight:600;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ac-item-info{font-size:10px;color:#888;white-space:nowrap;flex-shrink:0}
.ac-empty{padding:12px;text-align:center;color:#aaa;font-size:12px}

/* 进度导航栏 */
.progress-nav{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:linear-gradient(135deg,#0d3d4d 0%,#1a6984 50%,#15617a 100%);border:none;border-radius:0 0 10px 10px;padding:12px 18px;margin-bottom:12px;font-size:12px;color:#fff;position:sticky;top:48px;z-index:99;box-shadow:0 4px 16px rgba(13,61,77,.45);cursor:pointer;transition:box-shadow .2s}.progress-nav:hover{box-shadow:0 6px 22px rgba(13,61,77,.6)}
.progress-bar-wrap{flex:1;min-width:80px;height:8px;background:rgba(255,255,255,.25);border-radius:4px;overflow:hidden}
.progress-bar-fill{height:100%;background:linear-gradient(90deg,#ffc107,#ff9800);border-radius:4px;transition:width .4s;box-shadow:0 0 8px rgba(255,193,7,.5)}

/* 本周计划 */
.weekplan-day{margin-bottom:10px}
.weekplan-date{font-size:13px;font-weight:700;color:#1a6984;margin-bottom:4px;padding:4px 8px;background:#e8f4fc;border-radius:4px;display:inline-block}
.weekplan-items{display:flex;flex-wrap:wrap;gap:6px}
.weekplan-card{background:#fff;border:1px solid #dde;border-radius:6px;padding:8px 12px;font-size:12px;cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:8px}
.weekplan-card:hover{border-color:#1a6984;box-shadow:0 2px 8px rgba(0,0,0,.08)}
.weekplan-card .wc-name{font-weight:600;color:#333;white-space:nowrap}
.weekplan-card .wc-action{font-size:11px;color:#666}
.weekplan-card .wc-done{font-size:11px;color:#2d8a4e;cursor:pointer;padding:2px 6px;border:1px solid #2d8a4e;border-radius:3px;white-space:nowrap}
.weekplan-card .wc-done:hover{background:#2d8a4e;color:#fff}
.weekplan-empty{font-size:12px;color:#aaa;padding:8px}

/* 紧急攻坚卡片 */
.urgent-card{background:#fff;border:2px solid #e74c3c;border-radius:8px;padding:10px 14px;cursor:pointer;transition:all .2s;flex:0 0 calc(25% - 6px);min-width:200px}
.urgent-card:hover{box-shadow:0 4px 16px rgba(231,76,60,.15);transform:translateY(-1px)}
.urgent-card .uc-title{font-weight:700;color:#333;margin-bottom:4px}
.urgent-card .uc-stage{font-size:11px;color:#e74c3c;font-weight:600}
.urgent-card .uc-done{font-size:11px;color:#2d8a4e;cursor:pointer;padding:2px 8px;border:1px solid #2d8a4e;border-radius:3px;margin-left:auto;white-space:nowrap}
.urgent-card .uc-done:hover{background:#2d8a4e;color:#fff}
.uc-note{width:100%;margin-top:6px;padding:3px 6px;font-size:11px;border:1px dashed #d0e3ea;border-radius:4px;outline:none;color:#666;background:#fafcfd;transition:border .15s}
.uc-note:focus{border-color:#1a6984;border-style:solid;background:#fff}

/* 必跟防漏网格 — 同样去边框+容器浅底 */
.anti-leak-grid{display:flex;flex-wrap:wrap;gap:6px;background:#faf8f5;border-radius:11px;padding:10px}
/* 必跟防漏卡片（格式与focus-card统一） */
.anti-leak-card{border:none;border-radius:8px;padding:10px 12px;font-size:14px;cursor:pointer;transition:all .2s;flex:0 0 calc(16.666% - 6px);min-width:165px;background:rgba(255,255,255,.82)}
/* 紧急度左边框保留（唯一视觉区分） */
.anti-leak-card.al-done{opacity:.35;background:rgba(250,250,250,.9)}
/* 紧急度边框：>=7天红色, 5-6天橙色, 3-4天黄色 */
.anti-leak-card.urg-high{border-left:4px solid #c0392b;background:#fffafa}
.anti-leak-card.urg-mid{border-left:4px solid #e67e22;background:#fffaf5}
.anti-leak-card.urg-low{border-left:4px solid #f39c12;background:#fffcf5}
.anti-leak-card .al-top{display:flex;align-items:center;gap:6px;justify-content:space-between}
.anti-leak-card .al-name{font-weight:700;color:#222;font-size:15.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;line-height:1.2;cursor:pointer}
.anti-leak-card .al-tier{font-size:10px;font-weight:700;padding:2px 6px;border-radius:4px;white-space:nowrap;flex-shrink:0}
.anti-leak-card .al-pains{display:flex;flex-wrap:wrap;gap:4px;margin:2px 0}
.anti-leak-card .al-pain-tag{font-size:11.5px;padding:2px 7px;border-radius:4px;font-weight:600;white-space:nowrap}
.anti-leak-card .al-pain-tag.high{background:#fdecea;color:#a63c3c;border:1px solid #f5c6c6}
.anti-leak-card .al-pain-tag.mid{background:#fef5e7;color:#9a6d00;border:1px solid #fde3a7}
.anti-leak-card .al-pain-tag.low{background:#f0f7f4;color:#2d7a4e;border:1px solid #c3e0d0}
.anti-leak-card .al-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:2px}
.anti-leak-card .al-days{font-size:13px;padding:4px 9px;border-radius:5px;white-space:nowrap;font-weight:700;flex-shrink:0}
.anti-leak-card .al-days.red{background:#fdecea;color:#c0392b}
.anti-leak-card .al-days.orange{background:#fef5e7;color:#d35400}
.anti-leak-card .al-days.yellow{background:#fffbe6;color:#b8860b}
.anti-leak-card .al-btn{font-size:11.5px;padding:5px 12px;border-radius:6px;cursor:pointer;white-space:nowrap;flex-shrink:0;font-weight:700;border:none;outline:none;transition:all .15s}
.anti-leak-card .al-btn-do{color:#1a7a42;background:#eaf6ee;border:1px solid #a8dbba}
.anti-leak-card .al-btn-do:hover{background:#1a7a42;color:#fff;transform:scale(1.05)}
.anti-leak-card .al-btn-done{color:#999;background:#f5f5f5;border:1px solid #ddd}

/* 防漏卡片攻单频次行 */
.anti-leak-card .al-atk-row{display:flex;flex-wrap:wrap;gap:4px;margin:4px 0}
.anti-leak-card .al-atk-tag{font-size:10.5px;padding:2px 7px;border-radius:4px;font-weight:600;white-space:nowrap}
.al-atk-wk{background:#e8f4fc;color:#1a6984;border:1px solid #b8d4e8}
.al-atk-mo{background:#f0f7f4;color:#2d7a4e;border:1px solid #b8d8c8}
.al-atk-next{background:#fef5e7;color:#a16207;border:1px solid #fde3a7}
.al-atk-zero{color:#bbb;background:#f5f5f5;border:1px solid #eee}
.al-atk-should{background:#fdecea;color:#c0392b;border:1px solid #f5c6c6}
.al-atk-ok{background:#eaf6ee;color:#2d7a4e;border:1px solid #a8dbba}
.al-atk-sep{color:#ccc;font-size:10px;padding:0 1px;font-weight:400}

/* 实力评分hover详情 */

/* 统一卡片内容排版（所有区域共用） */
.cc-row1{display:flex;align-items:center;gap:5px;margin-bottom:3px;white-space:nowrap;overflow:hidden}
.cc-name{font-weight:700;color:#333;font-size:15px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.cc-stage{font-size:12px;padding:3px 8px;border-radius:5px;font-weight:700;background:#e8f4f8;color:#1a6984;white-space:nowrap;flex-shrink:0}
.cc-comp{font-size:11px;padding:2px 6px;border-radius:4px;background:#fef5e7;color:#9a6d00;font-weight:600;white-space:nowrap;margin-left:4px;flex-shrink:0}
.cc-row2{display:flex;align-items:center;gap:4px;white-space:nowrap;font-size:10.5px;line-height:1.5;overflow:hidden}
.cc-sep{color:#d0d0d0;font-weight:700;margin:0 1px}
.cc-atk{font-size:10.5px;padding:2px 7px;border-radius:4px;font-weight:600;white-space:nowrap;letter-spacing:.2px}
.cc-str-high{background:none;color:#c44;font-weight:700;cursor:help;border:none;padding:0}
.cc-str-mid{background:none;color:#e65100;font-weight:600;cursor:help;border:none;padding:0}
.hp-tag{font-size:10.5px;padding:0;font-weight:700;border:none;white-space:nowrap}
.cc-dot{color:#bbb;font-size:11px;margin:0 2px;font-weight:400}



.cc-trust{background:none;color:#888;border:none}
.cc-atk-ok{background:#f0f7f4;color:#2d7a4e;border:1px solid #c3e0d0}
.cc-atk-should{background:#fdecea;color:#c44;border:1px solid #f5c6c6;font-weight:700}
.cc-atk-next{background:#fef5e7;color:#a16207;border:1px solid #fde3a7;font-weight:700}
.cc-atk-urgent{background:#fef2f0;color:#c53030;border:1px solid #feb2b2;font-weight:700}
.cc-atk-future{background:#f8f9fa;color:#888;border:1px solid #e9ecef}
.cc-atk-never{background:#f5f5f5;color:#bbb;border:1px solid #eee}
.cc-tier-high{background:#fef3c7;color:#b45309;font-weight:800;border:1px solid #fde68a}
.cc-tier-mid{background:#dbeafe;color:#1d4ed8;font-weight:700;border:1px solid #93c5fd}
.cc-tier-low{background:#f3f4f6;color:#6b7280;font-weight:600;border:1px solid #d1d5db}
.strength-tag{position:relative;cursor:help;display:inline-flex;align-items:center}
._stTipBox{display:none;position:fixed;z-index:99999;min-width:210px;max-width:280px;background:#fff;border:1px solid #d0d7de;border-radius:8px;padding:12px 14px;box-shadow:0 8px 24px rgba(0,0,0,.15);font-size:11.5px;color:#333;line-height:1.6;text-align:left;white-space:normal}
.strength-tooltip::after{content:'';position:absolute;top:100%;left:50%;transform:translateX(-50%);border:6px solid transparent;border-top-color:#fff;margin-top:-1px}
.strength-tooltip .stt-title{font-weight:700;color:#c44;font-size:12px;margin-bottom:4px;padding-bottom:3px;border-bottom:1px solid #f0f0f0}
.strength-tooltip .stt-row{display:flex;justify-content:space-between;align-items:center;padding:2px 0}
.strength-tooltip .stt-key{color:#666}
.strength-tooltip .stt-val{font-weight:700;color:#222}
.strength-tooltip .stt-val.high{color:#c44}
.strength-tooltip .stt-val.mid{color:#e65100}
.strength-tooltip .stt-val.low{color:#888}
.strength-tooltip .stt-formula{margin-top:4px;padding-top:4px;border-top:1px dashed #eee;font-size:10.5px;color:#888}

/* 本周/本月重点网格 — 容器统一浅暖底，卡片去边框融入背景，减少"格子墙"压迫感 */
.focus-grid{display:flex;flex-wrap:wrap;gap:6px;background:#faf8f5;border-radius:11px;padding:10px}
.focus-card{border:none;border-radius:8px;padding:11px 13px;font-size:14px;cursor:pointer;transition:all .2s;flex:0 0 calc(20% - 6px);min-width:175px;background:rgba(255,255,255,.82)}
.focus-card:hover{box-shadow:0 3px 12px rgba(202,138,4,.18);transform:translateY(-1.5px)}
.focus-card-m{border:none;border-radius:9px;padding:12px 16px;font-size:14px;cursor:pointer;transition:all .2s;flex:0 0 calc(50% - 4px);min-width:210px;background:rgba(255,255,255,.85)}
.focus-card-m:hover{box-shadow:0 3px 12px rgba(26,105,132,.14);transform:translateY(-1.5px)}

/* 日历周视图（一行7天卡片） */
.week-calendar{display:flex;gap:5px;overflow-x:auto;padding:4px 0;margin:0 -12px}
.wc-day-card{flex:1;min-width:0;background:#fff;border:1px solid #ddd;border-radius:8px;overflow:hidden;transition:all .15s;cursor:default}
.wc-day-card:hover{box-shadow:0 2px 10px rgba(26,105,132,.1)}
.wc-memo-input{width:100%;min-height:60px;border:1px solid #1a6984;border-radius:4px;padding:4px 6px;font-size:11px;color:#333;resize:vertical;font-family:inherit;line-height:1.5;background:#fff;outline:none}
.wc-day-today{border-color:#d68910;border-width:2px}
.wc-day-header{background:#f7f9fa;padding:6px 8px;display:flex;align-items:center;gap:4px;font-size:12px;font-weight:700;color:#333}
.wc-day-wd{font-size:11px;color:#888;font-weight:600;width:16px;text-align:center}
.wc-day-today-tag{background:#d68910;color:#fff;font-size:9px;padding:1px 5px;border-radius:4px;font-weight:700}
.wc-day-count{font-size:9px;background:#e8f4fc;color:#1a6984;padding:1px 5px;border-radius:8px;margin-left:auto;font-weight:600}
.wc-day-body{padding:6px 8px 8px;min-height:60px}
.ucard{background:#fff;border-radius:10px;padding:10px 14px;border-left:4px solid #b03a2e;cursor:pointer;transition:all .2s;box-shadow:0 1px 4px rgba(176,58,46,.06);flex:0 0 calc(20% - 6.4px);max-width:calc(20% - 6.4px)}
.ucard:hover{box-shadow:0 4px 12px rgba(176,58,46,.12);transform:translateY(-1px)}
.uname{font-size:14px;font-weight:700;color:#1a6984;display:inline}
.statBadge{display:inline-flex;align-items:center;margin-left:4px;padding:0 6px;height:18px;border-radius:9px;font-size:9.5px;font-weight:600;background:#e8f4fc;color:#1a6984;border:1px solid #b8d4e8;vertical-align:middle}
.u-stage{display:inline-block;padding:1.5px 8px;border-radius:8px;font-size:10px;font-weight:700;vertical-align:middle;margin-left:4px}
.u-stage.s0{background:#fff8ec;color:#a65d00;border:1px solid #e89130}
.u-stage.s1{background:#eaf2f6;color:#15657a;border:1px solid #74c0cf}
.u-stage.s2{background:#f0fbf5;color:#1b734d;border:1px solid #95d5b2}
.u-stage.s3{background:#fef5f2;color:#c0392b;border:1px solid #e8a598}
.u-stage.s4{background:#f5f5f5;color:#999;border:1px solid #ddd}
.u-action{display:inline-block;padding:0 7px;height:17px;border-radius:8px;font-size:9px;font-weight:600;vertical-align:middle;margin-left:4px;background:#fff3cd;color:#856404;border:1px solid #ffc107}
.utip{font-size:12.5px;color:#555;margin-top:4px;line-height:1.4}
.ufocus{font-size:11px;color:#555;margin-top:4px;line-height:1.3}

/* ========== 本周/本月工作台 V3（工作备忘版） ========== */
.wb-view{background:#fff;border-radius:10px;overflow:hidden;border:1px solid #e5e7eb;margin-bottom:10px}
.wb-tabs{display:flex;background:#f8fafc;border-bottom:2px solid #e5e7eb}
.wb-tab{flex:1;padding:12px 16px;text-align:center;font-size:14px;font-weight:600;cursor:pointer;border:none;background:transparent;color:#94a3b8;transition:all .15s;position:relative}
.wb-tab:hover{color:#475569}
.wb-tab.active{color:#1a8a8a;background:#fff}
.wb-tab.active::after{content:'';position:absolute;bottom:-2px;left:50%;transform:translateX(-50%);width:48px;height:3px;background:#1a8a8a;border-radius:2px}
.wb-content{display:none;padding:16px}
.wb-content.active{display:block}
#wbWeek.active,#wbMonth.active{display:flex;flex-direction:column;padding:8px 16px}
#wbWeek.active .wb-week-cal{grid-auto-rows:1fr;min-height:0}
#wbMonth.active .wb-month-cal{min-height:0}
#wbWeek.active .wb-day,#wbMonth.active .wb-mday{min-height:auto}

/* 统计条 */
.wb-stats{display:flex;justify-content:flex-end;align-items:center;gap:16px;margin-bottom:2px;font-size:13px;color:#475569}
.wb-stats .wb-stats-sep{color:#cbd5e1}
.wb-stats .wb-stats-num{font-weight:700;color:#1a8a8a}

/* 周历7天 */
.wb-week-cal{display:flex;flex-direction:row;gap:8px;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin;width:100%;box-sizing:border-box}
.wb-week-cal::-webkit-scrollbar{height:5px}
.wb-week-cal::-webkit-scrollbar-track{background:#f1f5f9;border-radius:3px}
.wb-week-cal::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}
.wb-day{flex:1 1 0;min-width:0;border-radius:10px;border:1px solid #e5e7eb;min-height:210px;background:#fafafa;display:flex;flex-direction:column;overflow:hidden;transition:all .15s;box-sizing:border-box}
.wb-day:hover{box-shadow:0 2px 8px rgba(0,0,0,.04)}
.wb-day.today{border:2px solid #1a8a8a;background:#fff;box-shadow:0 0 0 3px rgba(26,138,138,.08)}
.wb-day.past{background:#f9fafb;opacity:.85}
.wb-day.future{background:#fafafa}
.wb-day.drag-over{background:#f0fdfa;border-color:#14b8a6;box-shadow:0 0 0 3px rgba(20,184,166,.15)}
.wb-dh{padding:8px 10px 5px;text-align:center;border-bottom:1px solid #f0f0f0}
.wb-dh .wb-dow{font-size:12px;font-weight:800;color:#444;margin-bottom:1px}
.wb-dh .wb-date{font-size:10.5px;color:#94a3b8}
.wb-dh .wb-tdy{display:inline-block;background:#1a8a8a;color:#fff;font-size:9px;padding:1px 5px;border-radius:3px;margin-top:2px}
.wb-db{flex:1;padding:6px;display:flex;flex-direction:column;gap:5px;overflow-y:auto;max-height:320px;min-height:120px}
.wb-empty{font-size:10.5px;color:#cbd5e1;text-align:center;padding:16px 0;grid-column:1/-1}

/* 客户工作卡片 */
.wb-card{background:#fff;border:1px solid #e2e8f0;border-radius:6px;padding:4px 5px;position:relative;transition:all .15s;cursor:default;min-width:0}
.wb-card:hover{box-shadow:0 1px 5px rgba(0,0,0,.06);border-color:#cbd5e1}
.wb-card.completed{opacity:.65;background:#f6fdf8;border-color:#bbf7d0}
.wb-card.completed .wb-card-name{text-decoration:line-through;color:#86a382}
.wb-card-hd{display:flex;align-items:center;gap:4px;margin-bottom:2px;min-width:0}
.wb-card-check{width:13px;height:13px;cursor:pointer;accent-color:#16a34a;flex-shrink:0}
.wb-card-name{font-size:11px;font-weight:700;color:#1e3a5f;flex:1;white-space:normal;word-break:break-all;overflow:visible;cursor:pointer;min-width:0;line-height:1.3}
.wb-card-name:hover{color:#1a8a8a}
.wb-card-actions{display:none;gap:2px}
.wb-card:hover .wb-card-actions{display:flex}
.wb-card-action{font-size:9px;color:#94a3b8;cursor:pointer;padding:0 2px;border-radius:2px}
.wb-card-action:hover{color:#1a8a8a;background:#f0fdfa}
.wb-card-meta{display:flex;align-items:center;gap:3px;flex-wrap:wrap;margin-bottom:2px;min-width:0}
.wb-card-comp{font-size:10px;color:#666;line-height:1.3;margin-bottom:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wb-card-wx{font-size:9px;color:#64748b;background:#f1f5f9;padding:0 3px;border-radius:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.wb-card-tag{font-size:8.5px;padding:0.5px 4px;border-radius:3px;white-space:nowrap}
.wb-card-tag.st-成交{background:#dcfce7;color:#15803d}
.wb-card-tag.st-方案{background:#fef3c7;color:#92400e}
.wb-card-tag.st-解读{background:#e0f2fe;color:#0369a1}
.wb-card-tag.st-首诊{background:#f3e8ff;color:#6b21a8}
.wb-card-tag.st-跟进{background:#fce7f3;color:#9d174d}
.wb-card-tag.st-转介{background:#fff7ed;color:#9a3412}
.wb-card-items{font-size:9.5px;color:#475569;line-height:1.35;padding-left:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wb-card-items li{list-style:none inside;margin:0;padding:0;display:inline}
.wb-card-items li:not(:last-child):after{content:' · '}
.wb-card-atk{font-size:9px;color:#f59e0b;font-weight:600;flex-shrink:0;margin-left:auto;padding-right:2px}
.wb-card-items:empty{display:none}

/* 单元格内添加/搜索 */
.wb-add-line{display:flex;align-items:center;gap:4px;margin-top:auto;padding-top:4px}
.wb-add-chip{font-size:10.5px;padding:3px 8px;border-radius:5px;border:1px dashed #cbd5e1;color:#94a3b8;cursor:pointer;background:#fff;text-align:center;transition:all .15s;flex:1}
.wb-add-chip:hover{border-color:#1a8a8a;color:#1a8a8a;background:#f0fdfa}
.wb-search-pop{position:fixed;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.12);padding:8px;z-index:99999;min-width:180px;max-width:240px}
.wb-search-pop input{width:100%;box-sizing:border-box;padding:6px 8px;border:1px solid #e2e8f0;border-radius:5px;font-size:12px;margin-bottom:6px}
.wb-search-list{max-height:160px;overflow-y:auto}
.wb-search-item{display:flex;align-items:center;gap:6px;padding:5px 6px;border-radius:5px;cursor:pointer;font-size:11.5px}
.wb-search-item:hover{background:#f0fdfa}
.wb-search-item span:last-child{font-size:10px;color:#94a3b8;margin-left:auto}

/* 底部重点推荐条 */
.wb-focus-strip{margin-top:14px;border:1px solid #e8e4de;border-radius:10px;background:#faf8f5;overflow:hidden}
.wb-focus-bar{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;background:#f5f0e8;cursor:pointer;user-select:none}
.wb-focus-bar:hover{background:#efe8dd}
.wb-focus-label{font-size:12px;font-weight:700;color:#786b58}
.wb-focus-label span{font-weight:400;color:#94a3b8;margin-left:6px}
.wb-focus-toggle{font-size:11px;color:#786b58}
.wb-focus-body{padding:10px 12px;display:flex;flex-wrap:wrap;gap:7px;max-height:180px;overflow-y:auto}
.wb-focus-body.collapsed{display:none}
.wb-focus-empty{font-size:11px;color:#bbb;padding:6px 0}
.wb-fc-chip{font-size:10px;padding:3px 8px;border-radius:12px;cursor:grab;border:1px solid #e0d5c5;background:#fff;white-space:nowrap;transition:all .15s;display:inline-flex;align-items:center;gap:4px}
.wb-fc-chip:hover{background:#f0fdfa;border-color:#1a8a8a}
.wb-fc-chip:active{cursor:grabbing}
.wb-fc-chip.dragging{opacity:.5}
.wb-fc-name{font-size:10px;color:#334155}
.wb-fc-wx{font-size:9px;color:#94a3b8}


/* 月历 */
.wb-month-top{display:flex;align-items:center;justify-content:space-between;background:#f8fafc;border-radius:9px;padding:10px 14px;margin-bottom:12px;border:1px solid #e5e7eb}
.wb-month-top .wb-mt-label{font-size:13px;font-weight:700;color:#475569}
.wb-month-top .wb-mt-count{font-size:13px;font-weight:700;color:#1a8a8a;background:#e0f2f1;padding:3px 10px;border-radius:12px;margin-left:8px}
.wb-month-top .wb-mt-names{flex:1;margin:0 12px;font-size:11.5px;color:#555;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wb-month-bar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;background:#fff;border-radius:9px;padding:8px 12px;border:1px solid #e5e7eb;margin-bottom:14px}
.wb-month-bar .wb-mb-chip{font-size:11px;padding:4px 10px;border-radius:14px;cursor:pointer;border:1px solid #e0d5c5;background:#faf8f4;white-space:nowrap;transition:all .15s}
.wb-month-bar .wb-mb-chip:hover{background:#e0f2f1;border-color:#1a8a8a}
.wb-month-bar .wb-mb-wx{font-size:9.5px;color:#94a3b8;margin-left:4px}
.wb-month-cal{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}
.wb-mhdr{font-size:12px;font-weight:700;color:#94a3b8;text-align:center;padding:6px 0;line-height:1.2}
.wb-mday{border-radius:10px;padding:6px 8px;min-height:110px;cursor:pointer;border:1px solid #e5e7eb;background:#fff;transition:all .15s;font-size:12px}
.wb-mday.other-month{background:#fafafa;color:#ddd;pointer-events:none}
.wb-mday:hover{box-shadow:0 2px 8px rgba(0,0,0,.08);border-color:#cbd5e1}
.wb-mday .wb-md-num{font-weight:700;font-size:14px;margin-bottom:6px;text-align:right;color:#475569}
.wb-mday.today .wb-md-num{background:#1a8a8a;color:#fff;display:inline-block;width:26px;height:26px;line-height:26px;border-radius:50%;text-align:center;float:right;font-size:13px}
.wb-mday.has-interact{border-color:#94a3b8}
.wb-mday .wb-md-dots{display:flex;gap:3px;margin-top:2px;flex-wrap:wrap}
.wb-md-dot{width:7px;height:7px;border-radius:50%}
.wb-md-dot.red{background:#ef4444}.wb-md-dot.amber{background:#f59e0b}.wb-md-dot.green{background:#22c55e}
.wb-md-names{font-size:9px;color:#555;text-align:left;margin-top:2px;line-height:1.2}
.wb-md-names span{cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wb-md-names span:hover{color:#1a8a8a}
.wb-add-btn{font-size:12px;padding:4px 10px;border-radius:6px;border:1px dashed #cbd5e1;color:#94a3b8;cursor:pointer;background:#fff;text-align:center;transition:all .15s}
.wb-add-btn:hover{border-color:#1a8a8a;color:#1a8a8a;background:#f0fdfa}

/* 月历单元格内可编辑卡片 */
.wb-mday{position:relative;overflow:hidden}
.wb-mday .wb-md-body{min-height:70px;max-height:200px;overflow-y:auto;scrollbar-width:thin}
.wb-mday .wb-md-body::-webkit-scrollbar{width:5px}
.wb-mday .wb-md-body::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}
.wb-mday .wb-card-mini{padding:6px 8px;margin-bottom:4px;border-radius:6px;background:#f8fafc;border:1px solid #e2e8f0;font-size:12px;display:flex;flex-direction:column;gap:3px;cursor:default;transition:all .15s}
.wb-mday .wb-card-mini:hover{background:#f1f5f9;border-color:#cbd5e1;box-shadow:0 1px 4px rgba(0,0,0,.06)}
.wb-mday .wb-card-mini.completed{opacity:.65;background:#f0fdf4;border-color:#bbf7d0}
.wb-mday .wb-card-mini.completed .wb-card-name{text-decoration:line-through;color:#86a397}
.wb-mday .wb-card-mini .wb-card-check{width:13px;height:13px;cursor:pointer;flex-shrink:0}
.wb-mday .wb-card-mini .wb-card-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;color:#1e293b;font-weight:600;font-size:12px}
.wb-mday .wb-card-mini .wb-card-name:hover{color:#1a8a8a}
.wb-mday .wb-card-mini .wb-card-actions{display:flex;gap:4px;opacity:0;transition:opacity .15s;position:absolute;top:4px;right:4px;background:rgba(255,255,255,.9);padding:2px;border-radius:4px}
.wb-mday .wb-card-mini:hover .wb-card-actions{opacity:1}
.wb-mday .wb-card-mini .wb-card-action{font-size:11px;color:#94a3b8;cursor:pointer;padding:0 3px}
.wb-mday .wb-card-mini .wb-card-action:hover{color:#1a8a8a}
.wb-mday .wb-card-mini .wb-card-tag{font-size:10px;padding:1px 5px;border-radius:4px;background:#e0f2f1;color:#1a8a8a;font-weight:600}
.wb-mday .wb-card-mini .wb-card-atk{font-size:10px;color:#f59e0b;font-weight:600}
.wb-mday .wb-card-mini .wb-card-hd{display:flex;align-items:center;gap:5px;width:100%}
.wb-mday .wb-card-mini .wb-card-meta{display:flex;align-items:center;gap:4px;flex-wrap:wrap;font-size:10px;color:#64748b}
.wb-mday .wb-card-mini .wb-card-wx{background:#e8f4fc;color:#1a6984;padding:1px 5px;border-radius:3px;font-weight:600;font-size:10px}
.wb-mday .wb-card-mini .wb-card-comp{font-size:11px;color:#1a6984;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wb-mday .wb-empty{font-size:11px;color:#cbd5e1;text-align:center;padding:12px 0}
.wb-mday .wb-add-line{text-align:center;margin-top:4px;opacity:.4;transition:opacity .15s}
.wb-mday:hover .wb-add-line{opacity:1}
.wb-mday .wb-add-chip{font-size:11px;color:#1a8a8a;background:#e0f2f1;padding:2px 8px;border-radius:10px;cursor:pointer;display:inline-block;font-weight:600}
.wb-mday .wb-add-chip:hover{background:#b2dfdb}
.wb-mday.has-cards{border-color:#cbd5e1}
.wb-more-cards{font-size:10px;color:#64748b;text-align:center;margin-top:2px;font-weight:500;cursor:pointer;padding:2px;border-radius:4px}
.wb-more-cards:hover{background:#f1f5f9;color:#1a8a8a}

/* 卡片悬浮详情浮窗 */
.wb-card-tooltip{position:fixed;z-index:9999;width:280px;background:#fff;border:1px solid #e2e8f0;border-radius:10px;box-shadow:0 8px 24px rgba(0,0,0,.12);padding:0;display:none;font-size:12px;pointer-events:none;animation:wbTooltipFade .15s ease-out}
@keyframes wbTooltipFade{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
.wb-ct-header{padding:12px 14px;border-bottom:1px solid #f1f5f9;background:linear-gradient(135deg,#f0f9ff,#fff);border-radius:10px 10px 0 0}
.wb-ct-name{font-size:15px;font-weight:700;color:#1e293b;margin-bottom:6px}
.wb-ct-tags{display:flex;gap:6px;flex-wrap:wrap}
.wb-ct-tag{font-size:11px;padding:2px 8px;border-radius:5px;background:#e0f2f1;color:#1a8a8a;font-weight:600}
.wb-ct-level{font-size:11px;font-weight:700;padding:2px 8px;border-radius:5px;border:1px solid #dc2626;color:#dc2626;background:#fff}
.wb-ct-pri{font-size:11px;font-weight:700;padding:2px 8px;border-radius:5px;background:#fef2f2;color:#dc2626}
.wb-ct-body{padding:10px 14px}
.wb-ct-row{display:flex;gap:8px;margin-bottom:6px;line-height:1.5}
.wb-ct-row:last-child{margin-bottom:0}
.wb-ct-label{flex:0 0 60px;font-size:11px;color:#94a3b8;font-weight:600}
.wb-ct-val{flex:1;color:#334155;font-size:12px;word-break:break-all}
.wb-ct-footer{padding:8px 14px;border-top:1px solid #f1f5f9;font-size:11px;color:#1a8a8a;text-align:right;font-weight:600;background:#f8fafc;border-radius:0 0 10px 10px}


/* 重点客户区 */
.fgrid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:14px 0}
.fbox{background:#fff;border-radius:10px;padding:14px;box-shadow:0 1px 4px rgba(26,105,132,.06)}
.fbox h3{font-size:14px;font-weight:700;color:#1a6984}

/* 表格 */
#tblWrap{max-height:calc(100vh - 220px);overflow-y:auto}
table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border-radius:10px;box-shadow:0 1px 4px rgba(26,105,132,.06)}
th.tl-left{text-align:left}th.tl-center{text-align:center}th.tl-right{text-align:right}
th{background:#f0f6f9;padding:7px 9px;text-align:left;font-size:11px;color:#1a6984;font-weight:700;position:sticky;top:0;z-index:10;box-shadow:0 2px 4px rgba(0,0,0,.08)}
td{padding:5px 8px;font-size:12px;border-bottom:1px solid #f0f6f9}
tr:hover{background:#f5fafc}
.dot{width:8px;height:8px;border-radius:50%;display:inline-block;margin-right:4px}
.dot-high{background:#e74c3c}.dot-mid{background:#e89130}.dot-low{background:#52b788}

/* 详情页 */
#detPage{gap:8px}
.det-main{flex:1.5;min-width:0;overflow-y:auto;padding-right:4px}
.det-sidebar{flex:1;min-width:360px;max-width:540px;overflow-y:auto;padding-right:4px}
.det-box{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:10px 12px;margin-bottom:6px}
.det-title{font-size:13px;font-weight:700;color:#475569;margin-bottom:5px}
.det-row{display:flex;align-items:center;gap:8px;margin:4px 0;flex-wrap:wrap}
.det-row label{font-size:13px;color:#555;min-width:60px}
.det-row input,.det-row select,.det-row textarea{font-size:13px;padding:5px 10px;border:1px solid #d0e3ea;border-radius:6px;outline:none}
.det-row textarea{resize:vertical;min-height:50px;width:100%}
.score-bar{display:flex;align-items:center;gap:8px;margin:4px 0}
.score-bar .label{font-size:12px;color:#555;width:80px}
.score-bar .barbg{height:10px;flex:1;background:#eef3f8;border-radius:5px;overflow:hidden}
.score-bar .barfill{height:100%;border-radius:5px;transition:width .4s}
.score-bar .barfill.low{background:#d4544a}
.score-bar .barfill.mid{background:#e89130}
.score-bar .barfill.ok{background:#52b788}
.score-bar .val{font-size:12px;font-weight:700;width:40px;text-align:right}
/* 主诉标签 */
.comp-tag{display:inline-flex;align-items:center;gap:3px;padding:3px 9px;border-radius:14px;font-size:12px;background:#e8f4fc;color:#1a6984;border:1px solid #b8d4e8;font-weight:500;cursor:pointer;transition:all .15s}
.comp-tag:hover{background:#d0e8f0}
/* 攻单侧边栏 */
.attack-area{width:100%;min-height:120px;overflow-y:visible;border:1px solid #d0e3ea;border-radius:8px;padding:8px 10px;font-size:13px;line-height:1.6;background:#fafbfc;outline:none;word-break:break-word}
.attack-area img{max-width:100%;border-radius:6px;margin:4px 0}

.sb-header{display:flex;align-items:center;gap:4px;margin-bottom:4px;flex-wrap:wrap}
.sb-btn{padding:4px 10px;border-radius:14px;font-size:11px;cursor:pointer;border:1px solid #d0e3ea;background:#fff;color:#1a6984;font-weight:600;transition:all .15s;white-space:nowrap}
.sb-btn:hover{background:#e8f4fc;border-color:#74c0cf}
.sb-btn.primary{background:linear-gradient(135deg,#e89130,#d68910);color:#fff;border:none}
.sb-btn.suggest-btn{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;border:none;font-weight:700}
.sb-btn.suggest-btn:hover{background:linear-gradient(135deg,#d97706,#b45309)}
/* 信标签按钮 - 样式由内联控制，此处只保留hover/active交互效果 */
.bel-tag{cursor:pointer;font-weight:600;transition:all .15s}
.bel-tag:hover{transform:scale(1.05);box-shadow:0 1px 4px rgba(0,0,0,.12)}
.bel-tag.active{box-shadow:0 2px 6px rgba(0,0,0,.15)}
/* 弹窗 */
.modal-overlay{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.45);z-index:200;align-items:center;justify-content:center}
.modal-overlay.show{display:flex}
.modal-box{background:#fff;border-radius:12px;padding:24px;max-width:720px;width:92vw;max-height:85vh;overflow-y:auto;box-shadow:0 8px 32px rgba(0,0,0,.18)}
.modal-box h3{font-size:16px;color:#1a6984;margin-bottom:14px}
.modal-close{float:right;border:none;background:none;font-size:20px;cursor:pointer;color:#999;line-height:1}

/* ========== 互动记录 v2：嵌入式侧边栏，无弹窗 ========== */
.log-panel{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:12px}
.log-panel-title{font-weight:700;font-size:13px;margin-bottom:8px;display:flex;align-items:center;justify-content:space-between}
.log-panel-count{font-size:11px;font-weight:400;color:#94a3b8}
.log-title-btn{font-size:10px;padding:3px 8px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc;color:#475569;cursor:pointer;line-height:1.3}
.log-title-btn:hover{background:#f1f5f9;border-color:#cbd5e1}
.log-input-area{margin-bottom:10px}
.log-textarea{width:100%;min-height:120px;max-height:260px;resize:vertical;padding:10px 12px;border:1px solid #e2e8f0;border-radius:6px;font-size:13px;line-height:1.6;font-family:'Microsoft YaHei',sans-serif;color:#1e293b;background:#fafbfc}
.log-textarea:focus{border-color:#94a3b8;outline:none}
.log-textarea::placeholder{color:#cbd5e1;font-size:11px}
.log-time-row{display:flex;align-items:center;gap:8px;margin-top:6px}
.log-time-input{font-size:11px;color:#64748b;border:1px solid #e2e8f0;border-radius:4px;padding:4px 8px;width:160px;font-family:inherit}
.log-ch-select{font-size:11px;border:1px solid #e2e8f0;border-radius:4px;padding:4px 6px;color:#475569;background:#fff;cursor:pointer}
.log-ch-filter{display:flex;gap:4px;flex-wrap:wrap;margin-bottom:8px}
.log-ch-fbtn{font-size:11px;padding:2px 8px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;color:#64748b;cursor:pointer;transition:all .15s}
.log-ch-fbtn.active{background:#3b82f6;color:#fff;border-color:#3b82f6}
.log-ch-fbtn:hover{background:#eff6ff}
.log-ch-tag{font-size:10px;padding:1px 6px;border-radius:8px;flex-shrink:0}
.ch-微信{background:#dbeafe;color:#1e40af}
.ch-电话{background:#fef3c7;color:#92400e}
.ch-面诊{background:#dcfce7;color:#166534}
.ch-其他{background:#f1f5f9;color:#475569}
.log-btn-row{display:flex;gap:6px;margin-top:6px}
.log-btn{font-size:11px;padding:5px 12px;border:none;border-radius:4px;cursor:pointer;font-weight:600;display:flex;align-items:center;gap:4px}
.log-btn-save{background:#2563eb;color:#fff}
.log-btn-save:hover{background:#1d4ed8}
.log-btn-img{background:#7c3aed;color:#fff}
.log-btn-img:hover{background:#6d28d9}
.log-btn-audio{background:#0ea5e9;color:#fff}
.log-btn-audio:hover{background:#0284c7}
.log-btn-analyze{background:linear-gradient(135deg,#7c3aed,#a855f7);color:#fff}
.log-btn-analyze:hover{background:linear-gradient(135deg,#6d28d9,#9333ea)}
.log-btn-suggest{background:#f59e0b;color:#fff}
.log-btn-suggest:hover{background:#d97706}
.log-list{max-height:340px;overflow-y:auto;border-top:1px solid #f1f5f9;padding-top:6px}
.log-empty{text-align:center;padding:20px;color:#94a3b8;font-size:12px}
.log-item{padding:8px 0;border-bottom:1px solid #f8fafc;font-size:12px;line-height:1.6}
.log-item:last-child{border-bottom:none}
.log-item-top{display:flex;align-items:center;gap:6px;flex-wrap:nowrap}
.log-item-badge{font-size:10px;padding:1px 6px;border-radius:3px;flex-shrink:0;white-space:nowrap}
.log-item-badge.txt{background:#f1f5f9;color:#475569}
.log-item-badge.img{background:#f5f3ff;color:#6d28d9}
.log-item-badge.aud{background:#eff6ff;color:#1d4ed8}
.log-item-time{color:#94a3b8;font-size:11px;flex-shrink:0}
.log-item-content{color:#374151;width:100%;word-break:break-word;margin-top:3px;line-height:1.6}
.log-item-img{display:block;margin-top:4px}
.log-item-img img{max-width:100%;max-height:100px;border-radius:4px;border:1px solid #e2e8f0;cursor:pointer}
.log-item-summary{display:block;color:#64748b;font-size:11px;line-height:1.5;margin-top:3px;padding:4px 8px;background:#f8fafc;border-radius:4px}
.log-item-actions{display:flex;gap:6px;margin-top:6px;justify-content:flex-end}
.log-edit-link,.log-del-link,.log-star-link{display:inline-block;font-size:12px;text-decoration:none;padding:3px 10px;border-radius:4px;cursor:pointer;border:1px solid transparent;user-select:none}
.log-edit-link{color:#475569;background:#f8fafc;border-color:#e2e8f0}
.log-edit-link:hover{background:#f1f5f9;border-color:#cbd5e1}
.log-star-link{color:#1a6984;background:#e0f2fe;border-color:#7dd3fc}
.log-star-link:hover{background:#bae6fd;border-color:#38bdf8}
.log-del-link{color:#dc2626;background:#fef2f2;border-color:#fecaca}
.log-del-link:hover{background:#fee2e2;border-color:#fca5a5}
.log-export-btn{width:100%;padding:8px 12px;background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border:none;border-radius:8px;cursor:pointer;font-size:12px;font-weight:700;margin-top:8px}
.log-export-btn:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8)}

/* ========== 文案库弹窗（攻单建议） ========== */
.copy-lib-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.45);z-index:9999;display:flex;align-items:center;justify-content:center}
.copy-lib-modal{background:#fff;border-radius:12px;width:600px;max-height:85vh;display:flex;flex-direction:column;box-shadow:0 20px 60px rgba(0,0,0,.2)}
.copy-lib-header{padding:16px 18px;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between}
.copy-lib-header-left{display:flex;align-items:center;gap:10px}
.copy-lib-back{cursor:pointer;font-size:13px;color:#64748b;padding:4px 8px;border-radius:4px;transition:all .15s}
.copy-lib-back:hover{background:#f1f5f9;color:#1e293b}
.copy-lib-title{font-weight:700;font-size:16px}
.copy-lib-close{cursor:pointer;font-size:22px;color:#94a3b8;line-height:1}
.copy-lib-close:hover{color:#dc2626}
.copy-lib-body{padding:14px 18px;overflow-y:auto;flex:1}
.copy-card{border:1px solid #e2e8f0;border-radius:8px;padding:12px;margin-bottom:10px;transition:all .15s;position:relative;min-height:90px}
.copy-card:hover{border-color:#2563eb;background:#eff6ff}
.copy-card-title{font-size:13px;font-weight:700;color:#1e40af;margin-bottom:4px;padding-right:110px}
.copy-card-desc{font-size:12px;color:#64748b;margin-bottom:6px}
.copy-card-preview{font-size:12px;line-height:1.65;color:#374151;background:#f8fafc;padding:8px 10px;border-radius:4px;white-space:pre-line;max-height:100px;overflow-y:auto}
.copy-card-use{display:inline-block;margin-top:6px;padding:3px 10px;background:#2563eb;color:#fff;border-radius:4px;font-size:11px;cursor:pointer;font-weight:600}
.copy-card-use:hover{background:#1d4ed8}
.copy-card-actions{position:absolute;top:10px;right:10px;display:flex;gap:6px;align-items:center}
.copy-card-more{font-size:10px;padding:3px 8px;background:#fffbeb;border:1px solid #fde68a;color:#92400e;border-radius:4px;cursor:pointer;font-weight:600;white-space:nowrap}
.copy-card-more:hover{background:#f59e0b;color:#fff}
.copy-card-case-link{font-size:10px;padding:3px 8px;background:#eff6ff;border:1px solid #bfdbfe;color:#1d4ed8;border-radius:4px;cursor:pointer;font-weight:600;white-space:nowrap}
.copy-card-case-link:hover{background:#2563eb;color:#fff}
.copy-card-variants{display:none;margin-top:8px;padding:8px;background:#fffbeb;border:1px dashed #fde68a;border-radius:6px}
.copy-card-variants.show{display:block}
.copy-variant-title{font-size:11px;font-weight:700;color:#92400e;margin-bottom:6px}
.copy-variant-item{font-size:12px;line-height:1.6;padding:6px 8px;background:#fff;border-radius:4px;margin-bottom:4px;cursor:pointer}
.copy-variant-item:hover{background:#eff6ff}
.copy-variant-item:last-child{margin-bottom:0}
.copy-variant-label{font-size:10px;color:#64748b;margin-bottom:2px}

/* ===== 通用确认/提示弹窗（替代浏览器 confirm/prompt，兼容无弹窗环境） ===== */
.app-modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,0.45);z-index:10000;display:flex;align-items:center;justify-content:center}
.app-modal-card{background:#fff;border-radius:12px;width:520px;max-width:90vw;padding:24px;box-shadow:0 20px 40px rgba(0,0,0,0.2);animation:app-modal-in .18s ease-out}
@keyframes app-modal-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
.app-modal-title{font-size:15px;font-weight:700;color:#1e293b;margin-bottom:10px}
.app-modal-message{font-size:14px;color:#475569;line-height:1.5;margin-bottom:16px;white-space:pre-line;word-break:break-word}
.app-modal-input{width:100%;min-height:240px;padding:12px 14px;border:1px solid #cbd5e1;border-radius:8px;font-size:14px;line-height:1.6;box-sizing:border-box;margin-bottom:16px;outline:none;resize:vertical;font-family:inherit}
.app-modal-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,0.12)}
.app-modal-actions{display:flex;justify-content:flex-end;gap:10px}
.app-modal-btn{padding:8px 16px;border-radius:8px;font-size:13px;font-weight:500;cursor:pointer;border:none;transition:all .15s}
.app-modal-btn-cancel{background:#f1f5f9;color:#475569}
.app-modal-btn-cancel:hover{background:#e2e8f0}
.app-modal-btn-ok{background:#2563eb;color:#fff}
.app-modal-btn-ok:hover{background:#1d4ed8}
.app-modal-btn-danger{background:#dc2626}
.app-modal-btn-danger:hover{background:#b91c1c}

/* ===== 文案浏览器弹窗 ===== */
.script-browser-overlay{position:fixed;inset:0;background:rgba(0,0,0,0.45);z-index:10001;display:flex;align-items:center;justify-content:center;padding:20px}
.script-browser-card{background:#fff;border-radius:12px;width:95vw;max-width:1200px;max-height:86vh;display:flex;flex-direction:column;box-shadow:0 20px 50px rgba(0,0,0,0.22);animation:app-modal-in .18s ease-out}
.script-browser-header{padding:16px 20px 12px;border-bottom:1px solid #e2e8f0}
.script-browser-title{font-size:15px;font-weight:700;color:#1e293b;display:flex;align-items:center;gap:8px}
.script-browser-sub{font-size:12px;color:#64748b;margin-top:4px}
.script-browser-body{flex:1;overflow-y:auto;padding:16px 20px;min-height:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:14px;align-content:start;align-items:start}
.script-browser-footer{padding:12px 20px;border-top:1px solid #e2e8f0;display:flex;justify-content:flex-end;gap:10px;background:#f8fafc;border-radius:0 0 12px 12px}
.script-item{display:flex;flex-direction:column;gap:10px;padding:14px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;transition:all .15s;position:relative;overflow:visible}
.script-item:hover{border-color:#bfdbfe;background:#f8fafc;transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,0.06)}
.script-item-sent{border-top:3px solid #22c55e}
.script-item-pending{border-top:3px solid #e2e8f0}
.script-item-current{border-color:#3b82f6;background:linear-gradient(135deg,#eff6ff 0%,#dbeafe 100%);box-shadow:0 0 0 2px rgba(59,130,246,0.25),0 8px 20px rgba(59,130,246,0.18);border-top:3px solid #3b82f6;animation:script-pulse 2.2s ease-in-out infinite}
.script-item-current::before{content:'下一条';position:absolute;top:10px;right:10px;background:linear-gradient(135deg,#3b82f6,#1d4ed8);color:#fff;font-size:10px;font-weight:700;padding:3px 8px;border-radius:4px;letter-spacing:0.5px;z-index:2;box-shadow:0 2px 6px rgba(59,130,246,0.4)}
.script-item-index{font-size:11px;font-weight:700;color:#fff;background:#94a3b8;width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.script-item-current .script-item-index{background:#3b82f6}
.script-item-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}
.script-item-title{font-size:13px;font-weight:700;color:#1e293b;display:flex;align-items:center;gap:6px;flex-wrap:wrap;line-height:1.4;padding-right:50px}
.script-item-tag{font-size:10px;font-weight:500;padding:1px 6px;border-radius:10px;background:#e2e8f0;color:#475569;white-space:nowrap}
.script-item-tag-current{background:#dbeafe;color:#1d4ed8}
.script-item-tag-sent{background:#dcfce7;color:#15803d}
.script-item-content{font-size:13px;color:#334155;line-height:1.7;white-space:pre-line;word-break:break-word}
.script-item-current .script-item-content{color:#1e293b}
.script-item-media{display:flex;flex-direction:column;gap:8px;margin-top:2px}
.script-item-media img{width:100%;max-width:520px;border-radius:6px;cursor:pointer;display:block;border:1px solid #e2e8f0;min-height:80px;background:#f8fafc}
.script-browser-empty{text-align:center;padding:40px 20px;color:#94a3b8;font-size:13px;grid-column:1/-1}
.script-browser-btn{padding:8px 16px;border-radius:8px;font-size:13px;font-weight:500;cursor:pointer;border:none;transition:all .15s}
.script-browser-btn-primary{background:#1a6984;color:#fff}
.script-browser-btn-primary:hover{background:#155771}
.script-browser-btn-secondary{background:#f1f5f9;color:#475569}
.script-browser-btn-secondary:hover{background:#e2e8f0}
@keyframes script-pulse{0%{box-shadow:0 0 0 0 rgba(59,130,246,0.35)}70%{box-shadow:0 0 0 10px rgba(59,130,246,0)}100%{box-shadow:0 0 0 0 rgba(59,130,246,0)}}

/* ========== 周六复盘 V3 ========== */
.dash-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;flex-wrap:wrap;gap:8px}
.dash-top h2{margin:0;font-size:18px;font-weight:700;color:#1e293b}
.btn-review{background:#1a8a8a;color:#fff;border:none;padding:7px 18px;border-radius:8px;font-size:13px;cursor:pointer;display:flex;align-items:center;gap:6px;font-weight:700;transition:background .2s}
.btn-review:hover{background:#147a7a}
.btn-review .sub{font-size:11px;font-weight:400;opacity:.85}
.review-modal{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.45);z-index:10000;justify-content:center;align-items:center}
.review-modal.open{display:flex}
.review-modal .panel{background:#fff;border-radius:12px;padding:28px;max-width:720px;width:92%;max-height:88vh;overflow-y:auto;box-shadow:0 8px 36px rgba(0,0,0,.22);position:relative}
.review-modal .panel h3{font-size:20px;margin:0 0 2px;color:#1e293b}
.review-modal .panel .sub{font-size:12px;color:#94a3b8;margin-bottom:20px}
.review-modal .panel .section{margin-bottom:20px}
.review-modal .panel .section h4{font-size:14px;margin-bottom:10px;padding-bottom:6px;border-bottom:1px solid #e2e8f0;color:#475569;display:flex;align-items:center;gap:6px}
/* 数据总览改用三行两列 grid */
.review-stats-grid{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto auto;gap:8px;margin-bottom:4px}
.review-stat-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:10px 14px;display:flex;align-items:center;gap:12px}
.review-stat-card .rv{font-size:28px;font-weight:800;min-width:48px;text-align:center;line-height:1}
.review-stat-card .rv.red{color:#c62828}
.review-stat-card .rv.orange{color:#f57c00}
.review-stat-card .rv.blue{color:#1a8a8a}
.review-stat-card .rv.green{color:#43a047}
.review-stat-card .rv.purple{color:#7b1fa2}
.review-stat-card .rv.gray{color:#607d8b}
.review-stat-card .rl{font-size:13px;font-weight:600;color:#475569;margin-bottom:2px}
.review-stat-card .rs{font-size:11px;color:#94a3b8;line-height:1.4}
/* 攻单覆盖率专用行 */
.review-coverage-bar{display:flex;align-items:center;gap:10px;background:#fef3c7;border:1px solid #fde68a;border-radius:8px;padding:10px 14px;margin-bottom:16px}
.review-coverage-bar .rc-label{font-size:13px;font-weight:700;color:#b45309;white-space:nowrap}
.review-coverage-bar .rc-bar-bg{flex:1;height:8px;background:#fde68a;border-radius:4px;overflow:hidden}
.review-coverage-bar .rc-bar-fill{height:100%;border-radius:4px;background:linear-gradient(90deg,#f59e0b,#f57c00);transition:width .5s}
.review-coverage-bar .rc-val{font-size:13px;font-weight:700;color:#b45309;white-space:nowrap}
/* 明细列表 */
.review-modal .panel .todo{list-style:none;font-size:13px;margin:0;padding:0}
.review-modal .panel .todo li{padding:6px 0;border-bottom:1px solid #f1f5f9;display:flex;align-items:flex-start;gap:6px;line-height:1.6}
.review-modal .panel .actions{display:flex;gap:10px;margin-top:20px;padding-top:16px;border-top:1px solid #e2e8f0;flex-wrap:wrap}
.review-modal .panel .btn{padding:8px 18px;border-radius:8px;font-size:13px;cursor:pointer;border:1px solid #d4d4d8;background:#fff;color:#475569;font-weight:600;transition:all .15s}
.review-modal .panel .btn.primary{background:#1a8a8a;color:#fff;border-color:#1a8a8a}
.review-modal .panel .btn.warn{background:#f57c00;color:#fff;border-color:#f57c00}
.review-modal .panel .btn:hover{opacity:.85;transform:translateY(-1px)}
.review-modal .panel .close{position:absolute;top:14px;right:18px;font-size:22px;cursor:pointer;color:#94a3b8;line-height:1;border:none;background:none;padding:4px}
.review-modal .detail-line{font-size:13px;line-height:1.8;margin:0;padding:0;list-style:none}
/* 分列明细（面诊+解读双栏） */
.review-two-col{display:grid;grid-template-columns:1fr 1fr;gap:10px}
@media (max-width:560px){.review-two-col{grid-template-columns:1fr}}
.review-two-col .col-block{background:#f8fafc;border-radius:8px;padding:10px 12px}
.review-two-col .col-block h5{font-size:13px;margin:0 0 6px;color:var(--text);border-bottom:1px solid #e2e8f0;padding-bottom:4px}

/* ========== 6信诊断面板 ========== */
.six-trust-diagnosis{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:12px;margin-bottom:12px}
.six-trust-diagnosis-title{font-size:13px;font-weight:700;color:#1e293b;margin-bottom:8px;display:flex;align-items:center;gap:4px}
.six-trust-diagnosis-desc{font-size:12px;color:#64748b;margin-bottom:10px;line-height:1.5}
.six-trust-row{display:flex;align-items:center;gap:8px;margin-bottom:6px;font-size:12px}
.six-trust-name{width:90px;color:#475569;flex-shrink:0}
.six-trust-bar-bg{flex:1;height:8px;background:#e2e8f0;border-radius:4px;overflow:hidden}
.six-trust-bar-fill{height:100%;border-radius:4px;transition:width .3s}
.six-trust-bar-fill.high{background:#16a34a}
.six-trust-bar-fill.mid{background:#f59e0b}
.six-trust-bar-fill.low{background:#dc2626}
.six-trust-score{width:36px;text-align:right;color:#64748b;font-size:11px}



/* ========== 攻单分析报告（简化版） ========== */
.attack-summary-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:14px;margin-bottom:14px}
/* v70: 痛点+客户原话卡片 */
.attack-pain-card{margin-bottom:14px;padding:10px 12px;background:#fff7ed;border:1px solid #fed7aa;border-radius:8px}
.attack-pain-card-title{font-size:12px;font-weight:600;color:#9a3412;margin-bottom:8px}
.attack-pain-item{margin-bottom:5px;padding:6px 8px;background:#fff;border-radius:4px;border:1px solid #fed7aa}
.attack-pain-header{display:flex;align-items:center;gap:6px;margin-bottom:2px}
.attack-pain-label{font-size:12px;font-weight:600;color:#9a3412}
.attack-pain-fear{font-size:10px;color:#64748b}
.attack-pain-quotes{margin-top:3px;padding-left:6px;border-left:2px solid #f97316}
.attack-pain-quote-line{font-size:11px;color:#64748b;font-style:italic;margin:2px 0;line-height:1.4}
.attack-summary-title{font-size:13px;font-weight:700;color:#1e293b;margin-bottom:10px;display:flex;align-items:center;gap:6px}
.attack-state-flow{display:flex;align-items:center;gap:8px;margin-bottom:10px;flex-wrap:wrap}
.attack-state-pill{padding:5px 10px;border-radius:20px;font-size:12px;font-weight:600;background:#e2e8f0;color:#475569}
.attack-state-pill.now{background:#dbeafe;color:#1e40af}
.attack-state-pill.low{background:#fee2e2;color:#dc2626}
.attack-state-arrow{color:#94a3b8;font-size:14px}
.attack-judgment{font-size:12px;color:#475569;line-height:1.6;background:#fff;border-radius:6px;padding:10px;border-left:3px solid #2563eb}
.attack-judgment-label{font-weight:700;color:#1e40af}
.attack-section-title{font-size:13px;font-weight:700;color:#1e293b;margin:14px 0 8px;display:flex;align-items:center;gap:6px}
.attack-action-list{display:flex;flex-direction:column;gap:8px}
.attack-action-item{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:12px;position:relative}
.attack-action-item.urgent{border-color:#fecaca;background:#fef2f2}
.attack-action-num{position:absolute;left:-6px;top:-6px;width:20px;height:20px;border-radius:50%;background:#dc2626;color:#fff;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center}
.attack-action-title{font-size:13px;font-weight:700;color:#1e293b;margin-bottom:4px}
.attack-action-reason{font-size:11px;color:#64748b;line-height:1.5;margin-bottom:8px}
.attack-action-btns{display:flex;gap:6px}
.attack-btn-mini{padding:4px 10px;border-radius:4px;font-size:11px;font-weight:600;cursor:pointer;border:none;transition:all .15s}
.attack-btn-mini.copy{background:#eff6ff;color:#1d4ed8}
.attack-btn-mini.copy:hover{background:#2563eb;color:#fff}
.attack-btn-mini.done{background:#f0fdf4;color:#15803d}
.attack-btn-mini.done:hover{background:#16a34a;color:#fff}
.attack-copy-grid{display:grid;grid-template-columns:1fr;gap:8px}
.attack-copy-card{background:#fffbeb;border:1px solid #fde68a;border-radius:8px;padding:10px}
.attack-copy-card-title{font-size:12px;font-weight:700;color:#92400e;margin-bottom:2px}
.attack-copy-card-meta{font-size:10px;color:#b45309;margin-bottom:6px}
.attack-copy-card-btns{display:flex;gap:6px}
.attack-evidence-toggle{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;cursor:pointer;font-size:12px;color:#475569;font-weight:600}
.attack-evidence-toggle:hover{background:#f1f5f9}
.attack-evidence-body{display:none;padding:12px;background:#fff;border:1px solid #e2e8f0;border-top:none;border-radius:0 0 8px 8px}
.attack-evidence-body.show{display:block}
.attack-evidence-row{margin-bottom:8px;padding:8px;background:#f8fafc;border-radius:6px;border-left:3px solid #2563eb}
.attack-evidence-row:last-child{margin-bottom:0}
.attack-evidence-label{font-size:11px;font-weight:700;color:#1e40af;margin-bottom:3px}
.attack-evidence-line{font-size:10px;color:#64748b;line-height:1.5}
.attack-footer-btns{display:flex;gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid #e2e8f0}
.attack-footer-btns button{flex:1;padding:9px 12px;border-radius:6px;font-size:12px;font-weight:600;cursor:pointer;border:none}
.attack-footer-btn-primary{background:#2563eb;color:#fff}
.attack-footer-btn-primary:hover{background:#1d4ed8}
.attack-footer-btn-secondary{background:#f1f5f9;color:#475569}
.attack-footer-btn-secondary:hover{background:#e2e8f0}
.attack-mini-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}
.attack-mini-tag{font-size:10px;padding:2px 7px;border-radius:10px;background:#ede9fe;color:#7c3aed}
.attack-mini-tag.new{background:#dcfce7;color:#15803d}
.attack-empty-tip{padding:14px;text-align:center;color:#94a3b8;font-size:12px;background:#f8fafc;border-radius:8px}

/* ========== AI图文解析弹窗 ========== */
.img-parse-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.45);z-index:9999;display:flex;align-items:center;justify-content:center}
.img-parse-modal{background:#fff;border-radius:12px;width:560px;max-height:85vh;display:flex;flex-direction:column;box-shadow:0 20px 60px rgba(0,0,0,.2)}
.img-parse-header{padding:16px 18px;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between}
.img-parse-title{font-weight:700;font-size:16px}
.img-parse-close{cursor:pointer;font-size:22px;color:#94a3b8;line-height:1}
.img-parse-close:hover{color:#dc2626}
.img-parse-body{padding:14px 18px;overflow-y:auto;flex:1}
.img-paste-zone{border:2px dashed #ddd6fe;border-radius:10px;padding:20px;text-align:center;background:#f5f3ff;cursor:pointer;transition:background .2s}
.img-paste-zone:hover{background:#ede9fe}
.img-paste-zone.active{background:#ede9fe;border-color:#7c3aed}
.img-paste-icon{font-size:32px;margin-bottom:6px}
.img-paste-text{font-size:13px;color:#64748b}
.img-paste-sub{font-size:11px;color:#94a3b8;margin-top:4px}
.img-thumbs{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}
.img-thumb{width:80px;height:80px;border-radius:6px;object-fit:cover;border:1px solid #e2e8f0;position:relative;background:#f8fafc;display:flex;align-items:center;justify-content:center;font-size:10px;color:#64748b;overflow:hidden}
.img-thumb img{width:100%;height:100%;object-fit:cover}
.img-thumb .img-del{position:absolute;top:2px;right:2px;width:16px;height:16px;background:#dc2626;color:#fff;border-radius:50%;font-size:10px;display:flex;align-items:center;justify-content:center;cursor:pointer}
.img-thumb-placeholder{width:80px;height:80px;border-radius:6px;border:1px dashed #cbd5e1;display:flex;align-items:center;justify-content:center;font-size:10px;color:#94a3b8}
.img-result-area{margin-top:12px}
.img-result-label{font-size:12px;font-weight:700;color:#6d28d9;margin-bottom:6px}
.img-result-textarea{width:100%;min-height:120px;border:1px solid #ddd6fe;border-radius:6px;padding:10px;font-size:12px;line-height:1.6;font-family:'Microsoft YaHei',sans-serif;resize:vertical}
.img-parse-actions{display:flex;gap:8px;margin-top:10px}
.img-parse-actions button{flex:1;padding:8px;border:none;border-radius:6px;font-size:12px;cursor:pointer;font-weight:600}
.img-parse-btn-parse{background:#7c3aed;color:#fff}
.img-parse-btn-insert{background:#16a34a;color:#fff}
.img-parse-btn-direct{background:#0d9488;color:#fff}
.img-parse-btn-cancel{background:#f1f5f9;color:#64748b;border:1px solid #e2e8f0}

/* ========== 录音解析弹窗/结果 ========== */
.audio-parse-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.45);z-index:9999;display:flex;align-items:center;justify-content:center}
.audio-parse-modal{background:#fff;border-radius:12px;width:520px;max-height:85vh;display:flex;flex-direction:column;box-shadow:0 20px 60px rgba(0,0,0,.2)}
.audio-parse-header{padding:16px 18px;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between}
.audio-parse-title{font-weight:700;font-size:16px}
.audio-parse-close{cursor:pointer;font-size:22px;color:#94a3b8;line-height:1}
.audio-parse-close:hover{color:#dc2626}
.audio-parse-body{padding:14px 18px;overflow-y:auto;flex:1}
.audio-dropzone{border:2px dashed #93c5fd;border-radius:10px;padding:24px;cursor:pointer;background:#f8fafc;transition:background .2s;text-align:center}
.audio-dropzone:hover{background:#eff6ff}
.audio-drop-icon{font-size:32px;margin-bottom:6px}
.audio-drop-text{font-size:13px;color:#64748b}
.audio-drop-sub{font-size:11px;color:#94a3b8;margin-top:4px}
.audio-process-list{margin-top:10px;text-align:left;max-height:150px;overflow-y:auto;display:none}
.audio-process-item{padding:6px 8px;background:#f1f5f9;border-radius:4px;margin-bottom:4px;font-size:11px;display:flex;align-items:center;justify-content:space-between}
.audio-summary-panel{background:#f0f9ff;border:1px solid #bae6fd;border-radius:8px;padding:12px;margin-top:10px}
.audio-summary-title{font-size:12px;font-weight:700;color:#0369a1;margin-bottom:8px;display:flex;align-items:center;gap:4px}
.audio-summary-section{margin-bottom:6px;font-size:12px;line-height:1.6}
.audio-summary-label{color:#0284c7;font-weight:600}
.audio-demo-tag{font-size:10px;font-weight:400;color:#64748b;background:#e0f2fe;border:1px solid #bae6fd;padding:1px 6px;border-radius:10px;margin-left:6px}
.audio-original-panel{margin-top:8px;border:1px solid #e2e8f0;border-radius:6px;overflow:hidden}
.audio-original-header{background:#f8fafc;padding:8px 10px;font-size:12px;font-weight:600;color:#475569;cursor:pointer;display:flex;align-items:center;justify-content:space-between}
.audio-original-body{display:none;padding:10px;background:#fff;font-size:12px;line-height:1.6;color:#374151;max-height:300px;overflow-y:auto}
.audio-original-body.show{display:block}
.audio-original-note{font-size:11px;color:#64748b;background:#fffbeb;border:1px solid #fde68a;border-radius:4px;padding:6px 8px;margin-bottom:8px}
.audio-original-textarea{width:100%;min-height:160px;border:1px solid #e2e8f0;border-radius:6px;padding:10px;font-size:12px;line-height:1.6;font-family:'Microsoft YaHei',sans-serif;resize:vertical}
.audio-result-actions{display:flex;gap:8px;margin-top:10px}
.audio-result-actions button{flex:1;padding:8px;border:none;border-radius:6px;font-size:12px;cursor:pointer;font-weight:600}
.audio-result-btn-insert{background:#16a34a;color:#fff}
.audio-result-btn-cancel{background:#f1f5f9;color:#64748b;border:1px solid #e2e8f0}

/* ========== 4状态横向面板 ========== */
.gates-4{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:14px}
.gate-col{background:#fff;border-radius:8px;border:2px solid #e2e8f0;padding:0;overflow:hidden;transition:border-color .2s}
.gate-col.current{border-color:#2563eb;box-shadow:0 0 0 2px rgba(37,99,235,.12)}
.gate-head{padding:8px 10px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f1f5f9}
.gate-name{font-weight:700;font-size:13px;display:flex;align-items:center;gap:4px}
.gate-status{font-size:11px;padding:2px 8px;border-radius:10px;font-weight:600}
.gate-status.pass{background:#dcfce7;color:#15803d}
.gate-status.fail{background:#fee2e2;color:#dc2626}
.gate-status.current{background:#dbeafe;color:#1d4ed8}
.gate-summary{padding:10px;font-size:12px;line-height:1.6}
.gs-desc{color:#374151;margin-bottom:6px}
.gs-missing{background:#fef2f2;border-radius:4px;padding:6px 8px;margin-top:4px}
.gs-missing .label{font-size:11px;color:#dc2626;font-weight:600;margin-bottom:3px}
.gs-missing li{list-style:none;font-size:11px;color:#991b1b}
.gate-detail{padding:10px}
.evidence-list{display:flex;flex-direction:column;gap:3px;margin-bottom:8px}
.evidence-item{font-size:11px;padding:4px 6px;border-radius:4px;display:flex;align-items:flex-start;gap:4px;cursor:default}
.evidence-item .icon{flex-shrink:0}
.evidence-item.pass{background:#f0fdf4;color:#166534}
.evidence-item.fail{background:#fef2f2;color:#991b1b}
.evidence-item.maybe{background:#fefce8;color:#854d0e}
.action-guide{background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:8px}
.ag-title{font-size:11px;color:#64748b;margin-bottom:4px;font-weight:600}
.ag-do{color:#15803d;font-size:12px;margin-bottom:2px}
.ag-dont{color:#dc2626;font-size:12px}
.override-btn{width:100%;margin-top:8px;padding:5px;font-size:11px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:4px;cursor:pointer;color:#64748b}
.override-btn:hover{background:#e2e8f0}

/* ========== 今日行动条 ========== */
.today-action-bar{background:linear-gradient(135deg,#1a6984,#178ca4);border-radius:10px;padding:12px 14px;margin-bottom:6px;color:#fff;box-shadow:0 2px 8px rgba(26,105,132,.15)}
.today-action-bar .ta-label{font-size:11px;opacity:.85;font-weight:600;margin-bottom:4px;display:flex;align-items:center;justify-content:space-between;gap:6px}
.today-action-bar .ta-text{font-size:13px;line-height:1.55;font-weight:500}
.today-action-bar .ta-reason{font-size:11px;opacity:.75;margin-top:4px}

/* ========== 折叠面板（6信主观校准） ========== */
.fold-panel{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:8px 12px;margin-bottom:6px}
.fold-title{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600;color:#475569;cursor:pointer;user-select:none}
.fold-title .arr{color:#94a3b8;font-size:12px}
.fold-body{display:none;margin-top:8px}
.fold-body.open{display:block}

/* ========== 浮窗提示 ========== */
[data-tip]{position:relative;cursor:help}
[data-tip]::after{content:attr(data-tip);position:absolute;left:50%;bottom:100%;transform:translateX(-50%) translateY(-6px);width:max-content;max-width:280px;padding:8px 10px;background:#1e293b;color:#fff;font-size:11px;line-height:1.5;border-radius:6px;box-shadow:0 4px 12px rgba(0,0,0,.18);opacity:0;pointer-events:none;transition:opacity .15s;z-index:1000;white-space:normal;text-align:left}
[data-tip]:hover::after{opacity:1}
[data-tip-bottom]::after{top:100%;bottom:auto;transform:translateX(-50%) translateY(6px)}

/* ========== AI解析结果 ========== */
.ai-result-panel{background:#f5f3ff;border:1px solid #ddd6fe;border-radius:8px;padding:12px;margin-top:10px}
.ai-result-title{font-size:12px;font-weight:700;color:#6d28d9;margin-bottom:8px;display:flex;align-items:center;gap:4px}
.ai-result-signal{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:8px}
.ai-signal-tag{font-size:11px;padding:2px 8px;border-radius:10px}
.ai-signal-tag.new{background:#dcfce7;color:#166534;border:1px solid #86efac}
.ai-signal-tag.missing{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}
.ai-result-advice{font-size:12px;line-height:1.6;color:#4c1d95;background:#fff;padding:8px 10px;border-radius:4px}


/* 攻单周历拖拽 */
.ops-emb-wx-pool{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.ops-emb-wx-drag{padding:5px 10px;border-radius:6px;background:#fff;border:1px solid #e2e8f0;cursor:grab;font-size:12px;color:#334155;box-shadow:0 1px 3px rgba(0,0,0,.04);transition:all .15s;display:flex;align-items:center;gap:5px;position:relative}
.ops-emb-wx-drag:hover{background:#f0fdfa;border-color:#1a8a8a}
.ops-emb-wx-drag:active{cursor:grabbing}
.ops-emb-wx-drag.dragging{opacity:.5;transform:scale(.95)}
.ops-emb-wx-count{font-size:10px;color:#64748b;background:#f1f5f9;padding:1px 5px;border-radius:4px}
.ops-emb-wx-del{margin-left:auto;opacity:0;transition:opacity .15s;width:16px;height:16px;display:flex;align-items:center;justify-content:center;border-radius:3px;background:#fee2e2;color:#991b1b;font-size:10px;cursor:pointer}
.ops-emb-wx-drag:hover .ops-emb-wx-del{opacity:1}
.ops-emb-wx-del:hover{background:#fecaca}
.ops-emb-wx-add{background:#f0fdfa;border:1px dashed #1a8a8a;color:#1a8a8a;font-size:14px;font-weight:700;justify-content:center;width:32px;cursor:pointer}
.ops-emb-wx-add:hover{background:#1a8a8a;color:#fff}
.ops-emb-day.drop-over{border:2px dashed #1a8a8a;background:#f0fdfa}
.ops-emb-day.drop-invalid{border:2px dashed #cbd5e1}


/* ========== 全局搜索弹窗 ========== */
.gs-tab:focus{outline:none}
.gs-quick-tag{font-size:11px;padding:3px 10px;border:1px solid #d0e3ea;border-radius:12px;cursor:pointer;color:#1a6984;transition:all .15s;background:#f8fafc}
.gs-quick-tag:hover{background:#e6f4f7;border-color:#1a6984}
.gs-section-title{display:flex;align-items:center;gap:6px;margin-bottom:6px}
.gs-item{padding:8px 12px;border:1px solid #e2e8f0;border-radius:6px;cursor:pointer;transition:all .15s}
.gs-item:hover{background:#f8fafc;border-color:#d0e3ea}
.gs-preview{font-size:11px;color:#64748b;line-height:1.5;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.gs-detail{font-size:11px;color:#475569;line-height:1.55;white-space:pre-wrap}
.gs-badge{font-size:10px;color:#fff;padding:1px 6px;border-radius:4px}

/* ===== 静默预警面板 ===== */
.ops-silent-alert{background:#fff;border-radius:10px;box-shadow:0 1px 6px rgba(26,105,132,.06);overflow:hidden;border-left:4px solid #ef4444}
.ops-silent-header{display:flex;align-items:center;gap:8px;padding:10px 14px;cursor:pointer;user-select:none}
.ops-silent-title{font-size:13px;font-weight:700;color:#1e293b}
.ops-silent-count{font-size:11px;color:#fff;background:#ef4444;padding:1px 8px;border-radius:10px;font-weight:600;min-width:20px;text-align:center}
.ops-silent-toggle{margin-left:auto;font-size:11px;color:#94a3b8;transition:transform .2s}
.ops-silent-toggle.expanded{transform:rotate(180deg)}
.ops-silent-body{max-height:320px;overflow-y:auto;border-top:1px solid #f0f0f0}
.ops-silent-item{display:flex;align-items:center;gap:8px;padding:8px 14px;border-bottom:1px solid #f5f5f5;cursor:pointer;font-size:12px}
.ops-silent-item:hover{background:#f8fafc}
.ops-silent-item .si-name{font-weight:600;color:#1e293b;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ops-silent-item .si-stage{font-size:10px;color:#94a3b8;white-space:nowrap}
.ops-silent-item .si-days{font-size:11px;font-weight:700;padding:2px 8px;border-radius:8px;white-space:nowrap}
.ops-silent-item .si-days.d90{background:#fef2f2;color:#dc2626}
.ops-silent-item .si-days.d60{background:#fff7ed;color:#ea580c}
.ops-silent-item .si-days.d30{background:#fefce8;color:#ca8a04}
/* Tab栏 */
.ops-silent-tabs{display:flex;gap:0;border-bottom:1px solid #e2e8f0;background:#f8fafc}
.ops-silent-tab{flex:1;padding:6px 8px;text-align:center;font-size:11px;font-weight:600;color:#64748b;cursor:pointer;border-bottom:2px solid transparent;transition:all .15s}
.ops-silent-tab:hover{background:#f1f5f9}
.ops-silent-tab.active{color:#1a6984;border-bottom-color:#1a6984;background:#fff}
/* 防遗忘池项 */
.ops-forget-item{display:flex;align-items:center;gap:6px;padding:6px 14px;border-bottom:1px solid #f5f5f5;cursor:pointer;font-size:12px}
.ops-forget-item:hover{background:#fefce8}
.ops-forget-reason{font-size:9px;color:#fff;background:#ca8a04;padding:1px 5px;border-radius:3px;white-space:nowrap}
.ops-forget-recover{font-size:10px;color:#1a6984;border:1px solid #1a698440;border-radius:4px;padding:1px 6px;cursor:pointer;white-space:nowrap}
.ops-forget-recover:hover{background:#1a698410}
.ops-silent-empty{padding:16px;text-align:center;color:#94a3b8;font-size:12px}

/* ===== 预攻单速览面板 ===== */
.ops-pa-alert{background:#fff;border-radius:10px;box-shadow:0 1px 6px rgba(26,105,132,.06);overflow:hidden;border-left:4px solid #1a6984;margin-top:10px}
.ops-pa-header{display:flex;align-items:center;gap:8px;padding:10px 14px}
.ops-pa-title{font-size:13px;font-weight:700;color:#1e293b}
.ops-pa-count{font-size:11px;color:#fff;background:#1a6984;padding:1px 8px;border-radius:10px;font-weight:600;min-width:20px;text-align:center}
.ops-pa-body{padding:8px 14px 10px;display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.ops-pa-item{display:flex;flex-direction:column;align-items:center;gap:2px;padding:4px 2px;border:1px solid #e2e8f0;border-radius:6px;cursor:pointer;font-size:11px;text-align:center;transition:all .15s}
.ops-pa-item:hover{border-color:#1a6984;background:#f8fafc}
.ops-pa-item:last-child{border-bottom:none}
.ops-pa-item:hover .ops-pa-name{color:#1a6984}
.ops-pa-name{font-weight:600;color:#1e293b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;font-size:11px}
.ops-pa-status{font-size:9px;padding:1px 4px;border-radius:3px;font-weight:600;white-space:nowrap}
.ops-pa-days{display:none}
.ops-pa-status.running{background:#e0f2fe;color:#0369a1}
.ops-pa-status.pending{background:#fef2f2;color:#dc2626}
.ops-pa-days{font-size:11px;color:#94a3b8;white-space:nowrap}

/* ===== 反馈闭环样式 ===== */
.ai-fb-row{display:flex;align-items:center;gap:6px;margin-top:6px;padding:4px 10px;background:#f8fafc;border-radius:6px;border:1px solid #e2e8f0;justify-content:flex-end}
.ai-fb-btn{cursor:pointer;font-size:14px;padding:2px 6px;border-radius:4px;transition:all .15s;user-select:none}
.ai-fb-btn:hover{background:#e2e8f0;transform:scale(1.2)}

/* ===== contenteditable placeholder 统一样式（避免内嵌<style>污染保存数据） ===== */
.kb-atk-msg-text:empty:before,
.kb-case-msg-text:empty:before,
.kb-fw-batch-input:empty:before,
.pa-day-text:empty:before{content:attr(data-placeholder);color:#cbd5e1;pointer-events:none}