/* ─────────────────────────────────────────────────────────────
   Blog on v2 — 方格稿紙. Loaded after tokens-v2.css (generated into this
   app) and components-v2.css (copied from landing at build time, see
   .eleventy.js). Like a layer-4 page, this file only lays things out and
   styles the article body: colors, sizes and lines come from --gp-* tokens,
   the parts (buttons, cards, list rows, chips, 田字格) from components-v2.
   No hex, no radius number, no font name here.
   ───────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-size: var(--gp-fs-body);
  line-height: var(--gp-lh-body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gp-label); }
a:hover { color: var(--gp-label-deep); }
:focus-visible { outline: 2px solid var(--gp-label); outline-offset: 2px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 var(--gp-s6); }
@media (max-width: 600px) { .wrap { padding: 0 var(--gp-s4); } }

/* ── header ───────────────────────────────────────────────────── */
.hdr {
  position: sticky; top: 0; z-index: 10;
  background: var(--gp-bg); border-bottom: var(--gp-w-hair) solid var(--gp-rule-strong);
}
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: var(--gp-s4); height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--gp-text); min-width: 0; }
.brand:hover { color: var(--gp-text); }
.brand__mark { width: 28px; height: 28px; flex: none; border: var(--gp-w-hair) solid var(--gp-rule-strong); }
/* the product wordmark: Literata, the one family that never means a level */
.brand__name { font-family: var(--gp-font-wordmark); font-size: var(--gp-fs-title); font-weight: 600; letter-spacing: -0.015em; white-space: nowrap; }
.brand__sec { padding-left: 10px; border-left: var(--gp-w-hair) solid var(--gp-rule-strong); line-height: 1.4; }
.nav { display: flex; align-items: center; gap: var(--gp-s6); }
.nav__link { font-size: var(--gp-fs-small); color: var(--gp-text-2); text-decoration: none; }
.nav__link:hover { color: var(--gp-text); }
@media (max-width: 600px) {
  .nav__link { display: none; }
  .brand__name { font-size: var(--gp-fs-lead); }
}

/* ── shared section heads ─────────────────────────────────────── */
.sec { padding-top: var(--gp-s14); }
.sec__t { margin: 0 0 var(--gp-s6); font-size: var(--gp-fs-h3); font-weight: 600; line-height: 1.25; color: var(--gp-text); }
/* the last section before the closing band keeps the room .page and .post__more keep */
.sec--last { padding-bottom: var(--gp-s20); }
.more { display: inline-block; margin-top: var(--gp-s4); font-size: var(--gp-fs-small); font-weight: 600; text-decoration: none; }

/* ── a lighter blog ───────────────────────────────────────────
   The blog's readers come from search with a life question, not to study,
   so it wears the system more loosely than the app and landing do: grid paper
   only on TOCFL pages, hairlines where the app draws its 3px heading rule. */
.gp-list { border-top: var(--gp-w-hair) solid var(--gp-rule-strong); }

/* a page's title area, full width; .gp-ruled is added on TOCFL pages only */
.band { border-bottom: var(--gp-w-hair) solid var(--gp-rule); }
.topic-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--gp-fs-small); font-weight: 600; color: var(--gp-label); text-decoration: none;
}

/* a post's cover photo; in a preview build, where one will go */
.cover { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--gp-bg-tint); }
.cover--ph {
  display: grid; place-items: center; border: var(--gp-w-hair) dashed var(--gp-rule-strong);
  font-size: var(--gp-fs-caption); color: var(--gp-text-muted);
}

