:root {
  /* Корпоративна палітра «Аметрін ФК»: червоний на білому. */
  --bg: #fcf1ef;
  --surface: #ffffff;
  --text: #141414;
  --muted: #5e5857;
  --line: #e3c8c4;
  --accent: #c21f13;
  --accent-text: #ffffff;
  --ok: #136c41;
  --ok-bg: #e2f4ea;
  --err: #6e0f08;
  --err-bg: #f7d0cb;
  --warn: #7f4a00;
  --warn-bg: #fdefd2;
  --cur-bg: #fbe3e0;
  --cursor-bg: #141414;
  --cursor-fg: #ffffff;
  --f-lp: #f6d5dc; --f-lr: #fbe2c8; --f-lm: #f8efbb; --f-li: #d3eecf;
  --f-ri: #cdeaee; --f-rm: #d4dffb; --f-rr: #e6d6f7; --f-rp: #f5d3ec; --f-th: #e3e5ea;
  --mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, "DejaVu Sans Mono", monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #141414; --surface: #1e1e1e; --text: #f5f5f5; --muted: #b0aaa9; --line: #3d3534;
  --accent: #ff7d70; --accent-text: #1a0503;
  --ok: #6fdba6; --ok-bg: #153426; --err: #ffb3ab; --err-bg: #5a1711; --warn: #f3c16a; --warn-bg: #3b2c10;
  --cur-bg: #43201c; --cursor-bg: #f5f5f5; --cursor-fg: #141414;
  --f-lp: #5a2f3a; --f-lr: #5c4226; --f-lm: #555020; --f-li: #2c5230;
  --f-ri: #1f4f55; --f-rm: #2b3b6b; --f-rr: #463263; --f-rp: #5a2c4f; --f-th: #3a3f4a;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] {
    --bg: #141414; --surface: #1e1e1e; --text: #f5f5f5; --muted: #b0aaa9; --line: #3d3534;
    --accent: #ff7d70; --accent-text: #1a0503;
    --ok: #6fdba6; --ok-bg: #153426; --err: #ffb3ab; --err-bg: #5a1711; --warn: #f3c16a; --warn-bg: #3b2c10;
    --cur-bg: #43201c; --cursor-bg: #f5f5f5; --cursor-fg: #141414;
    --f-lp: #5a2f3a; --f-lr: #5c4226; --f-lm: #555020; --f-li: #2c5230;
    --f-ri: #1f4f55; --f-rm: #2b3b6b; --f-rr: #463263; --f-rp: #5a2c4f; --f-th: #3a3f4a;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { font-size: 17px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); line-height: 1.5; }
h1 { font-size: 1.7rem; line-height: 1.2; margin: 0 0 .6rem; text-wrap: balance; }
h2 { font-size: 1.15rem; margin: 1.2rem 0 .4rem; }
h3 { font-size: 1rem; margin: 1rem 0 .3rem; }
p { margin: .5rem 0; }
a { color: var(--accent); }
code, kbd { font-family: var(--mono); font-size: .92em; }
kbd { border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; padding: 0 .35em; background: var(--surface); }
.muted { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--surface); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }

.top { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; padding: .6rem 1.2rem; background: var(--surface); border-bottom: 3px solid var(--accent); }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-weight: 700; font-size: 1.15rem; color: var(--text); text-decoration: none; }
.brand-logo { height: 28px; width: auto; display: block; }
.brand-name { padding-left: .7rem; border-left: 2px solid var(--line); }
:root[data-theme="dark"] .brand-logo { background: #fff; border-radius: 6px; padding: 3px 6px; height: 38px; }
@media (prefers-color-scheme: dark) { :root[data-theme="auto"] .brand-logo { background: #fff; border-radius: 6px; padding: 3px 6px; height: 38px; } }
.nav { display: flex; flex-wrap: wrap; gap: .15rem; flex: 1; }
.nav a { padding: .35rem .5rem; border-radius: 7px; color: var(--text); text-decoration: none; }
.nav a:hover { background: var(--bg); }
.nav a[aria-current="page"] { background: var(--cur-bg); font-weight: 600; box-shadow: inset 0 -3px 0 var(--accent); }
.lang-badge { font: inherit; font-weight: 600; padding: .35rem .7rem; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--text); cursor: pointer; }

main { max-width: 1040px; margin: 0 auto; padding: 1.4rem 1.2rem 2rem; }
main:focus { outline: none; }
.foot { max-width: 1040px; margin: 0 auto; padding: 0 1.2rem 2rem; color: var(--muted); font-size: .9rem; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.2rem; margin: 1rem 0; }
.card > h2:first-child, .card > h1:first-child { margin-top: 0; }
.narrow { max-width: 680px; margin-inline: auto; }
.row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-top: .8rem; }
.choice { display: flex; flex-wrap: wrap; gap: .7rem; margin: .8rem 0; }
.choice-col { flex-direction: column; align-items: stretch; }

.btn { display: inline-flex; align-items: center; justify-content: center; font: inherit; font-weight: 600; padding: .55rem 1rem; min-height: 44px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; cursor: pointer; }
.btn:hover { border-color: var(--accent); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.btn-ghost { border-color: transparent; background: none; color: var(--accent); }
.btn-danger { color: var(--err); border-color: var(--err); }

.tag { display: inline-block; font-size: .8rem; font-weight: 600; padding: .05rem .5rem; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); vertical-align: middle; }
.tag-ok { color: var(--ok); border-color: var(--ok); }

.notice { padding: .55rem .8rem; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); border-left-width: 5px; }
.notice-warn { background: var(--warn-bg); border-color: var(--warn); color: var(--warn); }
.notice-error { background: var(--err-bg); border-color: var(--err); color: var(--err); font-weight: 600; }

/* Шлях */
.next-card { border-left: 6px solid var(--accent); }
.next-title { font-size: 1.25rem; font-weight: 700; }
.summary, .metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; margin: 1rem 0; }
.summary div, .metrics div { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: .6rem .8rem; }
dt { color: var(--muted); font-size: .85rem; }
dd { margin: 0; font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; }
dd small { font-size: .9rem; font-weight: 500; color: var(--muted); }
.stage { margin-top: 1.6rem; }
.stage h2 { font-size: 1.3rem; }
.count { font-size: .9rem; font-weight: 500; color: var(--muted); margin-left: .4rem; }
.lessons { list-style: none; padding: 0; margin: .6rem 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .6rem; }
.lesson { display: flex; flex-direction: column; gap: .1rem; height: 100%; padding: .6rem .8rem; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; }
a.lesson:hover { border-color: var(--accent); }
.lesson .st { font-size: .78rem; font-weight: 700; letter-spacing: .02em; color: var(--accent); }
.lesson .lt { font-weight: 600; }
.lesson small { color: var(--muted); }
.lesson.is-done { border-color: var(--ok); }
.lesson.is-done .st { color: var(--ok); }
.lesson.is-locked { border-style: dashed; background: none; color: var(--muted); }
.lesson.is-locked .st { color: var(--muted); }
.plain { list-style: none; padding: 0; }
.plain li { padding: .2rem 0; }
.bar { height: 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--ok); }
.stepper { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.stepper li { padding: .5rem .7rem; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; }
.stepper small { color: var(--muted); }
.stepper .is-current { border-color: var(--accent); box-shadow: inset 0 4px 0 var(--accent); }
.stepper .is-past { opacity: .65; }

/* Тренувальний екран */
.crumb { color: var(--muted); font-size: .9rem; margin: 0; }
.goal { font-size: 1.05rem; max-width: 70ch; }
.phase-tabs { display: inline-flex; gap: 0; margin: .6rem 0; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.phase-tabs button { font: inherit; font-weight: 600; padding: .5rem .9rem; min-height: 44px; border: 0; background: var(--surface); color: var(--text); cursor: pointer; }
.phase-tabs button[aria-pressed="true"] { background: var(--accent); color: var(--accent-text); }
.phase-tabs button:focus-visible { outline-offset: -3px; }
.typebox { margin: .7rem 0 .4rem; padding: 1.1rem 1.2rem; min-height: 5.5em; max-height: 9.5em; overflow-y: auto; background: var(--surface); border: 2px solid var(--line); border-radius: 12px; font-family: var(--mono); line-height: 1.75; letter-spacing: .02em; cursor: text; }
.typebox:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--cur-bg); }
.typebox.is-idle { border-style: dashed; }
.typebox.is-idle::after { content: "Поле неактивне — клацни тут або натисни Tab, щоб продовжити набір"; display: block; font-family: var(--sans); font-size: .9rem; color: var(--warn); letter-spacing: 0; }
.w { display: inline-block; white-space: nowrap; }
.c { border-bottom: 3px solid transparent; border-radius: 3px; white-space: pre; }
.c.sp { display: inline-block; min-width: .62em; }
.c.is-pending { color: var(--muted); }
.c.is-correct { color: var(--text); }
.c.is-current { background: var(--cursor-bg); border-bottom-color: var(--cursor-bg); color: var(--cursor-fg); }
.c.is-current-error { background: var(--err-bg); border-bottom-color: var(--err); color: var(--err); outline: 2px solid var(--err); }
.c.is-corrected { color: var(--warn); border-bottom: 3px dotted var(--warn); }
.c.is-wrong { background: var(--err-bg); color: var(--err); border-bottom: 3px double var(--err); text-decoration: line-through; }
.tr-bar { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.metro { font-weight: 600; padding: 0 .5rem; border-radius: 6px; border: 1px solid var(--line); }
.metro-on { background: var(--accent); color: var(--accent-text); }
.next-hint { font-weight: 600; min-height: 1.6em; margin: .6rem 0 .3rem; }
.tr-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }

