/* The guide and specification pages, rendered by Jekyll through
   _layouts/default.html. The masthead matches the playground's. */
:root {
  color-scheme: light;
  --bg: #f5f5f7;
  --panel: #fff;
  --line: #d1d5db;
  --text: #111827;
  --muted: #6b7280;
  --accent: #2563eb;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.documentation {
  max-width: 1100px;
  margin: auto;
  padding: 30px 48px;
}
.masthead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  min-width: 0;
  text-decoration: none;
  font-size: 31px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.brand img {
  flex: none;
  border-radius: 50%;
}
.brand h1 {
  min-width: 0;
  margin: 0;
  font: inherit;
  line-height: 1.2;
  letter-spacing: inherit;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-size: 13px;
  font-weight: 650;
}
.site-nav [aria-current="page"] {
  text-decoration-thickness: 2px;
}
.documentation article {
  max-width: 900px;
  margin: 48px auto;
  line-height: 1.8;
}
.documentation h2 {
  margin: 44px 0 16px;
  font-size: 25px;
  line-height: 1.3;
  scroll-margin-top: 20px;
}
.documentation h3 {
  margin-top: 30px;
  font-size: 20px;
  scroll-margin-top: 20px;
}
.documentation article a {
  color: var(--accent);
}
.documentation article img {
  max-width: 100%;
}
.documentation pre {
  overflow: auto;
  margin: 22px 0;
  padding: 17px 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  white-space: pre;
}
.documentation code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .88em;
}
.documentation pre code {
  font-size: inherit;
}
.documentation table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  margin: 22px 0;
  border-collapse: collapse;
  font-size: 14px;
}
.documentation th, .documentation td {
  padding: 10px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.documentation th {
  background: var(--panel);
}
.documentation li + li {
  margin-top: 7px;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 5px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}
@media (max-width: 760px) {
  .documentation {
    padding: 20px;
  }
  .brand {
    gap: 8px;
    font-size: 24px;
  }
  .brand img {
    width: 42px;
    height: 42px;
  }
  .site-nav {
    width: 100%;
    gap: 10px 16px;
    font-size: 12px;
  }
  .documentation article {
    margin: 32px 0;
    font-size: 15px;
  }
  .documentation h2 {
    font-size: 23px;
  }
  footer {
    flex-direction: column;
    gap: 8px;
  }
}
