/* Original reference behaviour, scoped to lesson templates. */
.reference-template .audio-toolbar{padding:0;border:0;background:transparent;gap:12px}.reference-template .reference-audio-frame{margin-bottom:0}.reference-template .audio-toggle{width:40px;height:40px;min-width:40px;min-height:40px}.reference-template .audio-seek{height:24px;appearance:none;-webkit-appearance:none;background:transparent;touch-action:pan-y}.reference-template .audio-seek::-webkit-slider-runnable-track{height:6px;border-radius:999px;background:linear-gradient(to right,#0ea5e9 var(--played,0%),#e2e8f0 var(--played,0%))}.reference-template .audio-seek::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:20px;height:20px;border-radius:50%;background:#0284c7;border:3px solid white;box-shadow:0 1px 4px #0f172a33;margin-top:-7px}.reference-template .audio-seek::-moz-range-track{height:6px;background:#e2e8f0;border-radius:999px}.reference-template .audio-seek::-moz-range-thumb{width:16px;height:16px;border-radius:50%;background:#0284c7;border:2px solid white}.reference-template .dialogue-row{margin:10px 0;gap:12px}.reference-template .dialogue-row .sentence{min-height:0;padding:0;font-size:14px;line-height:20px}.reference-template .dialogue-row.sentence-selected{border-color:#0284c7;background:#f0f9ff}.reference-template .translation-content{font-size:12px;line-height:16px;margin-top:8px}.reference-template .locked-transcript{display:block}.reference-template .locked-transcript.unlocked{border-color:#6ee7b7;background:#ecfdf580}.reference-template .locked-transcript>.sentence-listen{display:none}.reference-template .source-gallery .activity-figure{margin:0;border:0;border-radius:0}.reference-template .source-gallery{margin-top:0}.reference-template .exercise-card{min-height:66px}.reference-template .shadowing-controls{margin-top:16px}.reference-template .shadowing>.hint:first-of-type{top:16px}.reference-template .shadowing .self-rating{margin-top:0}.reference-template .shadowing .sentence-navigation{margin-top:16px}.reference-template .audio-copy{min-width:0}.reference-template .section-label>.ui-icon{display:none}.reference-template .translation-hint{font-size:10px}.reference-template .speaking-layout{gap:16px}.reference-template .source-heading h2{margin:0}.reference-template .source-heading .source-zoom{min-height:36px;white-space:nowrap}
/* The activity title appears once, in the reference source card. */
.reference-template .reading-sentences{padding:0;margin:0;border:0;background:transparent;white-space:normal}
.app[data-view="lesson"] .lesson-head h1{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