/* ── home: hero ───────────────────────────────────────────────── */
.hero__in {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: var(--gp-s14); align-items: center; padding-top: var(--gp-s14); padding-bottom: var(--gp-s8);
}
.hero__t { margin: 0; font-size: var(--gp-fs-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; color: var(--gp-text); }
.hero__lede { margin: var(--gp-s4) 0 0; max-width: 30em; font-size: var(--gp-fs-lead); color: var(--gp-text-2); }

/* the newest post: the one thing on the page that is raised */
.feature { display: flex; flex-direction: column; gap: var(--gp-s3); text-decoration: none; color: var(--gp-text); }
.feature:hover { color: var(--gp-text); }
.feature__cover { width: calc(100% + 2 * var(--gp-s6)); margin: calc(-1 * var(--gp-s6)) calc(-1 * var(--gp-s6)) var(--gp-s2); border: 0; }
.feature__top { display: flex; align-items: center; justify-content: space-between; gap: var(--gp-s3); }
.feature__t { font-size: var(--gp-fs-h3); font-weight: 600; line-height: 1.3; }
.feature__d { font-size: var(--gp-fs-body); color: var(--gp-text-2); }
.feature__m { font-size: var(--gp-fs-caption); color: var(--gp-text-muted); font-variant-numeric: tabular-nums; }

@media (max-width: 860px) {
  .hero__in { grid-template-columns: 1fr; gap: var(--gp-s8); padding-top: var(--gp-s14); padding-bottom: var(--gp-s14); }
}

/* ── home: topics ─────────────────────────────────────────────── */
.topics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gp-s4); }
.topic { display: flex; flex-direction: column; gap: var(--gp-s2); text-decoration: none; color: var(--gp-text); }
.topic:hover { color: var(--gp-text); }
.topic__i { width: 28px; height: 28px; margin-bottom: var(--gp-s2); color: var(--gp-label); }
.topic__t { font-size: var(--gp-fs-lead); font-weight: 600; }
.topic__d { flex: 1; font-size: var(--gp-fs-small); line-height: 1.6; color: var(--gp-text-2); }
.topic__n { margin-top: var(--gp-s3); font-size: var(--gp-fs-small); font-weight: 600; color: var(--gp-label); }
.topic__n::after { content: " →"; }
.topic__n.is-empty { font-weight: 400; color: var(--gp-text-muted); }
.topic__n.is-empty::after { content: none; }
@media (max-width: 960px) { .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .topics { grid-template-columns: 1fr; } }

/* ── post rows (2-x .gp-row as a link) ────────────────────────── */
.row { align-items: baseline; gap: var(--gp-s6); padding: var(--gp-s4) 6px; text-decoration: none; }
.row:hover { background: var(--gp-surface); color: var(--gp-text); }
.row:hover .row__t { color: var(--gp-label); }
.row__d { flex: none; width: 96px; font-size: var(--gp-fs-caption); color: var(--gp-text-muted); font-variant-numeric: tabular-nums; }
.row .gp-row__t { gap: 4px; }
.row__t { font-size: var(--gp-fs-lead); line-height: 1.4; color: var(--gp-text); }
.row .gp-row__t small { font-size: var(--gp-fs-small); line-height: 1.55; color: var(--gp-text-2); }
.row__tag { flex: none; }
@media (max-width: 680px) {
  .row { flex-wrap: wrap; gap: 4px var(--gp-s3); }
  .row__d { width: auto; order: -1; }
  .row .gp-row__t { flex-basis: 100%; order: 1; }
  .row__tag { order: 0; }
}

/* ── topic pages, 404 ─────────────────────────────────────────── */
.page { max-width: 760px; padding-top: var(--gp-s8); padding-bottom: var(--gp-s20); }
.page__head { max-width: 760px; padding-top: var(--gp-s14); padding-bottom: var(--gp-s8); }
.page__t { margin: var(--gp-s3) 0 0; font-size: var(--gp-fs-h2); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; color: var(--gp-text); }
.page__lede { margin: var(--gp-s3) 0 0; font-size: var(--gp-fs-lead); color: var(--gp-text-2); }
.group + .group { margin-top: var(--gp-s14); }
.group__t { margin: 0 0 var(--gp-s3); font-size: var(--gp-fs-title); font-weight: 600; }
.group__t a { color: var(--gp-text); text-decoration: none; }
.group__t a:hover { color: var(--gp-label); }
.group__empty { margin: 0; padding: var(--gp-s4) 6px; border-top: var(--gp-w-hair) solid var(--gp-rule-strong); font-size: var(--gp-fs-small); color: var(--gp-text-muted); }
.empty__a { align-self: center; flex-direction: row; flex-wrap: wrap; justify-content: center; }

