@font-face {
  font-family: "Berkeley Mono";
  src: url("/fonts/BerkeleyMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #f7f7f4;
  --panel: #efeee9;
  --line: #dedcd4;
  --ink: #26251e;
  --ink-2: #4a4940;
  --muted: #8b897f;
  --accent: #3f9b74;
  --accent-soft: #cfe7da;
  --warn: #b4442f;
  --link: #4a7bd0;
  --fail: #c45c48;
  --hold: #e7d9ad;
  --sans: "Geist", system-ui, "Helvetica Neue", Arial, sans-serif;
  --mono: "Berkeley Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }

.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 18px; padding: 14px 32px;
  background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(6px);
  font-size: 13px; color: var(--muted);
}
.brand { font-weight: 600; color: var(--ink); margin-right: auto; }
.save { font-family: var(--mono); font-size: 12px; }
.save.dirty { color: #8a6a1c; }
.save.err { color: var(--warn); }
.toggle { display: flex; gap: 6px; align-items: center; cursor: pointer; }
.help { cursor: help; }

.page {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(0, 645px) minmax(240px, 1fr);
  gap: 0 56px; padding: 72px 32px 160px;
}
.toc-rail { position: sticky; top: 90px; font-size: 13px; max-width: 230px; max-height: calc(100dvh - 110px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 4px; margin: -4px; }
.toc-rail ol { list-style: none; padding: 0; margin: 0; }
.toc-rail > ol > li + li { margin-top: 14px; }
.toc-rail ol ol { margin-top: 6px; padding-left: 14px; }
.toc-rail ol ol li + li { margin-top: 5px; }
/* The current section darkens and thickens instead of underlining: a hairline text-shadow fades in as
   faux bold, so the weight change eases and the line never reflows. */
.toc-rail a { display: block; color: var(--ink-2); text-decoration: none; line-height: 1.45; text-shadow: 0.4px 0 0 transparent; transition: color 220ms ease, text-shadow 220ms ease; }
.toc-rail .toc-sub { color: var(--ink-2); font-size: 12px; }
.toc-rail a.on { color: var(--ink); text-shadow: 0.4px 0 0 currentColor; }
.toc-rail a:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) { .toc-rail a:hover { color: var(--ink); } }

.col { min-width: 0; }
figure.blk { position: relative; z-index: 1; background: var(--bg); }
.date { color: var(--muted); }
h1 { font-size: 36px; line-height: 1.15; font-weight: 500; letter-spacing: -0.02em; margin: 6px 0 40px; }
h1:has(+ .subtitle:not(:empty)) { margin-bottom: 4px; }
.subtitle { font-size: 28px; line-height: 1.2; font-weight: 500; letter-spacing: -0.015em; color: var(--ink-2); margin: 0 0 40px; }
.subtitle:empty { display: none; }

.blk { outline: none; border-radius: 3px; transition: background-color 150ms ease; }
.blk.linked { background: rgba(63, 155, 116, 0.07); }
.blk.editing, .tb.editing, .dd.editing, figcaption.editing { outline: none; }
.blk.editing-src { background: var(--panel); font-family: var(--mono); font-size: 14px; line-height: 1.6; white-space: pre-wrap; text-align: left; border-radius: 4px; padding: 8px 10px; }
.blk[contenteditable] { cursor: text; caret-color: var(--ink); }
.mx { cursor: default; }
p.blk, li.blk { margin: 0 0 20px; }
p.blk:empty { min-height: 10px; margin: 0 0 6px; }
p.blk:empty:focus, p.blk:empty:hover { min-height: 24px; }
p.blk:empty:focus::before, p.blk:empty:hover::before { content: "Write…"; color: var(--muted); }
h2.blk { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; margin: 56px 0 16px; scroll-margin-top: 80px; }
h3.blk { font-size: 17px; font-weight: 600; margin: 36px 0 10px; scroll-margin-top: 80px; }
li.blk { margin-left: 22px; display: list-item; }
blockquote.blk { margin: 0 0 20px; padding-left: 16px; border-left: 2px solid var(--line); color: var(--ink-2); }
pre.blk { margin: 0 0 20px; padding: 14px 16px; background: var(--panel); font: 13.5px/1.6 var(--mono); overflow-x: auto; white-space: pre; }
.blk.math { margin: 4px 0 24px; padding: 10px 0; overflow-x: auto; text-align: center; }
.blk.math.editing { text-align: left; }
code { font-family: var(--mono); font-size: 0.86em; background: var(--panel); padding: 1px 5px; border-radius: 3px; }
a { color: inherit; text-decoration: underline solid; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: currentColor; transition: color 200ms ease, text-decoration-color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .col a:hover { color: var(--link); } }
.ph { color: #8a6a1c; font-family: var(--mono); font-size: 0.85em; }

/* Inline text that plays a figure: [[text|walk:right]] */
.trig {
  cursor: pointer; color: var(--ink);
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat;
  transition: color 150ms ease;
}
.trig[data-play$="wrong"] { background-image: linear-gradient(var(--warn), var(--warn)); }
.trig.on { color: var(--accent); }
.trig.on[data-play$="wrong"] { color: var(--warn); }

figure.blk { margin: 12px 0 36px; padding: 0; }
figure .frame { background: var(--panel); border-radius: 4px; padding: 26px 28px 20px; overflow: hidden; }
figure svg { display: block; width: 100%; height: auto; }
figure svg text { font-family: var(--sans); font-size: 12.5px; fill: var(--ink-2); }
figure svg .num { font-family: var(--sans); font-size: 12.5px; font-variant-numeric: tabular-nums; fill: var(--ink-2); }
figure svg .lbl { fill: var(--muted); }
figure svg .big { font-family: var(--sans); font-size: 13.5px; fill: var(--ink); }
figure svg a .q { text-decoration: underline; text-decoration-color: #c4c1b6; }
figure svg a:hover .q { fill: var(--accent); }
figure figcaption { color: var(--muted); font-size: 14px; margin: 10px 40px 0; outline: none; }
figure figcaption:empty { margin: 0; min-height: 8px; }
figure figcaption.editing { font-family: var(--mono); font-size: 13px; background: #fff; box-shadow: 0 0 0 1px var(--line); min-height: 20px; margin-top: 10px; }

.right { position: relative; }
.note {
  position: absolute; left: 0; right: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
  padding: 9px 11px 10px; font-size: 13px; line-height: 1.45; color: var(--ink-2);
  transition: border-color 150ms ease;
}
.note.linked { border-color: var(--accent); }
.note .k { font: 11px var(--mono); color: var(--accent); display: flex; justify-content: space-between; gap: 8px; margin-bottom: 3px; }
.note .k button { all: unset; cursor: pointer; color: var(--muted); }
.note .k button:hover { color: var(--ink); }
.note .src { font: 11px var(--mono); color: var(--muted); margin-top: 5px; word-break: break-word; }
.note[data-kind="fact-check"] .k { color: var(--warn); }
.note[data-kind="cut"] .k, .note[data-kind="rephrase"] .k { color: #8a6a1c; }
.note[data-kind="intent"] .k, .note[data-kind="you"] .k { color: var(--ink); }
body.hide-notes .right { display: none; }

@media (max-width: 1180px) {
  .page { grid-template-columns: minmax(0, 1fr); padding: 40px 16px 120px; max-width: 677px; margin: 0 auto; }
  .left, .right { display: none; }
  figure.blk { margin: 12px 0 32px; }
  figure figcaption { margin: 10px 0 0; }
}

.linkcard {
  position: absolute; z-index: 20; width: 320px; pointer-events: none;
  background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px;
  box-shadow: 0 6px 24px rgba(38, 37, 30, 0.08);
  opacity: 0; transform: translateY(-2px) scale(0.98); transform-origin: top left;
  transition: opacity 150ms var(--ease-out), transform 150ms var(--ease-out);
}
.linkcard.show { opacity: 1; transform: none; }
.linkcard.instant { transition-duration: 0ms; }
.linkcard .t { font-size: 13.5px; font-weight: 500; color: var(--ink); }
.linkcard .d { font-size: 13px; color: var(--ink-2); margin-top: 3px; line-height: 1.45; }
.linkcard .h { font: 12px var(--sans); color: var(--muted); margin-top: 6px; }
@media (prefers-reduced-motion: reduce) { .linkcard { transform: none; } }

/* Reading progress: a thin bar across the top. */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 30; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); }

.tldr { background: var(--panel); border-radius: 4px; padding: 20px 24px 6px; margin: 0 0 40px; }
.tldr .tl { font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.tldr .tb { outline: none; }
.tldr .tb p { margin: 0 0 14px; }



figure.hero .frame { padding: 28px; }
.hero .br { fill: none; stroke: var(--accent); stroke-width: 1.2; }
.hero .main { stroke: var(--ink-2); stroke-width: 1.2; }


figure svg .axis { font-family: var(--sans); font-size: 14px; font-weight: 500; fill: var(--ink); }

.tape .full { fill: var(--accent-soft); stroke: var(--accent); }
.tape .delta { fill: #fff; stroke: #cfccc2; }
.tape .live { fill: #fff; stroke: var(--ink); }
.author { display: flex; align-items: center; gap: 10px; color: var(--muted); margin: -24px 0 40px; }
.author .av { width: 24px; height: 24px; border-radius: 50%; background: var(--panel); display: grid; place-items: center; font-size: 11px; color: var(--ink-2); }

.define { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0 8px; margin: 8px 0 32px; }
.define .dw { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.define .w { font-size: 30px; font-weight: 500; letter-spacing: -0.02em; }
.define .pr { font-family: var(--mono); font-size: 14px; color: var(--muted); }
.define .ps { font-style: italic; color: var(--muted); }
.define .dd { margin: 12px 0 0; padding-left: 22px; outline: none; }
.define .dd li { margin-bottom: 12px; color: var(--ink-2); }
.define .dd li::marker { color: var(--muted); }


/* Seek bar under each figure (pattern from the earlier post's figures). */
.seek { margin-top: 12px; }
.seek .routes { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.seek button { font: 13px var(--sans); cursor: pointer; }
.seek .routes button {
  color: var(--ink-2); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px;
  transition: transform 160ms var(--ease-out), border-color 150ms ease, color 150ms ease;
}
.seek .routes button:active, .seek .sk-play:active { transform: scale(0.97); }
.seek .routes button.on { border-color: var(--ink-2); color: var(--ink); }
.seek .bar { display: flex; align-items: flex-start; gap: 12px; }
.seek .sk-play { height: 28px; min-width: 64px; padding: 0 12px; border: 0; border-radius: 3px; background: var(--panel); color: var(--ink); transition: transform 160ms var(--ease-out), background-color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .seek .sk-play:hover { background: #e6e4dc; } }
.seek .sk-track { position: relative; flex: 1; min-width: 0; padding-top: 4px; }
.seek input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 20px; margin: 0; background: transparent; cursor: pointer; }
.seek input[type=range]::-webkit-slider-runnable-track { height: 3px; border-radius: 2px; background: linear-gradient(to right, var(--ink) var(--p, 0%), var(--line) var(--p, 0%)); }
.seek input[type=range]::-moz-range-track { height: 3px; background: linear-gradient(to right, var(--ink) var(--p, 0%), var(--line) var(--p, 0%)); }
.seek input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; margin-top: -4.5px; border-radius: 50%; background: var(--ink); }
.seek input[type=range]::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 50%; background: var(--ink); }
.seek input[type=range]:focus { outline: none; }
.seek input[type=range]:focus-visible { outline: 1px solid var(--line); outline-offset: 4px; border-radius: 6px; }
.seek .sk-marks { position: relative; height: 18px; }
.seek .sk-marks button { position: absolute; top: 0; border: 0; padding: 0; background: none; color: var(--muted); font-size: 12px; white-space: nowrap; transition: color 150ms ease; }
.seek .sk-marks button { transform: translateX(-6px); }
.seek .sk-marks button.on { color: var(--ink); }
@media (max-width: 600px) {
  figure.blk:not(.side-by-side) .frame { overflow-x: auto; }
  figure.blk:not(.side-by-side) .frame > svg { min-width: 560px; }
  .seek .sk-marks { display: flex; flex-wrap: wrap; gap: 4px 12px; height: auto; }
  .seek .sk-marks button { position: static; transform: none; min-height: 28px; }
}
@media (hover: hover) and (pointer: fine) { .seek .sk-marks button:hover { color: var(--ink); } }

.define .dom { color: var(--muted); margin-right: 2px; }
/* Provenance view: author's verbatim words green, everything drafted or unverified orange. */
.blkwrap { transition: background-color 200ms ease; border-radius: 3px; }
body.show-prov .prov-yours > .blk:not(h2):not(h3) { color: #2f7a57; }
body.show-prov .prov-yours > h2.blk, body.show-prov .prov-yours > h3.blk { color: #2f7a57; }
body.show-prov .prov-draft > .blk { color: #b8621b; }
body.show-prov .prov-draft > figure.blk .frame, body.show-prov .prov-draft > .define { box-shadow: 0 0 0 1px #e9b98f; }
.col a[href], .trig, figure svg a { cursor: pointer; }

/* Feedback sources: user (blue) and environment (purple), pastel fill with a darker border. */
:root { --user-bg: #e4ecfb; --user-line: #9db7e8; --user-ink: #2d5394; --env-bg: #eee6f9; --env-line: #bba6e2; --env-ink: #5b3f96; }
figure .dot-U { fill: var(--user-ink); }
figure .dot-E { fill: var(--env-ink); }
figure .badge-U rect { fill: var(--user-bg); stroke: var(--user-line); }
figure .badge-U text { fill: var(--user-ink); font-size: 12.5px; }
figure .badge-U .lead { stroke: var(--user-line); }
figure .badge-E rect { fill: var(--env-bg); stroke: var(--env-line); }
figure .badge-E text { fill: var(--env-ink); font-size: 12.5px; }
figure .badge-E .lead { stroke: var(--env-line); }

.seek .sk-ticks { position: absolute; left: 0; right: 0; top: 14px; height: 0; pointer-events: none; }
.seek .sk-ticks .tick { position: absolute; top: -5px; width: 1px; height: 10px; background: var(--muted); }
.seek .sk-ticks .ev { position: absolute; top: -9px; width: 6px; height: 6px; border-radius: 1.5px; transform: translateX(-3px); }
.seek .sk-ticks .ev-U { background: var(--user-ink); }
.seek .sk-ticks .ev-E { background: var(--env-ink); }
figure .seg-ok { fill: var(--accent); }
figure .seg-bad { fill: var(--fail); }
figure .seg-none { fill: #dedcd4; }
figure svg .seg-n { font-family: var(--sans); font-size: 13.5px; font-weight: 500; fill: #fff; }
figure svg .seg-none + .seg-n { fill: var(--ink); }
figure svg .score { font-family: var(--sans); font-size: 22px; font-weight: 600; fill: var(--ink-2); }
.seek .sk-marks button.end { transform: translateX(calc(-100% + 6px)); }
figure .wq { transition: none; }

.table { margin: 4px 0 28px; overflow-x: auto; }
.list { margin: 0 0 22px; }
.list ul, .list ol { margin: 0; padding-left: 22px; }
.list li { margin: 6px 0; line-height: 1.6; }
.list li ul { margin-top: 4px; }
.fig-todo { padding: 28px 32px; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.fig-todo span { display: block; color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.table table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.45; }
.table th { text-align: left; font-weight: 500; color: var(--muted); padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line); }
.table td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.table td:first-child { color: var(--ink); font-weight: 500; width: 24%; }
.table.editing { white-space: pre; font-family: var(--mono); font-size: 13px; background: var(--panel); padding: 8px; }

figure .info { cursor: help; }
figure .info path { fill: none; stroke: #9a978c; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke 150ms ease; }
@media (hover: hover) and (pointer: fine) { figure .info:hover path { stroke: var(--ink-2); } }

/* Track positions match the thumb centre, which travels from 6px to width - 6px (12px thumb). */
.seek .sk-ticks .tick, .seek .sk-ticks .ev, .seek .sk-marks button { left: calc(6px + (100% - 12px) * var(--at)); }
.seek .sk-ticks .tick { width: 1px; transform: translateX(-0.5px); }
.seek .sk-ticks .ev { transform: translateX(-3px); }
.seek .sk-marks button { transform: translateX(-6px); }

figure svg .kn { font-family: var(--sans); font-size: 10.5px; font-weight: 600; fill: #fff; }

figure .pt-before { fill: var(--muted); }
figure .pt-after { fill: var(--accent); }
/* The scrubber knob sits above tick marks and event markers. */
.seek .sk-track input[type=range] { position: relative; z-index: 1; }
.seek .sk-ticks { z-index: 0; }

/* Scrubber knob: subtle grow while dragged. */
.seek input[type=range]::-webkit-slider-thumb { transition: transform 150ms var(--ease-out); }
.seek input[type=range]:active::-webkit-slider-thumb { transform: scale(1.18); }
.seek input[type=range]::-moz-range-thumb { transition: transform 150ms var(--ease-out); }
.seek input[type=range]:active::-moz-range-thumb { transform: scale(1.18); }

/* Jump links: dotted underline, flash the target twice on arrival. */
.jump { cursor: pointer; text-decoration: underline dotted; text-decoration-color: #a9a69b; text-underline-offset: 3px; transition: color 200ms ease, text-decoration-color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .jump:hover { color: var(--link); text-decoration-color: var(--link); } }
.jumped { animation: jumpflash 1.3s ease-in-out; border-radius: 4px; }
@keyframes jumpflash { 0%, 50%, 100% { background-color: transparent; } 25%, 75% { background-color: rgba(74, 123, 208, 0.12); } }
@media (prefers-reduced-motion: reduce) { .jumped { animation-duration: 0.8s; } }
/* Side-by-side figures bleed past the text column on wide screens. */
@media (min-width: 1181px) { figure.blk.walk2 { margin-left: -110px; margin-right: -110px; } }

figure svg .axis2 { font-family: var(--sans); font-size: 12.5px; font-weight: 400; fill: var(--ink); }
figure.hero .frame { position: relative; }
.replay-explanation { position: absolute; inset: 12% 8% auto; padding: 20px; border: 1px solid var(--line); border-radius: 4px; background: var(--bg); color: var(--ink); box-shadow: 0 8px 24px #00000012; font: 14px/1.5 var(--sans); }
.replay-explanation p { margin: 8px 0 0; }
.replay-explanation { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 180ms var(--ease-out), visibility 0s 180ms; }
.replay-explanation.show { opacity: 1; visibility: visible; transition-delay: 0s; }
.reading-word { border-radius: 2px; transition: background-color 160ms ease-out; }
.reading-word.reading { background: var(--accent-soft); }

.scale-toggle, #history-toggle, .history-panel button { font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 4px; padding: 5px 9px; cursor: pointer; }
.scale-toggle { margin-bottom: 10px; font-size: 12px; }
.scale-toggle[aria-pressed="true"] { background: var(--panel); font-weight: 600; }
.history-panel { position: fixed; z-index: 90; top: 50px; right: 0; bottom: 0; width: min(440px, 100vw); padding: 24px; overflow-y: auto; background: var(--bg); border-left: 1px solid var(--line); box-shadow: -6px 0 24px #0000000a; font: 14px/1.6 var(--sans); }
.history-panel[hidden] { display: none; }
.history-panel header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.history-panel h2 { margin: 0; font-size: 20px; }
.history-panel details { padding: 16px 0; border-bottom: 1px solid var(--line); }
.history-panel summary { cursor: pointer; }
.history-panel h3 { font-size: 12px; margin: 12px 0 4px; }
.history-panel details p { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }
.history-panel del, .history-panel ins { padding: 1px 0; }
.history-panel del { background: #f7e8e3; }
.history-panel ins { background: #e7f0e9; text-decoration: none; }
.history-panel details button { margin-top: 12px; }

#narration { position: relative; display: flex; align-items: center; gap: 12px; padding: 20px 0; margin-bottom: 28px; background: var(--bg); border-top: 1px solid var(--line); font: 14px/1.4 var(--sans); }
#narration .narration-play { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; padding: 10px; border: 0; border-radius: 50%; background: var(--panel); color: var(--ink); cursor: pointer; }
.narration-play svg { width: 16px; height: 16px; fill: currentColor; }
.narration-play:disabled { opacity: .5; cursor: wait; }
.narration-duration { border-left: 1px solid var(--line); padding-left: 12px; font-variant-numeric: tabular-nums; }
.narration-duration:empty { display: none; }
.narration-status { color: var(--ink-2); font-size: 12px; }
#narration audio { display: none; }
::highlight(narration) { background: var(--accent-soft); color: var(--ink); }
@media (max-width: 600px) { .topbar { flex-wrap: wrap; gap: 8px; padding: 8px 12px; } #narration { position: relative; top: auto; } .replay-explanation { inset: 0; overflow: auto; padding: 12px; font-size: 12px; } }
.narration-active { display: flex; gap: 16px; align-items: center; }
.narration-active[hidden], .narration-label[hidden], .narration-duration[hidden] { display: none; }
.narration-elapsed { font-variant-numeric: tabular-nums; border-right: 1px solid var(--line); padding-right: 16px; }
.narration-active button { position: relative; border: 0; padding: 0; background: transparent; color: var(--ink); cursor: pointer; font: inherit; }
.narration-active svg { width: 22px; height: 22px; }
.narration-active button span { position: absolute; bottom: 2px; left: 7px; background: var(--bg); font-size: 11px; line-height: 1; }
.narration-active .narration-speed { border: 1px solid var(--line); border-radius: 12px; padding: 4px 12px; min-width: 52px; }
::highlight(narration) { background: transparent; color: inherit; }
.narration-word { position: absolute; pointer-events: none; background: var(--accent-soft); mix-blend-mode: multiply; z-index: 2; opacity: 0; transition: opacity 150ms var(--ease-out); }
@media (prefers-reduced-motion: reduce) { .narration-word { transition: none; } }
@media (max-width: 600px) {
  .seek .sk-marks { height: auto; }
  .seek .sk-marks button,
  .seek .sk-marks button.end { max-width: none; transform: none; white-space: normal; text-align: left; font-size: 11px; line-height: 1.3; }
}

.copy-addr { position: relative; font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: copy; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .copy-addr:hover { color: var(--link-hover, #4b6fa8); } }
.copy-addr::after { content: "Copied"; position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translate(-50%, 4px); padding: 3px 8px; border-radius: 6px; background: var(--ink); color: var(--bg); font-size: 12px; line-height: 1.4; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 160ms ease, transform 160ms ease; }
.copy-addr.copied::after { opacity: 1; transform: translate(-50%, 0); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* The shared, read-only copy hides the editor's controls; comments stay. */
.readonly #save, .readonly #history-toggle, .readonly .help, .readonly .toggle:has(#showProv), .readonly #narration { display: none; }
