[data-ps-outreach-redundant-badge] {
  display: none !important;
}

.ps-outreach-workspace {
  overflow: hidden;
  border: 1px solid #dbe4ec;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 2px rgb(15 23 42 / 5%);
}

.ps-outreach-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
}

.ps-outreach-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ps-outreach-tab,
.ps-outreach-primary,
.ps-outreach-secondary {
  min-height: 36px;
  border-radius: 7px;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.ps-outreach-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: #64748b;
}

.ps-outreach-tab:hover {
  background: #f8fafc;
  color: #1e293b;
}

.ps-outreach-tab[aria-current="page"] {
  background: #ecfdf5;
  color: #115e59;
}

.ps-outreach-tab-count {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: #0f766e;
}

.ps-outreach-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid #0f766e;
  background: #0f766e;
  color: #fff;
}

.ps-outreach-primary:hover:not(:disabled) {
  border-color: #115e59;
  background: #115e59;
}

.ps-outreach-primary:disabled {
  cursor: not-allowed;
  border-color: #e2e8f0;
  background: #e2e8f0;
  color: #64748b;
}

.ps-outreach-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;
}

.ps-outreach-secondary:hover {
  border-color: #99f6e4;
  background: #f0fdfa;
  color: #115e59;
}

.ps-outreach-compact {
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
}

.ps-outreach-panel {
  min-height: 320px;
  padding: 16px;
  background: #f8fafc;
}

.ps-outreach-view-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.ps-outreach-view-title {
  margin: 0;
  color: #0f172a;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.ps-outreach-view-detail,
.ps-outreach-action-meta,
.ps-outreach-cadence-name span,
.ps-outreach-empty-detail {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}

.ps-outreach-view-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ps-outreach-select {
  min-height: 36px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  background: #fff;
  padding: 0 32px 0 11px;
  color: #334155;
  font: inherit;
  font-size: 14px;
  font-weight: 550;
}

.ps-outreach-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;
}

.ps-outreach-action-list,
.ps-outreach-cadence-table,
.ps-outreach-analytics-table,
.ps-outreach-activity-feed {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  background: #fff;
}

.ps-outreach-action-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) minmax(76px, auto) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
}

.ps-outreach-action-row + .ps-outreach-action-row,
.ps-outreach-cadence-row + .ps-outreach-cadence-row {
  border-top: 1px solid #f1f5f9;
}

.ps-outreach-channel {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 7px;
  background: #f0fdfa;
  color: #0f766e;
  font-size: 12px;
  font-weight: 750;
}

.ps-outreach-action-copy,
.ps-outreach-cadence-name {
  min-width: 0;
}

.ps-outreach-action-title {
  overflow: hidden;
  margin: 0;
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ps-outreach-action-due {
  color: #64748b;
  font-size: 12px;
  text-align: right;
}

.ps-outreach-action-due strong {
  color: #334155;
  font-size: 14px;
}

.ps-outreach-cadence-head,
.ps-outreach-cadence-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px 80px 90px 70px 90px;
  align-items: center;
  gap: 12px;
}

.ps-outreach-cadence-head {
  padding: 8px 14px;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  font-size: 12px;
  font-weight: 650;
}

.ps-outreach-cadence-row {
  padding: 12px 14px;
  color: #475569;
  font-size: 14px;
}

.ps-outreach-cadence-name strong {
  display: block;
  overflow: hidden;
  color: #0f172a;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ps-outreach-cadence-name span {
  display: none;
}

.ps-outreach-status {
  width: fit-content;
  border-radius: 6px;
  background: #ecfdf5;
  padding: 5px 8px;
  color: #115e59;
  font-size: 12px;
  font-weight: 700;
}

.ps-outreach-cadence-actions {
  display: flex;
  justify-content: flex-end;
}

.ps-outreach-empty {
  padding: 48px 20px;
  border: 1px dashed #cbd5e1;
  border-radius: 9px;
  background: #fff;
  text-align: center;
}

.ps-outreach-empty-mark {
  display: grid;
  width: 28px;
  height: 28px;
  margin: 0 auto;
  place-items: center;
  border-radius: 999px;
  background: #ecfdf5;
  color: #0f766e;
  font-size: 14px;
  font-weight: 800;
}

.ps-outreach-empty-title {
  margin: 10px 0 0;
  color: #1e293b;
  font-size: 14px;
  font-weight: 700;
}

.ps-outreach-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.ps-outreach-metric {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
}

.ps-outreach-metric span {
  color: #64748b;
  font-size: 12px;
  font-weight: 650;
}

.ps-outreach-metric strong {
  color: #0f172a;
  font-size: 22px;
  font-weight: 700;
}

.ps-outreach-analytics-table {
  max-height: 470px;
  overflow: auto;
}

.ps-outreach-analytics-table table {
  width: 100%;
}

.ps-outreach-activity-feed {
  padding: 14px;
}

[data-ps-outreach-action] > div:first-child {
  border-bottom: 1px solid #e2e8f0 !important;
  background: #fff !important;
  color: #0f172a !important;
}

[data-ps-outreach-action] > div:first-child p,
[data-ps-outreach-action] > div:first-child h3,
[data-ps-outreach-action] > div:first-child button {
  color: #0f172a !important;
}

[data-ps-outreach-action] > div:first-child button {
  border-color: #cbd5e1 !important;
  background: #fff !important;
}

@media (max-width: 760px) {
  .ps-outreach-header,
  .ps-outreach-view-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .ps-outreach-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ps-outreach-tab {
    min-width: 0;
    padding: 0 6px;
    font-size: 12px;
  }

  .ps-outreach-header > .ps-outreach-primary {
    align-self: flex-start;
  }

  .ps-outreach-view-controls {
    justify-content: space-between;
  }

  .ps-outreach-action-row {
    grid-template-columns: 32px minmax(0, 1fr) auto;
  }

  .ps-outreach-action-due {
    display: none;
  }

  .ps-outreach-action-row > .ps-outreach-secondary {
    grid-column: 2 / -1;
    justify-self: stretch;
  }

  .ps-outreach-cadence-head,
  .ps-outreach-desktop-value {
    display: none;
  }

  .ps-outreach-cadence-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .ps-outreach-cadence-name span {
    display: block;
  }

  .ps-outreach-cadence-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .ps-outreach-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 430px) {
  .ps-outreach-workspace {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .ps-outreach-header,
  .ps-outreach-panel {
    padding-right: 12px;
    padding-left: 12px;
  }

  .ps-outreach-tab-count {
    display: none;
  }

  .ps-outreach-view-controls {
    flex-wrap: wrap;
  }

  .ps-outreach-select,
  .ps-outreach-view-controls .ps-outreach-primary {
    flex: 1 1 140px;
  }
}
