/* Layout: opzet van de flowontwerper, moderner. Zachte kleurgloed achter de pagina, sticky balk, hero met tekst links en een canvas met flowkaarten rechts, lessen als rijen in één afgeronde lijst. */
:root {
  --bg: #F6F8FC;
  --surface: #FFFFFF;
  --fg: #0F172A;
  --muted: #52607A;
  --line: #E1E7F2;
  --hover: #F3F6FD;
  --accent: #3F62C8;
  --accent-soft: #EAEFFA;
  --btn: #3F62C8;
  --btn-hover: #3250AD;
  --on-btn: #FFFFFF;
  --hl: #D7E3FF;
  --canvas: #FBFCFF;
  --grid: #D3DBEA;
  --wire: #9AA8C4;
  --chip: #ECF0F8;
  --chip-ink: #33415C;
  --c-trigger: #3F62C8;
  --c-action: #247A62;
  --c-cond: #475569;
  --on-c: #FFFFFF;
  --ok: #1F7A5C;
  --focus: #3F62C8;
  --glow-a: rgba(63, 98, 200, .11);
  --glow-b: rgba(36, 122, 98, .09);
  --shadow: 0 1px 2px rgba(15,23,42,.06), 0 6px 20px rgba(15,23,42,.07);
  --shadow-lg: 0 20px 50px rgba(15,23,42,.10);

  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B1020;
    --surface: #131A2E;
    --fg: #E8EDF8;
    --muted: #9AA7C2;
    --line: #243049;
    --hover: #1A2340;
    --accent: #8FA9EE;
    --accent-soft: #172346;
    --btn: #3F62C8;
    --btn-hover: #5273D8;
    --on-btn: #FFFFFF;
    --hl: #1F3A8A;
    --canvas: #0E1428;
    --grid: #26314F;
    --wire: #4A5878;
    --chip: #1D2740;
    --chip-ink: #D5DCEE;
    --c-trigger: #3F62C8;
    --c-action: #247A62;
    --c-cond: #475569;
    --on-c: #FFFFFF;
    --ok: #6BD9A8;
    --focus: #8FA9EE;
    --glow-a: rgba(63, 98, 200, .22);
    --glow-b: rgba(36, 122, 98, .14);
    --shadow: 0 1px 2px rgba(0,0,0,.5), 0 6px 20px rgba(0,0,0,.4);
    --shadow-lg: 0 20px 50px rgba(0,0,0,.5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B1020;
  --surface: #131A2E;
  --fg: #E8EDF8;
  --muted: #9AA7C2;
  --line: #243049;
  --hover: #1A2340;
  --accent: #8FA9EE;
  --accent-soft: #172346;
  --btn: #3F62C8;
  --btn-hover: #5273D8;
  --on-btn: #FFFFFF;
  --hl: #1F3A8A;
  --canvas: #0E1428;
  --grid: #26314F;
  --wire: #4A5878;
  --chip: #1D2740;
  --chip-ink: #D5DCEE;
  --c-trigger: #3F62C8;
  --c-action: #247A62;
  --c-cond: #475569;
  --on-c: #FFFFFF;
  --ok: #6BD9A8;
  --focus: #8FA9EE;
  --glow-a: rgba(63, 98, 200, .22);
  --glow-b: rgba(36, 122, 98, .14);
  --shadow: 0 1px 2px rgba(0,0,0,.5), 0 6px 20px rgba(0,0,0,.4);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.5);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 420px at 88% -8%, var(--glow-a), transparent 65%),
    radial-gradient(700px 360px at -4% 2%, var(--glow-b), transparent 65%);
  background-repeat: no-repeat;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  word-spacing: 0.05em;
  padding-inline: clamp(16px, 4vw, 40px);
  padding-block: 0 72px;
}
.wrap { max-width: 1100px; margin-inline: auto; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; text-wrap: balance; margin: 0; font-weight: 700; letter-spacing: -0.025em; word-spacing: 0.05em; }
p { margin: 0; }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 8px; }
code {
  font-family: var(--font-mono);
  font-size: 0.84em;
  background: var(--chip);
  color: var(--chip-ink);
  padding: 0.12em 0.45em;
  border-radius: 6px;
  overflow-wrap: anywhere;
}
.label { font-size: 13px; font-weight: 600; color: var(--muted); }

