.client-photo-editor {
  margin: 20px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
}

.client-photo-editor h4 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 17px;
}

.client-photo-editor > p {
  margin: 0 0 15px;
  color: var(--muted);
  font-size: 13px;
}

.client-photo-layout {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.client-photo-preview {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 22px;
  background: var(--navy);
  color: #fff;
  font-size: 27px;
  font-weight: 850;
}

.client-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-photo-input span {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 750;
}

.client-photo-input small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}

.client-photo-actions {
  display: flex;
  gap: 9px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.client-photo-actions .button {
  min-height: 42px;
  padding: 9px 14px;
  font-size: 13px;
}

.client-photo-message {
  margin: 11px 0 0;
  color: #11665c;
  font-size: 13px;
  font-weight: 700;
}

.client-photo-message.error {
  color: #9f3027;
}

@media (max-width: 520px) {
  .client-photo-layout {
    grid-template-columns: 1fr;
  }

  .client-photo-preview {
    width: 82px;
    height: 82px;
  }

  .client-photo-actions .button {
    width: 100%;
  }
}
