.team-list article {
  grid-template-columns: 30px minmax(0, 1fr) auto 60px 46px;
}

.team-list article[hidden] {
  display: none !important;
}

.team-remove-button {
  height: 27px;
  padding: 0 8px;
  border: 1px solid #efd8d2;
  border-radius: 7px;
  background: #fff8f6;
  color: #b34e3b;
  font-size: 8px;
  font-weight: 750;
}

.team-remove-button:hover {
  border-color: #de9b8d;
  background: #faece8;
  color: #983927;
}

.team-delete-overlay {
  z-index: 90;
  background: #14181572;
}

.team-delete-modal {
  width: min(430px, 94vw);
  padding: 29px;
}

.team-delete-modal h2 {
  margin-top: 10px;
}

.team-delete-description {
  margin: 9px 0 17px;
  color: #71756f;
  font-size: 10px;
  line-height: 1.7;
}

.team-delete-person {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border: 1px solid #ece9e3;
  border-radius: 10px;
  background: #faf9f6;
}

.team-delete-person > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.team-delete-person b {
  font-size: 10px;
}

.team-delete-person small {
  overflow: hidden;
  margin-top: 4px;
  color: #858982;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-delete-jobs {
  margin: 12px 0 0;
  padding: 10px;
  border-radius: 8px;
  background: #fcf1e6;
  color: #8d632f;
  font-size: 9px;
  line-height: 1.6;
}

.team-delete-message {
  min-height: 14px;
  margin: 11px 0 0;
  color: #b24c3a;
  font-size: 9px;
}

.team-delete-modal footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 13px;
  padding-top: 15px;
  border-top: 1px solid #ece9e3;
}

.team-delete-submit {
  background: #b95241;
}

.team-delete-submit:hover {
  background: #a44233;
}

@media (max-width: 640px) {
  .team-list article {
    grid-template-columns: 30px minmax(0, 1fr) auto 44px;
  }

  .team-list article > i {
    display: none;
  }
}
