/* Public learning site – AdvancedU v2.0 tokens (same as FZS Trener's ds2 layer) */
:root {
  --font: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-head: "Helvetica Now Display", "Helvetica Neue", Helvetica, "Inter Tight", Inter, Arial, sans-serif;
  --bg: #F2F5F8; --paper: #FFFFFF; --row: #F7F8FA;
  --ink: #181B25; --ink-2: #525866; --ink-3: #99A0AE;
  --line: #E5E7EB; --line-2: #DFE1E5;
  --accent: #0D3D3E; --teal-900: #042A2B; --link: #007174; --accent-soft: #CDE8E2;
  --orange-soft: #FFF4EF; --orange-line: #FFB399; --orange-ink: #B8472A;
  --ok: #165133; --ok-soft: #F0FDF5; --bad: #D82A38; --bad-ink: #7D1F27; --bad-soft: #FEF2F3;
  --warn-ink: #6A3A19; --warn-soft: #FCFAEA;
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-pill: 999px;
  --focus: 0 0 0 3px rgba(0, 113, 116, .24);
  --max: 1120px; --read: 720px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font); letter-spacing: -0.01em; }
img { max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--link); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
h1 { font-size: 34px; margin: 8px 0 12px; }
h2 { font-size: 22px; margin: 32px 0 10px; }
h3 { font-size: 17px; margin: 20px 0 8px; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; line-height: 1.5; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--link); margin: 0; }
.lab { font-size: 14px; font-weight: 600; display: block; margin-bottom: 8px; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 62ch; }
.sr, .skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip: auto; background: var(--paper); padding: 8px 12px; z-index: 50; }

/* top bar */
.top { background: var(--accent); color: #fff; position: sticky; top: 0; z-index: 20; }
.top-in { max-width: var(--max); margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; min-width: 0; }
.brand-mark { width: 28px; height: 28px; color: #fff; flex: none; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-text b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-text small { font-size: 11px; opacity: .75; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: #fff; text-decoration: none; font-size: 14px; font-weight: 500; padding: 6px 10px; border-radius: var(--r-pill); white-space: nowrap; }
.nav a:hover { background: rgba(255, 255, 255, .12); }
.nav .nav-cta { background: var(--accent-soft); color: var(--accent); }
.lang select { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .4); border-radius: var(--r-pill); padding: 4px 8px; font: inherit; font-size: 13px; }
.lang option { color: var(--ink); }
@media (max-width: 720px) {
  .top-in { flex-wrap: wrap; gap: 8px 12px; }
  .nav { order: 3; width: 100%; margin: 0; overflow-x: auto; }
  .lang { margin-left: auto; }
  .brand-text small { display: none; }
}

.page { max-width: var(--max); margin: 0 auto; padding: 16px 16px 48px; }
.crumbs { font-size: 13px; color: var(--ink-2); margin: 8px 0 4px; overflow-wrap: anywhere; }
.crumbs a { color: var(--ink-2); }
.card { background: var(--paper); border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--line); padding: 20px; }