/* ── post ─────────────────────────────────────────────────────── */
.post, .post__head { max-width: 720px; margin: 0 auto; padding: 0 var(--gp-s6); }
.post__head { padding-top: var(--gp-s14); padding-bottom: var(--gp-s8); }
@media (max-width: 600px) { .post, .post__head { padding-left: var(--gp-s4); padding-right: var(--gp-s4); } }
.post__cover { margin-top: var(--gp-s8); }
.nudge { display: flex; align-items: center; justify-content: space-between; gap: var(--gp-s6); flex-wrap: wrap; margin-top: var(--gp-s8); }
.nudge__t { margin: 0; font-size: var(--gp-fs-lead); font-weight: 600; color: var(--gp-text); }
.nudge__d { margin: 4px 0 0; font-size: var(--gp-fs-small); color: var(--gp-text-2); }
.post__t { margin: var(--gp-s3) 0 var(--gp-s4); font-size: var(--gp-fs-h2); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; color: var(--gp-text); }
.post__m { margin: 0; font-size: var(--gp-fs-small); color: var(--gp-text-muted); font-variant-numeric: tabular-nums; }
.post__more { padding-top: var(--gp-s14); padding-bottom: var(--gp-s20); }
.post__more-t { margin: 0 0 var(--gp-s3); font-size: var(--gp-fs-lead); font-weight: 600; color: var(--gp-text); }
.post__more-t a { text-decoration: none; }

/* the article body: content, so it reads at reading size, not in the four UI levels */
.prose { padding-top: var(--gp-s8); font-size: var(--gp-fs-lead); line-height: var(--gp-lh-reading); color: var(--gp-text-body); }
.prose > :first-child { margin-top: 0; }
/* the first paragraph is the answer (inverted pyramid): give it the ink */
.prose > p:first-child { font-size: var(--gp-fs-title); line-height: 1.6; color: var(--gp-text); }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose table { margin: 0 0 var(--gp-s6); }
.prose h2 {
  margin: var(--gp-s11) 0 var(--gp-s3);
  font-size: var(--gp-fs-h3); font-weight: 600; line-height: 1.3; color: var(--gp-text);
}
.prose h3 { margin: var(--gp-s8) 0 var(--gp-s2); font-size: var(--gp-fs-lead); font-weight: 600; line-height: 1.45; color: var(--gp-text); }
.prose strong { font-weight: 600; color: var(--gp-text); }
.prose a { text-decoration: underline; text-decoration-color: var(--gp-rule-strong); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: var(--gp-s2); }
.prose li::marker { color: var(--gp-text-muted); }
.prose blockquote { padding: 2px 0 2px var(--gp-s4); border-left: var(--gp-w-head) solid var(--gp-rule-ink); color: var(--gp-text-2); }
.prose blockquote > :last-child { margin-bottom: 0; }
.prose code { padding: 1px 5px; background: var(--gp-chip-ground); font-size: .88em; }
.prose hr { margin: var(--gp-s8) 0; border: 0; border-top: var(--gp-w-hair) solid var(--gp-rule-strong); }
.prose img { max-width: 100%; height: auto; display: block; border: var(--gp-w-hair) solid var(--gp-rule-strong); }

