.yas-pd {
  --yas-navy: #13243a;
  --yas-blue: #1f5f99;
  --yas-light: #f3f6f9;
  --yas-border: #d6dee7;
  --yas-text: #1e2935;
  color: var(--yas-text);
  font-family: inherit;
  box-sizing: border-box;
  left: auto;
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
  position: static;
  transform: none;
  width: 100%;
}

.yas-pd__filters {
  align-items: end;
  background: var(--yas-light);
  border: 1px solid var(--yas-border);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(170px, 1fr));
  margin-bottom: 18px;
  padding: 18px;
}

.yas-pd__field--wide { grid-column: span 2; }
.yas-pd__field label { display: block; font-size: 14px; font-weight: 700; }

.yas-pd__field input,
.yas-pd__field select {
  background: #fff;
  border: 1px solid #9baabc;
  border-radius: 4px;
  box-sizing: border-box;
  color: var(--yas-text);
  display: block;
  font: inherit;
  margin-top: 5px;
  min-height: 42px;
  padding: 8px 10px;
  width: 100%;
}

.yas-pd__actions { display: flex; gap: 9px; }

.yas-pd__rostered-toggle {
  align-items: center;
  background: #fff;
  border: 1px solid var(--yas-blue);
  border-radius: 4px;
  box-sizing: border-box;
  color: var(--yas-blue);
  cursor: pointer;
  display: flex;
  font-size: 14px;
  font-weight: 700;
  gap: 9px;
  min-height: 42px;
  padding: 8px 12px;
}

.yas-pd__rostered-toggle input { accent-color: var(--yas-blue); height: 18px; margin: 0; width: 18px; }
.yas-pd__rostered-toggle:has(input:checked) { background: var(--yas-blue); color: #fff; }

.yas-pd__button,
.yas-pd__pagination button {
  background: #fff;
  border: 1px solid var(--yas-blue);
  border-radius: 4px;
  color: var(--yas-blue);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  min-height: 40px;
  padding: 8px 14px;
}

.yas-pd__button--primary,
.yas-pd__pagination button.is-current {
  background: var(--yas-blue);
  color: #fff;
}

.yas-pd__button:hover,
.yas-pd__pagination button:hover:not(:disabled) { background: #e8f1f8; }
.yas-pd__button--primary:hover { background: var(--yas-navy); }
.yas-pd__pagination button:disabled { cursor: default; opacity: .5; }

.yas-pd__status { font-size: 14px; margin: 8px 0; min-height: 22px; }
.yas-pd__status--error { color: #a42424; font-weight: 700; }
.yas-pd.is-loading .yas-pd__results { opacity: .58; }

.yas-pd__results {
  display: grid;
  gap: 18px;
  transition: opacity .15s ease;
}

.yas-pd__prospect {
  background: #fff;
  border: 1px solid var(--yas-border);
  border-radius: 9px;
  box-shadow: 0 3px 14px rgba(19, 36, 58, .08);
  margin: 0;
  overflow: hidden;
}

.yas-pd__prospect-head {
  align-items: baseline;
  background: var(--yas-navy);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
  padding: 15px 20px;
}

.yas-pd__prospect-name { color: inherit; font-size: 23px; line-height: 1.25; margin: 0; }
.yas-pd__prospect-meta { font-size: 15px; font-weight: 700; opacity: .9; }

.yas-pd__metrics {
  background: var(--yas-border);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-width: 0;
  overflow: hidden;
  width: 100%;
}

.yas-pd__metric {
  align-items: center;
  background: #fff;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 92px;
  padding: 12px 8px;
  text-align: center;
}

.yas-pd__metric--highlight { background: #e8f1f8; }
.yas-pd__metric-label { color: #526274; font-size: 12px; font-weight: 700; line-height: 1.2; text-transform: uppercase; }
.yas-pd__metric-value { color: var(--yas-navy); font-size: 20px; line-height: 1.25; margin-top: 6px; }
.yas-pd__metric--highlight .yas-pd__metric-value { color: var(--yas-blue); font-size: 25px; }
.yas-pd__empty { background: var(--yas-light); border: 1px solid var(--yas-border); border-radius: 8px; padding: 30px; text-align: center; }
.yas-pd__pagination { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; margin-top: 16px; }

@media (max-width: 900px) {
  .yas-pd__filters { grid-template-columns: repeat(2, minmax(140px, 1fr)); }
  .yas-pd__actions { align-self: end; }
  .yas-pd__metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .yas-pd__filters { grid-template-columns: 1fr; padding: 14px; }
  .yas-pd__field--wide { grid-column: auto; }
  .yas-pd__actions { flex-direction: column; }
  .yas-pd__metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yas-pd__prospect-head { align-items: flex-start; flex-direction: column; }
}
