/* manuals.mostaccess.com: built by manual/site/build_site.py. Colors from the 2026 media kit. */
:root {
	--ink: #1d2a30;
	--muted: #5b6b72;
	--teal: #143c48;
	--teal-2: #2f7f86;
	--red: #d9392e;
	--line: #dde3e5;
	--paper: #ffffff;
	--wash: #f7f4f0;
	--mark: #fff3a8;
	--w-side: 17rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0; background: var(--wash); color: var(--ink);
	font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--teal-2); }
a:hover { color: var(--red); }
img { max-width: 100%; height: auto; }

/* header */
.top {
	display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
	padding: .6rem 1rem; background: var(--paper); border-bottom: 3px solid var(--red);
	position: sticky; top: 0; z-index: 5;
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--teal); font-weight: 600; }
.brand img { display: block; }
.ver { color: var(--muted); font-size: .9rem; }
.top .search { margin-left: auto; flex: 0 1 18rem; }
.search input {
	width: 100%; padding: .45rem .7rem; border: 1px solid var(--line); border-radius: 6px;
	font: inherit; background: var(--wash);
}

/* layout */
.frame { max-width: 72rem; margin: 0 auto; padding: 1.5rem 1rem 3rem; }
.frame.with-side { display: grid; grid-template-columns: var(--w-side) minmax(0, 1fr); gap: 2rem; }
main { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 1.5rem 2rem 2rem; min-width: 0; }
.side { position: sticky; top: 4.5rem; align-self: start; max-height: calc(100vh - 5.5rem); overflow: auto; font-size: .9rem; }
.side-head { margin: 0 0 .5rem; font-weight: 600; }
.side ul { list-style: none; margin: 0; padding: 0; }
.side .chapters > li > a { display: flex; padding: .25rem .5rem; border-radius: 5px; text-decoration: none; color: var(--ink); }
.side .chapters > li.here > a { background: var(--teal); color: #fff; }
.side .chapters ul { margin: .2rem 0 .5rem .9rem; border-left: 2px solid var(--line); }
.side .chapters ul a { display: block; padding: .1rem .6rem; text-decoration: none; color: var(--muted); }
.side .chapters ul a:hover { color: var(--red); }
.side .n { color: var(--muted); flex: none; min-width: 1.9rem; }
.side .here .n { color: #cfe3e5; }
.side-pdf { margin-top: 1rem; }

/* manual text */
main h1, main h2, main h3, main h4 { color: var(--teal); line-height: 1.25; scroll-margin-top: 5rem; }
main h1 { font-size: 1.8rem; margin-top: 0; }
main h2 { font-size: 1.35rem; margin-top: 2rem; padding-top: .8rem; border-top: 1px solid var(--line); }
main h3 { font-size: 1.1rem; margin-top: 1.5rem; }
section[id] { scroll-margin-top: 5rem; }
.header-section-number { color: var(--red); margin-right: .35em; }
main blockquote { margin: 0 0 1rem; padding: 0 0 0 1rem; border-left: 3px solid var(--line); color: inherit; }
main p img, main li img { vertical-align: middle; }
main p > img:only-child { display: block; margin: .5rem 0; border: 1px solid var(--line); border-radius: 4px; }
/* pandoc writes the 2021 manual's highlighting as <mark>; it is not carried onto the web or
   the PDF. Only search hits are highlighted. */
mark, .mark { background: none; color: inherit; }
.underline { text-decoration: none; }
.results mark { background: var(--mark); padding: 0 .1em; border-radius: 2px; }
table { border-collapse: collapse; }
td, th { border: 1px solid var(--line); padding: .3rem .5rem; }

.pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .95rem; }
.pager .next { text-align: right; margin-left: auto; }
.older { background: #fdecea; border: 1px solid #f3c1bc; padding: .6rem .9rem; border-radius: 6px; }

/* front and contents pages */
.page-title { margin-bottom: 0; }
.sub { color: var(--muted); margin-top: .25rem; }
.actions { display: flex; gap: .7rem; flex-wrap: wrap; margin: 1.2rem 0; }
.btn {
	display: inline-block; padding: .6rem 1.2rem; border-radius: 7px; background: var(--red); color: #fff;
	text-decoration: none; font-weight: 600; border: 2px solid var(--red);
}
.btn:hover { background: #b92e25; border-color: #b92e25; color: #fff; }
.btn.ghost { background: transparent; color: var(--red); }
.btn.ghost:hover { background: var(--red); color: #fff; }
.hero {
	background: linear-gradient(135deg, var(--teal), #0f2c35); color: #fff;
	border-radius: 10px; padding: 2rem 2rem 1.6rem; margin: -1.5rem -2rem 1.5rem;
}
.hero h1 { color: #fff; font-size: 2.2rem; margin: 0; }
.hero .sub { color: #cfe3e5; }
.hero .lede { max-width: 40rem; color: #e7f0f1; }
.hero .btn.ghost { color: #fff; border-color: #fff; }
.hero .btn.ghost:hover { background: #fff; color: var(--teal); }
.search.big { display: flex; gap: .5rem; max-width: 32rem; }
.search.big input { background: #fff; padding: .6rem .8rem; }
.search.big button { font: inherit; padding: 0 1rem; border: 0; border-radius: 6px; background: #fff; color: var(--teal); font-weight: 600; cursor: pointer; }
.front-cols { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 2rem; }
.front-cols h2, .older-list h2 { border-top: 0; padding-top: 0; margin-top: .5rem; }
.news p { margin: 0 0 .8rem; }
ol.toc { list-style: none; padding: 0; margin: 0; }
ol.toc > li { margin: .35rem 0; }
ol.toc ol { list-style: none; padding-left: 2rem; margin: .1rem 0 .6rem; font-size: .95rem; }
ol.toc .n { color: var(--muted); flex: none; min-width: 2.4rem; }
ol.toc a { text-decoration: none; display: inline-flex; }
.older-list ul { list-style: none; padding: 0; }
.older-list li { padding: .4rem 0; border-bottom: 1px solid var(--line); }
.older-list .v { font-weight: 600; display: inline-block; min-width: 4.5rem; }
.older-list .d { color: var(--muted); display: inline-block; min-width: 8rem; }

/* search results */
.results { padding-left: 1.2rem; }
.results li { margin: 0 0 1rem; }
.results .where { color: var(--muted); font-size: .85rem; }
.results .snip { margin: .15rem 0 0; }
.hint { color: var(--muted); }

.foot { text-align: center; color: var(--muted); font-size: .85rem; padding: 0 1rem 2rem; }

@media (max-width: 860px) {
	/* on a phone the text comes first, and the contents follow it */
	.frame.with-side { display: flex; flex-direction: column; }
	.frame.with-side main { order: -1; }
	.side { position: static; max-height: none; margin-top: 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: .8rem 1rem; }
	.side .chapters ul { display: none; }
	main { padding: 1.2rem 1rem 1.5rem; }
	.hero { margin: -1.2rem -1rem 1.2rem; padding: 1.5rem 1rem; }
	.front-cols { display: block; }
	.top .search { flex: 1 1 100%; margin-left: 0; }
}
