/* Public Cambridge test pages (/cambridge/<book>/<skill>-test-<n>).
   One shared sheet for every generated page — see lib/cambridge/render.js.
   Paper/editorial system, tokens only (docs/UI-DESIGN.md). */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter Tight', 'Hind Siliguri', system-ui, sans-serif; background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; }
::selection { background: var(--coral-soft); color: var(--coral); }

/* ── Navbar (same as the library pages and /tools) ── */
.nav { position: sticky; top: 0; z-index: 100; background: var(--charcoal); }
.nav-inner { display: flex; align-items: center; gap: 40px; height: 64px; max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.nav-logo { font-size: 18px; font-weight: 700; color: #fff; letter-spacing: -0.01em; text-decoration: none; flex-shrink: 0; }
.nav-logo span { color: var(--coral); }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0 0 0 8px; padding: 0; }
.nav-links a { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.7); text-decoration: none; transition: color .15s ease; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-btn { font-size: 13px; font-weight: 600; font-family: inherit; padding: 0 16px; height: 40px; line-height: 40px; border-radius: 8px; border: none; cursor: pointer; text-decoration: none; display: inline-block; }
.nav-btn-signup { background: var(--coral); color: white; }
.nav-btn-login { background: transparent; color: rgba(255,255,255,.85); border: 1.5px solid rgba(255,255,255,.3); }
.nav-btn-login:hover { border-color: white; color: white; }

/* ── Shell ── */
.wrap { max-width: 880px; margin: 0 auto; padding: 0 32px; }
.topbar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-top: 24px; }
.crumbs { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--coral); }
.crumbs [aria-current] { color: var(--charcoal); }

.hero { padding: 40px 0 48px; }
.eyebrow { display: flex; align-items: center; gap: 8px; font-family: 'JetBrains Mono', 'Hind Siliguri', monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--charcoal); margin-bottom: 16px; }
.subtitle { font-size: 20px; line-height: 1.55; color: var(--ink); max-width: 64ch; margin-bottom: 8px; }

