/* Documentation typography. All colours come from tokens.css variables. */
.docs-prose {
  max-width: 48rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}
.docs-prose h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-text-primary);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
.docs-prose h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 2.5rem 0 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-subtle);
}
.docs-prose h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 1.75rem 0 0.5rem;
}
.docs-prose p,
.docs-prose ul,
.docs-prose ol {
  margin: 0.75rem 0;
}
.docs-prose ul {
  list-style: disc;
  padding-left: 1.4rem;
}
.docs-prose ol {
  list-style: decimal;
  padding-left: 1.4rem;
}
.docs-prose a:not(.anchor) {
  color: var(--color-accent-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.docs-prose .anchor {
  margin-left: -1.1rem;
  padding-right: 0.4rem;
  opacity: 0;
  text-decoration: none;
  color: var(--color-text-muted);
}
.docs-prose h2:hover .anchor,
.docs-prose h3:hover .anchor,
.docs-prose .anchor:focus {
  opacity: 1;
}
.docs-prose code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: var(--color-bg-surface-elevated);
  border: 1px solid var(--color-border-subtle);
  padding: 0.1em 0.35em;
  border-radius: 0.3rem;
}
.docs-prose pre.code-block {
  background: var(--color-bg-code);
  color: #e2e8f0;
  border-radius: 0.75rem;
  padding: 1rem;
  overflow-x: auto;
  font-size: 0.85rem;
  line-height: 1.55;
  margin: 1rem 0;
  border: 1px solid var(--color-border-strong);
}
.docs-prose pre.code-block code {
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
}
.docs-prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin: 1rem 0;
}
.docs-prose th,
.docs-prose td {
  text-align: left;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--color-border-subtle);
  vertical-align: top;
}
.docs-prose th {
  color: var(--color-text-primary);
  font-weight: 600;
}
.docs-prose blockquote {
  border-left: 3px solid var(--color-accent-primary);
  background: var(--color-accent-subtle);
  padding: 0.6rem 1rem;
  border-radius: 0 0.5rem 0.5rem 0;
  margin: 1rem 0;
  color: var(--color-text-primary);
}
.status-pill {
  display: inline-block;
  padding: 0.05rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--color-border-strong);
}
.status-stable {
  background: rgb(16 185 129 / 0.12);
}
.status-beta {
  background: rgb(14 165 233 / 0.12);
}
.status-experimental {
  background: rgb(245 158 11 / 0.14);
}
.status-planned {
  background: rgb(100 116 139 / 0.14);
}
@media (forced-colors: active) {
  .status-pill {
    border-color: CanvasText;
  }
}
