/* Preserve the original documentation layout; replace brand and surface tokens. */
:root {
  --bg: #fff; --surface: #fff; --surface-2: #f2f3f7;
  --line: #e4e7ed; --line-2: #d4d6da;
  --fg: #2a3048; --fg-muted: #666779; --fg-dim: #858697;
  --primary: #685bff; --primary-hover: #4839ea; --primary-soft: #f6f4ff;
}
.topbar { background: rgb(255 255 255 / 90%); }
.topbar .brand .mark { object-fit: contain; background: none; }
pre, .codeblock { background: #f6f7fb; color: #2a3048; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
table.params td.code-cell { font-family: var(--mono); font-weight: 600; white-space: nowrap; }

/* Catalogue filters use the same layout as LitMedia and the ChatArt theme. */
.filter-bar { display: flex; gap: 8px; margin: 12px 0 4px; flex-wrap: wrap; }
.filter-bar button { background: transparent; border: 1px solid var(--line-2); color: var(--fg-muted); border-radius: 6px; padding: 4px 12px; font: inherit; font-size: 12.5px; cursor: pointer; }
.filter-bar button.on { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }
.filter-bar button:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.pager-placeholder { flex: 1; }
.callout > div { min-width: 0; }
.callout > div > p:last-child { margin-bottom: 0; }
table.params .dflt { display: block; color: var(--fg-dim); font-size: 11.5px; }