/* buttons, chips, tags */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); background: var(--paper); color: var(--teal-900); font: inherit; font-size: 14px; font-weight: 500; text-decoration: none; cursor: pointer; }
.btn:hover { border-color: var(--teal-900); }
.btn.small { height: 36px; padding: 0 14px; }
.btn.primary { background: var(--teal-900); border-color: var(--teal-900); color: #fff; }
.btn.primary:hover { background: var(--accent); }
.btn.ghost { background: transparent; border-color: transparent; }
.btn:disabled { background: #CACFD8; border-color: #CACFD8; color: #fff; cursor: default; }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--paper);
  font: inherit; font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; cursor: pointer; }
.chip:hover { border-color: var(--ink-3); }
.chip[aria-checked="true"], .chip[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-n, .tag-m, .tag-o { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 5px; font-size: 12px; font-weight: 500; border: 1px solid; white-space: nowrap; font-family: var(--font); letter-spacing: 0; }
.tag-n { background: var(--paper); border-color: var(--line-2); color: var(--ink-2); }
.tag-m { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.tag-o { background: var(--orange-soft); border-color: var(--orange-line); color: var(--orange-ink); }
.input { width: 100%; height: 48px; padding: 0 12px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--paper); font: inherit; color: var(--ink); }
textarea.input { height: auto; padding: 12px; }

/* home */
.hero { padding: 24px 0 8px; }
.hero h1 { font-size: 40px; max-width: 22ch; }
.ticks { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 16px 0 0; }
.ticks li::before { content: "✓ "; color: var(--link); font-weight: 700; }
.pick { margin-top: 24px; }
.pick h2 { margin-top: 0; }
.pick-step { margin-top: 16px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.cert-card { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: var(--r-md); border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); text-decoration: none; }
.cert-card:hover { border-color: var(--accent); }
.cert-card.on { border-color: var(--accent); background: var(--accent-soft); }
.cert-card b { font-size: 17px; }
.cert-card small { color: var(--ink-2); }
.cert-card.intl::after { content: "🌐"; font-size: 13px; }
@media (max-width: 640px) { h1, .hero h1 { font-size: 28px; } }

/* study mode switch */
.mode { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 12px 0; }
.mode .lab { margin: 0; }
.seg-ctl { display: inline-flex; background: #E9EDF1; border-radius: var(--r-pill); padding: 4px; gap: 2px; }
.seg-btn { height: 32px; padding: 0 14px; border: 0; border-radius: var(--r-pill); background: transparent; font: inherit; font-size: 13px; font-weight: 500; color: var(--ink-2); cursor: pointer; }
.seg-btn[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.mode-exam .mode-help[data-for="expanded"], .mode-expanded .mode-help[data-for="exam"] { display: none; }

/* certification page */
.cert-cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
@media (max-width: 900px) { .cert-cols { grid-template-columns: 1fr; } .exam-fmt { order: -1; } }
.exam-fmt { position: sticky; top: 76px; }
.exam-fmt h2 { margin-top: 0; }
.domains { list-style: none; padding: 0; margin: 0 0 16px; font-size: 13px; }
.domains li { display: grid; grid-template-columns: 1fr 60px 44px; gap: 8px; align-items: center; padding: 4px 0; border-bottom: 1px solid var(--line); }
.bar { height: 6px; background: var(--row); border-radius: 3px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--link); }
.mod h3 { margin: 24px 0 6px; }
.lrows { list-style: none; padding: 0; margin: 0; background: var(--paper); border-radius: var(--r-md); box-shadow: 0 0 0 1px var(--line); }
.lrow + .lrow { border-top: 1px solid var(--line); }
.lrow a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; color: var(--ink); text-decoration: none; }
.lrow a:hover .lt { color: var(--link); text-decoration: underline; }
.lm { display: flex; gap: 8px; align-items: center; flex: none; font-size: 13px; }
.mode-exam .lrow[data-role="background"], .mode-exam .mod[data-required="0"], .mode-exam .others { display: none; }
.mode-exam .cnt-all, .mode-expanded .cnt-req { display: none; }
.others { margin-top: 32px; }
.others summary { cursor: pointer; font-weight: 600; }
.h-sub { font-size: 18px; color: var(--ink-2); }

/* lesson */
.lesson { max-width: var(--read); }
.les-head h1 { margin-top: 4px; }
.cert-state { font-size: 14px; padding: 8px 12px; border-radius: var(--r-sm); margin: 8px 0; }
.cert-state.req { background: var(--accent-soft); color: var(--accent); font-weight: 500; }
.cert-state.bg { background: var(--warn-soft); color: var(--warn-ink); }
.cert-state.note { background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.why { font-size: 17px; background: var(--paper); border-left: 4px solid var(--link); padding: 12px 16px; border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.sec { position: relative; }
.sec table, .vocab table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--paper); border-radius: var(--r-sm); overflow: hidden; display: block; overflow-x: auto; }
.sec th, .sec td, .vocab th, .vocab td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.sec th, .vocab th { background: var(--row); font-weight: 600; }
a.g { color: inherit; text-decoration: underline dotted var(--link); text-decoration-thickness: 2px; text-underline-offset: 3px; cursor: help; }
a.chip.g { text-decoration: none; cursor: pointer; }
.info-btn { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line-2);
  background: var(--paper); color: var(--link); font-size: 15px; cursor: pointer; margin-top: 4px; }
.info-dlg { border: 0; border-radius: var(--r-lg); padding: 24px; max-width: min(480px, calc(100vw - 32px)); box-shadow: 0 8px 32px rgba(4, 42, 43, .2); }
.info-dlg::backdrop { background: rgba(4, 42, 43, .35); }
.info-dlg h3 { margin-top: 0; }
.fig { margin: 16px 0; }
.ph-box { aspect-ratio: 16 / 9; max-height: 280px; width: 100%; display: flex; align-items: center; justify-content: center; border-radius: var(--r-md);
  background: repeating-linear-gradient(45deg, #EEF2F5, #EEF2F5 12px, #E6EBEF 12px, #E6EBEF 24px); color: var(--ink-2); font-size: 13px; font-weight: 500; }
.fig figcaption { font-size: 14px; color: var(--ink-2); margin-top: 6px; }
.cnote, .vocab { margin: 24px 0; padding: 16px 18px; border-radius: var(--r-md); background: var(--accent-soft); }
.cnote h3, .vocab h3 { margin-top: 0; color: var(--accent); }
.vocab { background: var(--paper); box-shadow: 0 0 0 1px var(--accent); }
.box { margin: 24px 0; padding: 16px 18px; border-radius: var(--r-md); background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.box h2 { margin-top: 0; font-size: 18px; }
.traps { background: var(--orange-soft); box-shadow: 0 0 0 1px var(--orange-line); }
.remember { background: var(--ok-soft); box-shadow: 0 0 0 1px #BFE8CF; }
.terms .chips { margin-top: 8px; }
.srcs { margin-top: 24px; font-size: 13px; color: var(--ink-2); }
.srcs summary { cursor: pointer; font-weight: 600; }
.srcs li { margin: 4px 0; overflow-wrap: anywhere; }
.pn { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 40px; }

/* try questions */
.tq { margin: 12px 0; }
.tq-n { margin: 0; }
.tq-text p:first-child { margin-top: 0; }
.tq-opts { display: grid; gap: 8px; margin: 12px 0; }
.tq-opt { display: flex; gap: 10px; align-items: flex-start; text-align: left; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--paper);
  font: inherit; font-size: 15px; color: var(--ink); cursor: pointer; }
.tq-opt:hover:not(:disabled) { border-color: var(--ink-3); }
.tq-box { flex: none; width: 18px; height: 18px; margin-top: 3px; border: 2px solid var(--ink-3); border-radius: 50%; }
.tq-opt[role="checkbox"] .tq-box { border-radius: 4px; }
.tq-opt[aria-checked="true"] { border-color: var(--accent); background: #F3FAF8; }
.tq-opt[aria-checked="true"] .tq-box { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3px #fff; }
.tq-opt.ok { border-color: var(--ok); background: var(--ok-soft); }
.tq-opt.bad { border-color: var(--bad); background: var(--bad-soft); }
.tq-opt:disabled { cursor: default; color: var(--ink); }
.tq-actions { display: flex; gap: 8px; align-items: center; justify-content: flex-end; margin-top: 8px; }
.tq-actions .muted { margin-right: auto; }
.tq-fb { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 15px; }
.tq-res { font-weight: 700; margin-top: 0; }
.r-ok .tq-res { color: var(--ok); } .r-mid .tq-res { color: var(--warn-ink); } .r-bad .tq-res { color: var(--bad-ink); }
.why-ok { border-left: 3px solid var(--ok); padding-left: 10px; }
.why-bad { border-left: 3px solid var(--bad); padding-left: 10px; }
.sum { background: var(--row); padding: 10px 12px; border-radius: var(--r-sm); }
.tip { font-size: 14px; color: var(--ink-2); }
.cta { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; background: var(--accent-soft); box-shadow: none; }
.cta p { margin: 0; flex: 1 1 280px; }

/* glossary */
.pop { position: absolute; z-index: 40; background: var(--paper); border-radius: var(--r-md); padding: 14px 16px; box-shadow: 0 0 0 1px var(--line), 0 8px 24px rgba(4, 42, 43, .16); font-size: 14px; line-height: 1.5; }
.pop p { margin: 6px 0; }
.az { display: flex; flex-wrap: wrap; gap: 4px 10px; font-weight: 600; margin: 16px 0; }
.gl dl { margin: 0; background: var(--paper); border-radius: var(--r-md); box-shadow: 0 0 0 1px var(--line); }
.gi { padding: 12px 16px; scroll-margin-top: 80px; }
.gi + .gi { border-top: 1px solid var(--line); }
.gi:target { background: #F3FAF8; }
.gi dt { font-weight: 600; }
.gi dd { margin: 2px 0 0; }
.gi dd p { margin: 6px 0 0; }

.soon { max-width: var(--read); margin: 32px auto; }
.foot { border-top: 1px solid var(--line); background: var(--paper); }
.foot-in { max-width: var(--max); margin: 0 auto; padding: 20px 16px 32px; font-size: 13px; color: var(--ink-2); }
.foot-in p { margin: 6px 0; }

/* lesson progress */
.lck { display: inline-block; width: 18px; height: 18px; margin-right: 8px; vertical-align: -3px; border-radius: 50%; border: 1.5px solid var(--line-2); }
.lrow.done .lck { background: var(--link); border-color: var(--link); box-shadow: inset 0 0 0 3px #fff; }
.lrow.done .lt { color: var(--ink-2); }
.lrow.changed .lck { border-color: var(--orange-line); background: var(--orange-soft); }
.path-state { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin: 4px 0 16px; font-size: 14px; }
.path-bar { flex: 1 1 120px; height: 6px; border-radius: 3px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.path-bar i { display: block; height: 100%; background: var(--link); }
.done-box { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.done-box .note-upd { width: 100%; margin: 0; padding: 8px 12px; border-radius: var(--r-sm); background: var(--orange-soft); color: var(--orange-ink); font-size: 14px; }
#les-done[aria-pressed="true"] { border-color: var(--link); color: var(--link); }
#les-done .ck { font-weight: 700; }

/* Practice tools (/app/) – builds on site.css tokens */
.app-root { max-width: 880px; margin: 0 auto; }
.a-tabs { display: flex; gap: 4px; overflow-x: auto; margin: 4px 0 16px; border-bottom: 1px solid var(--line); }
.a-tabs a { padding: 10px 14px; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; border-bottom: 2px solid transparent; white-space: nowrap; }
.a-tabs a.on { color: var(--accent); border-color: var(--accent); }
.a-cert { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 16px; }
.a-cert h1 { margin: 2px 0 0; font-size: 28px; }
.a-switch select { height: 40px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--paper); padding: 0 12px; font: inherit; font-size: 14px; max-width: 100%; }
.a-upsell { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; background: var(--orange-soft); box-shadow: 0 0 0 1px var(--orange-line); margin-bottom: 16px; }
.a-upsell p { margin: 0; flex: 1 1 300px; }
.a-note { background: var(--warn-soft); box-shadow: 0 0 0 1px #EAD9A0; }
.a-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
@media (max-width: 640px) { .a-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kpi { padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.kpi b { font-family: var(--font-head); font-size: 26px; line-height: 1.1; }
.kpi span { font-size: 13px; color: var(--ink-2); }
.a-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.a-domains { padding: 8px 16px; }
.a-dom { display: grid; grid-template-columns: minmax(0, 1fr) 140px 110px; gap: 12px; align-items: center; width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line);
  background: none; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
div.a-dom { cursor: default; }
.a-dom:last-child { border-bottom: 0; }
button.a-dom:hover .a-dom-n { color: var(--link); }
.a-dom-v { text-align: right; color: var(--ink-2); }
@media (max-width: 560px) { .a-dom { grid-template-columns: 1fr 90px; } .a-dom-v { grid-column: 1 / -1; text-align: left; margin-top: -6px; } }
.a-bar { position: relative; height: 8px; border-radius: 4px; background: var(--row); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.a-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; }
.a-bar .seen { background: #BFD9D6; }
.a-bar .ok { background: var(--link); }
.a-bar .ok.low { background: var(--orange-line); }
.lg { display: inline-block; width: 10px; height: 10px; border-radius: 2px; vertical-align: -1px; margin-left: 8px; }
.lg.seen { background: #BFD9D6; } .lg.ok { background: var(--link); }
.a-weak { list-style: none; padding: 4px 16px; margin: 0; }
.a-weak li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.a-weak li:last-child { border-bottom: 0; }
.a-weak li span:first-child { flex: 1; }
.a-setup h2 { font-size: 16px; margin: 18px 0 8px; }
.a-setup h2:first-child { margin-top: 0; }
.a-objf { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.a-runbar, .a-exambar { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 8px; }
.a-exambar { position: sticky; top: 56px; z-index: 5; background: var(--bg); padding: 8px 0; }
.a-runbar > .muted { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.a-clock { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 18px; }
.a-clock.low { color: var(--bad); }
.a-progress { height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; margin-bottom: 12px; }
.a-progress i { display: block; height: 100%; background: var(--link); }
.a-q .tq-text { font-size: 17px; }
.a-q textarea { margin-top: 12px; }
.a-msg { font-size: 14px; margin: 8px 0 0; }
.a-msg.ok { color: var(--ok); } .a-msg.bad, .a-q .a-msg { color: var(--bad-ink); }
.a-self { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.a-ai { background: var(--accent-soft); padding: 10px 12px; border-radius: var(--r-sm); }
.a-extra { font-size: 15px; border-left: 3px solid var(--accent-soft); padding-left: 10px; }
.a-rm, .a-report { margin-top: 12px; font-size: 14px; }
.a-rm summary, .a-report summary { cursor: pointer; color: var(--ink-2); }
.a-report textarea { margin: 8px 0; }
.a-done, .a-res { text-align: center; }
.a-big { font-family: var(--font-head); font-size: 48px; font-weight: 600; margin: 8px 0; }
.a-res.pass .a-big { color: var(--ok); } .a-res.fail .a-big { color: var(--bad-ink); }
.a-done .a-actions, .a-res .a-actions { justify-content: center; }
.a-forms { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.a-form-btn { display: flex; flex-direction: column; gap: 4px; text-align: left; border: 0; font: inherit; color: var(--ink); cursor: pointer; }
.a-form-btn:hover { box-shadow: 0 0 0 1px var(--accent); }
.a-form-btn b { font-size: 17px; }
.a-hist { list-style: none; padding: 4px 16px; margin: 0; }
.a-hist li + li { border-top: 1px solid var(--line); }
.a-hist a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; color: var(--ink); text-decoration: none; }
.a-hist .ok { color: var(--ok); } .a-hist .bad { color: var(--bad-ink); }
.a-grid-wrap { margin-top: 12px; }
.a-grid-wrap summary { cursor: pointer; font-weight: 500; }
.a-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)); gap: 6px; margin-top: 12px; }
.a-grid button { height: 36px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--paper); font: inherit; font-size: 13px; cursor: pointer; }
.a-grid .on { background: var(--accent-soft); border-color: var(--accent); }
.a-grid .fl { box-shadow: inset 0 -3px 0 var(--orange-line); }
.a-grid .cur { outline: 2px solid var(--ink); }
.a-rev { margin: 8px 0; padding: 12px 16px; }
.a-rev summary { display: flex; justify-content: space-between; gap: 12px; cursor: pointer; }
.a-rev.r-ok summary b { color: var(--ok); } .a-rev.r-bad summary b { color: var(--bad-ink); } .a-rev.r-mid summary b { color: var(--warn-ink); }
.a-opts { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 6px; }
.a-opts li { padding: 8px 12px; border-radius: var(--r-sm); border: 1px solid var(--line-2); font-size: 15px; }
.a-opts li.ok { border-color: var(--ok); background: var(--ok-soft); } .a-opts li.bad { border-color: var(--bad); background: var(--bad-soft); }
.a-auth { max-width: 480px; margin: 24px auto; }
.a-auth h1 { font-size: 28px; }
.a-form { display: grid; gap: 14px; margin: 16px 0; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.field small { font-weight: 400; }
select.input { padding-right: 32px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.check input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--accent); }
.btn.danger-ghost { border-color: var(--bad); color: var(--bad); }
.app .cert-grid { margin-top: 12px; }
button.cert-card { font: inherit; text-align: left; cursor: pointer; }

/* today + flashcards */
.a-today h2 { margin-top: 8px; }
.a-today-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 720px) { .a-today-grid { grid-template-columns: 1fr; } }
.a-tile { display: flex; flex-direction: column; gap: 4px; text-align: left; border: 0; font: inherit; color: var(--ink); text-decoration: none; cursor: pointer; }
.a-tile:hover:not(:disabled) { box-shadow: 0 0 0 1px var(--accent); }
.a-tile:disabled { cursor: default; opacity: .6; }
.a-tile b { font-size: 16px; }
.a-mini { height: 5px; border-radius: 3px; background: var(--row); overflow: hidden; margin-top: 4px; }
.a-mini i { display: block; height: 100%; background: var(--link); }
.a-kpis3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 16px 0 0; }
.a-kpis3 .kpi { box-shadow: 0 0 0 1px var(--line); border-radius: var(--r-md); }
.fc { min-height: 220px; display: flex; flex-direction: column; gap: 4px; font-size: 18px; cursor: pointer; }
.fc.flipped { cursor: default; }
.fc-kind { align-self: flex-start; margin: 0 0 4px; }
.fc hr { border: 0; border-top: 1px dashed var(--line-2); width: 100%; margin: 8px 0; }
.fc-back { color: var(--ink); }
.fc-mn { font-size: 15px; background: var(--warn-soft); padding: 8px 12px; border-radius: var(--r-sm); }
.fc-tap { margin-top: auto; }
.fc .info-btn { align-self: flex-start; }
.fc-grades { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.fc-grades .btn { height: auto; min-height: 52px; flex-direction: column; gap: 0; padding: 6px 8px; }
.fc-grades small { font-weight: 400; opacity: .8; font-size: 12px; }
.fc-show { justify-content: center; }
.fc-keys { text-align: center; }
@media (hover: none) { .fc-keys { display: none; } }

/* admin area */
.a-subtabs { margin-top: -8px; }
.a-subtabs a { font-size: 14px; padding: 8px 12px; }
.ad section { margin: 16px 0; }
.ad .kpi { text-decoration: none; color: var(--ink); }
.ad-bar { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin: 8px 0; }
.ad-bar .input { height: 40px; width: auto; flex: 1 1 200px; }
.ad-bar select.input { flex: 0 1 220px; }
.ad-scroll { overflow-x: auto; background: var(--paper); border-radius: var(--r-md); box-shadow: 0 0 0 1px var(--line); }
.ad-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ad-table th, .ad-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ad-table th { background: var(--row); font-weight: 600; white-space: nowrap; position: sticky; top: 0; }
.ad-table .n { text-align: right; white-space: nowrap; }
.ad-table tbody tr[data-uid], .ad-table tbody tr[data-qid] { cursor: pointer; }
.ad-table tbody tr[data-uid]:hover, .ad-table tbody tr[data-qid]:hover, .ad-table tr.on { background: #F3FAF8; }
.ad-det td { background: var(--row); }
.ad-detail { display: grid; gap: 12px; }
.ad-dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 0; font-size: 14px; }
.ad-dl dt { color: var(--ink-2); }
.ad-dl dd { margin: 0; }
.ad-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ad-row .input { height: 40px; width: auto; flex: 1 1 160px; }
.ad-list { list-style: none; padding: 0; margin: 0; }
.ad-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.ad-rep { margin: 10px 0; display: grid; gap: 8px; }
.ad-rep blockquote { margin: 0; padding: 8px 12px; background: var(--row); border-radius: var(--r-sm); white-space: pre-wrap; }
.ad-rep.st-open { box-shadow: 0 0 0 1px var(--orange-line); }
.ad-q summary { cursor: pointer; }
.ad-table td:nth-child(3), .ad-table td:nth-child(4) { white-space: nowrap; }

/* Colour tokens the FZS figures use, copied from FZS Trener app.css (light theme). */
:root {
  --bone: #EFE8D6;
  --bone-edge: #B9AB88;
  --deoxy: #2F6FD6;
  --hl: #007174;
  --muscle: #F0BFB5;
  --muscle-edge: #C27B6E;
  --oxy: #D82A38;
  --skin: #E7ECEF;
  --skin-edge: #C6D0D6;
  --warn: #BC7B12;
}

/* Figure rules FZS Trener keeps in app.css / ds2.css (legends, player controls, notes) – copied. */
.vis-svg { width: 100%; overflow-x: auto; }
.vis-svg svg { display: block; width: 100%; height: auto; max-height: 440px; margin: 0 auto; }
.vis-svg.tall svg { max-height: 520px; max-width: 260px; }
.vis-svg.wide svg { max-height: 480px; }
.vis-cap { font-size: 11px; fill: var(--ink-2); text-anchor: middle; font-family: var(--font); }
.vis-legend { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.vis-legend li { display: flex; gap: 8px; align-items: baseline; }
.vis-num { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--hl); color: #fff; font-size: 11px; font-weight: 600; display: grid; place-items: center; }
.vis-notes { margin: 12px 0 0; padding-left: 18px; color: var(--ink-2); display: grid; gap: 4px; }
.vis-notes li.on { color: var(--ink); font-weight: 600; }
.vis-move-lab { margin-top: 6px; text-align: center; display: flex; flex-direction: column; gap: 2px; }
.vis-move-lab b { font-size: 14px; font-weight: 600; }
.vis-move-lab span { font-size: 12px; color: var(--ink-2); }
.vis-marker circle { fill: var(--hl); stroke: #fff; stroke-width: 1.5; }
.vis-marker text { fill: #fff; font-size: 10px; font-weight: 700; text-anchor: middle; font-family: var(--font); }
.vis-notes.key { list-style: none; padding-left: 0; }
.vis-notes.key li { display: flex; gap: 8px; align-items: center; }
.vis-notes.key i { width: 18px; height: 4px; border-radius: 4px; display: inline-block; }
.vis-acronym { display: grid; gap: 6px; }
.vis-acronym div { display: flex; gap: 10px; align-items: center; border-radius: 8px; padding: 6px 10px; box-shadow: inset 0 0 0 1px var(--line); }
.vis-acronym b { font-size: 20px; line-height: 26px; color: var(--accent); min-width: 34px; }
.vis-acronym p { color: var(--ink-2); margin: 4px 0 0; }
.vis-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vis-two > div { border-radius: 8px; padding: 10px; min-width: 0; box-shadow: inset 0 0 0 1px var(--line); }
.vis-two > div.on { box-shadow: inset 0 0 0 1.5px var(--accent); background: var(--accent-soft); }
.vis-two h5 { margin: 0; font-size: 16px; line-height: 22px; font-weight: 600; }
.vis-two p { margin: 0 0 4px; color: var(--ink-2); font-size: 12px; }
.vis-two ul { margin: 0; padding-left: 16px; }
.vis-chain { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.vis-chain div { border-radius: 8px; padding: 6px 9px; display: flex; gap: 6px; align-items: center; box-shadow: inset 0 0 0 1px var(--line); }
.vis-chain b { color: var(--link); }
.vis-chain .arrow { color: var(--ink-3); }
.vis-table-wrap { overflow-x: auto; }
.vis-table { border-collapse: collapse; font-size: 12px; line-height: 16px; width: 100%; min-width: 440px; }
.vis-table th, .vis-table td { border-bottom: 1px solid var(--line); padding: 6px; text-align: left; vertical-align: top; }
.vis-table th.on { color: var(--accent); background: var(--accent-soft); }
@media (max-width: 560px) {
  .vis-two, .ans-grid { grid-template-columns: minmax(0, 1fr);}
}
.vis-wrap { min-width: 0; }
.vis-wrap svg.vis { display: block; width: 100%; height: auto; margin: 0 auto; font-family: var(--font); }
.vis-ctrl { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 6px 8px; border-radius: 100px; background: var(--bg); }
.vis-ctrl button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.vis-ctrl button svg { width: 14px; height: 14px; fill: currentColor; }
.vis-ctrl .vis-speed { width: auto; min-width: 40px; padding: 0 10px; border-radius: 100px; background: var(--paper); color: var(--accent); font-size: 12px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line-2); }
.vis-ctrl input[type=range] { flex: 1; min-width: 0; accent-color: var(--hl); height: 4px; }
.mv-adv-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.mv-adv-row .btn .ic { width: 16px; height: 16px; }
.mv-adv { display: grid; gap: 12px; }
.mv-filters { display: grid; gap: 10px; margin: 14px 0 8px; }
.mv-search { display: flex; }
.mv-sels { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 1100px) {
  .mv-sels { grid-template-columns: repeat(3, minmax(0, 1fr));}
}
@media (max-width: 600px) {
  .mv-sels { grid-template-columns: repeat(2, minmax(0, 1fr));}
}
.mv-sel { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 500; color: var(--ink-2); min-width: 0; }
.mv-sel select { width: 100%; }
.mv-toggles { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.mv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.mv-grid.sm { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-bottom: 10px; }
@media (max-width: 600px) {
  .mv-grid, .mv-grid.sm { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;}
}
.mv-card { position: relative; display: flex; flex-direction: column; text-align: left; padding: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); overflow: hidden; cursor: pointer; font: inherit; color: inherit; box-shadow: 0 1px 2px rgba(24, 27, 37, 0.04); transition: border-color .15s, box-shadow .2s, transform .2s; }
.mv-card:hover { border-color: var(--accent-soft); box-shadow: 0 8px 24px rgba(13, 61, 62, 0.10); transform: translateY(-2px); }
.mv-card:active { transform: none; }
.mv-ph { position: relative; display: block; aspect-ratio: 1; background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.mv-ph::before { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, #F4F5F6 30%, #FAFAFA 50%, #F4F5F6 70%) 0 0 / 300% 100%; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .mv-ph::before { animation: mvph 1.4s linear infinite;}
}
.mv-ph:has(img[src])::before { display: none; }
.mv-card img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: contain; padding: 5%; display: block; transition: transform .35s ease; }
@media (hover: hover) {
  .mv-card:hover img { transform: scale(1.04);}
}
.mv-card img:not([src]) { visibility: hidden; }
.mv-play { position: absolute; left: 10px; bottom: 10px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--accent); box-shadow: 0 1px 4px rgba(24, 27, 37, .15); opacity: 0; transform: scale(.85); transition: opacity .2s, transform .2s; }
.mv-play .ic { width: 12px; height: 12px; margin-left: 2px; }
@media (hover: hover) {
  .mv-card:hover .mv-play { opacity: 1; transform: none;}
  .mv-card.playing .mv-play { opacity: 0;}
}
.mv-card-b { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; min-width: 0; }
.mv-kick { font-size: 11px; line-height: 16px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--link); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mv-card-b .mv-nm { font-size: 15px; line-height: 20px; font-weight: 600; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 40px; overflow-wrap: anywhere; }
.mv-eq { font-size: 13px; line-height: 18px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mv-card-b .mv-pl { margin-top: auto; padding-top: 8px; }
.mv-card-b .pl-chip { font-size: 11px; padding: 1px 7px; }
.mv-card .fc-badge { top: 10px; right: 10px; }
@media (max-width: 600px) {
  .mv-card-b { padding: 10px 12px 12px;}
  .mv-card-b .mv-nm { font-size: 14px; line-height: 19px; min-height: 38px;}
}
.mv-pl { display: flex; gap: 4px; flex-wrap: wrap; }
.mv-more { display: flex; justify-content: center; margin: 16px 0; }
.mv-detail { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 860px) {
  .mv-detail { grid-template-columns: 1fr;}
}
.mv-anim { padding: 0; overflow: hidden; background: #fff; position: sticky; top: 12px; }
@media (max-width: 860px) {
  .mv-anim { position: static;}
}
.mv-anim .mv-clipfix { margin: 0; border-radius: 0; }
.mv-anim-img { width: 100%; aspect-ratio: 1; object-fit: contain; display: block; background: #fff; }
.mv-info { display: grid; gap: 12px; min-width: 0; }
.mv-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mv-kin-grid { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 14px; align-items: start; }
@media (max-width: 520px) {
  .mv-kin-grid { grid-template-columns: 1fr;}
  .mv-kin-grid .pf { max-width: 200px; margin: 0 auto;}
}
.mv-kin-sum { margin: 0 0 8px; }
.mv-jt { width: 100%; border-collapse: collapse; font-size: 14px; }
.mv-jt th, .mv-jt td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.mv-jt th { font-size: 12px; color: var(--ink-2); font-weight: 600; }
.mv-note, .mq-why { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin: 10px 0 0; }
.mv-note .ic, .mq-why .ic { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--accent); }
.mv-hint { font-size: 13px; margin: 8px 0 0; }
.mv-instr summary { cursor: pointer; font-weight: 600; }
.mv-instr summary em { font-style: normal; font-weight: 400; color: var(--ink-3); font-size: 13px; }
.mv-instr ol { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14px; }
.mq-anim .mv-anim-img { max-width: 360px; }
@media (max-width: 760px) {
  .mq-anim .mv-anim-img { max-width: 260px;}
}
.at-card-b b, .at-card-b em, .mus-chip .mus-la, .mus-chip .mus-sl, .mv-card-b b, .tp-main h3, .feat-b b, .fx-top b, .pg-at b, .lp-name { overflow-wrap: anywhere; min-width: 0; }
.ai-send,
.aq-prompt,
.at-card,
.at-o, .at-i,
.aw-b,
.aw-cls,
.aw-cls-name,
.aw-home,
.aw-home-b,
.aw-mini span,
.aw-pi,
.aw-rank,
.aw-toast,
.bub-ai.err,
.care-rf li,
.care2,
.coach-tip,
.doc-item,
.doc-opt,
.doc-warn,
.dr-card,
.dr-cues,
.dr-m,
.dr-m-ic,
.dr-opt,
.dr-res,
.dr-srow,
.ex-note.warn,
.ex-sec,
.ex-verdict,
.exc,
.exc-ic,
.exh-row, .xa-row > summary,
.exi,
.fc-fact,
.fc-fan img,
.fc-set,
.fc-set-img,
.fc-tile,
.fx,
.fx-fan img,
.fxt,
.hh,
.hh-task,
.hh-ti,
.hub-card,
.hub-vidm,
.ins-card,
.kc-k,
.lp-hint,
.lp-sheet,
.lre,
.lv-art,
.lv-frame,
.mat-check li,
.mat-doc,
.mat-link,
.mat-rule,
.mat-stats span,
.mis-mod-ic,
.mq-anim,
.mq-opt,
.opt .k,
.pf-leg-i,
.pg > div,
.pg-area,
.ph .ph-stats span,
.ph-stats span,
.pk-card,
.pk-cdrill,
.pk-chat,
.pk-g,
.pk-how-l li,
.pk-lib,
.pk-msg span,
.pk-parts li,
.pk-vb,
.pk-vrows li,
.pl-k,
.pl-stage,
.pod-ep,
.pp-lps,
.prof-li,
.prof-link,
.sec-hd-ic,
.sh-prev,
.side-acct,
.st-week,
.tp,
.tp-pp,
.xa-row,

.dp,

.hh,

.fc-hero,

.lv-player,

.dr-exp,

.mv-card,

.lp-stop,

.pod-bar,

.xp-pop,

.sec-hd,

.doc-paper-wrap { border-radius: var(--r-sm); }

/* Copied from FZS Trener (src/vis) on 2026-11-26 as the starting template – now maintained here.
   English labels are applied at render time from content/media/figures.json (src/figures/figures.js). */
/* Anatomy plates (skeleton, regions, planes, axes, spine, vertebra, joint, longbone) */
:root {
  --vis-hole: #8F8266;          /* orbits, foramina */
  --vis-cart: #DDEBF1;          /* hyaline cartilage, discs */
  --vis-cart-edge: #93AFBD;
  --vis-fluid: #CFE3F6;         /* synovial fluid */
  --vis-synov: #B3628A;         /* synovial membrane */
  --vis-capsule: #E2D2BE;       /* fibrous capsule */
  --vis-capsule-edge: #A98C6B;
  --vis-lig: #CDB38F;           /* ligament */
  --vis-lig-edge: #8D7149;
  --vis-red-marrow: #D27A70;
  --vis-yellow-marrow: #F1DB8E;
  --vis-yellow-edge: #C9A94A;
  --vis-periost: #B9675A;
  --vis-skin-line: #98A6AF;
  --vis-skin-far: #D9E1E6;
}
.an { font-family: var(--font); overflow: visible; }
.an text { font-family: var(--font); }

/* labels */
.an-t1 { font-size: 12px; font-weight: 500; fill: var(--ink); }
.an-t2 { font-size: 11px; fill: var(--ink-2); }
.an-lat { font-weight: 400; fill: var(--ink-2); }
.an-lab.on .an-t1 { font-weight: 600; fill: var(--accent); }
.an-lab.sh .an-t1 { fill: var(--ink-2); }
.an-ld { fill: none; stroke: var(--ink-3); stroke-width: .8; stroke-linejoin: round; }
.an-ldot { fill: var(--ink-3); }
.an-lab.on .an-ld { stroke: var(--hl); stroke-width: 1.1; }
.an-lab.on .an-ldot { fill: var(--accent); stroke: var(--paper); stroke-width: 1; }
.an-ori { font-size: 11px; fill: var(--ink-3); }
.an-num { font-size: 11px; fill: var(--ink-3); }
.an-tag { font-size: 11px; font-weight: 600; fill: var(--accent); paint-order: stroke; stroke: var(--paper); stroke-width: 3px; stroke-linejoin: round; }
.an-notes li { font-size: 13px; line-height: 18px; }
.an-notes li.on { color: var(--ink); font-weight: 400; }
.an-notes li.on b { color: var(--accent); }

/* bones */
.an-b .s { fill: var(--bone); stroke: var(--bone-edge); stroke-width: .9; stroke-linejoin: round; }
.an-b .e, .an-b .ce { fill: none; stroke: var(--bone-edge); stroke-linecap: round; }
.an-b .c { fill: none; stroke: var(--bone); stroke-linecap: round; }
.an-b .ce { stroke: var(--vis-cart-edge); }
.an-b .cg { fill: none; stroke: var(--vis-cart); stroke-linecap: round; }
.an-b .cd { fill: var(--vis-cart); }
/* hidden contour: a bone behind another one (coccyx behind the pubic symphysis) */
.an-b .hd { fill: none; stroke: var(--bone-edge); stroke-width: .8; stroke-dasharray: 2.2 1.6; }
.an-b.hl .hd { stroke: var(--accent); stroke-width: 1.3; }
.an-b.sh .hd { stroke: var(--ink-2); }
.an-b .h { fill: var(--vis-hole); opacity: .6; }
.an-b .l { fill: none; stroke: var(--bone-edge); stroke-width: .6; stroke-linecap: round; }
.an-b .t { fill: var(--paper); stroke: var(--bone-edge); stroke-width: .5; }
.an-b .rim { fill: none; stroke: var(--bone-edge); stroke-width: 1.6; stroke-linecap: round; }
.an-back { opacity: .5; }
.an-b .fz { fill: var(--bone-edge); opacity: .22; }
.an-b.hl .fz { fill: var(--accent); opacity: .35; }
.an-b.hl .s { fill: var(--hl); stroke: var(--accent); }
.an-b.hl .e { stroke: var(--accent); }
.an-b.hl .c { stroke: var(--hl); }
.an-b.hl .cg { stroke: var(--accent-soft); }
.an-b.hl .ce { stroke: var(--accent); }
.an-b.hl .l { stroke: var(--accent-soft); opacity: .8; }
.an-b.hl .h { fill: var(--accent); opacity: .9; }
.an-b.hl .t { fill: var(--accent-soft); stroke: var(--accent); }
.an-b.hl .rim { stroke: var(--accent); }
.an-b.sh .s { stroke: var(--ink-2); stroke-width: 1.3; }
.an-b.sh .e { stroke: var(--ink-2); }
.an-skeleton .an-b .s { stroke-width: 1.1; }

/* regions */
.an-sil { fill: var(--skin); stroke: none; }
.an-silo { fill: none; stroke: var(--vis-skin-line); stroke-width: 1.6; stroke-linejoin: round; }
.an-rgc path { fill: none; stroke: var(--vis-skin-line); stroke-width: 1.1; stroke-dasharray: 4 3; }
.an-rgx { fill: none; stroke: var(--vis-skin-line); stroke-width: 1; opacity: .7; }
.an-rgf path { stroke: none; }
.an-rgf.hl path { fill: var(--hl); fill-opacity: .82; }
.an-rgf.sh path { fill: var(--accent-soft); }

/* 3-D mannequin, planes, axes */
.an-m { fill: var(--skin); stroke: var(--vis-skin-line); stroke-width: 1; stroke-linejoin: round; }
.an-m.far { fill: var(--vis-skin-far); }
.an-pl .f { fill: var(--ink-3); fill-opacity: .1; stroke: none; }
.an-pl .e { fill: none; stroke: var(--ink-3); stroke-width: 1; stroke-opacity: .6; }
.an-pl.dim .f { fill-opacity: .04; }
.an-pl.dim .e { stroke-opacity: .28; stroke-dasharray: 3 3; }
.an-pl.sh .f { fill: var(--ink-2); fill-opacity: .14; }
.an-pl.hl .f { fill: var(--hl); fill-opacity: .3; }
.an-pl.hl .e { stroke: var(--accent); stroke-opacity: 1; stroke-width: 1.6; }
.an-ax { fill: none; stroke: var(--ink-2); stroke-width: 2; stroke-linecap: round; }
.an-ax.in { stroke-dasharray: 3 3; stroke-width: 1.4; opacity: .7; }
.an-ax.head { fill: var(--ink-2); stroke: none; }
.an-ax.rot { stroke-width: 1.6; }
.an-ax.dim { opacity: .3; }
.an-ax.hl { stroke: var(--hl); stroke-width: 3; }
.an-ax.hl.in { stroke-width: 2; opacity: .85; }
.an-ax.hl.head { fill: var(--hl); stroke: none; }
.an-ax.hl.rot { stroke: var(--accent); stroke-width: 2; }
.an-ax.hl.rot + .an-ax.hl.head { fill: var(--accent); }

/* spine & vertebra */
.an-disc { fill: var(--vis-cart); stroke: var(--vis-cart-edge); stroke-width: .7; }
.an-nuc { fill: var(--paper); stroke: var(--vis-cart-edge); stroke-width: .6; }
.an-b.hl .an-disc { fill: var(--hl); stroke: var(--accent); }
.an-b.hl .an-nuc { fill: var(--accent-soft); stroke: var(--accent); }
.an-canal .cv { fill: var(--paper); stroke: var(--bone-edge); stroke-width: 1; }
.an-canal.hl .cv { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 1.6; }
.an-canal.sh .cv { stroke: var(--ink-2); }

/* synovial joint */
.an-jb .o { fill: var(--bone); stroke: var(--bone-edge); stroke-width: 1.2; }
.an-jb .i { stroke: none; }
.an-jb.hl .o { fill: var(--hl); stroke: var(--accent); }
.an-jf path { fill: var(--vis-fluid); stroke: none; }
.an-jf.hl path { fill: var(--hl); fill-opacity: .55; }
.an-jc path { fill: var(--vis-cart); stroke: var(--vis-cart-edge); stroke-width: .8; }
.an-jc.hl path { fill: var(--hl); stroke: var(--accent); }
.an-jcav path { fill: none; stroke: none; }
.an-jcav.hl path { fill: var(--hl); fill-opacity: .35; stroke: var(--accent); stroke-width: 1.2; stroke-dasharray: 3 2; }
.an-jcap path { fill: none; stroke: var(--vis-capsule); stroke-width: 7; stroke-linecap: round; }
.an-jcap.hl path { stroke: var(--hl); }
.an-jm path { fill: none; stroke: var(--vis-synov); stroke-width: 2; stroke-linecap: round; }
.an-jm.hl path { stroke: var(--accent); stroke-width: 3; }
.an-jl path { fill: none; stroke: var(--vis-lig); stroke-width: 6; stroke-linecap: round; }
.an-jl.hl path { stroke: var(--hl); }
.an-pat .pb { fill: var(--bone); }
.an-pat .ph { fill: var(--vis-red-marrow); }
.an-spg-s .pb { fill: var(--hl); }
.an-spg-r .ph { fill: var(--hl); }
.an-jsp .pb { fill: var(--bone); }
.an-jsp .ph { fill: var(--vis-capsule); }

/* long bone */
.an-lbc path { fill: var(--bone); stroke: var(--bone-edge); stroke-width: 1.2; }
.an-lbc .lam { fill: none; stroke: var(--bone-edge); stroke-width: .6; opacity: .7; }
.an-lbc.hl path:first-child { fill: var(--hl); stroke: var(--accent); }
.an-lbc.hl .lam { stroke: var(--accent-soft); }
.an-lbs { stroke: none; }
.an-lbm path { fill: var(--vis-yellow-marrow); stroke: var(--vis-yellow-edge); stroke-width: .8; }
.an-lbm.hl path { fill: var(--hl); stroke: var(--accent); }
.an-lbe path { fill: none; stroke: var(--bone-edge); stroke-width: 1.4; stroke-dasharray: 3 2; }
.an-lbe.hl path { stroke: var(--accent); stroke-width: 2.4; }
.an-lbp path { fill: none; stroke: var(--vis-periost); stroke-width: 2.2; stroke-linecap: round; }
.an-lbp.hl path { stroke: var(--hl); stroke-width: 3.4; }
.an-lbk path { fill: none; stroke: var(--vis-cart); stroke-width: 6; stroke-linecap: round; }
.an-lbk.hl path { stroke: var(--hl); }
.an-lbz { fill: var(--hl); fill-opacity: .2; stroke: var(--accent); stroke-width: 1.4; stroke-dasharray: 4 3; }
.an-lbz.sh { fill: var(--ink-3); fill-opacity: .08; stroke: var(--ink-3); }

/* Copied from FZS Trener (src/vis) on 2026-11-26 as the starting template – now maintained here.
   English labels are applied at render time from content/media/figures.json (src/figures/figures.js). */
/* Biomechanics plates (levers, torque, insertion, contraction, cog, massweight) */
.bm-mh { fill: var(--hl); }
.bm-lh { fill: #C2513F; }
.bm-kh { fill: var(--ink-2); }
.bm-fm { stroke: var(--hl); stroke-width: 2.6; fill: none; }
.bm-fl { stroke: #C2513F; stroke-width: 2.6; fill: none; }
.bm-fk { stroke: var(--ink-2); stroke-width: 1.8; fill: none; }
.bm-tm { font-size: 11.5px; font-weight: 600; fill: var(--hl); }
.bm-tl { font-size: 11.5px; font-weight: 600; fill: #C2513F; }
.bm-tk { font-size: 11.5px; font-weight: 600; fill: var(--ink-2); }
.bm-tx { font-size: 11px; fill: var(--ink-2); }
.bm-b { font-weight: 600; fill: var(--ink); }
.bm-big { font-size: 18px; font-weight: 700; fill: var(--accent); }
.bm-rbg { fill: var(--paper); stroke: var(--line); stroke-width: 1; }
.bm-row.on .bm-rbg, .bm-col.on .bm-rbg { fill: color-mix(in srgb, var(--accent-soft) 40%, var(--paper)); stroke: var(--hl); stroke-width: 1.5; }
.bm-row.on .bm-n, .bm-col.on .bm-n { fill: var(--accent); }
/* dimmed rows/columns: only the frame fades, the text keeps full contrast */
.bm-row.dim .bm-rbg, .bm-col.dim .bm-rbg { opacity: .5; }
.bm-row.dim text, .bm-col.dim text { fill: var(--ink-2); }
.bm-bar { fill: var(--bone); stroke: var(--bone-edge); stroke-width: 1.2; }
.bm-ful { fill: var(--ink-2); }
.bm-arm-m { stroke: var(--hl); stroke-width: 3; stroke-linecap: round; }
.bm-arm-l { stroke: #C2513F; stroke-width: 3; stroke-linecap: round; opacity: .8; }
.bm-upper, .bm-fore { stroke: var(--bone-edge); stroke-width: 12; stroke-linecap: round; fill: none; }
.bm-fore { stroke: #D8CBA8; }
.bm-joint { fill: var(--paper); stroke: var(--ink-2); stroke-width: 2; }
.bm-db { fill: #4A5160; }
.bm-musc { fill: none; stroke: #C9706A; stroke-width: 7; stroke-linecap: round; opacity: .9; }
.bm-ins { fill: var(--hl); stroke: var(--paper); stroke-width: 1.5; }
.bm-gl { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 3 3; }
.bm-r { stroke: var(--ink-2); stroke-width: 1.4; }
.bm-floor { stroke: var(--line-2); stroke-width: 1.5; }
.bm-mbar-bg { fill: var(--line); }
.bm-mbar { fill: var(--hl); }
.bm-mm { fill: var(--hl); }
.bm-mb { fill: #E3A497; }
.bm-body { fill: none; stroke: var(--ink-2); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.bm-head { fill: var(--paper); stroke: var(--ink-2); stroke-width: 3; }
.bm-cog { fill: #C2513F; stroke: var(--paper); stroke-width: 1.5; }
.bm-cogl { stroke: #C2513F; stroke-width: 1.4; stroke-dasharray: 4 3; }
.bm-gh { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 2 2; }
.bm-bos { stroke: var(--hl); stroke-width: 5; stroke-linecap: round; }

/* Copied from FZS Trener (src/vis) on 2026-11-26 as the starting template – now maintained here.
   English labels are applied at render time from content/media/figures.json (src/figures/figures.js). */
/* Endurance plates (lactate, zones) */
.lc-z1 { fill: #E6F1EE; } .lc-z2 { fill: #FBF1DC; } .lc-z3 { fill: #F8E2DC; }
.lc-gl { stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 3 3; }
.lc-ax { fill: none; stroke: var(--ink-3); stroke-width: 1.2; }
.lc-tk { font-size: 12px; fill: var(--ink-3); }
.lc-curve { fill: none; stroke: #C2513F; stroke-width: 2.8; stroke-linecap: round; }
.lc-th path { stroke: var(--ink-3); stroke-width: 1.2; stroke-dasharray: 4 3; }
.lc-th circle { fill: var(--paper); stroke: var(--ink-2); stroke-width: 2; }
.lc-thl { font-size: 11.5px; font-weight: 600; fill: var(--ink); }
.lc-ths { font-size: 10.5px; fill: var(--ink-2); }
.lc-th.on path { stroke: var(--accent); stroke-width: 2; stroke-dasharray: none; }
.lc-th.on circle { fill: var(--accent); stroke: var(--accent); }
.lc-th.on .lc-thl { fill: var(--accent); }
.lc-zl { font-size: 11px; font-weight: 600; fill: var(--ink-2); }
.lc-dot { fill: var(--hl); stroke: var(--paper); stroke-width: 2; }
.lc-zone rect { stroke: none; }
.lc-c1 rect { fill: #E6F1EE; } .lc-c2 rect { fill: #CDE6DF; } .lc-c3 rect { fill: #FBF1DC; } .lc-c4 rect { fill: #F6D9B4; } .lc-c5 rect { fill: #F1C2B6; }
.lc-zone.on rect { stroke: var(--accent); stroke-width: 2; }
.lc-zone.dim { opacity: .5; }
.lc-zn { font-size: 12px; font-weight: 700; fill: var(--ink); }
.lc-zd { font-size: 11px; fill: var(--ink-2); }
.lc-zp { font-size: 12px; font-weight: 600; fill: var(--ink); }
.lc-zone.on .lc-zn { fill: var(--accent); }

/* Copied from FZS Trener (src/vis) on 2026-11-26 as the starting template – now maintained here.
   English labels are applied at render time from content/media/figures.json (src/figures/figures.js). */
/* First-aid plates (bls, peacelove) */
.fa-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; counter-reset: none; }
.fa-step { position: relative; display: grid; grid-template-columns: 22px 40px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px 10px 8px 8px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); background: var(--paper); }
.fa-step + .fa-step::before { content: ''; position: absolute; left: 18px; top: -7px; width: 2px; height: 8px; background: var(--line-2); }
.fa-num { font-size: 12px; font-weight: 700; color: var(--ink-3); text-align: center; }
.fa-ic { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 15px; }
.fa-tx { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.fa-tx b { font-size: 13px; line-height: 18px; color: var(--ink); font-weight: 600; }
.fa-tx span { font-size: 12px; line-height: 16px; color: var(--ink-2); }
.fa-step.on { box-shadow: inset 0 0 0 1.5px var(--hl); background: color-mix(in srgb, var(--accent-soft) 45%, var(--paper)); }
.fa-step.on .fa-ic { background: var(--accent); color: #fff; }
.fa-step.on .fa-tx b { color: var(--accent); }
.fa-gap { margin-top: 6px; }
.fa-pl .fa-love .ph-rl { background: var(--paper); color: var(--hl); box-shadow: inset 0 0 0 1.5px var(--hl); }

/* Copied from FZS Trener (src/vis) on 2026-11-26 as the starting template – now maintained here.
   English labels are applied at render time from content/media/figures.json (src/figures/figures.js). */
/* Info graphics (info renderer) */
.ig { container-type: inline-size; font-size: 13px; line-height: 18px; color: var(--ink); }
.ig b { font-weight: 600; }
.ig .on b, .ig .on .ig-h { color: var(--accent); }
/* steps */
.ig-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ig-step { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: start; padding: 8px 10px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); background: var(--paper); }
.ig-steps:not(.ig-cl) .ig-step + .ig-step::before { content: ''; position: absolute; left: 22px; top: -7px; width: 2px; height: 8px; background: var(--line-2); }
.ig-n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 12px; }
.ig-tx { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.ig-tx span { font-size: 12px; line-height: 16px; color: var(--ink-2); }
.ig-step.on { box-shadow: inset 0 0 0 1.5px var(--hl); background: color-mix(in srgb, var(--accent-soft) 40%, var(--paper)); }
.ig-step.on .ig-n { background: var(--accent); color: #fff; }
/* cycle */
.ig-cycle { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 12px; align-items: center; }
@container (max-width: 400px) { .ig-cycle { grid-template-columns: 1fr; } .ig-cyc { max-width: 190px; margin: 0 auto; } }
.ig-arc { fill: none; stroke: var(--line-2); stroke-width: 2.4; }
.ig-ahp { fill: var(--ink-3); }
.ig-node circle { fill: var(--paper); stroke: var(--hl); stroke-width: 2; }
.ig-node text { font-size: 14px; font-weight: 700; fill: var(--accent); }
.ig-node.on circle { fill: var(--accent); stroke: var(--accent); }
.ig-node.on text { fill: #fff; }
.ig-ctr { font-size: 12px; font-weight: 600; fill: var(--ink-2); }
.ig-cyc { animation: ig-spin-in .8s ease-out both; }
@keyframes ig-spin-in { from { transform: rotate(-30deg); opacity: 0; } to { transform: none; opacity: 1; } }
/* compare */
.ig-cmp { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ig-cmp.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ig-cmp.n1 { grid-template-columns: 1fr; }
@container (max-width: 470px) { .ig-cmp.n3 { grid-template-columns: 1fr; } }
@container (max-width: 300px) { .ig-cmp { grid-template-columns: 1fr; } .ig-cards { grid-template-columns: 1fr; } }
.ig-col { border-radius: 8px; padding: 10px; box-shadow: inset 0 0 0 1px var(--line); background: var(--paper); min-width: 0; }
.ig-col .ig-h { font-weight: 700; font-size: 13px; }
.ig-col .ig-sub { font-size: 11.5px; color: var(--ink-2); margin-top: 1px; }
.ig-col ul { margin: 6px 0 0; padding-left: 16px; display: grid; gap: 3px; font-size: 12px; line-height: 16px; color: var(--ink-2); }
.ig-col.ig-good { box-shadow: inset 3px 0 0 var(--hl), inset 0 0 0 1px var(--line); }
.ig-col.ig-bad { box-shadow: inset 3px 0 0 #C2513F, inset 0 0 0 1px var(--line); }
.ig-col.ig-mid { box-shadow: inset 3px 0 0 #D9A441, inset 0 0 0 1px var(--line); }
.ig-col.on { background: color-mix(in srgb, var(--accent-soft) 40%, var(--paper)); box-shadow: inset 0 0 0 1.5px var(--hl); }
/* bars */
.ig-bars { display: grid; gap: 7px; }
.ig-bar { display: grid; grid-template-columns: minmax(90px, 34%) minmax(0, 1fr); gap: 8px; align-items: center; }
.ig-bl { font-size: 12px; line-height: 15px; }
.ig-bl em { display: block; font-style: normal; color: var(--ink-3); font-size: 11px; }
.ig-bt { position: relative; height: 22px; background: var(--line); border-radius: 5px; overflow: hidden; }
.ig-bt.short b { left: calc(var(--w, 0%) + 8px); }
.ig-bt i { position: absolute; inset: 0 auto 0 0; width: var(--w); background: #E3A497; border-radius: 5px; animation: ig-grow .9s ease-out both; }
.ig-bt b { position: absolute; left: 8px; z-index: 1; top: 2px; font-size: 11.5px; font-weight: 600; color: var(--ink); }
.ig-bar.on .ig-bt i { background: var(--hl); }
.ig-bar.on .ig-bt b { color: #fff; text-shadow: 0 0 3px rgba(0,0,0,.35); }
.ig-bar.on .ig-bt.short b { color: var(--ink); text-shadow: none; }
@keyframes ig-grow { from { width: 0; } }
/* stack */
.ig-tot { font-size: 12px; color: var(--ink-2); margin-bottom: 4px; }
.ig-stk { display: flex; height: 30px; border-radius: 6px; overflow: hidden; }
.ig-sg { flex: 0 0 var(--w); display: grid; place-items: center; font-size: 11px; color: #fff; animation: ig-fade .8s ease-out both; min-width: 0; }
.ig-sg b { font-weight: 700; white-space: nowrap; overflow: hidden; }
.ig-sg.on { outline: 2.5px solid var(--accent); outline-offset: -2.5px; }
.c0 { background: #0D6E70; } .c1 { background: #4E9C93; } .c2 { background: #9CC9BF; } .c3 { background: #D9A441; } .c4 { background: #E3A497; } .c5 { background: #8C93A8; }
.ig-sg.c2 { color: var(--ink); }
.ig-leg { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; font-size: 12px; line-height: 16px; color: var(--ink-2); }
.ig-leg li { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 8px; align-items: start; }
.ig-leg i { width: 12px; height: 12px; border-radius: 3px; margin-top: 2px; }
.ig-leg b { color: var(--ink); }
@keyframes ig-fade { from { opacity: 0; } }
/* scale */
.ig-scale { display: flex; gap: 3px; border-radius: 8px; overflow: hidden; }
.ig-seg { padding: 8px 6px 9px; color: #fff; display: flex; flex-direction: column; gap: 2px; min-width: 0; animation: ig-fade .8s ease-out both; }
.ig-seg b { font-size: 12px; line-height: 15px; color: inherit !important; overflow-wrap: anywhere; hyphens: auto; }
.ig-seg span { font-size: 11px; line-height: 14px; opacity: .92; }
.ig-seg.c2 { color: var(--ink); }
.ig-seg.on { outline: 3px solid var(--accent); outline-offset: -3px; }
.ig-seg:nth-child(2) { animation-delay: .1s; } .ig-seg:nth-child(3) { animation-delay: .2s; } .ig-seg:nth-child(4) { animation-delay: .3s; } .ig-seg:nth-child(5) { animation-delay: .4s; }
.ig-ends { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--ink-2); margin-top: 4px; }
@container (max-width: 380px) { .ig-scale { flex-direction: column; } .ig-seg { flex: none !important; } }
/* cards */
.ig-cards { display: grid; gap: 7px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ig-card { position: relative; border-radius: 8px; padding: 9px 10px; box-shadow: inset 0 0 0 1px var(--line); background: var(--paper); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ig-card span { font-size: 12px; line-height: 16px; color: var(--ink-2); }
.ig-card .ig-k { align-self: flex-start; order: -1; margin-bottom: 2px; font-size: 10.5px; font-weight: 700; color: var(--accent); background: var(--accent-soft); border-radius: 4px; padding: 0 5px; line-height: 16px; }
.ig-card.ig-bad { box-shadow: inset 3px 0 0 #C2513F, inset 0 0 0 1px var(--line); }
.ig-card.ig-good { box-shadow: inset 3px 0 0 var(--hl), inset 0 0 0 1px var(--line); }
.ig-card.on { background: color-mix(in srgb, var(--accent-soft) 40%, var(--paper)); box-shadow: inset 0 0 0 1.5px var(--hl); }
/* pyramid */
.ig-pyr { display: grid; gap: 4px; justify-items: center; }
.ig-lv { width: var(--w); text-align: center; padding: 7px 8px; border-radius: 6px; background: var(--accent-soft); display: flex; flex-direction: column; gap: 1px; animation: ig-fade .7s ease-out both; }
.ig-lv span { font-size: 11.5px; line-height: 15px; color: var(--ink-2); }
.ig-lv.on { background: var(--accent); }
.ig-lv.on b, .ig-lv.on span { color: #fff !important; }
/* formula */
.ig-f { font-size: 19px; line-height: 26px; font-weight: 600; text-align: center; padding: 12px 8px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); }
.ig-parts { margin: 8px 0 0; display: grid; gap: 4px; }
.ig-parts > div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 8px; font-size: 12.5px; line-height: 17px; }
.ig-parts dt { font-weight: 700; color: var(--accent); }
.ig-parts dd { margin: 0; color: var(--ink-2); }
.ig-ex { margin-top: 8px; padding: 8px 10px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); font-size: 12.5px; line-height: 18px; }
.ig-ex span { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
@media (prefers-reduced-motion: reduce) { .ig *, .ig-cyc { animation: none !important; } }

/* Copied from FZS Trener (src/vis) on 2026-11-26 as the starting template – now maintained here.
   English labels are applied at render time from content/media/figures.json (src/figures/figures.js). */
/* Joint movement animations (atlas joint pages) */
.jm-fig svg.vis { width: 100%; max-width: 300px; display: block; margin: 0 auto; }
.jm-sil { fill: color-mix(in srgb, var(--line) 80%, var(--ink-3)); opacity: .45; }
.jm-eye { fill: var(--ink-3); }
.jm-spine { stroke: var(--ink-3); stroke-width: 1.4; stroke-dasharray: 3 3; fill: none; }
.jm-lo { fill: none; stroke: var(--bone-edge); stroke-linecap: round; }
.jm-li { fill: none; stroke: var(--bone); stroke-linecap: round; }
.jm-lh, .jm-end, .jm-hand, .jm-foot, .jm-sc { fill: var(--bone); stroke: var(--bone-edge); stroke-width: 1.2; stroke-linejoin: round; }
.jm-end { fill: color-mix(in srgb, var(--bone) 75%, var(--bone-edge)); }
.jm-scs { fill: none; stroke: var(--bone-edge); stroke-width: 3; stroke-linecap: round; }
.jm-pat { fill: var(--bone); stroke: var(--bone-edge); stroke-width: 1.2; }
.jm-palm { fill: var(--accent); }
.jm-thumb { fill: var(--bone); stroke: var(--bone-edge); stroke-width: 1.2; }
.jm-sole { stroke: var(--accent); stroke-width: 3; stroke-linecap: round; fill: none; }
.jm-seat { fill: var(--line-2); }
.jm-floor { stroke: var(--line-2); stroke-width: 1.5; }
.jm-far { opacity: .5; }
.jm-hh { fill: var(--bone-edge); }
.jm-pv { fill: var(--paper); stroke: var(--vis-synov); stroke-width: 1.6; }
.jm-ghost { opacity: .22; }
.jm-ghost .jm-mus, .jm-ghost .jm-ins { display: none; }
.jm-arcf { fill: color-mix(in srgb, var(--accent-soft) 70%, transparent); stroke: var(--accent); stroke-width: 1.2; }
.jm-mus { fill: none; stroke: #C9706A; stroke-width: 4; stroke-linecap: round; opacity: .55; transition: none; }
.jm-mus.on { stroke: #C2513F; stroke-width: 5.5; opacity: 1; }
.jm-mus.dash { stroke-dasharray: 6 4; }
.jm-ins { fill: #C2513F; }
.jm-tend { stroke: var(--bone-edge); stroke-width: 2; stroke-linecap: round; }
/* white halo: the full muscle names are long enough to cross the drawing */
.jm-ml { font-size: 10.5px; fill: var(--ink-2); font-weight: 500; paint-order: stroke; stroke: var(--paper); stroke-width: 3px; stroke-linejoin: round; }
.jm-ml.on { fill: #B0432F; font-weight: 600; }
.jm-t { font-size: 10.5px; fill: var(--ink-3); }
.jm-note { font-size: 11px; font-weight: 600; fill: var(--accent); }
.jm-read text { font-size: 11px; fill: var(--ink-2); }
.jm-read .jm-rv { font-size: 18px; font-weight: 700; fill: var(--accent); }

/* Copied from FZS Trener (src/vis) on 2026-11-26 as the starting template – now maintained here.
   English labels are applied at render time from content/media/figures.json (src/figures/figures.js). */
/* JointPlayer (3D joint movement + vector overlay) */
.jp { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.jp-stage { position: relative; width: 100%; aspect-ratio: 1; border-radius: 12px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 38%, #FFFFFF 0%, #F5F4F1 62%, #ECEAE5 100%); }
.jp-img { position: absolute; inset: 0; background-repeat: no-repeat; }
.jp-ov { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.jp-scale { fill: none; stroke: color-mix(in srgb, var(--accent) 55%, transparent); stroke-width: 3.5; }
.jp-tick { stroke: color-mix(in srgb, var(--accent) 55%, transparent); stroke-width: 2.5; }
.jp-tick.big { stroke: var(--accent); stroke-width: 3.5; }
.jp-tl { font: 600 24px/1 var(--font, system-ui), sans-serif; fill: var(--accent); paint-order: stroke; stroke: rgba(255, 255, 255, .85); stroke-width: 6px; }
.jp-fill { fill: color-mix(in srgb, var(--accent) 16%, transparent); stroke: none; }
.jp-ray { stroke: var(--accent); stroke-width: 3.5; stroke-dasharray: 10 7; fill: none; stroke-linecap: round; }
.jp-axis circle { fill: rgba(255, 255, 255, .9); stroke: var(--accent); stroke-width: 4; }
.jp-axis .jp-axd { fill: var(--accent); stroke: none; }
.jp-cal circle { fill: #fff; stroke: #B8282A; stroke-width: 4; filter: drop-shadow(0 1px 2px rgba(0,0,0,.25)); }
.jp-cal text { font: 700 26px/1 var(--font, system-ui), sans-serif; fill: #8E1F20; }
.jp-cal.jp-syn circle { stroke: #D9826F; stroke-dasharray: 9 6; }   /* helpers: dashed ring, not colour alone */
.jp-out { font: 700 22px/1 var(--font, system-ui), sans-serif; fill: #8E1F20; paint-order: stroke; stroke: #fff; stroke-width: 5px; } .jp-cal.jp-syn text { fill: #A4523F; }
.jp-read { position: absolute; left: 12px; top: 12px; display: flex; align-items: baseline; gap: 8px; padding: 6px 10px; border-radius: 8px;
  background: rgba(255, 255, 255, .86); box-shadow: 0 1px 2px rgba(16, 24, 40, .08); backdrop-filter: blur(4px); max-width: calc(100% - 24px); }
.jp-rn { font-size: 12px; font-weight: 600; color: var(--ink-2); text-transform: uppercase; letter-spacing: .04em; }
.jp-rv { font-size: 22px; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; min-width: 2.6ch; }
.jp-rr { font-size: 12px; color: var(--ink-3); }
.jp-ctrl { margin: 0; }
@media (max-width: 560px) { .jp-cal circle { r: 26px; } .jp-cal text { font-size: 30px; } .jp-read { left: 8px; top: 8px; padding: 4px 8px; } .jp-rv { font-size: 18px; } }

/* Copied from FZS Trener (src/vis) on 2026-11-26 as the starting template – now maintained here.
   English labels are applied at render time from content/media/figures.json (src/figures/figures.js). */
/* Joint and tissue plates (jointtypes, disc, ankle, photo) */
.jt-ahp { fill: var(--ink-3); }
.jt-ax { fill: none; stroke: var(--vis-synov); stroke-width: 1.6; stroke-dasharray: 5 3; stroke-linecap: round; }
.jt-arc { fill: none; stroke: var(--ink-3); stroke-width: 1.4; stroke-linecap: round; }
.jt-shape .b, .jt-bn { fill: var(--bone); stroke: var(--bone-edge); stroke-width: 1.1; stroke-linejoin: round; }
.jt-far { opacity: .55; }

/* joint type tiles */
.jt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 560px) { .jt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.jt-tile { margin: 0; padding: 8px 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.jt-tile svg.vis { max-width: 132px; }
.jt-tile.on { border-color: var(--hl); background: color-mix(in srgb, var(--accent-soft) 45%, var(--paper)); }
.jt-tile.on .b { fill: var(--accent-soft); stroke: var(--hl); }
.jt-tile.on .jt-ax { stroke: var(--accent); }
.jt-tile figcaption { display: flex; flex-direction: column; gap: 2px; font-size: 12px; line-height: 16px; }
.jt-n { font-weight: 600; color: var(--ink); }
.jt-tile.on .jt-n { color: var(--accent); }
.jt-la { color: var(--ink-2); font-style: italic; font-size: 11.5px; }
.jt-axn { color: var(--ink); display: flex; gap: 6px; align-items: flex-start; }
.jt-ex { color: var(--ink-2); }
.jt-dots { display: inline-flex; gap: 3px; padding-top: 4px; flex: none; }
.jt-dots i { width: 7px; height: 7px; border-radius: 50%; border: 1.2px solid var(--vis-synov); display: inline-block; box-sizing: border-box; }
.jt-dots i.f { background: var(--vis-synov); }

/* disc */
.jt-vb { fill: var(--bone); stroke: var(--bone-edge); stroke-width: 1.1; }
.jt-an { fill: var(--vis-cart); stroke: var(--vis-cart-edge); stroke-width: 1.1; }
.jt-np { fill: var(--vis-fluid); stroke: var(--vis-cart-edge); stroke-width: .8; stroke-dasharray: 3 2; }
.jt-drop { fill: #3E86C6; }
.jt-load { fill: none; stroke: var(--ink-2); stroke-width: 2.4; stroke-linecap: round; }
.jt-panel.on .jt-vb, .jt-panel.on .jt-bn { fill: var(--hl); stroke: var(--accent); fill-opacity: .25; }
.jt-panel.on .jt-pt { fill: var(--accent); font-weight: 600; }
.jt-panel.on .jt-res { fill: var(--accent); }
.jt-res { font-weight: 500; }

/* ankle */
.jt-axdot { fill: var(--paper); stroke: var(--vis-synov); stroke-width: 1.6; }
.jt-axl { fill: var(--vis-synov); }
.jt-sole { stroke: var(--ink-3); stroke-width: 1.2; stroke-dasharray: 4 3; }

/* 3D renders */
.jt-phs { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.jt-phs.n1 { grid-template-columns: minmax(0, 260px); justify-content: center; }
.jt-phs.n2, .jt-phs.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jt-ph { margin: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #F6F6F4; display: flex; flex-direction: column; min-width: 0; }
.jt-ph img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.jt-ph figcaption { background: var(--paper); padding: 6px 8px 8px; display: flex; flex-direction: column; font-size: 12px; line-height: 16px; border-top: 1px solid var(--line); }
.jt-ph.on { border-color: var(--hl); box-shadow: 0 0 0 1px var(--hl); }
.jt-ph.on .jt-n { color: var(--accent); }
.jt-ph.off img { opacity: .55; filter: grayscale(.6); }
.jt-ph.off .jt-n::after { content: ' ✕'; color: var(--ink-3); font-weight: 400; }
.jt-ph.on .jt-n::after { content: ' ✓'; }
.jt-credit { margin: 8px 0 0; font-size: 11px; color: var(--ink-3); }

/* Copied from FZS Trener (src/vis) on 2026-11-26 as the starting template – now maintained here.
   English labels are applied at render time from content/media/figures.json (src/figures/figures.js). */
/* movement renderer (animated kinesiology movements) */
.mv {
  --vis-body: #E9EDF0;
  --vis-body-edge: #9AA6AF;
  --vis-far: #D4DBE0;
  --vis-hair: #8E97A2;
  --vis-hl-soft: rgba(0, 113, 116, .14);
}
.mv-svg { display: block; width: 100%; height: auto; max-height: 440px; margin: 0 auto; overflow: hidden; font-family: var(--font); }
.mv path, .mv circle, .mv ellipse, .mv rect, .mv line { stroke-linejoin: round; stroke-linecap: round; }

/* body */
.mv .mv-b { fill: var(--vis-body); stroke: var(--vis-body-edge); stroke-width: 1.2; }
.mv .mv-f { fill: var(--vis-far); stroke: var(--vis-body-edge); stroke-width: 1.1; }
.mv .mv-h { fill: var(--hl); stroke: var(--accent); stroke-width: 1.3; }
.mv .mv-hs { fill: #0A5759; stroke: var(--accent); stroke-width: .8; }
.mv .mv-hair { fill: var(--vis-hair); stroke: none; }
.mv .mv-ear { fill: var(--vis-body); stroke: var(--vis-body-edge); stroke-width: 1; }
.mv .mv-eye { fill: var(--ink); }
.mv .mv-ln { fill: none; stroke: var(--vis-body-edge); stroke-width: 1.2; }
.mv .mv-xr { fill-opacity: .7; }
.mv .mv-pel { fill: var(--vis-far); stroke: var(--vis-body-edge); stroke-width: 1; }
.mv .mv-pelx { fill: none; stroke: var(--ink-3); stroke-width: 1.1; stroke-dasharray: 4 3; }
.mv .mv-tick { stroke: #fff; stroke-width: 2.4; }
.mv .mv-seat { fill: var(--line-2); stroke: var(--ink-3); stroke-width: 1; }
.mv .mv-seatleg { stroke: var(--ink-3); stroke-width: 4; }
.mv .mv-gnd { stroke: var(--line-2); stroke-width: 2; }
.mv .mv-db { fill: var(--ink-2); stroke: var(--ink); stroke-width: 1; }
.mv .mv-db2 { fill: none; stroke: #fff; stroke-opacity: .45; stroke-width: 1.2; }
.mv .mv-db3 { fill: var(--ink); }

/* bones & skin (forearm, back) */
.mv .mv-bone { fill: var(--bone); stroke: var(--bone-edge); stroke-width: 1.2; }
.mv .mv-skx { fill: var(--vis-body); fill-opacity: .6; stroke: var(--vis-body-edge); stroke-width: 1.2; }
.mv .mv-palm { fill: var(--accent-soft); stroke: var(--hl); stroke-width: 1.3; }
.mv .mv-dors { fill: var(--hl); stroke: var(--accent); stroke-width: 1.3; }
.mv .mv-crease { fill: none; stroke: var(--hl); stroke-width: 1; opacity: .7; }
.mv .mv-knuck { fill: var(--accent-soft); }
.mv .mv-axis { stroke: var(--accent); stroke-width: 1.2; stroke-dasharray: 6 4; opacity: .8; }
.mv .mv-ring { fill: none; stroke: var(--hl); stroke-width: 1; stroke-dasharray: 3 3; opacity: .55; }
.mv .mv-vert { fill: var(--bone); stroke: var(--bone-edge); stroke-width: .9; }
.mv .mv-rib { fill: none; stroke: var(--bone-edge); stroke-width: 1; opacity: .35; }

/* muscles */
.mv .mv-mu { fill: var(--muscle); stroke: var(--muscle-edge); stroke-width: 1.1; }
.mv .mv-mup { fill-opacity: .85; }
.mv .mv-tense { stroke-width: 2; animation: mv-pulse .5s ease-in-out infinite alternate; }
@keyframes mv-pulse { from { stroke-opacity: .55; } to { stroke-opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .mv .mv-tense { animation: none; } }

/* start ghost / end outline */
.mv .mv-g { opacity: .2; }
.mv .mv-gs { fill: var(--ink-3); stroke: none; }
.mv .mv-e { pointer-events: none; }
.mv .mv-es { fill: none; stroke: var(--hl); stroke-width: 1.3; stroke-dasharray: 4 3; }

/* range of motion */
.mv .mv-trk { fill: none; stroke: var(--hl); stroke-width: 1.4; stroke-dasharray: 3 4; opacity: .75; }
.mv .mv-trkl { stroke: var(--hl); stroke-width: 2; }
.mv .mv-arc { fill: none; stroke: var(--hl); stroke-width: 2.6; }
.mv .mv-wd { fill: var(--vis-hl-soft); stroke: none; }
.mv .mv-arr { fill: var(--hl); }
.mv .mv-num { font-size: 13px; font-weight: 700; fill: var(--hl); paint-order: stroke; stroke: #fff; stroke-width: 4px; font-variant-numeric: tabular-nums; }
.mv .mv-jt { fill: #fff; stroke: var(--accent); stroke-width: 2; }
.mv .mv-jd { fill: var(--accent); }

/* contraction types */
.mv .mv-fl { stroke-width: 3; }
.mv .mv-load.mv-fl { stroke: var(--ink-2); }
.mv .mv-load.mv-fa { fill: var(--ink-2); }
.mv .mv-pull.mv-fl { stroke: var(--muscle-edge); }
.mv .mv-pull.mv-fa { fill: var(--muscle-edge); }
.mv .mv-flab { font-size: 11px; fill: var(--ink-2); }
.mv .mv-gbg { fill: var(--line); }
.mv .mv-gfill { fill: var(--muscle-edge); }
.mv .mv-statel { font-size: 12px; font-weight: 600; fill: var(--accent); }

/* text */
.mv .mv-lab { font-size: 12.5px; font-weight: 600; fill: var(--ink); }
.mv .mv-lab .mv-lat { font-weight: 400; fill: var(--ink-2); font-size: 11px; }
.mv .mv-lead { stroke: var(--ink-3); stroke-width: 1; }
.mv .mv-small { font-size: 11px; fill: var(--ink-3); }
.mv .mv-state { font-size: 12px; font-weight: 600; fill: var(--accent); }
.mv .mv-dirlab { font-size: 11px; fill: var(--ink-3); }
.mv .mv-dira { fill: var(--ink-3); }

/* meta row under the figure */
.mv-meta { display: flex; flex-wrap: wrap; gap: 6px 8px; justify-content: center; align-items: center; margin-top: 8px; }
.mv-badge { font-size: 12px; line-height: 16px; font-weight: 600; padding: 4px 10px; border-radius: 100px; background: var(--accent-soft); color: var(--accent); }
.mv-chip { font-size: 12px; line-height: 16px; padding: 4px 10px; border-radius: 100px; background: var(--bg); color: var(--ink-2); }
.mv-key { font-size: 11px; color: var(--ink-3); display: inline-flex; align-items: center; gap: 4px; }
.mv-key i { display: inline-block; width: 14px; height: 10px; border-radius: 3px; }
.mv-kg { background: var(--ink-3); opacity: .3; }
.mv-ke { border: 1.3px dashed var(--hl); }
.mv-en { margin: 6px 0 0; font-size: 12px; color: var(--ink-3); text-align: center; }
.mv-expl { margin: 8px 0 0; font-size: 13px; line-height: 18px; color: var(--ink); text-align: center; }
.mv-mus { margin: 6px 0 0; font-size: 12px; line-height: 17px; color: var(--ink-2); text-align: center; }
.mv-mus b { color: var(--ink); font-weight: 600; }
.mv .mv-t { fill: #DCE3E8; }
.mv .mv-hair2 { fill: #A9B2BC; }
.mv .mv-dirl { stroke: var(--ink-3); stroke-width: 1.5; }
.mv .mv-gtick { stroke: var(--ink); stroke-width: 1.5; }

/* Copied from FZS Trener (src/vis) on 2026-11-26 as the starting template – now maintained here.
   English labels are applied at render time from content/media/figures.json (src/figures/figures.js). */
/* Muscle atlas (renderer "muscles") */
:root {
  --vis-mu: #EDB5A9;          /* superficial muscle */
  --vis-mu-fibre: #B8705F;
  --vis-mu-mute: #F6E3DE;     /* muscles that are not in focus */
  --vis-mu-mute-edge: #E2BFB6;
  --vis-mu-cand: #E79F8F;     /* candidate (before answering) */
  --vis-fascia: #F5EEE6;      /* tendon, aponeurosis, fascia */
  --vis-fascia-edge: #D6C3B2;
}
.mu-wrap path, .mu-wrap ellipse, .mu-wrap rect, .mu-wrap use { vector-effect: non-scaling-stroke; }
.mu-skin { fill: var(--skin); }  /* stroke inherited: none in the figure, outlined in the thumbnail */
.mu-out { fill: none; stroke: var(--skin-edge); stroke-width: 1; stroke-linejoin: round; }
.mu-navel { fill: none; stroke: var(--skin-edge); stroke-width: .8; }
.mu-spine { fill: none; stroke: var(--vis-fascia-edge); stroke-width: .7; stroke-dasharray: 1.5 2; }

/* muscle tissue */
.mu-m .s, .mu-x .s { fill: var(--vis-mu); stroke: var(--muscle-edge); stroke-width: .6; stroke-linejoin: round; }
.mu-m .f, .mu-x .f { fill: none; stroke: var(--vis-mu-fibre); stroke-width: .4; opacity: .5; }
.mu-m .dl, .mu-x .dl { fill: none; stroke: var(--muscle-edge); stroke-width: .8; stroke-linecap: round; }
.mu-fa .s { fill: var(--vis-fascia); stroke: var(--vis-fascia-edge); stroke-width: .5; }
.mu-bo .s { fill: var(--bone); stroke: var(--bone-edge); stroke-width: .6; }
.mu-bo .dl { fill: none; stroke: var(--vis-fascia-edge); stroke-width: .8; }

/* not in focus */
.mu-mute .s { fill: var(--vis-mu-mute); stroke: var(--vis-mu-mute-edge); }
.mu-mute .f { opacity: .22; }
.mu-mute .dl { stroke: var(--vis-mu-mute-edge); }
.mu-fa.mu-mute .s { fill: #F8F4EF; stroke: #E6DCD2; }
.mu-bo.mu-mute .s { opacity: .6; }

/* candidates before answering: natural tint, firm neutral outline (no hint which one is correct) */
.mu-cand .s { fill: var(--vis-mu-cand); stroke: var(--ink); stroke-width: 1.2; }
.mu-cand .f { stroke: #9A5040; opacity: .55; }
.mu-cand .dl { stroke: #9A5040; }

/* highlighted answer */
.mu-on .s { fill: var(--hl); stroke: var(--accent); stroke-width: 1.3; }
.mu-on .f { stroke: #fff; opacity: .4; }
.mu-on .dl { stroke: var(--accent); stroke-width: 1; }

/* deep muscles: translucent mint overlay with dashed outline, drawn above the faded superficial layer */
.mu-wrap .f, .mu-wrap .dl { fill: none; }
.mu-deep .s { fill-opacity: .62; }
.mu-deep .s { stroke-dasharray: 4 2.5; stroke-width: 1.5; }
.mu-deep .f { stroke-width: .5; opacity: .7; }
.mu-deep.mu-on .s { fill: #7FC4BC; stroke: var(--accent); }
.mu-deep.mu-on .f, .mu-deep.mu-on .dl { stroke: var(--hl); }
.mu-deep.mu-cand .s { fill: #F7D6CD; stroke: var(--ink); }
.mu-deep.mu-cand .f, .mu-deep.mu-cand .dl { stroke: #9A5040; }
.mu-deep.mu-part { opacity: 1; }
.mu-deep.mu-part .s { fill-opacity: .45; }
.mu-deep.mu-part .f, .mu-deep.mu-part .dl { display: none; }

/* frame of enlarged view and orientation thumbnail */
.mu-frame { fill: none; stroke: var(--line-2); stroke-width: 1; }
.mu-tsil { stroke: #AEB9C1; stroke-width: .8; }
.mu-tbox { fill: rgba(13, 61, 62, .08); stroke: var(--accent); stroke-width: 1.2; }

/* labels */
.mu-lead { fill: none; stroke: var(--ink-3); stroke-width: .8; }
.mu-dot { fill: var(--ink-2); stroke: #fff; stroke-width: .8; }
.mu-mode-hl .mu-lead { stroke: var(--accent); }
.mu-mode-hl .mu-dot { fill: var(--accent); }
.mu-lab { font-family: var(--font); font-size: 11px; fill: var(--ink-2); }
.mu-lab .mu-ln1 { font-weight: 500; fill: var(--ink); }
.mu-lab-hl .mu-ln1 { font-weight: 600; fill: var(--accent); }
.mu-lab .mu-ln2 { fill: var(--ink-2); }
.mu-lab .mu-ln3 { fill: var(--ink-3); font-style: italic; }
.mu-vlab { font-size: 11px; font-weight: 500; }

/* numbered fallback */
.vis-marker.mu-mk-n circle { fill: var(--ink-2); }
.mu-leg-n .vis-num { background: var(--ink-2); }
.mu-leg i { color: var(--ink-3); }

/* aponeurosis / tendon of a focused muscle */
.mu-fa-on .s { fill: #CFEAE6; stroke: var(--accent); stroke-width: .9; }
.mu-fa-cand .s { stroke: var(--ink); stroke-width: 1; }

/* wide layout (leader labels) vs narrow layout (bigger figure, numbered markers + legend) */
.mu-wrap { container-type: inline-size; position: relative; }
.mu-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.mu-wrap svg.mu-narrow { display: none; }
.mu-leg-narrow { display: none; }
.mu-mk text { font-weight: 700; }
@container (max-width: 400px) {
  .mu-wrap svg.mu-wide { display: none; }
  .mu-wrap svg.mu-narrow { display: block; }
  .mu-leg-narrow { display: block; }
}

/* Copied from FZS Trener (src/vis) on 2026-11-26 as the starting template – now maintained here.
   English labels are applied at render time from content/media/figures.json (src/figures/figures.js). */
/* Physiology figures (physio.js). All classes prefixed ph-. */
:root {
  --vis-ph-deoxy-soft: #DCE6F8;
  --vis-ph-oxy-soft: #F8DCDE;
  --vis-ph-myo: #E9B4A9;
  --vis-ph-myo-edge: #B8786C;
  --vis-ph-valve: #FBF6EA;
  --vis-ph-lung: #F4E6E7;
  --vis-ph-lung-edge: #CDAEB2;
  --vis-ph-e1: #BC7B12;
  --vis-ph-e2: #D82A38;
  --vis-ph-e3: #2F6FD6;
  --vis-ph-f1: #A8423D;
  --vis-ph-f2: #E3A096;
  --vis-ph-f3: #F7E6DE;
  --vis-ph-aff: #2F6FD6;
  --vis-ph-int: #BC7B12;
  --vis-ph-eff: #D82A38;
  --vis-ph-grey: #D9D4CC;
  --vis-ph-white: #F7F5F0;
  --vis-ph-band: #F5F7F9;
}

svg.ph { font-family: var(--font); }
.ph-t { font-size: 11px; fill: var(--ink-2); }
.ph-la { font-size: 10px; fill: var(--ink-3); font-weight: 400; }
.ph-strong { font-weight: 600; fill: var(--ink); }
.ph-ld { fill: none; stroke: var(--ink-3); stroke-width: 0.9; }
.ph-ld-dot { fill: var(--ink-3); }
.ph-ld.on { stroke: var(--hl); stroke-width: 1.3; }
.ph-ld-dot.on { fill: var(--hl); }
.ph-tick { font-size: 11px; fill: var(--ink-3); font-variant-numeric: tabular-nums; }
.ph-axt { font-size: 11px; fill: var(--ink-2); font-weight: 500; }
.ph-ann { font-size: 11px; fill: var(--ink-2); }
.ph-axis { stroke: var(--ink-3); stroke-width: 1; fill: none; }
.ph-grid { stroke: var(--line); stroke-width: 1; }
.ph-ref { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 4 3; }
.ph-brk { fill: none; stroke: var(--ink-3); stroke-width: 1; }
.ph-arw { fill: none; stroke: var(--ink-3); stroke-width: 1.4; }
.ph-arw.thin { stroke: var(--line-2); stroke-width: 1; }
.ph-arh { fill: var(--ink-3); }
.ph-leg li.on { color: var(--ink); }
.ph-leg li.on b { color: var(--hl); }
.ph-leg.has-on li:not(.on) .vis-num { background: var(--ink-3); }
.ph-leg { font-size: 13px; line-height: 18px; }
.ph-notes { font-size: 12.5px; line-height: 18px; }

/* ---- heart ---- */
.ph-ve { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ph-ve.deoxy { stroke: var(--deoxy); }
.ph-ve.oxy { stroke: var(--oxy); }
.ph-ve.on { stroke: var(--hl); }
.ph-vi { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ph-vi.deoxy { stroke: var(--vis-ph-deoxy-soft); }
.ph-vi.oxy { stroke: var(--vis-ph-oxy-soft); }
.ph-myo { fill: var(--vis-ph-myo); stroke: var(--vis-ph-myo-edge); stroke-width: 1.5; stroke-linejoin: round; }
.ph-lumen { stroke-width: 1; stroke-linejoin: round; }
.ph-lumen.deoxy { fill: var(--vis-ph-deoxy-soft); stroke: #9DB7E6; }
.ph-lumen.oxy { fill: var(--vis-ph-oxy-soft); stroke: #E6A3A8; }
.ph-lumen.on { stroke: var(--hl); stroke-width: 2.6; }
.ph-valve { fill: var(--vis-ph-valve); stroke: var(--bone-edge); stroke-width: 1; stroke-linejoin: round; }
.ph-cusp { fill: none; stroke: var(--bone-edge); stroke-width: 2.2; stroke-linecap: round; }
.ph-lung { fill: var(--vis-ph-lung); stroke: var(--vis-ph-lung-edge); stroke-width: 1.3; }
.ph-fiss { fill: none; stroke: var(--vis-ph-lung-edge); stroke-width: 1; }
.ph-cap { fill: none; stroke-width: 2.2; stroke-linecap: round; }
.ph-cap.deoxy { stroke: var(--deoxy); }
.ph-cap.oxy { stroke: var(--oxy); }
.ph-alv { fill: var(--paper); stroke: var(--vis-ph-lung-edge); stroke-width: 1; }
.ph-body { fill: var(--skin); stroke: var(--skin-edge); stroke-width: 1.2; }
.ph-org { font-size: 10.5px; fill: var(--ink-2); }
.ph-ch { font-size: 10.5px; fill: var(--ink); font-weight: 500; text-anchor: middle; }
.ph-ch.on { fill: var(--hl); font-weight: 700; }
.ph-vl { font-size: 11px; fill: var(--ink); font-weight: 500; }
.ph-vl.on { fill: var(--hl); font-weight: 600; }
.ph-vl.on .ph-la { fill: var(--hl); }
.ph-heart .ph-vl, .ph-heart .ph-ch, .ph-heart .ph-org { paint-order: stroke; stroke: var(--paper); stroke-width: 3px; stroke-linejoin: round; }
.ph-ch { stroke: none !important; }
.ph-vmark circle { fill: var(--paper); stroke: var(--ink-2); stroke-width: 1.2; }
.ph-vmark text { font-size: 12px; font-weight: 700; fill: var(--ink); text-anchor: middle; }
.ph-orient { font-size: 10px; fill: var(--ink-3); font-style: italic; }
.ph-dot { stroke: var(--paper); stroke-width: 1; }
.ph-dot.deoxy { fill: var(--deoxy); }
.ph-dot.oxy { fill: var(--oxy); }
.ph-key .ph-t { font-size: 10.5px; }

/* ---- energy ---- */
.ph-band { fill: var(--paper); }
.ph-band.alt { fill: var(--vis-ph-band); }
.ph-band.on { fill: var(--accent-soft); fill-opacity: 0.55; }
.ph-band.on-soft { fill: var(--vis-ph-band); }
.ph-ebn { font-size: 12px; font-weight: 600; fill: var(--ink); }
.ph-ebs { font-size: 10.5px; fill: var(--ink-3); }
.ph-ebl line { stroke-width: 3; stroke-linecap: round; }
.ph-ebl.e1 line { stroke: var(--vis-ph-e1); }
.ph-ebl.e2 line { stroke: var(--vis-ph-e2); }
.ph-ebl.e3 line { stroke: var(--vis-ph-e3); }
.ph-ebl.on .ph-ebn { fill: var(--accent); font-weight: 700; }
.ph-ebl.dim { opacity: 0.45; }
.ph-ecurve { fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ph-ecurve.e1 { stroke: var(--vis-ph-e1); }
.ph-ecurve.e2 { stroke: var(--vis-ph-e2); }
.ph-ecurve.e3 { stroke: var(--vis-ph-e3); }
.ph-ecurve.on { stroke-width: 3.6; }
.ph-ecurve.dim { opacity: 0.3; stroke-width: 1.8; }
.ph-earea { stroke: none; opacity: 0.13; }
.ph-earea.e1 { fill: var(--vis-ph-e1); }
.ph-earea.e2 { fill: var(--vis-ph-e2); }
.ph-earea.e3 { fill: var(--vis-ph-e3); }

/* ---- heart-rate scale ---- */
.ph-zone { fill: var(--bg); stroke: var(--line-2); stroke-width: 1; }
.ph-zone.on { fill: var(--accent-soft); stroke: var(--hl); stroke-width: 2; }
.ph-zn { font-size: 12px; font-weight: 600; fill: var(--ink); }
.ph-zr { font-size: 11px; fill: var(--ink-2); font-variant-numeric: tabular-nums; }
.ph-zn.on, .ph-zr.on { fill: var(--accent); }

/* ---- blood pressure / supercompensation ---- */
.ph-wave { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.ph-ph { font-size: 10px; fill: var(--ink-3); }
.ph-sc-gain { fill: var(--accent-soft); opacity: 0.8; }
.ph-sc-loss { fill: var(--bad-soft, #FEF2F3); }
.ph-load { fill: var(--warn); opacity: 0.85; }
.ph-best { fill: var(--hl); stroke: var(--paper); stroke-width: 1.5; }
.ph-best-l { stroke: var(--hl); stroke-width: 1.2; stroke-dasharray: 3 3; }
.ph-best-a { fill: none; stroke: var(--hl); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ph-best-t { font-size: 11.5px; font-weight: 600; fill: var(--hl); }
.ph-pstrip { fill: var(--bg); }
.ph-pstrip.alt { fill: var(--line); }
.ph-pstrip.on { fill: var(--accent-soft); }

/* ---- sarcomere ---- */
.ph-aband { fill: #EEE6EF; }
.ph-hzone { fill: #F7F3F8; }
.ph-mline { stroke: #9A86A3; stroke-width: 1; stroke-dasharray: 3 2; }
.ph-myo-f { stroke: #7C5A8A; stroke-width: 6; stroke-linecap: round; }
.ph-myo-f.nb, .ph-actin.nb { opacity: 0.35; }
.ph-head { fill: none; stroke: #7C5A8A; stroke-width: 2; stroke-linecap: round; }
.ph-actin { stroke: var(--hl); stroke-width: 2.6; stroke-linecap: round; }
.ph-z { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round; }
.ph-bl { font-size: 11px; fill: var(--ink); font-weight: 500; paint-order: stroke; stroke: var(--paper); stroke-width: 3px; }
.ph-skey { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; font-size: 12px; color: var(--ink-2); }
.ph-skey span { display: inline-flex; align-items: center; gap: 6px; }
.ph-skey i { display: inline-block; width: 22px; border-radius: 3px; }
.ph-skey .k-act { height: 3px; background: var(--hl); }
.ph-skey .k-myo { height: 6px; background: #7C5A8A; }

/* ---- fibre types ---- */
.ph-peri { fill: #FBF3EE; stroke: var(--muscle-edge); stroke-width: 1.4; }
.ph-fib { stroke: #B88F86; stroke-width: 0.8; }
.ph-fib.f0 { fill: var(--vis-ph-f1); }
.ph-fib.f1 { fill: var(--vis-ph-f2); }
.ph-fib.f2 { fill: var(--vis-ph-f3); }
.ph-fib.on { stroke: var(--hl); stroke-width: 2; }
.ph-fib.dim { opacity: 0.35; }
.ph-capil { fill: var(--oxy); }
.ph-fibtop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.ph-fibtop svg.ph-fibers { flex: 0 1 224px; width: 224px; max-width: 100%; margin: 0; }
.ph-fkeys { flex: 1 1 150px; list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 12px; line-height: 16px; color: var(--ink-2); }
.ph-fkeys li { display: flex; gap: 8px; align-items: flex-start; }
.ph-fkeys b { color: var(--ink); font-weight: 600; }
.ph-fkeys small { display: block; font-size: 11px; color: var(--ink-3); }
.ph-fkeys li.on b { color: var(--hl); }
.ph-fkeys li.dim { opacity: 0.5; }
.ph-sw { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 1px solid #B88F86; margin-top: 1px; }
.ph-sw.f0 { background: var(--vis-ph-f1); }
.ph-sw.f1 { background: var(--vis-ph-f2); }
.ph-sw.f2 { background: var(--vis-ph-f3); }
.ph-sw.cap { width: 6px; height: 6px; margin: 5px 5px 0; border: 0; background: var(--oxy); }
.ph-fkeys li.on .ph-sw { box-shadow: 0 0 0 2px var(--hl); }
.ph-ftab-wrap { margin-top: 10px; }
.ph-ftab { border-collapse: collapse; width: 100%; font-size: 12px; line-height: 15px; table-layout: fixed; }
.ph-ftab th, .ph-ftab td { padding: 5px 5px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.ph-ftab th:first-child, .ph-ftab td:first-child { width: 31%; color: var(--ink-2); }
.ph-ftab th { font-weight: 600; color: var(--ink); }
.ph-ftab th small { display: block; font-weight: 400; color: var(--ink-3); font-size: 11px; }
.ph-ftab .on { background: var(--accent-soft); color: var(--accent); }
.ph-ftab th.on { box-shadow: inset 0 2px 0 var(--hl); }
.ph-ftab td.on { font-weight: 600; }

/* ---- macros ---- */
.ph-mn { font-size: 12px; fill: var(--ink); font-weight: 500; }
.ph-mn.on { fill: var(--hl); font-weight: 600; }
.ph-mbar { fill: var(--line-2); }
.ph-mbar.alc { fill: var(--line); stroke: var(--line-2); stroke-dasharray: 3 2; }
.ph-mbar.on { fill: var(--hl); stroke: var(--accent); stroke-width: 1; stroke-dasharray: none; }
.ph-mv { font-size: 11.5px; }
.ph-mv.on .ph-strong { fill: var(--hl); }

/* ---- PRICE / POLICE ---- */
.ph-rice { display: grid; gap: 6px; }
.ph-rhead { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 2px; }
.ph-rtag { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: var(--accent); background: var(--accent-soft); border-radius: 4px; padding: 2px 8px; }
.ph-rtag.alt { background: var(--paper); box-shadow: inset 0 0 0 1px var(--hl); color: var(--hl); }
.ph-rnote { font-size: 12px; color: var(--ink-2); }
.ph-rold { flex-basis: 100%; font-size: 12px; font-weight: 600; color: var(--ink); }
.ph-rrow { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; align-items: center; padding: 6px 10px 6px 6px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); }
.ph-rl { width: 44px; height: 44px; border-radius: 8px; background: var(--accent); color: #fff; font-size: 22px; font-weight: 700; display: grid; place-items: center; }
.ph-rl2 { display: flex; flex-direction: column; gap: 6px; align-self: stretch; justify-content: space-around; }
.ph-rl2 i { font-style: normal; width: 44px; height: 36px; border-radius: 8px; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 20px; font-weight: 700; }
.ph-rl2 i.ol { background: var(--paper); color: var(--hl); box-shadow: inset 0 0 0 1.5px var(--hl); font-size: 17px; }
.ph-rt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.ph-rt b { font-size: 13px; line-height: 18px; color: var(--ink); font-weight: 600; }
.ph-rt b em { font-style: normal; font-weight: 500; color: var(--ink-3); font-size: 11px; }
.ph-rt span { font-size: 12px; line-height: 16px; color: var(--ink-2); }
.ph-rrow.ph-rsplit .ph-rt span { margin-bottom: 4px; }
.ph-rfoot { margin: 4px 0 0; font-size: 12px; line-height: 17px; color: var(--ink-2); }

/* ---- ANS ---- */
.ph-col { fill: var(--bg); }
.ph-col.on { fill: var(--accent-soft); stroke: var(--hl); stroke-width: 1.5; }
.ph-colh { font-size: 14px; font-weight: 700; fill: var(--ink); }
.ph-colh.on { fill: var(--accent); }
.ph-cols { font-size: 11px; fill: var(--ink-2); font-style: italic; }
.ph-sep { stroke: var(--line); stroke-width: 1; }
.ph-eff { font-size: 11.5px; fill: var(--ink); }
.ph-eff.on { fill: var(--accent); font-weight: 600; }
.ph-orgn { font-size: 10px; fill: var(--ink-2); font-weight: 500; }
.ph-orig { font-size: 10px; fill: var(--ink-3); }
.ph-dimg { opacity: 0.45; }
.ph-ic { fill: var(--muscle); stroke: var(--muscle-edge); stroke-width: 1.1; stroke-linejoin: round; }
.ph-ic.red { fill: #E89A92; }
.ph-ic.brown { fill: #C98B74; stroke: #94604C; }
.ph-ic.warn { fill: #F1D49B; stroke: var(--warn); }
.ph-ic-d { fill: #8FB3D9; stroke: #557FA8; stroke-width: 1; }
.ph-ic-k { fill: var(--ink); }
.ph-ic-l { fill: none; stroke: var(--muscle-edge); stroke-width: 1.8; stroke-linecap: round; }
.ph-ans .ph-ic:first-child:not(.red):not(.brown):not(.warn) { }

/* ---- reflex ---- */
.ph-skin { fill: var(--skin); stroke: var(--skin-edge); stroke-width: 1; }
.ph-epi { fill: #D8C3B5; }
.ph-pin { stroke: var(--ink-2); stroke-width: 1.6; stroke-linecap: round; }
.ph-pin-h { fill: var(--ink-2); }
.ph-recp { fill: none; stroke: var(--vis-ph-aff); stroke-width: 1.6; stroke-linecap: round; }
.ph-white { fill: var(--vis-ph-white); stroke: #B9B2A6; stroke-width: 1.3; }
.ph-grey { fill: var(--vis-ph-grey); stroke: #A9A196; stroke-width: 1; }
.ph-canal { fill: var(--paper); stroke: #A9A196; stroke-width: 0.8; }
.ph-root { fill: none; stroke: #EFE7D8; stroke-width: 12; stroke-linecap: round; }
.ph-nerve { fill: none; stroke: #EFE7D8; stroke-width: 14; stroke-linecap: round; }
.ph-gang { fill: #E8DCC3; stroke: #B9AB88; stroke-width: 1.2; }
.ph-n { fill: none; stroke-width: 2.2; stroke-linecap: round; }
.ph-n.aff { stroke: var(--vis-ph-aff); }
.ph-n.int { stroke: var(--vis-ph-int); }
.ph-n.eff { stroke: var(--vis-ph-eff); }
.ph-soma.aff { fill: var(--vis-ph-aff); stroke: var(--vis-ph-aff); }
.ph-soma.int { fill: var(--vis-ph-int); }
.ph-soma.eff { fill: var(--vis-ph-eff); stroke: var(--vis-ph-eff); stroke-width: 2; stroke-linecap: round; }
.ph-syn { fill: var(--paper); stroke: var(--ink); stroke-width: 1.2; }
.ph-tendon { stroke: #E6DCC6; stroke-width: 5; stroke-linecap: round; }
.ph-musc { fill: var(--muscle); stroke: var(--muscle-edge); stroke-width: 1.3; }
.ph-mf { stroke: var(--muscle-edge); stroke-width: 0.8; opacity: 0.6; }
.ph-endp { fill: var(--vis-ph-eff); }
.ph-imp { stroke: var(--paper); stroke-width: 1; }
.ph-imp.a { fill: var(--vis-ph-aff); }
.ph-imp.i { fill: var(--vis-ph-int); }
.ph-imp.e { fill: var(--vis-ph-eff); }
.ph-sl { font-size: 11px; fill: var(--ink-2); }
.ph-sl.strong { font-size: 11.5px; font-weight: 600; fill: var(--ink); }
.ph-pb { stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 3 3; }
.ph-chord { fill: none; stroke: var(--bone-edge); stroke-width: 0.8; }

/* Copied from FZS Trener (src/vis) on 2026-11-26 as the starting template – now maintained here.
   English labels are applied at render time from content/media/figures.json (src/figures/figures.js). */
/* Strength plates (fvcurve) */
.st-zone rect { fill: transparent; }
.st-zone + .st-zone rect { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 3; }
.st-zone.on rect { fill: var(--accent-soft); fill-opacity: .55; }
.st-zl { font-size: 11.5px; font-weight: 600; fill: var(--ink); }
.st-zt { font-size: 11px; fill: var(--ink-2); }
.st-zone.on .st-zl { fill: var(--accent); }
.st-ax { fill: none; stroke: var(--ink-3); stroke-width: 1.2; }
.st-axl { font-size: 11px; fill: var(--ink-3); }
.st-f { fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; }
.st-p { fill: none; stroke: var(--vis-synov); stroke-width: 2.2; stroke-dasharray: 6 4; stroke-linecap: round; }
.st-pk { stroke: var(--vis-synov); stroke-width: 1; stroke-dasharray: 2 3; }
.st-pd { fill: var(--vis-synov); }
.st-lf { font-size: 12px; font-weight: 600; fill: var(--accent); }
.st-lp { font-size: 12px; font-weight: 600; fill: var(--vis-synov); }
.st-zc { fill: var(--paper); stroke: var(--ink-3); stroke-width: 1; }
.st-zn { font-size: 11px; font-weight: 700; fill: var(--ink-2); }
.st-zone.on .st-zc { fill: var(--accent); stroke: var(--accent); }
.st-zone.on .st-zn { fill: #fff; }
.st-leg { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; }
.st-leg li { display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: 6px; font-size: 12px; line-height: 16px; }
.st-leg span { grid-row: span 2; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--ink-3); display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--ink-2); }
.st-leg b { font-weight: 600; color: var(--ink); }
.st-leg em { font-style: normal; color: var(--ink-2); }
.st-leg li.on span { background: var(--accent); border-color: var(--accent); color: #fff; }
.st-leg li.on b { color: var(--accent); }

/* Mounted FZS figures (src/figures/figures.js) */
.fig-live { background: var(--paper); border-radius: var(--r-md); box-shadow: 0 0 0 1px var(--line); padding: 12px; overflow: hidden; }
.fig-live .vis-wrap { max-width: 100%; }
.fig-live svg.vis { width: 100%; height: auto; display: block; }
.fig-atlas { display: flex; flex-direction: column; align-items: center; text-align: center; }
.fig-atlas img { width: min(100%, 360px); height: auto; border-radius: var(--r-sm); background: #F4F1EC; }
.fig-name { margin: 8px 0 0; }
.fig-anim .jp { max-width: 520px; margin: 0 auto; }
.fig-legend { margin: 10px 0 0; }
.fig-view { margin: 4px 0 0; }
.fig-credit { margin: 8px 0 0; font-size: 11px; color: var(--ink-3); }
.fig-credit a { color: inherit; }
.fc .fig-live { margin-top: 8px; }
.fig-vis .vis-wrap, .fig-movement .vis-wrap { max-width: 560px; margin: 0 auto; }
.fig-exercise { display: flex; flex-direction: column; align-items: center; text-align: center; }
.fig-exercise img { width: min(100%, 320px); height: auto; border-radius: var(--r-sm); background: #fff; }
.ex-mus, .ex-eq { margin: 4px 0 0; }
.ex-steps { margin-top: 8px; text-align: left; width: 100%; max-width: 520px; }
.ex-steps summary { cursor: pointer; color: var(--ink-2); }
.ex-locked { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 32px 12px; color: var(--ink-2); font-size: 14px; }
.ex-wait { padding: 32px 12px; }
