.paper-content svg { max-width: 100%; height: auto; overflow: visible; background: #fff; }
.paper-content svg .ltx_foreignobject_container { display: flex; align-items: end; width: var(--ltx-fo-width); height: 100%; }
.paper-content svg .ltx_foreignobject_container:has(.ltx_minipage) { align-items: start; }
.paper-content svg .ltx_foreignobject_content { display: inline-block; font-family: Georgia, serif; line-height: 1.15; color: #000; }
.paper-content svg .ltx_minipage { display: inline-block; vertical-align: top; }
.paper-content svg .ltx_p { display: block; margin: 0 0 .5em; }
.paper-content svg .ltx_text { color: var(--ltx-fg-color, #000); }
.paper-content svg .ltx_font_medium { font-weight: normal; }
.paper-content svg .ltx_font_bold { font-weight: bold; }
.paper-content svg .ltx_font_italic { font-style: italic; }
.paper-content svg .ltx_font_smallcaps { font-variant: small-caps; }
.paper-content svg .ltx_align_center { text-align: center; }
.paper-content .ltx_listingline { display: block; white-space: normal; font-size: .85rem; line-height: 1.7; padding: 2px 0; }
.paper-content .ltx_tag_listingline { display: inline-block; min-width: 2em; color: var(--muted); }
.paper-content .section-sources { font-size: .8rem; color: var(--muted); }
.paper-content .equation-asset { padding: .5rem; background: white; }
.paper-content .equation-asset img { max-height: 8rem; object-fit: contain; }
