.download-contact-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  max-width: 880px;
}
.download-contact-heading > a { white-space: nowrap; padding-top: 7px; }
.download-contact-card { max-width: 880px; }
.download-contact-card fieldset { min-width: 0; }
.download-contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 36px; }
.download-contact-file { display: block; width: 100%; border-radius: 8px; padding: 8px; font-size: 14px; }
.download-contact-file::file-selector-button {
  margin-right: 12px;
  padding: 7px 12px;
  border: 0;
  border-radius: 5px;
  background: #373074;
  color: #e0e7ff;
  cursor: pointer;
}
.download-contact-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 224px;
  height: 224px;
  max-width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  background: #fff;
  color: #64748b;
  text-align: center;
  font-size: 14px;
}
.download-contact-preview img { width: 100%; height: 100%; object-fit: contain; }
.download-contact-preview [hidden] { display: none; }
.download-contact-status { min-height: 24px; margin-top: 24px; color: var(--text-secondary); font-size: 14px; }
.download-contact-status[data-state="error"] { color: #fca5a5; }
.download-contact-status[data-state="success"] { color: #6ee7b7; }
.download-contact-actions { display: flex; justify-content: flex-end; gap: 12px; padding-top: 20px; margin-top: 12px; border-top: 1px solid rgba(255, 255, 255, .1); }
.download-contact-card button:disabled { opacity: .5; cursor: wait; transform: none; box-shadow: none; }
.download-contact-card fieldset:disabled { opacity: .65; }
@media (max-width: 1000px) {
  .download-contact-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .download-contact-heading { flex-direction: column; gap: 12px; }
}
