:root {
  color: #282333;
  background: #fff;
  font: 100%/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
  --sample-purple: #512b66;
  --sample-muted: #625a68;
  --sample-line: #ded8e2;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--sample-purple); text-underline-offset: .18em; }
a, button, summary { touch-action: manipulation; }
:focus-visible { outline: 3px solid #89542c; outline-offset: 3px; }
.sample-skip { position: absolute; top: -4rem; left: 1rem; background: white; padding: .5rem; z-index: 1; }
.sample-skip:focus { top: 0; }
.sample-header { min-height: 4rem; padding: .65rem max(1rem, 4vw); display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--sample-line); }
.sample-header>a:last-child { font-size: .94rem; font-weight: 600; }
main { width: min(100%, 51rem); margin: auto; padding: clamp(1.1rem, 3vw, 2.5rem) clamp(1rem, 4vw, 2rem) 3rem; }
.sample-layout { display: grid; gap: 1.15rem; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; color: #38223f; font-weight: 500; line-height: 1.12; }
h1 { font-size: clamp(2.1rem, 5vw, 3.7rem); letter-spacing: -.045em; }
h2 { font-size: 1.55rem; }
.sample-intro { display: grid; gap: .3rem; }
.sample-intro>p:not([class]) { max-width: 64ch; }
.sample-kicker, .speaker { color: var(--sample-purple); font-weight: 650; }
.sample-kicker, .sample-meta { font-size: .9rem; }
.sample-meta, .scene-note { color: var(--sample-muted); }
.transcript-link, .sample-text-button, summary { font-weight: 600; }
.sample-player { min-width: 0; overflow: hidden; border: 1px solid #cec4d3; border-radius: .85rem; background: #fff; }
.player-header { display: flex; justify-content: space-between; align-items: baseline; gap: .45rem; padding: .6rem 1.1rem; border-bottom: 1px solid var(--sample-line); background: #f7f4f8; }
.player-header>span:first-child { color: var(--sample-purple); font-weight: 650; }
.player-header>span:last-child { color: var(--sample-muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
.player-screen { height: clamp(13rem, 34vh, 19rem); padding: 1.15rem; overflow: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.player-screen:focus-visible { outline-offset: -3px; }
.conversation-lines { margin: 0; padding: 0; list-style: none; display: grid; gap: .85rem; }
.conversation-lines li, .sample-report blockquote { width: fit-content; max-width: min(86%, 52ch); margin: 0; padding: .6rem .9rem; background: #f4f3f4; border-radius: .75rem .75rem .75rem .2rem; overflow-wrap: anywhere; }
.conversation-lines .member-line, .sample-report .member-line { background: #f0eaf4; margin-left: auto; border-radius: .75rem .75rem .2rem .75rem; }
.speaker { display: block; font-size: .875rem; margin-bottom: .1rem; }
.player-controls { padding: 0 .85rem .55rem; border-top: 1px solid var(--sample-line); display: flex; flex-wrap: wrap; align-items: center; gap: 0 .75rem; }
.player-timeline { width: 100%; display: flex; padding: .65rem 0 .3rem; }
progress { width: 100%; height: .25rem; border: 0; border-radius: .25rem; overflow: hidden; background: #ece8ee; color: var(--sample-purple); }
progress::-webkit-progress-bar { background: #ece8ee; }
progress::-webkit-progress-value { background: var(--sample-purple); }
progress::-moz-progress-bar { background: var(--sample-purple); }
.control-buttons { display: flex; align-items: center; flex-wrap: wrap; gap: .2rem; }
button, .sample-primary { font: inherit; font-weight: 600; min-height: 2.75rem; padding: .3rem .65rem; border: 0; background: transparent; color: var(--sample-purple); border-radius: .4rem; cursor: pointer; }
button:hover:enabled { background-color: #f4f0f6; }
button:disabled { color: #746e78; cursor: default; }
.control-buttons .sample-primary { background: var(--sample-purple); color: white; min-width: 5.75rem; margin-right: .4rem; }
.control-buttons .sample-primary:hover:enabled { background: #422354; }
.sample-text-button { margin-left: auto; font-size: .9rem; text-decoration: underline; text-underline-offset: .2em; }
.scene-note { font-size: .94rem; margin-top: .75rem; }
.sample-transcript { margin-top: 1rem; padding: .25rem 0; border-bottom: 1px solid var(--sample-line); }
summary { cursor: pointer; width: fit-content; max-width: 100%; padding: .65rem 0; color: var(--sample-purple); min-height: 2.75rem; }
.transcript-body { padding: .7rem 0 1rem; }
.transcript-body>h2 { margin-bottom: 1rem; }
.transcript-body .sample-report { border-top: 1px solid var(--sample-line); padding-top: 1.15rem; margin-top: 1.25rem; }
.sample-report>*+* { margin-top: .65rem; }
.sample-report>p { max-width: 63ch; }
.sample-report h3 { font-size: 1rem; }
.sample-report .focus-quote { margin-left: 0; max-width: 100%; }
.player-screen .sample-report>h2:first-child { font-size: 1.4rem; }
.personal-practice { padding: 1rem 0 0; display: flex; align-items: center; justify-content: space-between; gap: .65rem 1rem; flex-wrap: wrap; }
.personal-practice h2 { font-size: 1.35rem; }
.personal-practice p { max-width: 48ch; }
.personal-practice a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .3rem 0; font-weight: 650; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 36rem) {
  .sample-header { min-height: 3.5rem; gap: .6rem; }
  .sample-header>a:last-child { text-align: right; }
  .sample-layout { gap: .8rem; }
  .player-screen { height: clamp(11rem, 31vh, 15rem); }
  .player-screen, .player-header { padding-left: .75rem; padding-right: .75rem; }
  .conversation-lines li { max-width: 95%; }
  .player-controls { padding-left: .5rem; padding-right: .5rem; }
  .control-buttons .sample-primary { min-width: 4.75rem; margin-right: .2rem; }
  .sample-text-button { padding: .15rem .35rem; margin-left: 0; }
}