/* Balk */
.top {
  position: sticky; top: calc(env(safe-area-inset-top, 0px) + 12px); z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap;
  margin-top: 12px; padding: 8px 10px 8px 16px;
  background: var(--surface);
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
}
.brand { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -0.03em; color: var(--fg); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.brand svg { width: 28px; height: 28px; flex: none; }
.nav { display: flex; gap: 2px; font-weight: 600; font-size: 14px; flex-wrap: wrap; }
.nav a { color: var(--fg); text-decoration: none; padding: 7px 12px; border-radius: 10px; }
.nav a:hover { background: var(--accent-soft); color: var(--accent); }

/* Hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 64px);
  align-items: center; padding-block: clamp(40px, 7vw, 88px) 8px;
}
.hero .label {
  display: inline-block; background: var(--accent-soft); color: var(--accent);
  padding: 5px 12px; border-radius: 999px; font-size: 13px;
}
.hero h1 { font-size: clamp(34px, 5.4vw, 56px); font-weight: 700; margin-block: 18px 16px; line-height: 1.1; letter-spacing: -0.025em; word-spacing: 0.06em; }
.accent-word { color: var(--accent); }
.hero .lead { font-size: clamp(17px, 2vw, 19px); color: var(--muted); max-width: 31em; line-height: 1.55; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.btn {
  display: inline-block; font-weight: 600; font-size: 15px; text-decoration: none;
  padding: 12px 22px; border-radius: 12px; border: 1px solid var(--line);
}
.btn.primary { background: var(--btn); border-color: var(--btn); color: var(--on-btn); box-shadow: 0 1px 2px rgba(15,23,42,.2), 0 6px 16px rgba(63,98,200,.22); }
.btn.primary:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
.btn.ghost { background: var(--surface); color: var(--fg); }
.btn.ghost:hover { background: var(--hover); }

/* Canvas met flowkaarten */
.canvas {
  background-color: var(--canvas);
  background-image: radial-gradient(var(--grid) 1px, transparent 1px);
  background-size: 20px 20px;
  border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg);
  padding: 20px 20px 28px; min-width: 0;
}
.canvas > .label {
  display: inline-block; background: var(--chip); color: var(--chip-ink);
  padding: 3px 10px; border-radius: 999px; margin-bottom: 18px; font-size: 12px;
}
.flow { max-width: 360px; margin-inline: auto; display: flex; flex-direction: column; }
.node, .block {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); overflow: hidden; min-width: 0;
}
.node-h {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  color: var(--on-c); font-weight: 600; font-size: 15px; line-height: 1.3;
}
.node-h.trigger { background: var(--c-trigger); }
.node-h.action { background: var(--c-action); }
.node-h.cond { background: var(--c-cond); }
.ico { width: 28px; height: 28px; border-radius: 8px; background: rgba(255,255,255,.2); display: grid; place-items: center; flex: none; }
.ico svg { width: 15px; height: 15px; }
.node-b { padding: 10px 14px 12px; font-size: 14px; color: var(--muted); display: grid; gap: 2px; }
.node-b b { color: var(--fg); font-weight: 600; }
.wire { position: relative; width: 2px; height: 36px; background: var(--wire); margin-inline: auto; border-radius: 2px; }
.wire::after {
  content: "+"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 1px solid var(--wire);
  color: var(--accent); font-size: 15px; line-height: 19px; text-align: center; font-weight: 700;
}
.wire.yes::before {
  content: "Ja"; position: absolute; left: calc(50% + 20px); top: 50%; transform: translateY(-50%);
  font-size: 13px; font-weight: 700; color: var(--ok);
}

/* Secties */
section { padding-block: clamp(48px, 8vw, 88px) 0; }
.section-head { display: grid; gap: 10px; margin-bottom: 28px; max-width: 38em; }
.section-head h2 { font-size: clamp(26px, 4vw, 36px); }
.section-head p { color: var(--muted); font-size: 17px; }

/* Drie blokken */
.blocks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.block { border-radius: 16px; }
.block .node-h { padding: 12px 16px; }
.block-b { padding: 16px 18px 20px; display: grid; gap: 6px; align-content: start; }
.block-b h3 { font-size: 19px; }
.block-b p { color: var(--muted); }

