/* Shared by the three pages under docs/. Kept as one file rather than
   inlined three times so a change to the look is one edit. */
:root {
  --bg: #ffffff;
  --card: #f8fafc;
  --line: #e6eaf0;
  --ink: #101418;
  --muted: #5b6572;
  --teal: #0f9d8f;
  --red: #d4453b;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14171b;
    --card: #1e2126;
    --line: #2c3138;
    --ink: #eef1f5;
    --muted: #9aa4b1;
    --teal: #2fd0be;
    --red: #ff6b60;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  padding: 0 20px 72px;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
main { max-width: 720px; margin: 0 auto; }
header { padding: 44px 0 8px; }
h1 { font-size: 30px; line-height: 1.2; margin: 0 0 6px; letter-spacing: -0.5px; }
h2 { font-size: 19px; margin: 34px 0 10px; letter-spacing: -0.2px; }
h3 { font-size: 15px; margin: 22px 0 6px; }
p, li { color: var(--ink); }
.muted { color: var(--muted); font-size: 14px; }
a { color: var(--teal); }
ul { padding-left: 22px; }
li { margin: 5px 0; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 22px 0;
}
.card h2:first-child, .card h3:first-child { margin-top: 0; }
table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
.scroll { overflow-x: auto; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.4px; }
code { font-size: 90%; background: var(--card); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; }
footer { margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--line); }
/* Anything still to be filled in before this goes live is painted so it
   cannot be published by accident. */
.todo {
  background: #ffd54a;
  color: #201a00;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 5px;
}
