/* Basis — /audio: the audio data overview.
   Rides /samples/audio/styles.css (tokens, sky, nav, capacity band, footer)
   and /samples/conversations/styles.css (the embedded conversation card).
   This file is the offer boxes and the sample-page strip the three sample
   pages share. */

/* ---------- The standard top bar: a back arrow on every sample page ---------- */
/* Sits left of the section name; links to the overview (/audio). Drawn like
   the theme toggle so the bar reads as one control set, and flips to ink with
   the rest of the pill once it floats over the page body. */
.nav-back {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 999px;
  color: #fff; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom-width: 1px; margin-right: -2px;
  transition: background 140ms ease, transform 140ms ease, color 0.3s ease;
}
.nav-back:hover { background: rgba(255, 255, 255, 0.28); transform: translateX(-1px); border-bottom-color: rgba(255, 255, 255, 0.3); }
.nav-back svg { display: block; }
.pill-nav.is-light .nav-back { color: var(--ink); background: rgba(20, 60, 90, 0.06); border-color: rgba(20, 60, 90, 0.12); }
.pill-nav.is-light .nav-back:hover { background: rgba(20, 60, 90, 0.12); }

/* ---------- Sample-page strip: move between the sample pages ---------- */
.sample-nav {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 26px 0 0; padding: 0;
}
.sample-nav a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500;
  color: var(--ink-soft); background: var(--panel); box-shadow: inset 0 0 0 1px var(--rule);
  border-bottom: 0; transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.sample-nav a:hover { background: var(--highlight); color: var(--ink); transform: translateY(-1px); }
.sample-nav a.is-current { background: var(--ink); color: var(--on-ink); box-shadow: none; }
.sample-nav a.is-current:hover { transform: none; }
.sample-nav .sn-label {
  margin-right: 4px; font-family: "Archivo", sans-serif; font-variant-numeric: tabular-nums; font-size: 11px;
  letter-spacing: 0.1em; font-weight: 700; text-transform: uppercase; color: var(--muted);
}

/* ---------- Overview typography ---------- */
.viz-hero--with-stats .viz-title, .cv-hero .em-title {
  font-size: clamp(36px, 5.4vw, 62px); line-height: 1.05; letter-spacing: -0.045em; font-weight: 600;
}
.hero-capacity .cap-stats dd, .cv-hero .em-stats dd { font-size: clamp(30px, 3.6vw, 42px); letter-spacing: -0.045em; font-weight: 600; }
.hero-capacity .cap-stats dt, .cv-hero .em-stats dt { font-family: "Archivo", sans-serif; letter-spacing: 0.1em; font-weight: 700; }
.hero-capacity .stat-unit, .cv-hero .stat-unit { font-weight: 400; }
.offer .cv-card.is-embedded .cv-title {
  font-size: clamp(19px, 1.9vw, 22px); line-height: 1.2; letter-spacing: -0.025em; font-weight: 600;
}

/* ---------- Audio data samples ---------- */
.offer { padding: 18px 0 64px; }
.offer button { font-family: "Archivo", sans-serif; }
.offer-list { display: flex; flex-direction: column; gap: 22px; }

