/* Keyword highlighting */
.kw { font-weight: 700; color: #2a76dd; }

/* Centre Mermaid diagrams (system font to prevent clipped labels) */
.cell-output-display svg, pre.mermaid { display: block; margin: 0 auto; }
pre.mermaid, .mermaid svg { font-family: system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", sans-serif !important; }

/* Glossary cards */
.term-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.8rem; margin: 1rem 0; }
.term-grid > div { border: 1px solid rgba(127,127,127,0.35); border-radius: 8px; padding: 0.7rem 0.9rem; }
.term-grid > div > p:first-child { font-weight: 700; margin-bottom: 0.3rem; }

/* Visceral vs subcutaneous comparison table */
.cmp-table table td:first-child { font-weight: 700; white-space: nowrap; }
.vat { color: #c0392b; font-weight: 700; }
.sat { color: #2a76dd; font-weight: 700; }
