/* The Mermaid page (/product/mermaid/): code panels, a quiet note under a section, and the mapping table.
   Added here rather than in the shared sheets (docs/site.md: a page adds what is missing in its own sheet). */
.mm-code { min-width: 0; margin: 0; overflow: hidden; border: 1px solid #3d584b; border-radius: 8px; background: #1b3128; color: #eef2e4 }
.mm-code + .mm-code { margin-top: 1rem }
.mm-code figcaption { padding: .5rem .8rem; background: #16281f; border-bottom: 1px solid #3d584b; color: #b9cabb; font: 600 .75rem/1.3 ui-monospace,Menlo,monospace }
.mm-code pre { margin: 0; padding: .85rem .9rem 1rem; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #4d6759 transparent; font: 500 13px/1.6 ui-monospace,Menlo,Consolas,monospace; tab-size: 2 }
.mm-code pre:focus-visible { outline: 3px solid #f4ce84; outline-offset: -3px }
.hub-page main .mm-code code { padding: 0; border-radius: 0; background: none; font: inherit; overflow-wrap: normal; white-space: pre }
.hub-split p.mm-note, .mm-note { max-width: 60ch; margin-top: 1rem; color: #4d5f53; font-size: .86rem; line-height: 1.5 }
.mm-table { width: 100%; max-width: 62rem }
@media (max-width: 800px) {
  .mm-code pre { font-size: 12.5px }
}
