/* Outliyr transcript click to seek.
 *
 * Scope: the seek controls only. The transcript container itself (surface,
 * border, text, header) is owned by assets/custom-styles.css, including its
 * dark-theme rules, so one stylesheet decides what the box looks like.
 *
 * The accents here are tokens with light fallbacks, so the buttons and the
 * current-turn highlight follow the theme instead of pinning one brand blue.
 */

.transcript-scrollbox .ts-seek {
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 4px;
	color: var(--link, #112e9c);
	cursor: pointer;
	font: inherit;
	font-variant-numeric: tabular-nums;
	line-height: inherit;
	margin: 0;
	padding: 0 2px;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.transcript-scrollbox .ts-seek:hover {
	background: var(--accent-primary-soft, rgba(17, 46, 156, 0.08));
}

.transcript-scrollbox .ts-seek:focus-visible {
	outline: 2px solid var(--link, #112e9c);
	outline-offset: 2px;
}

/* Current turn. Box-shadow and background only, so nothing reflows. */
.transcript-scrollbox p.is-current {
	background: var(--accent-primary-soft, rgba(17, 46, 156, 0.06));
	border-radius: 6px;
	box-shadow: inset 3px 0 0 0 var(--link, #112e9c);
	transition: background-color 200ms ease;
}

@media (prefers-reduced-motion: reduce) {
	.transcript-scrollbox p.is-current {
		transition: none;
	}
}
