body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;background:#f5f6fa;color:#333}.card{background:#fff;border-radius:8px;padding:24px;box-shadow:0 1px 3px #00000014}.config-group-title{padding:8px 12px;border-radius:6px;font-weight:600;font-size:14px;margin-bottom:16px}.config-group-ai{background:#e6f4ff;color:#0958d9;border-left:4px solid #1677ff}.config-group-mail{background:#f6ffed;color:#237804;border-left:4px solid #52c41a;margin-top:8px}.auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center}.auth-box{width:360px}.license-info{border:1px solid var(--border, #e5e7eb);border-radius:8px;padding:4px 16px;margin-bottom:16px;background:var(--bg-secondary, #f9fafb)}.license-expired{border-color:#e5484d}.license-warning{border:1px solid #f0c36d;background:#fdf6e3;color:#8a6d3b;border-radius:8px;padding:10px 14px;margin-bottom:16px;font-size:13px;line-height:1.6}.license-value{font-weight:600;word-break:break-all}.auth-logo{width:48px;height:48px;flex-shrink:0}.auth-header{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:24px}.auth-header .auth-title{margin:0}.auth-title{text-align:center;margin-bottom:24px}.form-item{margin-bottom:16px}.form-item label{display:block;margin-bottom:6px;font-size:14px;color:#555}.form-item input{width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid #d9d9d9;border-radius:6px;font-size:14px;outline:none}.form-item input:focus{border-color:#1677ff}.btn{width:100%;padding:10px 0;border:none;border-radius:6px;background:#1677ff;color:#fff;font-size:15px;cursor:pointer}.btn:hover{background:#4096ff}.btn:disabled{background:#a0cfff;cursor:not-allowed}.btn-sm{width:auto;padding:6px 14px;font-size:13px}.btn-xs{width:auto;padding:3px 10px;font-size:12px;border-radius:4px;white-space:nowrap}.btn-default{background:#fff;color:#333;border:1px solid #d9d9d9}.btn-default:hover{background:#f5f5f5}.btn-danger{background:#fff;color:#ff4d4f;border:1px solid #ffa39e}.btn-danger:hover{background:#fff1f0}.btn-primary{background:#1677ff;color:#fff}.btn-primary:hover{background:#4096ff}.btn-row{display:flex;gap:12px}.btn-row .btn{flex:1}.remember-row{margin-bottom:16px}.remember-row .remember-label{display:flex;align-items:center;gap:8px;margin-bottom:0;font-size:14px;color:#555;cursor:pointer;-webkit-user-select:none;user-select:none}.remember-row input[type=checkbox]{width:16px;height:16px;margin:0;flex-shrink:0;cursor:pointer;accent-color:#1677ff}.auth-home-link{display:block;text-align:right;margin-top:24px;font-size:13px;color:#888;text-decoration:none;transition:color .2s}.auth-home-link:hover{color:#1677ff}.filter-input{padding:7px 12px;border:1px solid #d9d9d9;border-radius:6px;font-size:13px;outline:none;min-width:220px;box-sizing:border-box}.filter-input:focus{border-color:#1677ff}select.filter-input,select.status-select{min-width:auto}.status-select{padding:3px 6px;border:1px solid #d9d9d9;border-radius:4px;font-size:12px;outline:none}.badge{display:inline-block;padding:2px 10px;border-radius:10px;font-size:12px;white-space:nowrap}.badge-new{background:#e6f4ff;color:#1677ff}.badge-contacted{background:#fff7e6;color:#d46b08}.badge-interested{background:#f6ffed;color:#389e0d}.badge-converted{background:#f9f0ff;color:#722ed1}.badge-invalid{background:#f5f5f5;color:#999}.badge-danger{background:#fff1f0;color:#cf1322}.badge-followup{background:#e6fffb;color:#08979c}.inbox-row-unread{font-weight:600}.inbox-unread-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#ff4d4f;margin-right:6px;vertical-align:middle}.inbox-body{white-space:pre-wrap;word-break:break-word;background:#fff;border:1px solid #eee;border-radius:6px;padding:12px;font-size:13px;line-height:1.7;max-height:320px;overflow-y:auto}.modal-mask{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;display:flex;align-items:flex-start;justify-content:center;padding:48px 16px;z-index:1000;overflow-y:auto}.modal{background:#fff;border-radius:8px;padding:24px;width:480px;max-width:100%;box-sizing:border-box;max-height:calc(100vh - 96px);overflow-y:auto;box-shadow:0 4px 16px #0003}.modal-wide{width:640px}.modal h3{margin:0 0 16px}.dialog-mask{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000059;display:flex;align-items:center;justify-content:center;z-index:1100}.dialog-card{background:#fff;border-radius:10px;padding:20px 22px;width:380px;max-width:calc(100vw - 32px);box-sizing:border-box;box-shadow:0 8px 24px #0000002e;animation:dialog-pop .18s ease-out}@keyframes dialog-pop{0%{transform:scale(.95);opacity:0}to{transform:scale(1);opacity:1}}.dialog-title{margin:0 0 10px;font-size:15px;font-weight:600;color:#1f2937}.dialog-title-danger{color:#e5484d}.dialog-body{font-size:13px;color:#374151;line-height:1.7;word-break:break-word;white-space:pre-wrap}.dialog-text{margin-bottom:12px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.btn-danger{background:#e5484d;border-color:#e5484d;color:#fff}.btn-danger:hover{background:#d9343a;border-color:#d9343a}.form-row{display:flex;gap:12px}.form-row .form-item{flex:1}.msg{margin-top:12px;font-size:13px;text-align:center}.msg.error{color:#ff4d4f}.msg.success{color:#52c41a}.license-nav-banner{background:#fff7e6;border-bottom:1px solid #ffd591;color:#d46b08;text-align:center;font-size:13px;line-height:1.6;padding:6px 16px}.nav{background:#001529;height:56px;display:flex;align-items:center}.nav .nav-brand{display:flex;align-items:center;flex-shrink:0;padding:0 12px 0 24px}.nav .nav-logo{width:32px;height:32px;flex-shrink:0;display:block}.nav .nav-links{display:flex;align-items:center;gap:24px;flex:1;height:100%;padding-right:24px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-ms-overflow-style:none}.nav .nav-links::-webkit-scrollbar{display:none}.nav .nav-links a{color:#ffffffd9;text-decoration:none;font-size:15px;white-space:nowrap;flex-shrink:0}.nav .nav-links a.active{color:#fff;font-weight:600}.nav .nav-links .spacer{flex:1}.nav .nav-links .logout{color:#ffffffa6;cursor:pointer;font-size:14px;white-space:nowrap;flex-shrink:0}.container{max-width:100%;margin:24px auto;padding:0 16px}.help-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}.help-step{display:flex;gap:14px;align-items:flex-start;background:#fafafa;border:1px solid #f0f0f0;border-radius:8px;padding:16px;min-width:0}.help-step-num{font-size:22px;font-weight:700;color:#1677ff;line-height:1;flex-shrink:0}.help-step-title{font-size:15px;font-weight:600;color:#333;overflow-wrap:break-word}.help-step-target{margin-left:8px;font-size:12px;font-weight:400;color:#1677ff;background:#e6f4ff;border-radius:4px;padding:1px 8px}.help-step-desc{margin-top:6px;font-size:13px;color:#666;line-height:1.6;overflow-wrap:break-word}.help-modules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}.help-module{display:flex;gap:12px;padding:16px;border:1px solid #f0f0f0;border-radius:8px;background:#fff;min-width:0}.help-module-body{min-width:0;flex:1}.help-module-icon{font-size:26px;flex-shrink:0}.help-module-title{font-size:15px;font-weight:600;color:#333;overflow-wrap:break-word}.help-module-desc{margin-top:6px;font-size:13px;color:#666;line-height:1.6;overflow-wrap:break-word}.help-module-tips{margin-top:8px;display:flex;flex-wrap:wrap;gap:6px}.help-tip{font-size:12px;color:#0958d9;background:#f0f5ff;border:1px solid #d6e4ff;border-radius:4px;padding:1px 8px;max-width:100%;overflow-wrap:break-word}.help-faq{border:1px solid #f0f0f0;border-radius:8px;margin-bottom:10px;overflow:hidden}.help-faq-q{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:#fafafa;border:none;font-size:14px;color:#333;cursor:pointer;text-align:left}.help-faq-q:hover{background:#f0f5ff}.help-faq-arrow{color:#999;transition:transform .2s;flex-shrink:0}.help-faq-arrow.open{transform:rotate(180deg)}.help-faq-a{padding:4px 16px 14px;font-size:13px;color:#666;line-height:1.7;border-top:1px solid #f5f5f5}.help-about{font-size:13px;color:#555;line-height:1.8}textarea{width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid #d9d9d9;border-radius:6px;font-size:14px;font-family:inherit;resize:vertical;outline:none}textarea:focus{border-color:#1677ff}.rich-editor{border:1px solid #d9d9d9;border-radius:6px;overflow:hidden;background:#fff}.rich-editor:focus-within{border-color:#1677ff}.rich-toolbar{display:flex;flex-wrap:wrap;gap:2px;padding:6px 8px;border-bottom:1px solid #e8e8e8;background:#fafafa}.rich-btn{min-width:30px;height:28px;padding:0 6px;border:1px solid transparent;border-radius:4px;background:transparent;color:#444;font-size:13px;cursor:pointer;line-height:1;white-space:nowrap}.rich-btn:hover{background:#f0f0f0}.rich-btn.active{background:#e6f4ff;border-color:#91caff;color:#1677ff}.rich-sep{width:1px;height:20px;margin:4px;background:#e0e0e0}.rich-content{padding:10px 12px}.rich-content .tiptap{outline:none;font-size:14px;line-height:1.7;word-break:break-word}.rich-content .tiptap p{margin:0 0 6px}.rich-content .tiptap h2{font-size:18px;margin:10px 0 6px}.rich-content .tiptap h3{font-size:16px;margin:8px 0 6px}.rich-content .tiptap ul,.rich-content .tiptap ol{margin:4px 0;padding-left:22px}.rich-content .tiptap blockquote{margin:6px 0;padding-left:12px;border-left:3px solid #d9d9d9;color:#666}.rich-content .tiptap a{color:#1677ff;text-decoration:underline;cursor:pointer}.rich-content .tiptap p.is-editor-empty:first-child:before{content:attr(data-placeholder);color:#bbb;float:left;height:0;pointer-events:none}.stat-box{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:14px;text-align:center;min-width:0}.stat-grid{display:grid;grid-template-columns:repeat(6,1fr)}.stat-grid-5{display:grid;grid-template-columns:repeat(5,1fr)}.stat-grid-3{display:grid;grid-template-columns:repeat(3,1fr)}.stat-value{font-size:22px;font-weight:600;color:#1677ff}.stat-label{margin-top:4px;font-size:12px;color:#888}.table{width:100%;border-collapse:collapse;font-size:14px}.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}.table-wrap .table{min-width:1080px}.table-wrap .table th:nth-child(1){min-width:170px}.table-wrap .table th:nth-child(2){min-width:100px}.table-wrap .table th:nth-child(3){min-width:60px}.table-wrap .table th:nth-child(4){min-width:120px}.table-wrap .table th:nth-child(5){min-width:180px}.table-wrap .table th:nth-child(6){min-width:90px}.table-wrap .table th:nth-child(7){min-width:100px}.table-wrap .table th:nth-child(8){min-width:90px}.table-wrap .table th:nth-child(9){width:260px;min-width:260px}.table-wrap .table.inbox-table{min-width:850px}.table-wrap .table.inbox-table th:nth-child(1){min-width:160px}.table-wrap .table.inbox-table th:nth-child(2){min-width:240px}.table-wrap .table.inbox-table th:nth-child(3){min-width:140px}.table-wrap .table.inbox-table th:nth-child(4){min-width:120px}.table-wrap .table.inbox-table th:nth-child(5){min-width:100px}.table-wrap .table.inbox-table th:nth-child(6){min-width:90px}.table-wrap .table.sent-table{min-width:1030px}.table-wrap .table.sent-table th:nth-child(1){min-width:140px}.table-wrap .table.sent-table th:nth-child(2){min-width:180px}.table-wrap .table.sent-table th:nth-child(3){min-width:240px}.table-wrap .table.sent-table th:nth-child(4){min-width:80px}.table-wrap .table.sent-table th:nth-child(5){min-width:140px}.table-wrap .table.sent-table th:nth-child(6){min-width:130px}.table-wrap .table.sent-table th:nth-child(7){min-width:120px}.table-wrap .table .inbox-body{max-width:calc(100vw - 96px)}.table th,.table td{border:1px solid #e5e7eb;padding:8px 12px;text-align:left;vertical-align:top}.table th{background:#f9fafb;color:#555}h3{margin:0 0 12px}.form-item-btn{flex:0 0 auto}.form-item-btn .btn{width:auto;padding:10px 28px;white-space:nowrap}.table-wrap .table.prospect-table{min-width:900px}.table-wrap .table.prospect-table th{min-width:auto;width:auto}.table-wrap .table.prospect-table th:first-child{width:36px;min-width:36px}.table-wrap .table.data-source-table{min-width:640px}.table-wrap .table.data-source-table th{min-width:auto;width:auto}.table-wrap .table.profile-table{min-width:860px}.table-wrap .table.profile-table th{min-width:auto;width:auto}.table-wrap .table.profile-table th:first-child{width:90px;min-width:90px}.table-wrap .table.profile-table th:last-child{width:80px;min-width:80px}.table-wrap .table.unsub-table{min-width:640px}.table-wrap .table.unsub-table th{min-width:auto;width:auto}.table-wrap .table.unsub-table th:first-child{min-width:220px}.table-wrap .table.unsub-table th:nth-child(2){width:120px;min-width:120px}.table-wrap .table.unsub-table th:nth-child(3){width:170px;min-width:170px}.table-wrap .table.unsub-table th:last-child{width:90px;min-width:90px}.table-wrap .table.template-table{min-width:720px}.table-wrap .table.template-table th{min-width:auto;width:auto}.table-wrap .table.template-table th:first-child{width:140px;min-width:140px}.table-wrap .table.template-table th:nth-child(2){width:300px;min-width:300px}.table-wrap .table.template-table th:nth-child(3){width:160px;min-width:160px}.table-wrap .table.template-table th:nth-child(4){width:120px;min-width:120px}.table-wrap .table.template-table th:last-child{width:110px;min-width:110px}@media(max-width:1024px){.nav-links{gap:16px}.nav-links a{font-size:14px}}@media(max-width:768px){.nav-links{gap:12px;padding-right:10px}.nav .nav-brand{padding:0 10px}.nav-links .spacer{flex:0 0 8px}.license-nav-banner{font-size:12px;padding:4px 10px}.container{margin:12px auto;padding:0 12px}.card{padding:14px}.form-row{flex-direction:column}.help-steps,.help-modules{grid-template-columns:1fr}.modal-mask{padding:24px 12px}.modal{padding:16px}.filter-input{min-width:0;flex:1}.stat-grid,.stat-grid-5,.stat-grid-3{grid-template-columns:repeat(3,1fr)}.stat-value{font-size:18px}}@media(max-width:480px){.stat-grid,.stat-grid-5,.stat-grid-3{grid-template-columns:repeat(2,1fr)}}
