/* A video's page (find-video.js): the player, the title and its four choices, the transcript beside it. The design system's
   tokens from find.css (--l-*); the player is dark in both appearances; the grey accent (--l-lilac, lilac until 19 November
   2026) only for focus. */

.lib-video { width: min(1240px, 100%); margin: 0 auto; padding: 20px 32px 72px; }
/* one grid: Back above, the video and the transcript side by side at the same height, the title and the choices under the
   video. The transcript does not count in the row's height (contain: size), so the row is the video's and the panel fills it */
.lv { display: grid; grid-template-columns: minmax(0, 1fr) 368px; grid-template-areas: "top top" "doc doc" "player tx" "head ."; column-gap: 32px; align-items: start; }
/* the doctor first (20 November 2026): photo, name, specialty, public record and page, before the player */
.lv-docbar { grid-area: doc; padding: 0 0 18px; min-width: 0; }
.lv-top { grid-area: top; padding-bottom: 20px; }
.lv-player { grid-area: player; min-width: 0; }
.lv-head { grid-area: head; min-width: 0; }
.lv-player, .lv-head { animation: l-rise .5s var(--l-spring) both; }

/* Back: an outlined pill on the video's left edge */
.lv-back { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px 0 13px; border-radius: 999px; background: var(--l-surface); box-shadow: inset 0 0 0 1px var(--l-line-2); font-size: 15px; color: var(--l-ink); transition: box-shadow .25s var(--l-out), background-color .25s var(--l-out); }
.lv-back svg { width: 18px; height: 18px; flex: none; }
.lv-back:hover { box-shadow: inset 0 0 0 1px var(--l-line-3); background: var(--l-hover); }
.lv-back:active { scale: .98; }