/* tables: the list's look — a heading rule, rules between rows. Scrolls sideways on a phone */
.prose table {
  width: 100%; border-collapse: collapse;
  border-top: var(--gp-w-hair) solid var(--gp-rule-strong);
  font-size: var(--gp-fs-small); line-height: 1.55;
}
.prose th, .prose td { padding: 10px var(--gp-s3); border-bottom: var(--gp-w-hair) solid var(--gp-rule-strong); text-align: left; vertical-align: top; }
.prose th { background: var(--gp-bg-tint); font-weight: 600; color: var(--gp-text); white-space: nowrap; }
.prose td { min-width: 120px; background: var(--gp-surface); }
@media (max-width: 680px) { .prose table { display: block; overflow-x: auto; } }

/* FAQ: the landing page's <details> rows (landing index.html .faq__*), built by the
   "faq" transform in .eleventy.js from the post's "## FAQ" section */
.prose .faq { margin: 0 0 var(--gp-s6); border-top: var(--gp-w-hair) solid var(--gp-rule-strong); }
.prose .faq__item { border-bottom: var(--gp-w-hair) solid var(--gp-rule-strong); }
.prose .faq__q {
  display: flex; align-items: center; gap: 18px; padding: var(--gp-s5) 0;
  font-size: var(--gp-fs-lead); font-weight: 500; line-height: 1.4; color: var(--gp-text);
  cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent;
}
.prose .faq__q::-webkit-details-marker { display: none; }
.prose .faq__q::after {
  content: ""; margin-left: auto; flex: none; width: 9px; height: 9px;
  border-right: 2px solid var(--gp-text-2); border-bottom: 2px solid var(--gp-text-2);
  transform: translateY(-3px) rotate(45deg); transition: transform .3s ease;
}
.prose .faq__item[open] > .faq__q::after { transform: translateY(2px) rotate(-135deg); }
.prose .faq__q:focus-visible { outline: 2px solid var(--gp-text); outline-offset: 4px; border-radius: 4px; }
.prose .faq__a {
  margin: 0 0 18px; padding: var(--gp-s4) var(--gp-s5);
  background: var(--gp-surface); border: var(--gp-w-hair) solid var(--gp-rule); border-radius: 14px;
  font-size: var(--gp-fs-body); line-height: 1.6; color: var(--gp-text-body);
}
@media (prefers-reduced-motion: reduce) { .prose .faq__q::after { transition: none; } }

/* partner-school search (alliance-search.njk): a labelled, full-size field, then the list
   in a fixed box that scrolls on its own, so typing never moves the rest of the article */
.prose .ally { margin: 0 0 var(--gp-s6); padding: var(--gp-s4); border-radius: var(--gp-radius-card); background: var(--gp-bg-tint); }
.prose .ally__label { display: block; margin: 0 0 var(--gp-s2); font-size: var(--gp-fs-lead); font-weight: 600; color: var(--gp-text); }
.prose .ally__search { margin-bottom: var(--gp-s2); }
.prose .ally__search .gp-search__f { height: 52px; padding: 0 var(--gp-s4); font-size: var(--gp-fs-lead); }
.prose .ally__search .gp-search__f .gp-i { width: 22px; height: 22px; color: var(--gp-label); }
.prose .ally__n { margin: 0 0 var(--gp-s2); font-size: var(--gp-fs-small); color: var(--gp-text-muted); font-variant-numeric: tabular-nums; }
.prose .ally__list {
  height: 420px; overflow-y: auto; margin: 0; padding: 0; list-style: none;
  border: var(--gp-w-hair) solid var(--gp-rule-strong); background: var(--gp-surface);
}
.prose .ally__row { display: flex; gap: var(--gp-s3); align-items: flex-start; margin: 0; padding: 10px var(--gp-s3); border-bottom: var(--gp-w-hair) solid var(--gp-rule-soft); font-size: var(--gp-fs-small); line-height: 1.5; }
.prose .ally__row[hidden] { display: none; }
.prose .ally__row p { margin: 0; }
.prose .ally__t { min-width: 0; }
/* site icons come in every style; a fixed square keeps the names aligned */
.prose .ally__logo { flex: none; width: 32px; height: 32px; margin-top: 2px; border: 0; border-radius: 6px; object-fit: contain; }
.prose .ally__logo--text { display: grid; place-items: center; background: var(--gp-bg-tint); color: var(--gp-text-2); font-weight: 600; }
.prose .ally__en { font-weight: 600; color: var(--gp-text); }
.prose .ally__alias { font-weight: 400; color: var(--gp-text-muted); }
.prose .ally__zh { color: var(--gp-text-2); }
.prose .ally__c { color: var(--gp-text-muted); overflow-wrap: anywhere; }
.prose .ally__none { margin: var(--gp-s3) 0 0; font-size: var(--gp-fs-small); color: var(--gp-text-muted); }
.prose .ally__src { margin: var(--gp-s2) 0 0; font-size: var(--gp-fs-small); color: var(--gp-text-muted); }

