:root {
  --bg: #ffffff;
  --fg: #1a1a1a;
  --muted: #5c5c5c;
  --line: #d9d9d9;
  --accent: #2f6b3a;
  --soft: #f3f6f3;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141614;
    --fg: #ececec;
    --muted: #a8a8a8;
    --line: #333833;
    --accent: #7fc08c;
    --soft: #1d221d;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
header {
  border-bottom: 1px solid var(--line);
}
header .bar {
  max-width: 44rem;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
}
header .brand {
  font-weight: 650;
  text-decoration: none;
  color: var(--fg);
  margin-right: auto;
}
header nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}
header nav a[aria-current="page"] { color: var(--fg); font-weight: 600; }
header nav a:hover { color: var(--accent); }
main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 24px 16px 48px;
}
h1 { font-size: 1.9rem; line-height: 1.2; margin: 0.4em 0 0.5em; }
h2 { font-size: 1.3rem; margin: 1.6em 0 0.5em; }
h3 { font-size: 1.05rem; margin: 1.3em 0 0.4em; }
p, li { max-width: 40rem; }
a { color: var(--accent); }
.lead { font-size: 1.15rem; color: var(--muted); }
.note {
  background: var(--soft);
  border-left: 3px solid var(--accent);
  padding: 10px 14px;
  margin: 1.2em 0;
}
table { border-collapse: collapse; margin: 1em 0; font-size: 15px; }
th, td { text-align: left; padding: 6px 12px 6px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; }
code { font-size: 0.92em; background: var(--soft); padding: 1px 4px; border-radius: 3px; }
footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
footer .bar { max-width: 44rem; margin: 0 auto; padding: 16px; }
dl dt { font-weight: 600; margin-top: 0.8em; }
dl dd { margin: 0.2em 0 0; }
.button, button {
  display: inline-block;
  font: inherit;
  font-size: 15px;
  padding: 7px 14px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}
.button.disabled { opacity: 0.45; pointer-events: none; }
button.danger { background: transparent; color: var(--fg); border-color: var(--line); }
input, select {
  font: inherit;
  font-size: 15px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  color: var(--fg);
}
.muted { color: var(--muted); }
.small { font-size: 14px; }
table.plots { width: 100%; }
#nav-account a[aria-current="page"] { color: var(--fg); font-weight: 600; }
