/* Content styles for the Synthetic Category Theory reading edition.
   Page chrome comes from the shared reader shell (reader-shell-v1). */
.notes-page p { margin: .85rem 0; }
.theorem-block { margin: 1.4rem 0; padding: .2rem 1.1rem; border-left: 3px solid var(--detail-rule); background: var(--surface); }
.theorem-block .theorem-block { background: transparent; }
.theorem-plain > p, .theorem-plain li { font-style: italic; }
.theorem-plain .theorem-head, .theorem-plain .math-display, .theorem-plain mjx-container { font-style: normal; }
.theorem-head .theorem-name { font-weight: 600; color: inherit; text-decoration: none; }
a.theorem-name:hover, a.theorem-name:focus-visible { text-decoration: underline; }
.theorem-underlined .theorem-name { text-decoration: underline; text-underline-offset: .2em; }
.theorem-note { font-weight: 400; font-style: normal; }
.framed { margin: 1.4rem 0; padding: .1rem 1rem; border: 1px solid var(--card-border); border-radius: 4px; }
.framed > .theorem-block { border-left: 0; background: transparent; padding-left: 0; }
details.proof { margin: 1rem 0 1.6rem; border-left: 2px solid var(--detail-rule); padding: .5rem 1rem; background: var(--accent-pale); }
details.proof > summary { cursor: pointer; font-style: italic; }
.proof-content > :first-child { margin-top: .6rem; }
.proof-content::after { content: "\25A1"; display: block; text-align: right; color: var(--muted); }
.latex-list { list-style: none; padding-left: 2.2rem; margin: .8rem 0; }
.latex-list > li { position: relative; margin: .35rem 0; }
.latex-list > li > p { margin: .3rem 0; }
.latex-list .item-label { position: absolute; left: -2.2rem; width: 2rem; text-align: right; font-style: normal; white-space: nowrap; }
.latex-description dt { font-weight: 600; }
.latex-description dd { margin-left: 1.6rem; }
.math-display { display: block; margin: .3rem 0; overflow-x: auto; overflow-y: hidden; }
mjx-container[display="true"] { overflow-x: auto; overflow-y: hidden; }
.diagram-display { display: block; margin: 1.1rem auto; text-align: center; overflow-x: auto; }
.diagram-inline img { vertical-align: middle; filter: var(--diagram-filter); }
.diagram img { height: auto; max-width: 100%; max-height: none; }
.label-anchor { scroll-margin-top: 4rem; }
.subsection-heading .heading-number { color: var(--muted); margin-right: .35rem; }
.footnote { font-size: .9em; color: var(--muted); }
.footnote-mark { vertical-align: super; font-size: .75em; margin-right: .15em; }
.footnote-text::before { content: "("; }
.footnote-text::after { content: ")"; }
.unresolved-reference { color: var(--muted); border-bottom: 1px dotted var(--muted); }
.sct-entry-context { margin-top: 2rem; color: var(--muted); font-size: .92rem; }
.work-authors { font-size: 1.05rem; margin-bottom: 0; }
.work-subtitle { color: var(--muted); margin-top: .2rem; }
.edition-note { color: var(--muted); font-size: .92rem; }
.small-caps { font-variant: small-caps; }
.reference-list { padding-left: 1.3rem; }
.reference-list > li { padding: .8rem 0; border-top: 1px solid var(--rule); }
.reference-label { color: var(--muted); }
.reference-links { display: block; font-size: .85em; }
.citation { color: inherit; text-decoration: underline dotted var(--muted); text-underline-offset: .18em; }
.frontmatter-links { margin-top: 1rem; }
.center { text-align: center; }
mjx-container[display="true"] { margin: .6em 0 !important; }
