/* Doctorpedia Library, search first (9 November 2026), in the Doctorpedia design system: Hedvig Letters (the sans for what is pressed
   and scanned, the serif for what is read), ink on white over a quiet page, hairlines, pills, one field behind the search, motion
   that is soft and has a job. Tokens are the system's (~/doctorpedia-design/ds/tokens.css), written here under --l-*.
   Since 19 November 2026 the colours are BiteSized's (its clean.css section 1 and views/grey-pass.css): the accent that was lilac
   is a quiet grey (the token keeps its name, --l-lilac, so nothing that reads it changes), the field is drawn in greys, and the
   page has four tones, White and Paper for the light look and Grey and Black for the dark one, each with a firmer version for
   more contrast. look.js puts the choices on <html> before anything is painted. */

@font-face { font-family: "Hedvig Letters Sans"; src: url("assets/fonts/hedvig-letters-sans-latin-ext.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hedvig Letters Sans"; src: url("assets/fonts/hedvig-letters-sans-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hedvig Letters Serif"; src: url("assets/fonts/hedvig-letters-serif-latin-ext.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hedvig Letters Serif"; src: url("assets/fonts/hedvig-letters-serif-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: light;
  --l-sans: "Hedvig Letters Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --l-serif: "Hedvig Letters Serif", Georgia, "Times New Roman", serif;
  --l-page: #F7F7F5; --l-surface: #FFFFFF; --l-surface-2: #F2F2F0;
  /* the greys under ink, darker since 10 November 2026 so what is read is read easily: ink-2 for secondary text, ink-3 for
     quiet lines and labels (7:1 or more on the white sheet, the page and the grey fill), ink-4 for hints in empty fields */
  --l-ink: #1A1A1A; --l-ink-2: #333333; --l-ink-3: #4A4A4A; --l-ink-4: #545454;
  --l-line: rgba(26,26,26,.08); --l-line-2: rgba(26,26,26,.12); --l-line-3: rgba(26,26,26,.22);
  --l-hover: rgba(26,26,26,.05); --l-press: rgba(26,26,26,.09);
  /* the accent, a quiet grey (BiteSized's grey-pass.css section 1); --l-mark, the soft plate behind a found word, follows it */
  --l-lilac: #6F6F6C; --l-lilac-soft: #ECECE9; --l-mark: var(--l-lilac-soft);
  --l-shadow-1: 0 1px 2px rgba(26,26,26,.04);
  --l-shadow-2: 0 1px 2px rgba(26,26,26,.04), 0 16px 40px -16px rgba(26,26,26,.12);
  --l-shadow-3: 0 1px 2px rgba(26,26,26,.04), 0 22px 48px -20px rgba(26,26,26,.18);
  /* what floats over the page (a panel, a menu, the list under the box): BiteSized's --cl-shadow-pop */
  --l-shadow-pop: 0 0 0 1px rgba(26,26,26,.05), 0 4px 10px -2px rgba(26,26,26,.08), 0 28px 64px -16px rgba(26,26,26,.3);
  --l-out: cubic-bezier(.22,.61,.36,1); --l-spring: cubic-bezier(.16,1,.3,1);
  /* the field's five colours (assets/ds/field.js reads them), greys with enough between them to be seen */
  --ds-field-1: #FFFFFF; --ds-field-2: #E6E6E3; --ds-field-3: #CDCDC9; --ds-field-4: #EDEDEA; --ds-field-5: #FFFFFF;
  --l-read: 760px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --l-page: #141414; --l-surface: #1F1F1F; --l-surface-2: #2A2A2A;
  --l-ink: #F2F2F0; --l-ink-2: #D2D2CF; --l-ink-3: #B5B5B2; --l-ink-4: #A6A6A3;
  --l-line: rgba(255,255,255,.08); --l-line-2: rgba(255,255,255,.13); --l-line-3: rgba(255,255,255,.24);
  --l-hover: rgba(255,255,255,.05); --l-press: rgba(255,255,255,.09);
  --l-lilac: #A3A3A0; --l-lilac-soft: #2C2C2B;
  --l-shadow-1: 0 1px 2px rgba(0,0,0,.3);
  --l-shadow-2: 0 1px 2px rgba(0,0,0,.3), 0 16px 40px -16px rgba(0,0,0,.5);
  --l-shadow-3: 0 1px 2px rgba(0,0,0,.3), 0 22px 48px -20px rgba(0,0,0,.6);
  --l-shadow-pop: 0 0 0 1px rgba(255,255,255,.05), 0 4px 10px -2px rgba(0,0,0,.45), 0 30px 70px -16px rgba(0,0,0,.75);
  --ds-field-1: #1F1F1F; --ds-field-2: #2C2C2C; --ds-field-3: #424242; --ds-field-4: #282828; --ds-field-5: #1F1F1F;
}
/* more contrast, from the device or from this browser's choice (look.js): firmer lines and greys, the same world */
:root.more-contrast { --l-line: rgba(26,26,26,.2); --l-line-2: rgba(26,26,26,.32); --l-line-3: rgba(26,26,26,.5); --l-ink-4: #404040; --l-ink-3: #383838; --l-ink-2: #222222; --l-lilac: #4A4A48; }
:root.more-contrast[data-theme="dark"] { --l-line: rgba(255,255,255,.2); --l-line-2: rgba(255,255,255,.3); --l-line-3: rgba(255,255,255,.5); --l-ink-4: #B5B5B2; --l-ink-3: #C8C8C5; --l-ink-2: #E6E6E3; --l-lilac: #C6C6C3; }

/* ── Page tones, as BiteSized has them (views/grey-pass.css section 6; look.js writes data-tone-light and data-tone-dark).
      White is cool and clean; Paper is warm, a little beige, its field a warm neutral; Grey is a soft dark; Black is the
      darkest. Each tone keeps a grey accent of its own family. Paper's two quietest greys are a step darker than
      BiteSized's, so they keep Ask's 7:1 on the sheet and the grey fill (10 November 2026). ── */
:root:not([data-theme="dark"])[data-tone-light="white"] {
  --l-page: #F4F5F6; --l-surface: #FFFFFF; --l-surface-2: #EEF0F2;
  --l-ink: #16181B; --l-ink-2: #272A2E; --l-ink-3: #44484E; --l-ink-4: #4E535A;
  --l-line: rgba(22,24,27,.08); --l-line-2: rgba(22,24,27,.12); --l-line-3: rgba(22,24,27,.22);
  --l-hover: rgba(22,24,27,.05); --l-press: rgba(22,24,27,.09);
  --l-lilac: #6E737A; --l-lilac-soft: #E9ECEF;
  --ds-field-1: #FFFFFF; --ds-field-2: #E3E6EA; --ds-field-3: #C9CED5; --ds-field-4: #EBEEF1; --ds-field-5: #FFFFFF;
}
:root:not([data-theme="dark"])[data-tone-light="paper"] {
  --l-page: #F4EEE2; --l-surface: #FBF7EF; --l-surface-2: #EFE7D8;
  --l-ink: #2B2620; --l-ink-2: #3A332A; --l-ink-3: #52493D; --l-ink-4: #574E42;
  --l-line: rgba(70,52,28,.10); --l-line-2: rgba(70,52,28,.15); --l-line-3: rgba(70,52,28,.26);
  --l-hover: rgba(70,52,28,.05); --l-press: rgba(70,52,28,.09);
  --l-lilac: #857865; --l-lilac-soft: #EAE0CE;
  --ds-field-1: #FBF8F2; --ds-field-2: #ECE8E0; --ds-field-3: #DAD5CB; --ds-field-4: #F2EFE9; --ds-field-5: #FBF8F2;
}
:root[data-theme="dark"][data-tone-dark="grey"] {
  --l-page: #1C1C1E; --l-surface: #262628; --l-surface-2: #313134;
  --l-ink: #F2F2F3; --l-ink-2: #DADADC; --l-ink-3: #B3B3B7; --l-ink-4: #A9A9AD;
  --l-line: rgba(255,255,255,.09); --l-line-2: rgba(255,255,255,.14); --l-line-3: rgba(255,255,255,.25);
  --l-hover: rgba(255,255,255,.05); --l-press: rgba(255,255,255,.09);
  --l-lilac: #A4A6AB; --l-lilac-soft: #303033;
  --ds-field-1: #262628; --ds-field-2: #333336; --ds-field-3: #48484D; --ds-field-4: #2E2E31; --ds-field-5: #262628;
}
:root[data-theme="dark"][data-tone-dark="black"] {
  --l-page: #000000; --l-surface: #121213; --l-surface-2: #1C1C1E;
  --l-ink: #EDEDED; --l-ink-2: #D4D4D4; --l-ink-3: #ABABAB; --l-ink-4: #A0A0A0;
  --l-line: rgba(255,255,255,.08); --l-line-2: rgba(255,255,255,.13); --l-line-3: rgba(255,255,255,.22);
  --l-hover: rgba(255,255,255,.05); --l-press: rgba(255,255,255,.09);
  --l-lilac: #9A9A9A; --l-lilac-soft: #232325;
  --ds-field-1: #121213; --ds-field-2: #1E1E20; --ds-field-3: #333336; --ds-field-4: #19191B; --ds-field-5: #121213;
}
/* more contrast in every tone: the tones set the lines and the greys, so the firmer ones are restated after them */
:root.more-contrast:not([data-theme="dark"])[data-tone-light="white"] { --l-line: rgba(22,24,27,.22); --l-line-2: rgba(22,24,27,.34); --l-line-3: rgba(22,24,27,.52); --l-ink-4: #3A3E44; --l-ink-3: #33363B; --l-ink-2: #1D1F22; --l-lilac: #4A4E54; }
:root.more-contrast:not([data-theme="dark"])[data-tone-light="paper"] { --l-line: rgba(60,45,25,.24); --l-line-2: rgba(60,45,25,.36); --l-line-3: rgba(60,45,25,.54); --l-ink-4: #463E33; --l-ink-3: #3E372D; --l-ink-2: #2A2520; --l-lilac: #5E5446; }
:root.more-contrast[data-theme="dark"][data-tone-dark="grey"] { --l-line: rgba(255,255,255,.22); --l-line-2: rgba(255,255,255,.32); --l-line-3: rgba(255,255,255,.52); --l-ink-4: #C4C4C8; --l-ink-3: #D0D0D4; --l-ink-2: #EBEBED; --l-lilac: #C8CACE; }
:root.more-contrast[data-theme="dark"][data-tone-dark="black"] { --l-line: rgba(255,255,255,.22); --l-line-2: rgba(255,255,255,.32); --l-line-3: rgba(255,255,255,.52); --l-ink-4: #BDBDBD; --l-ink-3: #CCCCCC; --l-ink-2: #E6E6E6; --l-lilac: #C2C2C2; }

/* the background texture turned off (look.js, bs-field "off"): a plain page; a field that is not shown does not draw */
html.no-field .lib-field { display: none !important; }
/* nothing moves, by this browser's choice (look.js); the device's own setting is met by each part's reduced-motion rules */
html.a11y-reduce-motion *, html.a11y-reduce-motion *::before, html.a11y-reduce-motion *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
/* Always underline links (look.js); the name beside the mark is the way home, not a link in a text */
html.a11y-underline a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
html.a11y-underline :is(.lib-brand, .one-brand, .one-art-brand), html.a11y-underline :is(.lib-brand, .one-brand, .one-art-brand) * { text-decoration: none; }

*, *::before, *::after { box-sizing: border-box; }
html { font-synthesis: none; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--l-page); color: var(--l-ink); font-family: var(--l-sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
svg { display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:where(a, button, input, [tabindex]):focus-visible { outline: 2px solid var(--l-lilac); outline-offset: 2px; }
::selection { background: var(--l-lilac-soft); color: var(--l-ink); }
/* the icons drawn a little finer, nearer BiteSized's (about 1.5 on 24); the family's marks are drawn by mark.css */
:is(.lib, .lib-menu, .lib-youbox, .lib-toast) svg[stroke="currentColor"][stroke-width] { stroke-width: 1.6; }
@keyframes l-rise { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }

/* ── the frame: one white panel on the warm page ── */
/* the height of the window in the page's own measure: with Larger text the page is drawn 1.16 times its size, so a
   rule that fills the window counts a window that much shorter, and the first screen still fits */
:root { --l-vh: 100vh; }
html[data-text="large"] { --l-vh: calc(100vh / 1.16); }
.lib { min-height: var(--l-vh); padding: 12px; }
.lib-main { position: relative; min-height: calc(var(--l-vh) - 24px); border-radius: 20px; background: var(--l-surface); box-shadow: 0 0 0 1px var(--l-line); overflow: hidden; }
.lib-top { position: fixed; z-index: 30; top: 12px; left: 12px; right: 12px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; height: 72px; padding: 0 24px; border-radius: 20px 20px 0 0; transition: background-color .3s var(--l-out), box-shadow .3s var(--l-out); }
html.is-scrolled .lib-top { background: color-mix(in srgb, var(--l-surface) 92%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--l-line); }
.lib-main { padding-top: 72px; }
.lib-brand { display: inline-flex; align-items: center; gap: 12px; font-size: 18px; letter-spacing: -.01em; white-space: nowrap; }
.lib-brand em { font-style: normal; color: var(--l-ink-3); }
.lib-mark { display: grid; place-items: center; width: 36px; height: 36px; }   /* the mark on its own, no tile (18 November 2026, assets/brand/mark.js draws it and plays it once on hover) */
@keyframes l-draw { from { stroke-dashoffset: 72; } to { stroke-dashoffset: 0; } }
@keyframes l-redraw { 0% { stroke-dashoffset: 0; } 45% { stroke-dashoffset: -72; } 46% { stroke-dashoffset: 72; } 100% { stroke-dashoffset: 0; } }
/* the small search in the bar, on the results and a video */
.lib-mini { justify-self: center; display: flex; align-items: center; gap: 10px; width: min(560px, 100%); height: 44px; padding: 0 16px; border-radius: 999px; background: var(--l-surface); box-shadow: inset 0 0 0 1px var(--l-line-2); transition: box-shadow .3s var(--l-out); }
.lib-mini:hover { box-shadow: inset 0 0 0 1px var(--l-line-3); }
.lib-mini:focus-within { box-shadow: inset 0 0 0 1px var(--l-lilac), 0 0 0 4px color-mix(in srgb, var(--l-lilac) 16%, transparent); }
.lib-mini-ic svg { width: 18px; height: 18px; color: var(--l-ink-3); }
.lib-mini input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 15.5px; }
.lib-mini input::placeholder { color: var(--l-ink-4); }
html[data-page="search"] .lib-top .lib-mini { visibility: hidden; }

/* ── the search: a title in the serif and the one box ── */
.lib-home { position: relative; display: grid; place-items: center; min-height: calc(var(--l-vh) - 24px - 72px); padding: 40px 24px 80px; }
.lib-field { position: absolute; left: 0; right: 0; top: -72px; height: 62%; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--l-out);
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent); mask-image: linear-gradient(to bottom, #000 30%, transparent); }
html.has-field .lib-field, .lib-field.is-flat { opacity: 1; }
.lib-field.is-flat { background: linear-gradient(to bottom, var(--l-lilac-soft), transparent); }
.lib-field canvas { display: block; width: 100% !important; height: 100% !important; }
.lib-home-in { position: relative; z-index: 1; width: min(760px, 100%); text-align: center; }
.lib-eyebrow { margin: 0; font-size: 17px; color: var(--l-ink-3); animation: l-rise .55s var(--l-spring) both; }
.lib-hello { margin: 10px auto 34px; max-width: 14em; font-family: var(--l-serif); font-size: 50px; font-weight: 400; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; animation: l-rise .55s var(--l-spring) .06s both; }
.lib-note { margin: 18px 0 0; font-size: 14.5px; color: var(--l-ink-3); animation: l-rise .55s var(--l-spring) .16s both; }

/* the box: white, one hairline and the lightest shadow, as BiteSized's search (19 November 2026: the light that travelled its
   edge is gone); typing in it rings it in the grey accent. The words, the two choices and the button */
.lib-box { position: relative; display: grid; gap: 10px; padding: 14px 14px 12px 22px; border-radius: 22px; background: var(--l-surface); box-shadow: 0 0 0 1px var(--l-line-2), var(--l-shadow-1); text-align: left; animation: l-rise .55s var(--l-spring) .1s both; transition: box-shadow .25s var(--l-out); }
.lib-box:hover { box-shadow: 0 0 0 1px var(--l-line-3), var(--l-shadow-1); }
.lib-box:focus-within { box-shadow: 0 0 0 1px var(--l-lilac), 0 0 0 4px color-mix(in srgb, var(--l-lilac) 16%, transparent), var(--l-shadow-1); }
.lib-box input[type="search"] { width: 100%; min-height: 56px; border: 0; outline: 0; background: transparent; font-size: 19px; color: var(--l-ink); }
.lib-box input[type="search"]::placeholder { color: var(--l-ink-4); }
.lib-box input::-webkit-search-cancel-button { -webkit-appearance: none; }
.lib-box-row { display: flex; align-items: center; gap: 8px; }
.lib-pick { display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 12px 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--l-line-2); background: var(--l-surface); font-size: 14.5px; color: var(--l-ink); transition: box-shadow .25s var(--l-out), background-color .25s var(--l-out); }
.lib-pick svg { width: 16px; height: 16px; color: var(--l-ink-3); }
.lib-pick:hover, .lib-pick[aria-expanded="true"] { box-shadow: inset 0 0 0 1px var(--l-line-3); background: var(--l-hover); }
.lib-go { margin-left: auto; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--l-ink); color: var(--l-surface); transition: background-color .25s var(--l-out), translate .35s var(--l-spring), scale .12s var(--l-out); }
.lib-go svg { width: 20px; height: 20px; }
.lib-go:hover { background: color-mix(in srgb, var(--l-ink) 86%, var(--l-surface)); translate: 0 -1px; }
.lib-go:active { scale: .95; }
.lib-box:not(.is-big) { padding: 8px 8px 8px 20px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; border-radius: 999px; animation: none; }
.lib-box:not(.is-big) input[type="search"] { min-height: 48px; font-size: 17px; }

/* ── the menus of the two choices ── */
.lib-menu { position: absolute; z-index: 80; max-height: min(60vh, 420px); overflow: auto; padding: 6px; border-radius: 16px; background: var(--l-surface); box-shadow: 0 0 0 1px var(--l-line-2), var(--l-shadow-pop); opacity: 0; translate: 0 -6px; transition: opacity .2s var(--l-out), translate .34s var(--l-spring); }
.lib-menu.is-open { opacity: 1; translate: 0 0; }
.lib-menu button { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; min-height: 44px; padding: 8px 12px; border-radius: 10px; text-align: left; font-size: 15px; transition: background-color .2s var(--l-out); }
.lib-menu button:hover, .lib-menu button:focus-visible { background: var(--l-hover); outline: none; }
/* the keyboard's row has the look's ring as well as the tint, drawn inside the row so the edge of the list cannot cut it */
.lib-menu button:focus-visible { outline: 2px solid var(--l-lilac); outline-offset: -2px; }
.lib-menu button svg { width: 17px; height: 17px; opacity: 0; }
.lib-menu button[aria-checked="true"] svg { opacity: 1; }

/* ── the results: the box at the top, what was searched in the serif, then the videos, closest first ── */
.lib-results { width: min(920px, 100%); margin: 0 auto; padding: 8px 32px 80px; }
.lib-res-head { margin: 34px 0 18px; }
.lib-res-title { margin: 0; font-family: var(--l-serif); font-size: 38px; font-weight: 400; line-height: 1.12; letter-spacing: -.015em; animation: l-rise .5s var(--l-spring) both; }
/* a very long question stays a heading, not a page of it (20 November 2026, audit: 2,400 characters filled the screen):
   three lines at most, the rest still read out by a screen reader */
.lib-res-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; overflow-wrap: anywhere; padding-bottom: .08em; margin-bottom: -.08em; }
.lib-count { margin: 8px 0 0; min-height: 22px; font-size: 15px; color: var(--l-ink-3); }
.lib-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.lib-row { position: relative; animation: l-rise .5s var(--l-spring) both; animation-delay: calc(var(--i) * 45ms); }
.lib-row-a { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; padding: 18px 64px 18px 18px; margin: 0 -18px; border-radius: 20px; transition: background-color .3s var(--l-out); }
.lib-row-a:hover { background: var(--l-hover); }
.lib-cover { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--l-surface-2); box-shadow: inset 0 0 0 1px var(--l-line); }
.lib-cover img { width: 100%; height: 100%; object-fit: cover; transition: scale .9s var(--l-spring); }
.lib-row-a:hover .lib-cover img { scale: 1.03; }
.lib-dur, .lib-sample { position: absolute; bottom: 8px; padding: 2px 8px; border-radius: 999px; font-size: 12px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.lib-dur { right: 8px; background: rgba(10,10,10,.72); color: #fff; }
.lib-sample { left: 8px; top: 8px; bottom: auto; background: rgba(255,255,255,.92); color: #1A1A1A; }
.lib-playmark { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.94); color: #1A1A1A; opacity: 0; scale: .9; transition: opacity .3s var(--l-out), scale .4s var(--l-spring); }
.lib-playmark svg { width: 18px; height: 18px; margin-left: 2px; }
.lib-row-a:hover .lib-playmark { opacity: 1; scale: 1; }
.lib-row-t { display: grid; align-content: start; gap: 6px; min-width: 0; padding-top: 2px; }
.lib-first { justify-self: start; padding: 2px 10px; border-radius: 999px; background: var(--l-surface-2); font-size: 12.5px; color: var(--l-ink-2); }
.lib-title { font-family: var(--l-serif); font-size: 23px; line-height: 1.22; letter-spacing: -.01em; text-wrap: pretty; }
.lib-meta { font-size: 14px; color: var(--l-ink-3); }
.lib-why { display: flex; align-items: flex-start; gap: 8px; margin-top: 4px; font-size: 14.5px; color: var(--l-ink-2); }
.lib-why svg { flex: none; width: 15px; height: 15px; margin-top: 3px; color: var(--l-lilac); }
.lib-quote { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--l-surface-2); font-size: 15px; line-height: 1.5; color: var(--l-ink-2); }
.lib-at { font-variant-numeric: tabular-nums; font-size: 13px; color: var(--l-ink-3); padding-top: 2px; }
.lib-quote mark, .lib-row mark { background: var(--l-mark); color: var(--l-ink); border-radius: 4px; padding: 0 2px; }
.lib-save-mini { position: absolute; top: 18px; right: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--l-ink-2); transition: background-color .25s var(--l-out), color .25s var(--l-out); }
.lib-save-mini svg { width: 20px; height: 20px; }
.lib-save-mini:hover { background: var(--l-hover); color: var(--l-ink); }
.lib-save-mini[aria-pressed="true"] { color: var(--l-ink); }
.lib-none { margin: 40px 0; padding: 40px 32px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--l-line); text-align: center; color: var(--l-ink-2); }
.lib-none-h { margin: 0 0 6px; font-family: var(--l-serif); font-size: 26px; color: var(--l-ink); }
.lib-btn { display: inline-flex; align-items: center; height: 46px; margin-top: 14px; padding: 0 22px; border-radius: 999px; background: var(--l-ink); color: var(--l-surface); font-size: 15px; transition: background-color .25s var(--l-out); }
.lib-btn:hover { background: color-mix(in srgb, var(--l-ink) 86%, var(--l-surface)); }

/* ── a note ── */
.lib-toast { position: fixed; z-index: 90; left: 50%; bottom: 28px; translate: -50% 16px; padding: 12px 20px; border-radius: 999px; background: var(--l-ink); color: var(--l-surface); font-size: 15px; box-shadow: var(--l-shadow-3); opacity: 0; pointer-events: none; transition: opacity .25s var(--l-out), translate .4s var(--l-spring); }
.lib-toast.is-on { opacity: 1; translate: -50% 0; }
/* a long note (signing out, audit pass 6): as wide as its words up to the window less its margins, then a rounded box */
.lib-toast { width: max-content; max-width: min(560px, calc(100vw - 32px)); }
.lib-toast.is-long { border-radius: 18px; text-align: center; line-height: 1.45; }
html[data-text="large"] .lib-toast { max-width: min(560px, calc((100vw - 32px) / 1.16)); }

/* ── phones ── */
@media (max-width: 760px) {
  .lib { padding: 0; }
  .lib-main { border-radius: 0; box-shadow: none; min-height: var(--l-vh); padding-top: 64px; }
  .lib-top { top: 0; left: 0; right: 0; height: 64px; padding: 0 16px; border-radius: 0; gap: 10px; }
  .lib-top.has-field { grid-template-columns: auto minmax(0, 1fr) auto; }
  .lib-name { display: none; }
  .lib-home { padding: 24px 16px 60px; min-height: calc(var(--l-vh) - 64px); }
  .lib-hello { font-size: 36px; margin-bottom: 24px; }
  .lib-eyebrow { font-size: 15px; }
  .lib-box { padding: 10px 10px 10px 16px; }
  .lib-box input[type="search"] { font-size: 17px; min-height: 48px; }
  .lib-box-row { flex-wrap: wrap; }
  .lib-pick { height: 40px; font-size: 14px; }
  .lib-box:not(.is-big) { border-radius: 22px; grid-template-columns: 1fr; padding: 6px 8px 10px 16px; gap: 4px; }
  .lib-box:not(.is-big) input[type="search"] { padding-right: 52px; }
  .lib-box:not(.is-big) .lib-go { position: absolute; top: 6px; right: 6px; }
  .lib-box:not(.is-big) .lib-box-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .lib-results { padding: 4px 16px 60px; }
  .lib-res-title { font-size: 30px; }
  .lib-row-a { grid-template-columns: 1fr; gap: 12px; padding: 14px 14px 18px; margin: 0 -14px; }
  .lib-title { font-size: 21px; padding-right: 40px; }
  .lib-save-mini { top: auto; right: 4px; margin-top: 0; }
  .lib-row-a + .lib-save-mini { top: calc((100vw - 32px) * 9 / 16 + 22px); }
}
@media (prefers-reduced-motion: reduce) {
  .lib-mark svg path, .lib-eyebrow, .lib-hello, .lib-note, .lib-box, .lib-row, .lib-res-title { animation: none !important; }
}

/* ── The search, second pass (Sergio, 9 November 2026: a page for videos should look like one; the box should suggest the specialty
      and the language as the words are typed, easy to take away; a profile's specialty and language come set) ── */
/* the search beside a doctor speaking: the moment found, the subtitles changing language each time round */
.lib-home-in { width: min(1180px, 100%); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 56px; text-align: left; }
.lib-home-text .lib-hello { margin-left: 0; max-width: 12em; }
.lib-home-text .lib-box { margin: 0; }
.lib-show { position: relative; margin: 0; height: 560px; animation: l-rise .7s var(--l-spring) .18s both; }
.lib-show-card, .lib-show-back { position: absolute; overflow: hidden; border-radius: 26px; background: var(--l-surface-2); box-shadow: var(--l-shadow-3); }
.lib-show-card { inset: 30px 40px 30px 70px; z-index: 2; background: #111; }
.lib-show-back img, .lib-show-v { width: 100%; height: 100%; object-fit: cover; display: block; }
.lib-show-b1 { z-index: 1; left: 0; top: 0; width: 46%; aspect-ratio: 16 / 10; rotate: -5deg; opacity: .95; animation: l-float 9s ease-in-out infinite alternate; }
.lib-show-b2 { z-index: 1; right: 0; bottom: 0; width: 48%; aspect-ratio: 16 / 10; rotate: 4deg; opacity: .95; animation: l-float 11s ease-in-out -3s infinite alternate-reverse; }
@keyframes l-float { from { translate: 0 0; } to { translate: 0 -12px; } }
.lib-show-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.62), rgba(0,0,0,0) 46%), linear-gradient(to bottom, rgba(0,0,0,.28), rgba(0,0,0,0) 26%); pointer-events: none; }
.lib-show-sample { position: absolute; z-index: 3; top: 16px; left: 16px; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.92); color: #1A1A1A; font-size: 12.5px; }
.lib-show-q { position: absolute; z-index: 3; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 8px; max-width: 70%; height: 38px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.94); color: #1A1A1A; font-size: 13.5px; box-shadow: 0 8px 24px -12px rgba(0,0,0,.5); }
.lib-show-q svg { width: 16px; height: 16px; flex: none; color: #636363; }
.lib-show-q span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lib-show-cc { position: absolute; z-index: 3; left: 24px; right: 24px; bottom: 74px; text-align: center; color: #fff; font-size: 19px; line-height: 1.35; text-shadow: 0 1px 12px rgba(0,0,0,.55); opacity: 0; translate: 0 6px; transition: opacity .35s var(--l-out), translate .45s var(--l-spring); text-wrap: balance; }
.lib-show-cc.is-on { opacity: 1; translate: 0 0; }
.lib-show-lang { position: absolute; z-index: 3; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px 0 11px; border-radius: 999px; background: rgba(20,20,20,.55); color: #fff; font-size: 13.5px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lib-show-lang svg { width: 16px; height: 16px; }
.lib-show-lang b { font-weight: 400; }
.lib-show-found { position: absolute; z-index: 3; right: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.94); color: #1A1A1A; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.lib-show-found b { font-weight: 400; }
.lib-show-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--l-lilac); box-shadow: 0 0 0 4px color-mix(in srgb, var(--l-lilac) 25%, transparent); }
@media (prefers-reduced-motion: reduce) { .lib-show-b1, .lib-show-b2 { animation: none; } }

/* the two choices, and how each came */
.lib-picks { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.lib-pick-w { position: relative; display: inline-flex; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--l-line-2); background: var(--l-surface); transition: box-shadow .3s var(--l-out), background-color .3s var(--l-out); }
.lib-pick-w .lib-pick { box-shadow: none; background: transparent; }
.lib-pick-w:hover { box-shadow: inset 0 0 0 1px var(--l-line-3); }
.lib-pick-w.is-set { box-shadow: inset 0 0 0 1px var(--l-ink); }
.lib-pick-w.is-suggested { background: color-mix(in srgb, var(--l-lilac-soft) 70%, var(--l-surface)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--l-lilac) 45%, transparent); }
.lib-pick-w.is-profile { background: var(--l-surface-2); box-shadow: none; }
.lib-pick-w.is-new { animation: l-suggest .7s var(--l-spring); }
@keyframes l-suggest { 0% { scale: .94; opacity: .4; } 60% { scale: 1.03; opacity: 1; } 100% { scale: 1; } }
.lib-pick-how { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-left: -4px; color: var(--l-lilac); }
.lib-pick-how svg { width: 15px; height: 15px; }
.is-profile .lib-pick-how { color: var(--l-ink-3); }
.lib-pick-w[class*="is-"] .lib-pick { padding-right: 4px; }
.lib-pick-x { display: grid; place-items: center; width: 32px; height: 32px; margin-right: 5px; border-radius: 50%; color: var(--l-ink-3); transition: background-color .2s var(--l-out), color .2s var(--l-out); }
.lib-pick-x svg { width: 15px; height: 15px; }
.lib-pick-x:hover { background: var(--l-hover); color: var(--l-ink); }
.lib-menu button > span { display: grid; }
.lib-menu small { font-size: 12.5px; color: var(--l-ink-3); }
/* the live line: how many videos, as the words are typed */
.lib-note { transition: color .3s var(--l-out); min-height: 22px; }
.lib-note.is-live { color: var(--l-ink-2); }
.lib-home-text .lib-note { text-align: left; padding-left: 6px; }

/* the results: the videos in the chosen language first, then a quiet line, then the others */
.lib-divide { list-style: none; margin: 18px 0 6px; padding-top: 18px; border-top: 1px solid var(--l-line); font-size: 14px; color: var(--l-ink-3); }
.lib-in { font-weight: 400; color: var(--l-ink); }

/* You: the specialty and the language a search starts with */
.lib-top-r { justify-self: end; display: inline-flex; align-items: center; gap: 8px; }
.lib-you { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--l-surface); box-shadow: inset 0 0 0 1px var(--l-line-2); color: var(--l-ink-2); transition: box-shadow .25s var(--l-out), color .25s var(--l-out); }
.lib-you svg { width: 20px; height: 20px; }
.lib-you:hover, .lib-you[aria-expanded="true"] { box-shadow: inset 0 0 0 1px var(--l-line-3); color: var(--l-ink); }
.lib-youbox { position: absolute; z-index: 85; width: 320px; padding: 18px; border-radius: 18px; background: var(--l-surface); box-shadow: 0 0 0 1px var(--l-line-2), var(--l-shadow-pop); opacity: 0; translate: 0 -6px; transition: opacity .2s var(--l-out), translate .34s var(--l-spring); }
.lib-youbox.is-open { opacity: 1; translate: 0 0; }
.lib-youbox-h { margin: 0; font-family: var(--l-serif); font-size: 22px; }

@media (max-width: 1080px) {
  .lib-home-in { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .lib-home-text .lib-hello { margin-left: auto; margin-right: auto; }
  .lib-home-text .lib-note { text-align: center; }
  .lib-show { height: 440px; width: min(620px, 100%); margin: 0 auto; }
}
@media (max-width: 760px) {
  .lib-show { height: 300px; }
  .lib-show-card { inset: 18px 18px 18px 30px; border-radius: 20px; }
  .lib-show-b1 { width: 44%; } .lib-show-b2 { width: 46%; }
  .lib-show-cc { font-size: 15px; bottom: 62px; left: 14px; right: 14px; }
  .lib-show-q { font-size: 12.5px; height: 34px; }
  .lib-youbox { width: calc(100vw - 24px); }
}

/* ── The search alone (Sergio, 9 November 2026, later: the sample film and the floating cards took seriousness from the page and pulled
      the eye from the search). One centred column: the name, the question in the serif, the box, one quiet line of what the Library holds ── */
.lib-home-in { width: min(760px, 100%); display: block; text-align: center; }
.lib-home-in .lib-hello { margin-left: auto; margin-right: auto; max-width: 13em; }
.lib-home-in .lib-box { margin: 0; }
.lib-home-in .lib-note { text-align: center; padding-left: 0; }
.lib-show { display: none; }

/* ── One box (Sergio, 9 November 2026: no specialty or language buttons; the words say it). The title says what the Library is
      for; the box shows real questions one after another while it is empty; under it, what was understood as it is typed ── */
.lib-hello { max-width: none !important; font-size: 48px; }
.lib-hello span { display: block; color: var(--l-ink-3); }
.lib-lead { margin: -18px 0 30px; font-size: 17px; color: var(--l-ink-2); animation: l-rise .55s var(--l-spring) .1s both; }
.lib-box, .lib-box.is-big, .lib-box:not(.is-big) { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 24px; border-radius: 999px; grid-template-columns: none; }
.lib-q-wrap { position: relative; flex: 1; min-width: 0; display: block; }
.lib-box input[type="search"] { min-height: 56px; font-size: 19px; padding: 0; }
.lib-box:not(.is-big) input[type="search"] { min-height: 46px; font-size: 17px; padding-right: 0; }
.lib-box .lib-go { position: static; width: 52px; height: 52px; margin: 0; flex: none; }
.lib-box:not(.is-big) .lib-go { width: 46px; height: 46px; }
.lib-ph { position: absolute; inset: 0; display: flex; align-items: center; pointer-events: none; overflow: hidden; color: var(--l-ink-4); font-size: 19px; transition: opacity .2s var(--l-out); }
.lib-ph.is-hidden { opacity: 0; }
.lib-ph-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .38s var(--l-out), translate .42s var(--l-spring); }
.lib-ph-t.is-out { opacity: 0; translate: 0 -6px; }
.lib-home-in .lib-note { margin-top: 16px; min-height: 22px; }
.lib-scope { margin: 10px 0 0; font-size: 15px; color: var(--l-ink-2); }
.lib-scope a { color: var(--l-ink); text-decoration: underline; text-decoration-color: var(--l-line-3); text-underline-offset: 4px; transition: text-decoration-color .25s var(--l-out); }
.lib-scope a:hover { text-decoration-color: var(--l-ink); }
.lib-results > .lib-box { margin-top: 8px; }
@media (max-width: 760px) {
  .lib-hello { font-size: 34px; }
  .lib-lead { font-size: 15.5px; margin: -14px 0 22px; }
  .lib-box, .lib-box.is-big, .lib-box:not(.is-big) { padding: 6px 6px 6px 18px; border-radius: 999px; }
  .lib-box input[type="search"], .lib-ph { font-size: 16.5px; }
  .lib-box .lib-go { width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) { .lib-ph-t, .lib-lead { transition: none; animation: none; } }
@media (max-width: 760px) { .lib-hello { font-size: 30px; } }

/* ── Suggestions while typing (find-suggest.js): a white list under the box, rows of 52 px, the typed part quiet and what the list adds
      in ink; a specialty or a doctor with their count; the two closest videos with their picture, opening at the moment ── */
.lib-box { position: relative; }
.lib-sug { position: absolute; z-index: 70; left: 0; right: 0; top: calc(100% + 8px); padding: 6px; border-radius: 22px; background: var(--l-surface); box-shadow: 0 0 0 1px var(--l-line-2), var(--l-shadow-pop); text-align: left;
  opacity: 0; translate: 0 -6px; transition: opacity .18s var(--l-out), translate .34s var(--l-spring); }
.lib-sug.is-open { opacity: 1; translate: 0 0; }
.lib-sug-row { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 52px; padding: 8px 16px; border-radius: 14px; text-align: left; font-size: 17px; color: var(--l-ink-3); transition: background-color .18s var(--l-out); }
.lib-sug-row:hover, .lib-sug-row[aria-selected="true"] { background: var(--l-hover); }
.lib-sug-row[aria-selected="true"] { box-shadow: inset 0 0 0 1px var(--l-line-2); }
.lib-sug-ic { flex: none; display: grid; place-items: center; width: 22px; color: var(--l-ink-4); }
.lib-sug-ic svg { width: 18px; height: 18px; }
.is-scope .lib-sug-ic, .is-doctor .lib-sug-ic { color: var(--l-lilac); }
.lib-sug-main { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lib-sug-main b { font-weight: 400; color: var(--l-ink); }
.is-scope .lib-sug-main, .is-doctor .lib-sug-main, .is-mend .lib-sug-main { color: var(--l-ink); }
.lib-sug-n { flex: none; font-size: 13.5px; color: var(--l-ink-4); font-variant-numeric: tabular-nums; }
.lib-sug-row.is-video { gap: 14px; padding: 8px 12px; }
.lib-sug-row.is-after { margin-top: 6px; position: relative; }
.lib-sug-row.is-after::before { content: ''; position: absolute; left: 12px; right: 12px; top: -4px; height: 1px; background: var(--l-line); }
.lib-sug-thumb { flex: none; width: 88px; aspect-ratio: 16 / 9; border-radius: 9px; overflow: hidden; background: var(--l-surface-2); box-shadow: inset 0 0 0 1px var(--l-line); }
.lib-sug-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lib-sug-t { flex: 1; min-width: 0; display: grid; gap: 2px; }
.lib-sug-t .lib-sug-main { font-family: var(--l-serif); font-size: 17.5px; color: var(--l-ink); }
.lib-sug-sub { font-size: 13.5px; color: var(--l-ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 760px) {
  .lib-sug { border-radius: 18px; left: -2px; right: -2px; }
  .lib-sug-row { font-size: 16px; padding: 8px 12px; }
  .lib-sug-thumb { width: 72px; }
  .lib-sug-n { display: none; }
}
@media (prefers-reduced-motion: reduce) { .lib-sug { transition: opacity .01s; translate: none; } }
/* the list has room: the box sits above the line under it, and on the search page the question rises to make room for the list */
.lib-box { z-index: 20; }
html.has-sug .lib-note { opacity: 0; }
.lib-home-in { transition: translate .55s var(--l-spring); }
.lib-hello, .lib-lead { transition: opacity .4s var(--l-out); }
html.has-sug .lib-page-home .lib-home-in { translate: 0 -170px; }
/* !important: the entrance animation of these two keeps its last frame, and only this outranks it */
html.has-sug .lib-page-home .lib-lead { opacity: 0 !important; }
@media (max-width: 760px) {
  html.has-sug .lib-page-home .lib-home-in { translate: 0 -230px; }
  html.has-sug .lib-page-home .lib-hello { opacity: 0 !important; }
}
@media (prefers-reduced-motion: reduce) { .lib-home-in { transition: none; } }

/* ── For anyone, and for a person of seventy first (9 November 2026, "haz todo") ─────────────────────────────────────────── */
/* asking out loud: a pill with its word on the search page, a round in the small box; while listening it is ink, with a soft ring that
   breathes, and the box says it is listening */
.lib-mic { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px 0 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--l-line-2); background: var(--l-surface); color: var(--l-ink); font-size: 15.5px; transition: box-shadow .25s var(--l-out), background-color .25s var(--l-out), color .25s var(--l-out); }
.lib-box:not(.is-big) .lib-mic { width: 46px; height: 46px; padding: 0; justify-content: center; }
.lib-mic svg { width: 20px; height: 20px; }
.lib-mic:hover { box-shadow: inset 0 0 0 1px var(--l-line-3); }
.lib-mic[aria-pressed="true"] { background: var(--l-ink); color: var(--l-surface); box-shadow: 0 0 0 0 color-mix(in srgb, var(--l-lilac) 45%, transparent); animation: l-listen 1.6s var(--l-out) infinite; }
@keyframes l-listen { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--l-lilac) 45%, transparent); } 100% { box-shadow: 0 0 0 14px color-mix(in srgb, var(--l-lilac) 0%, transparent); } }
.lib-box.is-listening { box-shadow: 0 0 0 1px var(--l-lilac), 0 0 0 4px color-mix(in srgb, var(--l-lilac) 18%, transparent), var(--l-shadow-1); }
@media (prefers-reduced-motion: reduce) { .lib-mic[aria-pressed="true"] { animation: none; } }

/* larger text at one press: everything a step up, kept on this device */
.lib-aa { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--l-surface); box-shadow: inset 0 0 0 1px var(--l-line-2); color: var(--l-ink-2); font-size: 14px; letter-spacing: .02em; transition: box-shadow .25s var(--l-out), background-color .25s var(--l-out), color .25s var(--l-out); }
.lib-aa b { font-weight: 400; font-size: 19px; margin-left: 1px; }
.lib-aa:hover { box-shadow: inset 0 0 0 1px var(--l-line-3); color: var(--l-ink); }
.lib-aa[aria-pressed="true"] { background: var(--l-ink); color: var(--l-surface); box-shadow: none; }
html[data-text="large"] .lib, html[data-text="large"] .lib-menu, html[data-text="large"] .lib-youbox, html[data-text="large"] .lib-toast { zoom: 1.16; }

/* a person who comes back: the videos left halfway and the last searches, quietly under the box */
.lib-back { display: grid; gap: 28px; margin-top: 44px; text-align: left; animation: l-rise .55s var(--l-spring) .2s both; }
html.has-sug .lib-back { opacity: 0; pointer-events: none; transition: opacity .2s var(--l-out); }
.lib-back-h { display: flex; align-items: center; justify-content: space-between; margin: 0 0 12px; font-size: 15px; font-weight: 400; color: var(--l-ink-3); }
.lib-back-clear { height: 32px; padding: 0 10px; border-radius: 999px; font-size: 14px; color: var(--l-ink-3); }
.lib-back-clear:hover { background: var(--l-hover); color: var(--l-ink); }
.lib-cont { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lib-cont-card { display: grid; gap: 6px; padding: 8px; margin: -8px; border-radius: 16px; transition: background-color .25s var(--l-out); }
.lib-cont-card:hover { background: var(--l-hover); }
.lib-cont-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--l-surface-2); box-shadow: inset 0 0 0 1px var(--l-line); }
.lib-cont-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lib-cont-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(0,0,0,.18); }
.lib-cont-bar i { display: block; height: 100%; background: var(--l-ink); }
:root[data-theme="dark"] .lib-cont-bar i { background: #fff; }
.lib-cont-t { font-family: var(--l-serif); font-size: 17px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lib-cont-s { font-size: 13.5px; color: var(--l-ink-3); font-variant-numeric: tabular-nums; }
.lib-recent { display: flex; flex-wrap: wrap; gap: 8px; }
.lib-recent-q { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 13px; border-radius: 999px; 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); }
.lib-recent-q svg { width: 16px; height: 16px; color: var(--l-ink-3); }
.lib-recent-q:hover { box-shadow: inset 0 0 0 1px var(--l-line-3); background: var(--l-hover); }

/* the closest answer, ready to play right in the results, from the moment it is said */
.lib-answer { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; align-items: center; margin: 4px 0 30px; padding: 18px; border-radius: 20px; background: var(--l-surface); box-shadow: 0 0 0 1px var(--l-line); animation: l-rise .55s var(--l-spring) both; }
.lib-answer-player { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #111; }
.lib-answer-v, .lib-answer-poster { width: 100%; height: 100%; object-fit: cover; display: block; background: #111; }
.lib-answer-play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 18px; border-radius: 999px; background: rgba(255,255,255,.95); color: #1A1A1A; font-size: 16px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); transition: scale .2s var(--l-out), opacity .3s var(--l-out); }
.lib-answer-play svg { width: 20px; height: 20px; }
.lib-answer-play:hover { scale: 1.03; }
.lib-answer.is-on .lib-answer-play { opacity: 0; pointer-events: none; }
.lib-answer-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,0)); color: #fff; opacity: 0; transition: opacity .3s var(--l-out); }
.lib-answer.is-on .lib-answer-bar { opacity: 1; }
.lib-answer.is-playing:not(:hover) .lib-answer-bar { opacity: .0; }
.lib-answer-pp, .lib-answer-open { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; }
.lib-answer-pp svg, .lib-answer-open svg { width: 18px; height: 18px; }
.lib-answer-pp:hover, .lib-answer-open:hover { background: rgba(255,255,255,.16); }
.lib-answer-time { font-size: 13.5px; font-variant-numeric: tabular-nums; }
.lib-answer-line { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.3); overflow: hidden; }
.lib-answer-line i { display: block; height: 100%; width: 0; background: #fff; transition: width .25s linear; }
.lib-answer-cc { position: absolute; left: 6%; right: 6%; bottom: 62px; text-align: center; }
.lib-answer-cc span { display: inline; padding: 4px 10px; border-radius: 8px; background: rgba(10,10,10,.72); color: #fff; font-size: 18px; line-height: 1.5; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.lib-answer-t { display: grid; gap: 10px; align-content: start; min-width: 0; }
.lib-answer-t .lib-first { justify-self: start; }
.lib-answer-title { margin: 0; font-family: var(--l-serif); font-size: 28px; font-weight: 400; line-height: 1.18; letter-spacing: -.01em; text-wrap: pretty; }
.lib-answer-title a:hover { text-decoration: underline; text-decoration-color: var(--l-line-3); text-underline-offset: 5px; }
.lib-answer-t .lib-meta, .lib-answer-t .lib-why, .lib-answer-t .lib-quote { margin: 0; }
.lib-sample-inline { padding: 1px 8px; border-radius: 999px; background: var(--l-surface-2); font-size: 12.5px; }
/* the line under a sample answer on a local copy: quiet, so the answer above stays what is read */
.lib-w-sample { margin: 18px 0 0; font-size: 14px; line-height: 1.5; color: var(--l-ink-3, var(--l-ink-2)); }
.lib-w-sample .lib-sample-inline { margin-right: 6px; color: var(--l-ink-2); }
/* the video that covers the question, under the written answer: one line and its two ways in, with no box around them */
.lib-w-video { margin: 30px 0 0; padding-top: 22px; border-top: 1px solid var(--l-line); display: grid; gap: 14px; justify-items: start; }
.lib-w-video p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--l-ink-2); }
/* the doctor's own words: on the page, not in a box; a thin rule says they are quoted */
.lib-w-video-h { margin: 0; font-family: var(--l-sans); font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--l-ink); }
.lib-w-quote { margin: 0; max-width: 38em; padding: 2px 0 2px 18px; border-left: 2px solid color-mix(in srgb, var(--l-lilac) 60%, transparent); }
.lib-w-quote p { margin: 0; font-family: var(--l-serif); font-size: 18px; line-height: 1.55; color: var(--l-ink); text-wrap: pretty; }
.lib-w-quote footer { margin-top: 8px; font-size: 14px; line-height: 1.45; color: var(--l-ink-3); }
.lib-w-quote footer a { color: var(--l-ink-2); text-decoration: underline; text-decoration-color: var(--l-line-3); text-underline-offset: 3px; }
.lib-w-quote footer a:hover { color: var(--l-ink); text-decoration-color: currentColor; }
.lib-w-video .lib-sample-inline { margin-right: 8px; }
.lib-w-video-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.lib-w-go { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; 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-2); transition: color .25s var(--l-out), box-shadow .25s var(--l-out), background-color .25s var(--l-out); }
.lib-w-go svg { flex: none; width: 13px; height: 13px; }
.lib-w-go:hover { color: var(--l-ink); box-shadow: inset 0 0 0 1px var(--l-line-3); }
.lib-w-go.is-main { padding-left: 15px; background: var(--l-lilac-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--l-lilac) 38%, transparent); color: var(--l-ink); }
.lib-w-go.is-main:hover { box-shadow: inset 0 0 0 1px var(--l-lilac); }
.lib-w-go:focus-visible { outline-offset: 3px; }
/* the physicians' own words under the written answer (19 November 2026): who each one is, their sentence at its second, and the
   ways to the video and to their page. On the page like the answer, no card; a thin rule between two physicians */
