/* V1.0.35 · Designer CRM */
.crm-hero{align-items:flex-end}
.crm-kicker{display:block;font-size:11px;letter-spacing:.16em;color:#6d7885;margin-bottom:6px}
.crm-summary-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:18px 0 24px}
.crm-summary-card{background:rgba(255,255,255,.86);border:1px solid rgba(28,44,60,.09);border-radius:18px;padding:16px 17px;box-shadow:0 10px 28px rgba(21,35,48,.05)}
.crm-summary-card small{display:block;color:#7a838c;font-size:12px}.crm-summary-card b{display:block;font-size:27px;line-height:1.15;margin:5px 0;color:#18293a}.crm-summary-card em{font-size:12px;color:#84909a;font-style:normal}
.crm-filter{display:grid;grid-template-columns:minmax(220px,1fr) 170px 170px auto;gap:10px;align-items:end}.crm-filter .btn{height:44px}
.crm-list{margin-top:16px}.crm-designer-row{display:grid;grid-template-columns:minmax(220px,1.45fr) 110px 115px 90px 120px 105px 105px 96px;gap:12px;align-items:center;padding:15px 8px;border-bottom:1px solid rgba(30,44,58,.08)}.crm-designer-row:last-child{border-bottom:0}
.crm-person{display:flex;align-items:center;gap:12px;min-width:0}.crm-person-avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#eef2f4;color:#30475b;font-weight:700;flex:0 0 auto}.crm-person-copy{min-width:0}.crm-person-copy b,.crm-person-copy small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.crm-person-copy small{color:#7d8791;margin-top:3px}
.crm-stage,.crm-priority,.crm-tier{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:650;white-space:nowrap}.crm-stage{background:#eef3f6;color:#344b5d}.crm-stage.key{background:#e7edf2;color:#152d43}.crm-stage.active{background:#edf5f0;color:#315c46}.crm-stage.dormant,.crm-stage.paused{background:#f3f1ef;color:#776b62}.crm-priority.high{background:#f8ece9;color:#9a4637}.crm-priority.normal{background:#f0f3f5;color:#526270}.crm-priority.low{background:#f4f4f4;color:#7a7a7a}.crm-tier{background:#ecf1f5;color:#2d4558}
.crm-number b{display:block;color:#223648}.crm-number small{display:block;color:#87919a;margin-top:2px}.crm-contact-date.overdue{color:#a54c3a;font-weight:700}.crm-contact-date.today{color:#315a76;font-weight:700}.crm-contact-date small{display:block;color:#8b959e;font-weight:400;margin-top:2px}
.crm-empty{padding:36px;text-align:center;color:#8a949d}
.crm-detail-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.crm-detail-name{display:flex;gap:14px;align-items:center}.crm-detail-avatar{width:60px;height:60px;border-radius:50%;display:grid;place-items:center;background:#e9eef1;font-size:22px;font-weight:700;color:#294257}.crm-detail-name h1{margin:0 0 5px}.crm-detail-name p{margin:0;color:#7b858e}.crm-detail-pills{display:flex;gap:7px;flex-wrap:wrap;margin-top:9px}.crm-detail-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.crm-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.crm-metric{background:rgba(255,255,255,.9);border:1px solid rgba(28,45,61,.08);border-radius:17px;padding:15px}.crm-metric small{color:#808b95}.crm-metric b{display:block;font-size:24px;margin:5px 0;color:#1f3447}.crm-metric em{font-size:12px;color:#8b959e;font-style:normal}
.crm-grid-2{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:16px}.crm-section-card{height:100%}.crm-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.crm-form-grid .full{grid-column:1/-1}.crm-tag-list{display:flex;gap:6px;flex-wrap:wrap}.crm-tag{background:#f0f3f5;color:#4d6274;border-radius:999px;padding:5px 9px;font-size:12px}
.crm-timeline{display:flex;flex-direction:column;gap:12px}.crm-note{position:relative;padding-left:20px}.crm-note:before{content:'';position:absolute;left:3px;top:7px;width:7px;height:7px;border-radius:50%;background:#7b8996}.crm-note:after{content:'';position:absolute;left:6px;top:17px;bottom:-13px;width:1px;background:#d9dfe3}.crm-note:last-child:after{display:none}.crm-note-head{display:flex;justify-content:space-between;gap:10px}.crm-note-head b{font-size:13px}.crm-note-head small{color:#8a949d}.crm-note p{margin:5px 0 3px;line-height:1.65}.crm-note em{font-size:12px;color:#75818b;font-style:normal}
.crm-mini-table{width:100%;border-collapse:collapse}.crm-mini-table th,.crm-mini-table td{text-align:left;padding:10px 8px;border-bottom:1px solid rgba(30,44,58,.08);vertical-align:top}.crm-mini-table th{font-size:12px;color:#7b8791;font-weight:600}.crm-mini-table td{font-size:13px}.crm-mini-table tr:last-child td{border-bottom:0}
.crm-materials{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.crm-material{border:1px solid rgba(30,44,58,.08);border-radius:13px;padding:11px}.crm-material b{display:block}.crm-material small{display:block;color:#87919a;margin-top:3px}.crm-category-bars{display:flex;flex-direction:column;gap:9px}.crm-category-row{display:grid;grid-template-columns:90px 1fr 38px;gap:8px;align-items:center;font-size:12px}.crm-category-track{height:8px;border-radius:999px;background:#eef1f3;overflow:hidden}.crm-category-fill{height:100%;background:#728696;border-radius:999px}
@media(max-width:980px){.crm-summary-grid{grid-template-columns:repeat(3,1fr)}.crm-designer-row{grid-template-columns:minmax(180px,1.5fr) 100px 105px 90px 110px 96px}.crm-designer-row .hide-tablet{display:none}.crm-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.crm-list>.crm-designer-row:first-child{display:none}.crm-summary-grid{grid-template-columns:repeat(2,1fr);gap:9px}.crm-filter{grid-template-columns:1fr 1fr}.crm-filter .search{grid-column:1/-1}.crm-list .crm-designer-row{grid-template-columns:1fr auto;gap:8px 12px;padding:14px 2px}.crm-designer-row>div:not(.crm-person):not(.crm-row-action){display:none}.crm-row-action{display:block}.crm-detail-head{flex-direction:column}.crm-detail-actions{justify-content:flex-start}.crm-metrics{grid-template-columns:repeat(2,1fr);gap:9px}.crm-grid-2{grid-template-columns:1fr}.crm-form-grid{grid-template-columns:1fr}.crm-form-grid .full{grid-column:auto}.crm-materials{grid-template-columns:1fr}.crm-mini-table{display:block;overflow:auto}.crm-summary-card{padding:14px}.crm-summary-card b{font-size:23px}}