.offer-box {
  display: grid; grid-template-columns: minmax(280px, 5fr) minmax(0, 7fr); gap: 30px;
  border-radius: 24px; background: var(--card); padding: 28px 30px 26px;
  box-shadow: 0 1px 2px rgba(20, 60, 90, 0.06), 0 0 0 1px var(--rule);
  transition: box-shadow 0.25s ease;
}
.offer-box:hover { box-shadow: 0 14px 40px rgba(20, 60, 90, 0.12), 0 0 0 1px var(--rule); }
.offer-box.offer-box--wide { grid-template-columns: 1fr; }
.offer-left { display: flex; flex-direction: column; min-width: 0; }
.offer-kicker {
  font-family: "Archivo", sans-serif; font-variant-numeric: tabular-nums; font-size: 11px; letter-spacing: 0.1em; font-weight: 700;
  text-transform: uppercase; color: var(--muted); margin: 0 0 10px;
}
.offer-name {
  font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 2.4vw, 29px);
  line-height: 1.12; letter-spacing: -0.035em; margin: 0 0 14px;
}
.offer-bullets { margin: 0 0 20px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.offer-bullets li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.45; color: var(--ink-soft); }
.offer-bullets .tick { flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 999px; background: var(--highlight); position: relative; }
.offer-bullets .tick::after {
  content: ""; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px;
  border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.offer-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.offer-more {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  background: var(--ink); color: var(--on-ink); font-size: 14.5px; font-weight: 600; border-bottom: 0;
  transition: background 0.15s ease, transform 0.15s ease, color 0.15s ease;
}
.offer-more:hover { background: var(--accent); color: #fff; transform: translateY(-1px); border-bottom: 0; }
.offer-more svg { display: block; }
.offer-more--quiet { background: var(--panel); color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule); }
.offer-more--quiet:hover { background: var(--highlight); color: var(--ink); }

.offer-right { min-width: 0; display: flex; flex-direction: column; }
.offer-example-label {
  font-family: "Archivo", sans-serif; font-variant-numeric: tabular-nums; font-size: 10.5px; letter-spacing: 0.1em; font-weight: 700;
  text-transform: uppercase; color: var(--muted); margin: 0 0 12px; display: flex; align-items: center; gap: 8px;
}
.offer-example-label::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--accent); }
.offer-example {
  border-radius: 18px; background: var(--panel); padding: 18px 20px; flex: 1 1 auto;
  box-shadow: inset 0 0 0 1px var(--rule); min-height: 120px;
  display: flex; flex-direction: column;  /* the carousel fills it, so the arrows reach its floor */
}
.offer-example.is-loading { color: var(--muted); font-size: 14px; }
.offer-example .cv-card.is-embedded .cv-lane-body { background: var(--card); }
.offer-example .cv-card.is-embedded .cv-spk, .offer-example .cv-card.is-embedded .cv-theme,
.offer-example .cv-card.is-embedded .cv-cat, .offer-example .cv-card.is-embedded .cv-scores .bar { background: var(--card); }

/* First paint already has the featured player's three colored tracks. Both
   layers share a grid cell, so hydration never clears or collapses the card. */
.audio-conversation-stage { display: grid; }
.audio-conversation-stage > .audio-conversation-skeleton,
.audio-conversation-stage > .audio-conversation-player { grid-area: 1 / 1; min-width: 0; align-self: start; }
.audio-conversation-stage .cv-title { min-height: 2.4em; }
.audio-conversation-player .cv-head { flex-direction: row; gap: 12px; }
.audio-conversation-skeleton { pointer-events: none; opacity: 1; transition: opacity 420ms ease, visibility 420ms; }
.audio-conversation-player { opacity: 0; transition: opacity 420ms ease; }
.audio-conversation-stage.is-ready .audio-conversation-player { opacity: 1; }
.audio-conversation-stage.is-ready > .audio-conversation-skeleton { opacity: 0; visibility: hidden; }

/* A short, staggered arrival for the overview. Content stays visible when
   animations are unsupported, and loading never imposes a minimum wait. */
.audio-overview .viz-title { animation: audio-arrive 700ms cubic-bezier(.22, 1, .36, 1) backwards; }
.audio-overview .viz-hero .lede { animation: audio-arrive 700ms cubic-bezier(.22, 1, .36, 1) 70ms backwards; }
.audio-overview .hero-capacity { animation: audio-arrive 700ms cubic-bezier(.22, 1, .36, 1) 140ms backwards; }
.audio-overview .offer-box { animation: audio-arrive 700ms cubic-bezier(.22, 1, .36, 1) 210ms backwards; }
@keyframes audio-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .audio-overview .viz-title, .audio-overview .viz-hero .lede, .audio-overview .hero-capacity,
  .audio-overview .offer-box, .cv-skeleton-wave, .cv-skeleton-lane::after,
  .audio-conversation-stage.is-ready .cv-lane-body canvas { animation: none; }
  .audio-conversation-skeleton, .audio-conversation-player { transition: none; }
  .cv-skeleton-lane::after { display: none; }
}

