/* Mere docs site CSS (generated by contrib/site/build.mere) */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  max-width: 860px;
  margin: 2rem auto;
  padding: 0 1rem;
  line-height: 1.6;
  color: #2d3748;
}
nav {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}
nav a {
  margin-right: 1rem;
  color: #2b6cb0;
  text-decoration: none;
}
nav a:hover { text-decoration: underline; }
nav a.active { font-weight: bold; color: #1a202c; text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; color: #1a202c; }
h1 { font-size: 2em; margin-top: 0; }
h2 { font-size: 1.5em; margin-top: 2em; border-bottom: 1px solid #edf2f7; padding-bottom: 0.3em; }
h3 { font-size: 1.2em; margin-top: 1.5em; }
code {
  background: #f7fafc;
  padding: 0.1em 0.3em;
  border-radius: 3px;
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.9em;
}
pre {
  background: #f7fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  overflow-x: auto;
  padding: 0;
}
pre code {
  display: block;
  padding: 1em;
  background: transparent;
  font-size: 0.85em;
  line-height: 1.5;
}
table {
  border-collapse: collapse;
  margin: 1em 0;
}
th, td {
  border: 1px solid #e2e8f0;
  padding: 0.5em 1em;
  text-align: left;
}
th { background: #f7fafc; font-weight: 600; }
blockquote {
  border-left: 3px solid #e2e8f0;
  padding-left: 1em;
  color: #4a5568;
  margin: 1em 0;
}
ul, ol { padding-left: 1.5em; }
li { margin: 0.2em 0; }
a { color: #2b6cb0; }
hr { border: 0; border-top: 1px solid #e2e8f0; margin: 2em 0; }
footer {
  margin-top: 3rem;
  border-top: 1px solid #e2e8f0;
  padding-top: 1rem;
  color: #718096;
  font-size: 0.9em;
}
#search-input {
  margin-top: 0.5rem;
  padding: 0.4em 0.8em;
  width: 100%;
  max-width: 300px;
  border: 1px solid #cbd5e0;
  border-radius: 4px;
  font-size: 0.95em;
}
#search-results {
  margin-top: 0.5rem;
  padding: 0.5em 1em;
  background: #f7fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  max-height: 300px;
  overflow-y: auto;
}
#search-results ul { list-style: none; padding-left: 0; margin: 0; }
#search-results li { margin: 0.4em 0; }
.toc {
  background: #f7fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 0.5em 1em;
  margin-bottom: 2em;
}
.toc summary { cursor: pointer; font-weight: 600; color: #1a202c; }
.toc ul { list-style: none; padding-left: 0.5em; margin: 0.5em 0; }
.toc li { margin: 0.2em 0; font-size: 0.95em; }
/* Prism.js theme overrides — match docs palette */
pre[class*="language-"] { background: #f7fafc; border: 1px solid #e2e8f0; }
code[class*="language-"], pre[class*="language-"] { color: #2d3748; text-shadow: none; }
.token.keyword { color: #d73a49; font-weight: 600; }
.token.string { color: #22863a; }
.token.number { color: #005cc5; }
.token.comment { color: #6a737d; font-style: italic; }
.token.operator, .token.punctuation { color: #586069; background: transparent; }
.token.builtin { color: #6f42c1; }
.token.constructor, .token.class-name { color: #e36209; }
.token.tyvar, .token.symbol { color: #005cc5; font-style: italic; }
/* GFM task list (`- [ ]` / `- [x]`) — drop the bullet and left-align checkbox */
li.task-list-item { list-style: none; margin-left: -1.5em; }
li.task-list-item input[type="checkbox"] { margin-right: 0.4em; }
