
main blockquote { margin: 1.1em 0; padding: .2em 0 .2em 1em; border-left: 3px solid var(--line); }
main blockquote > p:first-child > strong:first-child { color: var(--accent); }
p.status { font: 13px/1.45 var(--font-ui); color: var(--muted); margin: .3em 0 0; }
nav.langs a, nav.langs strong { font: 13px var(--font-ui); margin-right: .7em; }
nav.pn { display: flex; justify-content: space-between; font: 14px var(--font-ui); margin: 2em 0 1em; }
p.fallback { background: var(--notice); border: 1px solid var(--notice-line); padding: .5em .8em; font: 14px var(--font-ui); }
footer.site { font: 13px/1.5 var(--font-ui); color: var(--muted); border-top: 1px solid var(--line); margin-top: 3em; padding-top: 1em; }
main, header.top .inner, footer.site { max-width: 50em; margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; }
code.source-fallback, pre.source-fallback { color: var(--muted); }
main blockquote > p:first-of-type a[href^="https://stacks.math.columbia.edu/"] { font: 12px var(--font-ui); color: var(--muted); margin-left: .4em; }
button.cite, button.copy, #contents-button { font: 12px var(--font-ui); color: var(--muted); background: none; border: 1px solid var(--line);
  border-radius: 3px; padding: 0 .45em; margin-left: .4em; cursor: pointer; }
div.citebox { font: 13px/1.5 var(--font-ui); border: 1px solid var(--line); border-radius: 3px; padding: .35em .6em; margin: .2em 0 .7em; }
div.citerow { display: flex; flex-wrap: wrap; gap: .2em .6em; align-items: baseline; }
span.citelabel { color: var(--muted); min-width: 13em; }
div.citerow code { overflow-wrap: anywhere; }
#contents { font: 14px/1.5 var(--font-ui); max-height: 60vh; overflow: auto; border-top: 1px solid var(--line); margin-top: .4em; padding-top: .3em; }
#contents h2 { font-size: 15px; margin: .5em 0 .2em; } #contents h3 { font-size: 13px; color: var(--muted); margin: .6em 0 .1em; }
#contents ol { margin: .1em 0 .4em; padding-left: 1.6em; } #contents a[aria-current] { font-weight: 600; }
ol.toc { font: 15px/1.6 var(--font-ui); padding-left: 1.8em; }
header.top .inner { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 1.2em; }
header.top .inner > p, header.top .inner > nav.langs { margin: .35em 0; }
header.top #contents { flex-basis: 100%; }
main > p.status:first-child { margin: .8em 0 1.2em; }
/* XyJax draws in black (stroke="black", labels with an inline color: black): the text's own color instead, so that
   diagrams show in dark mode; other colours an author chose are left alone */
mjx-xypic svg { fill: currentColor; }
mjx-xypic svg [stroke="black"] { stroke: currentColor; }
mjx-xypic-object[style*="color: black"] { color: inherit !important; }
/* the section Suggestions (AI) (K9, DESIGN_STACKS §5): its own header colour and the banner on every page */
body.suggestions header.top { background: var(--notice); border-bottom: 2px solid var(--notice-line); }
p.banner { background: var(--notice); border: 1px solid var(--notice-line); border-radius: 3px; padding: .6em .9em; font: 14px/1.5 var(--font-ui); }
p.english-note, p.target { font: 14px/1.5 var(--font-ui); } p.english-note { color: var(--muted); }
p.credit { font: 12px/1.5 var(--font-ui); color: var(--muted); border-top: 1px solid var(--line); padding-top: .6em; margin-top: 2em; }
pre.tex, pre.diff { font-size: 13px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; border: 1px solid var(--line);
  border-radius: 3px; padding: .5em .7em; }
pre.tex.old { border-left: 4px solid #c0392b88; } pre.tex.new { border-left: 4px solid #2e8b5788; }
div.addition { border-left: 3px solid var(--notice-line); padding-left: .9em; }
.chapters h2 { font: 600 16px var(--font-ui); margin-top: 1.4em; }
