/* Mermaid diagram styling - remove grey backgrounds ONLY from Mermaid containers */ pre.mermaid { background: transparent !important; border: none !important; margin: 1.5rem auto !important; text-align: center !important; padding: 0 !important; } /* Ensure Mermaid diagrams are properly centered and clean */ pre.mermaid.align-center { display: block; margin-left: auto; margin-right: auto; background: transparent !important; } /* Fix oversized navigation links at bottom of pages */ .prev-next-area .prev-next-info .prev-next-label { font-size: 0.9rem !important; font-weight: normal !important; } .prev-next-area .prev-next-info a { font-size: 1rem !important; font-weight: 500 !important; line-height: 1.4 !important; } /* Ensure consistent navigation styling */ .prev-next-area { border-top: 1px solid #dee2e6; padding-top: 1.5rem; margin-top: 3rem; } .prev-next-area .prev-next-info { max-width: none !important; }