/* Campaign dashboard: compact icon counters with isolated outcome views. */
.cmp-counter-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:10px 0 12px}.cmp-counter-card{appearance:none;min-width:0;min-height:76px;border:1px solid #d6e0e6;border-radius:11px;padding:8px 5px;display:grid;grid-template-rows:30px auto auto;align-items:center;justify-items:center;gap:3px;color:#314b5c;text-align:center;cursor:pointer;box-shadow:0 1px 2px rgba(15,23,42,.025);overflow:hidden}.cmp-counter-card:hover{filter:brightness(.985)}.cmp-counter-icon{width:30px;height:30px;border-radius:9px;display:grid;place-items:center}.cmp-counter-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.cmp-counter-card strong{font-size:1rem;line-height:1;color:#243c4d}.cmp-counter-label{max-width:100%;font-size:.56rem;font-weight:900;line-height:1.08;color:#657681;text-transform:uppercase;letter-spacing:.012em;white-space:normal;overflow-wrap:anywhere}
.cmp-counter-card[data-cmp-counter-view=stage1]{background:#eef6fb;border-color:#cbdde8}.cmp-counter-card[data-cmp-counter-view=stage1] .cmp-counter-icon{background:#d8eaf5;color:#376b89}
.cmp-counter-card[data-cmp-counter-view=voicemail]{background:#fbf4e5;border-color:#ead9b8}.cmp-counter-card[data-cmp-counter-view=voicemail] .cmp-counter-icon{background:#f3e2bc;color:#8a6533}
.cmp-counter-card[data-cmp-counter-view=no_answer]{background:#faeeee;border-color:#e7c8cb}.cmp-counter-card[data-cmp-counter-view=no_answer] .cmp-counter-icon{background:#f1dadd;color:#8a4f59}
.cmp-counter-card[data-cmp-counter-view=follow_up]{background:#f4f0fa;border-color:#d9cdea}.cmp-counter-card[data-cmp-counter-view=follow_up] .cmp-counter-icon{background:#e5dcf2;color:#65518d}
.cmp-counter-card[data-cmp-counter-view=completed]{background:#edf7f0;border-color:#c9dfcf}.cmp-counter-card[data-cmp-counter-view=completed] .cmp-counter-icon{background:#d8ebde;color:#44725a}
.cmp-stage-list,.cmp-separate-view{border:0;border-radius:0;background:transparent;overflow:visible;margin:7px 0 6px}.cmp-outcome-rows{display:grid;gap:6px}.cmp-outcome-empty{padding:18px 12px;color:#8a969f;font-size:.75rem;text-align:center}.cmp-separate-head{display:flex;align-items:center;gap:13px;padding:10px 11px;border:1px solid #e4eaed;border-radius:9px;background:#f7f9fa;margin-bottom:6px}.cmp-separate-head>div{display:grid;gap:2px}.cmp-separate-head>div>span{font-size:.59rem;font-weight:900;text-transform:uppercase;letter-spacing:.05em;color:#89949c}.cmp-separate-head strong{font-size:.8rem;color:#3b5262}.cmp-separate-head small{font-size:.68rem;color:#84919a}.cmp-view-back{appearance:none;border:1px solid #ccd8df;border-radius:8px;background:#fff;color:#405c6d;min-height:35px;padding:6px 10px;font:inherit;font-size:.69rem;font-weight:900;cursor:pointer;white-space:nowrap}.cmp-view-back:hover{background:#edf3f6}
.cmp-member[data-cmp-stage-status]{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:8px 10px!important;min-height:48px;border:1px solid #e2e8ec!important;border-radius:9px!important;background:#fff!important;box-shadow:0 1px 1px rgba(15,23,42,.02)!important}.cmp-member[data-cmp-stage-status]:hover{background:#fafcfd!important}.cmp-member[data-cmp-stage-status] .cmp-person{min-width:0}.cmp-member[data-cmp-stage-status] .cmp-person strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#243b4c;font-size:.84rem;line-height:1.2}.cmp-member[data-cmp-stage-status] .cmp-person>span,.cmp-member[data-cmp-stage-status] .cmp-person>small,.cmp-member[data-cmp-stage-status] .cmp-status,.cmp-member[data-cmp-stage-status] .cmp-activity{display:none!important}.cmp-member[data-cmp-stage-status] .cmp-actions{display:contents!important}.cmp-member[data-cmp-stage-status] .cmp-actions>.btn{min-height:34px;padding:6px 9px;border-radius:7px;font-size:.66rem;white-space:nowrap}.cmp-member[data-cmp-stage-status] .cmp-update-select{display:block;min-width:116px}.cmp-member[data-cmp-stage-status] .cmp-update-select select{width:100%;height:34px;min-height:34px;border:1px solid #b9c8d1;border-radius:7px;background:#eef3f5;color:#3b5968;padding:5px 24px 5px 8px;font:inherit;font-size:.66rem;font-weight:900;cursor:pointer}.cmp-member[data-cmp-stage-status] .cmp-update-select select:disabled{background:#f2f3f3;border-color:#dde1e3;color:#92999e;cursor:default;opacity:1}.cmp-members[data-cmp-stage-layout=true]{display:block!important}.cmp-member-filters,.cmp-member-filters[hidden],.cmp-stage,.cmp-stage[hidden],.cmp-member-filters label[hidden]{display:none!important}
@media(max-width:760px){.cmp-counter-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}.cmp-counter-card{min-height:68px;padding:5px 2px;border-radius:9px;grid-template-rows:25px auto auto}.cmp-counter-icon{width:25px;height:25px;border-radius:7px}.cmp-counter-icon svg{width:14px;height:14px}.cmp-counter-card strong{font-size:.86rem}.cmp-counter-label{font-size:.46rem;line-height:1.04}.cmp-separate-head{padding:8px}.cmp-member[data-cmp-stage-status]{grid-template-columns:minmax(86px,1fr) 82px 108px;gap:5px;padding:7px 7px!important;min-height:44px}.cmp-member[data-cmp-stage-status] .cmp-person strong{font-size:.76rem}.cmp-member[data-cmp-stage-status] .cmp-actions>.btn{width:82px;min-width:0;min-height:32px;padding:5px 5px;font-size:.59rem}.cmp-member[data-cmp-stage-status] .cmp-update-select{min-width:0;width:108px}.cmp-member[data-cmp-stage-status] .cmp-update-select select{height:32px;min-height:32px;padding:4px 20px 4px 5px;font-size:.58rem}}
@media(max-width:390px){.cmp-counter-grid{gap:3px}.cmp-counter-card{min-height:65px;padding:4px 1px;border-radius:8px}.cmp-counter-icon{width:23px;height:23px}.cmp-counter-card strong{font-size:.8rem}.cmp-counter-label{font-size:.43rem;letter-spacing:0}.cmp-member[data-cmp-stage-status]{grid-template-columns:minmax(72px,1fr) 76px 102px;gap:4px}.cmp-member[data-cmp-stage-status] .cmp-actions>.btn{width:76px;font-size:.56rem}.cmp-member[data-cmp-stage-status] .cmp-update-select{width:102px}.cmp-member[data-cmp-stage-status] .cmp-update-select select{font-size:.55rem}.cmp-separate-head>div>span{display:none}.cmp-view-back{padding:5px 8px;font-size:.64rem}}

/* Persistent selected view: dark fill, white content, double border and a check.
   aria-pressed is set by the existing campaign controller, not by hover/focus. */
.cmp-counter-card{position:relative;border-width:2px}
.cmp-counter-card[data-cmp-counter-view=stage1]{--cmp-selected-bg:#254d68}
.cmp-counter-card[data-cmp-counter-view=voicemail]{--cmp-selected-bg:#745526}
.cmp-counter-card[data-cmp-counter-view=no_answer]{--cmp-selected-bg:#783f4b}
.cmp-counter-card[data-cmp-counter-view=follow_up]{--cmp-selected-bg:#594377}
.cmp-counter-card[data-cmp-counter-view=completed]{--cmp-selected-bg:#315e49}
.cmp-counter-card[data-cmp-counter-view][aria-pressed=true]{background:var(--cmp-selected-bg,#254d68);border-color:var(--cmp-selected-bg,#254d68);color:#fff;box-shadow:inset 0 0 0 2px rgba(255,255,255,.78),0 3px 7px rgba(15,23,42,.2)}
.cmp-counter-card[data-cmp-counter-view][aria-pressed=true]:hover{filter:none}
.cmp-counter-card[data-cmp-counter-view][aria-pressed=true] strong,
.cmp-counter-card[data-cmp-counter-view][aria-pressed=true] .cmp-counter-label{color:#fff;font-weight:900}
.cmp-counter-card[data-cmp-counter-view][aria-pressed=true] .cmp-counter-icon{background:rgba(255,255,255,.16);color:#fff}
.cmp-counter-card[data-cmp-counter-view][aria-pressed=true]::after{content:'\2713';position:absolute;top:5px;right:5px;display:grid;place-items:center;width:14px;height:14px;border-radius:50%;background:#fff;color:var(--cmp-selected-bg,#254d68);font:900 11px/1 Arial,sans-serif;pointer-events:none}
.campaigns-root .cmp-counter-card:focus-visible{outline:3px solid #93b6cf;outline-offset:2px}
@media(max-width:760px){.cmp-counter-card[data-cmp-counter-view][aria-pressed=true]::after{top:4px;right:4px;width:10px;height:10px;font-size:8px}}
@media(forced-colors:active){.cmp-counter-card[data-cmp-counter-view][aria-pressed=true]{outline:3px solid Highlight;outline-offset:-4px}.cmp-counter-card[data-cmp-counter-view][aria-pressed=true] .cmp-counter-label{text-decoration:underline}.cmp-counter-card[data-cmp-counter-view][aria-pressed=true]::after{background:Highlight;color:HighlightText;forced-color-adjust:none}}
