.hero-prompt {
  display: block;
  padding: 7px;
}

.prompt-row {
  display: flex;
  width: 100%;
}

.prompt-row input {
  flex: 1;
}

.reference-upload {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 43px;
  margin: 2px 5px 0;
  padding: 8px 11px 3px;
  border-top: 1px solid #e3e3e3;
  color: #59616a;
  text-align: left;
  transition: .15s ease;
}

.reference-upload.dragging {
  border-color: var(--lime);
  background: rgba(184, 255, 61, .08);
}

.reference-add {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #272d33;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.reference-add span {
  font-size: 17px;
  line-height: 1;
}

.reference-upload > small {
  margin-left: auto;
  color: #838990;
  font-size: 10px;
}

.reference-selection {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.reference-selection img {
  width: 34px;
  height: 34px;
  border-radius: 5px;
  object-fit: cover;
  background: #ddd;
}

.reference-selection > span {
  max-width: 250px;
  overflow: hidden;
  color: #272d33;
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reference-selection button {
  min-height: 0 !important;
  margin: 0 !important;
  padding: 5px 7px !important;
  border: 1px solid #d4d7da !important;
  border-radius: 5px !important;
  background: #fff !important;
  color: #6c3c34 !important;
  font-size: 10px !important;
}


@media (max-width: 560px) {
  .prompt-row {
    display: block;
  }

  .reference-upload {
    margin: 7px 0 0;
    padding: 10px 12px;
    border: 0;
    border-radius: 9px;
    background: #fff;
  }

  .reference-upload > small {
    display: none;
  }

  .reference-selection > span {
    max-width: 145px;
  }
}
