.fr-profile-distribution {
  border: 1px solid #e5e7eb;
  background: #fafafa;
  padding: 12px;
}

.fr-profile-distribution .fr-profile-section-head {
  margin-bottom: 6px;
}

.fr-profile-distribution-chip.is-published {
  background: rgba(19, 115, 51, 0.12);
  color: #137333;
}

.fr-profile-distribution-chip.is-hidden,
.fr-profile-distribution-chip.is-archived {
  background: rgba(198, 40, 40, 0.1);
  color: #a61b1b;
}

.fr-profile-distribution-chip a {
  color: inherit;
  text-decoration: underline;
}

.fr-profile-location-editor {
  background: #fafafa;
  border: 1px solid #e5e7eb;
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
  padding: 14px;
}

.fr-profile-location-editor .fr-profile-copy {
  margin-bottom: 0;
}

.fr-profile-location-status {
  background: rgba(255, 192, 61, 0.2);
  color: #5c4200;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 8px;
  text-transform: uppercase;
}

.fr-profile-location-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.fr-profile-location-chips span {
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: #374151;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 6px;
  padding: 7px 9px;
}

.fr-profile-location-form {
  display: grid;
  gap: 10px;
}

.fr-profile-location-form textarea {
  min-height: 132px;
}

.fr-profile-select-row {
  align-items: center;
  display: flex;
  gap: 10px;
  margin: 0 0 18px;
}

.fr-profile-select-row select {
  min-height: 44px;
  min-width: min(100%, 340px);
  padding: 9px 12px;
}

.fr-profile-media-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 18px;
}

.fr-profile-media-item {
  align-items: center;
  border: 1px solid rgba(15, 23, 42, 0.1);
  display: grid;
  gap: 10px;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  padding: 12px;
}

.fr-profile-media-icon {
  align-items: center;
  background: rgba(255, 192, 61, 0.18);
  color: #111827;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.fr-profile-media-body {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.fr-profile-media-body strong {
  color: #111827;
}

.fr-profile-media-body span {
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
}

.fr-profile-upload-button {
  align-items: center;
  background: #111827;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 7px;
  justify-content: center;
  min-height: 38px;
  padding: 8px 10px;
}

.fr-profile-upload-button input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.fr-profile-upload-button.is-busy {
  cursor: wait;
  opacity: 0.7;
}

.fr-profile-lead-list {
  display: grid;
  gap: 12px;
}

.fr-profile-lead-card {
  align-items: start;
  border: 1px solid rgba(15, 23, 42, 0.1);
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) 190px;
  padding: 16px;
}

.fr-profile-lead-title {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
}

.fr-profile-lead-title strong {
  color: #111827;
  font-size: 17px;
}

.fr-profile-lead-title span {
  color: #6b7280;
  font-size: 13px;
  font-weight: 800;
}

.fr-profile-lead-status {
  display: grid;
  gap: 7px;
}

.fr-profile-lead-status span {
  color: #374151;
  font-size: 13px;
  font-weight: 800;
}

.fr-profile-lead-status select {
  min-height: 42px;
  padding: 8px 10px;
  width: 100%;
}

.fr-profile-chip-row a {
  background: #f3f4f6;
  color: #374151;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 7px;
  text-decoration: none;
}

@media (max-width: 860px) {
  .fr-profile-media-grid,
  .fr-profile-lead-card {
    grid-template-columns: 1fr;
  }
}