.lib-phys { gap: 12px; }
.lib-phys .lib-phys-note { max-width: 38em; font-size: 14px; line-height: 1.5; color: var(--l-ink-3); }
.lib-phys-list { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 0; width: 100%; }
.lib-phys-one { display: grid; gap: 14px; justify-items: start; padding: 18px 0; }
.lib-phys-one:first-child { padding-top: 6px; }
.lib-phys-one + .lib-phys-one { border-top: 1px solid var(--l-line); }
.lib-phys-who { display: flex; align-items: center; gap: 12px; }
.lib-phys-face { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--l-lilac-soft); color: var(--l-ink-2); font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.lib-phys-name { margin: 0; font-family: var(--l-sans); font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--l-ink); }
.lib-phys .lib-phys-sp { margin: 1px 0 0; font-size: 14px; line-height: 1.4; color: var(--l-ink-3); }
button.lib-w-go { border: 0; font: inherit; font-size: 15px; cursor: pointer; }
.lib-phys-more { margin: -4px 0 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.lib-phys-more a { display: flex; gap: 10px; align-items: baseline; padding: 6px 0; font-size: 15px; line-height: 1.45; color: var(--l-ink-2); }
.lib-phys-more a:hover span:last-child { color: var(--l-ink); text-decoration: underline; text-decoration-color: var(--l-line-3); text-underline-offset: 3px; }
.lib-phys-more .lib-at { flex: none; font-variant-numeric: tabular-nums; color: var(--l-ink-3); }
/* ── the top of a result (20 November 2026, the Board's brief): the physician's own video above the written answer, beside
   who they are; on a phone the video first, then them. On the page like the answer: no card, a thin rule under it ── */
.lib-atop { margin: 0 0 34px; }
.lib-atop[hidden] { display: none; }
.lib-atop .lib-feat-wrap { margin: 0; padding: 0 0 28px; border-top: 0; border-bottom: 1px solid var(--l-line); gap: 16px; justify-items: stretch; }
.lib-feat { display: grid; gap: 18px; }
/* the doctor first (20 November 2026, the owner: people trust doctors): their photo, their name as the strongest words of the
   block, the specialty and the public record; the role beside them on a wide screen. Then the video and their words */
.lib-feat-doc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 24px; align-items: start; }
.lib-feat-doc:not(:has(.lib-phys-role)) { grid-template-columns: minmax(0, 1fr); }
.lib-feat-doc .lib-phys-role { padding-top: 4px; }
.lib-feat-row { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.lib-feat-says { display: grid; gap: 14px; justify-items: start; }
.lib-feat .lib-answer-player { display: block; border-radius: 16px; }
.lib-feat.is-on .lib-answer-play { opacity: 0; pointer-events: none; }
/* sound: every answer's video starts muted, and says so in a word (20 November 2026) */
.lib-answer-snd { position: absolute; top: 10px; right: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px 0 11px; border: 0; border-radius: 999px; background: rgba(20,20,20,.62); color: #fff; font: inherit; font-size: 13.5px; cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color .2s var(--l-out); }
.lib-answer-snd svg { flex: none; width: 16px; height: 16px; }
.lib-answer-snd:hover { background: rgba(20,20,20,.78); }
.lib-answer-snd:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lib-feat.is-on .lib-answer-bar { opacity: 1; }
.lib-feat.is-playing:not(:hover) .lib-answer-bar { opacity: 0; }
.lib-feat-t { display: grid; gap: 14px; align-content: start; justify-items: start; min-width: 0; }
.lib-feat .lib-phys-who { align-items: flex-start; }
.lib-feat .lib-phys-face { width: 64px; height: 64px; font-size: 19px; }
.lib-feat .lib-phys-name { font-size: 22px; font-weight: 600; line-height: 1.25; letter-spacing: -.005em; }
.lib-feat .lib-phys-sp { font-size: 15px; color: var(--l-ink-2); }
.lib-w-video .lib-phys-rec { margin: 4px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--l-ink-3); font-variant-numeric: tabular-nums; }
.lib-phys-rec a { color: inherit; text-decoration: underline; text-decoration-color: var(--l-line-3); text-underline-offset: 3px; }
.lib-phys-rec a:hover { color: var(--l-ink-2); text-decoration-color: currentColor; }
.lib-phys-role { display: grid; gap: 2px; }
.lib-w-video .lib-phys-role-t { font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--l-ink); }
.lib-w-video .lib-phys-board { font-size: 14.5px; line-height: 1.4; color: var(--l-ink-2); }
.lib-w-video .lib-phys-over { margin-top: 2px; font-size: 13.5px; line-height: 1.45; color: var(--l-ink-3); }
.lib-feat .lib-w-quote p { font-size: 17px; }
.lib-atop .lib-phys-note { margin-top: -2px; }
/* the editor of the answer's specialty when their video is not the one shown: one small line, no picture larger than a word */
.lib-editor-line { display: flex; align-items: flex-start; gap: 12px; margin: 0; max-width: 40em; }
.lib-atop > .lib-editor-line { padding-bottom: 24px; border-bottom: 1px solid var(--l-line); }
.lib-feat-wrap .lib-editor-line { margin-top: 4px; }
.lib-editor-face { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: var(--l-lilac-soft); color: var(--l-ink-2); font-size: 12px; font-weight: 600; }
.lib-editor-line > span:last-child { display: grid; gap: 2px; }
.lib-editor-role { font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--l-ink); }
.lib-w-video .lib-editor-say, .lib-editor-say { font-size: 14px; line-height: 1.5; color: var(--l-ink-3); }
.lib-editor-say a { color: var(--l-ink-2); text-decoration: underline; text-decoration-color: var(--l-line-3); text-underline-offset: 3px; }
/* the line at the head of every written answer: what wrote it, in the quiet grey of a caption */
.lib-w-ai { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: 13.5px; line-height: 1.45; color: var(--l-ink-3); }
.lib-w-ai svg { flex: none; width: 13px; height: 13px; }
.lib-c .lib-w-ai { margin-bottom: 10px; }
/* the latest research on the topic, under the answer: a heading, a quiet line, three titles with their date and source */
.lib-latest-slot:empty { display: none; }
.lib-latest { margin: 10px 0 44px; padding-top: 22px; border-top: 1px solid var(--l-line); max-width: 44em; }
.lib-latest-h { margin: 0; font-family: var(--l-sans); font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--l-ink); }
.lib-latest-note { margin: 2px 0 0; font-size: 14px; line-height: 1.5; color: var(--l-ink-3); }
.lib-latest-list { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.lib-latest-one { display: grid; gap: 3px; }
.lib-latest-t { font-size: 16px; line-height: 1.45; color: var(--l-ink); text-wrap: pretty; }
a.lib-latest-t:hover { text-decoration: underline; text-decoration-color: var(--l-line-3); text-underline-offset: 3px; }
.lib-latest-t svg { display: inline-block; width: 12px; height: 12px; margin-left: 4px; vertical-align: -1px; color: var(--l-ink-3); }
.lib-latest-m { font-size: 13.5px; line-height: 1.4; color: var(--l-ink-3); }
.lib-latest-c { margin: 4px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--l-ink-2); }
.lib-latest-c > span:first-child { display: block; margin-bottom: 1px; font-size: 13px; font-weight: 600; color: var(--l-ink-3); }
@media (max-width: 760px) { .lib-feat-row, .lib-feat-doc { grid-template-columns: 1fr; gap: 14px; } .lib-feat .lib-phys-name { font-size: 21px; } }
@media (max-width: 760px) { .lib-atop { margin-bottom: 28px; } .lib-feat .lib-answer-player { margin: 0 -4px; border-radius: 14px; } }
/* in Sources: the medical sources and the physicians' videos under their own small headings, the kind said on each video */
.lib-srcs-h { margin: 4px 0 2px; font-family: var(--l-sans); font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--l-ink-3); }
.lib-srcs + .lib-srcs-h { margin-top: 18px; }
.lib-src-kind { font-size: 13px; line-height: 1.3; color: var(--l-ink-3); }
.lib-answer-acts { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.lib-answer-acts .lib-btn { margin: 0; }
/* "Watch the whole video" is an outlined pill with its play mark, as Save beside it (19 November 2026: one small ink pill a
   screen, and under an answer that is Ask). The mark is drawn here so the button keeps its words alone */
.lib-answer-acts .lib-btn { gap: 8px; padding: 0 20px 0 16px; background: var(--l-surface); color: var(--l-ink); box-shadow: inset 0 0 0 1px var(--l-line-2); transition: box-shadow .25s var(--l-out), background-color .25s var(--l-out); }
.lib-answer-acts .lib-btn::before { content: ""; flex: none; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l11-6.5z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l11-6.5z'/%3E%3C/svg%3E") center / contain no-repeat; }
.lib-answer-acts .lib-btn:hover { background: var(--l-hover); box-shadow: inset 0 0 0 1px var(--l-line-3); }
.lib-pill { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--l-line-2); color: var(--l-ink); transition: box-shadow .25s var(--l-out); }
.lib-pill svg { width: 20px; height: 20px; }
.lib-pill:hover { box-shadow: inset 0 0 0 1px var(--l-line-3); }
.lib-more-h { margin: 8px 0 10px; font-size: 15px; font-weight: 400; color: var(--l-ink-3); }

/* nothing found: the nearest questions that have answers */
.lib-tries { display: grid; gap: 6px; max-width: 520px; margin: 16px auto 4px; text-align: left; }
.lib-try { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 16px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--l-line-2); font-size: 16.5px; color: var(--l-ink); transition: box-shadow .25s var(--l-out), background-color .25s var(--l-out); }
.lib-try svg { width: 18px; height: 18px; color: var(--l-ink-3); flex: none; }
.lib-try span { flex: 1; }
.lib-try small { font-size: 13.5px; color: var(--l-ink-4); }
.lib-try:hover { box-shadow: inset 0 0 0 1px var(--l-line-3); background: var(--l-hover); }

