/* ==========================================================================
   FxMath LR Studio — documentation stylesheet
   Plain CSS, no build step, no external fonts or CDN dependencies.
   Works from a local file:// path.
   ========================================================================== */

/* --------------------------------------------------------------- tokens */
:root {
  --sidebar-w: 286px;
  --content-max: 920px;

  --bg: #0e1116;
  --bg-soft: #141922;
  --panel: #181e28;
  --panel-2: #1e2532;
  --border: #273040;
  --border-soft: #1f2632;

  --fg: #e6ebf2;
  --fg-dim: #a6b2c4;
  --fg-faint: #6f7d92;

  --accent: #4c9aff;
  --accent-bg: rgba(76, 154, 255, 0.12);

  --ok: #38d39f;
  --ok-bg: rgba(56, 211, 159, 0.12);
  --warn: #f5b642;
  --warn-bg: rgba(245, 182, 66, 0.12);
  --err: #ff6b6b;
  --err-bg: rgba(255, 107, 107, 0.12);
  --info: #59c2ff;
  --info-bg: rgba(89, 194, 255, 0.12);
  --purple: #b48ead;
  --purple-bg: rgba(180, 142, 173, 0.12);

  --radius: 10px;
  --radius-sm: 6px;
  --mono: "JetBrains Mono", "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;

  --shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

html[data-theme="light"] {
  --bg: #f7f9fc;
  --bg-soft: #eef2f8;
  --panel: #ffffff;
  --panel-2: #f2f5fa;
  --border: #d7dfeb;
  --border-soft: #e5eaf2;

  --fg: #16202e;
  --fg-dim: #4a5768;
  --fg-faint: #7b8798;

  --accent: #1a73e8;
  --accent-bg: rgba(26, 115, 232, 0.1);

  --ok: #0f9d70;
  --ok-bg: rgba(15, 157, 112, 0.1);
  --warn: #b37700;
  --warn-bg: rgba(179, 119, 0, 0.1);
  --err: #d93025;
  --err-bg: rgba(217, 48, 37, 0.1);
  --info: #116cae;
  --info-bg: rgba(17, 108, 174, 0.1);
  --purple: #7d5a8f;
  --purple-bg: rgba(125, 90, 143, 0.1);

  --shadow: 0 4px 18px rgba(20, 35, 60, 0.1);
}

/* ---------------------------------------------------------------- reset */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

code, pre, kbd, .mono { font-family: var(--mono); }

/* --------------------------------------------------------------- layout */
.layout { display: flex; min-height: 100vh; }

/* ------------------------------------------------------------- sidebar */
.sidebar {
  width: var(--sidebar-w);
  flex: 0 0 var(--sidebar-w);
  background: var(--bg-soft);
  border-right: 1px solid var(--border);
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  padding: 0 0 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  background: var(--bg-soft);
  z-index: 5;
}

.brand-mark {
  width: 34px; height: 34px;
  flex: 0 0 34px;
  border-radius: 9px;
  background: linear-gradient(140deg, var(--accent), var(--purple));
  display: grid; place-items: center;
  font-weight: 800; font-size: 13px; color: #fff;
  letter-spacing: -0.5px;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text b { font-size: 13.5px; letter-spacing: -0.2px; }
.brand-text span { font-size: 10.5px; color: var(--fg-faint); }

.nav { padding: 14px 10px 0; }

.nav-group-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--fg-faint);
  padding: 14px 10px 6px;
}

.nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  color: var(--fg-dim);
  font-size: 13.5px;
  text-decoration: none;
  transition: background 0.12s, color 0.12s;
}

.nav a:hover { background: var(--panel-2); color: var(--fg); text-decoration: none; }

.nav a.active {
  background: var(--accent-bg);
  color: var(--accent);
  font-weight: 600;
}

.nav a .num {
  flex: 0 0 21px;
  height: 21px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10.5px;
  font-weight: 700;
  background: var(--panel-2);
  color: var(--fg-faint);
}