/* Lessen */
.progress { display: grid; gap: 10px; margin-bottom: 22px; max-width: 460px; }
.bar { height: 8px; background: var(--chip); border-radius: 99px; overflow: hidden; }
.bar > i { display: block; height: 100%; width: 0; background: var(--btn); border-radius: 99px; }
@media (prefers-reduced-motion: no-preference) { .bar > i { transition: width .3s ease; } }

.lessons { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.lesson + .lesson, .lesson + .soon, .soon + .soon { border-top: 1px solid var(--line); }
.lesson > summary, .soon {
  display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 6px 16px; align-items: center;
  padding: 16px 20px; list-style: none; cursor: pointer;
}
.lesson > summary::-webkit-details-marker { display: none; }
.lesson > summary:hover { background: var(--hover); }
.num {
  width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-weight: 700; font-size: 16px; line-height: 1;
}
.ltitle { font-weight: 700; font-size: 17px; line-height: 1.3; letter-spacing: -0.015em; }
.meta { display: flex; gap: 6px 12px; flex-wrap: wrap; color: var(--muted); font-size: 13px; margin-top: 4px; align-items: center; }
.pill { font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: var(--chip); color: var(--chip-ink); }
.count { font-size: 13px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.count.done { color: var(--ok); font-weight: 700; }
.chev { width: 18px; height: 18px; flex: none; color: var(--muted); }
.lesson[open] .chev { transform: rotate(90deg); }
.right { display: flex; align-items: center; gap: 12px; }

.body { padding: 4px 20px 26px 72px; display: grid; gap: 16px; max-width: 800px; }
.body .intro { color: var(--muted); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.steps li { display: block; }
.steps label {
  display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start;
  padding: 9px 12px; border-radius: 10px; cursor: pointer;
}
.steps label:hover { background: var(--hover); }
.steps input { width: 19px; height: 19px; margin: 3px 0 0; accent-color: var(--btn); }
.steps input:checked + span { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--wire); }
.note { background: var(--accent-soft); border-radius: 12px; padding: 12px 16px; font-size: 15px; }
.note b { color: var(--fg); }

.soon { cursor: default; color: var(--muted); }
.soon .num { background: var(--chip); color: var(--muted); }
.soon .ltitle { font-weight: 500; }

/* Begrippen */
.terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; }
.term { padding: 18px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); min-width: 0; }
.term dt { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.015em; display: flex; gap: 4px 10px; align-items: baseline; flex-wrap: wrap; }
.term dt small { font-family: var(--font-mono); font-weight: 400; font-size: 12px; color: var(--muted); letter-spacing: 0; }
.term dd { margin: 6px 0 0; color: var(--muted); }

footer { margin-top: clamp(48px, 8vw, 88px); padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; display: grid; gap: 6px; }

@media (max-width: 820px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .blocks { grid-template-columns: minmax(0, 1fr); }
  .terms { grid-template-columns: minmax(0, 1fr); }
  .body { padding-left: 20px; }
}
@media (max-width: 520px) {
  .top { border-radius: 14px; padding: 8px 8px 8px 14px; }
  .lesson > summary, .soon { grid-template-columns: 32px minmax(0, 1fr); padding: 14px 16px; gap: 6px 12px; }
  .lesson > summary .right { grid-column: 2; justify-content: space-between; }
  .num { width: 32px; height: 32px; font-size: 15px; }
  .body { padding-inline: 16px; }
  .canvas { padding: 14px 12px 22px; border-radius: 20px; }
}

