/* Theme Material to the portal's design tokens (packages/design-tokens:
   --bcs-brand-lch: 0.55 0.13 215). Keeps the /kb mount from reading as a
   different product than the portal that hosts it. */
:root, [data-md-color-scheme="default"] {
  --md-primary-fg-color: oklch(0.55 0.13 215);
  --md-primary-fg-color--dark: oklch(0.45 0.13 215);
  --md-accent-fg-color: oklch(0.50 0.15 215);
  --md-typeset-a-color: oklch(0.50 0.13 215);
}
[data-md-color-scheme="slate"] {
  --md-primary-fg-color: oklch(0.35 0.10 215);
  --md-accent-fg-color: oklch(0.70 0.12 215);
  --md-typeset-a-color: oklch(0.72 0.11 215);
}
/* Diagram blocks: breathing room + centered, matching portal card rhythm */
.mermaid-diagram { display: flex; justify-content: center; padding: 0.75rem 0; overflow-x: auto; }
.mermaid-diagram svg { max-width: 100%; height: auto; }