/* ── the player ── */
.lv-player { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #0E0E0E; color: #fff; isolation: isolate; outline: none; box-shadow: 0 0 0 1px var(--l-line); }
.lv-player:focus-visible { box-shadow: 0 0 0 2px var(--l-lilac); }
.lv-fill { position: absolute; inset: -40px; z-index: 0; background-size: cover; background-position: center; filter: blur(32px) brightness(.55) saturate(1.1); opacity: 0; transition: opacity .6s var(--l-out); }
.lv-player.is-tall .lv-fill, .lv-player.is-poster .lv-fill { opacity: 1; }
.lv-player video { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: contain; background: transparent; transition: opacity .3s var(--l-out); }
.lv-player.is-switching video { opacity: .35; }
.lv-poster { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; }
.lv-sample-note { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 16px; border-radius: 14px; background: rgba(14,14,14,.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 14.5px; line-height: 1.4; color: #fff; }
.lv-sample { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; background: rgba(255,255,255,.92); color: #1A1A1A; font-size: 12px; flex: none; }

/* the big play: a white round in the middle while the video is still */
.lv-big { position: absolute; z-index: 3; left: 50%; top: 50%; display: grid; place-items: center; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(255,255,255,.95); color: #1A1A1A; box-shadow: 0 12px 32px -12px rgba(0,0,0,.6); transition: opacity .3s var(--l-out), scale .4s var(--l-spring), background-color .25s var(--l-out); }
.lv-big svg { width: 28px; height: 28px; margin-left: 4px; }
.lv-big:hover { scale: 1.05; background: #fff; }
.lv-player.is-playing .lv-big { opacity: 0; scale: .85; pointer-events: none; }

/* the note "Starts at 1:12, where it says it" */
.lv-note { position: absolute; z-index: 4; left: 50%; top: 18px; translate: -50% -6px; margin: 0; padding: 8px 16px; border-radius: 999px; background: rgba(14,14,14,.78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 14px; color: #fff; white-space: nowrap; opacity: 0; transition: opacity .3s var(--l-out), translate .45s var(--l-spring); }
.lv-note:not([hidden]) { display: inline-flex; align-items: center; gap: 12px; }
.lv-note.is-on { opacity: 1; translate: -50% 0; }
/* the way back to the start, beside the note: a light pill inside the dark one */
.lv-note button { flex: none; height: 30px; margin: -3px -10px -3px 0; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.16); font-size: 13.5px; font-weight: 500; color: #fff; transition: background-color .25s var(--l-out); }
.lv-note button:hover { background: rgba(255,255,255,.28); }
.lv-note button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* the captions, drawn by the page */
.lv-cc { position: absolute; z-index: 3; left: 8%; right: 8%; bottom: 78px; display: flex; justify-content: center; pointer-events: none; transition: bottom .35s var(--l-out), opacity .3s var(--l-out); }
.lv-cc[hidden] { display: none; }
.lv-cc span { max-width: 100%; padding: 6px 12px; border-radius: 8px; background: rgba(0,0,0,.66); color: #fff; font-size: clamp(16px, 1.6vw, 21px); line-height: 1.4; text-align: center; text-wrap: balance; }
.lv-player.is-idle .lv-cc { bottom: 28px; }

/* the bar: play, the time, the line of the video, sound, subtitles, full screen; it steps aside while playing */
.lv-bar { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 4px; padding: 28px 12px 10px; background: linear-gradient(to top, rgba(0,0,0,.62), rgba(0,0,0,0)); transition: opacity .35s var(--l-out), translate .45s var(--l-spring); }
.lv-player.is-idle .lv-bar { opacity: 0; translate: 0 10px; pointer-events: none; }
.lv-player.is-idle { cursor: none; }
.lv-ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; color: #fff; transition: background-color .2s var(--l-out); }
.lv-ic svg { width: 22px; height: 22px; }
.lv-ic:hover { background: rgba(255,255,255,.14); }
.lv-ic.is-on { background: rgba(255,255,255,.2); }
.lv-time { flex: none; padding: 0 8px; font-size: 13.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lv-time b { font-weight: 400; }
.lv-time span { color: rgba(255,255,255,.72); }
.lv-scrub { --p: 0%; flex: 1; min-width: 60px; height: 44px; margin: 0 6px; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.lv-scrub::-webkit-slider-runnable-track { height: 4px; border-radius: 999px; background: linear-gradient(to right, #fff var(--p), rgba(255,255,255,.3) var(--p)); }
.lv-scrub::-moz-range-track { height: 4px; border-radius: 999px; background: linear-gradient(to right, #fff var(--p), rgba(255,255,255,.3) var(--p)); }
.lv-scrub::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.4); transition: scale .2s var(--l-out); }
.lv-scrub::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #fff; }
.lv-scrub:hover::-webkit-slider-thumb { scale: 1.2; }
.lv-scrub:focus-visible { outline: 2px solid var(--l-lilac); outline-offset: 2px; border-radius: 8px; }

/* a stream that will not load says so */
.lv-fail { position: absolute; z-index: 5; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; background: rgba(14,14,14,.82); text-align: center; }
.lv-fail[hidden] { display: none; }
.lv-fail p { margin: 0; font-size: 16px; }
.lv-retry { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; background: #fff; color: #1A1A1A; font-size: 15px; }
.lv-retry svg { width: 18px; height: 18px; }

.lv-player.is-full { border-radius: 0; aspect-ratio: auto; }

/* ── the title and the four choices ── */
.lv-head { padding: 24px 0 0; }
.lv-title { margin: 0; font-family: var(--l-serif); font-size: 34px; font-weight: 400; line-height: 1.14; letter-spacing: -.015em; text-wrap: pretty; }
.lv-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 0; font-size: 15px; color: var(--l-ink-3); }
.lv-meta .lv-sample { background: var(--l-surface-2); color: var(--l-ink-2); }
.lv-dot { color: var(--l-ink-4); }
.lv-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.lv-pill, .lv-save { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 14px; border-radius: 999px; font-size: 15px; white-space: nowrap; transition: box-shadow .25s var(--l-out), background-color .25s var(--l-out), color .25s var(--l-out), translate .35s var(--l-spring); }
.lv-pill { background: var(--l-surface); color: var(--l-ink); box-shadow: inset 0 0 0 1px var(--l-line-2); }
.lv-pill svg, .lv-save svg { width: 18px; height: 18px; flex: none; }
.lv-pill > svg:last-child { width: 15px; height: 15px; color: var(--l-ink-3); margin-left: -2px; }
.lv-pill:hover, .lv-pill[aria-expanded="true"] { box-shadow: inset 0 0 0 1px var(--l-line-3); background: var(--l-hover); }
.lv-pill:disabled { cursor: default; box-shadow: none; background: transparent; padding: 0 4px; }
.lv-pill:disabled > svg:last-child { display: none; }
/* Save: an outlined pill with its icon and word, as the choices beside it (19 November 2026: one small ink pill a screen,
   and here there is none); once the video is saved, a quiet grey plate */
.lv-save { margin-left: auto; padding: 0 20px 0 16px; background: var(--l-surface); color: var(--l-ink); box-shadow: inset 0 0 0 1px var(--l-line-2); }
.lv-save:hover { background: var(--l-hover); box-shadow: inset 0 0 0 1px var(--l-line-3); }
.lv-save.is-saved { background: var(--l-surface-2); color: var(--l-ink); box-shadow: inset 0 0 0 1px var(--l-line); }
.lv-save.is-saved:hover { background: var(--l-press); }
.lv-save:active, .lv-pill:active { translate: none; scale: .98; }

/* ── the transcript ── */
.lv-tx { grid-area: tx; align-self: stretch; contain: size; display: flex; flex-direction: column; min-width: 0; border-radius: 18px; background: var(--l-surface); box-shadow: 0 0 0 1px var(--l-line); overflow: hidden; animation: l-rise .5s var(--l-spring) .08s both; }
.lv-tx-head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 20px; border-bottom: 1px solid var(--l-line); }
/* one quiet line when the transcript is not in the language listened to */
.lv-tx-note { flex: none; margin: 0; padding: 10px 20px; border-bottom: 1px solid var(--l-line); font-size: 14px; line-height: 1.45; color: var(--l-ink-3); }
.lv-tx-note[hidden] { display: none; }
.lv-tx-head h2 { margin: 0; font-size: 16px; font-weight: 400; color: var(--l-ink); }
.lv-pill--sm { height: 40px; padding: 0 12px 0 14px; font-size: 14.5px; }
.lv-lines { flex: 1; min-height: 0; margin: 0; padding: 8px 8px 16px; list-style: none; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; outline: none; }
.lv-lines li { position: relative; animation: l-rise .45s var(--l-spring) both; animation-delay: calc(var(--i) * 30ms); }
.lv-lines button { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; width: 100%; padding: 10px 12px; border-radius: 12px; text-align: left; font-family: var(--l-serif); font-size: 17px; line-height: 1.55; color: var(--l-ink-2); transition: background-color .3s var(--l-out), color .3s var(--l-out); }
.lv-lines button:hover { background: var(--l-hover); color: var(--l-ink); }
.lv-t { padding-top: 3px; font-family: var(--l-sans); font-size: 13px; font-variant-numeric: tabular-nums; color: var(--l-ink-4); }
/* the line being said: on a grey plate, with a short bar in ink at its left (19 November 2026: no lilac tint) */
.lv-lines button::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--l-ink); opacity: 0; scale: 1 .4; transition: opacity .35s var(--l-out), scale .45s var(--l-spring); }
.lv-lines li.is-now button { background: var(--l-surface-2); color: var(--l-ink); }
.lv-lines li.is-now button::before { opacity: 1; scale: 1 1; }
.lv-lines li.is-now .lv-t { color: var(--l-ink-2); }
.lv-lines .lv-plain { padding: 10px 12px; font-family: var(--l-serif); font-size: 17px; line-height: 1.55; color: var(--l-ink-2); }
.lv-empty { padding: 18px 12px; font-size: 15px; color: var(--l-ink-3); }

/* the menus: the results page's look (find.css .lib-menu), with a second line under a language when it helps */
.lv-menu button { min-height: 48px; }
.lv-menu button b { display: block; font-weight: 400; }
.lv-menu button small { display: block; margin-top: 1px; font-size: 13px; color: var(--l-ink-3); }
.lv-menu-note { margin: 4px 8px 6px; font-size: 13.5px; color: var(--l-ink-3); }

/* ── one column ── */
@media (max-width: 980px) {
  .lv { grid-template-columns: minmax(0, 1fr); grid-template-areas: "top" "doc" "player" "head" "tx"; }
  .lv-docbar { padding: 0 16px 14px; }
  /* under the choices, a panel of its own height that scrolls inside, so the line being said stays in view */
  .lv-tx { contain: none; align-self: start; max-height: min(64vh, 560px); margin-top: 28px; }
}
@media (max-width: 760px) {
  .lib-video { padding: 12px 0 56px; }
  .lv-top { padding: 0 16px 16px; }
  .lv-player { border-radius: 0; box-shadow: none; }
  .lv-head { padding: 18px 16px 0; }
  .lv-title { font-size: 26px; }
  .lv-actions { gap: 8px; }
  .lv-save { margin-left: 0; }
  .lv-tx { margin: 24px 16px 0; }
  .lv-time span { display: none; }
  .lv-bar { padding: 24px 6px 6px; gap: 0; }
  .lv-big { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
  .lv-cc { bottom: 64px; }
  .lv-lines button, .lv-lines .lv-plain { font-size: 16.5px; }
  .lv-note { max-width: calc(100% - 24px); padding: 7px 14px; font-size: 13px; }
  .lv-note:not([hidden]) { gap: 8px; }
  .lv-note button { margin-right: -8px; padding: 0 12px; font-size: 13px; }
}
@media (max-width: 380px) { .lv-bar [data-lv-cc] { display: none; } }
/* a small player (a phone, or a window under 501 px high): the subtitles show while the video plays, so they never sit over the
   round Play in the middle (audit pass 4) */
@media (max-width: 760px), (max-height: 500px) { .lv-player:not(.is-playing) .lv-cc { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .lv-player, .lv-head, .lv-tx, .lv-lines li { animation: none !important; }
  .lv-bar, .lv-big, .lv-note, .lv-cc, .lv-lines button::before { transition: none !important; }
}
/* the panel clips its corners without becoming a scroll box, so the transcript can stay in view while the page scrolls */
.lib-main.lib-page-video { overflow: clip; }
/* the start page's moving field behind a video's page too, softer than behind a conversation (17 November 2026, Sergio).
   It belongs to the top of the page and goes up with it; the video, its words and the transcript stand over it */
.lib-main.lib-page-video > .lib-field.is-quiet { position: absolute; top: 0; left: 0; right: 0; height: min(64vh, 600px); border-radius: 0; }
html.has-field .lib-main.lib-page-video > .lib-field.is-quiet, .lib-main.lib-page-video > .lib-field.is-quiet.is-flat { opacity: .45; }
.lib-page-video > .lib-body > .lib-video { position: relative; z-index: 1; }
/* the language asked for, when it could only partly be had */
.lv-langnote { display: inline-flex; align-items: center; gap: 8px; margin: 10px 0 0; padding: 6px 12px; border-radius: 999px; background: var(--l-surface-2); font-size: 14px; color: var(--l-ink-2); animation: l-rise .4s var(--l-spring) both; }
.lv-langnote[hidden] { display: none; }

/* ── Share: a short menu of big rows (52 px), each with its picture; a hairline before the transcript on paper ── */
.lv-share { min-width: 280px !important; }
.lv-share button { display: flex; align-items: center; justify-content: flex-start; gap: 14px; min-height: 52px; padding: 8px 14px; }
.lv-share button > svg { flex: none; width: 20px; height: 20px; opacity: 1; color: var(--l-ink-2); }
.lv-share button:hover > svg, .lv-share button:focus-visible > svg { color: var(--l-ink); }
.lv-share b { font-size: 15.5px; }
.lv-menu-rule { display: block; height: 1px; margin: 6px 10px; background: var(--l-line); }

/* ── "Continue from 2:14": a white pill on the player, above the bar, where the person stopped last time ── */
.lv-resume { position: absolute; z-index: 5; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px 0 16px; border-radius: 999px; background: rgba(255,255,255,.96); color: #1A1A1A; font-size: 15.5px;
  box-shadow: 0 10px 28px -12px rgba(0,0,0,.6); opacity: 0; translate: 0 -8px; transition: opacity .3s var(--l-out), translate .45s var(--l-spring), background-color .2s var(--l-out); }
.lv-resume[hidden] { display: none; }
.lv-resume.is-on { opacity: 1; translate: 0 0; }
.lv-resume:hover { background: #fff; }
.lv-resume svg { width: 15px; height: 15px; }
.lv-resume:focus-visible { outline: 2px solid var(--l-lilac); outline-offset: 2px; }
.lv-player.is-playing .lv-resume { opacity: 0; pointer-events: none; }
@media (max-width: 760px) { .lv-resume { left: 12px; top: 12px; height: 44px; font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { .lv-resume { transition: none; } }

/* ── the transcript on paper: only .lv-print prints, black on white, the serif for what is read ── */
.lv-print { display: none; }
@media print {
  @page { margin: 18mm 16mm; }
  html, body { background: #fff !important; color: #1A1A1A !important; }
  body > :not(.lv-print) { display: none !important; }
  .lv-print { display: block; font-family: var(--l-sans, system-ui, sans-serif); color: #1A1A1A; }
  .lv-print header { padding-bottom: 12pt; border-bottom: .75pt solid #BDBDBD; margin-bottom: 14pt; }
  .lv-print-brand { margin: 0 0 6pt; font-size: 9.5pt; color: #4D4D4D; }
  .lv-print h1 { margin: 0 0 6pt; font-family: var(--l-serif, Georgia, serif); font-size: 22pt; font-weight: 400; line-height: 1.2; }
  .lv-print-meta { margin: 2pt 0 0; font-size: 9.5pt; color: #4D4D4D; word-break: break-all; }
  .lv-print-meta b { font-weight: 400; padding: 0 4pt; border: .5pt solid #8A8A8A; border-radius: 6pt; }
  .lv-print ol { margin: 0; padding: 0; list-style: none; }
  .lv-print li { display: grid; grid-template-columns: 34pt 1fr; gap: 8pt; padding: 4pt 0; break-inside: avoid; }
  .lv-print li span { font-size: 9pt; color: #636363; padding-top: 2pt; font-variant-numeric: tabular-nums; }
  .lv-print li p { margin: 0; font-family: var(--l-serif, Georgia, serif); font-size: 12pt; line-height: 1.5; }
  .lv-print footer { margin-top: 16pt; padding-top: 10pt; border-top: .75pt solid #BDBDBD; font-size: 9.5pt; color: #4D4D4D; }
}

/* On a desktop the clock of the video and the times of its transcript are read at 14 px. */
@media (min-width: 761px) {
  .lv-time, .lv-t { font-size: 14px; }
}

.lv-menu.is-up { translate: 0 6px; }
.lv-menu.is-up.is-open { translate: 0 0; }

/* Reading, 10 November 2026: nothing that is read under 14 px on a desktop or under 15 px on a phone. Sizes only. */
.lv-sample, .lv-note button, .lv-time, .lv-t, .lv-menu button small, .lv-menu-note { font-size: 14px; }
.lv-sample { height: 24px; }
@media (max-width: 760px) {
  .lv-back, .lv-sample-note, .lv-sample, .lv-note, .lv-note button, .lv-time, .lv-t, .lv-pill--sm, .lv-menu button small, .lv-menu-note, .lv-langnote, .lv-meta { font-size: 15px; }
}

/* On a phone the choices sit in a tidy grid: what to listen to and the subtitles each across the width, Share and Save side
   by side under them, all 44 px high */
@media (max-width: 760px) {
  .lv-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .lv-actions > [data-lv-menu="audio"], .lv-actions > [data-lv-menu="subs"] { grid-column: 1 / -1; }
  .lv-actions > [data-lv-menu="audio"] > span, .lv-actions > [data-lv-menu="subs"] > span { flex: 1; text-align: left; }
  .lv-actions > [data-lv-menu="share"], .lv-actions > .lv-save { justify-content: center; }
}
.lv-tx-note { text-wrap: pretty; }

/* ── under the choices (10 November 2026): the summary read two ways, what the video covers, the doctor. Formal and quiet:
   a serif title under a small line with the specialty and the length, hairlines between sections, labels in sentence case at
   15 px, the summary on a plain block of the page's colour (no shadow), an 8 px rhythm. The grey accent only for focus ── */
.lv-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 15px; color: var(--l-ink-3); font-variant-numeric: tabular-nums; }
.lv-meta { margin-top: 8px; }
.lv-read { margin-top: 32px; }
.lv-sec { padding: 24px 0; border-top: 1px solid var(--l-line); }
.lv-sec:last-child { padding-bottom: 0; }
.lv-sec-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 16px; }
.lv-sec-label { margin: 0 0 16px; font-family: var(--l-sans); font-size: 15px; font-weight: 500; line-height: 1.4; color: var(--l-ink-3); }
.lv-sec-head .lv-sec-label { margin: 0; }

/* the switch: two words of equal width in one grey track with a hairline, and one white plate under the one chosen that
   slides to the other, as every choice of two in the family (BiteSized's clean.css section 19, 19 November 2026) */
.lv-switch { position: relative; isolation: isolate; display: inline-grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 3px; border-radius: 999px; background: var(--l-surface-2); box-shadow: inset 0 0 0 1px var(--l-line-2); --seg-i: 0; }
.lv-switch::before { content: ""; position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 3px; width: calc((100% - 8px) / 2); border-radius: 999px; background: var(--l-surface); box-shadow: 0 1px 2px rgba(26,26,26,.1), 0 0 0 1px var(--l-line); transform: translateX(calc(var(--seg-i) * (100% + 2px))); transition: transform .42s var(--l-spring); }
.lv-switch:has(> button:nth-of-type(2)[aria-checked="true"]) { --seg-i: 1; }
.lv-switch:not(:has(> button[aria-checked="true"]))::before { opacity: 0; }
.lv-switch button { position: relative; z-index: 1; height: 34px; padding: 0 16px; border-radius: 999px; font-size: 15px; color: var(--l-ink-3); white-space: nowrap; transition: color .2s var(--l-out); }
.lv-switch button:hover { color: var(--l-ink); }
.lv-switch button[aria-checked="true"] { background: transparent; color: var(--l-ink); box-shadow: none; }
.lv-switch button:focus-visible { outline: 2px solid var(--l-lilac); outline-offset: 1px; }

.lv-sum { padding: 24px; border-radius: 16px; background: var(--l-page); box-shadow: inset 0 0 0 1px var(--l-line); }
.lv-sum [data-lv-sum] { max-width: 68ch; margin: 0; font-family: var(--l-serif); font-size: 19px; line-height: 1.6; color: var(--l-ink); text-wrap: pretty; }
.lv-sum-note { margin: 16px 0 0; font-size: 14px; line-height: 1.45; color: var(--l-ink-3); }

.lv-about { max-width: 68ch; margin: 0; font-size: 17px; line-height: 1.6; color: var(--l-ink-2); text-wrap: pretty; }
.lv-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.lv-chip { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--l-line-2); font-size: 14px; color: var(--l-ink-3); }

.lv-doc { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.lv-doc-face { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--l-surface-2); box-shadow: 0 0 0 1px var(--l-line); }
.lv-doc-initials { display: grid; place-items: center; font-size: 17px; letter-spacing: .02em; color: var(--l-ink-2); }
.lv-doc-who { display: flex; flex-direction: column; gap: 0; min-width: 0; margin: 0; }
.lv-doc-who b { font-size: 17px; font-weight: 500; line-height: 1.4; color: var(--l-ink); }
.lv-doc-who span { font-size: 15px; line-height: 1.4; color: var(--l-ink-3); }
.lv-doc-go { margin-left: auto; text-decoration: none; }

@media (max-width: 760px) {
  .lv-eyebrow { font-size: 15px; }
  .lv-read { margin-top: 24px; }
  .lv-sec-head { flex-direction: column; align-items: stretch; }
  .lv-switch { display: grid; grid-template-columns: 1fr 1fr; }
  .lv-switch button { height: 40px; padding: 0 8px; }
  .lv-sum { padding: 16px; }
  .lv-sum [data-lv-sum] { font-size: 17px; }
  .lv-about { font-size: 16px; }
  .lv-doc-go { width: 100%; margin-left: 0; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .lv-switch button, .lv-switch::before { transition: none; } }

/* the note over the picture on a phone (21 November 2026, audit pass 2: "Starts at 1:10, the part about your question" pushed
   From the start out of the frame): the words take two lines when they need them, the button stays whole beside them */
@media (max-width: 760px) {
  .lv-note { width: max-content; white-space: normal; border-radius: 18px; line-height: 1.35; }
  .lv-note > span { min-width: 0; text-wrap: balance; }
  .lv-note button { white-space: nowrap; }
}
