.crm-upgrade-loading,.crm-upgrade-error{text-align:center;padding:34px;color:var(--muted)}.crm-upgrade-error b{color:#b43a3a}.crm-upgrade-error p{margin:8px 0 14px}.crm-upgrade-metrics{margin-bottom:14px}.crm-pipeline-board{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(270px,1fr);gap:12px;overflow-x:auto;padding-bottom:8px}.crm-stage{background:#f3f8fa;border:1px solid var(--line);border-radius:14px;min-height:260px}.crm-stage>header{display:flex;justify-content:space-between;gap:8px;padding:12px;border-bottom:1px solid var(--line);background:#eaf4f5;border-radius:14px 14px 0 0}.crm-stage>header span{font-size:12px;color:var(--muted)}.crm-stage>div{display:grid;gap:9px;padding:10px}.crm-opportunity-card{display:grid;gap:5px;padding:11px;background:#fff;border:1px solid #dce7ea;border-radius:11px;box-shadow:0 3px 10px rgba(29,65,77,.05)}.crm-opportunity-card>b{color:#173d48}.crm-opportunity-card>span,.crm-opportunity-card>small{color:var(--muted)}.crm-opportunity-card>strong{color:#07888b;font-size:18px}.crm-opportunity-card>div{display:flex;gap:6px;margin-top:5px;flex-wrap:wrap}.crm-opportunity-card .button{padding:6px 9px}.crm-task-list{display:grid;gap:8px}.crm-task-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid var(--line);border-radius:11px}.crm-task-row.overdue{border-color:#f2b9b9;background:#fff8f8}.crm-task-row>div:first-child{display:grid;gap:3px}.crm-task-row span,.crm-task-row small{color:var(--muted)}.crm-task-row>div:last-child{display:flex;gap:6px;flex-wrap:wrap}.crm-task-row .button{padding:7px 10px}.crm-rule-summary{display:flex;justify-content:space-between;gap:12px;margin-bottom:12px}.crm-rule-summary span{color:var(--muted)}.crm-customer-cards{display:grid;gap:8px}.crm-customer-cards>section{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px;border:1px solid var(--line);border-radius:11px}.crm-customer-cards>section>div{display:grid;gap:3px}.crm-customer-cards span,.crm-customer-cards small{color:var(--muted)}.crm-health-list{display:grid;gap:8px}.crm-health-list>section{display:grid;gap:4px;padding:11px;border-left:5px solid #38b77c;background:#f7fbf9;border-radius:9px}.crm-health-list .health-yellow{border-color:#e9ae2f;background:#fffaf0}.crm-health-list .health-red{border-color:#e75d5d;background:#fff7f7}.crm-health-list span,.crm-health-list small{color:var(--muted)}.crm-duplicate-list{display:grid;gap:14px}.crm-duplicate-list>section{border:1px solid var(--line);border-radius:12px;overflow:hidden}.crm-duplicate-list header{display:flex;justify-content:space-between;gap:8px;background:#edf6f7;padding:11px}.crm-duplicate-list label{display:grid;grid-template-columns:auto 1fr 1fr auto;align-items:center;gap:10px;padding:11px;border-top:1px solid var(--line);cursor:pointer}.crm-duplicate-list>section>div{padding:10px;text-align:right}.crm-detail-health{display:flex;justify-content:space-between;gap:8px;padding:10px;background:#eef8f6;border-radius:9px}.crm-detail-health span{color:var(--muted)}.crm-detail-active-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0}.crm-detail-active-grid article{display:grid;gap:5px;padding:10px;border:1px solid var(--line);border-radius:9px}.crm-detail-active-grid span{color:var(--muted)}.crm-active-management>div:last-child{display:flex;gap:7px;flex-wrap:wrap}.danger-text{color:#c63f3f!important}.success-text{color:#16825b!important}
@media(max-width:760px){.crm-pipeline-board{grid-auto-columns:minmax(82vw,1fr)}.crm-task-row,.crm-customer-cards>section,.crm-rule-summary,.crm-detail-health{align-items:stretch;flex-direction:column}.crm-duplicate-list label{grid-template-columns:auto 1fr}.crm-duplicate-list label span,.crm-duplicate-list label small{grid-column:2}.crm-detail-active-grid{grid-template-columns:1fr}}
.submenu [data-module^="crm-"]::after{content:'新';display:inline-flex;align-items:center;justify-content:center;margin-left:6px;padding:0 5px;min-width:20px;height:17px;border-radius:9px;background:#e8f8f7;color:#087f83;font-size:10px;font-weight:800;vertical-align:middle}