@media (max-width: 980px) { .lib-answer { grid-template-columns: 1fr; gap: 16px; } }
@media (max-width: 760px) {
  .lib-mic span { display: none; }
  .lib-mic { width: 46px; height: 46px; padding: 0; justify-content: center; }
  .lib-cont { grid-template-columns: 1fr 1fr; }
  .lib-cont .lib-cont-card:nth-child(3) { display: none; }
  .lib-answer { padding: 12px; border-radius: 18px; margin-left: -4px; margin-right: -4px; }
  .lib-answer-title { font-size: 23px; }
  .lib-answer-cc span { font-size: 15px; }
  .lib-answer-cc { bottom: 54px; }
  .lib-top-r { gap: 6px; }
}



/* ── the answer, said in one line (9 November, his notes: the card was crowded on one side and empty on the other, and a word
   found in a transcript is no reason) ── */
.lib-answer { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; padding: 16px; }
/* the card is a hairline and no shadow, as BiteSized's cards are (19 November 2026); the picture's corners follow it */
.lib-answer-player { border-radius: 12px; }
.lib-answer-t { gap: 12px; align-content: center; padding-right: 8px; }
.lib-says { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 10px; margin: 0; font-size: 15px; line-height: 1.5; color: var(--l-ink-2); }
.lib-says .lib-at { padding: 1px 8px; border-radius: 999px; background: var(--l-surface-2); color: var(--l-ink-2); font-size: 12.5px; }
.lib-answer-t .lib-says { font-size: 16.5px; color: var(--l-ink); }
.lib-says.is-untimed { grid-template-columns: minmax(0, 1fr); }
.lib-row-t .lib-says { margin-top: 4px; }
.lib-says mark { background: var(--l-mark); color: var(--l-ink); border-radius: 4px; padding: 0 2px; }
.lib-sample { left: auto; right: 8px; }
.lib-answer-player .lib-sample { position: absolute; top: 12px; right: 12px; bottom: auto; left: auto; padding: 2px 10px; border-radius: 999px; background: rgba(255,255,255,.92); color: #1A1A1A; font-size: 12.5px; }
.lib-gap { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 22px; padding: 14px 18px; border-radius: 16px; background: var(--l-surface-2); color: var(--l-ink); font-size: 15.5px; line-height: 1.5; }
.lib-gap svg { flex: none; width: 17px; height: 17px; margin-top: 3px; color: var(--l-ink-3); }
.lib-gap a { text-decoration: underline; text-decoration-color: var(--l-line-3); text-underline-offset: 3px; }
@media (max-width: 980px) { .lib-answer { grid-template-columns: 1fr; gap: 16px; } .lib-answer-t { padding: 0 4px 4px; } }

/* the card as tall as its picture (his note: a narrower picture, the text wider and on fewer lines) */
.lib-answer { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.lib-answer-t { gap: 10px; padding-right: 4px; }
.lib-answer-title { font-size: 24px; line-height: 1.2; }
.lib-answer-t .lib-says { font-size: 16px; }
.lib-answer-acts { margin-top: 2px; }
/* the text as tall as the picture: the title level with its top, the buttons with its bottom; a longer answer makes the
   picture a little taller instead of leaving a gap */
@media (min-width: 981px) {
  .lib-answer { align-items: stretch; }
  .lib-answer-player { align-self: stretch; width: 100%; height: auto; }
  .lib-answer-t { display: flex; flex-direction: column; gap: 10px; }
  .lib-answer-acts { margin-top: auto; padding-top: 6px; }
}
@media (max-width: 980px) { .lib-answer { grid-template-columns: 1fr; gap: 16px; } }
@media (max-width: 760px) { .lib-answer-title { font-size: 23px; } .lib-answer-player { border-radius: 10px; } }

/* ── every button says what it does (Sergio, 9 November: people who are not at home with screens need the word, not only the
      icon); the player's own controls stay icons ── */
.lib-aa, .lib-you { display: inline-flex; align-items: center; gap: 8px; width: auto; height: 44px; padding: 0 16px 0 13px; border-radius: 999px; font-size: 15px; letter-spacing: 0; color: var(--l-ink); }
.lib-aa-g { font-size: 13px; letter-spacing: .02em; color: var(--l-ink-2); }
.lib-aa-g b { font-weight: 400; font-size: 18px; margin-left: 1px; }
.lib-aa[aria-pressed="true"] .lib-aa-g { color: inherit; }
.lib-you svg { width: 18px; height: 18px; }
.lib-box .lib-go { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: auto; padding: 0 18px 0 22px; border-radius: 999px; font-size: 16px; }
.lib-box .lib-go svg { width: 18px; height: 18px; }
.lib-box:not(.is-big) .lib-go { width: auto; padding: 0 16px 0 20px; font-size: 15.5px; }
.lib-box:not(.is-big) .lib-mic { width: auto; padding: 0 16px 0 14px; }
.lib-pill-t { display: inline-flex; align-items: center; gap: 8px; width: auto; padding: 0 18px 0 15px; font-size: 15px; }
.lib-pill-t svg { width: 18px; height: 18px; }
.lib-save-mini { display: inline-flex; align-items: center; gap: 6px; width: auto; height: 36px; top: 16px; padding: 0 13px 0 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--l-line-2); background: var(--l-surface); font-size: 14px; color: var(--l-ink-2); }
.lib-save-mini svg { width: 17px; height: 17px; }
.lib-save-mini:hover { box-shadow: inset 0 0 0 1px var(--l-line-3); }
.lib-row .lib-title { padding-right: 96px; }
@media (max-width: 760px) {
  .lib-top-r { gap: 0; }
  .lib-aa, .lib-saved-link, .lib-you { position: relative; flex-direction: column; justify-content: center; gap: 3px; height: 54px; min-width: 64px; padding: 0 4px; border-radius: 14px; box-shadow: none; background: transparent; }
  .lib-top-r .lib-lbl, .lib-saved-link span.lib-lbl { display: block; font-size: 11.5px; line-height: 1.1; color: var(--l-ink-2); white-space: nowrap; }
  .lib-aa[aria-pressed="true"], .lib-saved-link[aria-current="page"], .lib-you[aria-expanded="true"] { background: var(--l-surface-2); color: var(--l-ink); box-shadow: none; }
  .lib-aa[aria-pressed="true"] .lib-lbl { color: var(--l-ink); }
  .lib-saved-link .lib-saved-n { position: absolute; top: 3px; right: 12px; }
  .lib-mic span { display: inline; }
  .lib-mic, .lib-box:not(.is-big) .lib-mic { width: auto; height: 46px; padding: 0 14px 0 12px; font-size: 15px; }
  .lib-box .lib-go, .lib-box:not(.is-big) .lib-go { position: static; width: 46px; padding: 0; }
  .lib-box:not(.is-big) input[type="search"] { padding-right: 0; }
  .lib-go-t { display: none; }
  .lib-row .lib-title { padding-right: 0; }
  .lib-save-mini { position: static; justify-self: start; margin: 2px 0 0; }
}

/* ── the written answer (9 November 2026, evening). Sergio: every question is answered in writing from its sources, and the
      video is added when a doctor explains it. The answer sits on the page itself, with no card or shadow around it
      (Sergio, 9 November: the box was unnecessary); the video under it is the one object in a card. Two views, as Ask
      has them: the answer, set in the serif since it is read, and its sources behind their own tab, so the list takes
      no room from the text. Each source's number in the text is a small button that opens that tab on its row. While
      the text is on its way its place holds the thinking state, and the videos wait for it (17 November 2026, at the
      foot of this file). ── */
.lib-res-head { margin-bottom: 10px; }
.lib-written { margin: 0 0 44px; }
.lib-written > .lib-gap { margin: 0; }
.lib-w { animation: l-rise .55s var(--l-spring) both; }
.lib-w-body { max-width: 38em; font-family: var(--l-serif); font-size: 19.5px; line-height: 1.58; color: var(--l-ink); text-wrap: pretty; }
.lib-w-body > * { margin: 0; }
.lib-w-body > * + * { margin-top: 16px; }
.lib-w-lead { font-size: 25px; line-height: 1.36; letter-spacing: -.012em; }
.lib-w-body b { font-weight: 400; color: var(--l-ink); }
.lib-w-sub { padding-top: 8px; font-family: var(--l-sans); font-size: 15px; font-weight: 400; line-height: 1.3; color: var(--l-ink-3); }
.lib-w-sub + * { margin-top: 10px !important; }
.lib-w-points { padding: 0; list-style: none; display: grid; gap: 12px; }
.lib-w-points li { position: relative; padding-left: 20px; color: var(--l-ink-2); }
.lib-w-points li::before { content: ""; position: absolute; left: 3px; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--l-ink-3); }
.lib-nb { white-space: nowrap; }
.lib-cites { white-space: nowrap; margin-left: 5px; }
.lib-cite { position: relative; display: inline-grid; font-family: var(--l-sans); place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-right: 3px; border-radius: 999px; background: var(--l-surface-2); box-shadow: inset 0 0 0 1px var(--l-line); font-size: 12.5px; line-height: 1; font-variant-numeric: tabular-nums; color: var(--l-ink-2); vertical-align: 1px; cursor: pointer; transition: background-color .2s var(--l-out), color .2s var(--l-out); }
.lib-cite::after { content: ""; position: absolute; inset: -9px -5px; }
.lib-cite:hover, .lib-cite:focus-visible { background: var(--l-ink); color: var(--l-surface); }
/* the two views and the row that chooses between them: words with a line under the one in view */
.lib-tabs { display: flex; gap: 28px; margin: 0 0 28px; border-bottom: 1px solid var(--l-line); }
.lib-tab { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 48px; margin-bottom: -1px; padding: 0 1px; border-bottom: 2px solid transparent; font-size: 16.5px; color: var(--l-ink-3); cursor: pointer; transition: color .25s var(--l-out), border-color .25s var(--l-out); }
.lib-tab::after { content: ""; position: absolute; inset: 0 -12px; }
.lib-tab:hover { color: var(--l-ink); }
.lib-tab[aria-selected="true"] { color: var(--l-ink); border-bottom-color: var(--l-ink); }
.lib-tab:disabled { color: var(--l-ink-4); cursor: default; }
.lib-tab:focus-visible { outline: 2px solid var(--l-ink); outline-offset: 4px; border-radius: 6px; }
.lib-tab small { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--l-surface-2); box-shadow: inset 0 0 0 1px var(--l-line); font-size: 12.5px; line-height: 1; font-variant-numeric: tabular-nums; color: var(--l-ink-2); }
.lib-w-view { animation: l-view .35s var(--l-out) both; }
.lib-w-view[hidden] { display: none; }
@keyframes l-view { from { opacity: 0; } to { opacity: 1; } }
/* the list of sources, with room (17 November 2026, Sergio: "todo está muy apretado y junto"): one source a row, a
   hairline between rows, the number and the way out at the height of the title, the title in ink and what it is from
   quieter under it, and the way out as a soft pill without an outline, so the titles are what the eye finds */