/* ── closing band and footer: the blue-black, as on landing ───── */
.cta { padding: var(--gp-s20) 0; }
.cta__in { display: flex; align-items: center; justify-content: space-between; gap: var(--gp-s8); flex-wrap: wrap; }
/* restates the product wordmark, not a heading */
.cta__wordmark { margin: 0; font-family: var(--gp-font-wordmark); font-size: var(--gp-fs-h2); font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; }
.cta__body { margin: var(--gp-s3) 0 0; max-width: 520px; color: var(--gp-on-night-muted); }

.foot { padding: var(--gp-s11) 0 var(--gp-s8); border-top: var(--gp-w-hair) solid var(--gp-rule-night); font-size: var(--gp-fs-small); }
.foot a { color: var(--gp-on-night); text-decoration: none; }
.foot a:hover { color: var(--gp-on-night-muted); }
.foot__nav { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.foot__legal {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--gp-s2) var(--gp-s6);
  margin-top: var(--gp-s6); padding-top: var(--gp-s6); border-top: var(--gp-w-hair) solid var(--gp-rule-night);
  font-size: var(--gp-fs-caption); color: var(--gp-on-night-muted);
}
.foot__legal a { color: var(--gp-on-night-muted); }

/* points check (points-check.njk): a vertical bar on the left that stays in view, the eight
   items on the right as FAQ rows; each row opens to the option keys. Only the fill moves */
