:root {
  color-scheme: light dark;
  --bg: #f6f5fc;
  --text: #121220;
  --muted: #55556a;
  --line: #e3e1f0;
  --accent: #38339e;
  --note-bg: #fff6d6;
  --note-text: #4a3b00;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #09090f;
    --text: #f3f3f8;
    --muted: #a6a6b8;
    --line: #26253a;
    --accent: #a39eff;
    --note-bg: #3a3000;
    --note-text: #ffe9a3;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px 64px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}

a { color: var(--accent); text-underline-offset: 3px; }

/* The first nav link is the Pace brand mark, as on the home page. */
nav a:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}
nav a:first-child::before {
  content: "";
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: url("/assets/icon-64.png") center / cover;
}

h1 { font-size: 2.2rem; line-height: 1.12; letter-spacing: -0.03em; margin: 0 0 8px; }
h2 { font-size: 1.3rem; margin: 36px 0 8px; }
h3 { font-size: 1.05rem; margin: 24px 0 4px; }

.meta { color: var(--muted); margin: 0 0 24px; }

table {
  width: 100%;
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
  font-size: 0.95rem;
}

th, td {
  text-align: left;
  vertical-align: top;
  padding: 8px 10px 8px 0;
  border-bottom: 1px solid var(--line);
}

/* Text still to be supplied by the owner. Nothing marked like this may be
   published. `docs/agent/PUBLIC_PAGES.md` has the check. */
.fill {
  background: var(--note-bg);
  color: var(--note-text);
  padding: 0 4px;
  border-radius: 4px;
}

footer {
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