/* ── Language toggle (top left) ── */
.lang { display: inline-flex; padding: 4px; gap: 4px; background: var(--surface); border: 1px solid var(--rule); border-radius: 99px; }
.lang a { font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; padding: 4px 16px; border-radius: 99px; line-height: 24px; }
.lang a:hover { color: var(--charcoal); }
.lang a[aria-current] { background: var(--charcoal); color: #fff; }

/* ── Brand mark: the one IELTSNexa signature on data and headings ── */
.brandmark { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 4px; background: var(--coral); color: #fff; font-family: 'Inter Tight', sans-serif; font-size: 10px; font-weight: 800; letter-spacing: 0; flex-shrink: 0; }
.source { display: flex; align-items: center; gap: 8px; font-family: 'JetBrains Mono', 'Hind Siliguri', monospace; font-size: 11px; color: var(--muted); margin: 16px 0 0; }
h1 { font-family: 'Literata', Georgia, serif; font-size: 44px; line-height: 1.12; letter-spacing: -0.02em; color: var(--charcoal); margin-bottom: 16px; }
.lede { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 64ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.facts { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 32px; }
.facts li { background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; padding: 16px; }
.facts .k { display: block; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.facts .v { font-size: 16px; font-weight: 650; color: var(--charcoal); line-height: 1.3; }

section { padding: 48px 0; border-top: 1px solid var(--rule); }
h2 { font-family: 'Literata', Georgia, serif; font-size: 28px; line-height: 1.25; color: var(--charcoal); margin-bottom: 16px; letter-spacing: -0.01em; }
.h3 { font-size: 16px; font-weight: 700; color: var(--charcoal); margin: 32px 0 8px; }
p { font-size: 16px; line-height: 1.7; margin-bottom: 16px; }
.small { font-size: 14px; color: var(--muted); }
a.inline, .faq a, .pitch-small a { color: var(--coral); text-decoration: underline; text-underline-offset: 2px; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 24px; border: none; border-radius: 8px; font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--coral-dark); }
.btn-ghost { border: 1.5px solid var(--rule); color: var(--charcoal); background: transparent; }
.btn-ghost:hover { border-color: var(--charcoal); }
.btn-light { background: #fff; color: var(--charcoal); }
.btn-light:hover { background: var(--coral-soft); }

/* ── Tables ── */
.table-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: 12px; background: var(--surface); margin-top: 24px; }
.table-wrap.narrow { max-width: 480px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th { text-align: left; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 500; background: var(--rule-soft); padding: 12px 16px; }
td { padding: 16px; border-top: 1px solid var(--rule); vertical-align: top; line-height: 1.5; }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
td .sub { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }
.bands td { padding: 8px 16px; }
.bands tr.mine td { background: var(--coral-soft); font-weight: 650; color: var(--charcoal); }
.bands td.note { font-size: 13px; color: var(--coral); }

/* ── Results: headline numbers ── */
.big { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 24px; }
.big li { background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; padding: 16px 24px; }
.bv { display: block; font-family: 'Literata', Georgia, serif; font-size: 36px; line-height: 1.1; color: var(--charcoal); font-variant-numeric: tabular-nums; }
.bv small { font-size: 16px; color: var(--muted); margin-left: 4px; }
.bk { display: block; font-family: 'JetBrains Mono', 'Hind Siliguri', monospace; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); margin-top: 8px; }

/* ── Results: per-part bars ── */
.bars { margin-top: 24px; background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; padding: 24px; }
.bar-row { display: grid; grid-template-columns: minmax(64px, max-content) 1fr 40px; align-items: center; gap: 16px; margin-bottom: 16px; }
.bar-lbl { font-size: 14px; font-weight: 600; color: var(--charcoal); }
.bar-track { height: 16px; background: var(--rule-soft); border-radius: 4px; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--skill-listening); border-radius: 4px; }
.bar-val { font-family: 'JetBrains Mono', monospace; font-size: 14px; color: var(--charcoal); text-align: right; }
.bars figcaption { font-size: 13px; color: var(--muted); }

/* ── Part cards ── */
.part { background: var(--surface); border: 1px solid var(--rule); border-radius: 16px; padding: 24px; margin-top: 16px; }
.part-head { margin-bottom: 16px; }
.part-num { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--skill-listening); }
.part h3 { font-family: 'Literata', Georgia, serif; font-size: 22px; line-height: 1.3; color: var(--charcoal); margin: 8px 0; }
.part-meta { font-size: 13px; color: var(--muted); }
.watch { background: var(--rule-soft); border-radius: 8px; padding: 16px; margin-bottom: 16px; }
.watch-lbl { display: block; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--coral); margin-bottom: 8px; }
.watch p { font-size: 15px; margin: 0; }
.part-cta { font-size: 14px; font-weight: 600; color: var(--coral); text-decoration: none; }
.part-cta:hover { text-decoration: underline; }

/* ── Per-part question chart ──
   One column per question; bar height = % correct. The dashed line over a
   group is the same question type's average across every Cambridge test, so
   "is this one hard, or is the type just hard?" is answerable at a glance. */