.lib-srcs { margin: 0 -12px; padding: 0; list-style: none; display: grid; gap: 0; }
.lib-srcs li + li::before { content: ""; display: block; height: 1px; margin: 0 12px; background: var(--l-line); }
.lib-src { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 20px 12px; border-radius: 14px; color: var(--l-ink); transition: background-color .25s var(--l-out); }
a.lib-src:hover { background: var(--l-hover); }
.lib-src-n { display: grid; place-items: center; width: 28px; height: 28px; margin-top: -2px; border-radius: 50%; background: var(--l-surface-2); font-size: 13px; font-variant-numeric: tabular-nums; color: var(--l-ink-3); }
.lib-src-t { display: grid; gap: 6px; min-width: 0; }
.lib-src-title { font-size: 16px; line-height: 1.45; text-wrap: pretty; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lib-src-w { font-size: 14px; line-height: 1.45; color: var(--l-ink-3); }
.lib-src-open { display: inline-flex; align-items: center; gap: 4px; height: 32px; margin-top: -4px; padding: 0 10px 0 14px; border-radius: 999px; background: var(--l-surface-2); font-size: 14px; color: var(--l-ink-2); transition: background-color .25s var(--l-out), color .25s var(--l-out); }
.lib-src-open svg { width: 16px; height: 16px; color: var(--l-ink-3); }
.lib-src-n svg { width: 11px; height: 11px; }
.lib-src-open.lib-src-watch { padding: 0 14px; }
.lib-src-w .lib-sample-inline { margin-right: 6px; color: var(--l-ink-2); }
a.lib-src:hover .lib-src-open { background: var(--l-surface); box-shadow: inset 0 0 0 1px var(--l-line-2); color: var(--l-ink); }
.lib-srcs li { border-radius: 14px; transition: background-color .5s var(--l-out); }
.lib-srcs li.is-marked { background: var(--l-surface-2); }
.lib-srcs li.is-marked .lib-src-n { background: var(--l-ink); color: var(--l-surface); }
.lib-srcs li.is-marked .lib-src-open { background: var(--l-surface); }
/* under both views: what the text is, and who it is written for */
.lib-w-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--l-line); }
.lib-w-fine { margin: 0; font-size: 14.5px; color: var(--l-ink-3); }
.lib-w-for { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; }
.lib-w-for-l { font-size: 14.5px; color: var(--l-ink-3); }
.lib-linkbtn { min-height: 24px; padding: 0; font: inherit; color: var(--l-ink); text-decoration: underline; text-decoration-color: var(--l-line-3); text-underline-offset: 3px; cursor: pointer; }
.lib-linkbtn:hover { text-decoration-color: var(--l-ink); }
/* the line that stands where an answer would be when the sources hold nothing on the question */
.lib-w-wait { margin: 0 0 20px; font-size: 18px; color: var(--l-ink-2); }
/* the videos and the questions to go on with */
.lib-novideo { margin-top: 0; }
.lib-rel { margin-top: 34px; }
.lib-rel .lib-recent-q { height: auto; min-height: 44px; padding-top: 9px; padding-bottom: 9px; text-align: left; line-height: 1.35; }
.lib-rel .lib-recent-q svg { flex: none; }
.lib-results .lib-list + [data-related] .lib-rel, .lib-results .lib-answer + [data-related] .lib-rel { margin-top: 30px; }
@media (max-width: 760px) {
  .lib-written { margin-bottom: 34px; }
  .lib-w-body { font-size: 18.5px; }
  .lib-w-lead { font-size: 22px; }
  .lib-tabs { margin: 0 0 22px; }
  .lib-w-foot { margin-top: 22px; }
  .lib-w-for { margin-left: 0; }
  .lib-src { grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; }
  .lib-src-n { margin-top: -2px; }
  .lib-src-open { grid-column: 2; justify-self: start; margin-top: 6px; }
  .lib-srcs { margin: 0 -8px; }
  .lib-srcs li + li::before { margin: 0 8px; }
  .lib-src { padding: 18px 8px; }
}
@media (prefers-reduced-motion: reduce) { .lib-w, .lib-w-view { animation: none; } .lib-srcs li { transition: none; } }

/* who the answer is written for: two words to press at the foot of the sheet, the chosen one on white */
.lib-seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--l-surface-2); box-shadow: inset 0 0 0 1px var(--l-line); }
.lib-seg-b { height: 36px; padding: 0 16px; border-radius: 999px; font-size: 15px; color: var(--l-ink-3); white-space: nowrap; transition: background-color .3s var(--l-out), color .3s var(--l-out), box-shadow .3s var(--l-out); }
.lib-seg-b:hover { color: var(--l-ink); }
.lib-seg-b[aria-pressed="true"] { background: var(--l-surface); color: var(--l-ink); box-shadow: 0 0 0 1px var(--l-line-2), var(--l-shadow-1); }
.lib-seg-b:focus-visible { outline: 2px solid var(--l-ink); outline-offset: 2px; }
/* a warning sign named in the question: where to call comes before the answer */
.lib-w-urgent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; margin: 0 0 20px; padding: 14px 18px; border-radius: 16px; background: var(--l-surface-2); box-shadow: inset 0 0 0 1px var(--l-line-2); font-size: 17px; line-height: 1.5; color: var(--l-ink); }
.lib-w-urgent svg { width: 22px; height: 22px; margin-top: 2px; }
@media (max-width: 760px) {
  .lib-seg-b { padding: 0 14px; }
}

/* ── Ask Doctorpedia as a conversation (10 November 2026). Sergio: the answer page is a conversation, as Ask has it. The
      column is 680 px wide, about seventy characters a line in the serif, the width a long text is read at without the
      eye losing its line. Each question is a turn: its title, the two views as pills, the text, then a quiet row
      (Copy, Related, Options) and one question, was this useful. The box to ask again waits at the foot of the window,
      so the next question is asked where the reading ends. ── */
html[data-page="search"] .lib-main { overflow: clip; }
.lib-thread { position: relative; z-index: 1; display: flex; flex-direction: column; width: min(744px, 100%); min-height: calc(var(--l-vh) - 96px); padding: 24px 32px 0; }
.lib-turns { flex: 1; }
/* a holder that takes no part in the layout: what is inside it is laid out as if it stood where the holder stands, so a
   part of the page can be drawn again when it arrives (a turn's videos, the videos left halfway) */
.lib-wrap { display: contents; }
.lib-turn { scroll-margin-top: 104px; }
.lib-turn + .lib-turn { margin-top: 72px; }
.lib-turn:last-child:not(:first-child) { min-height: calc(var(--l-vh) - 340px); }
.lib-thread .lib-res-title { margin: 0 0 22px; font-size: 34px; line-height: 1.16; text-wrap: balance; }
.lib-thread .lib-res-title.is-next { font-size: 27px; line-height: 1.2; }
.lib-thread .lib-written { margin: 0; }
.lib-thread .lib-w-body { max-width: none; font-size: 20px; line-height: 1.56; }
.lib-thread .lib-w-body > * + * { margin-top: 18px; }
.lib-thread .lib-w-lead { font-size: 22.5px; line-height: 1.44; letter-spacing: -.008em; }
.lib-thread .lib-w-wait { font-size: 17px; }

/* the two views, as BiteSized's choices that slide (its clean.css section 19, 19 November 2026): one grey track with a
   hairline, the two words of equal width, and one white plate under the one in view that slides to the other with the
   family's spring. The way down to the video stays a quiet pill of its own beside it */
.lib-tabs { position: relative; isolation: isolate; display: inline-grid; grid-template-columns: 1fr 1fr; gap: 2px; margin: 0 0 26px; padding: 3px; border-bottom: 0; border-radius: 999px; background: var(--l-surface-2); box-shadow: inset 0 0 0 1px var(--l-line-2); --seg-i: 0; }
.lib-tabs::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); }
.lib-tabs:has(> .lib-tab:nth-child(2)[aria-selected="true"]) { --seg-i: 1; }
.lib-tabs:not(:has(> .lib-tab[aria-selected="true"]))::before { opacity: 0; }
.lib-tab { z-index: 1; justify-content: center; height: 34px; margin: 0; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; box-shadow: none; font-size: 15px; color: var(--l-ink-3); transition: color .25s var(--l-out); }
.lib-tab::after { inset: -4px 0; }
.lib-tab:hover { color: var(--l-ink); }
.lib-tab[aria-selected="true"] { background: transparent; color: var(--l-ink); box-shadow: none; border: 0; }
.lib-tab:disabled { color: var(--l-ink-4); box-shadow: none; }
.lib-tab:focus-visible { outline-offset: 1px; border-radius: 999px; }
.lib-tab small { min-width: 0; height: auto; padding: 0; background: none; box-shadow: none; font-size: 13px; color: var(--l-ink-3); }
.lib-tab[aria-selected="true"] small { color: var(--l-ink-3); }
@media (prefers-reduced-motion: reduce) { .lib-tabs::before { transition: none; } }
.lib-thread .lib-srcs { margin: 0 -12px; }

/* under the text: words to press, no boxes around them, and the one question on its own line */
.lib-tt { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; margin-top: 26px; }
.lib-tt button { position: relative; padding: 6px 0; font-size: 15px; line-height: 1.2; color: var(--l-ink-3); cursor: pointer; transition: color .2s var(--l-out); }
.lib-tt button::after { content: ""; position: absolute; inset: -6px -8px; }
.lib-tt button:hover, .lib-tt button[aria-expanded="true"] { color: var(--l-ink); }
.lib-tt button:focus-visible { outline: 2px solid var(--l-ink); outline-offset: 4px; border-radius: 6px; }
.lib-tt-x { display: none; }
.lib-tt.is-more .lib-tt-x { display: inline-block; animation: l-view .3s var(--l-out) both; }
.lib-tt-ask { flex: 0 0 100%; display: inline-flex; align-items: center; gap: 16px; font-size: 14px; color: var(--l-ink-3); transition: opacity .35s var(--l-out); }
.lib-tt-ask button { font-size: 14px; color: var(--l-ink-2); }
.lib-tt-ask.is-done { opacity: 0; pointer-events: none; }
.lib-related { display: grid; margin-top: 14px; animation: l-view .3s var(--l-out) both; }
.lib-related[hidden] { display: none; }
.lib-related-q { min-height: 48px; padding: 11px 0; border-top: 1px solid var(--l-line); text-align: left; font-size: 16px; line-height: 1.4; color: var(--l-ink-2); cursor: pointer; transition: color .2s var(--l-out); }
.lib-related-q:last-child { border-bottom: 1px solid var(--l-line); }
.lib-related-q:hover { color: var(--l-ink); }
.lib-related-q:focus-visible { outline: 2px solid var(--l-ink); outline-offset: 2px; border-radius: 6px; }

