.mermaid{margin-top:2rem;margin-bottom:2rem;display:flex;justify-content:center;border-radius:var(--radius);border-width:1px;border-color:hsl(var(--border));background-color:hsl(var(--card));padding:1rem;color:hsl(var(--foreground));min-height:200px;align-items:center}.mermaid:not([data-processed=true]){color:transparent;-webkit-user-select:none;-moz-user-select:none;user-select:none}.mermaid svg{height:auto;max-width:100%}.dark .mermaid{background-color:hsl(var(--card))}.mermaid svg text{fill:currentColor!important;color:currentColor!important}.mermaid svg .noteText{fill:#111!important}.mermaid svg .messageLine0,.mermaid svg .messageLine1,.mermaid svg .actor-line,.mermaid svg .edgePath .path,.mermaid svg .loopLine,.mermaid svg .connection,.mermaid svg .grid .tick line{stroke:currentColor!important;opacity:.6}.mermaid svg marker path,.mermaid svg .marker{fill:currentColor!important;stroke:none!important;opacity:.6}.mermaid svg .node rect,.mermaid svg .node polygon,.mermaid svg .node circle,.mermaid svg .node path,.mermaid svg .actor{fill:hsl(var(--card))!important;stroke:hsl(var(--border))!important}.mermaid svg rect.actor{fill:hsl(var(--card))!important;stroke:hsl(var(--border))!important}.mermaid svg .node.card rect,.mermaid svg .node.card polygon{fill:hsl(var(--card))!important;stroke:hsl(var(--border))!important}.mermaid svg .node.danger rect,.mermaid svg .node.danger polygon,.mermaid svg .node.danger circle{fill:hsl(var(--destructive) / .2)!important;stroke:hsl(var(--destructive))!important}.mermaid svg .node.safe rect,.mermaid svg .node.safe polygon,.mermaid svg .node.safe circle{fill:hsl(var(--primary) / .2)!important;stroke:hsl(var(--primary))!important}.mermaid svg .node.warning rect,.mermaid svg .node.warning polygon{fill:hsl(var(--accent) / .2)!important;stroke:hsl(var(--accent))!important}.prose li:has(input[type=checkbox]){list-style-type:none!important;padding-left:0!important;display:flex;align-items:flex-start;gap:.5rem}.prose li:has(input[type=checkbox]):before{display:none!important}.prose li input[type=checkbox]{margin-top:.35rem;-moz-appearance:none;appearance:none;-webkit-appearance:none;width:1.15rem;height:1.15rem;border:1px solid hsl(var(--border));border-radius:4px;background-color:hsl(var(--muted)/.5);cursor:pointer;position:relative;transition:all .2s ease;flex-shrink:0}.prose li input[type=checkbox]:hover{border-color:hsl(var(--foreground)/.5)}.prose li input[type=checkbox]:checked{background-color:hsl(var(--foreground));border-color:hsl(var(--foreground))}.prose li input[type=checkbox]:checked:after{content:"";position:absolute;left:5px;top:2px;width:4px;height:9px;border:solid hsl(var(--background));border-width:0 2px 2px 0;transform:rotate(45deg)}.prose li input[type=checkbox]:disabled{opacity:1}.reading-progress{position:fixed;inset:0 0 auto;height:3px;z-index:60;pointer-events:none}.reading-progress__bar{height:100%;background:hsl(var(--primary));transform:scaleX(0);transform-origin:0 50%;will-change:transform}.post-body :is(h2,h3,h4)[id]{scroll-margin-top:6.5rem}.toc-link.is-active{border-left-color:hsl(var(--primary));color:hsl(var(--foreground));font-weight:600}.toc--compact>p{display:none}.toc-mobile[open] .toc-mobile__chevron{transform:rotate(180deg)}.toc-mobile>summary{list-style:none}.toc-mobile>summary::-webkit-details-marker{display:none}.post-body{overflow-wrap:break-word}.post-body :where(a){overflow-wrap:anywhere}.post-body pre{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:.5rem;font-size:.85em;line-height:1.6;-moz-tab-size:2;-o-tab-size:2;tab-size:2}.post-body :not(pre)>code{overflow-wrap:anywhere}.post-body .table-scroll{max-width:100%;overflow-x:auto;margin-block:1.75em;border:1px solid hsl(var(--border));border-radius:.5rem}.post-body .table-scroll>table{margin:0;min-width:100%}.post-body table th,.post-body table td{padding:.6em .9em;vertical-align:top}.post-body thead th{background:hsl(var(--muted));white-space:nowrap}.post-body tbody tr:nth-child(2n){background:hsl(var(--muted) / .4)}@media(max-width:640px){.post-body pre{font-size:.8em;margin-inline:-.25rem}.post-body .table-scroll{font-size:.875rem}}
