/*
 * Low-confidence transcript highlights.
 *
 * Applied to spans emitted by `buildAnnotatedDiarized` in the backend
 * (src/services/transcript-merger.ts). Each span wraps a run of
 * consecutive Deepgram words whose acoustic confidence fell below the
 * threshold — typically mumbled speech, unusual proper nouns, or
 * acoustic noise. The `title` attribute carries the run's minimum
 * confidence as a percentage so the browser's native tooltip surfaces
 * the score on hover.
 *
 * Visible only inside .markdown-body (the rendered document-viewer
 * content) so it can't leak onto any other part of the UI that happens
 * to use the same class name.
 */

.markdown-body .low-confidence {
  background-color: rgba(251, 191, 36, 0.28);
  border-bottom: 1px dotted rgba(180, 83, 9, 0.6);
  padding: 0 2px;
  border-radius: 2px;
  cursor: help;
}

.markdown-body .low-confidence:hover {
  background-color: rgba(251, 191, 36, 0.5);
}
