/* Campaign monitoring: a persistent DOM updated from server snapshots. */
dialog.cl-dialog{width:calc(100vw - 24px);max-width:1800px;height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);margin:auto;padding:0;border:1px solid #dce7df;border-radius:18px;background:#f4f7f5;color:#172c25;overflow:hidden;box-shadow:0 24px 90px #0d30273d;animation:none!important}
.cl-dialog::backdrop{background:#0d2a2199;backdrop-filter:blur(4px)}
.cl-dialog [hidden]{display:none!important}
.cl-dialog .icon{width:20px;height:20px;fill:currentColor;stroke:none;flex-shrink:0}
.cl-shell{display:flex;flex-direction:column;height:100%;min-height:0;font-family:var(--sans,Manrope,'Segoe UI',sans-serif);font-variant-numeric:tabular-nums}
.cl-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 28px;background:#fff;border-bottom:1px solid #dfe9e3;flex-shrink:0}
.cl-heading{display:flex;align-items:center;gap:15px;min-width:0}
.cl-heading>div{min-width:0}
.cl-brand-icon{display:grid;place-items:center;width:49px;height:49px;border-radius:14px;background:#e6f3eb;color:#13795b;flex-shrink:0}
.cl-brand-icon .icon{width:28px;height:28px}
.cl-eyebrow{margin:0 0 5px;font-size:9px;line-height:1.5;letter-spacing:.1em;text-transform:uppercase;font-weight:750;color:#658372}
.cl-header h2{font-size:22px;letter-spacing:-.65px;line-height:1.3;margin:0 0 9px;overflow-wrap:anywhere;max-width:700px}
.cl-header-meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:10px;color:#788b80}
.cl-header-right{display:flex;align-items:center;justify-content:flex-end;gap:22px;flex-shrink:0}
.cl-connection-box{display:grid;gap:6px;text-align:right}
.cl-connection-box small{font-size:10px;color:#72877a;white-space:nowrap}
.cl-connection{display:inline-flex;align-items:center;justify-content:flex-end;gap:7px;font-size:11px;font-weight:750;color:#698171}
.cl-connection:before{content:"";width:7px;height:7px;flex-shrink:0;border-radius:50%;background:#96a69b}
.cl-connection[data-state=online]{color:#13795b}
.cl-connection[data-state=online]:before{background:#1d9c6e;box-shadow:0 0 0 4px #1d9c6e12}
.cl-connection[data-state=offline]{color:#b14b3d}
.cl-connection[data-state=offline]:before{background:#b14b3d}
.cl-connection[data-state=suspended]{color:#90691f}
.cl-connection[data-state=suspended]:before{background:#b28737}
.cl-header-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
.cl-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:39px;padding:9px 12px;border:1px solid #d8e6dc;border-radius:9px;background:#fff;color:#315b43;font-family:inherit;font-size:11px;font-weight:750;cursor:pointer;white-space:nowrap;transition:background .16s,border-color .16s,box-shadow .16s}
.cl-button .icon{width:17px;height:17px}
.cl-button:hover{background:#ecf6ee;border-color:#a8cdb5;box-shadow:0 3px 10px #194f3010}
.cl-button:active{background:#dfefe4}
.cl-button:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}
.cl-button.secondary{background:#eef6f0;border-color:#d9e9df;color:#286547}
.cl-button.ghost{background:transparent;border-color:transparent;color:#6a8272}
.cl-button.ghost:hover{background:#ecf5ed}
.cl-button.small{min-height:31px;padding:6px 9px;font-size:10px}
.cl-button:focus-visible,.cl-table-scroll:focus-visible{outline:3px solid #369d78;outline-offset:3px}
.cl-notice{padding:12px 28px;background:#fff2e9;border-bottom:1px solid #f1d5c5;color:#9a5136;font-size:12px;line-height:1.6;flex-shrink:0}
.cl-content{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:24px 28px 30px;scrollbar-width:thin;scrollbar-color:#c0d1c5 transparent}
.cl-overview{padding:23px 26px 19px;background:#e8f1ea;border:1px solid #dce9df;border-radius:16px;margin-bottom:20px}
.cl-overview-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}
.cl-overview h3{font-size:30px;letter-spacing:-1px;line-height:1.3;margin:0 0 6px;font-weight:800;color:#234d35}
.cl-overview h3>span:nth-child(2){font-size:16px;font-weight:550;color:#7a9683;letter-spacing:-.2px;margin:0 4px}
.cl-overview-title p:not(.cl-eyebrow){font-size:11px;color:#6a8574;margin:0}
.cl-service{display:grid;justify-items:end;gap:6px;max-width:360px}
.cl-service small{font-size:10px;color:#6c8473;text-align:right;overflow-wrap:anywhere}
.cl-progress{display:block;width:100%;height:8px;border:none;border-radius:4px;overflow:hidden;background:#cfdfd2;appearance:none}
.cl-progress::-webkit-progress-bar{background:#cfdfd2;border-radius:4px}
.cl-progress::-webkit-progress-value{background:#238359;border-radius:4px}
.cl-progress::-moz-progress-bar{background:#238359;border-radius:4px}
.cl-outcomes{display:flex;flex-wrap:wrap;gap:11px 22px;margin-top:16px}
.cl-outcomes>span{display:inline-flex;align-items:center;gap:6px;color:#66836f;font-size:10px}
.cl-outcomes strong{font-size:11px;color:#2e523a;margin-left:1px;font-weight:800}
.cl-outcomes i{width:6px;height:6px;border-radius:2px;background:#9caf9b}
.cl-outcomes i[data-state=completed]{background:#4a9b68}
.cl-outcomes i[data-state=failed]{background:#bb7464}
.cl-outcomes i[data-state=busy]{background:#b29655}
.cl-outcomes i[data-state=no_answer]{background:#91a3aa}
.cl-outcomes i[data-state=uncertain]{background:#b78f55}
.cl-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:22px}
.cl-metric{min-width:0;padding:18px 20px;background:#fff;border:1px solid #e0e9e2;border-radius:14px}
.cl-metric>div{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:#6d8476}
.cl-metric>div .icon{width:21px;height:21px;color:#71937d}
.cl-metric>strong{display:block;margin-top:10px;font-size:30px;line-height:1.2;font-weight:800;letter-spacing:-1px;color:#204e35}
.cl-metric>small{display:block;font-size:10px;color:#8a9a8d;margin-top:8px}
.cl-columns{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(270px,1fr);align-items:start;gap:20px}
.cl-ivr-host{margin-bottom:22px}
.cl-capacity-panel{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:24px;padding:23px 25px;margin-bottom:22px;border:1px solid #dce7df;border-radius:15px;background:#fff}
.cl-capacity-heading{display:flex;align-items:flex-start;gap:12px}
.cl-capacity-symbol{display:grid;place-items:center;flex-shrink:0;width:39px;height:39px;border-radius:11px;background:#eaf4ee;color:#13795b}
.cl-capacity-symbol .icon{width:22px;height:22px}
.cl-capacity-panel h3{margin:3px 0 7px;font-size:17px;line-height:1.45;letter-spacing:-.3px;color:#244d39}
.cl-capacity-copy{margin:0;max-width:600px;font-size:11px;line-height:1.75;color:#6b8172}
.cl-capacity-status{display:inline-flex;gap:6px;align-items:center;padding:4px 8px;margin-bottom:4px;border-radius:6px;background:#edf3ef;color:#61776a;font-size:9px;font-weight:800}
.cl-capacity-panel[data-state=waiting]{border-color:#e8d9b8;background:linear-gradient(115deg,#fffcf5,#fff 72%)}
.cl-capacity-panel[data-state=waiting] .cl-capacity-status,.cl-capacity-panel[data-state=waiting] .cl-capacity-symbol{background:#fbf0d9;color:#8c681c}
.cl-capacity-panel[data-state=ready] .cl-capacity-status{background:#e8f5ed;color:#13795b}
.cl-capacity-panel[data-state=paused] .cl-capacity-status,.cl-capacity-panel[data-state=stale] .cl-capacity-status{background:#edf1f3;color:#687987}
.cl-capacity-panel[data-state=stale]{background:#f7f9f7;border-style:dashed}
.cl-capacity-facts{display:flex;align-items:flex-start;gap:25px;margin:17px 0 0;padding-left:51px}
.cl-capacity-value{display:grid;gap:3px;flex-shrink:0}
.cl-capacity-value strong{font-size:27px;letter-spacing:-.8px;line-height:1.2;color:#245b3e}
.cl-capacity-value span{font-size:9px;font-weight:650;color:#7a8d7f}
.cl-capacity-agents{margin:0;display:flex;flex-wrap:wrap;gap:8px 15px;padding-top:3px;font-size:10px;line-height:1.6;color:#728477}
.cl-capacity-agents>div{display:flex;gap:5px;align-items:baseline}
.cl-capacity-agents dt,.cl-capacity-agents dd{margin:0}.cl-capacity-agents dd{color:#365d43;font-weight:800}
.cl-capacity-meters{display:grid;align-content:center;gap:14px;border-left:1px solid #e7ede8;padding-left:24px}
.cl-capacity-meter-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:6px;font-size:10px;line-height:1.4;color:#718578}
.cl-capacity-meter-head strong{font-size:11px;color:#365a43;white-space:nowrap}
.cl-capacity-meter meter{display:block;width:100%;height:7px;appearance:none;background:#e8efe9;border:0;border-radius:6px;overflow:hidden}
.cl-capacity-meter meter::-webkit-meter-bar{height:7px;background:#e8efe9;border:0;border-radius:6px}
.cl-capacity-meter meter::-webkit-meter-optimum-value{background:#3b9872;border-radius:6px}
.cl-capacity-meter meter::-moz-meter-bar{background:#3b9872;border-radius:6px}
.cl-capacity-meter[data-full=true] meter::-webkit-meter-optimum-value{background:#b99b54}
.cl-capacity-meter[data-full=true] meter::-moz-meter-bar{background:#b99b54}
.cl-capacity-footnote{grid-column:1/-1;margin:0;padding-top:12px;border-top:1px solid #e8eee9;font-size:9px;line-height:1.7;color:#7c8d80}
.campaign-capacity{margin:15px 0 3px;padding:12px 13px;border:1px solid #dfe9e2;border-radius:10px;background:#f7faf7}
.campaign-capacity-title{display:flex;align-items:center;gap:7px;margin:0;font-size:11px;line-height:1.6;color:#456b52;font-weight:750}
.campaign-capacity-title .icon{width:16px;height:16px;flex-shrink:0}
.campaign-capacity p:not(.campaign-capacity-title){margin:5px 0 0;font-size:10px;line-height:1.7;color:#7b8e7d}
.campaign-capacity[data-state=waiting]{background:#fdf8eb;border-color:#eee2c8}.campaign-capacity[data-state=waiting] .campaign-capacity-title{color:#8b702d}
.campaign-capacity[data-state=stale]{border-style:dashed;background:#f6f8f6}.campaign-capacity[data-state=stale] .campaign-capacity-title{color:#77877a}
@media(max-width:980px){.cl-capacity-panel{gap:20px;padding:21px}.cl-capacity-meters{padding-left:20px}}
@media(max-width:700px){.cl-capacity-panel{grid-template-columns:minmax(0,1fr);gap:17px;padding:17px;margin-bottom:16px}.cl-capacity-panel h3{font-size:15px}.cl-capacity-copy{font-size:10px}.cl-capacity-facts{padding-left:0;gap:19px;margin-top:15px}.cl-capacity-meters{border-left:0;border-top:1px solid #e7ede8;padding:15px 0 0;gap:13px}.cl-capacity-value strong{font-size:25px}.cl-capacity-agents{font-size:9px;gap:7px 12px}.cl-capacity-footnote{font-size:9px;padding-top:10px}}
.cl-badge[data-status^=detection-]{background:#f2f5e8;color:#859458}.cl-badge[data-status=detection-screening],.cl-badge[data-status=detection-machine],.cl-badge[data-status=detection-timeout],.cl-badge[data-status=detection-not_detected]{background:#faf3e2;color:#9b8350}.cl-badge[data-status=detection-error]{background:#fff0eb;color:#a96b56}.cl-table [data-live-cell=detection]{max-width:190px;white-space:normal;line-height:1.55}
.campaign-detection{margin-top:18px;padding:17px;border:1px solid #dce8dc;border-radius:12px;background:#f7faf5}.campaign-detection .check-label{font-size:12px;color:#496c43;font-weight:750}.campaign-detection .check-label input{accent-color:#13795b}.campaign-detection-details{padding-top:16px}.campaign-detection-help{margin:8px 0 0;color:#8b9c7f;font-size:10px;line-height:1.8}.campaign-detection .actions{flex-wrap:wrap;margin:12px 0}.campaign-detection-preview{display:grid;gap:7px;margin:10px 0 16px}.campaign-detection-preview audio{width:100%;max-width:100%;height:36px}.campaign-detection-preview small{font-size:10px;color:#8c9d7f}.campaign-detection-mark{display:flex;align-items:center;gap:7px;margin:8px 0 0;color:#7e916e;font-size:10px;line-height:1.6}.campaign-detection-mark .icon{width:15px;height:15px;flex-shrink:0}.answer-status.tag{white-space:normal;line-height:1.6}
.cl-primary,.cl-secondary{display:grid;gap:20px;min-width:0}
.cl-card{min-width:0;background:#fff;border:1px solid #e0e9e2;border-radius:15px;overflow:hidden}
.cl-card-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px 22px;border-bottom:1px solid #e7ede8}
.cl-card-head h3{font-size:15px;letter-spacing:-.3px;font-weight:800;margin:0;line-height:1.4}
.cl-card-head>.icon{color:#7a9c84}
.cl-count{display:inline-flex;align-items:center;justify-content:center;min-width:25px;min-height:23px;border-radius:7px;padding:2px 7px;margin-left:6px;background:#edf5ee;color:#4c785c;font-size:11px;font-weight:750;vertical-align:middle}
.cl-small-note{font-size:9px;color:#8a9b8e;white-space:nowrap}
.cl-table-scroll{max-height:350px;overflow:auto;scrollbar-width:thin;scrollbar-color:#c2d5c7 transparent;overscroll-behavior:contain}
.cl-table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left;font-size:11px}
.cl-table th{position:sticky;top:0;z-index:1;padding:12px 18px;border-bottom:1px solid #e5ede6;background:#f9fbf8;font-size:9px;letter-spacing:.05em;text-transform:uppercase;font-weight:750;color:#839689}
.cl-table td{padding:14px 18px;border-bottom:1px solid #edf2ed;vertical-align:middle;color:#5c7765}
.cl-table tbody tr:last-child td{border-bottom:0}
.cl-table tbody tr:hover{background:#fbfdfa}
.cl-table td strong{display:block;font-size:11px;line-height:1.5;font-weight:750;color:#32553e}
.cl-table .cl-phone{font-size:12px;letter-spacing:.01em;color:#2a4835}
.cl-table td small{display:block;margin-top:3px;font-size:9px;color:#95a397;line-height:1.4}
.cl-table td time{font-size:10px;color:#819487}
.cl-table [data-live-cell=agent]{max-width:180px;overflow:hidden;text-overflow:ellipsis}
.cl-table .cl-duration{font-size:12px;letter-spacing:.02em}
.cl-pending-table td,.cl-pending-table th{padding-left:21px;padding-right:21px}
.cl-pending-table td:last-child{width:65px;text-align:center;color:#6d8975;font-weight:700}
.cl-badge{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:5px 8px;border-radius:6px;background:#eff3ee;color:#7f9082;font-size:9px;font-weight:750;white-space:nowrap;line-height:1.4}
.cl-badge[data-status=running],.cl-badge[data-status=online],.cl-badge[data-status=bridged]{background:#e8f5eb;color:#30774a}
.cl-badge[data-status=answered],.cl-badge[data-status=dialing],.cl-badge[data-status=ringing],.cl-badge[data-status=queued]{background:#edf3f7;color:#577e92}
.cl-badge[data-status=paused],.cl-badge[data-status=reserved],.cl-badge[data-status=busy],.cl-badge[data-status=uncertain]{background:#fbf3df;color:#9b7e32}
.cl-badge[data-status=failed],.cl-badge[data-status=offline]{background:#fff0eb;color:#a96b56}
.cl-badge[data-status=completed]{background:#edf4ed;color:#6b8c6c}
.cl-badge[data-status=no_answer]{background:#f0f2f3;color:#849296}
.cl-table-note,.cl-section-note{font-size:10px;line-height:1.75;color:#91a093;padding:14px 21px;margin:0}
.cl-table-note{border-top:1px solid #edf2ed;background:#fcfdfb}
.cl-empty{display:grid;justify-items:center;gap:9px;padding:35px 24px;color:#91a58f;text-align:center}
.cl-empty>.icon{width:33px;height:33px;background:#f0f7ee;color:#8ba88d;padding:7px;border-radius:11px;box-sizing:content-box;margin-bottom:2px}
.cl-empty strong{font-size:12px;font-weight:700;color:#65806a}
.cl-empty p{font-size:11px;line-height:1.7;color:#92a08f;margin:0;max-width:350px}
.cl-empty.compact{padding:25px 20px}
.cl-empty.compact>.icon{width:27px;height:27px;padding:6px}
.cl-feed-scroll{max-height:330px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c6d6c7 transparent}
.cl-event-list{list-style:none;padding:0;margin:0}
.cl-event-list li{display:flex;align-items:flex-start;gap:10px;padding:13px 21px;border-top:1px solid #f0f3ed}
.cl-event-icon{display:grid;place-items:center;width:28px;height:28px;flex-shrink:0;border-radius:8px;background:#f0f6ed;color:#7ca478}
.cl-event-icon .icon{width:16px;height:16px}
.cl-event-list li[data-kind=warning] .cl-event-icon{background:#fbf1df;color:#b48e3f}
.cl-event-list li[data-kind=recovery] .cl-event-icon{background:#e6f5e9;color:#48966a}
.cl-event-list p{font-size:10px;line-height:1.75;color:#68846c;margin:0;overflow-wrap:anywhere}
.cl-event-list time{display:block;font-size:9px;color:#a1ac9e;margin-top:3px}
.cl-feed-empty{padding:4px 21px 22px;margin:0;font-size:10px;line-height:1.7;color:#94a28e}
.cl-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:42px;flex-shrink:0;padding:11px 28px;border-top:1px solid #dee8df;background:#fff;color:#8b9c8b;font-size:9px;line-height:1.5}
.cl-footer>span{display:flex;align-items:center;gap:7px}
.cl-footer .icon{width:14px;height:14px;color:#8fa68e}
.cl-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1250px){.cl-header{gap:18px;padding:19px 22px}.cl-header h2{font-size:19px}.cl-header-right{gap:13px;flex-direction:column;align-items:flex-end}.cl-connection-box{display:flex;gap:13px;align-items:center}.cl-content{padding:20px 22px 26px}.cl-columns{grid-template-columns:minmax(0,1.65fr) minmax(255px,1fr);gap:17px}.cl-primary,.cl-secondary{gap:17px}.cl-card-head{padding:18px}.cl-metrics{gap:12px}.cl-metric{padding:17px}.cl-table th,.cl-table td{padding-left:15px;padding-right:15px}.cl-small-note{display:none}.cl-table-scroll{max-height:320px}}
@media(max-width:980px){.cl-columns{grid-template-columns:minmax(0,1fr)}.cl-secondary{grid-template-columns:1fr 1fr;align-items:start}.cl-header h2{max-width:480px}.cl-header-actions{gap:4px}.cl-button{font-size:10px;padding:8px 10px}.cl-metrics{gap:10px}.cl-metric>div{font-size:10px}.cl-metric>strong{font-size:28px}.cl-footer{padding:10px 22px}}
@media(max-width:700px){dialog.cl-dialog{width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0}.cl-header{align-items:flex-start;flex-direction:column;gap:15px;padding:17px 16px}.cl-heading{gap:11px;width:100%}.cl-brand-icon{width:40px;height:40px;border-radius:12px}.cl-brand-icon .icon{width:24px;height:24px}.cl-header h2{font-size:19px;max-width:none;margin-bottom:7px}.cl-header-right{width:100%;align-items:stretch;gap:10px;flex-direction:column}.cl-connection-box{justify-content:space-between;gap:7px}.cl-connection{font-size:10px;justify-content:flex-start}.cl-connection-box small{font-size:9px}.cl-header-actions{justify-content:flex-end;gap:5px}.cl-header-actions .cl-button{min-height:36px}.cl-header-actions [data-live-action=pause]{margin-right:auto}.cl-content{padding:16px 13px 22px}.cl-overview{padding:18px 17px 16px;border-radius:13px;margin-bottom:15px}.cl-overview-title{align-items:flex-start;gap:12px;margin-bottom:16px}.cl-overview h3{font-size:25px}.cl-overview h3>span:nth-child(2){font-size:13px}.cl-overview-title p:not(.cl-eyebrow){font-size:10px;max-width:170px}.cl-service{max-width:170px;gap:5px}.cl-service small{font-size:8px}.cl-service .cl-badge{font-size:8px;white-space:normal;text-align:center}.cl-outcomes{gap:9px 16px}.cl-outcomes>span{font-size:9px}.cl-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:16px}.cl-metric{padding:16px;border-radius:12px}.cl-metric>strong{font-size:27px}.cl-metric>small{font-size:9px;line-height:1.6}.cl-columns,.cl-primary,.cl-secondary{gap:16px}.cl-secondary{grid-template-columns:minmax(0,1fr)}.cl-card{border-radius:13px}.cl-card-head{padding:17px 18px}.cl-card-head h3{font-size:14px}.cl-table{min-width:570px}.cl-pending-table{min-width:0}.cl-table-scroll{max-height:300px}.cl-table-note,.cl-section-note{font-size:9px;padding:12px 18px}.cl-feed-scroll{max-height:280px}.cl-footer{padding:9px 15px;font-size:8px;gap:8px}.cl-footer>span:last-child{display:none}.cl-notice{font-size:11px;padding:11px 16px}}
@media(prefers-reduced-motion:reduce){.cl-dialog *{animation:none!important;transition:none!important}}
