/* The documentation site's one stylesheet (T42). The articles under articles/ keep their own. */
:root {
  --text: #172b4d;
  --muted: #6b778c;
  --subtle: #42526e;
  --link: #0052cc;
  --line: #dfe1e6;
  --panel: #f4f5f7;
  --accent: #0052cc;
}
* { box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 16px 2rem;
  color: var(--text);
  background: #ffffff;
  line-height: 1.55;
}
a { color: var(--link); }
header.site {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 1.25rem;
  padding: 1.1rem 0 0.9rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.75rem;
}
header.site .brand { font-weight: 700; font-size: 1.05rem; color: var(--text); text-decoration: none; }
header.site nav { display: flex; flex-wrap: wrap; gap: 0.2rem 0.9rem; font-size: 0.9rem; }
header.site nav a { color: var(--subtle); text-decoration: none; }
header.site nav a:hover { color: var(--link); text-decoration: underline; }
header.site nav a[aria-current="page"] { color: var(--text); font-weight: 600; }
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 0.25rem; }
h2 { font-size: 1.35rem; margin-top: 2.2rem; }
h3 { font-size: 1.05rem; margin-top: 1.5rem; }
p.byline { color: var(--muted); font-size: 0.95rem; margin-top: 0; }
p.lead { font-size: 1.1rem; color: var(--subtle); }
code { background: var(--panel); padding: 0.1rem 0.3rem; border-radius: 3px; font-size: 0.92em; overflow-wrap: anywhere; }
pre { background: var(--panel); padding: 0.8rem 1rem; border-radius: 3px; overflow-x: auto; font-size: 0.88rem; line-height: 1.45; }
pre code { background: none; padding: 0; overflow-wrap: normal; }
table { border-collapse: collapse; width: 100%; font-size: 0.92rem; margin: 1rem 0; display: block; overflow-x: auto; }
th, td { border: 1px solid var(--line); padding: 0.4rem 0.6rem; text-align: left; vertical-align: top; }
th { background: var(--panel); }
ol.toc { color: var(--subtle); }
.note { background: var(--panel); border-left: 3px solid var(--accent); padding: 0.6rem 1rem; margin: 1.2rem 0; }
.note p { margin: 0.3rem 0; }
figure { margin: 1.5rem 0; }
figure img { max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: 4px; }
figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 0.4rem; }
dl.faq dt { font-weight: 600; margin-top: 1.4rem; }
dl.faq dd { margin: 0.3rem 0 0; }
ul.pages { list-style: none; padding: 0; }
ul.pages li { margin: 0.65rem 0; }
ul.pages li a { font-weight: 600; }
footer.site { margin-top: 3rem; font-size: 0.9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; }
footer.site p { margin: 0.35rem 0; }
@media (max-width: 520px) {
  h1 { font-size: 1.6rem; }
  header.site { gap: 0.3rem; }
}
