.proof {
  --surface: #191623;
  --quiet: #b3aabd;
  --lilac: #d6c2ed;
  --rule: #c5b4dc39;
  color: #eee9f3; color-scheme: dark; overflow: clip;
  background: linear-gradient(#101017, #191623 22%, #191623 90%, #181521);
}
.proof-inner { padding-block: var(--section-space); }
.proof-head { display: flex; align-items: end; justify-content: space-between; gap: 2.5rem; }
.proof-head h2 { font: 500 clamp(3.1rem, 5.85vw, 5.9rem)/1.01 "Avenir Next", var(--sans); letter-spacing: -.075em; }
.proof-head h2 em { font: italic 400 1.055em/.98 var(--serif); letter-spacing: -.07em; color: #e4d4ee; }
.proof-head > p { flex: 0 1 29ch; margin-bottom: .25em; font-size: clamp(.98rem, 1.22vw, 1.12rem); line-height: 1.46; color: var(--quiet); }

.sound-desk { margin-block: var(--group-space) 0; }
.scrubber { display: block; width: 100%; position: relative; cursor: ew-resize; }
.spectral-track { display: block; position: relative; overflow: hidden; height: clamp(7.1rem, 11.7vw, 11.4rem); }
.voice-relief { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.scrubber input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: ew-resize; }
.scrubber:focus-within { outline: 2px solid #ceb1e6; outline-offset: 4px; }
.transport { display: flex; align-items: center; gap: .9rem; padding-block: 1rem; border-block: 1px solid var(--rule); }
.sound-toggle {
  display: inline-flex; align-items: center; gap: .52rem; border: 1px solid #dbc5f04a;
  border-radius: 99px; padding: .48rem .82rem; min-height: 2.5rem;
  background: #c6addd12; color: #eee9f3; font: 550 .9rem/1.15 var(--sans); cursor: pointer;
}
.sound-toggle:hover, .sound-toggle:focus-visible { border-color: #dac4eead; background: #c6addd26; }
.sound-desk[data-player-state="blocked"] .sound-toggle { color: #271f31; background: #e4d5ef; }
.sound-icon { flex: none; }
.sound-icon .pause-shape, .sound-toggle[data-playing] .speaker-shape { display: none; }
.sound-toggle[data-playing] .pause-shape { display: block; }
.take-title { color: #c5baca; font-size: .92rem; letter-spacing: -.013em; }
.readout { display: flex; align-items: center; gap: .55em; margin-left: auto; color: var(--quiet); font: 500 .85rem/1 ui-monospace, monospace; font-variant-numeric: tabular-nums; }
.readout [data-elapsed] { color: #f2e8fc; }
.timeslash { color: #817589; }
.audio-message:not(:empty) { display: block; margin-top: .5rem; color: var(--quiet); font-size: .9rem; }

.proof-spread { position: relative; display: grid; grid-template-columns: minmax(0,1.52fr) minmax(0,1fr); gap: clamp(3.1rem, 9.7vw, 10rem); margin-top: var(--group-space); }
.folio-label { color: #c5b9d2; display: flex; align-items: center; gap: .55rem; min-height: 1.5rem; font: 550 .86rem/1.25 var(--sans); }
.folio-label img { width: 1.16rem; opacity: .92; }
.transcript-lines { display: grid; gap: clamp(.9rem, 1.45vw, 1.4rem); padding-top: 1.6rem; }
.transcript-lines button {
  display: block; width: fit-content; max-width: 100%; padding: .025em 0 .09em;
  border: 0; border-radius: 0; text-align: left; text-wrap: balance; position: relative; cursor: pointer;
  background: transparent; color: #a59aaa; font: 400 clamp(1.53rem, 2.48vw, 2.65rem)/1.12 var(--serif); letter-spacing: -.032em;
}
.transcript-lines button:is(:hover,:focus-visible), .transcript-lines button[aria-pressed="true"] { color: #f2e5fa; }
.transcript-lines button[aria-pressed="true"]::before { content: ""; position: absolute; top: .37em; bottom: .35em; left: -.39em; width: 2px; border-radius: 2px; background: #ceace7; }
.transcript-lines button .read-word { text-decoration: underline; text-decoration-color: #a792b8; text-decoration-thickness: 1px; text-underline-offset: .16em; }
.ink-thread { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; filter: brightness(1.36); }
.marginalia { min-width: 0; align-self: start; }
.margin-copy { padding-top: 1.6rem; }
.proof[data-enhanced] .margin-copy { display: grid; }
.proof[data-enhanced] .annotation { grid-area: 1 / 1; align-self: start; }
.proof[data-enhanced] .annotation[hidden] { display: block !important; visibility: hidden; pointer-events: none; }
.annotation h3 { margin: 0; color: var(--lilac); font: italic 400 clamp(1.6rem, 2.65vw, 2.62rem)/1.08 var(--serif); letter-spacing: -.048em; }
.annotation p { margin-top: .55rem; max-width: 40ch; color: #cdc3d5; font: 400 clamp(.96rem, 1.23vw, 1.1rem)/1.47 var(--sans); }
.annotation blockquote { margin: .58rem 0 0; color: #e2ceee; font: italic 400 clamp(1.12rem, 1.55vw, 1.45rem)/1.18 var(--serif); }
.annotation blockquote { quotes: "„" "“"; }
.annotation blockquote:lang(en) { quotes: "“" "”"; }
.annotation blockquote::before { content: open-quote; }
.annotation blockquote::after { content: close-quote; }
.margin-points { list-style: none; padding: 0; margin: 1.1rem 0 0; border-top: 1px solid var(--rule); }
.margin-points li { display: flex; gap: .65rem; align-items: baseline; padding: .47rem 0; border-bottom: 1px solid var(--rule); color: #ded6e4; font: 450 clamp(.91rem, 1.1vw, 1rem)/1.32 var(--sans); }
.note-mark { display: inline-block; position: relative; flex: none; width: .77em; height: .77em; border-radius: 100%; border: 1.2px solid #a296ad; }
[data-done] .note-mark { border-color: transparent; }
[data-done] .note-mark::after { display: block; content: ""; width: .4em; height: .72em; margin: -.12em 0 0 .08em; border: solid #d4bbeb; border-width: 0 1.8px 1.8px 0; transform: rotate(42deg); }
[data-done] .note-mark + span { text-decoration: line-through; color: #a99db2; text-decoration-color: #9987a6; }
@media (max-width: 900px) {
  .proof-head { display: block; }
  .proof-head > p { max-width: 47ch; margin-top: .75rem; }
  .proof-spread { gap: 3rem; grid-template-columns: 1.18fr 1fr; }
}
@media (max-width: 620px) {
  .proof-head h2 { font-size: clamp(2.7rem, 10.5vw, 3.8rem); }
  .proof-spread { display: block; }
  .spectral-track { height: clamp(5.75rem, 21.5vw, 7.5rem); }
  .transport { gap: .6rem; }
  .take-title { font-size: .8rem; }
  .readout { font-size: .73rem; gap: .28em; }
  .sound-toggle { font-size: .8rem; padding-inline: .64rem; min-height: 2.75rem; }
  .transcript-lines { padding-top: 1rem; gap: .8rem; }
  .transcript-lines button { font-size: clamp(1.45rem, 5.7vw, 1.94rem); line-height: 1.12; min-height: 2.1rem; }
  .ink-thread { display: none; }
  .marginalia { margin-top: var(--group-space); padding-left: .9rem; border-left: 1px solid #ad8dc280; }
  .margin-copy { padding-top: .57rem; }
  .annotation p { max-width: 48ch; margin-top: .35rem; }
  .margin-points { margin-top: .66rem; }
}
@media (max-width: 385px) {
  .take-title { max-width: 8.8ch; }
}