.prose .pts { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: var(--gp-s6); align-items: start; margin: 0 0 var(--gp-s6); }
.prose .pts__bar { position: sticky; top: calc(64px + var(--gp-s4)); display: flex; flex-direction: column; align-items: center; gap: var(--gp-s2); }
.prose .pts__sum { display: flex; flex-direction: column; align-items: center; line-height: 1.1; font-variant-numeric: tabular-nums; }
.prose .pts__sum b { font-family: var(--gp-font-display); font-size: var(--gp-fs-h3); font-weight: 600; color: var(--gp-text); }
.prose .pts__sum span { font-size: var(--gp-fs-meta); color: var(--gp-text-muted); }
.prose .pts__track {
  position: relative; width: 28px; height: 320px; overflow: visible;
  background: var(--gp-rule); border: var(--gp-w-hair) solid var(--gp-rule-strong); border-radius: var(--gp-radius-opt);
}
.prose .pts__fill {
  position: absolute; left: 0; right: 0; bottom: 0; height: 0;
  background: var(--gp-label); border-radius: inherit; transition: height .3s ease;
}
/* the 70 line: drawn across the bar, its number to the right */
.prose .pts__line { position: absolute; left: -6px; right: -6px; bottom: var(--need); border-top: var(--gp-w-cell) solid var(--gp-text); }
.prose .pts__line span {
  position: absolute; left: calc(100% + 4px); top: 0; transform: translateY(-50%);
  font-size: var(--gp-fs-meta); font-weight: 600; color: var(--gp-text); font-variant-numeric: tabular-nums;
}
.prose .pts__ok { display: flex; align-items: center; gap: 4px; margin: 0; font-size: var(--gp-fs-meta); font-weight: 600; color: var(--gp-correct); }
.prose .pts__ok[hidden] { display: none; }
.prose .pts__list { border-top: var(--gp-w-hair) solid var(--gp-rule-strong); }
.prose .pts__item .faq__q { padding: var(--gp-s4) 0; }
.prose .pts__q { display: flex; align-items: center; gap: var(--gp-s2); min-width: 0; }
.prose .pts__got { margin-left: auto; font-weight: 600; color: var(--gp-label); font-variant-numeric: tabular-nums; }
.prose .pts__item .faq__q::after { margin-left: 0; }
.prose .pts__opts { margin: 0 0 var(--gp-s4); }
.prose .pts__r { position: absolute; opacity: 0; pointer-events: none; }
.prose .gp-opt:has(.pts__r:focus-visible) { outline: 2px solid var(--gp-label); outline-offset: 2px; }
.prose .pts .gp-opt__k { width: 34px; font-variant-numeric: tabular-nums; }
/* details on demand: hover or focus on a pointer, tap on touch */
.prose .pts__tip { position: relative; flex: none; display: inline-flex; }
.prose .pts__i {
  width: 22px; height: 22px; padding: 0; display: grid; place-items: center;
  border: var(--gp-w-hair) solid currentColor; border-radius: 50%; background: none;
  font: italic 600 13px/1 var(--gp-font-display); color: var(--gp-text-2); cursor: help;
}
.prose .pts__pop {
  position: absolute; right: -8px; bottom: calc(100% + 8px); z-index: 5; width: max-content; max-width: min(280px, 70vw);
  padding: var(--gp-s2) var(--gp-s3); background: var(--gp-surface); border: var(--gp-w-hair) solid var(--gp-rule-strong); border-radius: 14px;
  font-size: var(--gp-fs-small); font-weight: 400; font-style: normal; line-height: 1.5; color: var(--gp-text-body);
  visibility: hidden;
}
/* in a row title the note opens rightward from the chip; on an option (chip at the row's end) leftward */
.prose .pts__q .pts__pop { right: auto; left: -8px; }
@media (hover: hover) { .prose .pts__tip:hover .pts__pop { visibility: visible; } }
.prose .pts__i:focus-visible + .pts__pop, .prose .pts__tip.is-open .pts__pop { visibility: visible; }
@media (max-width: 600px) {
  .prose .pts { grid-template-columns: 56px minmax(0, 1fr); gap: var(--gp-s4); }
  .prose .pts__track { height: 260px; width: 22px; }
}
@media (prefers-reduced-motion: reduce) { .prose .pts__fill { transition: none; } }

/* Traditional vs Simplified (trad-simp.njk): words in 田字格. pairs: one row per word,
   Traditional → Simplified. merge: two Traditional characters on the left, lines that
   join into the one Simplified character on the right */
.prose .ts { --ts-w: 92px; margin: 0 0 var(--gp-s6); font-size: 30px; }
.prose .ts .gp-cells > * { width: 48px; height: 48px; }
.prose .ts__h { font-size: var(--gp-fs-meta); font-weight: 600; color: var(--gp-text-muted); }
.prose .ts--pairs { display: grid; grid-template-columns: auto auto auto 1fr; gap: var(--gp-s3) var(--gp-s3); align-items: center; }
.prose .ts--pairs .ts__h, .prose .ts__pair { display: contents; }
.prose .ts__arrow { font-size: var(--gp-fs-body); color: var(--gp-label); }
.prose .ts__en { font-size: var(--gp-fs-small); color: var(--gp-text-2); }
.prose .ts--merge { display: grid; grid-template-columns: max-content; gap: var(--gp-s5); }
.prose .ts--merge .ts__h { display: grid; grid-template-columns: var(--ts-w) 48px 56px 48px; gap: 0 var(--gp-s3); justify-items: center; white-space: nowrap; }
.prose .ts--merge .ts__h span:nth-child(2) { grid-column: 2; }
.prose .ts__group { display: grid; grid-template-columns: var(--ts-w) 48px 56px 48px; grid-template-rows: auto auto; gap: var(--gp-s2) var(--gp-s3); align-items: center; }
.prose .ts__word { grid-column: 1; justify-self: end; text-align: right; font-size: var(--gp-fs-body); line-height: 1.2; color: var(--gp-text); }
.prose .ts__word small { display: block; font-size: var(--gp-fs-caption); color: var(--gp-text-muted); }
.prose .ts__from { grid-column: 2; }
.prose .ts__lines { grid-column: 3; grid-row: 1 / 3; width: 100%; height: 100%; fill: none; stroke: var(--gp-label); stroke-width: 1.5; }
.prose .ts__to { grid-column: 4; grid-row: 1 / 3; }