/* ===== Meerpaginasite: aanvullingen ===== */
@font-face { font-family: "Plus Jakarta Sans"; src: url("/fonts/plus-jakarta-sans.woff") format("woff"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono.woff") format("woff"); font-weight: 100 800; font-style: normal; font-display: swap; }
.cform { display: grid; gap: 8px; max-width: 560px; margin-top: 20px; }
.cform label { font-weight: 600; font-size: 15px; margin-top: 8px; }
.cform input, .cform select, .cform textarea { font: inherit; color: var(--fg); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; width: 100%; }
.cform input:focus-visible, .cform select:focus-visible, .cform textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.cform .fhint { color: var(--muted); font-size: 14px; margin: 4px 0 8px; }
.fsuccess { margin-top: 12px; padding: 14px 16px; border-radius: 12px; background: var(--accent-soft); color: var(--fg); font-weight: 600; }
.ferror { color: #B3261E; font-weight: 600; margin: 4px 0 0; }
.cform .hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.cform button { justify-self: start; cursor: pointer; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--btn); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
main:focus { outline: none; }
.related { margin-top: 32px; max-width: 640px; }
.related h2 { font-size: 20px; margin: 0 0 8px; }
.related ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.updated { color: var(--muted); font-size: 14px; margin-top: 28px; }
.fb, .signup { margin-top: 28px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); max-width: 640px; }
.fb h2, .signup h2 { margin: 0 0 6px; font-size: 20px; }
.signup p { color: var(--muted); margin: 0 0 4px; }
.cform .choice { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 4px; }
.cform .choice label, .cform label.chk { display: flex; gap: 8px; align-items: center; font-weight: 500; margin-top: 4px; }
.cform .choice input, .cform label.chk input { width: auto; }
.lessons-404 { margin-top: 28px; display: grid; gap: 8px; padding-left: 1.1em; }
html[lang="en"] .wire.yes::before { content: "Yes"; }
.nav .langsw { margin-left: 6px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
.row {
  display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 6px 16px; align-items: center;
  padding: 16px 20px; color: inherit; text-decoration: none;
}
a.row:hover { background: var(--hover); }
.row + .row { border-top: 1px solid var(--line); }
.row.soon { cursor: default; color: var(--muted); opacity: 1; border-style: solid; background: transparent; }
.row.soon .ltitle { font-weight: 500; }

.crumbs { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 14px; color: var(--muted); padding-top: clamp(28px, 5vw, 48px); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: .6; }

.article { max-width: 780px; padding-bottom: 8px; }
.article .kicker { display: inline-block; margin-top: 18px; background: var(--accent-soft); color: var(--accent); padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.article h1 { font-size: clamp(30px, 4.8vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-block: 14px 14px; }
.article h2 { font-size: clamp(22px, 3vw, 28px); margin-block: 36px 12px; }
.article .lead { font-size: 18px; color: var(--muted); max-width: 36em; }
.article p + p { margin-top: 12px; }
.article ul { margin: 8px 0 0; padding-left: 1.2em; color: var(--muted); }
.article ul li + li { margin-top: 6px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.lprog { display: grid; gap: 8px; margin-block: 8px 14px; max-width: 460px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 10px; }
.article .note { margin-top: 18px; }
.need { margin-top: 24px; }

.pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.pager a {
  display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface); box-shadow: var(--shadow); text-decoration: none; color: var(--fg); min-width: 0;
}
.pager a:hover { background: var(--hover); }
.pager a small { color: var(--muted); font-size: 13px; }
.pager a strong { font-family: var(--font-display); font-size: 16px; line-height: 1.3; }
.pager .next { text-align: right; grid-column: 2; }
.pager .prev { grid-column: 1; }

.hero { padding-block: clamp(20px, 3.2vw, 40px) 0; gap: clamp(28px, 4vw, 56px); }
.hero h1 { font-size: clamp(36px, 5.6vw, 64px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.06; margin-block: 20px 20px; }
.hero .lead b { color: var(--fg); font-weight: 700; }
.facts { display: flex; gap: 10px 22px; flex-wrap: wrap; margin: 28px 0 0; padding: 0; list-style: none; font-size: 15px; font-weight: 600; color: var(--muted); }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts li::before { content: "\2713"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--c-action); color: #fff; font-size: 12px; line-height: 1; }
section { padding-block: clamp(40px, 6vw, 64px) 0; }
.cta-center { margin-top: 20px; }
footer a { color: var(--muted); }
footer .flinks { display: flex; gap: 6px 18px; flex-wrap: wrap; margin-bottom: 6px; }

@media (max-width: 520px) {
  .row { grid-template-columns: 32px minmax(0, 1fr); padding: 14px 16px; gap: 6px 12px; }
  .row .right { grid-column: 2; justify-content: space-between; }
  .pager { grid-template-columns: minmax(0, 1fr); }
  .pager .next, .pager .prev { grid-column: 1; text-align: left; }
}

/* Voorbeeldflow in lessen */
.flowfig { max-width: 440px; margin: 28px 0 0; }
.flowfig .flow { max-width: 380px; }
.flowfig figcaption { margin-top: 16px; font-size: 14px; color: var(--muted); text-align: center; }
.node-h.fail { background: #B42318; }

/* Schermafbeeldingen in stappen */
.shot { margin: 10px 0 8px 34px; }
.shot a { display: block; }
.shot img { display: block; width: auto; max-width: 100%; height: auto; max-height: 460px; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); background: var(--surface); }
.shot figcaption { font-size: 13px; color: var(--muted); margin-top: 7px; }
.shot .zoom { opacity: .8; }
@media (max-width: 520px) { .shot { margin-left: 0; } .shot img { width: 100%; max-height: none; } }

/* Kopieerknop bij formules */
code.cp { -webkit-user-select: all; user-select: all; cursor: text; overflow-wrap: anywhere; }
.copybtn { margin-left: 8px; font: inherit; font-size: 12px; font-weight: 700; font-style: normal; padding: 2px 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--accent); cursor: pointer; vertical-align: middle; }
.copybtn:hover { background: var(--hover); }
.copybtn.done { color: var(--ok); border-color: var(--ok); }
.xt code.cp { background: none; padding: 0; font: inherit; color: inherit; }
@media print { .copybtn, .fb, .signup, .skip, .related { display: none !important; } }

/* Knoppen uit de flowontwerper */
.kbtn { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 7px; background: var(--btn); color: #fff; font-size: 12px; font-weight: 700; font-style: italic; vertical-align: middle; margin: 0 2px; }
.kbtn svg { width: 12px; height: 12px; }

/* Spiekbriefje */
.sheet { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.sc { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 18px 20px; min-width: 0; }
.sc.wide { grid-column: 1 / -1; }
.sc h2 { font-size: 18px; margin: 0 0 12px; letter-spacing: -0.015em; }
.sc ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; font-size: 14.5px; }
.sc li { color: var(--muted); }
.sc li b { color: var(--fg); }
.sc p { font-size: 14px; color: var(--muted); margin-top: 10px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; color: #fff; margin-right: 6px; }
.tag.trigger { background: var(--c-trigger); }
.tag.action { background: var(--c-action); }
.tag.cond { background: var(--c-cond); }
.xt { width: 100%; border-collapse: collapse; font-size: 14px; }
.xt td { padding: 8px 0; border-top: 1px solid var(--line); vertical-align: top; color: var(--muted); }
.xt tr:first-child td { border-top: 0; }
.xt td:first-child { font-family: var(--font-mono); font-size: 12.5px; color: var(--accent); padding-right: 16px; width: 52%; overflow-wrap: anywhere; }
.printonly { display: none; }
.promo { display: flex; gap: 16px 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 22px 24px; }
.promo h3 { font-size: 20px; margin: 0 0 4px; }
.promo p { color: var(--muted); margin: 0; max-width: 34em; }
@media (max-width: 820px) { .sheet { grid-template-columns: minmax(0, 1fr); } .xt td:first-child { width: 48%; } }
@media print {
  @page { size: A4; margin: 11mm; }
  body { background: #fff !important; font-size: 11px; }
  body::before, body::after { display: none !important; }
  .top, footer, .crumbs, .cta-row, .pager, .kicker { display: none !important; }
  .wrap { max-width: none; padding: 0; }
  .article { padding: 0; }
  .article h1 { font-size: 24px; margin: 0 0 4px; }
  .article .lead { font-size: 11.5px; margin: 0; max-width: none; }
  .sheet { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px; margin-top: 10px; }
  .article .note { font-size: 9.5px; padding: 7px 10px; margin-top: 8px; border-radius: 8px; }
  .xt td:first-child { width: 50% !important; }
  .sc { box-shadow: none; padding: 9px 11px; border-radius: 10px; break-inside: avoid; }
  .sc h2 { font-size: 12.5px; margin: 0 0 6px; }
  .sc ul { gap: 4px; font-size: 10px; }
  .sc p { font-size: 9.5px; margin-top: 6px; }
  .xt { font-size: 9.5px; }
  .xt td { padding: 3.5px 0; }
  .xt td:first-child { font-size: 8.8px; padding-right: 10px; }
  .tag { font-size: 9px; padding: 1px 7px; }
  .printonly { display: block; margin-top: 8px; font-size: 10px; color: var(--muted); text-align: center; }
}
.expr { display: inline-block; font-family: var(--font-mono); font-size: 12.5px; background: var(--accent-soft); color: var(--accent); padding: 1px 8px; border-radius: 6px; }

