.vsr-cite-section {
  margin-top: 0;
}

.vsr-cite-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}

.vsr-cite-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.4em 0.9em;
  font-size: 0.875em;
  line-height: 1.4;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #f8f8f8;
  color: #333;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.vsr-cite-btn:hover {
  background: #e8e8e8;
  border-color: #999;
}

.vsr-cite-btn:disabled {
  opacity: 0.65;
  cursor: default;
}

.vsr-cite-previews {
  display: none;
  margin-top: 0.75em;
}

.vsr-cite-preview-item {
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 0.75em 1em;
}

.vsr-cite-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4em;
  font-size: 0.875em;
}

.vsr-cite-copy-btn {
  font-size: 0.8125em;
  padding: 0.2em 0.6em;
  border: 1px solid #ccc;
  border-radius: 3px;
  background: #fff;
  cursor: pointer;
}

.vsr-cite-copy-btn:hover {
  background: #e8e8e8;
}

.vsr-cite-copy-btn:disabled {
  opacity: 0.65;
  cursor: default;
}

.vsr-cite-preview-text {
  font-size: 0.875em;
  line-height: 1.55;
  color: #333;
}

.vsr-biblatex-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  margin-bottom: 0.5em;
}

.vsr-biblatex-preview {
  background: #f4f4f4;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 1em;
  font-size: 0.8125em;
  line-height: 1.5;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
  max-width: 100%;
}