.nav a.active .num { background: var(--accent); color: #fff; }

/* ---------------------------------------------------------- main column */
.main { flex: 1 1 auto; min-width: 0; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 26px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

.crumbs { font-size: 12.5px; color: var(--fg-faint); flex: 1 1 auto; }
.crumbs a { color: var(--fg-dim); }
.crumbs .sep { margin: 0 7px; opacity: 0.5; }

.search-wrap { position: relative; width: 260px; }

.search-wrap input {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--fg);
  border-radius: var(--radius-sm);
  padding: 7px 30px 7px 11px;
  font-size: 13px;
  font-family: var(--sans);
}
.search-wrap input:focus { outline: none; border-color: var(--accent); }
.search-wrap .kbd {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-size: 10px; color: var(--fg-faint);
  border: 1px solid var(--border); border-radius: 4px; padding: 1px 5px;
}

.search-results {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 440px;
  max-height: 420px;
  overflow-y: auto;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: none;
  z-index: 30;
}
.search-results.open { display: block; }

.search-results .sr-item {
  display: block;
  padding: 9px 13px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--fg);
  text-decoration: none;
}
.search-results .sr-item:last-child { border-bottom: 0; }
.search-results .sr-item:hover { background: var(--panel-2); text-decoration: none; }
.search-results .sr-item .t { font-size: 13px; font-weight: 600; }
.search-results .sr-item .p { font-size: 11px; color: var(--fg-faint); margin-top: 1px; }
.search-results .sr-empty { padding: 16px; color: var(--fg-faint); font-size: 13px; text-align: center; }

.theme-btn {
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--fg-dim);
  border-radius: var(--radius-sm);
  width: 32px; height: 32px;
  cursor: pointer;
  font-size: 14px;
  display: grid; place-items: center;
  flex: 0 0 32px;
}
.theme-btn:hover { color: var(--fg); border-color: var(--accent); }

.menu-btn { display: none; }

/* -------------------------------------------------------------- content */
.content {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 34px 26px 110px;
}

.hero {
  padding: 30px 0 26px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 30px;
}

.hero .eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

h1 {
  font-size: 33px;
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin: 0 0 14px;
  font-weight: 750;
}

.hero p.lead {
  font-size: 16.5px;
  color: var(--fg-dim);
  margin: 0;
  max-width: 74ch;
}

h2 {
  font-size: 23px;
  letter-spacing: -0.4px;
  margin: 52px 0 14px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--border-soft);
  font-weight: 700;
}

h3 { font-size: 17.5px; margin: 34px 0 10px; letter-spacing: -0.2px; font-weight: 650; }
h4 { font-size: 14.5px; margin: 24px 0 8px; color: var(--fg-dim); font-weight: 650; }

p { margin: 0 0 15px; }
ul, ol { margin: 0 0 15px; padding-left: 22px; }
li { margin-bottom: 7px; }
li > ul, li > ol { margin-top: 7px; margin-bottom: 0; }

strong { color: var(--fg); font-weight: 650; }

hr { border: 0; border-top: 1px solid var(--border-soft); margin: 40px 0; }

/* ------------------------------------------------------------- anchors */
.h-anchor {
  opacity: 0;
  margin-left: 9px;
  font-size: 0.75em;
  color: var(--fg-faint);
  text-decoration: none;
  transition: opacity 0.12s;
}
h2:hover .h-anchor, h3:hover .h-anchor, h4:hover .h-anchor { opacity: 1; }

/* ---------------------------------------------------------------- code */
code {
  background: var(--panel-2);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  padding: 1.5px 5px;
  font-size: 0.855em;
  color: var(--fg);
  word-break: break-word;
}

pre {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 15px 16px;
  overflow-x: auto;
  margin: 0 0 18px;
  font-size: 12.8px;
  line-height: 1.62;
}

pre code {
  background: none;
  border: 0;
  padding: 0;
  font-size: inherit;
  color: var(--fg);
}

pre .cmt { color: var(--fg-faint); font-style: italic; }
pre .ok { color: var(--ok); }
pre .warn { color: var(--warn); }
pre .err { color: var(--err); }
pre .key { color: var(--accent); }
pre .str { color: var(--ok); }
pre .num { color: var(--purple); }

.copy-btn {
  position: absolute;
  top: 8px; right: 8px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  color: var(--fg-faint);
  border-radius: 5px;
  font-size: 10.5px;
  padding: 3px 8px;
  cursor: pointer;
  font-family: var(--sans);
  opacity: 0;
  transition: opacity 0.12s, color 0.12s;
}
pre:hover .copy-btn { opacity: 1; }
.copy-btn:hover { color: var(--fg); border-color: var(--accent); }
.copy-btn.done { color: var(--ok); border-color: var(--ok); }

/* ------------------------------------------------------------- callouts */
.callout {
  display: flex;
  gap: 12px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--fg-faint);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 13px 16px;
  margin: 0 0 18px;
  font-size: 14.3px;
}

.callout .ci { flex: 0 0 auto; font-size: 15px; line-height: 1.5; }
.callout .cb { flex: 1 1 auto; min-width: 0; }
.callout .cb > :last-child { margin-bottom: 0; }
.callout .ct { font-weight: 700; display: block; margin-bottom: 3px; font-size: 13.5px; }