/* The /audio Conversations card omits the room-level label row. */
#ex-conversations .cv-lane-name--room,
#ex-conversations .cv-lane--room { display: none; }

/* a single steered take (emotional / multilingual / preferences) */
.take { display: flex; flex-direction: column; gap: 10px; }
.take-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--muted); font-size: 13.5px; }
.take-flag { --flag-width: 23.8px; }
.take-elo {
  display: inline-flex; gap: 6px; align-items: baseline; padding: 3px 9px; border-radius: 999px; background: var(--card);
  box-shadow: inset 0 0 0 1px var(--rule); font-family: "Archivo", sans-serif; font-variant-numeric: tabular-nums; font-size: 11.5px;
}
.take-direction {
  display: inline-flex; align-items: baseline; gap: 8px; font-size: 14px; color: var(--ink);
}
.take-direction .k { font-family: "Archivo", sans-serif; font-variant-numeric: tabular-nums; font-size: 10.5px; letter-spacing: 0.1em; font-weight: 700; text-transform: uppercase; color: var(--muted); }
.take-direction .v { font-weight: 600; text-transform: capitalize; }
.take-direction .v-en { color: var(--muted); font-weight: 400; }
.take-situation { margin: 0; color: var(--muted); font-size: 13.5px; font-style: italic; }
.take-script { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 18px; line-height: 1.45; letter-spacing: -0.015em; color: var(--ink); }
.take-script .cue { font-family: "Archivo", sans-serif; font-variant-numeric: tabular-nums; font-size: 11.5px; color: var(--muted); padding: 1px 6px; border-radius: 6px; background: var(--card); box-shadow: inset 0 0 0 1px var(--rule); margin: 0 3px; vertical-align: middle; }
.take-en { margin: -4px 0 0; color: var(--muted); font-size: 14px; font-style: italic; }
.take-player { display: flex; align-items: center; gap: 12px; }
.take-player .cv-play { width: 38px; height: 38px; }
.take-bar { flex: 1 1 auto; height: 6px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--rule); overflow: hidden; cursor: var(--basis-cursor-pointer, pointer); }
.take-bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 999px; }
.take-time { font-family: "Archivo", sans-serif; font-variant-numeric: tabular-nums; font-size: 12px; color: var(--muted); min-width: 66px; text-align: right; }
.take-player.is-playing .cv-play .i-pause { display: block; }
.take-player.is-playing .cv-play .i-play { display: none; }
.take-player .cv-play .i-pause { display: none; }

/* ---------- Example carousel: a few examples, left and right ---------- */
.ex-carousel { display: flex; flex-direction: column; gap: 12px; flex: 1 1 auto; }
.ex-slide { flex: 1 1 auto; min-width: 0; }
.ex-cell { min-width: 0; }
/* Every slide stays in the box, stacked in ONE grid cell and hidden but laid
   out, so the box is as tall as its tallest slide: a shorter slide leaves its
   spare room under itself, above the arrows, and nothing resizes as they move. */
.ex-slide--stack { display: grid; align-items: start; }
.ex-slide--stack > .ex-cell { grid-area: 1 / 1; }
.ex-slide--stack > .ex-cell:not(.is-on) { visibility: hidden; pointer-events: none; }
/* The arrows sit on the box's floor whatever the slide above them holds. */
.ex-arrows { margin-top: auto; display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.ex-arrow {
  appearance: none; cursor: var(--basis-cursor-pointer, pointer); border: 0; width: 32px; height: 32px; border-radius: 999px;
  background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule);
  display: grid; place-items: center; transition: background 0.15s ease, transform 0.15s ease;
}
.ex-arrow:hover { background: var(--highlight); transform: translateY(-1px); }
.ex-arrow:disabled { opacity: 0.35; cursor: var(--basis-cursor-default, default); transform: none; }
.ex-arrow svg { display: block; }
.ex-count { font-family: "Archivo", sans-serif; font-variant-numeric: tabular-nums; font-size: 11.5px; color: var(--muted); min-width: 34px; text-align: center; }
.ex-dots { display: inline-flex; gap: 5px; margin-right: auto; }
.ex-dots i { width: 6px; height: 6px; border-radius: 999px; background: var(--rule); }
.ex-dots i.is-on { background: var(--accent); }

