.quote-reference {
  padding: 14px;
  margin: 16px 0;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.quote-reference h3 {
  margin: 0;
  font: inherit;
  font-weight: 700;
}

.quote-reference .help {
  margin: 6px 0 12px;
}

.quote-reference-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
}

.quote-reference-actions .button {
  min-height: 44px;
  padding: 9px 14px;
}

.quote-reference-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
}

.quote-reference-preview img {
  flex: 0 0 auto;
  width: 84px;
  height: 74px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
}

.quote-reference-preview figcaption {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.4;
}

#quote-reference-status {
  margin: 8px 0 0;
}

#quote-reference-status:empty {
  margin: 0;
}

.quote-reference-review {
  padding-block: 10px;
  border-block: 1px solid var(--line);
}

.quote-reference-review .quote-reference-preview {
  margin-bottom: 0;
}