/* the videos of a turn sit in the same column: the card in one piece, the rows with a smaller cover */
.lib-thread .lib-more-h { margin: 44px 0 14px; }
.lib-thread .lib-answer { grid-template-columns: 1fr; gap: 16px; align-items: start; margin: 0; }
.lib-thread .lib-answer-player { align-self: auto; height: auto; }
.lib-thread .lib-answer-t { padding: 0 6px 6px; }
.lib-thread .lib-novideo { margin-top: 36px; }
.lib-thread .lib-scope { margin: 0 0 8px; }
.lib-list[hidden] { display: none; }
.lib-list-more { display: inline-flex; align-items: center; height: 44px; margin-top: 6px; padding: 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--l-line-2); font-size: 15px; color: var(--l-ink); cursor: pointer; transition: box-shadow .25s var(--l-out), background-color .25s var(--l-out); }
.lib-list-more:hover { box-shadow: inset 0 0 0 1px var(--l-line-3); background: var(--l-hover); }
@media (min-width: 761px) {
  .lib-thread .lib-row-a { grid-template-columns: 200px minmax(0, 1fr); gap: 20px; }
  .lib-thread .lib-title { font-size: 20.5px; }
}

/* the box to ask again: it stays at the foot of the window while the answer is read. A card, since it is an object to
   use; the page fades under it so the text never shows through. One hairline and the lightest shadow, as the box on the
   first page (19 November 2026: the line of colour under it is gone); typing in it rings it in the grey accent */
.lib-ask-dock { position: sticky; bottom: 0; z-index: 6; margin: 64px -32px 0; padding: 30px 32px 14px; background: linear-gradient(to bottom, transparent, var(--l-surface) 30px); }
.lib-ask { position: relative; display: grid; gap: 8px; padding: 14px 12px 12px 20px; border-radius: 18px; background: var(--l-surface); box-shadow: 0 0 0 1px var(--l-line-2), var(--l-shadow-1); overflow: hidden; transition: box-shadow .3s var(--l-out); }
.lib-ask:hover { box-shadow: 0 0 0 1px var(--l-line-3), var(--l-shadow-1); }
.lib-ask:focus-within { box-shadow: 0 0 0 1px var(--l-lilac), 0 0 0 4px color-mix(in srgb, var(--l-lilac) 16%, transparent), var(--l-shadow-1); }
.lib-ask.is-listening { box-shadow: 0 0 0 1px var(--l-lilac), 0 0 0 4px color-mix(in srgb, var(--l-lilac) 18%, transparent), var(--l-shadow-1); }
.lib-ask textarea { display: block; width: 100%; min-height: 30px; max-height: 168px; margin: 0; padding: 2px 8px 2px 0; border: 0; outline: 0; background: none; resize: none; font: inherit; font-size: 17px; line-height: 1.5; color: var(--l-ink); }
.lib-ask textarea::placeholder { color: var(--l-ink-4); }
.lib-ask-row { display: flex; align-items: center; gap: 8px; }
.lib-ask-b { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 15px 0 11px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--l-line-2); font-size: 15px; color: var(--l-ink-2); cursor: pointer; transition: box-shadow .25s var(--l-out), background-color .25s var(--l-out), color .25s var(--l-out); }
.lib-ask-b svg { width: 18px; height: 18px; }
.lib-ask-b:hover { box-shadow: inset 0 0 0 1px var(--l-line-3); color: var(--l-ink); }
.lib-ask-b[aria-pressed="true"] { background: var(--l-ink); color: var(--l-surface); box-shadow: none; }
.lib-ask-b:disabled { opacity: .45; cursor: default; }
.lib-ask-b:focus-visible, .lib-ask-go:focus-visible { outline: 2px solid var(--l-ink); outline-offset: 2px; }
.lib-ask-go { margin-left: auto; height: 40px; padding: 0 22px; border-radius: 999px; background: var(--l-ink); color: var(--l-surface); font-size: 15px; cursor: pointer; transition: background-color .25s var(--l-out), color .25s var(--l-out); }
.lib-ask-go:disabled { background: var(--l-surface-2); color: var(--l-ink-4); cursor: default; }
html[data-page="search"] .lib-toast { bottom: 196px; }

/* talking: the box becomes one line that says what is happening, with the way out beside it. The bars move only while
   something is heard or said */
.lib-voice { flex: 1; display: flex; align-items: center; gap: 14px; min-height: 48px; min-width: 0; }
.lib-ask.is-talking > :not(.lib-voice), .lib-box.is-talking > :not(.lib-voice) { display: none; }
.lib-box.is-talking { padding-left: 22px; }
.lib-voice-bars { flex: none; display: inline-flex; align-items: center; gap: 3px; height: 24px; }
.lib-voice-bars i { width: 3px; height: 22px; border-radius: 2px; background: var(--l-lilac); scale: 1 .28; }
.lib-voice[data-state="listening"] .lib-voice-bars i, .lib-voice[data-state="speaking"] .lib-voice-bars i { animation: l-bars 1.1s ease-in-out infinite; }
.lib-voice[data-state="thinking"] .lib-voice-bars i { background: var(--l-ink-4); }
.lib-voice-bars i:nth-child(2) { animation-delay: .14s; } .lib-voice-bars i:nth-child(3) { animation-delay: .28s; }
.lib-voice-bars i:nth-child(4) { animation-delay: .42s; } .lib-voice-bars i:nth-child(5) { animation-delay: .56s; }
@keyframes l-bars { 0%, 100% { scale: 1 .28; } 50% { scale: 1 1; } }
.lib-voice-t { flex: 1; min-width: 0; font-size: 16.5px; line-height: 1.35; color: var(--l-ink); }
.lib-voice-end { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px 0 12px; border-radius: 999px; background: var(--l-ink); color: var(--l-surface); font-size: 15px; cursor: pointer; }
.lib-voice-end svg { width: 15px; height: 15px; }
@media (prefers-reduced-motion: reduce) { .lib-voice-bars i { animation: none !important; scale: 1 .6; } .lib-tt.is-more .lib-tt-x, .lib-related { animation: none; } }

/* the top left: the name, then History and New, always in sight */
.lib-top-l { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.lib-top-l .lib-brand { margin-right: 10px; }
.lib-hist, .lib-new { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 15px 0 12px; 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); white-space: nowrap; cursor: pointer; transition: box-shadow .25s var(--l-out), background-color .25s var(--l-out); }
.lib-hist { padding-right: 11px; }
.lib-hist svg, .lib-new svg { width: 18px; height: 18px; color: var(--l-ink-2); }
.lib-hist:hover, .lib-new:hover { box-shadow: inset 0 0 0 1px var(--l-line-3); }
.lib-hist[aria-expanded="true"] { background: var(--l-surface-2); }
.lib-hist:focus-visible, .lib-new:focus-visible { outline: 2px solid var(--l-ink); outline-offset: 2px; }
.lib-hist-c { display: inline-grid; margin-left: -3px; }
.lib-hist-c svg { width: 14px; height: 14px; color: var(--l-ink-3); }
.lib-hist[aria-expanded="true"] .lib-hist-c { scale: 1 -1; }
/* Incognito: a quiet grey chip, not an ink one (19 November 2026: one small ink pill a screen) */
.lib-incog { display: inline-flex; align-items: center; gap: 6px; height: 32px; margin-left: 4px; padding: 0 12px 0 9px; border-radius: 999px; background: var(--l-surface-2); box-shadow: inset 0 0 0 1px var(--l-line); color: var(--l-ink-2); font-size: 13.5px; white-space: nowrap; }
.lib-incog[hidden] { display: none; }
.lib-incog svg { width: 16px; height: 16px; }
@media (max-width: 1120px) { .lib-new-w { display: none; } }

/* ── Who is in, and the two panels redrawn (17 November 2026). The owner: there was no way to know one was signed in, and
      the panels of Settings and History wanted to be friendlier, cleaner, with more room, softer. In the bar, where
      Settings is, someone who is in sees a round mark with their initial and their first name. Settings opens on who is
      in, then the settings as quiet rows: a long choice opens as a list in the panel's own place, a choice of two is two
      buttons side by side. History is drawn the same way: rows with room around them under the day they belong to, the
      small actions quiet until the row is in hand. The look is the app's own: its type, its greys, hairlines and pills. ── */

/* the round mark: ink, with the letter in the colour of the sheet, as the app's own mark is */
.lib-who-i { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--l-ink); color: var(--l-surface); font-size: 14px; line-height: 1; letter-spacing: 0; }
.lib-who-i svg { width: 16px; height: 16px; }
.lib-who-i.is-big { width: 48px; height: 48px; font-size: 20px; }
.lib-who-i.is-big svg { width: 24px; height: 24px; }
.lib-you.is-who { gap: 9px; padding: 0 16px 0 8px; }
.lib-who-n { max-width: 10em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* the panel: under its button, in place while the page scrolls, never taller than the window */
.lib-youbox { position: fixed; width: 352px; max-width: calc(100vw - 24px); max-height: calc(var(--l-vh) - 104px); padding: 22px; border-radius: 22px; overflow: auto; overscroll-behavior: contain; transition: opacity .2s var(--l-out), translate .34s var(--l-spring), height .28s var(--l-out); }
.lib-histbox { width: 400px; }

/* who is signed in, at the top of Settings: the mark, the name, the email, and the kind of account in one quiet line */
.lib-acct { display: flex; align-items: center; gap: 14px; }
.lib-acct-t { min-width: 0; }
.lib-acct-n { margin: 0; font-family: var(--l-serif); font-size: 21px; line-height: 1.2; overflow-wrap: anywhere; }
.lib-acct-e { margin: 3px 0 0; font-size: 14.5px; line-height: 1.35; color: var(--l-ink-2); overflow-wrap: anywhere; }
.lib-acct-k { margin: 3px 0 0; font-size: 14px; line-height: 1.35; color: var(--l-ink-3); }
/* nobody is in: one line, and Sign in beside it */
.lib-acct.is-out { justify-content: space-between; gap: 12px; min-height: 60px; margin-top: 14px; padding: 10px 10px 10px 20px; border-radius: 999px; background: var(--l-surface-2); }
.lib-acct.is-out .lib-acct-k { margin: 0; font-size: 15px; color: var(--l-ink-2); }
.lib-acct-in { flex: none; display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; background: var(--l-ink); color: var(--l-surface); font-size: 15px; white-space: nowrap; transition: background-color .2s var(--l-out); }
.lib-acct-in:hover { background: color-mix(in srgb, var(--l-ink) 86%, var(--l-surface)); }
.lib-acct-in:focus-visible { outline: 2px solid var(--l-ink); outline-offset: 2px; }

/* the settings: one row each, the name at the left and what is chosen at the right */
.lib-set { display: grid; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--l-line); }
.lib-set-h, .lib-hist-h { margin: 0 0 6px; font-family: inherit; font-size: 14px; font-weight: 400; line-height: 1.3; color: var(--l-ink-3); }
.lib-setrow, .lib-switch, .lib-hist-clear { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: calc(100% + 20px); min-height: 48px; margin: 0 -10px; padding: 8px 10px; border-radius: 12px; background: none; text-align: left; font-size: 15.5px; line-height: 1.3; color: var(--l-ink); cursor: pointer; transition: background-color .2s var(--l-out); }
.lib-setrow:hover, .lib-switch:hover, .lib-hist-clear:hover { background: var(--l-hover); }
.lib-setrow:focus-visible, .lib-switch:focus-visible, .lib-hist-clear:focus-visible { outline: 2px solid var(--l-ink); outline-offset: -2px; }
.lib-setrow-l { flex: none; }
.lib-setrow-v { min-width: 0; display: inline-flex; align-items: center; gap: 4px; font-size: 15px; color: var(--l-ink-3); }
.lib-setrow-v > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lib-setrow-v svg { flex: none; width: 17px; height: 17px; margin-right: -4px; }
/* a choice of two: both in sight, no list to open. BiteSized's choice that slides (its clean.css section 19, 19 November
   2026): a grey track with a hairline, and one white plate under the one chosen that slides to the other */
.lib-two { display: grid; gap: 10px; padding: 12px 0 10px; }
.lib-two-l { font-size: 15.5px; line-height: 1.3; color: var(--l-ink); }
.lib-two-b { position: relative; isolation: isolate; display: 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; }
.lib-two-b::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); }
.lib-two-b:has(> button:nth-of-type(2)[aria-pressed="true"]) { --seg-i: 1; }
.lib-two-b:not(:has(> button[aria-pressed="true"]))::before { opacity: 0; }
.lib-two-b button { position: relative; z-index: 1; min-height: 38px; padding: 6px 12px; border-radius: 999px; font-size: 15px; line-height: 1.25; text-align: center; color: var(--l-ink-3); cursor: pointer; transition: color .2s var(--l-out); }
.lib-two-b button:hover { color: var(--l-ink); }
.lib-two-b button[aria-pressed="true"] { background: transparent; color: var(--l-ink); box-shadow: none; }
.lib-two-b button:focus-visible { outline: 2px solid var(--l-lilac); outline-offset: 1px; }
/* a switch is a row too: its name, a line under it only where it is needed, and the switch at the right */
.lib-switch { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.lib-switch-t { display: grid; gap: 2px; }
.lib-switch-t b { font-weight: 400; font-size: 15.5px; color: var(--l-ink); }
.lib-switch-t small { font-size: 14px; line-height: 1.35; color: var(--l-ink-3); }
.lib-switch-k { flex: none; position: relative; width: 44px; height: 26px; border-radius: 999px; background: var(--l-line-3); transition: background-color .25s var(--l-out); }
.lib-switch-k i { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--l-surface); box-shadow: var(--l-shadow-1); transition: translate .3s var(--l-spring); }
.lib-switch[aria-checked="true"] .lib-switch-k { background: var(--l-ink); }
.lib-switch[aria-checked="true"] .lib-switch-k i { translate: 18px 0; }
.lib-switch-aa { margin-top: 0; }
/* Sign out, at the foot (its button is one.js's, styled in one.css) */
.lib-you-foot { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--l-line); }

/* a list of Settings, in the panel's own place: the way back, what is being chosen, a field to type into, the choices.
   The field and the title stay; the choices scroll under them */
.lib-youbox.has-pane { display: flex; flex-direction: column; padding-bottom: 0; overflow: hidden; }
.lib-pane { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; animation: l-pane .28s var(--l-out) both; }
.lib-you-main.is-back { animation: l-pane-back .28s var(--l-out) both; }
@keyframes l-pane { from { opacity: 0; translate: 10px 0; } }
@keyframes l-pane-back { from { opacity: 0; translate: -10px 0; } }
.lib-pane .lib-page-back { flex: none; margin: 0 0 18px; }
.lib-pane-h { flex: none; margin: 0; font-family: var(--l-serif); font-size: 22px; font-weight: 400; line-height: 1.2; }
.lib-pane-s { flex: none; margin: 6px 0 16px; font-size: 14.5px; line-height: 1.45; color: var(--l-ink-3); text-wrap: pretty; }
.lib-pick-q { position: relative; flex: none; margin: 0 0 10px; }
.lib-pick-q svg { position: absolute; left: 15px; top: 50%; translate: 0 -50%; width: 17px; height: 17px; color: var(--l-ink-3); pointer-events: none; }
.lib-pick-q input { display: block; width: 100%; height: 46px; margin: 0; padding: 0 16px 0 42px; border: 0; border-radius: 999px; background: var(--l-surface-2); box-shadow: inset 0 0 0 1px transparent; color: var(--l-ink); font-size: 15.5px; transition: box-shadow .2s var(--l-out), background-color .2s var(--l-out); }
.lib-pick-q input::placeholder { color: var(--l-ink-3); opacity: 1; }
.lib-pick-q input:focus { outline: none; background: var(--l-surface); box-shadow: inset 0 0 0 1px var(--l-lilac), 0 0 0 3px color-mix(in srgb, var(--l-lilac) 18%, transparent); }
/* the choices run down to the panel's own edge, so a list longer than the panel is seen to go on */
.lib-pick-o { position: relative; flex: 1 1 auto; min-height: 0; display: grid; align-content: start; gap: 2px; margin: 0 -10px; padding: 0 0 14px; overflow: auto; overscroll-behavior: contain; }
.lib-pick-o [hidden] { display: none; }
.lib-pick-o button { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 46px; padding: 8px 12px 8px 10px; border-radius: 12px; text-align: left; font-size: 15.5px; line-height: 1.3; color: var(--l-ink); cursor: pointer; transition: background-color .15s var(--l-out); }
.lib-pick-o button > span { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; }
.lib-pick-o small { font-size: 15px; color: var(--l-ink-3); }
.lib-pick-o button svg { flex: none; width: 18px; height: 18px; opacity: 0; }
.lib-pick-o button:hover, .lib-pick-o .is-on { background: var(--l-hover); }
.lib-pick-o [aria-selected="true"] { background: var(--l-surface-2); }
.lib-pick-o [aria-selected="true"] svg { opacity: 1; }
.lib-pick-o button:focus-visible, .lib-pane.is-keys .lib-pick-o .is-on { outline: 2px solid var(--l-lilac); outline-offset: -2px; }
.lib-pick-none { flex: none; margin: 0; padding: 10px 0 12px; font-size: 15px; color: var(--l-ink-3); }
.lib-pick-none:empty { display: none; }

/* History: the title and New conversation, then the favourites and the conversations under the day they belong to */
.lib-histbox-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 2px; }
.lib-histbox-new { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px 0 12px; border-radius: 999px; background: var(--l-surface); box-shadow: inset 0 0 0 1px var(--l-line-2); color: var(--l-ink); font-size: 15px; white-space: nowrap; cursor: pointer; transition: box-shadow .2s var(--l-out); }
.lib-histbox-new:hover { box-shadow: inset 0 0 0 1px var(--l-line-3); }
.lib-histbox-new:focus-visible { outline: 2px solid var(--l-ink); outline-offset: 2px; }
.lib-histbox-new svg { width: 17px; height: 17px; color: var(--l-ink-2); }
.lib-hist-h { margin: 22px 0 6px; }
.lib-hist-list { display: grid; gap: 2px; margin: 0 -10px; padding: 0; list-style: none; }
.lib-hist-list li { position: relative; }
.lib-hist-row { display: grid; align-content: center; gap: 3px; min-height: 52px; padding: 10px 94px 10px 10px; border-radius: 12px; color: var(--l-ink); transition: background-color .2s var(--l-out); }
.lib-hist-row:hover { background: var(--l-hover); }
.lib-hist-row[aria-current] { background: var(--l-surface-2); }
.lib-hist-row:focus-visible { outline: 2px solid var(--l-ink); outline-offset: -2px; }
.lib-hist-q { font-size: 15.5px; line-height: 1.38; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lib-hist-row small { font-size: 14px; color: var(--l-ink-3); }
/* the star and the cross of a row: there, quiet, and in full ink once the row is in hand. A favourite's star is always full */
.lib-hist-star, .lib-hist-x { position: absolute; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--l-ink-3); opacity: .62; cursor: pointer; transition: opacity .2s var(--l-out), background-color .2s var(--l-out), color .2s var(--l-out); }
.lib-hist-x { right: 4px; }
.lib-hist-star { right: 46px; }
.lib-hist-x svg { width: 15px; height: 15px; }
.lib-hist-star svg { width: 18px; height: 18px; }
.lib-hist-list li:hover > button, .lib-hist-star:focus-visible, .lib-hist-x:focus-visible, .lib-hist-star.is-on { opacity: 1; }
.lib-hist-star:hover, .lib-hist-x:hover { background: var(--l-hover); color: var(--l-ink); }
.lib-hist-star.is-on { color: var(--l-ink); }
.lib-hist-star:focus-visible, .lib-hist-x:focus-visible { outline: 2px solid var(--l-ink); outline-offset: -2px; }
/* a saved video: its title after a small play mark, and the word Video under it */
.lib-hist-vm { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 8px; border-radius: 6px; background: var(--l-surface-2); box-shadow: inset 0 0 0 1px var(--l-line); color: var(--l-ink-2); vertical-align: -3px; }
.lib-hist-vm svg { width: 11px; height: 11px; margin-left: 1px; }
/* nothing kept yet: said kindly, in the middle */
.lib-hist-none { display: grid; justify-items: center; gap: 4px; padding: 38px 16px 30px; text-align: center; }
.lib-hist-none-i { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 10px; border-radius: 50%; background: var(--l-surface-2); color: var(--l-ink-3); }
.lib-hist-none-i svg { width: 22px; height: 22px; }
.lib-hist-none b { font-family: var(--l-serif); font-weight: 400; font-size: 21px; line-height: 1.25; letter-spacing: -.01em; color: var(--l-ink); }
.lib-hist-none b + span { max-width: 22em; font-size: 15px; line-height: 1.5; color: var(--l-ink-3); text-wrap: balance; }
/* the foot: Incognito, and Clear history */
.lib-hist-foot { display: grid; margin-top: 18px; padding-top: 10px; border-top: 1px solid var(--l-line); }
.lib-hist-clear { color: var(--l-ink-2); font-size: 15px; }