.qchart { margin: 24px 0; background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; padding: 24px; }
.qchart figcaption { font-size: 13px; font-weight: 600; color: var(--charcoal); margin-bottom: 16px; }
.qc-plot { position: relative; display: grid; grid-template-columns: repeat(var(--n, 10), 1fr); gap: 0 8px; height: 168px; border-bottom: 1px solid var(--rule); background: repeating-linear-gradient(to top, transparent 0 calc(25% - 1px), var(--rule-soft) calc(25% - 1px) 25%); }
.qc-col { grid-row: 1; position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; padding: 0; border: none; background: none; cursor: pointer; font: inherit; }
.qc-bar { display: block; width: 100%; height: var(--h); background: color-mix(in srgb, var(--skill-listening) 70%, var(--surface)); border-radius: 4px 4px 0 0; transition: background .15s ease; }
.qc-col.hard .qc-bar { background: var(--coral); }
.qc-val { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted); margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.qc-col:hover .qc-bar, .qc-col:focus-visible .qc-bar, .qc-col[aria-pressed="true"] .qc-bar { background: var(--skill-listening); }
.qc-col.hard:hover .qc-bar, .qc-col.hard:focus-visible .qc-bar, .qc-col.hard[aria-pressed="true"] .qc-bar { background: var(--coral-dark); }
.qc-col[aria-pressed="true"] .qc-val { color: var(--charcoal); font-weight: 700; }
.qc-col:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 2px; border-radius: 4px; }
.qc-avg { grid-row: 1; align-self: end; height: var(--h); border-top: 2px dashed var(--charcoal); opacity: .55; pointer-events: none; z-index: 1; }
.qc-x { display: grid; grid-template-columns: repeat(var(--n, 10), 1fr); gap: 0 8px; margin-top: 8px; }
.qc-x span { text-align: center; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--faint); }
.qc-groups { display: grid; grid-template-columns: repeat(var(--n, 10), 1fr); gap: 0 8px; margin-top: 8px; }
.qc-group { border-top: 2px solid var(--charcoal); padding-top: 8px; min-width: 0; }
.qc-gname { display: block; font-size: 13px; font-weight: 650; color: var(--charcoal); line-height: 1.3; }
.qc-gstat { display: block; font-size: 12px; color: var(--muted); line-height: 1.4; margin-top: 4px; }
.qc-gstat b { color: var(--charcoal); }
.qc-detail { margin-top: 16px; padding: 16px; background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; min-height: 104px; }
.qc-detail p { margin: 0; font-size: 14px; line-height: 1.5; }
.qd-head { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; }
.qd-q { font-weight: 700; color: var(--charcoal); }
.qd-type { font-family: 'JetBrains Mono', 'Hind Siliguri', monospace; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.qc-detail .qd-pct { margin-top: 8px; }
.qd-pct strong { font-size: 20px; color: var(--charcoal); }
.qc-detail .qd-lines { margin-top: 4px; color: var(--muted); }
.qd-why { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--coral); text-decoration: none; }
.qd-why:hover { text-decoration: underline; }
.qc-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; font-size: 12px; color: var(--muted); }
.qc-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; vertical-align: -1px; margin-right: 8px; }
.lg-bar { background: color-mix(in srgb, var(--skill-listening) 70%, var(--surface)); }
.lg-hard { background: var(--coral); }
.qc-legend .lg-line { height: 0; border-top: 2px dashed var(--charcoal); opacity: .55; border-radius: 0; vertical-align: 3px; }

