.crm-pipeline-status-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}
.crm-pipeline-status-summary>div{border:2px solid #b8d8d2;border-radius:9px;padding:10px 13px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#fff}
.crm-pipeline-status-summary .selected-record-status{border-color:#14665e;background:#edf9f5}
.crm-pipeline-status-summary .latest-record-status{border-color:#4179ce;background:#f0f6ff}
.crm-pipeline-status-summary span{font-size:11px;text-transform:uppercase;font-weight:700;color:#52655f}
.crm-pipeline-status-summary strong{font-size:14px;overflow-wrap:anywhere}
.crm-pipeline-status-summary b{background:#fff;border:1px solid currentColor;border-radius:999px;padding:3px 9px;font-size:12px}
.pipeline-step.selected{outline:3px solid #155e56;outline-offset:3px;box-shadow:0 0 0 2px #fff inset}
.pipeline-step.current:not(.selected){box-shadow:0 0 0 3px #4179ce inset}
.crm-activity-panel{margin:20px 0;border:1px solid #cbded8;border-radius:9px;padding:14px;background:#fbfefd}
.crm-activity-tabs{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0 14px}
.crm-activity-tabs button{border:1px solid #bdd6cf;border-radius:7px;background:#f4faf8;padding:8px 12px;font-weight:700;cursor:pointer}
.crm-activity-tabs button.active{background:#145d55;color:#fff;border-color:#145d55}
.crm-reminder-count{display:inline-block;margin-left:5px;background:#b42318;color:#fff;border-radius:999px;padding:1px 6px}
.crm-activity-form{display:grid;grid-template-columns:repeat(2,minmax(180px,1fr));gap:9px;padding:13px;border:1px solid #d4e3de;border-radius:7px;background:#fff;margin-bottom:12px}
.crm-activity-form label{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:700}
.crm-activity-form input,.crm-activity-form select,.crm-activity-form textarea{width:100%;box-sizing:border-box;padding:8px;border:1px solid #c5d7d1;border-radius:6px;font:inherit;background:#fff}
.crm-activity-form .crm-activity-details{grid-column:1/-1}
.crm-activity-form button{justify-self:start}
.crm-activity-error{color:#b42318;margin:8px 0;font-weight:700}
.crm-activity-list{max-height:400px;overflow:auto;display:grid;gap:8px}
.crm-activity-entry{background:#fff;border:1px solid #d8e5e0;border-left:4px solid #158b7b;border-radius:6px;padding:9px 11px}
.crm-activity-entry.overdue{border-left-color:#b42318;background:#fff8f7}
.crm-activity-entry-head{display:flex;justify-content:space-between;gap:8px}
.crm-activity-entry-head strong{overflow-wrap:anywhere}
.crm-activity-type{text-transform:capitalize;font-size:11px;font-weight:700;background:#e8f5f2;border-radius:999px;padding:2px 7px}
.crm-activity-meta{font-size:11px;color:#50615d;margin:4px 0;overflow-wrap:anywhere}
.crm-activity-entry p{margin:4px 0 8px;white-space:pre-wrap}
.crm-activity-entry button{font-size:12px;padding:5px 9px}
@media(max-width:700px){.crm-pipeline-status-summary,.crm-activity-form{grid-template-columns:1fr}}