/* ---------- Human preferences: a real pair and how the crowd split ---------- */
.pair { display: flex; flex-direction: column; gap: 12px; }
.pair-q { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 18px; line-height: 1.35; letter-spacing: -0.015em; }
.pair-q .dir { text-transform: capitalize; }
.pair-script { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.45; font-style: italic; font-family: var(--serif); font-weight: 500; }
.pair-script .cue { font-family: "Archivo", sans-serif; font-variant-numeric: tabular-nums; font-size: 11px; color: var(--muted); padding: 1px 6px; border-radius: 6px; background: var(--card); box-shadow: inset 0 0 0 1px var(--rule); margin: 0 3px; vertical-align: middle; }
.pair-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pair-side {
  position: relative; border-radius: 14px; background: var(--card); padding: 14px 14px 12px;
  box-shadow: inset 0 0 0 1px var(--rule); display: flex; flex-direction: column; gap: 10px;
}
.pair-side.is-winner { box-shadow: inset 0 0 0 2px var(--accent); }
.pair-side .tag { display: flex; align-items: center; gap: 8px; font-family: "Archivo", sans-serif; font-variant-numeric: tabular-nums; font-size: 11px; letter-spacing: 0.1em; font-weight: 700; text-transform: uppercase; color: var(--muted); }
.pair-side .tag b { font-size: 16px; color: var(--ink); letter-spacing: 0; }
.pair-side .tag .take-flag { margin-left: auto; }
.pair-pick { position: absolute; top: 10px; right: 12px; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--accent); color: #fff; }
.pair-side .take-player .take-time { min-width: 0; }
.split { display: flex; flex-direction: column; gap: 6px; }
.split-bar { position: relative; height: 14px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--rule); overflow: hidden; display: flex; }
.split-bar .a { background: var(--accent); height: 100%; transition: width 0.6s ease; }
.split-bar .b { background: var(--muted); opacity: 0.55; height: 100%; transition: width 0.6s ease; }
.split-legend { display: flex; justify-content: space-between; font-family: "Archivo", sans-serif; font-variant-numeric: tabular-nums; font-size: 12px; color: var(--ink-soft); }
.split-legend b { color: var(--ink); }
.split-note { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.split-note b { color: var(--ink-soft); font-weight: 600; }

/* ---------- Transcription: machine vs human-verified ---------- */
.tx { display: flex; flex-direction: column; gap: 12px; }
.tx-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tx-col { border-radius: 14px; background: var(--card); padding: 12px 14px; box-shadow: inset 0 0 0 1px var(--rule); }
.tx-col.is-human { box-shadow: inset 0 0 0 2px var(--accent); }
.tx-k { margin: 0 0 8px; font-family: "Archivo", sans-serif; font-variant-numeric: tabular-nums; font-size: 10.5px; letter-spacing: 0.1em; font-weight: 700; text-transform: uppercase; color: var(--muted); }
.tx-text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink); }
.tx-text[dir="rtl"] { text-align: right; font-size: 16.5px; }
.tx-text .w.is-diff { background: color-mix(in srgb, var(--accent) 18%, transparent); border-radius: 4px; padding: 0 3px; }
.tx-text--asr .w.is-diff { background: color-mix(in srgb, #e05a7a 18%, transparent); text-decoration: line-through; text-decoration-color: rgba(224, 90, 122, 0.6); }

/* bilingual: the language pair leads the take */
.take-pair {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--rule);
  font-weight: 400; font-size: 13px; color: var(--ink-soft);  /* never bold (owner, 2026-09-02) */
}
.take-pair-plus { color: var(--muted); }
.take-script--it { font-style: italic; font-size: 17px; }

/* Bilingual reads: continuous text, with the same two inks as the language
   pill. An optional focus removes the other highlight without hiding words. */
.take--bilingual { gap: 16px; }
.bl-tone-0 { --bl-ink: #17658b; --bl-wash: #e1f1fa; }
.bl-tone-1 { --bl-ink: #744ba0; --bl-wash: #eee5f7; }
.take-pair--interactive { gap: 3px; padding: 4px; }
.take-pair--interactive .take-pair-lang {
  appearance: none; border: 0; border-radius: 999px; background: transparent;
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px;
  font: inherit; color: var(--bl-ink); cursor: var(--basis-cursor-pointer, pointer);
  transition: background 150ms ease;
}
.take-pair--interactive .take-pair-lang::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor;
}
.take-pair--interactive .take-pair-lang:hover,
.take-pair--interactive .take-pair-lang[aria-pressed="true"] { background: var(--bl-wash); }
.take-pair--interactive .take-pair-lang:focus-visible { outline: 2px solid var(--bl-ink); outline-offset: 2px; }
.bl-script { font-size: 17px; line-height: 1.75; font-weight: 500; letter-spacing: normal; font-style: normal; }
.bl-run {
  color: var(--bl-ink); background: var(--bl-wash); padding: 2px 3px; border-radius: 4px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: color 150ms ease, background 150ms ease;
}
.bl-run.is-muted { color: var(--ink-soft); background: transparent; }
:root[data-theme="dark"] .bl-tone-0 { --bl-ink: #9dd6ef; --bl-wash: #183b50; }
:root[data-theme="dark"] .bl-tone-1 { --bl-ink: #d8b9f5; --bl-wash: #382b4a; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .bl-tone-0 { --bl-ink: #9dd6ef; --bl-wash: #183b50; }
  :root:not([data-theme="light"]) .bl-tone-1 { --bl-ink: #d8b9f5; --bl-wash: #382b4a; }
}

/* preferences: two takes, one question */
.pref-q { margin: 0 0 12px; font-family: var(--serif); font-weight: 500; font-size: 18px; line-height: 1.35; letter-spacing: -0.015em; }
.pref-line { margin: 0 0 14px; color: var(--ink-soft); font-size: 15px; }
.pref-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pref-side {
  border-radius: 14px; background: var(--card); padding: 14px 14px 12px; box-shadow: inset 0 0 0 1px var(--rule);
  display: flex; flex-direction: column; gap: 10px; transition: box-shadow 0.15s ease;
}
.pref-side.is-chosen { box-shadow: inset 0 0 0 2px var(--accent); }
.pref-side .tag { font-family: "Archivo", sans-serif; font-variant-numeric: tabular-nums; font-size: 11px; letter-spacing: 0.1em; font-weight: 700; text-transform: uppercase; color: var(--muted); }
.pref-side .steer { font-weight: 600; text-transform: capitalize; }
.pref-choose {
  appearance: none; cursor: var(--basis-cursor-pointer, pointer); border: 0; margin-top: auto; padding: 8px 12px; border-radius: 999px;
  background: var(--panel); color: var(--ink); font-size: 13px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--rule);
}
.pref-choose:hover { background: var(--highlight); }
.pref-side.is-chosen .pref-choose { background: var(--accent); color: #fff; box-shadow: none; }
.pref-note { margin: 12px 0 0; color: var(--muted); font-size: 12.5px; }

/* labeling: a few labels off the top conversation */
.lab-cats { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.lab-list { display: flex; flex-direction: column; gap: 6px; }
.lab-list .cv-lab-row { background: var(--card); cursor: var(--basis-cursor-default, default); }
.lab-list .cv-lab-row:hover { background: var(--card); }

/* multilingual: the pool's languages */
.ml-langs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.ml-lang { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--rule); color: var(--ink-soft); }
.ml-flags { font-size: 20px; line-height: 1.3; letter-spacing: 2px; }

@media (max-width: 900px) {
  .offer-box { grid-template-columns: 1fr; gap: 20px; padding: 22px 20px 20px; }
  .pref-pair, .pair-sides, .tx-cols { grid-template-columns: 1fr; }
}

/* ---------- Bilingual conversation slide: live word-by-word captions ---------- */
/* Under the conversation card: one caption row per seat, the current line's
   words lighting up at their real timings (the /audio page's own treatment,
   its class names kept so the two read alike). */
.bl-captions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 12px 0 0; }
.bl-cap { position: relative; border-radius: 14px; background: var(--card); padding: 10px 40px 12px 14px; box-shadow: inset 0 0 0 1px var(--rule); }
.bl-cap > .cv-spk-dot { position: absolute; top: 10px; right: 10px; width: 20px; height: 20px; font-size: 11px; pointer-events: none; }
.conv-caption { min-height: 44px; display: flex; flex-direction: column; justify-content: center; gap: 3px; }
.conv-cap-cur { font-size: 16px; line-height: 1.45; color: var(--ink); text-align: left; }
.conv-cap-cur .conv-word { display: inline-block; opacity: 0.3; transition: opacity 0.12s ease, transform 0.12s ease; }
.conv-cap-cur .conv-word.said { opacity: 0.85; }
.conv-cap-cur .conv-word.cur { opacity: 1; font-weight: 700; transform: translateY(-1px); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.conv-cap-cur .conv-word.evt { font-style: italic; color: var(--muted); }
.conv-cap-cur .conv-word.evt.cur { font-weight: 600; text-decoration: none; opacity: 0.9; }
.conv-cap-cur.gone, .conv-cap-tr.gone { opacity: 0; transition: opacity 0.3s ease; }
.conv-cap-cur.preview .conv-word { opacity: 0.55; }
.conv-cap-tr { font-size: 12.5px; line-height: 1.4; font-style: italic; color: var(--muted); text-align: left; direction: ltr; }
.bl-langs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
@media (max-width: 640px) { .bl-captions { grid-template-columns: 1fr; } }
/* Compact Emotional Steering examples (emotional-take.js) */
.take-elo { position: relative; font-weight: 600; }
.take-elo > b { font-weight: 600; }
.take-elo-q {
  appearance: none; border: 1px solid var(--rule); background: transparent; color: var(--muted); cursor: help;
  width: 16px; height: 16px; border-radius: 999px; padding: 0; margin-left: 2px; font: 600 10px/1 "Archivo", sans-serif; font-variant-numeric: tabular-nums;
  display: inline-flex; align-items: center; justify-content: center; position: relative; vertical-align: middle;
}
.take-elo-q:hover, .take-elo-q:focus-visible, .take-elo-q.is-open { border-color: var(--accent); color: var(--accent); outline: none; }
.take-tip {
  position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); width: 260px; z-index: 40;
  padding: 10px 12px; border-radius: 10px; background: var(--card); color: var(--ink); box-shadow: 0 8px 28px rgba(20, 40, 60, 0.18), inset 0 0 0 1px var(--rule);
  font: 400 12.5px/1.5 "Archivo", sans-serif; text-align: left; text-transform: none; letter-spacing: 0; white-space: normal;
  display: none; pointer-events: none;
}
.take-tip b { display: block; font-size: 10.5px; letter-spacing: 0.1em; font-weight: 700; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.take-elo-q:hover .take-tip, .take-elo-q:focus-visible .take-tip, .take-elo-q.is-open .take-tip { display: block; }
.take-tip::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -6px; border: 6px solid transparent; border-top-color: var(--card); }
@media (max-width: 600px) { .take-tip { left: auto; right: -8px; transform: none; } .take-tip::after { left: auto; right: 12px; } }

.steer-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.steer-pill {
  appearance: none; border: 1px solid var(--rule); background: transparent; color: var(--muted); cursor: var(--basis-cursor-pointer, pointer);
  padding: 5px 12px; border-radius: 999px; font: 500 12px/1 "Archivo", sans-serif; font-variant-numeric: tabular-nums; letter-spacing: 0.04em;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.steer-pill:hover { color: var(--ink); border-color: var(--ink); }
.steer-pill.is-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.steer-direction { margin: -2px 0 0; font-size: 14.5px; font-weight: 600; color: var(--ink); }
/* every steer's player is built and kept, one on screen — the box never resizes */
.steer-players { display: grid; align-items: start; }
.steer-players > .take-player { grid-area: 1 / 1; }
.steer-players > .take-player:not(.is-on) { visibility: hidden; pointer-events: none; }