/* level finder (level-finder.njk): who you are as three rows, folding into the picked one;
   then a table of goals with the band and level each asks for, the two numbers big.
   Without JS all three tables show, one after another */
.prose .lvf { margin: 0 0 var(--gp-s6); padding: var(--gp-s4); border-radius: var(--gp-radius-card); background: var(--gp-bg-tint); }
.prose .lvf__step { display: flex; align-items: center; gap: var(--gp-s2); margin: 0 0 var(--gp-s2); font-size: var(--gp-fs-small); font-weight: 600; color: var(--gp-text); }
.prose .lvf__step b { width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--gp-label); color: var(--gp-on-fill); font-family: var(--gp-font-display); font-size: var(--gp-fs-meta); }
.prose .lvf__r { position: absolute; opacity: 0; pointer-events: none; }
.prose .lvf .gp-opt:has(.lvf__r:focus-visible) { outline: 2px solid var(--gp-label); outline-offset: 2px; }
.prose .lvf__pick { position: relative; }
.prose .lvf__who { display: flex; flex-direction: column; gap: var(--gp-s2); margin: 0 0 var(--gp-s5); }
.prose .lvf__who[hidden] { display: none; }
.prose .lvf__tile, .prose .lvf__sum { gap: var(--gp-s3); padding-left: var(--gp-s4); }
.prose .lvf__cap { flex: 1; font-size: var(--gp-fs-body); font-weight: 600; line-height: 1.35; }
/* folded: the picked row, flat; while folding it sits over the shrinking rows */
.prose .lvf__sum { display: flex; align-items: center; margin: 0 0 var(--gp-s5); min-height: var(--gp-opt-min-h); padding-right: var(--gp-s2); border: var(--gp-w-cell) solid var(--gp-label); border-radius: var(--gp-radius-opt); background: var(--gp-select-tint); }
.prose .lvf__sum[hidden] { display: none; }
.prose .lvf__sum.is-over { position: absolute; top: 0; left: 0; right: 0; }
.prose .lvf__grp + .lvf__grp { margin-top: var(--gp-s5); }
.prose .lvf__tbl { display: table; width: 100%; margin: 0; }
.prose .lvf__tbl td { min-width: 0; vertical-align: middle; }
.prose .lvf__tbl th:not(:first-child) { width: 1%; text-align: center; }
.prose .lvf__n { text-align: center; white-space: nowrap; font-family: var(--gp-font-display); font-size: var(--gp-fs-h3); font-weight: 600; color: var(--gp-label); }
.prose .lvf__more { margin: var(--gp-s3) 0 0; }
/* with JS: one table, dropping in after the fold */
.prose .lvf.is-js .lvf__nojs, .prose .lvf.is-js .lvf__grp:not(.is-on) { display: none; }
.prose .lvf.is-js .lvf__grp + .lvf__grp { margin-top: 0; }
.prose .lvf.is-js .lvf__grp.is-on { animation: lvf-in .32s .12s cubic-bezier(.3, 0, .2, 1) backwards; }
@keyframes lvf-in { from { opacity: 0; transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .prose .lvf.is-js .lvf__grp.is-on { animation: none; } }