/* On a phone History and Settings are pages of their own: they fill the window, with Back at the top left. A list of
   Settings is a page as well: its Back leads to the settings */
.lib-page-back { margin: 0 0 22px; }
.lib-backpill { 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); color: var(--l-ink); font-size: 15px; line-height: 1; white-space: nowrap; cursor: pointer; transition: background-color .2s var(--l-out), box-shadow .2s var(--l-out); }
.lib-backpill svg { width: 18px; height: 18px; }
.lib-backpill:hover { background: var(--l-hover); box-shadow: inset 0 0 0 1px var(--l-line-3); }
.lib-backpill:focus-visible { outline: 2px solid var(--l-ink); outline-offset: 2px; }
html.has-panel-page { overflow: hidden; }
.lib-youbox.is-page { position: fixed; inset: 0; width: auto; max-width: none; height: auto; max-height: none; padding: 14px 20px calc(32px + env(safe-area-inset-bottom)); border-radius: 0; box-shadow: none; overflow: auto; overscroll-behavior: contain; translate: 0 12px; }
.lib-youbox.is-page.has-pane { padding-bottom: 0; overflow: hidden; }
.lib-youbox.is-page .lib-pick-o { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
.lib-youbox.is-page.is-open { translate: 0 0; }
.lib-youbox.is-page .lib-youbox-h, .lib-youbox.is-page .lib-pane-h { font-size: 28px; }
.lib-youbox.is-page .lib-histbox-top { margin-bottom: 6px; }
@media (max-width: 760px) {
  /* in the bar the mark stands over the first name, as History's sign stands over its word */
  .lib-you.is-who { gap: 3px; padding: 0 4px; }
  /* the mark is taller than History's sign: it rises by the difference, so the two words stand on one line */
  .lib-you.is-who .lib-who-i { width: 24px; height: 24px; margin-top: -6px; font-size: 13px; }
  .lib-who-n { max-width: 88px; }
  /* what is pressed with a finger is 44 px or more */
  .lib-setrow, .lib-switch, .lib-hist-clear { min-height: 52px; font-size: 16px; }
  .lib-setrow-v, .lib-two-b button, .lib-acct-e, .lib-acct-k, .lib-pane-s, .lib-set-h, .lib-hist-h, .lib-hist-row small { font-size: 15px; }
  .lib-switch-t b, .lib-two-l, .lib-hist-q, .lib-pick-o button { font-size: 16px; }
  .lib-two-b button { min-height: 46px; }
  .lib-acct-in, .lib-backpill, .lib-histbox-new { height: 44px; }
  .lib-pick-o button { min-height: 52px; }
  /* 16 px in the field, so the page does not zoom in when it is pressed */
  .lib-pick-q input { height: 48px; font-size: 16px; }
  .lib-hist-row { min-height: 56px; padding-right: 100px; }
  .lib-hist-star, .lib-hist-x { width: 44px; height: 44px; }
  .lib-hist-x { right: 2px; }
  .lib-hist-star { right: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .lib-youbox { transition: opacity .2s var(--l-out); }
  .lib-youbox.is-page { translate: none; }
  .lib-pane, .lib-you-main.is-back { animation: none; }
  .lib-switch-k, .lib-switch-k i, .lib-two-b::before { transition: none; }
}

/* the moving field stays behind a conversation, lower and quieter than at the start, so the text is what is read */
.lib-main > .lib-field.is-quiet { top: 0; height: min(46vh, 440px); }
html.has-field .lib-field.is-quiet, .lib-field.is-quiet.is-flat { opacity: .55; }

@media (max-width: 760px) {
  .lib-thread { min-height: calc(var(--l-vh) - 64px); padding: 14px 18px 0; }
  .lib-turn { scroll-margin-top: 80px; }
  .lib-turn + .lib-turn { margin-top: 56px; }
  .lib-turn:last-child:not(:first-child) { min-height: calc(var(--l-vh) - 300px); }
  .lib-thread .lib-res-title { font-size: 27px; margin-bottom: 18px; }
  .lib-thread .lib-res-title.is-next { font-size: 23px; }
  .lib-thread .lib-w-body { font-size: 18.5px; line-height: 1.55; }
  .lib-thread .lib-w-lead { font-size: 20.5px; }
  .lib-tabs { margin: 0 0 22px; }
  .lib-thread .lib-srcs { margin: 0 -8px; }
  .lib-thread .lib-more-h { margin-top: 36px; }
  .lib-ask-dock { margin: 48px -18px 0; padding: 26px 10px 8px; }
  .lib-ask { padding: 12px 10px 10px 16px; border-radius: 16px; }
  .lib-ask-b { padding: 0 13px 0 10px; }
  html[data-page="search"] .lib-toast { bottom: 190px; }
  .lib-main > .lib-field.is-quiet { height: 32vh; }
  html.has-field .lib-field.is-quiet, .lib-field.is-quiet.is-flat { opacity: .5; }
  /* the top bar: History and New as the other entries are, a mark over its word; Larger text moves into Settings */
  .lib-top-l { gap: 0; }
  .lib-top-l .lib-brand { margin-right: 4px; }
  .lib-hist, .lib-new { flex-direction: column; justify-content: center; gap: 3px; height: 54px; min-width: 56px; padding: 0 4px; border-radius: 14px; box-shadow: none; background: transparent; }
  .lib-hist:hover, .lib-new:hover { box-shadow: none; }
  .lib-hist .lib-lbl, .lib-new .lib-lbl { display: block; font-size: 11.5px; line-height: 1.1; color: var(--l-ink-2); white-space: nowrap; }
  .lib-hist-c, .lib-new-w { display: none; }
  .lib-hist[aria-expanded="true"] { background: var(--l-surface-2); }
  .lib-top .lib-aa, .lib-top .lib-mini { display: none; }
  .lib-incog { width: 30px; height: 30px; margin-left: 2px; padding: 0; justify-content: center; }
  .lib-incog span { display: none; }
  /* the first box: the words on their own line, then Dictate, Talk and Ask under them */
  .lib-box, .lib-box.is-big, .lib-box:not(.is-big) { flex-wrap: wrap; gap: 8px; padding: 8px; border-radius: 24px; }
  .lib-box .lib-q-wrap { flex: 0 0 100%; padding: 0 10px; }
  .lib-box .lib-ph { left: 10px; right: 10px; }
  .lib-box .lib-go, .lib-box:not(.is-big) .lib-go { margin-left: auto; width: auto; padding: 0 16px 0 20px; }
  .lib-box .lib-go-t { display: inline; }
  .lib-box.is-talking { padding: 8px 8px 8px 18px; }
}

/* The sheet sits 12px inside the window. Nothing that scrolls shows through that edge above the bar. */
.lib-top::before { content: ""; position: absolute; left: -12px; right: -12px; bottom: 100%; height: 12px; background: var(--l-page); }
@media (max-width: 760px) { .lib-top::before { content: none; } }

/* A narrow window: Larger text is in Settings, and the Incognito mark keeps its sign (the words are said under the box). */
@media (max-width: 1000px) { .lib-top .lib-aa { display: none; } }
@media (max-width: 900px) and (min-width: 761px) { .lib-incog { width: 32px; padding: 0; justify-content: center; } .lib-incog span { display: none; } }

/* In a conversation the note that no video exists is one quiet line under the answer, not a box. */
.lib-thread .lib-novideo { margin-top: 32px; padding: 0; background: none; color: var(--l-ink-3); font-size: 15px; }
.lib-thread .lib-novideo svg { width: 16px; height: 16px; margin-top: 3px; }

/* A short window: when the question rises for the list, the title would slide under the bar, so it steps out. */
@media (max-height: 860px) and (min-width: 761px) { html.has-sug .lib-page-home .lib-hello { opacity: 0 !important; } }

/* The moving field stays in place while a conversation scrolls: it is still there at the second and the tenth answer. */
.lib-main > .lib-field.is-quiet { position: fixed; top: 12px; left: 12px; right: 12px; border-radius: 20px 20px 0 0; overflow: hidden; }
@media (max-width: 760px) { .lib-main > .lib-field.is-quiet { top: 0; left: 0; right: 0; border-radius: 0; } }
/* Over a conversation the bar is frosted, so the field is seen through it and does not start at a line under it. */
html[data-page="search"].is-scrolled .lib-top { background: color-mix(in srgb, var(--l-surface) 74%, transparent); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
/* On a phone the words on the play button and under the video keep to one line each. */
.lib-answer-play, .lib-answer-acts .lib-btn, .lib-answer-acts .lib-pill { white-space: nowrap; }
.lib-answer-acts { flex-wrap: wrap; }
@media (max-width: 480px) { .lib-answer-play { height: 48px; padding: 0 18px 0 14px; font-size: 15px; } .lib-answer-acts .lib-btn { padding: 0 18px 0 14px; } }

/* ── Desktop review, 10 November 2026 ───────────────────────────────────────────────────────────────────────────
   What a doctor at a desk met: the video under the text went unseen behind the box to ask again, History and
   Settings could not be used without a mouse, and the words under an answer were small and grey. ── */

/* a way past the top bar for the keyboard: seen only while the place is on it */
.lib-skip { position: absolute; left: 16px; top: 16px; z-index: 2; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--l-surface); box-shadow: 0 0 0 1px var(--l-line-2), var(--l-shadow-2); font-size: 15px; white-space: nowrap; opacity: 0; pointer-events: none; }
.lib-skip:focus-visible { opacity: 1; pointer-events: auto; }
/* the question and the main area take the place after asking or opening a conversation: nothing to press, so no ring */
.lib-res-title:focus, .lib-more-h:focus, #libMain:focus { outline: none; }

/* beside Answer and Sources, the way down to the video. An outline like theirs with a play mark, so it reads as a
   place to go and not as a third view */
.lib-tabs-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 26px; }
.lib-tabs-row .lib-tabs { margin: 0; }
.lib-tab-go { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px 0 14px; 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-2); transition: color .25s var(--l-out), box-shadow .25s var(--l-out); }
.lib-tab-go svg { flex: none; width: 14px; height: 14px; }
.lib-tab-go small { font-size: 13px; color: var(--l-ink-3); }
.lib-tab-go:hover { color: var(--l-ink); box-shadow: inset 0 0 0 1px var(--l-line-3); }
.lib-tab-go:focus-visible { outline-offset: 3px; }
.lib-more-h[id] { scroll-margin-top: 104px; }
/* what the keyboard reaches stays above the box to ask again */
html[data-page="search"] { scroll-padding-bottom: 200px; }
/* and below the bar at the top (audit pass 4): the window keeps the bar's height free above what takes the focus. A
   conversation's own jumps land where they did, the turn's and the heading's margins being that much less */
html { scroll-padding-top: 96px; }
.lib-turn, .lib-more-h[id] { scroll-margin-top: 8px; }
@media (max-width: 760px) { html { scroll-padding-top: 72px; } .lib-more-h[id] { scroll-margin-top: 32px; } }
@media (max-width: 760px) { .lib-tabs-row { margin: 0 0 22px; } }

/* the words under an answer stay words (his request of 10 November), at the size of the text and dark enough to read */
.lib-tt { gap: 2px 26px; }
.lib-tt button { min-height: 36px; font-size: 16px; color: var(--l-ink-2); }
.lib-tt button:hover, .lib-tt button[aria-expanded="true"] { color: var(--l-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
/* the question about the answer: a line of its own after the related questions, Yes and No as two things to press */
.lib-tt-ask { flex: none; display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 15px; color: var(--l-ink-2); }
.lib-tt-ask span { margin-right: 8px; }
.lib-tt-ask button { min-width: 60px; height: 36px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--l-line-2); font-size: 15px; color: var(--l-ink); transition: background-color .2s var(--l-out), box-shadow .2s var(--l-out); }
.lib-tt-ask button:hover { background: var(--l-hover); box-shadow: inset 0 0 0 1px var(--l-line-3); }
.lib-tt-ask button:focus-visible { outline: 2px solid var(--l-ink); outline-offset: 3px; }
/* the number of a source in the text: large enough to press */
.lib-cite { min-width: 24px; height: 24px; padding: 0 7px; font-size: 13.5px; vertical-align: 2px; }
.lib-cite::after { inset: -7px -4px; }

/* Larger text is one press in the top bar; the switch in Settings is for the widths where the bar has no room for it */
@media (min-width: 1001px) { .lib-switch-aa { display: none; } }

/* the video card: the controls that are not seen are not stops for the keyboard either, and the bar shows while the
   place is on it */
.lib-answer:not(.is-on) .lib-answer-bar { visibility: hidden; }
.lib-answer.is-on .lib-answer-play { visibility: hidden; transition: scale .2s var(--l-out), opacity .3s var(--l-out), visibility 0s linear .3s; }
.lib-answer.is-playing .lib-answer-bar:focus-within { opacity: 1; }

/* What is read under an answer is 14 px on a desktop: the line under the ask box, the minutes on a video and its Sample mark. */
@media (min-width: 761px) {
  .lib-dur, .lib-sample, .lib-answer-player .lib-sample { font-size: 13.5px; }
  .lib-at, .lib-says .lib-at, .lib-answer-time { font-size: 14px; }
  /* and the small lines of History and Settings */
  .lib-hist-row small, .lib-switch-t small, .lib-field-l small { font-size: 14px; }
}

/* ── The line under every box to ask (10 November 2026): what the answers are for, said once, small and quiet but read
      without effort. The same piece on the first page and under an answer. ── */
.lib-guard { margin: 12px auto 0; max-width: 46em; text-align: center; font-size: 14px; line-height: 1.45; color: var(--l-ink-3); text-wrap: balance; }
.lib-guard-note { margin: 4px 0 0; text-align: center; font-size: 14px; line-height: 1.45; color: var(--l-ink-3); }
.lib-home-in .lib-guard { margin-top: 14px; animation: l-rise .55s var(--l-spring) .14s both; }
.lib-home-in .lib-guard + .lib-note { margin-top: 6px; }
.lib-ask-dock .lib-guard { margin-top: 10px; }
html.has-sug .lib-home-in .lib-guard { opacity: 0; transition: opacity .2s var(--l-out); }
@media (prefers-reduced-motion: reduce) { .lib-home-in .lib-guard { animation: none; } }

/* ── Reading, 10 November 2026: the greys are darker (the answer's points are now near ink, their subject still in full
      ink), and nothing that is read is under 14 px on a desktop or under 15 px on a phone. Sizes only; the layout and the
      buttons stay as they are. ── */
.lib-saved-n { min-width: 22px; height: 22px; font-size: 14px; }
.lib-first, .lib-sample-inline, .lib-tab small, .lib-tab-go small, .lib-src-n, .lib-incog, .lib-menu small, .lib-sug-n, .lib-sug-sub, .lib-cont-s, .lib-try small, .lib-cite { font-size: 14px; }
.lib-dur, .lib-sample, .lib-answer-player .lib-sample, .lib-at, .lib-says .lib-at, .lib-answer-time, .lib-hist-row small, .lib-switch-t small, .lib-field-l small { font-size: 14px; }
.lib-cite { min-width: 26px; height: 26px; }
@media (max-width: 760px) {
  .lib-guard, .lib-guard-note { font-size: 15px; }
  .lib-meta, .lib-at, .lib-says .lib-at, .lib-answer-time, .lib-first, .lib-sample-inline, .lib-dur, .lib-sample, .lib-answer-player .lib-sample,
  .lib-tab small, .lib-tab-go small, .lib-src-n, .lib-src-w, .lib-src-open, .lib-w-sample, .lib-cite, .lib-saved-n, .lib-menu small, .lib-sug-sub, .lib-cont-s,
  .lib-try small, .lib-youbox-s, .lib-field-l, .lib-field-l small, .lib-hist-row small, .lib-switch-t small, .lib-histbox-new, .lib-hist-clear, .lib-back-clear,
  .lib-divide, .lib-why, .lib-tt-ask, .lib-tt-ask button, .lib-pick, .lib-show-q, .lib-save-mini { font-size: 15px; }
  .lib-saved-n { min-width: 22px; height: 22px; }
  .lib-top-r .lib-lbl, .lib-saved-link span.lib-lbl, .lib-hist .lib-lbl, .lib-new .lib-lbl { font-size: 15px; }
}

/* ── Dictate (11 November 2026, Sergio: Talk goes, Dictate keeps the animation it had while listening). While the microphone
      is open the button is ink, five bars move in place of its icon, it says Listening and a soft ring breathes round
      it, in the grey accent since 19 November 2026. Nothing moves once listening stops, and with reduced motion the bars
      stand still. ── */
[data-mic] .lib-wave { display: none; align-items: center; gap: 2px; width: 18px; height: 18px; }
[data-mic] .lib-wave i { flex: none; width: 2.5px; height: 100%; border-radius: 2px; background: currentColor; scale: 1 .3; }
[data-mic][aria-pressed="true"] svg { display: none; }
[data-mic][aria-pressed="true"] .lib-wave { display: inline-flex; }
[data-mic][aria-pressed="true"] .lib-wave i { animation: l-wave .9s ease-in-out infinite; }
[data-mic] .lib-wave i:nth-child(2) { animation-delay: -.62s; } [data-mic] .lib-wave i:nth-child(3) { animation-delay: -.31s; }
[data-mic] .lib-wave i:nth-child(4) { animation-delay: -.76s; } [data-mic] .lib-wave i:nth-child(5) { animation-delay: -.15s; }
@keyframes l-wave { 50% { scale: 1 1; } }
.lib-ask-b[aria-pressed="true"] { animation: l-listen-s 1.6s var(--l-out) infinite; }
@keyframes l-listen-s { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--l-lilac) 45%, transparent); } 100% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--l-lilac) 0%, transparent); } }
@media (prefers-reduced-motion: reduce) { [data-mic] .lib-wave i { animation: none !important; scale: 1 .6; } .lib-ask-b[aria-pressed="true"] { animation: none; } }

/* ── Save beside "Watch the whole video" (11 November 2026, Sergio: it looked like an oval). A round button that grows a
      word keeps fully rounded ends and straight sides, at the height of the button beside it. ── */
.lib-pill-t { height: 46px; border-radius: 999px; }

/* ── Larger text (11 November 2026, Sergio: the top bar keeps fewer things). It is no longer in the bar; it is the switch in
      Settings at every width, with the same effect and kept on this device as before. ── */
.lib-switch-aa { display: grid; }

/* ── The box rising for the suggestions (11 November 2026, Sergio: it jumped up abruptly). It moves by transform only,
      with a gentle ease-out of 340 ms and no overshoot; the list fades and slides in a little after it starts. On closing it is
      the reverse: the list goes first, then the box comes down. With reduced motion nothing moves, it just appears. ── */
.lib-home-in { transition: translate .34s cubic-bezier(.25,.46,.45,.94) .06s; }
html.has-sug .lib-page-home .lib-home-in { transition: translate .34s cubic-bezier(.25,.46,.45,.94); }
.lib-sug { transition: opacity .16s var(--l-out), translate .2s var(--l-out); }
.lib-sug.is-open { transition: opacity .24s var(--l-out) .12s, translate .3s var(--l-out) .12s; }
.lib-hello, .lib-lead { transition: opacity .28s var(--l-out); }
.lib-home-in .lib-guard { transition: opacity .24s var(--l-out); }
.lib-home-in .lib-note { transition: color .3s var(--l-out), opacity .24s var(--l-out); }
@media (prefers-reduced-motion: reduce) {
  .lib-home-in, html.has-sug .lib-page-home .lib-home-in, .lib-sug, .lib-sug.is-open, .lib-hello, .lib-lead, .lib-home-in .lib-guard, .lib-home-in .lib-note { transition: none; }
  .lib-sug { translate: none; }
}

