
h1,h2,h3,h4,h5,h6{font-family:-apple-system,"Segoe UI",system-ui,sans-serif;line-height:1.25;font-weight:700;margin:1.9em 0 .6em}
h1{font-size:1.8em;margin-top:0}h2{font-size:1.45em}h3{font-size:1.22em;margin-top:1.6em}
h4{font-size:1.08em;margin-top:1.4em}h5,h6{font-size:1em;margin-top:1.2em}
p,li,aside{margin:0 0 1rem}
.k-abstract{border-left:3px solid var(--rule);padding-left:1rem}
.k-caption{font-size:.88rem;color:var(--muted);margin-top:-.25rem}
.k-footnote{font-size:.85rem;color:var(--muted);border-top:1px solid var(--rule);padding-top:.5rem}
.sidebar{border:1px solid var(--rule);border-left:4px solid var(--accent,var(--rule));border-radius:6px;padding:.8rem 1rem .05rem;margin:0 0 1.25rem;font-size:.94em}
.sidebar .blk{margin:0 0 .75rem}
.k-reference_entry{font-size:.88rem;padding-left:1.5rem;text-indent:-1.5rem}
.k-page_furniture{display:none;font-size:.8rem;color:var(--muted)}
body.show-furniture .k-page_furniture{display:block}
.not-narrated:not(.k-reference_entry):not(.k-page_furniture):not(.k-figure):not(.k-table):not(.k-formula){color:var(--muted)}
figure{margin:1.25rem 0;text-align:center}figure img{max-width:100%;height:auto;border-radius:4px}
.missing{color:var(--muted);font-style:italic}
.math-display{overflow-x:auto;overflow-y:hidden;margin:1rem 0;text-align:center}
.table-wrap{overflow-x:auto;margin:1.25rem 0}
table{border-collapse:collapse;font:14px/1.45 -apple-system,system-ui,sans-serif;margin:0 auto;font-variant-numeric:tabular-nums;border-top:2px solid var(--fg);border-bottom:2px solid var(--fg)}
td,th{border:0;padding:.38rem .75rem;vertical-align:top}
thead{border-bottom:1px solid var(--fg)}
thead th{font-weight:650;vertical-align:bottom}
tbody tr:nth-child(even){background:var(--code)}
td.num{text-align:right;white-space:nowrap}
pre{background:var(--code);padding:.9rem 1rem;border-radius:6px;overflow-x:auto;font-size:.85rem;line-height:1.45}
code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
a{color:var(--accent)}
.blk{scroll-margin:30vh;border-radius:4px;transition:background-color .15s}
.blk.hl{background:var(--hl);box-shadow:0 0 0 .35rem var(--hl)}
.explanation{font:15px/1.55 -apple-system,system-ui,sans-serif;background:var(--code);border-left:3px solid var(--accent);border-radius:0 6px 6px 0;padding:.6rem .85rem;margin:.25rem 0 1.25rem}