/* Клавіатура */
.kb { --k: clamp(26px, 5.2vw, 50px); display: inline-flex; flex-direction: column; gap: 5px; padding: 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); max-width: 100%; overflow-x: auto; }
.kb-row { display: flex; gap: 5px; }
.kb-row-space { justify-content: center; }
.kb-gap { width: calc(var(--k) * var(--w)); flex: none; }
.kb-key { position: relative; flex: none; display: grid; place-items: center; width: var(--k); height: var(--k); border-radius: 7px; border: 1px solid var(--line); font-family: var(--mono); font-size: calc(var(--k) * .42); color: var(--text); }
.kb-wide { width: calc(var(--k) * 2.25 + 2px); font-size: calc(var(--k) * .28); }
.kb-space { width: calc(var(--k) * 6); font-size: calc(var(--k) * .28); }
.kb-home { border-width: 2px; border-color: var(--muted); }
.kb-bump { position: absolute; bottom: 4px; width: 34%; height: 3px; border-radius: 2px; background: var(--text); }
.kb-sub { position: absolute; top: 1px; right: 3px; font-size: calc(var(--k) * .22); font-family: var(--sans); }
.f-lp { background: var(--f-lp); } .f-lr { background: var(--f-lr); } .f-lm { background: var(--f-lm); } .f-li { background: var(--f-li); }
.f-ri { background: var(--f-ri); } .f-rm { background: var(--f-rm); } .f-rr { background: var(--f-rr); } .f-rp { background: var(--f-rp); } .f-th { background: var(--f-th); }
.kb-next { outline: 4px solid var(--accent); outline-offset: 1px; font-weight: 700; z-index: 1; }
.kb-heat-1 { box-shadow: inset 0 0 0 99px rgb(176 32 26 / 6%); }
.kb-heat-2 { box-shadow: inset 0 0 0 99px rgb(176 32 26 / 22%); }
.kb-heat-3 { box-shadow: inset 0 0 0 99px rgb(176 32 26 / 42%); }
.kb-heat-4 { box-shadow: inset 0 0 0 99px rgb(176 32 26 / 65%); font-weight: 700; }
.kb-legend { list-style: none; padding: 0; margin: .5rem 0 0; display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .88rem; color: var(--muted); }
.kb-swatch { display: inline-block; width: 1em; height: 1em; border-radius: 4px; border: 1px solid var(--line); margin-right: .35em; vertical-align: -2px; }

/* Результати */
.result-status { font-size: 1.2rem; font-weight: 700; margin: .8rem 0 0; }
.result-status.is-pass { color: var(--ok); }
.result-status.is-fail { color: var(--err); }
.result-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
.chips { list-style: none; padding: 0; margin: .3rem 0; display: flex; flex-wrap: wrap; gap: .4rem .9rem; }
.advice { margin-top: 1rem; padding: .8rem 1rem; border-radius: 12px; border: 2px solid var(--accent); background: var(--surface); }
.advice h2 { margin-top: 0; }
.advice p { font-size: 1.08rem; }

