:root{font-family:Microsoft YaHei,PingFang SC,Arial,sans-serif;color:#202b32;background:#f5f7f8;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}.crm-shell{min-height:100vh;display:flex}.crm-sidebar{width:220px;flex:0 0 220px;background:#172b34;color:#e6eff0;display:flex;flex-direction:column;min-height:100vh}.crm-brand{display:flex;gap:10px;align-items:center;padding:24px 20px 22px;border-bottom:1px solid #2d434b}.crm-brand strong{display:block;font-size:17px}.crm-brand small{display:block;color:#96aeb2;font-size:11px;margin-top:3px}.crm-brand-mark,.crm-login-mark{display:grid;place-items:center;background:#16a077;color:#fff;font-weight:700;border-radius:6px;width:34px;height:34px;font-size:19px}.crm-sidebar nav{display:grid;gap:3px;padding:18px 10px}.crm-sidebar nav button{border:0;background:transparent;color:#b6c8ca;text-align:left;padding:11px 14px;border-radius:5px}.crm-sidebar nav button:hover,.crm-sidebar nav button.active{background:#29454d;color:#fff}.crm-side-user{margin-top:auto;padding:18px 20px;border-top:1px solid #2d434b;display:grid;gap:4px}.crm-side-user span{font-size:12px;color:#9db3b6}.crm-main{flex:1;min-width:0}.crm-header{height:86px;padding:18px 32px;background:#fff;border-bottom:1px solid #e3e8e9;display:flex;justify-content:space-between;align-items:center}.crm-header small{color:#75878d;font-size:12px}.crm-header h1{margin:4px 0 0;font-size:23px;font-weight:650}.crm-header-actions{display:flex;align-items:center;gap:15px}.crm-content{padding:26px 32px 60px;max-width:1600px;margin:auto}.crm-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:#dce5e6;border:1px solid #dce5e6}.crm-stats button{text-align:left;background:#fff;border:0;padding:18px 22px;min-height:100px;display:flex;flex-direction:column;gap:7px}.crm-stats button:hover{background:#f8fcfa}.crm-stats span{color:#6b7e82;font-size:13px}.crm-stats strong{font-size:30px;font-weight:650;line-height:1}.crm-section-title{display:flex;justify-content:space-between;align-items:center;margin:30px 0 13px}.crm-section-title h2{font-size:16px;margin:0}.crm-quick{display:flex;gap:10px;flex-wrap:wrap}.crm-quick button,.crm-tool-button,.crm-detail-actions button,.crm-modal footer button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 13px;background:#fff;border:1px solid #ccd8d9;border-radius:5px;color:#28434b;min-height:35px}.crm-quick button:hover,.crm-tool-button:hover,.crm-detail-actions button:hover{border-color:#16a077}.crm-primary{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 14px;border:1px solid #168b69;border-radius:5px;background:#168b69;color:#fff;text-decoration:none;min-height:36px}.crm-primary:hover{background:#117d5d;color:#fff}.crm-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:14px;min-height:38px}.crm-toolbar input,.crm-toolbar select,.crm-modal input,.crm-modal select,.crm-modal textarea{border:1px solid #cbd6d8;border-radius:4px;background:#fff;color:#25343b;padding:8px 10px;min-height:36px;outline:none}.crm-toolbar input:focus,.crm-toolbar select:focus,.crm-modal input:focus,.crm-modal select:focus,.crm-modal textarea:focus{border-color:#168b69}.crm-toolbar input{width:240px}.crm-toolbar select{max-width:170px}.crm-spacer{flex:1}.crm-icon{border:1px solid #d5dfe0;border-radius:4px;background:#fff;color:#52676d;display:inline-grid;place-items:center;width:36px;height:36px;flex:0 0 36px}.crm-icon:hover{border-color:#168b69;color:#168b69}.crm-link,.crm-text-link{border:0;background:none;padding:0;color:#087e63;text-decoration:none}.crm-link:hover,.crm-text-link:hover{text-decoration:underline}.crm-table-wrap,.crm-list{background:#fff;border:1px solid #e1e8e9;overflow-x:auto}.crm-table-wrap table{border-collapse:collapse;width:100%;min-width:720px;text-align:left;font-size:13px}.crm-table-wrap th{background:#f8faf9;color:#65787e;font-weight:500;padding:13px 15px;border-bottom:1px solid #e1e8e9;white-space:nowrap}.crm-table-wrap td{padding:14px 15px;border-bottom:1px solid #edf1f1;vertical-align:middle}.crm-table-wrap tbody tr:last-child td{border-bottom:0}.crm-table-wrap tbody tr:hover{background:#f8fcfa}.crm-table-wrap tbody tr{cursor:pointer}.crm-table-wrap td strong{display:block;font-weight:600}.crm-table-wrap td small{display:block;color:#8a9a9d;margin-top:4px}.crm-content-cell{max-width:400px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.crm-table-wrap em,.crm-list-row em{font-style:normal;display:inline-block;border-radius:3px;padding:3px 7px;font-size:12px;white-space:nowrap;background:#edf3f4;color:#41616a}.crm-table-wrap em.INTENT,.crm-list-row em.INTENT{background:#fff2da;color:#91620a}.crm-table-wrap em.WON,.crm-list-row em.WON{background:#e5f5ed;color:#187454}.crm-empty{text-align:center;padding:30px;color:#8b9a9f;font-size:13px}.crm-list-row{width:100%;border:0;border-bottom:1px solid #edf1f1;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:16px 20px;text-align:left}.crm-list-row:last-child{border-bottom:0}.crm-list-row:hover{background:#f8fcfa}.crm-list-row strong,.crm-list-row small{display:block}.crm-list-row small{color:#839498;margin-top:5px}.crm-pager{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:15px;color:#687c81;font-size:13px}.crm-pager button{padding:6px 10px;border:1px solid #d5dfe0;border-radius:4px;background:#fff;color:#38545a}.crm-groups{display:grid;grid-template-columns:240px minmax(0,1fr);gap:18px}.crm-group-list,.crm-group-detail{background:#fff;border:1px solid #e1e8e9}.crm-group-list button{width:100%;border:0;border-bottom:1px solid #edf1f1;padding:15px;text-align:left;background:#fff}.crm-group-list button.active{background:#eaf6f0;border-left:3px solid #168b69;padding-left:12px}.crm-group-list strong,.crm-group-list small{display:block}.crm-group-list small{color:#829398;margin-top:4px}.crm-group-detail{padding:0 20px 16px}.crm-member{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #edf1f1;padding:13px 0}.crm-member strong,.crm-member small{display:block}.crm-member small{color:#89999d;margin-top:3px}.crm-overlay{position:fixed;inset:0;background:#172a3073;z-index:20;display:flex;justify-content:flex-end}.crm-detail{height:100%;width:min(760px,100vw);background:#fff;display:flex;flex-direction:column;box-shadow:-8px 0 30px #15262b22}.crm-detail header{display:flex;align-items:center;gap:14px;padding:17px 22px;border-bottom:1px solid #e4eaeb}.crm-detail h2{font-size:19px;margin:0 0 4px}.crm-detail header small{color:#819095}.crm-detail-body{overflow:auto;padding:20px 26px 45px}.crm-detail-actions{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:23px}.crm-detail h3{font-size:15px;margin:25px 0 12px}.crm-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 24px;margin:0;padding:18px;background:#f8faf9}.crm-fields dt{font-size:12px;color:#829297;margin-bottom:5px}.crm-fields dd{margin:0;overflow-wrap:anywhere}.crm-history{border-left:2px solid #b7d7ca;padding:0 0 15px 16px;margin-left:5px}.crm-history strong,.crm-history small{display:block}.crm-history small{color:#86969a;margin-top:3px}.crm-history p{margin:8px 0 0;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.crm-modal-overlay{justify-content:center;align-items:center;z-index:30;padding:16px}.crm-modal{background:#fff;border-radius:6px;width:min(540px,100%);max-height:calc(100vh - 32px);display:flex;flex-direction:column;box-shadow:0 15px 40px #14272e30}.crm-modal header{padding:17px 20px;border-bottom:1px solid #e4eaeb;display:flex;justify-content:space-between;align-items:center}.crm-modal h2{font-size:17px;margin:0}.crm-modal-fields{padding:20px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;overflow:auto}.crm-modal-fields label{display:grid;gap:6px;font-size:13px;color:#587078;min-width:0}.crm-modal-fields label:has(textarea),.crm-modal-fields p{grid-column:1/-1}.crm-modal-fields input,.crm-modal-fields select,.crm-modal-fields textarea{width:100%;min-width:0;color:#202b32}.crm-modal-fields textarea{resize:vertical}.crm-modal footer{padding:14px 20px;border-top:1px solid #e4eaeb;display:flex;justify-content:flex-end;gap:9px}.crm-loading,.crm-login{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;color:#547077}.crm-login h1{margin:0;font-size:24px;color:#23343b}.crm-login p{margin:0}.crm-login-mark{width:46px;height:46px;font-size:25px}.crm-demo{margin-top:14px;background:#fff;border:1px solid #dce5e6;width:min(360px,90vw);padding:16px;display:grid;gap:5px}.crm-demo strong{font-size:13px;margin-bottom:5px}.crm-demo button{background:none;border:0;text-align:left;padding:8px;border-bottom:1px solid #edf1f1}.crm-demo button:hover{color:#168b69}.crm-error{padding:10px 13px;background:#fff1ef;color:#ad382b;border:1px solid #f5d7d2;border-radius:4px;font-size:13px}.crm-bottom{display:none}@media(max-width:800px){.crm-sidebar{display:none}.crm-header{height:70px;padding:12px 17px}.crm-header h1{font-size:19px}.crm-content{padding:16px 14px 88px}.crm-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-stats button{min-height:85px;padding:14px}.crm-stats strong{font-size:24px}.crm-toolbar input{width:min(100%,220px);flex:1}.crm-toolbar select{max-width:155px}.crm-table-wrap{border:0;background:transparent;overflow:visible}.crm-table-wrap table{display:block;min-width:0}.crm-table-wrap thead{display:none}.crm-table-wrap tbody{display:grid;gap:8px}.crm-table-wrap tr{display:grid;background:#fff;border:1px solid #e1e8e9;border-radius:4px;padding:12px}.crm-table-wrap td{border:0;padding:3px 0;display:block}.crm-table-wrap td:first-child{font-size:15px}.crm-table-wrap td small{font-size:12px}.crm-table-wrap td:empty{display:none}.crm-content section:has(.crm-pager) .crm-table-wrap tr,.crm-content section:has(.crm-toolbar>strong) .crm-table-wrap tr{grid-template-columns:minmax(0,1fr) auto;column-gap:10px}.crm-content section:has(.crm-pager) .crm-table-wrap td:nth-child(1),.crm-content section:has(.crm-toolbar>strong) .crm-table-wrap td:nth-child(1){grid-column:1;grid-row:1}.crm-content section:has(.crm-pager) .crm-table-wrap td:nth-child(2),.crm-content section:has(.crm-toolbar>strong) .crm-table-wrap td:nth-child(2){grid-column:2;grid-row:1;text-align:right}.crm-content section:has(.crm-pager) .crm-table-wrap td:nth-child(n+3),.crm-content section:has(.crm-toolbar>strong) .crm-table-wrap td:nth-child(n+3){grid-column:1/-1;font-size:12px;color:#71868a}.crm-content section:has(.crm-pager) .crm-table-wrap td:nth-child(3):before,.crm-content section:has(.crm-toolbar>strong) .crm-table-wrap td:nth-child(3):before{content:"销售组 · "}.crm-content section:has(.crm-pager) .crm-table-wrap td:nth-child(4):before{content:"负责人 · "}.crm-content section:has(.crm-pager) .crm-table-wrap td:nth-child(5):before{content:"成交业务员 · "}.crm-content section:has(.crm-pager) .crm-table-wrap td:nth-child(6):before{content:"最近跟进 · "}.crm-content section:has(.crm-toolbar>strong) .crm-table-wrap td:nth-child(4):before{content:"地区 · "}.crm-content section:has(.crm-toolbar>strong) .crm-table-wrap td:nth-child(5){margin-top:5px}.crm-content section:has(.crm-content-cell) .crm-table-wrap td:nth-child(2):before{content:"方式 · "}.crm-content section:has(.crm-content-cell) .crm-table-wrap td:nth-child(4):before{content:"记录人 · "}.crm-content section:has(.crm-content-cell) .crm-table-wrap td:nth-child(5):before{content:"时间 · "}.crm-groups{grid-template-columns:1fr}.crm-group-list{display:flex;overflow-x:auto}.crm-group-list button{min-width:155px}.crm-bottom{position:fixed;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border-top:1px solid #dce5e6;z-index:10;padding-bottom:env(safe-area-inset-bottom)}.crm-bottom button{height:54px;border:0;background:none;color:#768a90;font-size:12px}.crm-bottom button.active{color:#0b8664;border-top:2px solid #0b8664}.crm-detail-body{padding:16px}.crm-detail header{padding:12px 14px}.crm-fields{gap:13px;padding:14px}.crm-modal-fields{grid-template-columns:1fr}}@media(min-width:801px)and (max-width:1100px){.crm-sidebar{width:185px;flex-basis:185px}.crm-content{padding:22px}.crm-header{padding:16px 22px}}
