.pool-performance-widget, .cip-admin {
  --pool-black: #0d1012;
  --pool-ink: #121619;
  --pool-panel: #1d2226;
  --pool-panel-2: #252b30;
  --pool-line: rgba(224, 231, 235, 0.18);
  --pool-line-strong: rgba(224, 231, 235, 0.34);
  --pool-text: #f3f5f6;
  --pool-muted: #b6bec4;
  --pool-cyan: #01cefa;
  --pool-cyan-soft: rgba(1, 206, 250, 0.18);
  --pool-green: #35e58b;
  --pool-red: #ff4f62;
  --pool-amber: #ffb84c;
  --pool-violet: #8f7cff;
  --pool-font: "Montserrat", "Inter", "Segoe UI", sans-serif;
  --pool-sidebar: clamp(320px, 28vw, 430px);
}

.pool-performance-widget { color:var(--pool-text); font-family:var(--pool-font); background:var(--pool-black); padding:24px; box-sizing:border-box; }
.pool-performance-widget *, .cip-admin * { box-sizing:border-box; }
.pool-performance-widget [hidden] { display:none!important; }
.pool-performance-widget button,.pool-performance-widget select { font:inherit; cursor:pointer; }
.pool-performance-widget h2 { color:var(--pool-text); font-size:28px; margin:0 0 12px; }
.pool-performance-widget button:focus-visible,.pool-performance-widget select:focus-visible { outline:2px solid var(--pool-cyan); outline-offset:3px; }
.pool-performance-widget button:disabled { cursor:default; }
.pool-performance-widget table { margin:0; color:var(--pool-text); }
.pool-performance-widget th,.pool-performance-widget td { border:0; }
.pool-performance-widget select { background:var(--pool-panel);color:var(--pool-text);border:1px solid var(--pool-line);padding:9px; }
.cip-admin { color:var(--pool-text);background:var(--pool-black);padding:24px; }
.cip-admin h1,.cip-admin h2 { color:var(--pool-text); }
.cip-admin .nav-tab-wrapper { margin-bottom:24px; }
.cip-admin .pool-primary-action,.cip-admin .pool-secondary-action,.cip-admin .pool-danger-action { background:var(--pool-panel-2);color:var(--pool-text);padding:12px 16px;border:1px solid var(--pool-line-strong);cursor:pointer; }
.cip-admin .pool-primary-action { background:var(--pool-cyan);color:#071014; }
.cip-admin .pool-danger-action { color:#ff8c98; }
.pool-performance-widget .pool-intent-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.pool-performance-widget .pool-intent-card{
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
  border: 1px solid var(--pool-line);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.8rem;
}
.pool-performance-widget .pool-intent-card strong{
  min-width: 0;
}
.pool-performance-widget .pool-intent-card div{
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}
.pool-performance-widget .pool-intent-card div span{
  border: 1px solid var(--pool-line);
  padding: 0.45rem;
  color: var(--pool-muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}
.pool-performance-widget .pool-intent-card--system{
  border-color: rgba(1, 206, 250, 0.42);
}
.pool-performance-widget .pool-row-actions button{
  border: 1px solid transparent;
  background: transparent;
  color: var(--pool-muted);
  padding: 0.55rem 0.7rem;
  font-size: 0.74rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}
.pool-performance-widget .pool-performance h2{
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 520;
  text-transform: uppercase;
}
.pool-performance-widget .pool-person-chip{
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: max-content;
}
.pool-performance-widget .pool-person-chip > span{
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: #f3f5f6;
  color: #0d1012;
  font-size: 0.72rem;
  font-weight: 850;
}
.pool-performance-widget .pool-person-chip em{
  color: var(--pool-muted);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 650;
}
.pool-performance-widget .pool-performance__head{
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.pool-performance-widget .pool-visible-count{
  display: inline-block;
  margin-top: 0.45rem;
  color: var(--pool-muted);
  font-size: 0.82rem;
}
.pool-performance-widget .pool-visible-count strong{
  color: var(--pool-cyan);
}
.pool-performance-widget .pool-performance-sync{
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.38rem;
  color: rgba(238, 242, 244, 0.52);
  font-size: 0.68rem;
}
.pool-performance-widget .pool-performance-sync i{
  color: var(--pool-muted);
  font-size: 0.64rem;
}
.pool-performance-widget .pool-table-tools{
  display: grid;
  justify-items: end;
  gap: 0.65rem;
}
.pool-performance-widget .pool-table-tools select{
  width: auto;
  min-width: 11rem;
  min-height: 2.65rem;
  border: 1px solid var(--pool-line);
  background: #eef2f4;
  color: #101417;
  padding: 0.55rem 0.7rem;
}
.pool-performance-widget .pool-range-filter{
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.pool-performance-widget .pool-range-filter button,
.pool-performance-widget .pool-refresh-button{
  min-height: 2.65rem;
  border: 1px solid var(--pool-line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--pool-muted);
  padding: 0.48rem 0.6rem;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}
.pool-performance-widget .pool-range-filter button.is-active,
.pool-performance-widget .pool-range-filter button:hover,
.pool-performance-widget .pool-refresh-button:hover{
  border-color: var(--pool-cyan);
  color: var(--pool-cyan);
}
.pool-performance-widget .pool-refresh-button{
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}
.pool-performance-widget .pool-refresh-button.is-loading i{
  animation: poolSpin 0.9s linear infinite;
}
.pool-performance-widget .pool-intent-table-wrap{
  overflow: visible;
  border: 1px solid var(--pool-line);
  background: rgba(18, 22, 25, 0.86);
  scrollbar-width: thin;
  scrollbar-color: rgba(1, 206, 250, 0.62) transparent;
}
.pool-performance-widget .pool-intent-table{
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}
.pool-performance-widget .pool-intent-table th,
.pool-performance-widget .pool-intent-table td{
  border-bottom: 1px solid var(--pool-line);
  padding: 0.66rem;
  text-align: left;
  vertical-align: middle;
  overflow: visible;
}
.pool-performance-widget .pool-intent-table th{
  color: var(--pool-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}
.pool-performance-widget .pool-intent-table th button{
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  font-weight: 800;
  text-transform: inherit;
}
.pool-performance-widget .pool-intent-table code{
  display: block;
  margin-top: 0.35rem;
  color: var(--pool-muted);
  background: transparent;
}
.pool-performance-widget .pool-intent-table .pool-person-chip em{
  display: none;
}
.pool-performance-widget .pool-intent-table .pool-person-chip{
  gap: 0;
}
.pool-performance-widget .pool-intent-table th:nth-child(1),
.pool-performance-widget .pool-intent-table td:nth-child(1){
  width: 9rem;
}
.pool-performance-widget .pool-intent-table th:nth-child(1){
  padding-left: 2.21rem;
}
.pool-performance-widget .pool-intent-table th:nth-child(2),
.pool-performance-widget .pool-intent-table td:nth-child(2){
  width: 4.1rem;
}
.pool-performance-widget .pool-intent-table th:nth-child(3),
.pool-performance-widget .pool-intent-table td:nth-child(3){
  width: 3.2rem;
  text-align: center;
}
.pool-performance-widget .pool-intent-table th:nth-child(4),
.pool-performance-widget .pool-intent-table td:nth-child(4){
  width: 8.3rem;
}
.pool-performance-widget .pool-intent-table th:nth-child(5),
.pool-performance-widget .pool-intent-table td:nth-child(5){
  width: 7.2rem;
}
.pool-performance-widget .pool-intent-table th:nth-child(6),
.pool-performance-widget .pool-intent-table td:nth-child(6){
  width: 5rem;
}
.pool-performance-widget .pool-intent-table th:nth-child(7),
.pool-performance-widget .pool-intent-table td:nth-child(7){
  width: 7.4rem;
}
.pool-performance-widget .pool-intent-table th:nth-child(8),
.pool-performance-widget .pool-intent-table td:nth-child(8){
  width: 6.2rem;
}
.pool-performance-widget .pool-intent-table th:nth-child(9),
.pool-performance-widget .pool-intent-table td:nth-child(9){
  width: 10rem;
}
.pool-performance-widget .pool-intent-table td:nth-child(4),
.pool-performance-widget .pool-intent-table td:nth-child(5),
.pool-performance-widget .pool-intent-table td:nth-child(7){
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pool-performance-widget .pool-intent-table tr[data-status="converted"]{
  background: linear-gradient(90deg, rgba(218, 178, 74, 0.18), rgba(218, 178, 74, 0.04) 55%, transparent);
}
.pool-performance-widget .pool-intent-table tr[data-status="spam"],
.pool-performance-widget .pool-intent-table tr[data-status="junk"]{
  background: linear-gradient(90deg, rgba(255, 91, 105, 0.12), rgba(255, 255, 255, 0.02) 55%, transparent);
}
.pool-performance-widget .pool-intent-award{
  display: inline-grid;
  place-items: center;
  width: 1.15rem;
  margin-right: 0.35rem;
  color: transparent;
}
.pool-performance-widget .pool-intent-award[data-award="converted"]{
  color: #ffc53d;
}
.pool-performance-widget .pool-intent-award[data-award="junk"],
.pool-performance-widget .pool-intent-award[data-award="spam"]{
  color: var(--pool-red);
}
.pool-performance-widget .pool-intent-group-toggle{
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin: 0;
  border: 1px solid var(--pool-line-strong);
  background: transparent;
  color: var(--pool-cyan);
  padding: 0.3rem 0.4rem;
  font-size: 0.75rem;
  line-height: 1.1;
  white-space: nowrap;
  font-weight: 800;
}
.pool-performance-widget .pool-intent-time {
  display: grid;
  grid-template-columns: 1.15rem minmax(0, 1fr);
  align-items: center;
  column-gap: .4rem;
  row-gap: .35rem;
}
.pool-performance-widget .pool-intent-time > .pool-intent-award { grid-column: 1; grid-row: 1; margin: 0; }
.pool-performance-widget .pool-intent-time > .pool-hover-tip { grid-column: 2; grid-row: 1; white-space: nowrap; }
.pool-performance-widget .pool-intent-time > .pool-intent-group-toggle { grid-column: 2; justify-self: start; }
.pool-performance-widget .pool-intent-group-chevron {
  display: inline-block;
  width: .45rem; height: .45rem;
  margin: -.2rem .15rem 0 0;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.16s ease;
}
.pool-performance-widget .pool-intent-group-toggle[aria-expanded="true"] .pool-intent-group-chevron{
  transform: translateY(.2rem) rotate(225deg);
}
.pool-performance-widget .pool-intent-group-details td{
  background: rgba(1, 206, 250, 0.035);
  padding: 0.65rem 1rem 0.75rem;
}
.pool-performance-widget .pool-intent-group-details ul{
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pool-performance-widget .pool-intent-group-details li{
  display: grid;
  grid-template-columns: 1rem 8rem minmax(7rem, 0.7fr) minmax(0, 1fr);
  align-items: center;
  gap: 0.5rem;
  color: var(--pool-muted);
  font-size: 0.72rem;
}
.pool-performance-widget .pool-intent-group-details li i,
.pool-performance-widget .pool-intent-group-details li strong{
  color: var(--pool-text);
}
.pool-performance-widget .pool-intent-group-details li em{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-style: normal;
}
.pool-performance-widget .pool-type-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--pool-line);
  color: var(--pool-text);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}
.pool-performance-widget .pool-type-icon{
  width: 2rem;
  height: 2rem;
}
.pool-performance-widget .pool-row-actions{
  display: flex;
  flex-wrap: nowrap;
  gap: 0.28rem;
}
.pool-performance-widget .pool-row-actions button{
  border-color: var(--pool-line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--pool-muted);
  padding: 0.35rem 0.38rem;
  font-size: 0.61rem;
}
.pool-performance-widget .pool-row-actions button:hover,
.pool-performance-widget .pool-row-actions button.is-active{
  border-color: var(--pool-cyan);
  color: var(--pool-cyan);
  background: rgba(1, 206, 250, 0.11);
}
.pool-performance-widget .pool-row-actions button[data-intent-action="junk"].is-active,
.pool-performance-widget .pool-row-actions button[data-intent-action="spam"].is-active{
  border-color: var(--pool-red);
  color: #fff;
  background: rgba(255, 79, 98, 0.24);
}
.pool-performance-widget .pool-row-actions button[data-intent-action="convert"].is-active{
  border-color: #ffc53d;
  color: #ffc53d;
  background: rgba(255, 197, 61, 0.12);
}
.pool-performance-widget .pool-person-filter{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-self: stretch;
  gap: 0.45rem;
  max-width: 100%;
}
.pool-performance-widget .pool-person-filter button{
  border: 1px solid var(--pool-line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--pool-muted);
  padding: 0.32rem;
}
.pool-performance-widget .pool-person-filter button:first-child{
  min-width: 3.2rem;
  padding-inline: 0.6rem;
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}
.pool-performance-widget .pool-person-filter button.is-active,
.pool-performance-widget .pool-person-filter button:hover{
  border-color: var(--pool-cyan);
  color: var(--pool-cyan);
}
.pool-performance-widget .pool-person-filter .pool-person-chip em{
  display: none;
}
.pool-performance-widget .pool-person-filter .pool-person-chip{
  gap: 0;
}
.pool-performance-widget .pool-person-filter--leads{
  grid-column: 2;
  justify-content: flex-end;
  margin-top: -0.25rem;
}
.pool-performance-widget .pool-hover-tip{
  position: relative;
  display: inline-flex;
  max-width: 100%;
  cursor: help;
}
.pool-performance-widget .pool-hover-tip::after{
  display: none;
}
.pool-floating-tip[data-cip-tip]{
  position: fixed;
  z-index: 99999;
  box-sizing: border-box;
  max-width: min(320px, calc(100vw - 24px));
  border: 1px solid #415760;
  border-radius: 4px;
  background: #203440;
  color: #fff;
  font: 13px/1.4 var(--pool-font, "Segoe UI", sans-serif);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  padding: 9px 12px;
  pointer-events: none;
  transform: none;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.pool-performance-widget .pool-page-tip{
  text-decoration: underline;
  text-decoration-color: rgba(1, 206, 250, 0.5);
  text-underline-offset: 0.2rem;
}
.pool-performance-widget .pool-notify-intent{
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--pool-line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--pool-muted);
  padding: 0.42rem 0.48rem;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  width: 6rem;
  min-height: 2.25rem;
  line-height: 1.1;
  text-align: left;
}
.pool-performance-widget .pool-notify-hint { min-width: 0; }
.pool-performance-widget .pool-notify-intent > i { flex: 0 0 auto; }
.pool-performance-widget .pool-notify-actions{
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 100%;
}
.pool-performance-widget .pool-notify-intent span{
  min-width: 0;
  max-width: 6.5em;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.1;
}
.pool-performance-widget .pool-notify-intent:hover,
.pool-performance-widget .pool-notify-intent:focus-visible{
  border-color: var(--pool-cyan);
  color: var(--pool-cyan);
}
.pool-performance-widget .pool-notify-intent:disabled{
  cursor: default;
  opacity: 0.72;
}
.pool-performance-widget .pool-notify-intent[data-notice-status="sent"]{
  border-color: rgba(255, 197, 61, 0.55);
  color: #ffc53d;
}
.pool-performance-widget .pool-notify-intent[data-notice-status="sent"]:disabled:hover,
.pool-performance-widget .pool-notify-intent[data-notice-status="sent"]:disabled:focus-visible{
  border-color: rgba(255, 197, 61, 0.55);
  color: #ffc53d;
  background: rgba(255, 255, 255, 0.035);
}
.pool-performance-widget .pool-notify-intent[data-notice-status="responded"]{
  border-color: rgba(84, 226, 150, 0.62);
  color: #54e296;
  background: rgba(84, 226, 150, 0.08);
}
.pool-performance-widget .pool-notify-intent[data-notice-status="responded"]:disabled:hover,
.pool-performance-widget .pool-notify-intent[data-notice-status="responded"]:disabled:focus-visible{
  border-color: rgba(84, 226, 150, 0.62);
  color: #54e296;
  background: rgba(84, 226, 150, 0.08);
}
.pool-performance-widget .pool-notify-reset{
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(238, 242, 244, 0.18);
  background: rgba(255, 255, 255, 0.025);
  color: var(--pool-muted);
  padding: 0;
}
.pool-performance-widget .pool-notify-reset:hover,
.pool-performance-widget .pool-notify-reset:focus-visible{
  border-color: var(--pool-cyan);
  color: var(--pool-cyan);
  background: rgba(1, 206, 250, 0.1);
}
.pool-performance-widget .pool-lead-filter-panel .pool-person-filter--leads{
  grid-column: auto;
  justify-content: flex-start;
  margin-top: 0;
}
@keyframes poolSpin{
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 980px){.pool-performance-widget .pool-performance__head{
    align-items: stretch;
    flex-direction: column;
  }
.pool-performance-widget .pool-table-tools input,
.pool-performance-widget .pool-table-tools select{
    width: 100%;
  }
.pool-performance-widget .pool-intent-table{
    font-size: 0.78rem;
  }
.pool-performance-widget .pool-intent-table th,
.pool-performance-widget .pool-intent-table td{
    padding: 0.48rem;
  }
}
@media (max-width: 760px){.pool-performance-widget .pool-intent-grid{
    grid-template-columns: 1fr;
  }
.pool-performance-widget .pool-performance__head,
.pool-performance-widget .pool-table-tools{
    align-items: stretch;
    flex-direction: column;
  }
}

.pool-performance-widget .pool-intent-table-wrap { overflow-x:auto; }
.pool-performance-widget .pool-intent-table { min-width:1000px; }
.pool-performance-widget .fa { font-style:normal; }
.pool-performance-widget i.fa-solid::before { font-family:Arial,sans-serif!important;font-weight:normal; }
.pool-performance-widget .fa-phone::before { content:'☎'; }
.pool-performance-widget .fa-envelope::before { content:'✉'; }
.pool-performance-widget .fa-paper-plane::before { content:'➤'; }
.pool-performance-widget .fa-rotate-right::before,.pool-performance-widget .fa-rotate-left::before { content:'↻'; }
.pool-performance-widget .fa-clock-rotate-left::before { content:'◷'; }
.pool-performance-widget .fa-chevron-down::before { content:'⌄'; }
.pool-performance-widget .fa-crown::before { content:'♛'; }
.pool-performance-widget .fa-face-frown::before { content:'☹'; }
[data-performance-status] { margin:0 0 15px;padding:12px;border:1px solid var(--pool-line); }