/* ── a follow-up as a turn of a chat (10 November 2026). Sergio asked "Are you sure?" and got a search page back. What is
      asked after the first question is the person's words in a bubble on the right, in the serif of the question, and the
      reply under it as a message: no tabs, no "no video" line, the sources in one small list only when it cites new ones,
      the video only when the question brought one. The bubble is a neutral grey, never a tint. ── */
.lib-turn + .lib-turn.is-chat { margin-top: 48px; }
.lib-asked { display: flex; justify-content: flex-end; margin: 0 0 22px; }
.lib-thread .lib-asked .lib-res-title.is-next { max-width: min(82%, 32em); margin: 0; padding: 12px 18px 13px; border-radius: 22px 22px 6px 22px; background: var(--l-surface-2); font-size: 19.5px; line-height: 1.42; letter-spacing: 0; text-wrap: pretty; overflow-wrap: anywhere; color: var(--l-ink); }
.lib-thread .lib-c-body { font-size: 19px; line-height: 1.6; }
.lib-thread .lib-c-body > * + * { margin-top: 14px; }
.lib-c-note { margin: 0; font-size: 17px; line-height: 1.5; color: var(--l-ink-2); }
.lib-c-src { display: grid; gap: 4px; margin-top: 18px; }
.lib-c-src-h { font-size: 13.5px; color: var(--l-ink-3); }
.lib-c-srcs { margin: 0 -8px; padding: 0; list-style: none; display: grid; }
.lib-c-srcs li { border-radius: 10px; transition: background-color .5s var(--l-out); }
.lib-c-srcs li.is-marked { background: var(--l-surface-2); }
.lib-c-a { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; align-items: baseline; padding: 6px 8px; border-radius: 10px; font-size: 14.5px; line-height: 1.42; color: var(--l-ink-2); transition: background-color .25s var(--l-out), color .25s var(--l-out); }
a.lib-c-a:hover { background: var(--l-hover); color: var(--l-ink); }
.lib-c-n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--l-surface-2); box-shadow: inset 0 0 0 1px var(--l-line); font-size: 12px; line-height: 1; font-variant-numeric: tabular-nums; color: var(--l-ink-2); }
.lib-c-srcs li.is-marked .lib-c-n { background: var(--l-ink); color: var(--l-surface); }
.lib-c-w { color: var(--l-ink-3); }
.lib-c .lib-tt { margin-top: 16px; }
.lib-c .lib-w-sample { margin-top: 14px; }
@media (max-width: 760px) {
  .lib-turn + .lib-turn.is-chat { margin-top: 40px; }
  .lib-asked { margin-bottom: 18px; }
  .lib-thread .lib-asked .lib-res-title.is-next { max-width: 88%; padding: 11px 16px 12px; font-size: 18px; }
  .lib-thread .lib-c-body { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .lib-c-srcs li { transition: none; } }

/* ── Thinking (17 November 2026, the owner: on asking, a video came first and the written answer seconds later, and the
      wait was a still line over four grey bars, with nothing to show an assistant at work). Now the answer's place
      holds a state that is seen to be working, and the turn's videos stay out of sight until the answer is there.
      One soft light, the lilac that travels the edge of the box on the first page, passes over the word Thinking, set
      in the serif the answer will be read in; then the app's mark beside it closes towards its centre and opens again.
      Under it the steps, in the sans, as they go: a finished one keeps a check and goes quiet, the current one is in
      ink beside a lilac point whose ring breathes, as the ring round Dictate does while it listens. Nothing turns,
      nothing bounces, and no number counts down. A follow-up gets the same, smaller, as a reply of the chat.
      When the answer arrives the state fades, the answer's parts rise in one after another, and the videos after them.
      With reduced motion nothing moves: the word, the steps and their checks say the same by themselves. ── */
.lib-wrap[hidden] { display: none; }
/* the word and the light that crosses it: a pale lilac over ink on the white sheet, near white over grey in the dark */
.lib-think { --l-think-ink: var(--l-ink-2); --l-think-light: color-mix(in srgb, var(--l-lilac) 62%, var(--l-surface)); }
:root[data-theme="dark"] .lib-think { --l-think-ink: var(--l-ink-3); --l-think-light: var(--l-ink); }
.lib-think-h { display: flex; align-items: center; gap: 12px; min-height: 40px; margin: 0 0 10px; }
.lib-think-mark { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--l-ink); color: var(--l-surface); }
.lib-think-mark svg { width: 15px; height: 15px; }
/* each stroke is 18 long: it closes towards its middle and opens again, so the mark is the same mark all the way */
.lib-think-mark svg path { stroke-dasharray: 18.2 18.2; animation: l-think-mark 3.2s ease-in-out infinite; }
@keyframes l-think-mark { 0%, 66%, 100% { stroke-dasharray: 18.2 18.2; stroke-dashoffset: 0; } 84% { stroke-dasharray: 7.6 18.2; stroke-dashoffset: -5.2; } }
.lib-think-w { font-family: var(--l-serif); font-size: 21.5px; line-height: 1.3; letter-spacing: -.008em; color: var(--l-think-ink); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .lib-think-w { background: linear-gradient(100deg, var(--l-think-ink) 0%, var(--l-think-ink) 38%, var(--l-think-light) 50%, var(--l-think-ink) 62%, var(--l-think-ink) 100%) 100% 0 / 320% 100% no-repeat;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: l-think-light 3.2s linear infinite; }
}
/* the light crosses the word in the first two thirds of the turn; in the last third the mark closes and opens */
@keyframes l-think-light { 0%, 2% { background-position: 100% 0; } 68%, 100% { background-position: 0 0; } }
.lib-think-steps { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.lib-think-steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 32px; font-size: 16.5px; line-height: 1.35; color: var(--l-ink); transition: color .35s var(--l-out); }
.lib-think-steps li.is-new { animation: l-rise .45s var(--l-spring) both; }
.lib-think-steps li[data-state="done"], .lib-think-steps li[data-state="found"] { color: var(--l-ink-3); }
.lib-think-steps li:not([data-state="done"]) [data-step-done] { display: none; }
.lib-think-i { position: relative; display: grid; place-items: center; width: 28px; height: 28px; }
.lib-think-i > * { grid-area: 1 / 1; }
.lib-think-i i { width: 8px; height: 8px; border-radius: 50%; background: var(--l-lilac); animation: l-think-point 1.8s var(--l-out) infinite; transition: opacity .2s var(--l-out), scale .2s var(--l-out); }
@keyframes l-think-point { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--l-lilac) 42%, transparent); } 100% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--l-lilac) 0%, transparent); } }
.lib-think-i svg { width: 17px; height: 17px; color: var(--l-ink-3); }
.lib-think-i svg path { stroke-dasharray: 22; stroke-dashoffset: 22; transition: stroke-dashoffset .32s var(--l-out) .08s; }
li[data-state="done"] .lib-think-i i { opacity: 0; scale: .4; animation: none; }
li[data-state="done"] .lib-think-i svg path { stroke-dashoffset: 0; }
li[data-state="found"] .lib-think-i svg { width: 13px; height: 13px; }
li[data-state="found"] .lib-think-i svg path { stroke-dasharray: none; stroke-dashoffset: 0; }
.lib-think.is-leaving { animation: l-think-out .18s var(--l-out) both; }
@keyframes l-think-out { to { opacity: 0; } }
/* as a reply of the chat */
.lib-think.is-chat .lib-think-h { gap: 10px; min-height: 0; margin-bottom: 6px; }
.lib-think.is-chat .lib-think-mark { width: 24px; height: 24px; border-radius: 8px; }
.lib-think.is-chat .lib-think-mark svg { width: 13px; height: 13px; }
.lib-think.is-chat .lib-think-w { font-size: 19px; }
.lib-think.is-chat .lib-think-steps li { grid-template-columns: 24px minmax(0, 1fr); gap: 10px; min-height: 29px; font-size: 15.5px; }
.lib-think.is-chat .lib-think-i { width: 24px; height: 24px; }
.lib-think.is-chat .lib-think-i i { width: 7px; height: 7px; }
.lib-think.is-chat .lib-think-i svg { width: 15px; height: 15px; }
.lib-think.is-chat li[data-state="found"] .lib-think-i svg { width: 12px; height: 12px; }
/* the answer that has just arrived: its parts one after another, then the videos that waited for it */
/* the article's own rise is cut to nothing, never taken away: taking an animation away and giving it back starts it again */
.lib-w.is-arriving, .lib-w.is-still, .lib-w.is-still .lib-w-view { animation-duration: 0s; }
.lib-part { animation: l-rise .5s var(--l-spring) both; animation-delay: calc(var(--k, 0) * 60ms); }
.lib-wrap.is-in > * { animation: l-rise .55s var(--l-spring) both; animation-delay: calc(var(--k, 0) * 60ms + 80ms); }
@media (max-width: 760px) {
  .lib-think-w { font-size: 20.5px; }
  .lib-think-steps li { font-size: 16px; }
  .lib-think.is-chat .lib-think-w { font-size: 18.5px; }
  .lib-think.is-chat .lib-think-steps li { font-size: 15.5px; }
}
/* About this doctor, with less motion: it appears in place */
@media (prefers-reduced-motion: reduce) { .lib-dm-scrim, .lib-dm-box { transition: none; translate: none; } }
@media (prefers-reduced-motion: reduce) {
  .lib-think-slow { animation: none; }
  .lib-think-mark svg path, .lib-think-i i, .lib-think-steps li.is-new, .lib-part, .lib-wrap.is-in > * { animation: none; }
  .lib-think-w { animation: none; background: none; -webkit-text-fill-color: currentColor; color: var(--l-ink); }
  .lib-think-steps li, .lib-think-i i, .lib-think-i svg path { transition: none; }
  .lib-think.is-leaving { animation: none; }
}

/* ── the doctor on every video card (20 November 2026): photo and name in readable weight, the specialty after; the name wraps,
   it is never cut, and the title gives way first ── */
.lib-doc { display: inline-flex; align-items: center; gap: 9px; min-width: 0; max-width: 100%; vertical-align: middle; }
.lib-doc-face { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: var(--l-lilac-soft); color: var(--l-ink-2); font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.lib-doc-t { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; row-gap: 0; min-width: 0; }
.lib-doc-n { font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--l-ink); overflow-wrap: anywhere; }
.lib-doc-s { font-size: 14px; line-height: 1.35; color: var(--l-ink-3); }
.lib-doc.is-m .lib-doc-face { width: 36px; height: 36px; font-size: 13px; }
.lib-doc.is-m .lib-doc-n { font-size: 16px; }
.lib-doc.is-l { gap: 14px; align-items: flex-start; }
.lib-doc.is-l .lib-doc-face { width: 60px; height: 60px; font-size: 18px; }
.lib-doc.is-l .lib-doc-t { flex-direction: column; align-items: flex-start; row-gap: 2px; }
.lib-doc.is-l .lib-doc-n { font-size: 21px; line-height: 1.25; }
.lib-doc.is-l .lib-doc-s { font-size: 15px; color: var(--l-ink-2); }
.lib-doc-rec { font-size: 13.5px; line-height: 1.45; color: var(--l-ink-3); font-variant-numeric: tabular-nums; }
.lib-doc-rec:empty { display: none; }
.lib-doc-kind { font-size: 13.5px; line-height: 1.45; color: var(--l-ink-3); }
.lib-doc-page { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 14px; color: var(--l-ink-2); text-decoration: underline; text-decoration-color: var(--l-line-3); text-underline-offset: 3px; }
.lib-doc-page svg { width: 13px; height: 13px; }
.lib-doc-page[hidden] { display: none; }
/* in a list row the doctor comes first, then the title, which is cut at two lines before the name ever is */
.lib-row-t .lib-doc { margin-bottom: 3px; }
.lib-row-t .lib-title, .lib-cont-t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lib-answer-t .lib-doc { margin-bottom: -2px; }
.lib-cont-card .lib-doc { margin: 8px 0 2px; }
.lib-cont-card .lib-doc-face { width: 22px; height: 22px; font-size: 9.5px; }
.lib-cont-card .lib-doc-n { font-size: 14px; }
.lib-hist-row .lib-doc { margin-top: 4px; }
.lib-hist-row .lib-doc-face { width: 20px; height: 20px; font-size: 9px; }
.lib-hist-row .lib-doc-n { font-size: 13.5px; font-weight: 500; }
.lib-sug-sub .lib-doc { margin-right: 6px; }
.lib-sug-sub .lib-doc-face { width: 18px; height: 18px; font-size: 8.5px; }
.lib-sug-sub .lib-doc-n { font-size: 13.5px; font-weight: 500; }
.lib-sug-at { color: var(--l-ink-3); }

/* ── Jeremy's companion document (18 November 2026), example A: under the physician header, the video and the written
   answer side by side on a wide screen; on a phone the header, the video, then the answer ── */
.lib-feat-media { display: grid; gap: 14px; min-width: 0; }
.lib-feat-label { margin: 0; font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--l-ink-2); }
.lib-feat-label span { font-weight: 400; color: var(--l-ink-3); }
.lib-w-video .lib-feat-dub, .lib-feat-dub { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--l-ink-3); }
.lib-feat-dub[hidden] { display: none; }
.lib-feat-row .lib-feat-dub { grid-column: 1 / -1; order: 1; }
/* the foot of the written answer: no approval of answers, where the sources come from, the two ways on */
.lib-w-foot { margin: 22px 0 0; display: grid; gap: 8px; justify-items: start; }
.lib-w-foot p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--l-ink-3); }
.lib-w-foot .lib-w-noapp { color: var(--l-ink-2); }
.lib-w-foot .lib-linkbtn { font-size: 14px; }
.lib-w-how { max-width: 40em; padding-left: 14px; border-left: 2px solid var(--l-line-2); }
.lib-w-how[hidden], [data-latest-go][hidden] { display: none; }
/* the links to How Ask works (20 November 2026): under a reply, and after how the sources are chosen; drawn as the foot's other links */
.lib-w-foot a, .lib-w-how a { color: var(--l-ink); text-decoration: underline; text-decoration-color: var(--l-line-3); text-underline-offset: 3px; }
.lib-w-foot a:hover, .lib-w-how a:hover { text-decoration-color: var(--l-ink); }
.lib-w-foot-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.lib-latest-sum { margin: 2px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--l-ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ── the physician at the top, calm (20 November 2026, the owner: "very overwhelming"). One column; the doctor, then the
   video with one play control, then one caption line. Two sizes of type in the block: the name, and everything else ── */
.lib-atop { margin: 0 0 30px; }
.lib-atop .lib-feat-wrap { padding: 0 0 30px; gap: 0; }
.lib-feat { display: grid; gap: 0; }
.lib-feat-doc { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; }
.lib-feat .lib-phys-face { width: 56px; height: 56px; font-size: 17px; outline: 1px solid oklch(0 0 0 / .1); outline-offset: -1px; }
.lib-feat-who { flex: 1; min-width: 0; display: grid; gap: 2px; }
.lib-feat .lib-phys-name { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -.005em; color: var(--l-ink); text-wrap: balance; }
.lib-w-video .lib-feat-who .lib-phys-sp, .lib-w-video .lib-feat-who .lib-phys-board, .lib-w-video .lib-feat-who .lib-phys-ed { margin: 0; font-size: 14px; line-height: 1.45; color: var(--l-ink-3); }
.lib-w-video .lib-feat-who .lib-phys-sp { color: var(--l-ink-2); }
.lib-feat-about { flex: none; align-self: center; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 4px; border: 0; background: none; font: inherit; font-size: 14px; color: var(--l-ink-3); cursor: pointer; transition: color .2s var(--l-out); }
.lib-feat-about svg { width: 15px; height: 15px; }
.lib-feat-about:hover, .lib-feat-about[aria-expanded="true"] { color: var(--l-ink); }
.lib-feat-more { display: grid; gap: 8px; justify-items: start; margin: -4px 0 18px 70px; max-width: 36em; }
.lib-feat-more[hidden] { display: none; }
.lib-w-video .lib-feat-more p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--l-ink-3); }
.lib-w-video .lib-feat-more .lib-phys-role-t { color: var(--l-ink-2); font-weight: 400; font-size: 14px; }
.lib-feat-more .lib-phys-role { display: grid; gap: 2px; }
.lib-feat-page { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; color: var(--l-ink-2); text-decoration: underline; text-decoration-color: var(--l-line-3); text-underline-offset: 3px; }
.lib-feat-page svg { width: 12px; height: 12px; }
.lib-feat .lib-answer-player { border-radius: 18px; }
.lib-feat .lib-answer-player::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px oklch(0 0 0 / .1); pointer-events: none; }
.lib-feat:not(.is-on) .lib-answer-snd { display: none; }
.lib-feat .lib-answer-play { height: 52px; padding: 0 22px 0 18px; font-size: 15.5px; font-variant-numeric: tabular-nums; }
.lib-feat .lib-answer-play:active { scale: .96; }
.lib-feat-cap { display: grid; gap: 2px; margin: 14px 0 0; }
.lib-feat-title { font-size: 14px; font-weight: 400; line-height: 1.45; color: var(--l-ink); text-wrap: pretty; }
.lib-feat-title:hover { text-decoration: underline; text-decoration-color: var(--l-line-3); text-underline-offset: 3px; }
.lib-feat-meta { font-size: 14px; line-height: 1.45; color: var(--l-ink-3); font-variant-numeric: tabular-nums; }
.lib-feat-meta a, .lib-feat-meta .lib-linkbtn { min-height: 0; font-size: 14px; color: var(--l-ink-3); text-decoration: underline; text-decoration-color: var(--l-line-2); text-underline-offset: 3px; }
.lib-feat-meta a:hover, .lib-feat-meta .lib-linkbtn:hover { color: var(--l-ink); }
.lib-w-video .lib-feat-dub { margin: 6px 0 0; font-size: 14px; }
.lib-feat .lib-phys-more { margin: 8px 0 0; }
.lib-phys-list { margin: 20px 0 0; display: grid; gap: 10px; }
.lib-phys-o { display: flex; align-items: center; gap: 12px; }
.lib-phys-o .lib-phys-face { width: 36px; height: 36px; font-size: 12px; }
.lib-phys-o > span { display: grid; }
.lib-phys-o .lib-phys-name { font-size: 15px; }
.lib-phys-o .lib-phys-sp { font-size: 14px; color: var(--l-ink-3); }
@media (max-width: 760px) {
  .lib-feat-doc { gap: 12px; }
  .lib-feat-doc { flex-wrap: wrap; row-gap: 0; }
  .lib-feat-about { flex-basis: 100%; justify-content: flex-start; min-height: 44px; margin: 2px 0 -8px 66px; padding: 0; }
  .lib-feat-more { margin-left: 0; }
  .lib-feat .lib-answer-player { margin: 0; border-radius: 16px; }
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .lib-feat .lib-phys-face, :root:not([data-theme="light"]) .lib-feat .lib-answer-player::after { outline-color: oklch(1 0 0 / .1); box-shadow: inset 0 0 0 1px oklch(1 0 0 / .1); } }
:root[data-theme="dark"] .lib-feat .lib-phys-face { outline-color: oklch(1 0 0 / .1); }
:root[data-theme="dark"] .lib-feat .lib-answer-player::after { box-shadow: inset 0 0 0 1px oklch(1 0 0 / .1); }

/* ── polish (20 November 2026, the owner on 40-after): the caption has its own room under the video, and the block shares one
   left and one right edge with the divider and the tabs ── */
.lib-w-video .lib-feat-cap { margin: 0; }
.lib-feat-about { padding: 0; margin-right: 0; }
.lib-feat-doc { margin-bottom: 24px; }
.lib-atop .lib-feat-wrap { padding-bottom: 32px; }
.lib-atop { margin-bottom: 32px; }