/* ── Hardest questions: the question note beside the trap behind it ── */
.hq { scroll-margin-top: 88px; display: grid; grid-template-columns: 1fr 1fr; margin-top: 16px; border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; background: var(--surface); }
.hq-main { padding: 24px; }
.hq-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 16px; }
.hq-rank { width: 32px; height: 32px; border-radius: 99px; background: var(--charcoal); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.hq-q { font-weight: 700; font-size: 17px; color: var(--charcoal); }
.hq-part { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.hq-pct { width: 100%; font-size: 14px; color: var(--muted); }
.hq-pct strong { font-family: 'Literata', Georgia, serif; font-size: 28px; color: var(--coral); margin-right: 4px; }
.hq-main p { font-size: 15px; margin: 0; }
.hq-trap { padding: 24px; background: var(--coral-soft); border-left: 1px dashed var(--coral); }
.hq-tlbl { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--coral); margin: 0 0 8px; }
.hq-trap h3 { font-size: 18px; font-weight: 700; color: var(--charcoal); line-height: 1.35; margin-bottom: 8px; }
.hq-trap p { font-size: 15px; margin-bottom: 8px; }
.hq-stat { font-size: 14px !important; font-weight: 600; color: var(--charcoal); background: var(--surface); border-radius: 8px; padding: 8px 16px; }
.hq-learn { display: inline-block; font-size: 14px; font-weight: 600; color: var(--coral-dark); text-decoration: none; margin-top: 8px; }
.hq-learn:hover { text-decoration: underline; }
.hq-note { font-weight: 400; color: var(--muted); }
.learn { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; padding: 24px; border-radius: 12px; background: var(--surface); border: 1px solid var(--rule); }
.learn > div { flex: 1; min-width: 240px; }
.learn-h { font-family: 'Literata', Georgia, serif; font-size: 20px; color: var(--charcoal); margin-bottom: 8px; }
.learn p:last-child { margin: 0; font-size: 15px; }

/* ── Explanation cards: the one rich, warm panel on the page ──
   "Chocolate" is the brand's coral-dark taken down toward black, so it stays
   derived from the token set rather than introducing a new colour. (Mixing
   with the charcoal instead reads plum: the charcoal is blue.) */
.explain { --choc: color-mix(in srgb, var(--coral-dark) 46%, black); --choc-deep: color-mix(in srgb, var(--coral-dark) 24%, black);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; margin: 48px 0; padding: 48px 40px; border-top: none; border-radius: 16px; color: var(--paper);
  background: radial-gradient(120% 140% at 100% 0%, var(--choc) 0%, var(--choc-deep) 60%); box-shadow: var(--shadow-lg); }
.explain-kicker { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--coral); margin-bottom: 16px; }
.explain h2 { color: #fff; font-size: 32px; }
.explain p { color: color-mix(in srgb, var(--paper) 85%, transparent); font-size: 16px; }
.explain-points { list-style: none; display: grid; gap: 8px; margin: 0 0 24px; }
.explain-points li { position: relative; padding-left: 32px; font-size: 15px; color: #fff; line-height: 1.5; }
.explain-points li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 99px; background: var(--coral); box-shadow: inset 0 0 0 4px color-mix(in srgb, var(--coral) 55%, #fff); }
.explain .explain-small { font-size: 13px; margin: 16px 0 0; color: color-mix(in srgb, var(--paper) 65%, transparent); }
.mock-wrap { position: relative; }
.mock-wrap::before { content: ""; position: absolute; inset: 16px -12px -16px 12px; border-radius: 16px; background: var(--coral); transform: rotate(-4deg); }
.mock { position: relative; background: var(--paper); color: var(--ink); border-radius: 16px; padding: 24px; transform: rotate(2deg); box-shadow: 0 24px 48px color-mix(in srgb, var(--charcoal) 55%, transparent); }
.mock-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 16px; }
.mock-badge { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--coral); border-radius: 99px; padding: 4px 8px; }
.mock-title { font-weight: 700; font-size: 14px; color: var(--charcoal); }
.mock-row { border-radius: 8px; padding: 16px; background: var(--surface); border: 1px solid var(--rule); margin-bottom: 8px; }
.mock-row:last-child { margin-bottom: 0; }
.mock-row.ok { border-left: 4px solid var(--ok); }
.mock-row.bait { border-left: 4px solid var(--coral); }
.mock-lbl { display: block; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.mock-play { display: inline-flex; align-items: center; gap: 8px; font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 600; color: var(--charcoal); background: var(--rule-soft); border-radius: 99px; padding: 4px 12px 4px 4px; margin-bottom: 4px; }
.mock-play i { width: 20px; height: 20px; border-radius: 99px; background: var(--charcoal); position: relative; }
.mock-play i::after { content: ""; position: absolute; left: 8px; top: 6px; border-left: 6px solid #fff; border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.mock .ln { display: block; height: 8px; border-radius: 4px; background: var(--rule); margin-top: 8px; }
.mock .ln.s { width: 64%; } .mock .ln.m { width: 80%; } .mock .ln.xs { width: 44%; }

/* ── Spelling list ── */
.spell { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 24px; }
.sp { background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; padding: 24px; }
.sp-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.sp-word { font-family: 'Literata', Georgia, serif; font-size: 24px; color: var(--charcoal); }
.sp-wrong { margin: 16px 0 8px; display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; font-size: 14px; }
.sp-lbl { width: 100%; font-family: 'JetBrains Mono', 'Hind Siliguri', monospace; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.sp-wrong s { color: var(--error); text-decoration-thickness: 1.5px; }
.sp-tip { font-size: 14px; color: var(--muted); margin: 8px 0 0; }

/* ── Vocabulary ── */
.vocab td:first-child { width: 32%; }
.word { display: block; font-weight: 700; color: var(--charcoal); }
.pos { display: block; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--faint); margin-top: 4px; }
.ex { display: block; font-style: italic; color: var(--muted); font-size: 14px; margin-top: 8px; }

/* ── Pitch ── */
.pitch { background: var(--charcoal); color: #fff; border-radius: 16px; padding: 40px; border-top: none; margin: 48px 0; }
.pitch h2 { color: #fff; }
.pitch-brand { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.pitch-brand span { color: var(--coral); }
.ticks { list-style: none; margin: 24px 0 32px; display: grid; gap: 16px; }
.ticks li { padding-left: 32px; position: relative; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.8); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--coral); font-weight: 700; }
.ticks strong { color: #fff; }
.pitch-small { font-size: 14px; color: rgba(255,255,255,.7); margin: 16px 0 0; }
.pitch-small a { color: #fff; }

/* ── FAQ ── */
.faq details { border: 1px solid var(--rule); border-radius: 8px; background: var(--surface); margin-bottom: 8px; }
.faq summary { padding: 16px; font-weight: 600; font-size: 15px; color: var(--charcoal); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--coral); font-weight: 700; }
.faq details[open] summary::after { content: "−"; }
.faq .body { padding: 0 16px 16px; font-size: 15px; line-height: 1.65; color: var(--muted); }

/* ── More ── */
.more { list-style: none; display: grid; gap: 8px; margin-bottom: 24px; }
.more a { color: var(--charcoal); font-weight: 600; text-decoration: none; }
.more a::after { content: " →"; color: var(--coral); }
.more a:hover { color: var(--coral); }
.updated { margin-top: 24px; }

/* Bangla in an uppercase mono micro-label renders too small to read:
   Hind Siliguri at the body's size, no tracking. */
html[lang="bn"] :is(.facts .k, .bk, th, .eyebrow, .source, .qd-type, .explain-kicker, .mock-lbl, .hq-tlbl, .sp-lbl, .watch-lbl) { font-family: 'Hind Siliguri', 'Inter Tight', sans-serif; font-size: 12px; letter-spacing: 0; text-transform: none; }

@media (max-width: 720px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .explain { grid-template-columns: 1fr; padding: 32px 24px; gap: 32px; }
  .hq { grid-template-columns: 1fr; }
  .hq-trap { border-left: none; border-top: 1px dashed var(--coral); }
}
@media (max-width: 640px) {
  h1 { font-size: 32px; } h2 { font-size: 24px; }
  .wrap { padding: 0 16px; } .hero { padding: 24px 0 40px; }
  .pitch { padding: 24px; margin: 32px 0; }
  .part { padding: 16px; }
  .hq-main, .hq-trap { padding: 16px; }
  .explain h2 { font-size: 26px; }
  .mock { transform: none; }
  .mock-wrap::before { transform: rotate(-2deg); }
  .bar-row { grid-template-columns: 56px 1fr 32px; gap: 8px; }
  .vocab td:first-child { width: 40%; }
  .qchart { padding: 16px; margin: 16px -8px; }
  .qc-plot, .qc-x, .qc-groups { gap: 0 4px; }
  .qc-plot { height: 144px; }
  .qc-val { font-size: 10px; }
  .qc-gname { font-size: 12px; }
  .big li { padding: 16px; } .bv { font-size: 28px; }
  .subtitle { font-size: 18px; }
}