/* Статистика, таблиці, форми */
.chart { width: 100%; max-width: 640px; height: auto; }
.chart .line { fill: none; stroke: var(--accent); stroke-width: 2.5; }
.chart .axis { stroke: var(--line); }
.chart .axis-t { fill: var(--muted); font-size: 12px; }
.chart .dot-pass { fill: var(--accent); }
.chart .dot-fail { fill: var(--surface); stroke: var(--err); stroke-width: 2; }
.scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: .4rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }
td a { overflow-wrap: anywhere; }
label { font-weight: 600; }
select, textarea, input[type="range"] { font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: .4rem .5rem; max-width: 100%; }
textarea { width: 100%; font-family: var(--mono); margin-top: .3rem; }
input[type="checkbox"] { width: 1.15rem; height: 1.15rem; vertical-align: -3px; accent-color: var(--accent); }
.form p { margin: .8rem 0; }

@media (max-width: 760px) {
  html { font-size: 16px; }
  .summary, .metrics { grid-template-columns: repeat(2, 1fr); }
  .result-cols, .stepper { grid-template-columns: 1fr; }
  .top { padding: .5rem .8rem; }
  .nav { order: 3; flex-basis: 100%; }
  .nav a { min-height: 44px; display: inline-flex; align-items: center; }
  .lang-badge { margin-left: auto; }
  main { padding: 1rem .8rem 2rem; }
  .kb { --k: clamp(18px, 6.2vw, 40px); gap: 3px; padding: 6px; }
  .kb-row { gap: 3px; }
}

/* Без анімацій: за налаштуванням або системним запитом */
:root[data-motion="on"] .btn, :root[data-motion="on"] .lesson, :root[data-motion="on"] .kb-key, :root[data-motion="on"] .c { transition: background-color .12s, border-color .12s, outline-color .12s; }
:root[data-motion="on"] { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  :root[data-motion="on"], :root[data-motion="on"] * { transition: none !important; scroll-behavior: auto !important; }
}

/* Кабінет і гейміфікація */
.user { display: inline-flex; align-items: center; gap: .5rem; }
.user-link { font-weight: 600; color: var(--text); text-decoration: none; padding: .35rem .6rem; border-radius: 7px; }
.user-link:hover { background: var(--bg); }
.btn-small { min-height: 44px; padding: .3rem .8rem; font-size: .92rem; }
input[type="text"], input[type="password"] { font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--muted); border-radius: 8px; padding: .5rem .6rem; width: min(100%, 22rem); min-height: 44px; }
.section-title { font-size: 1.45rem; margin-top: 2rem; }
.grade-card { border-left: 6px solid var(--accent); }
.grade-card h2 { font-size: 1.4rem; }
.bar-xp { height: 14px; }
.bar-xp span { background: var(--accent); }
.ladder { list-style: none; padding: 0; margin: .8rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: .4rem; }
.ladder li { display: flex; flex-direction: column; padding: .4rem .6rem; border-radius: 9px; border: 1px solid var(--line); }
.ladder small, .badge small { color: var(--muted); }
.ladder .is-past { background: var(--cur-bg); }
.ladder .is-current { border: 2px solid var(--accent); box-shadow: inset 0 4px 0 var(--accent); }
.badges { list-style: none; padding: 0; margin: .6rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .6rem; }
.badge { display: flex; flex-direction: column; gap: .1rem; padding: .6rem .8rem; border-radius: 10px; border: 1px solid var(--line); }
.badge.is-got { border-color: var(--accent); background: var(--cur-bg); }
.badge.is-locked { border-style: dashed; color: var(--muted); }
.reward { margin: .8rem 0; padding: .6rem .9rem; border-radius: 10px; border: 1px solid var(--accent); background: var(--cur-bg); }
.reward p { margin: .2rem 0; }
.xp { font-size: 1.15rem; color: var(--accent); }
.grade-up { font-weight: 700; }
details summary { cursor: pointer; font-weight: 600; padding: .3rem 0; }

[hidden] { display: none !important; }