/* About this doctor: a calm dialog, a sheet on a phone */
.lib-dm { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px; }
.lib-dm-scrim { position: absolute; inset: 0; background: rgba(12, 12, 14, .32); opacity: 0; transition: opacity .2s ease-out; }
.lib-dm-box { position: relative; width: min(460px, 100%); max-height: calc(100dvh - 48px); overflow: auto; padding: 32px 32px 28px; border-radius: 24px; background: var(--l-surface); box-shadow: 0 0 0 1px var(--l-line), 0 24px 60px -24px rgba(0, 0, 0, .35); opacity: 0; translate: 0 8px; transition: opacity .2s ease-out, translate .2s ease-out; outline: none; }
.lib-dm.is-open .lib-dm-scrim { opacity: 1; }
.lib-dm.is-open .lib-dm-box { opacity: 1; translate: 0 0; }
.lib-dm.is-closing .lib-dm-box { translate: 0 4px; }
.lib-dm-x { position: absolute; top: 16px; right: 16px; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px 0 11px; border: 0; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1px var(--l-line-2); font: inherit; font-size: 14px; color: var(--l-ink-2); cursor: pointer; transition: box-shadow .2s ease-out, color .2s ease-out; }
.lib-dm-x svg { width: 15px; height: 15px; }
.lib-dm-x:hover { color: var(--l-ink); box-shadow: inset 0 0 0 1px var(--l-line-3); }
.lib-dm-x:active { scale: .96; }
.lib-dm-head { display: grid; justify-items: start; gap: 14px; margin: 4px 0 28px; }
.lib-dm-head .lib-phys-face { width: 76px; height: 76px; font-size: 22px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--l-lilac-soft); color: var(--l-ink-2); outline: 1px solid oklch(0 0 0 / .1); outline-offset: -1px; }
.lib-dm-name { margin: 0; font-family: var(--l-sans); font-size: 21px; font-weight: 600; line-height: 1.25; color: var(--l-ink); text-wrap: balance; }
.lib-dm-sub { margin: 4px 0 0; font-size: 15px; line-height: 1.45; color: var(--l-ink-2); }
.lib-dm-rows { margin: 0; display: grid; gap: 20px; }
.lib-dm-row { display: grid; gap: 4px; padding-top: 18px; border-top: 1px solid var(--l-line); }
.lib-dm-row dt { font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--l-ink-3); }
.lib-dm-row dd { margin: 0; display: grid; gap: 4px; }
.lib-dm-row dd p, .lib-dm-row .lib-phys-rec { margin: 0; font-size: 15px; line-height: 1.55; color: var(--l-ink-2); text-wrap: pretty; }
.lib-dm-row .lib-phys-role-t { color: var(--l-ink); }
.lib-dm-row a { color: inherit; text-decoration: underline; text-decoration-color: var(--l-line-3); text-underline-offset: 3px; }
.lib-dm .lib-feat-page { display: inline-flex; align-items: center; gap: 8px; height: 44px; margin-top: 26px; padding: 0 18px 0 15px; border-radius: 999px; background: var(--l-lilac-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--l-lilac) 38%, transparent); font-size: 15px; color: var(--l-ink); text-decoration: none; transition: box-shadow .2s ease-out; }
.lib-dm .lib-feat-page:hover { box-shadow: inset 0 0 0 1px var(--l-lilac); }
.lib-dm .lib-feat-page:active { scale: .96; }
.lib-dm .lib-feat-page svg { width: 14px; height: 14px; }
@media (max-width: 760px) {
  .lib-dm { place-items: end stretch; padding: 0; }
  .lib-dm-box { width: 100%; max-height: 88dvh; border-radius: 24px 24px 0 0; padding: 28px 22px calc(24px + env(safe-area-inset-bottom)); translate: 0 24px; }
}
html.a11y-reduce-motion :is(.lib-dm-scrim, .lib-dm-box) { transition: none; translate: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .lib-dm-head .lib-phys-face { outline-color: oklch(1 0 0 / .1); } :root:not([data-theme="light"]) .lib-dm-scrim { background: rgba(0, 0, 0, .55); } }
:root[data-theme="dark"] .lib-dm-head .lib-phys-face { outline-color: oklch(1 0 0 / .1); }
:root[data-theme="dark"] .lib-dm-scrim { background: rgba(0, 0, 0, .55); }

/* ── the two-column variant (html[data-ask-layout="two"], 1200 px and wider): the doctor across the top, then the video
   (about 59 %) and the written answer (about 41 %) with 64 px between them ── */
@media (min-width: 1200px) {
  html[data-ask-layout="two"] .lib-thread:has(.lib-feat) { width: min(1200px, 100%); }
  html[data-ask-layout="two"] .lib-turn:has(> [data-top] .lib-feat) { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); column-gap: 64px; align-items: start;
    grid-template-areas: "title title" "doc doc" "media written" "latest latest"; }
  html[data-ask-layout="two"] .lib-turn:has(> [data-top] .lib-feat) > :is(.lib-res-title, .lib-asked) { grid-area: title; margin-bottom: 32px; }
  html[data-ask-layout="two"] .lib-turn:has(> [data-top] .lib-feat) > [data-top], html[data-ask-layout="two"] .lib-turn:has(> [data-top] .lib-feat) .lib-feat-wrap, html[data-ask-layout="two"] .lib-turn:has(> [data-top] .lib-feat) .lib-feat { display: contents; }
  html[data-ask-layout="two"] .lib-turn:has(> [data-top] .lib-feat) .lib-feat-doc { grid-area: doc; margin-bottom: 36px; }
  html[data-ask-layout="two"] .lib-turn:has(> [data-top] .lib-feat) .lib-feat-media { grid-area: media; }
  html[data-ask-layout="two"] .lib-turn:has(> [data-top] .lib-feat) > [data-written] { grid-area: written; margin-bottom: 0; }
  html[data-ask-layout="two"] .lib-turn:has(> [data-top] .lib-feat) > [data-latest] { grid-area: latest; margin-top: 40px; }
  html[data-ask-layout="two"] .lib-turn:has(> [data-top] .lib-feat) > [data-vids] > * { grid-column: 1 / -1; }
  html[data-ask-layout="two"] .lib-turn:has(> [data-top] .lib-feat) .lib-w-body { font-size: 18px; line-height: 1.6; }
  html[data-ask-layout="two"] .lib-turn:has(> [data-top] .lib-feat) .lib-w-body .lib-w-lead { font-size: 19.5px; }
  html[data-ask-layout="two"] .lib-turn:has(> [data-top] .lib-feat) .lib-tabs-row { margin-top: 0; }
}

/* ── while the guided tour is on (ask-tour.js, 20 November 2026): a mission asks the person to type in the box, and only the
      box can be pressed then (tour.js). The list of suggestions would open under the veil, out of reach and behind the card,
      and the start would slide away from the opening; so during the tour the box stays where it is and the list stays shut.
      Enter asks the words as typed, as it does with nothing chosen in the list. ── */
html.dpt-on .lib-sug { display: none !important; }
html.dpt-on.has-sug .lib-page-home .lib-home-in { translate: none; }
html.dpt-on.has-sug .lib-page-home :is(.lib-hello, .lib-lead) { opacity: 1 !important; }
html.dpt-on.has-sug .lib-home-in :is(.lib-guard, .lib-note) { opacity: 1; }
/* ── Latest (#latest, 20 November 2026): what is new for patients on a condition. One column as wide as a reading page;
      the updates as calm cards (a surface, a hairline, no shadow beyond the first), the tag a quiet dot with its word, the
      three rows as a short definition list, the source and its dates in small print, two quiet actions. ── */
.lib-page-latest { --l-foot-w: 860px; }
.lt { width: min(860px, 100% - 32px); margin: 0 auto; padding: 44px 0 64px; }
.lt-head { margin-bottom: 22px; }
.lt-h { margin: 0; font-family: var(--l-serif); font-size: 40px; font-weight: 400; line-height: 1.14; letter-spacing: -.015em; color: var(--l-ink); text-wrap: balance; }
.lt-h:focus { outline: none; }
.lt-pick { display: inline-flex; align-items: baseline; gap: 4px; padding: 0 2px; margin: 0; border: 0; background: none; font: inherit; color: inherit; letter-spacing: inherit; text-decoration: underline; text-decoration-color: var(--l-line-3); text-decoration-thickness: 2px; text-underline-offset: 7px; cursor: pointer; border-radius: 8px; transition: text-decoration-color .16s var(--l-out); }
.lt-pick:hover { text-decoration-color: var(--l-ink-3); }
.lt-pick:focus-visible { outline: 2px solid var(--l-ring); outline-offset: 4px; }
.lt-pick svg { flex: none; align-self: center; width: 24px; height: 24px; color: var(--l-ink-3); translate: 0 3px; }
.lt-lead { margin: 12px 0 0; max-width: 40em; font-size: 16px; line-height: 1.55; color: var(--l-ink-3); text-wrap: pretty; }
.lt-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.lt-chip { height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--l-surface); box-shadow: inset 0 0 0 1px var(--l-line-2); font: inherit; font-size: 14.5px; color: var(--l-ink-2); cursor: pointer; transition: background-color .16s var(--l-out), box-shadow .16s var(--l-out), color .16s var(--l-out), scale .12s var(--l-out); }
.lt-chip:hover { box-shadow: inset 0 0 0 1px var(--l-line-3); }
.lt-chip:active { scale: .96; }
.lt-chip[aria-pressed="true"] { background: var(--l-surface-2); box-shadow: inset 0 0 0 1.5px var(--l-ink); color: var(--l-ink); font-weight: 600; }
.lt-chip:focus-visible { outline: 2px solid var(--l-ring); outline-offset: 2px; }
.lt-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.lt-item[hidden] { display: none; }
.lt-card { padding: 26px 28px 22px; border-radius: 22px; background: var(--l-surface); box-shadow: inset 0 0 0 1px var(--l-line), var(--l-shadow-1); }
.lt-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0 0 12px; font-size: 13.5px; line-height: 1.3; }
.lt-tag { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px 0 9px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--l-line-2); color: var(--l-ink); font-weight: 600; }
.lt-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--l-ink-3); }
.lt-tag.is-available_now i { background: #2E8B57; }
.lt-tag.is-new_guidance i { background: #3B6FD8; }
.lt-tag.is-early_research i { background: #C98A16; }
.lt-tag.is-safety_alert i { background: #C8452F; }
.lt-ai { color: var(--l-ink-3); }
.lt-t { margin: 0; font-family: var(--l-serif); font-size: 24px; font-weight: 400; line-height: 1.25; color: var(--l-ink); text-wrap: balance; }
.lt-sum { margin: 8px 0 0; max-width: 40em; font-size: 16.5px; line-height: 1.55; color: var(--l-ink-2); text-wrap: pretty; }
.lt-rows { margin: 18px 0 0; border-top: 1px solid var(--l-line); }
.lt-row { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--l-line); }
.lt-row dt { font-size: 14.5px; font-weight: 600; line-height: 1.5; color: var(--l-ink); }
.lt-row dd { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--l-ink-2); text-wrap: pretty; }
.lt-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 16px; }
.lt-src { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin: 0; min-width: 0; font-size: 13.5px; line-height: 1.45; color: var(--l-ink-3); font-variant-numeric: tabular-nums; }
.lt-src a { display: inline-flex; align-items: center; gap: 4px; color: var(--l-ink-2); text-decoration: underline; text-decoration-color: var(--l-line-3); text-underline-offset: 3px; }
.lt-src a:hover { text-decoration-color: var(--l-ink-3); }
.lt-src svg { width: 12px; height: 12px; color: var(--l-ink-3); }
.lt-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lt-watch, .lt-ask { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 13px; border: 0; border-radius: 999px; font: inherit; font-size: 14.5px; cursor: pointer; transition: background-color .16s var(--l-out), box-shadow .16s var(--l-out), scale .12s var(--l-out); }
.lt-watch { background: var(--l-surface); box-shadow: inset 0 0 0 1px var(--l-line-2); color: var(--l-ink); }
.lt-watch:hover { box-shadow: inset 0 0 0 1px var(--l-line-3); }
.lt-watch svg { width: 14px; height: 14px; translate: 1px 0; }
.lt-ask { background: var(--l-surface-2); color: var(--l-ink); font-weight: 600; }
.lt-ask:hover { background: color-mix(in srgb, var(--l-ink) 9%, var(--l-surface-2)); }
.lt-ask svg { width: 16px; height: 16px; }
.lt-watch:active, .lt-ask:active { scale: .96; }
.lt-watch:focus-visible, .lt-ask:focus-visible, .lt-again:focus-visible, .lt-vid:focus-visible { outline: 2px solid var(--l-ring); outline-offset: 2px; }
.lt-meta { display: grid; gap: 8px; min-width: 0; }
/* where to turn, under an update about suicide (21 November 2026): a calm line in the text's own colour, the number a link */
.lt-crisis, .lib-latest-crisis { margin: 14px 0 0; max-width: 40em; font-size: 15.5px; line-height: 1.5; font-weight: 600; color: var(--l-ink); text-wrap: pretty; }
.lib-latest-crisis { margin-top: 6px; font-size: 14.5px; }
.lt-crisis a, .lib-latest-crisis a { color: inherit; text-decoration: underline; text-decoration-color: var(--l-line-3); text-underline-offset: 3px; font-variant-numeric: tabular-nums; }
.lt-crisis a:hover, .lib-latest-crisis a:hover { text-decoration-color: var(--l-ink-3); }
.lt-by { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: 13.5px; color: var(--l-ink-3); }
.lt-by .lib-doc-face { width: 24px; height: 24px; }
.lt-by .lib-doc-n { color: var(--l-ink-2); font-weight: 600; }
.lt-wait { margin: 28px 0; font-size: 15px; color: var(--l-ink-3); }
.lt-none { margin: 22px 0; font-size: 16px; line-height: 1.5; color: var(--l-ink-3); }
.lt-none p { margin: 0 0 12px; }
.lt-again { height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--l-surface); box-shadow: inset 0 0 0 1px var(--l-line-2); font: inherit; font-size: 14.5px; color: var(--l-ink); cursor: pointer; }
.lt-basics { margin-top: 52px; }
.lt-basics-h { margin: 0 0 18px; font-family: var(--l-serif); font-size: 28px; font-weight: 400; line-height: 1.2; color: var(--l-ink); }
.lt-vids { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.lt-vid { display: grid; gap: 10px; align-content: start; color: inherit; text-decoration: none; border-radius: 16px; }
.lt-vid .lib-doc-n { font-weight: 600; color: var(--l-ink); }
.lt-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 14px; background: var(--l-surface-2); }
.lt-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; outline: 1px solid rgba(0,0,0,.1); outline-offset: -1px; border-radius: inherit; }
:root[data-theme="dark"] .lt-thumb img { outline-color: rgba(255,255,255,.1); }
@media (prefers-reduced-motion: no-preference) { .lt-thumb img { transition: scale .4s var(--l-out); } .lt-vid:hover .lt-thumb img { scale: 1.02; } }
.lt-dur { position: absolute; left: 10px; bottom: 10px; padding: 3px 8px; border-radius: 999px; background: rgba(20,20,20,.72); color: #fff; font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.lt-vid-t { font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--l-ink); text-wrap: pretty; }
@media (max-width: 760px) {
  .lt { padding: 26px 0 44px; }
  .lt-h { font-size: 31px; }
  .lt-pick svg { width: 20px; height: 20px; }
  .lt-chips { flex-wrap: nowrap; overflow-x: auto; margin: 18px -16px 0; padding: 0 16px 2px; scrollbar-width: none; }
  .lt-chips::-webkit-scrollbar { display: none; }
  .lt-chip { flex: none; }
  .lt-card { padding: 20px 18px 18px; border-radius: 20px; }
  .lt-t { font-size: 21px; }
  .lt-sum { font-size: 16px; }
  .lt-row { grid-template-columns: 1fr; gap: 2px; }
  .lt-foot { flex-direction: column; align-items: stretch; }
  .lt-acts { display: grid; grid-template-columns: 1fr; }
  .lt-watch, .lt-ask { justify-content: center; height: 44px; }
  .lt-vids { grid-template-columns: 1fr; gap: 26px; }
}

/* ── audit pass 2 (21 November 2026): first impression and clarity. Quiet lines in the page's own type; nothing new to look at ── */
/* the start, not signed in: who Ask is for and that asking needs an account, one small line over the question */
.lib-home-in .lib-for { margin: 0 auto 18px; max-width: 34em; font-size: 15px; line-height: 1.45; color: var(--l-ink-3); text-wrap: balance; }
/* the physician at the top: what this is, named in sight over the name, and the line that the video is theirs and the written answer is not */
.lib-w-video .lib-feat-who .lib-w-video-h { margin: 0 0 2px; font-size: 13.5px; font-weight: 500; line-height: 1.4; color: var(--l-ink-3); }
.lib-w-video .lib-feat-who .lib-phys-own { margin: 2px 0 0; max-width: 40em; font-size: 14px; line-height: 1.45; color: var(--l-ink-3); text-wrap: balance; }
/* no physician's video: one plain line under the question, before the answer */
[data-novid] { display: contents; }
.lib-novid { margin: -8px 0 24px; font-size: 15px; line-height: 1.5; color: var(--l-ink-3); }
/* Latest: the condition is chosen from a button that says so, beside the title */
.lt-head-top { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
.lt-choose { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 13px; border: 0; border-radius: 999px; background: var(--l-surface); box-shadow: inset 0 0 0 1px var(--l-line-2); font: inherit; font-size: 14.5px; color: var(--l-ink); cursor: pointer; transition: box-shadow .2s var(--l-out); }
.lt-choose svg { width: 16px; height: 16px; color: var(--l-ink-2); }
.lt-choose:hover { box-shadow: inset 0 0 0 1px var(--l-line-3); }
.lt-choose:focus-visible { outline: 2px solid var(--l-ring); outline-offset: 2px; }
@media (max-width: 760px) {
  .lib-home-in .lib-for { font-size: 14px; margin-bottom: 14px; }
  .lib-novid { margin: -6px 0 20px; font-size: 14.5px; }
  .lt-choose { height: 44px; }
}

/* ── Audit pass 3 (20 November 2026): how many characters are left near the end of a question (find.js paintCount), out of
      the flow so nothing moves; and the one line under a wait that runs longer than usual (find.js slowHtml) ── */
.lib-count { position: absolute; z-index: 1; margin: 0; font-size: 12.5px; line-height: 1; color: var(--l-ink-3); font-variant-numeric: tabular-nums; pointer-events: none; }
.lib-box .lib-count { right: 24px; top: calc(100% + 8px); }
.lib-ask .lib-count { left: 20px; bottom: 19px; }
.lib-think-slow { margin: 12px 0 0 40px; font-size: 15px; line-height: 1.45; color: var(--l-ink-3); animation: l-rise .45s var(--l-spring) both; }
.lib-think.is-chat .lib-think-slow { margin-left: 38px; font-size: 14.5px; }
html.a11y-reduce-motion .lib-think-slow { animation: none; }

/* ── Phone, touch and access (audit pass 4, 20 November 2026). Nothing here changes how a screen looks at rest ── */
/* the small words that are presses get a box of 24 px or more without moving a letter: a word inside a line grows by its
   padding alone (the line keeps its height); a box gives the room back by a margin of the same size */
.lib-feat-meta a, .lib-w-how a, .lib-editor-say a, .lib-dm-row a { padding: 3px 0; }
a.lib-latest-t { padding: 1px 0; margin: -1px 0; }
.lib-feat-meta .lib-linkbtn, .lib-feat-title, .lt-src a { padding: 2px 0; margin: -2px 0; }
/* the presses that stand alone reach 44 px around them: the source numbers, the two words of the answer's switch, Dictate
   and Ask in the box to ask again */
.lib-cite::after { inset: -9px -4px; }
.lib-tab::after { inset: -5px 0; }
.lib-ask-b, .lib-ask-go { position: relative; }
.lib-ask-b::after, .lib-ask-go::after { content: ""; position: absolute; inset: -2px; border-radius: inherit; }
/* About this doctor stays inside the screen's edge on a phone: its line is the column less the portrait's room */
@media (max-width: 760px) { .lib-feat-about { flex-basis: calc(100% - 66px); } }
/* Latest's kinds on a phone: the row fades at its right end, so it is seen to go on, and its last kind ends clear of the fade */
@media (max-width: 760px) {
  .lt-chips { padding-right: 40px; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); }
}
/* a phone on its side, or any window under 521 px high: the box to ask again waits at the end of the conversation instead of
   standing over it, so the answer has the window; the notes come down to the foot again */
@media (max-height: 520px) {
  .lib-ask-dock { position: static; }
  html[data-page="search"] { scroll-padding-bottom: 16px; }
  html[data-page="search"] .lib-toast { bottom: 28px; }
}
