/* The math book's one stylesheet (manual/cs-book/): the pages read without it */
body { max-width: 46em; margin: 0 auto; padding: 0 1em; font-family: sans-serif; line-height: 1.5; }
pre { overflow-x: auto; padding: .5em; border: 1px solid #8888; line-height: 1.3; }
code { font-size: .95em; }
pre.out { border-style: dashed; margin-top: -.5em; }
p.rec { font-size: smaller; margin-top: -.5em; }
.nav, .foot { font-size: smaller; }
.nav a[rel] { white-space: nowrap; }
h2 { margin-top: 1.8em; border-bottom: 1px solid #8886; }
.box { border-left: 3px solid #8888; padding: .1em 1em; margin: 1em 0; }
.def { border-left-color: #4a7fc1; }
.thm { border-left-color: #3f9a55; }
.warn { border-left-color: #c98a2a; }
.box > p:first-child b:first-child { font-variant: small-caps; }
figure { margin: 1em 0; text-align: center; }
figure svg { max-width: 100%; height: auto; }
figcaption { font-size: smaller; }
table.t { border-collapse: collapse; margin: 1em 0; }
.t td, .t th { border: 1px solid #8888; padding: .15em .6em; text-align: left; }
.t td.n { text-align: right; font-variant-numeric: tabular-nums; }
ol.ex > li { margin-bottom: .8em; }
details { margin: .3em 0 .3em 1em; }
summary { cursor: pointer; font-size: smaller; }
ol.refs li { margin-bottom: .4em; }
ol.refs li:target, li:target { background: #fbecd2; }
ul.toc { list-style: none; padding-left: 0; }
ul.toc ul { list-style: none; padding-left: 1.5em; font-size: smaller; }
mjx-container[display="true"] { overflow-x: auto; overflow-y: hidden; }
@media (prefers-color-scheme: dark) {
  ol.refs li:target, li:target { background: #4a3c22; }
}
