{"version":3,"sourceRoot":null,"mappings":"AAGA,kBACE,qFAQA,6EAaA,iGAQE,yQAgBA,gDASA,2BACE,qTAgBF,mGAUF,uGAME,gDAQF,4YAkBA,8BACE,6CAGA,yDAMF,aACE,iCAGA,qCAMF,uCACE","sources":["dist/components/mermaid.css"],"sourcesContent":["/* ── components/mermaid/mermaid.css ── */\n/* -- Mermaid component ---------------------------------------------- */\n\n@layer components {\n  @keyframes mermaid-wait {\n    from {\n      background-position: 150% 0;\n    }\n    to {\n      background-position: -50% 0;\n    }\n  }\n  @keyframes mermaid-reveal {\n    to {\n      color: var(--muted-foreground);\n      user-select: auto;\n    }\n  }\n\n  /* figure.mermaid-diagram > pre.mermaid (the source) [+ .mermaid-output,\n     the rendered SVG, + output.mermaid-error]. Without JavaScript - or\n     before the renderer arrives - the source reads as a code block; once\n     rendered, the SVG replaces it visually (the source stays in the DOM:\n     every re-render starts from it). Everything inside the SVG is themed\n     through Mermaid's themeVariables (mermaid.ts), not from here. */\n  .mermaid-diagram {\n    margin: 0;\n    display: grid;\n    align-content: start;\n    gap: 0.75rem;\n    min-width: 0;\n    max-width: 100%;\n\n    & > pre.mermaid {\n      margin: 0;\n      padding: 1rem;\n      overflow-x: auto;\n      border: 1px solid var(--border);\n      border-radius: var(--radius-lg);\n      background-color: var(--muted);\n      color: var(--muted-foreground);\n      font-family: var(--font-mono);\n      font-size: 0.8125rem;\n      line-height: 1.6;\n      white-space: pre;\n      tab-size: 2;\n    }\n\n    /* rendered: the SVG takes the stage, the source stays for re-renders */\n    &[data-state=\"rendered\"] > pre.mermaid {\n      display: none;\n    }\n\n    /* no flash of the source: before the first render (not initialized yet,\n       or pending) the source box is a quiet placeholder - same box, text\n       hidden, a soft shimmer. Without scripting nothing hides; an error\n       shows the source; and if no renderer ever arrives the text appears\n       after 4s anyway. */\n    @media (scripting: enabled) {\n      &:is(:not([data-init]), [data-state=\"pending\"]) > pre.mermaid {\n        color: transparent;\n        user-select: none;\n        background-image: linear-gradient(\n          90deg,\n          transparent,\n          color-mix(in oklch, var(--foreground) 6%, transparent),\n          transparent\n        );\n        background-size: 200% 100%;\n        animation:\n          mermaid-wait 1.4s linear infinite,\n          mermaid-reveal 0s 4s forwards;\n      }\n    }\n\n    & > figcaption {\n      font-size: 0.8125rem;\n      color: var(--muted-foreground);\n      text-align: center;\n      text-wrap: balance;\n    }\n  }\n\n  /* the SVG scales down to the column, never up past its natural size;\n     very wide diagrams scroll inside the figure instead of the page */\n  .mermaid-output {\n    overflow-x: auto;\n    overscroll-behavior-inline: contain;\n    display: flex;\n    justify-content: center;\n\n    & svg {\n      display: block;\n      max-width: 100%;\n      height: auto;\n    }\n  }\n\n  /* a malformed diagram: the source stays, the message is token-styled */\n  .mermaid-error {\n    display: block;\n    padding: 0.625rem 0.875rem;\n    border: 1px solid color-mix(in oklch, var(--destructive) 45%, transparent);\n    border-radius: var(--radius-md);\n    background-color: color-mix(in oklch, var(--destructive) 8%, var(--background));\n    color: var(--destructive);\n    /* the parse error keeps its lines and a caret under the position - a\n       monospace face without ligatures keeps the caret aligned */\n    font-family: var(--font-mono);\n    font-variant-ligatures: none;\n    font-size: 0.75rem;\n    line-height: 1.5;\n    white-space: pre-wrap;\n    overflow-wrap: anywhere;\n  }\n\n  /* -- Accessibility / print ------------------------------------------ */\n  @media (forced-colors: active) {\n    .mermaid-output svg {\n      forced-color-adjust: auto;\n    }\n    .mermaid-error {\n      border-color: CanvasText;\n      color: CanvasText;\n    }\n  }\n\n  @media print {\n    .mermaid-output {\n      overflow: visible;\n    }\n    .mermaid-diagram {\n      break-inside: avoid;\n    }\n  }\n\n  /* no shimmer for reduced motion - the 4s fallback reveal stays */\n  @media (prefers-reduced-motion: reduce) {\n    .mermaid-diagram > pre.mermaid {\n      animation-name: none, mermaid-reveal;\n    }\n  }\n}\n"],"names":[]}