/* Picture CPT. Every picture is decoded in advance and stacked in one box;
   a trial only toggles visibility, so the picture is fully drawn on the
   frame its onset is timed from. No transition. */
/* A white box in both themes, as the published test shows its pictures on
   white; the drawings' dark outlines would vanish on the dark theme's stage. */
.kcpt-stim { position: relative; width: clamp(150px, 46vw, 220px); aspect-ratio: 1; background: #fff; border-radius: 14px; }
.kcpt-pic { position: absolute; inset: 8%; background: center / contain no-repeat; visibility: hidden; pointer-events: none; }
.kcpt-pic.on { visibility: visible; }
.kcpt-say { margin: 0 0 12px; padding: 10px 14px; border-left: 3px solid var(--accent); background: var(--surface-2); border-radius: 0 8px 8px 0; }
.kcpt-say p { margin: 0; font-size: 16px; }
/* One column track for the samples, so both rows start their text at the same x. */
.kcpt-legend { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 8px; }
.kcpt-legend li { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 12px; align-items: center; }
.kcpt-samples { display: flex; gap: 4px; }
.kcpt-samples > span { width: 40px; height: 40px; display: block; background: #fff center / 34px no-repeat; border-radius: 6px; }
.cpt-origin { color: var(--text-soft); font-size: 14px; }
.odak-stage[data-odak-state="running"] .odak-stage-msg { display: none; }
.odak-stage:not([data-odak-state="running"]) .kcpt-stim { display: none; }