.callout.note { border-left-color: var(--info); background: var(--info-bg); }
.callout.note .ct { color: var(--info); }
.callout.tip { border-left-color: var(--ok); background: var(--ok-bg); }
.callout.tip .ct { color: var(--ok); }
.callout.warn { border-left-color: var(--warn); background: var(--warn-bg); }
.callout.warn .ct { color: var(--warn); }
.callout.danger { border-left-color: var(--err); background: var(--err-bg); }
.callout.danger .ct { color: var(--err); }

/* ---------------------------------------------------------------- table */
.table-wrap { overflow-x: auto; margin: 0 0 20px; border: 1px solid var(--border); border-radius: var(--radius); }

table { width: 100%; border-collapse: collapse; font-size: 13.4px; background: var(--panel); }

th {
  text-align: left;
  padding: 10px 13px;
  background: var(--panel-2);
  border-bottom: 1px solid var(--border);
  font-weight: 650;
  font-size: 12.2px;
  letter-spacing: 0.02em;
  color: var(--fg-dim);
  white-space: nowrap;
}

td { padding: 9px 13px; border-bottom: 1px solid var(--border-soft); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--panel-2); }
td code { font-size: 0.9em; }

/* ---------------------------------------------------------------- cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); gap: 14px; margin: 0 0 22px; }

.card {
  display: block;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 15px 16px;
  color: var(--fg);
  text-decoration: none;
  transition: border-color 0.14s, transform 0.14s;
}
.card:hover { border-color: var(--accent); transform: translateY(-2px); text-decoration: none; }
.card .ct2 { font-weight: 650; font-size: 14.5px; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.card .cd { font-size: 12.8px; color: var(--fg-dim); line-height: 1.5; }
.card .cstep {
  font-size: 10px; font-weight: 700;
  background: var(--accent-bg); color: var(--accent);
  border-radius: 4px; padding: 1px 6px;
}

/* ---------------------------------------------------------------- video */
/* Click-to-load facade: nothing is requested from YouTube until the reader
   asks for it. Keeps the page fast and avoids third-party requests on load. */
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a0e14;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0 0 14px;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-facade {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background-color: #0a0e14;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-family: var(--sans);
}

.video-facade::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 7, 12, 0.25) 0%,
                                      rgba(4, 7, 12, 0.72) 100%);
  transition: background 0.18s;
}
.video-facade:hover::before {
  background: linear-gradient(180deg, rgba(4, 7, 12, 0.12) 0%,
                                      rgba(4, 7, 12, 0.6) 100%);
}

.video-facade .vf-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 20px;
  text-align: center;
}

.video-facade .vf-play {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: #ff0000;
  display: grid; place-items: center;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.5);
  transition: transform 0.18s;
}
.video-facade:hover .vf-play { transform: scale(1.08); }

.video-facade .vf-play::after {
  content: "";
  width: 0; height: 0;
  border-style: solid;
  border-width: 15px 0 15px 25px;
  border-color: transparent transparent transparent #fff;
  margin-left: 5px;
}

.video-facade .vf-title {
  font-size: 17px;
  font-weight: 650;
  color: #fff;
  max-width: 44ch;
  line-height: 1.4;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.video-facade .vf-sub {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.75);
}

/* the meta strip under the player */
.video-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font-size: 13px;
  color: var(--fg-faint);
  margin: 0 0 24px;
}
.video-meta .vm-strong { color: var(--fg-dim); font-weight: 600; }

/* timestamped chapter list that seeks the video */
.chapter-box {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 10px;
  margin: 0 0 20px;
}

.chapters-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: ch;
}

.chapters-list li { margin: 0; border-bottom: 1px solid var(--border-soft); }
.chapters-list li:last-child { border-bottom: 0; }

.chapters-list button {
  display: flex;
  width: 100%;
  align-items: baseline;
  gap: 14px;
  background: none;
  border: 0;
  padding: 9px 8px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 13.6px;
  color: var(--fg-dim);
  text-align: left;
  border-radius: var(--radius-sm);
  transition: background 0.12s, color 0.12s;
}
.chapters-list button:hover { background: var(--panel-2); color: var(--fg); }

.chapters-list .ch-time {
  flex: 0 0 62px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--accent);
  font-weight: 600;
}

.chapters-list .ch-sec { flex: 1 1 auto; min-width: 0; }

.chapters-list .ch-group {
  flex: 0 0 auto;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-faint);
}

@media (max-width: 620px) {
  .chapters-list .ch-group { display: none; }
  .video-facade .vf-title { font-size: 14px; }
  .video-facade .vf-play { width: 56px; height: 56px; }
}

