/* Stable inline marks wrap with the actual text; no overlay drawing. */
#transcript-stream [data-mark-kind],#highlight-legend [data-mark-kind]{color:inherit;border:0;border-radius:2px;font-weight:500;box-decoration-break:clone;-webkit-box-decoration-break:clone;outline:0;box-shadow:none;padding:0}
#transcript-stream [data-mark-kind=academic],#highlight-legend [data-mark-kind=academic]{background:#e3eff7}
#transcript-stream [data-mark-kind=difficult],#highlight-legend [data-mark-kind=difficult]{background:transparent;text-decoration:underline;text-decoration-color:#b28b49;text-underline-offset:4px;text-decoration-thickness:1.5px}
#transcript-stream [data-mark-kind=expression],#highlight-legend [data-mark-kind=expression]{background:transparent;text-decoration:underline;text-decoration-color:#6d9784;text-underline-offset:5px;text-decoration-thickness:1.5px}
#transcript-stream .word-token{font:inherit;color:inherit;background:none;border:0;box-shadow:none;padding:0;margin:0;letter-spacing:normal;vertical-align:baseline;min-height:0;display:inline;line-height:inherit}
#transcript-stream .term-phrase,#transcript-stream .expression-phrase,#transcript-stream .expression-token{display:inline;padding:0;line-height:inherit;white-space:normal;overflow-wrap:normal;word-break:normal}
#transcript-stream .term-phrase .word-token,#transcript-stream .expression-phrase .word-token{font-weight:inherit;background:transparent!important;color:inherit!important}
#transcript-stream .expression-access{display:inline;font:inherit;font-size:11px;color:#6d9784;background:none;border:0;padding:0 2px;vertical-align:super;line-height:1;cursor:pointer}
#transcript-stream .term-link,#transcript-stream .expression-translation-link{font:inherit;line-height:inherit;display:inline;padding:0;min-height:0}
#transcript-stream .mark-linked[data-mark-kind]{box-shadow:0 0 0 2px #587f9233}
#transcript-stream button:focus-visible{outline:2px solid #426c87;outline-offset:3px}
#transcript-stream .is-partial:not(.has-learning) [data-mark-kind]{background:transparent;text-decoration:none}
.highlight-legend{display:flex;flex-wrap:wrap;gap:16px 22px;color:#62747c;font-size:12px;line-height:1.8}.highlight-legend span{display:inline-block}
.caption-phase{font-size:11px;color:#8a979f;margin-left:auto}.caption-result-state{font-size:12px;line-height:1.8;color:#7a8890;margin-top:8px}.caption-result-state:empty{display:none}.caption-result-state.needs-review{color:#94713e}.caption-entry-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.caption-retry{font:inherit;font-size:12px;color:#426c87;padding:8px 0;background:none;border:0;text-decoration:underline;text-underline-offset:3px}
body[data-highlight=off] #transcript-stream [data-mark-kind],body[data-highlight=academic] #transcript-stream [data-mark-kind]:not([data-mark-kind=academic]){background:transparent;text-decoration:none;box-shadow:none;font-weight:inherit}
body[data-highlight=off] .highlight-legend{visibility:hidden}body[data-highlight=academic] .highlight-legend [data-mark-kind]:not([data-mark-kind=academic]){opacity:.45}
@media(forced-colors:active){#transcript-stream [data-mark-kind=academic]{text-decoration:underline}}

#transcript-stream .expression-token{background:transparent;color:inherit;border:0;border-radius:0;margin:0;font-weight:inherit}#transcript-stream .expression-token:hover{background:transparent;color:inherit}

#transcript-stream button.expression-phrase{font:inherit;line-height:inherit;letter-spacing:normal;vertical-align:baseline;white-space:normal;max-width:100%;text-align:left;margin:0;padding:0;min-height:0;cursor:pointer}
