{
  "$comment": "Mermaid configuration template. Every {name} is a token from tokens.json (or {page}); the renderer resolves it per variant. handDrawnSeed pins rough.js so hand-drawn renders are byte-identical; useMaxWidth off so every SVG carries absolute width and height.",
  "theme": "base",
  "handDrawnSeed": 11,
  "fontFamily": "Arial, \"Liberation Sans\", Helvetica, sans-serif",
  "fontSize": "14px",
  "themeCSS": ".label > *, .cluster-label > * { overflow: visible; } .edgeLabel p { background-color: {surface.soft}; } .marker.er circle { fill: {surface}; }",
  "themeVariables": {
    "fontFamily": "Arial, \"Liberation Sans\", Helvetica, sans-serif",
    "fontSize": "14px",
    "background": "{page}",
    "primaryColor": "{surface}",
    "primaryTextColor": "{ink}",
    "primaryBorderColor": "{ink.soft}",
    "secondaryColor": "{core.fill}",
    "secondaryTextColor": "{ink}",
    "secondaryBorderColor": "{core.stroke}",
    "tertiaryColor": "{surface.soft}",
    "tertiaryTextColor": "{ink}",
    "tertiaryBorderColor": "{ink.soft}",
    "lineColor": "{ink}",
    "textColor": "{ink}",
    "edgeLabelBackground": "{surface.soft}",
    "clusterBkg": "{surface.soft}",
    "clusterBorder": "{ink.soft}",
    "titleColor": "{ink}",
    "noteBkgColor": "{external.fill}",
    "noteBorderColor": "{external.stroke}",
    "noteTextColor": "{ink}",
    "actorBkg": "{surface}",
    "actorBorder": "{ink.soft}",
    "actorTextColor": "{ink}",
    "actorLineColor": "{ink.soft}",
    "signalColor": "{ink}",
    "signalTextColor": "{ink}",
    "labelBoxBkgColor": "{core.fill}",
    "labelBoxBorderColor": "{core.stroke}",
    "labelTextColor": "{ink}",
    "loopTextColor": "{ink}",
    "activationBkgColor": "{core.fill}",
    "activationBorderColor": "{core.stroke}",
    "sequenceNumberColor": "{surface}",
    "rowOdd": "{surface.soft}",
    "rowEven": "{surface}"
  },
  "flowchart": {"htmlLabels": true, "curve": "basis", "padding": 12, "nodeSpacing": 34, "rankSpacing": 40, "useMaxWidth": false},
  "sequence": {"useMaxWidth": false, "mirrorActors": false, "actorMargin": 40, "actorFontFamily": "Arial, \"Liberation Sans\", Helvetica, sans-serif", "actorFontSize": 14, "messageFontFamily": "Arial, \"Liberation Sans\", Helvetica, sans-serif", "messageFontSize": 14, "noteFontFamily": "Arial, \"Liberation Sans\", Helvetica, sans-serif", "noteFontSize": 14},
  "er": {"useMaxWidth": false}
}
