.prose{max-width:var(--measure);font-size:var(--text-body);line-height:var(--leading-body);counter-reset:equation figure}.prose>*+*{margin-top:var(--space-4)}.prose>h2{margin-top:var(--space-7);scroll-margin-top:var(--space-6);font-size:var(--text-section)}.prose>h3{margin-top:var(--space-6);scroll-margin-top:var(--space-6)}.prose>h2+*,.prose>h3+*{margin-top:var(--space-3)}.prose ul,.prose ol{padding-left:var(--space-5)}.prose li+li,.prose li>:is(ul,ol){margin-top:var(--space-2)}.prose a{color:var(--ink)}.prose strong{font-weight:700}.prose blockquote{padding:var(--space-5) var(--space-6);border-radius:var(--radius-md);background:var(--blush);font-family:var(--font-hand);font-style:italic;font-weight:500;font-size:var(--text-quote);line-height:1.35}.prose blockquote>*+*{margin-top:var(--space-3)}.prose :not(pre)>code{padding:0 var(--space-1);border-radius:var(--radius-sm);background:var(--peach);overflow-wrap:anywhere;font-size:.88em}.prose-table{max-width:100%;overflow-x:auto}.prose-table table{border-collapse:collapse}.prose th,.prose td{padding:var(--space-2) var(--space-5) var(--space-2) 0;text-align:left;vertical-align:top}.prose th{font-weight:600}.prose section[data-footnotes]{margin-top:var(--space-7);color:var(--muted);font-size:var(--text-small)}.prose section[data-footnotes] ol{margin:0}.prose .katex:has(>math[display=block]){padding:var(--space-4) var(--space-7);border-radius:var(--radius-md);background:var(--blush);text-align:center;counter-increment:equation;display:block;position:relative;overflow-x:auto}.prose .katex:has(>math[display=block]):after{content:"(" counter(equation) ")";top:50%;right:var(--space-4);color:var(--muted);font-size:var(--text-small);position:absolute;transform:translateY(-50%)}.prose .katex math[display=block]{font-size:1.2em}
.code-block{--code-background:var(--blush);--code-foreground:var(--ink);--code-token-keyword:var(--rust);--code-token-string:var(--teal);--code-token-string-expression:var(--teal);--code-token-link:var(--teal);--code-token-comment:var(--muted);--code-token-punctuation:var(--muted);--code-token-function:var(--selected-hover);--code-token-constant:var(--ink);--code-token-parameter:var(--ink);border-radius:var(--radius-md);background:var(--code-background)}.code-block__bar{align-items:center;gap:var(--space-1) var(--space-3);padding:var(--space-2) var(--space-3) var(--space-2) var(--space-5);flex-wrap:wrap;display:flex}.code-block__title{font-family:var(--font-code);font-size:var(--text-small);font-weight:600}.code-block__lang{color:var(--muted);font-size:var(--text-small)}.code-block__copy{align-items:center;margin-left:auto;display:inline-flex;position:relative}.code-block pre{padding:var(--space-3) 0 var(--space-4);border-radius:0 0 var(--radius-md) var(--radius-md);tab-size:2;margin:0;line-height:1.6;overflow-x:auto}.code-block code{width:max-content;min-width:100%;font-size:inherit;counter-reset:line;display:grid}.code-block .line{padding-inline:var(--space-5);counter-increment:line;white-space:pre}.code-block .line:before{content:counter(line);width:2ch;margin-right:var(--space-4);color:var(--muted);text-align:right;display:inline-block}.code-block .line.highlighted{--code-token-function:var(--ink);background:var(--peach-hover)}.code-block .line.diff.remove{--code-token-function:var(--ink);--code-token-string:var(--ink);--code-token-string-expression:var(--ink);--code-token-link:var(--ink);background:var(--soft-hover)}
[data-callout]{padding:var(--space-4) var(--space-5);border-radius:var(--radius-md);background:var(--blush)}[data-callout]>*+*{margin-top:var(--space-2)}[data-callout]>p:first-child{align-items:center;gap:var(--space-3);font-weight:700;display:flex}[data-callout=tip]>p:first-child{color:var(--ink)}[data-callout=warning]{--link-line:var(--ink);background:var(--peach)}[data-callout=warning]>p:first-child{color:var(--ink)}.prose figure img{border-radius:var(--radius-md);width:100%;height:auto}.prose figure:has(figcaption){counter-increment:figure}.prose figcaption{margin-top:var(--space-2);color:var(--muted);font-size:var(--text-small)}.prose figcaption:before{content:"Figure " counter(figure) ". ";color:var(--ink);font-weight:700}[data-sidenote]{color:var(--muted);font-size:var(--text-small);line-height:var(--leading-ui)}[data-sidenote]>p:first-child{color:var(--ink);font-weight:700}iframe[allowfullscreen]{aspect-ratio:16/9;border-radius:var(--radius-lg);border:0;width:100%;height:auto;display:block}.video-caption{color:var(--muted);font-size:var(--text-small);line-height:var(--leading-ui)}.prose>iframe+.video-caption{margin-top:var(--space-2)}[data-diagram]{--diagram-text:var(--ink);--diagram-note-text:var(--ink);--diagram-node:var(--peach);--diagram-secondary:var(--blush);--diagram-line:var(--muted);--diagram-line-text:var(--ground);--diagram-note:var(--peach-hover);--diagram-background:var(--ground);--diagram-node-border:var(--ink);--diagram-core-border:var(--orange);padding:var(--space-5);border-radius:var(--radius-md);background:var(--blush);overflow-x:auto}[data-diagram] svg{height:auto;margin-inline:auto}
