.crm-page{padding-bottom:90px}.crm-links{font-size:13px}.crm-links a{color:#167a5a;text-decoration:underline;text-underline-offset:3px}
.crm-status{padding:12px 16px;border-radius:14px;border:1px solid #e7baba;background:#fff2f2;color:#8a3333;font-weight:700}
.crm-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin:8px 0 18px}
.crm-tile{display:grid;gap:2px;padding:14px;border:1px solid #dbe7df;border-radius:16px;background:#fff;text-align:right;font:inherit;cursor:pointer;transition:border-color .2s,box-shadow .2s,translate .2s}
.crm-tile b{font-size:24px;color:#0d4f3c;line-height:1.4}.crm-tile span{font-size:12px;color:#5d6f65}.crm-tile.active{border-color:#167a5a;box-shadow:inset 0 -3px #167a5a;background:#f1faf5}
@media(hover:hover){.crm-tile:hover{border-color:#8fc9aa;translate:0 -2px}}
.crm-filters{padding:18px!important;margin-bottom:14px}.crm-filters>*{width:100%}
.crm-filter-row{display:grid;grid-template-columns:1fr 220px;gap:14px}.crm-filter-row .field{margin:0}
.crm-filter-row select{display:block;width:100%;min-height:48px;margin-top:8px;padding:10px;border:1px solid #c9dbd0;border-radius:12px;background:#fff;font:inherit}
.crm-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.crm-chips label{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border:1px solid #d5e4db;border-radius:999px;background:#fff;font-size:12px;font-weight:700;cursor:pointer;color:#244236}
.crm-chips label:has(input:checked){background:#e8f5ee;border-color:#167a5a;color:#0d4f3c}.crm-chips input{accent-color:#167a5a}
.crm-export-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:14px;font-size:13px;color:#4f6259}.crm-spacer{flex:1}
.crm-small{min-height:38px!important;padding:7px 12px!important;font-size:12px!important}
.crm-table-wrap{overflow-x:auto;border:1px solid #dbe7df;border-radius:18px;background:#fff}
.crm-table{width:100%;min-width:980px;border-collapse:collapse;font-size:13px;text-align:right}
.crm-table th{position:sticky;top:0;background:#edf5f0;color:#244437;padding:12px;font-size:12px;white-space:nowrap}
.crm-table td{padding:12px;border-bottom:1px solid #e6efe9;vertical-align:top;color:#26352d}
.crm-table tr.hot td:first-child{box-shadow:inset -4px 0 #e0702c}
.crm-name{font-weight:800}.crm-sub{display:block;font-size:11px;color:#6b7a72;margin-top:2px}
.crm-copy{border:0;background:none;color:#167a5a;font:inherit;cursor:pointer;padding:0;direction:ltr;font-weight:700}.crm-copy:hover{text-decoration:underline}
.crm-pill{display:inline-flex;align-items:center;gap:4px;padding:3px 9px;border-radius:999px;font-size:11px;font-weight:800;border:1px solid #d0d8d3;background:#f4f7f5;color:#526158;white-space:nowrap}
.crm-pill.ok{border-color:#a8d1b9;background:#e8f6ee;color:#0d6b4b}.crm-pill.no{border-color:#e2c6c6;background:#fff5f5;color:#93403b}.crm-pill.hot{border-color:#f0c29e;background:#fff4ea;color:#9a4a12}
.crm-stage{display:inline-block;padding:4px 10px;border-radius:10px;font-size:12px;font-weight:800;background:#eef4f0;color:#315243}
.crm-stage[data-s=customer]{background:#167a5a;color:#fff}.crm-stage[data-s=course_active]{background:#d8f0e3;color:#0d4f3c}.crm-stage[data-s=course_started]{background:#e6f4ec;color:#145a3f}.crm-stage[data-s=assessed]{background:#eef6e3;color:#4a5b18}.crm-stage[data-s=bot_started]{background:#f3f4f2;color:#66766e}
.crm-progress{display:block;width:110px;height:6px;margin-top:6px;border-radius:4px;background:#e3ece6;overflow:hidden}.crm-progress i{display:block;height:100%;background:linear-gradient(90deg,#16815f,#49b98c)}
.crm-reasons{display:block;margin-top:4px;font-size:11px;color:#9a4a12}
.crm-muted{color:#64756c;text-align:center;padding:24px!important}
.crm-pager{display:flex;justify-content:center;gap:8px;margin:16px 0}
.crm-help{margin-top:22px;padding:18px 22px!important}.crm-help ul{line-height:2.2;font-size:13px;padding-inline-start:18px}
.crm-status.ok{border-color:#a8d1b9;background:#e8f6ee;color:#0d5a40}
.crm-h2{font-size:18px;margin:6px 0 10px}
.crm-segs{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-bottom:16px}
.crm-seg{display:grid;gap:2px;padding:14px;border:1px solid #dbe7df;border-radius:16px;background:#fff;text-align:right;font:inherit;cursor:pointer;transition:border-color .2s,box-shadow .2s}
.crm-seg b{font-size:26px;color:#0d4f3c;line-height:1.3}.crm-seg-icon{font-size:20px}.crm-seg-label{font-size:13px;font-weight:800;color:#244236}
.crm-seg.active{border-color:#167a5a;box-shadow:inset 0 -3px #167a5a;background:#f1faf5}
@media(hover:hover){.crm-seg:hover{border-color:#8fc9aa}}
.crm-composer{padding:18px!important;margin-bottom:16px;scroll-margin-top:90px}.crm-composer h2{font-size:17px;margin:0}
.crm-composer-head{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.crm-composer-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:10px}.crm-composer-grid .field{margin:0}
.crm-composer textarea{display:block;width:100%;margin-top:8px;padding:12px;border:1px solid #c9dbd0;border-radius:12px;font:inherit;font-size:14px;line-height:1.9;resize:vertical;min-height:200px}
.crm-preview{margin:6px 0 0;padding:12px 14px;border-radius:14px 14px 4px 14px;background:#e9f6ee;border:1px solid #cfe7d8;white-space:pre-wrap;font:inherit;font-size:14px;line-height:1.9;min-height:200px}
.crm-vars{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:12px}.crm-vars button[data-crm-var]{border:1px solid #cfe0d6;background:#f6faf7;border-radius:999px;padding:5px 10px;font:inherit;font-size:12px;cursor:pointer;color:#1d4a39}
.crm-dna{display:block;font-size:12px;line-height:1.7}.crm-dna.ok{color:#0d6b4b}.crm-dna.no{color:#93403b}
.crm-tag{display:inline-block;margin:0 0 4px 4px;padding:2px 8px;border-radius:999px;background:#f1f5f3;border:1px solid #dde7e1;font-size:11px;color:#3d5248}
.crm-stage[data-seg]{display:block;width:max-content;margin-top:6px}
.crm-stage[data-seg=course_stalled]{background:#fff1e6;color:#9a4a12}.crm-stage[data-seg=purchase_intent]{background:#fff4d6;color:#7a5a00}.crm-stage[data-seg=course_done],.crm-stage[data-seg=customer]{background:#167a5a;color:#fff}.crm-stage[data-seg=dna_no_course]{background:#eef6e3;color:#4a5b18}
.crm-actions{min-width:150px}.crm-actions .btn{display:flex;justify-content:center;width:100%;margin-bottom:6px}
.crm-msg summary{font-size:11px;color:#167a5a;cursor:pointer}.crm-msg pre{white-space:pre-wrap;font:inherit;font-size:12px;line-height:1.8;max-width:280px;background:#f6faf7;border-radius:10px;padding:8px;margin:6px 0 0}
@media(max-width:700px){.crm-filter-row{grid-template-columns:1fr}.crm-export-row .btn{flex:1 1 100%}.crm-composer-grid{grid-template-columns:1fr}}
.crm-send{background:#167a5a!important;color:#fff!important}
.crm-camp{padding:18px!important;margin-bottom:16px;border:2px solid #167a5a}.crm-camp h2{font-size:17px;margin:0 0 6px}.crm-camp h3{font-size:14px;margin:16px 0 8px}.crm-camp-head{margin:8px 0}.crm-camp-acts{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.crm-camp-row{border:1px solid #e1ebe5;border-radius:12px;padding:8px 12px;margin-bottom:6px;background:#fff}.crm-camp-row summary{cursor:pointer}.crm-camp-row pre{white-space:pre-wrap;font:inherit;font-size:13px;line-height:1.9;background:#f6faf7;border-radius:10px;padding:10px;margin:8px 0 0}.crm-camp .crm-filter-row select{display:block;width:100%;min-height:42px;padding:8px;border:1px solid #c9dbd0;border-radius:12px;background:#fff;font:inherit}
