body { font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; font-size: 11pt; line-height: 1.45;
       max-width: 52em; margin: 2em auto; padding: 0 1em; color: #1f2328; }
h1, h2 { border-bottom: 1px solid #d0d7de; padding-bottom: .3em; }
img { max-width: 100%; max-height: 15cm; width: auto; display: block; margin: 1em auto; }
code, pre { font-family: "DejaVu Sans Mono", Consolas, monospace; font-size: 9.5pt; background: #f6f8fa; }
pre { font-size: 9pt; padding: .8em; border-radius: 6px; overflow-x: auto; white-space: pre-wrap; line-height: 1.2; }
table { border-collapse: collapse; margin: 1em 0; font-size: 10pt; }
th, td { border: 1px solid #d0d7de; padding: .35em .6em; vertical-align: top; }
th { background: #f6f8fa; }
blockquote { border-left: .25em solid #d0d7de; margin: 0; padding: 0 1em; color: #59636e; }
a { color: #0969da; }
/* page.css -- a House of cards page on top of readme.css (cpu/dist): the board's green as the accent, the gold of an
   edge connector under the title, code blocks never wrapped.  No inline style anywhere: the site's CSP. */
pre, pre code { white-space: pre; }
body { max-width: 62em; }
a { color: #0b6e4f; }
h1 { border-bottom: 4px solid #0b6e4f; box-shadow: 0 3px 0 #d4a72c; letter-spacing: -0.01em; }
h2 { border-bottom: 1px solid #c6c6c6; }
blockquote { border-left: .3em solid #0b6e4f; background: #eef7f2; color: #161616; padding: .6em 1em; }
th { background: #f4f4f4; }
.num { text-align: right; }
.mid { text-align: center; }
td strong { color: #0b6e4f; }
img[src="network_card.svg"] { max-height: none; }   /* the network card inside: tall, legible at full width */
img[src="system_rtp_avb.svg"] { max-height: none; width: 100%; }   /* the soundcard system: wide */
img[src="board_network.jpg"] { max-height: 6cm; width: auto; border: 1px solid #c6c6c6; }   /* the board photo: small */
img[src="soundcard_card.svg"] { max-height: none; width: 100%; }   /* the soundcard inside: wide */
img[src^="fp_"] { max-height: none; max-width: 100%; }              /* the fine-phase chapter's figures */
img[src="wireguard.svg"] { max-height: none; width: 100%; }   /* the WireGuard appliance: wide */

/* ---- Solarized dark: the default colour scheme of the House of cards pages ---- */
html, body { background: #002b36; color: #839496; }
h1, h2, h3, h4, h5, h6, strong, b { color: #93a1a1; }
h1, h2 { border-bottom-color: #586e75; }
a { color: #268bd2; }
a:visited { color: #6c71c4; }
code, pre { background: #073642; color: #93a1a1; }
pre code { background: none; }
th, td { border-color: #586e75; }
th { background: #073642; color: #93a1a1; }
blockquote { background: #073642; color: #93a1a1; border-left-color: #2aa198; }
::selection { background: #073642; color: #93a1a1; }
/* House of cards accents, in Solarized */
h1 { border-bottom-color: #859900; box-shadow: 0 3px 0 #b58900; }
blockquote { border-left-color: #859900; }
td strong { color: #859900; }
/* wrsync.css -- the WR sync demo page, on top of readme.css (cpu/dist) and page.css (tools/projdist): its diagrams at
   full width (wide box diagrams, legible), nothing else.  No inline style anywhere: the site's CSP. */
img[src^="wrs_"] { max-height: none; width: 100%; }
img[src^="fp_"] { max-height: none; max-width: 100%; }