/* --------------------------------------------------------------- badges */
.badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
  vertical-align: middle;
}
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.err { background: var(--err-bg); color: var(--err); }
.badge.info { background: var(--info-bg); color: var(--info); }
.badge.mute { background: var(--panel-2); color: var(--fg-faint); }

/* ------------------------------------------------------- flow diagrams */
.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.flow .node {
  display: flex; flex-direction: column;
  gap: 1px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 11px;
  font-size: 12.5px;
  font-weight: 600;
}
.flow .node small { font-weight: 400; color: var(--fg-faint); font-size: 10.5px; }
.flow .node.hot { border-color: var(--accent); background: var(--accent-bg); color: var(--accent); }
.flow .arrow { color: var(--fg-faint); font-size: 14px; }

/* vertical step chain */
.chain { margin: 0 0 22px; }

.chain .step {
  position: relative;
  padding: 0 0 22px 44px;
  border-left: 2px solid var(--border);
  margin-left: 15px;
}
.chain .step:last-child { border-left-color: transparent; padding-bottom: 0; }

.chain .step::before {
  content: attr(data-n);
  position: absolute;
  left: -15px; top: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--panel-2);
  border: 2px solid var(--border);
  color: var(--fg-dim);
  display: grid; place-items: center;
  font-size: 11.5px; font-weight: 700;
}

.chain .step.done::before { background: var(--ok); border-color: var(--ok); color: #06140f; }
.chain .step.hot::before { background: var(--accent); border-color: var(--accent); color: #fff; }

.chain .step .sh { font-weight: 650; font-size: 15px; margin-bottom: 3px; }
.chain .step .sd { font-size: 13.6px; color: var(--fg-dim); }
.chain .step .sd > :last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- misc */
.lede { font-size: 16px; color: var(--fg-dim); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.stat {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 15px;
}
.stat .sv { font-size: 21px; font-weight: 700; letter-spacing: -0.5px; }
.stat .sl { font-size: 11.5px; color: var(--fg-faint); text-transform: uppercase; letter-spacing: 0.05em; }

.kv { margin: 0 0 18px; }
.kv .row { display: flex; gap: 14px; padding: 7px 0; border-bottom: 1px solid var(--border-soft); font-size: 13.6px; }
.kv .row:last-child { border-bottom: 0; }
.kv .k { flex: 0 0 190px; color: var(--fg-dim); }
.kv .v { flex: 1 1 auto; min-width: 0; }

/* pagination + TOC */
.toc {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 17px;
  margin: 0 0 30px;
  font-size: 13.4px;
}
.toc .tt { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-faint); margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 18px; }
.toc li { margin-bottom: 4px; }
.toc a { color: var(--fg-dim); }
.toc a:hover { color: var(--accent); }

.pager {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--border-soft);
}
.pager a {
  flex: 1 1 0;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 15px;
  color: var(--fg);
  text-decoration: none;
  min-width: 0;
}
.pager a:hover { border-color: var(--accent); text-decoration: none; }
.pager a .pl { font-size: 10.5px; color: var(--fg-faint); text-transform: uppercase; letter-spacing: 0.06em; }
.pager a .pn { font-weight: 600; font-size: 14px; margin-top: 2px; }
.pager a.next { text-align: right; }
.pager .spacer { flex: 1 1 0; }

/* progress bar at very top */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px;
  background: var(--accent); width: 0; z-index: 100;
  transition: width 0.06s linear;
}

/* ------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .search-wrap { width: 190px; }
  .search-results { width: 340px; }
}

@media (max-width: 900px) {
  .sidebar {
    position: fixed; left: 0; top: 0; z-index: 60;
    transform: translateX(-100%);
    transition: transform 0.2s ease;
    box-shadow: var(--shadow);
  }
  .sidebar.open { transform: translateX(0); }
  .menu-btn {
    display: grid; place-items: center;
    background: var(--panel); border: 1px solid var(--border);
    color: var(--fg-dim); border-radius: var(--radius-sm);
    width: 32px; height: 32px; cursor: pointer; font-size: 15px;
    flex: 0 0 32px;
  }
  .content { padding: 24px 18px 90px; }
  h1 { font-size: 26px; }
  h2 { font-size: 20px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .kv .k { flex: 0 0 120px; }
  .search-wrap { width: 100%; max-width: 220px; }
  .topbar { padding: 10px 16px; gap: 10px; }
  .crumbs { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

@media (max-width: 620px) {
  .search-wrap { display: none; }
  .search-results { display: none !important; }
}

@media print {
  .sidebar, .topbar, .pager, .copy-btn, .scroll-progress { display: none !important; }
  body { background: #fff; color: #000; }
  .content { max-width: none; padding: 0; }
  pre, .callout, table, .card { break-inside: avoid; }
}
