.capture-preview-drawer .capture-preview-results-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  line-height: 1.5;
}
.capture-preview-drawer .capture-preview-results-heading h4 {
  margin: 0;
}
.capture-preview-drawer .capture-preview-section-heading {
  grid-template-columns: auto minmax(0, 1fr) auto;
  line-height: 1.5;
}
.capture-preview-drawer .capture-preview-template-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.capture-preview-drawer .capture-preview-action-wrap {
  position: relative;
  display: inline-flex;
  flex: none;
  overflow: visible;
  line-height: 1.5;
}
.capture-preview-drawer .capture-preview-action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 28px;
  padding: 2px 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--accent, #1556b4);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
  box-shadow: none;
}
.capture-preview-drawer .capture-preview-action span {
  color: inherit;
  font: inherit;
  line-height: inherit;
}
.capture-preview-drawer .capture-preview-action:hover:not(:disabled) {
  color: var(--accent-hover, #123c84);
  text-decoration: underline;
}
.capture-preview-drawer .capture-preview-action:disabled {
  color: var(--muted);
  opacity: .55;
  cursor: not-allowed;
}
.capture-preview-drawer .capture-preview-action:focus-visible {
  outline: 2px solid var(--accent, #1556b4);
  outline-offset: 3px;
}
.capture-preview-drawer .capture-preview-action-error {
  position: absolute;
  z-index: 2;
  top: 100%;
  right: 0;
  width: max-content;
  max-width: 230px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--danger);
  font-size: 12px;
  line-height: 1.5;
  white-space: normal;
}
.capture-preview-drawer .capture-preview-action-message {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
