.crm-toolbar{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.crm-section{margin:32px 0}.crm-persona-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.crm-persona-card{display:flex;flex-direction:column;gap:12px;text-decoration:none!important;color:var(--ciama-night,#061d2d);border-top:3px solid #087c7b;transition:box-shadow .15s}.crm-persona-card:hover{box-shadow:0 8px 24px #061d2d18}.crm-persona-card h3{margin:0}.crm-persona-card p{margin:0;color:#354f5e}.crm-card-link{margin-top:auto;color:#075e70;font-weight:600}.crm-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.crm-prose{white-space:pre-wrap;overflow-wrap:anywhere}.crm-score-strip{display:flex;gap:32px;flex-wrap:wrap;padding:12px 0}.crm-score-strip>div{display:flex;flex-direction:column;gap:8px}.crm-score-strip strong{font-size:26px;color:#075e70}.crm-score-strip span{font-size:14px;color:#354f5e}.crm-dimension legend{font-weight:700;font-size:20px;padding:0 8px}.crm-dimension legend span{color:#075e70;font-size:14px}.crm-dimension select{white-space:normal;max-width:100%}.crm-assessment-form .ws-panel,.crm-reference-form .ws-panel{margin:0}.crm-assessment-form,.crm-reference-form{gap:24px}.crm-reference-form fieldset{min-width:0}.crm-reference-form details{padding:12px 0}.crm-evidence-history{border-top:1px solid #d3e1e6;margin-top:20px;padding-top:12px}.crm-evidence-history dt{font-weight:600;font-size:14px;margin-top:12px}.crm-evidence-history dd{margin:4px 0 16px;color:#354f5e}.crm-participants{border:1px solid #d3e1e6;border-radius:12px;padding:20px}.crm-participants label{display:flex;align-items:center;gap:10px;padding:8px}.crm-participants input[type=checkbox]{width:20px;min-height:20px;height:20px;flex-shrink:0}.crm-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:24px 0 12px}.crm-kpi{background:#103e70;color:#fff;border-radius:14px;padding:22px;display:flex;flex-direction:column;justify-content:space-between;gap:20px;min-height:140px}.crm-kpi:nth-child(2n){background:#12676a}.crm-kpi:nth-child(3n){background:#4545a9}.crm-kpi span{font-size:13px;line-height:1.5;font-weight:600}.crm-kpi strong{font-size:34px}.crm-channel-stats>span{background:#e8f1f4;border-radius:8px;padding:8px 12px;color:#103e70}.crm-channel-stats strong{margin-left:12px}.crm-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:end;margin:20px 0}.crm-filters label{display:grid;gap:6px;font-size:13px;font-weight:600}.crm-filters input,.crm-filters select{min-width:0;width:100%;min-height:44px;border:1px solid #9fb1ba;background:white;border-radius:8px;padding:8px;font:inherit}.crm-feed{font-size:14px;width:100%;min-width:800px}.crm-feed td{vertical-align:top}.crm-feed td:nth-child(1){min-width:130px}.crm-feed td:nth-child(4){max-width:400px}.crm-feed small{display:block;margin-top:7px;color:#526c7a}.crm-feed-body{font-weight:400;overflow-wrap:anywhere}.crm-pagination{display:flex;justify-content:center;gap:24px;align-items:center;margin-top:24px}.crm-journal{margin-top:24px}.crm-record-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.crm-excluded{padding:16px;border:1px solid #b86b00;background:#fff8eb;border-radius:12px;color:#6c4600}.crm-inline-note{font-size:14px;color:#526c7a}.crm-assessment-form textarea,.crm-reference-form textarea{width:100%}.crm-detail-grid>.ws-panel,.crm-detail-grid>label{min-width:0}.crm-persona-card:focus-visible{outline:3px solid #00a7a5;outline-offset:3px}.crm-reference-form summary,.crm-assessment-form summary{cursor:pointer;padding:12px 0}.crm-assessment-form select{font-size:14px}
@media(max-width:1400px){.crm-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.crm-persona-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.crm-detail-grid,.crm-persona-grid{grid-template-columns:1fr}.crm-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-kpi{padding:16px}.crm-toolbar .ws-button{white-space:normal;text-align:center}.crm-dimension legend{font-size:18px}.crm-score-strip{gap:20px}.crm-record-actions .ws-button{white-space:normal}}
@media(max-width:420px){.crm-filters{grid-template-columns:1fr}.crm-kpis{gap:8px}.crm-kpi{padding:12px}.crm-score-strip strong{font-size:22px}}

.crm-list-evidence{display:block;margin-top:.5rem;font-size:.75rem;line-height:1.5}.crm-list-evidence a{white-space:normal}

/* Work views use the existing CIAMA product palette and typography. */
.crm-work-tabs{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}.crm-work-tabs a{display:flex;gap:14px;align-items:center;justify-content:space-between;padding:14px 18px;border:1px solid #9fb1ba;border-radius:12px;background:#fff;color:#075e70;text-decoration:none;min-height:48px;font-weight:600}.crm-work-tabs a[aria-current=page]{background:#103e70;border-color:#103e70;color:#fff}.crm-work-tabs a:focus-visible{outline:3px solid #00a7a5;outline-offset:3px}.crm-work-tabs strong{font-size:20px}.crm-work-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,.35fr) auto;gap:24px;align-items:center;padding:24px 0;border-top:1px solid #d3e1e6}.crm-work-row>div{min-width:0;overflow-wrap:anywhere}.crm-work-row h2{font-size:19px;margin:0 0 8px}.crm-work-row p{margin:8px 0}.crm-work-label{display:block;font-size:12px;color:#526c7a;margin:8px 0 4px}.crm-work-actions{display:grid;gap:12px}.crm-next-meta{display:flex;gap:16px;flex-wrap:wrap}.crm-next-card .crm-prose{max-height:14em;overflow:auto}.crm-next-card .ws-panel-title{flex-wrap:wrap;gap:12px}.crm-warning{background:#fff8eb;color:#6c4600}.crm-empty{padding:24px 0;color:#526c7a}.crm-score-strip>div{flex:1;min-width:180px}.crm-score-strip small{color:#526c7a;font-size:12px;line-height:1.5;max-width:340px}.crm-score-link{text-decoration:none!important}.crm-score-link:hover{text-decoration:underline!important}.crm-legacy-note{margin-top:20px;padding-top:16px;border-top:1px solid #d3e1e6}.crm-legacy-note summary{cursor:pointer;padding:12px 0;font-weight:600}
@media(max-width:1000px){.crm-work-row{grid-template-columns:minmax(0,1fr) minmax(140px,.5fr)}.crm-work-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center}.crm-work-row>.ws-button{grid-column:1/-1;justify-self:start}}
@media(max-width:600px){.crm-work-tabs{display:grid;grid-template-columns:1fr;width:100%;gap:8px}.crm-work-tabs a{padding:12px}.crm-work-row{grid-template-columns:1fr;gap:12px}.crm-work-actions{flex-direction:column;align-items:stretch}.crm-work-actions a{text-align:center}.crm-next-card .ws-button{white-space:normal;text-align:center}.crm-score-strip>div{min-width:0;flex-basis:100%}.crm-next-meta{flex-direction:column;gap:8px}}

/* Compact pipeline table; the evidence summary opens without changing row height. */
.workspace .crm-score-trigger{display:inline-flex;align-items:center;gap:5px;min-height:44px;white-space:nowrap;color:#075e70}.workspace .crm-score-trigger .ws-crm-score{font-size:14px;font-weight:700;padding:0}.workspace .ws-crm-table th a{display:inline-flex;align-items:center;gap:6px;min-height:32px;text-decoration:none;color:inherit}.workspace .ws-crm-table th a:hover{text-decoration:underline}.workspace .ws-crm-table .ws-crm-date-cell{min-width:112px}.workspace .ws-crm-table th.ws-crm-date-cell{white-space:normal}.crm-table-help{font-size:12px;line-height:1.6;margin-top:14px}.crm-score-dialog{color:#061d2d;background:#fff;border:1px solid #d3e1e6;border-radius:18px;width:min(760px,calc(100vw - 32px));max-height:calc(100vh - 40px);padding:28px;box-shadow:0 24px 80px #061d2d55;overflow:auto}.crm-score-dialog::backdrop{background:#061d2d88}.crm-score-dialog h2{font-size:23px;overflow-wrap:anywhere}.crm-score-dialog [data-score-close]{border:0;border-radius:8px;background:#eff5f8;color:#061d2d;min-width:44px;min-height:44px;font-size:26px;cursor:pointer}.crm-score-dialog .ws-panel-title{display:flex;align-items:start;gap:16px;justify-content:space-between}.crm-score-dialog p{line-height:1.6}.crm-score-dialog .ws-button{white-space:normal;text-align:center}.crm-score-trigger:focus-visible,.ws-crm-table th a:focus-visible{outline:3px solid #00a7a5;outline-offset:2px}@media(max-width:600px){.crm-score-dialog{padding:18px}.crm-score-dialog h2{font-size:20px}}

/* A compact work queue, followed by completed activity history. */
.crm-planned-section,.crm-completed-section{margin:24px 0}.crm-planned-section>.ws-panel-title,.crm-completed-section>.ws-panel-title,.crm-section>.ws-panel-title{display:flex;justify-content:space-between;align-items:start;gap:16px}.crm-planned-section h2,.crm-completed-section h2{margin:0 0 8px}.crm-planned-section>.ws-panel-title p,.crm-completed-section>.ws-panel-title p{font-size:14px;color:#526c7a;margin:0}.crm-filterbar{display:flex;align-items:end;gap:12px;margin:24px 0}.crm-filterbar>label{flex:1;min-width:110px;max-width:260px}.crm-filterbar>.crm-filter-search{flex:1.25}.crm-filterbar label,.crm-period-filter label{display:grid;gap:6px;font-size:12px;font-weight:600;color:#354f5e}.crm-filterbar input,.crm-filterbar select,.crm-period-filter select{min-width:0;width:100%;height:44px;border:1px solid #9fb1ba;background:#fff;border-radius:8px;padding:8px;font:inherit;color:#061d2d}.crm-filterbar .ws-button,.crm-more-filters summary{min-height:44px;white-space:nowrap;padding:10px 14px}.crm-filter-reset{display:flex;align-items:center;min-height:44px;font-size:13px;white-space:nowrap}.crm-more-filters{position:relative;flex-shrink:0}.crm-more-filters summary{cursor:pointer;border:1px solid #9fb1ba;border-radius:8px;font-size:13px;color:#075e70;list-style:none;display:flex;align-items:center;gap:8px}.crm-more-filters summary:before{content:'+';font-size:18px}.crm-more-filters[open] summary:before{content:'−'}.crm-filter-options{position:absolute;right:0;top:calc(100% + 8px);width:280px;max-width:calc(100vw - 64px);padding:20px;display:grid;gap:16px;background:#fff;border:1px solid #d3e1e6;border-radius:12px;box-shadow:0 12px 32px #061d2d22;z-index:5}.crm-activity-table{min-width:1000px;font-size:13px}.crm-activity-table td{padding:12px;vertical-align:middle}.crm-activity-table td:first-child{min-width:130px}.crm-activity-table td:nth-child(2){max-width:250px;min-width:160px}.crm-activity-table time{white-space:nowrap;font-variant-numeric:tabular-nums}.crm-activity-table small{margin-top:3px}.crm-activity-open{display:inline-flex;min-height:44px;align-items:center;font-weight:600}.crm-activity-table .crm-row-actions{white-space:nowrap}.crm-row-actions>.ws-button{margin-left:12px;min-height:40px;padding:8px 12px;font-size:12px}.crm-period-filter{display:flex;align-items:end;gap:12px;margin:16px 0}.crm-period-filter label{min-width:160px}.crm-period-filter .ws-button{min-height:44px}.crm-invitation-templates{border:1px solid #d3e1e6;border-radius:12px;padding:16px}.crm-invitation-templates summary{cursor:pointer;font-weight:600;color:#075e70;min-height:32px}.crm-invitation-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.crm-invitation-grid article{background:#f3f7f8;border-radius:8px;padding:16px}.crm-invitation-grid h3{font-size:16px;margin:0 0 8px}.crm-invitation-grid p{font-size:14px;line-height:1.6}.crm-invitation-grid button{font-size:13px}.crm-invitation-templates[hidden]{display:none}.crm-activity-dialog .crm-prose{padding:20px;background:#f3f7f8;border-radius:12px;line-height:1.7}.crm-filterbar summary:focus-visible,.crm-activity-open:focus-visible{outline:3px solid #00a7a5;outline-offset:2px}
@media(max-width:1100px){.crm-filterbar{flex-wrap:wrap}.crm-filterbar>label{max-width:none;min-width:150px}.crm-filterbar .crm-filter-search{flex-basis:100%}}
@media(max-width:600px){.crm-filterbar>label{flex-basis:100%;min-width:0}.crm-invitation-grid{grid-template-columns:1fr}.crm-more-filters{position:static}.crm-filterbar{position:relative}.crm-filter-options{right:0;top:100%;width:100%;max-width:100%}.crm-planned-section>.ws-panel-title,.crm-completed-section>.ws-panel-title{flex-wrap:wrap}.crm-period-filter{flex-wrap:wrap}.crm-activity-dialog .crm-prose{padding:14px}.crm-invitation-grid .ws-button{white-space:normal}}

/* Secondary CRM destinations stay together on the dashboard. */
.crm-tools{margin:24px 0}
.crm-tools h2{margin:0 0 16px;font-size:20px;line-height:1.4}
.crm-tools-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.workspace .crm-tool{display:flex;align-items:center;gap:12px;min-width:0;padding:16px;border:1px solid #d3e1e6;border-radius:12px;background:#f3f7f8;color:#061d2d;text-decoration:none;transition:background .15s,border-color .15s}
.workspace .crm-tool:hover{background:#e8f1f4;border-color:#075e70}
.workspace .crm-tool:focus-visible{outline:2px solid #00a7a5;outline-offset:3px}
.crm-tool-icon{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;background:#fff;border-radius:8px}
.crm-tool-icon img{display:block}
.crm-tool-copy{display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}
.crm-tool-copy strong{font-size:14px;line-height:1.5}
.crm-tool-copy small{font-size:12px;line-height:1.5;color:#354f5e}
.crm-tool-arrow{margin-left:auto;color:#075e70;flex-shrink:0}
@media(max-width:1200px){.crm-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1000px){.crm-tools-grid{grid-template-columns:1fr}}
@media(max-width:700px){.workspace .crm-tool{padding:12px}}
@media(prefers-reduced-motion:reduce){.workspace .crm-tool{transition:none}}
.crm-form-fields,.crm-form-report{display:grid;gap:22px;min-width:0}.crm-form-footer{display:grid;gap:16px}.crm-form-footer>.ws-muted{margin:0}
