.so-dashboard-new-customers {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-inline-size: 0;
  padding: 8px 9px;
  border-color: var(--so-border, #e2e8f0);
  border-radius: var(--so-radius-card, 12px);
  background: var(--so-surface, #fff);
  color: var(--so-text, #1e293b);
  text-align: start;
  container: so-dashboard-new-customers / inline-size;
}

.so-dashboard-new-customers__header {
  display: flex;
  align-items: center;
  gap: 6px;
  min-block-size: 28px;
  padding-inline: 3px;
}

.so-dashboard-new-customers__heading-icon {
  display: grid;
  place-items: center;
  flex: none;
  inline-size: 23px;
  block-size: 23px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--so-primary, #4354c7) 10%, var(--so-surface, #fff));
  color: var(--so-primary, #4354c7);
}

.so-dashboard-new-customers__title {
  flex: 1;
  min-inline-size: 0;
  margin: 0;
  color: var(--so-text, #1e293b);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: normal;
  overflow-wrap: anywhere;
}

.so-dashboard-new-customers__more {
  display: grid;
  place-items: center;
  flex: none;
  inline-size: 28px;
  block-size: 28px;
  margin-inline-end: -3px;
  padding: 0;
  border: 0;
  border-radius: var(--so-radius-control, 8px);
  background: transparent;
  color: var(--so-primary, #4354c7);
  cursor: pointer;
}

.so-dashboard-new-customers[dir="rtl"] .so-dashboard-new-customers__more svg {
  transform: scaleX(-1);
}

.so-dashboard-new-customers__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.so-dashboard-new-customers__item + .so-dashboard-new-customers__item {
  border-block-start: 1px solid var(--so-border, #e2e8f0);
}

.so-dashboard-new-customers__row {
  display: flex;
  align-items: center;
  gap: 6px;
  inline-size: 100%;
  min-block-size: 39px;
  padding-block: 3px;
  padding-inline: 6px 4px;
  border: 0;
  border-radius: var(--so-radius-control, 8px);
  background: transparent;
  color: inherit;
  text-align: start;
  cursor: pointer;
}

.so-dashboard-new-customers__row:hover,
.so-dashboard-new-customers__more:hover {
  background: color-mix(in srgb, var(--so-primary, #4354c7) 7%, var(--so-surface, #fff));
}

.so-dashboard-new-customers__row:focus-visible,
.so-dashboard-new-customers__more:focus-visible {
  outline: 2px solid var(--so-primary, #4354c7);
  outline-offset: -2px;
}

.so-dashboard-new-customers__identity {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1px;
  min-inline-size: 0;
}

.so-dashboard-new-customers__name,
.so-dashboard-new-customers__source {
  display: block;
  min-inline-size: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.so-dashboard-new-customers__name {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
}

.so-dashboard-new-customers__row[data-unread] .so-dashboard-new-customers__name {
  font-weight: 700;
}

.so-dashboard-new-customers__meta {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--so-muted, #64748b);
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
}

.so-dashboard-new-customers__date {
  flex: none;
}

.so-dashboard-new-customers__status {
  display: grid;
  place-items: center;
  flex: none;
  inline-size: 23px;
  block-size: 23px;
  border-radius: 7px;
}

.so-dashboard-new-customers__status.is-blocked {
  background: #fef2f2;
  color: #b91c1c;
}

.so-dashboard-new-customers__status.is-granted {
  background: #ecfdf5;
  color: #15803d;
}

.so-dashboard-new-customers__message {
  display: grid;
  align-content: center;
  flex: 1;
  min-block-size: 72px;
  margin: 0;
  padding-inline: 6px;
  color: var(--so-muted, #64748b);
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

@container so-dashboard-new-customers (max-width: 164px) {
  .so-dashboard-new-customers__date {
    display: none;
  }
}

@media (max-width: 767px), (max-width: 1023px) and (max-height: 500px) {
  .so-dashboard-new-customers__row {
    min-block-size: var(--so-touch-height, 44px);
  }

  .so-dashboard-new-customers__more {
    inline-size: var(--so-touch-height, 44px);
    block-size: var(--so-touch-height, 44px);
  }
}
