/* ——— Transcripts ———
   A call's words (transcripts/_turns, the canvas's Transcript): each turn at
   the clock time it began, in a column of its own beside the speaker and the
   words; on a narrow sheet the time rides above them. The team corrects a
   turn by clicking its words, which opens the form under them. */
@layer components {
  .transcript {
    padding-block-start: var(--block-space);
  }

  .transcript__turn {
    display: grid;
    grid-template-columns: 4rem minmax(0, 1fr);
    column-gap: var(--inline-space-double);

    @container (width < 30rem) {
      grid-template-columns: minmax(0, 1fr);
    }
  }

  /* The fold itself is accordions.css's; a turn's words read as text. */
  .transcript .transcript__correction > summary {
    cursor: text;
    border-radius: var(--border-radius);

    @media (any-hover: hover) {
      &:hover {
        background-color: var(--color-surface);
      }
    }
  }
}
