/* Clearpol demo voice component (lane C, demos-v2).
   Ported from Medal 3's voice v1 block on /construction/safety-reports/ (Thu Nov 26 2026):
   styles are the v1 .cpv styles, kept word for word where possible, with two additions:
   the mount spans the demo split at wide width, and transitions are wrapped in a
   prefers-reduced-motion guard. Colors come from the page's own --cp3-* variables. */

.cpd{margin-top:22px}
.cpd[hidden]{display:none}

.cpv{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;margin-top:22px}
.cpv-play{display:inline-flex;align-items:center;gap:10px;height:44px;padding:0 18px 0 6px;border-radius:999px;border:1px solid var(--cp3-hair,#e5e5ee);background:var(--cp3-paper,#fff);color:var(--cp3-ink,#111);font:inherit;font-size:1rem;letter-spacing:-.005em;cursor:pointer}
@media (prefers-reduced-motion: no-preference){
  .cpv-play{transition:border-color .24s var(--cp3-ease,ease)}
}
.cpv-play:hover{border-color:var(--cp3-signal)}
.cpv-play:focus-visible{outline:2px solid var(--cp3-signal);outline-offset:2px}
.cpv-ico{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--cp3-signal);color:#fff;font-size:.78rem}
.cpv.is-on .cpv-ico{background:var(--cp3-indigo)}
.cpv-time{color:var(--cp3-meta);font-variant-numeric:tabular-nums}
.cpv-tx summary{cursor:pointer;color:var(--cp3-meta);font-size:.95rem}
.cpv-tx summary:focus-visible{outline:2px solid var(--cp3-signal);outline-offset:2px}
.cpv-tx p{max-width:34em;margin:.6em 0 0;color:var(--cp3-body);font-size:1rem;line-height:1.5}

/* The component mounts right after the first demo figure. Inside the demo split
   (a two column grid) it takes the full width so it sits under the demo at every
   width; phone width needs nothing extra (flex-wrap above). */
.cpk-split .cpd{grid-column:1/-1}