/* Зріз швидкості та сертифікат */
.medal { display: inline-block; width: 1em; height: 1em; border-radius: 50%; vertical-align: -2px; border: 2px solid rgb(0 0 0 / 25%); }
.medal-gold { background: #d9a520; } .medal-silver { background: #a9b1ba; } .medal-bronze { background: #b5713a; }
.cert-actions { margin: 0 0 1rem; }
.cert { --tier: #b5713a; max-width: 820px; margin: 0 auto; padding: 2.2rem 2rem 1.6rem; text-align: center; background: #ffffff; color: #141414; border: 3px solid var(--tier); outline: 1px solid var(--tier); outline-offset: -12px; border-radius: 6px; }
.cert-gold { --tier: #b8860b; } .cert-silver { --tier: #7d8590; } .cert-bronze { --tier: #a0522d; }
.cert-logo { height: 40px; width: auto; }
.cert-kicker { margin: .8rem 0 0; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; color: #5e5857; }
.cert h1 { font-size: 2.2rem; margin: .3rem 0 .6rem; color: var(--tier); }
.cert-medal { width: 64px; height: 64px; margin: 0 auto .6rem; border-radius: 50%; border: 5px solid rgb(0 0 0 / 18%); }
.cert-line { margin: .3rem 0; color: #2e2e2e; }
.cert-name { font-size: 2rem; font-weight: 700; margin: .2rem auto .4rem; padding-bottom: .2rem; border-bottom: 2px solid var(--tier); display: inline-block; min-width: 50%; overflow-wrap: anywhere; }
.cert-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin: 1.2rem 0 .8rem; }
.cert-metrics div { border: 1px solid #e3c8c4; border-radius: 8px; padding: .5rem; }
.cert-metrics dt { color: #5e5857; } .cert-metrics dd small { color: #5e5857; }
.cert-date { font-weight: 600; }
.cert-note { font-size: .82rem; color: #5e5857; max-width: 60ch; margin: .6rem auto 0; }
@media (max-width: 760px) { .cert-metrics { grid-template-columns: repeat(2, 1fr); } .cert { padding: 1.6rem 1rem 1.2rem; } .cert h1 { font-size: 1.6rem; } .cert-name { font-size: 1.5rem; } }
@media print {
  .top, .foot, .skip, .no-print { display: none !important; }
  body { background: #fff; }
  main { max-width: none; padding: 0; }
  .cert { margin-top: 1cm; break-inside: avoid; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Стан синхронізації кабінету */
.sync { font-size: .8rem; padding: .1rem .5rem; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.sync[data-sync="saved"] { color: var(--ok); border-color: var(--ok); }
.sync[data-sync="offline"] { color: var(--warn); border-color: var(--warn); background: var(--warn-bg); }

/* Гість */
.guest-box { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: .8rem 0 0; padding: .8rem 1rem; border-radius: 10px; border: 1px solid var(--line); background: var(--cur-bg); }
.guest-box p { margin: 0; flex: 1 1 260px; }
.auth-or { font-size: 1.05rem; margin: 1.2rem 0 .2rem; }
.sync[data-sync="guest"] { color: var(--warn); border-color: var(--warn); }

/* Посібник */
.lead { font-size: 1.15rem; max-width: 70ch; }
.toc { display: flex; flex-wrap: wrap; gap: .4rem; margin: .8rem 0 1rem; }
.toc a { padding: .35rem .8rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; }
.toc a:hover { border-color: var(--accent); color: var(--accent); }
.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .7rem; margin: .8rem 0; }
.benefits > div { padding: .7rem .9rem; border-radius: 10px; border: 1px solid var(--line); border-top: 4px solid var(--accent); }
.benefits h3 { margin: 0 0 .2rem; color: var(--accent); }
.benefits p { margin: 0; }
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding: .25rem 0 .25rem 1.7rem; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.rules li { margin: .5rem 0; padding-left: .2rem; }
.rules li::marker { color: var(--accent); font-weight: 700; }
.finger-table { margin-top: 1rem; }
.finger-table th[scope="row"] { color: var(--text); white-space: nowrap; }
.finger-table td { font-family: var(--mono); }
.faq dt { font-weight: 700; font-size: 1rem; color: var(--text); margin-top: .9rem; }
.faq dd { margin: .2rem 0 0; font-size: 1rem; font-weight: 400; }
main section[tabindex="-1"]:focus { outline: none; }
