.post-grid{--article-measure:600px;grid-template-columns:minmax(0,1fr);display:grid}.post-main{width:100%;max-width:var(--article-measure);margin-inline:auto}@media (min-width:1280px){.post-grid{grid-template-columns:minmax(0,1fr)minmax(0,var(--article-measure))minmax(0,1fr);column-gap:2.5rem}.post-grid>header.post-main{grid-area:1/2}.post-grid>#post-body{grid-area:2/2}.post-grid>footer.post-main{grid-area:3/2}.post-rail{grid-area:2/3;max-width:14rem;padding-top:3.5rem}}.article.prose{--tw-prose-body:hsl(var(--foreground)/.86);--tw-prose-headings:hsl(var(--foreground));--tw-prose-lead:hsl(var(--muted-foreground));--tw-prose-links:hsl(var(--foreground));--tw-prose-bold:hsl(var(--foreground));--tw-prose-counters:hsl(var(--muted-foreground));--tw-prose-bullets:hsl(var(--muted-foreground)/.55);--tw-prose-hr:hsl(var(--border));--tw-prose-quotes:hsl(var(--muted-foreground));--tw-prose-quote-borders:hsl(var(--accent));--tw-prose-captions:hsl(var(--muted-foreground));--tw-prose-kbd:hsl(var(--foreground));--tw-prose-kbd-shadows:var(--border);--tw-prose-code:hsl(var(--foreground));--tw-prose-pre-code:hsl(var(--foreground));--tw-prose-pre-bg:hsl(var(--code-bg));--tw-prose-th-borders:hsl(var(--border));--tw-prose-td-borders:hsl(var(--border)/.7);overflow-wrap:break-word;font-size:1rem;line-height:1.75}@media (min-width:640px){.article.prose{font-size:1.0625rem}}.article>:first-child{margin-top:0}.article p,.article li{text-wrap:pretty}.article strong{font-weight:600}.article :is(h2,h3,h4){font-family:var(--font-sans);letter-spacing:-.02em;text-wrap:balance;font-weight:600;position:relative}.article h2{margin-top:2.6em;margin-bottom:.7em;font-size:1.5rem;line-height:1.3}.article h3{margin-top:2.2em;margin-bottom:.55em;font-size:1.2rem;line-height:1.4}.article h4{margin-top:2em;margin-bottom:.5em;font-size:1rem}.article :is(h2,h3)+:is(h2,h3){margin-top:1em}.article .heading-anchor{color:hsl(var(--muted-foreground)/.7);opacity:0;margin-left:.4em;padding:0 .15em;font-weight:400;text-decoration:none;transition:opacity .15s,color .15s}.article :is(h2,h3):hover .heading-anchor{opacity:1}.article .heading-anchor:hover{color:hsl(var(--accent))}.article a:not(.heading-anchor){color:hsl(var(--foreground));text-decoration-line:underline;-webkit-text-decoration-color:hsl(var(--accent)/.45);text-decoration-color:hsl(var(--accent)/.45);text-underline-offset:.28em;font-weight:500;text-decoration-thickness:1px;transition:text-decoration-color .15s}.article a:not(.heading-anchor):hover{-webkit-text-decoration-color:hsl(var(--accent));text-decoration-color:hsl(var(--accent))}.article a[style]{color:hsl(var(--foreground))!important;text-decoration-line:underline!important}.article :is(ul,ol){padding-left:1.4em}.article li{margin-top:.4em;margin-bottom:.4em}.article li::marker{color:hsl(var(--muted-foreground)/.7)}.article ol>li::marker{font-family:var(--font-mono);font-size:.85em}.article blockquote{border-left:2px solid hsl(var(--accent));color:hsl(var(--muted-foreground));quotes:none;margin:1.8em 0;padding-left:1.25em;font-style:italic;font-weight:400}.article blockquote p:before,.article blockquote p:after{content:none}.article blockquote strong{color:hsl(var(--foreground)/.9)}.article hr{border:0;border-top:1px solid hsl(var(--border));width:4rem;margin:3.5em auto}.article .table-scroll{-webkit-overflow-scrolling:touch;margin:2em 0;overflow-x:auto}.article .table-scroll table{border-collapse:collapse;width:100%;margin:0;font-size:.88em;line-height:1.55}.article thead{border-bottom:1px solid hsl(var(--border))}.article thead th{font-family:var(--font-mono);letter-spacing:.1em;text-transform:uppercase;color:hsl(var(--muted-foreground));text-align:left;white-space:nowrap;vertical-align:bottom;padding:0 .85rem .7rem;font-size:.6875rem;font-weight:500}.article tbody tr{border-bottom:1px solid hsl(var(--border)/.7)}.article tbody td{vertical-align:top;padding:.7em .85rem}.article :is(thead th,tbody td):first-child{padding-left:0}.article :is(thead th,tbody td):last-child{padding-right:0}.article code:before,.article code:after{content:none}.article :not(pre)>code{border:1px solid hsl(var(--border)/.7);background:hsl(var(--secondary));color:hsl(var(--foreground));overflow-wrap:anywhere;border-radius:6px;padding:.12em .38em;font-size:.85em;font-weight:450}.article a code{color:inherit}.article .code-block{border:1px solid hsl(var(--border)/.9);background:hsl(var(--code-bg));border-radius:12px;margin:1.8em 0;position:relative;overflow:hidden}.article .code-block figcaption[data-rehype-pretty-code-title]{border-bottom:1px solid hsl(var(--border)/.9);color:hsl(var(--muted-foreground));font-family:var(--font-mono);text-align:left;margin:0;padding:.75rem 3.5rem .75rem 1.25rem;font-size:.75rem;line-height:1.5}.article .code-block pre{color:hsl(var(--foreground));font-family:var(--font-mono);scrollbar-width:thin;scrollbar-color:hsl(var(--border))transparent;background:0 0;border-radius:0;margin:0;padding:1rem 0;font-size:.8125rem;line-height:1.7;overflow-x:auto}@media (min-width:640px){.article .code-block pre{font-size:.84375rem}}.article .code-block pre:focus-visible{outline-offset:-2px;border-radius:0 0 11px 11px}.article .code-block code{width:max-content;min-width:100%;font-size:inherit;color:inherit;background:0 0;border:0;padding:0;font-weight:400;display:grid}.article .code-block [data-line]{padding:0 1.25rem}.article .code-block [data-highlighted-line]{background:hsl(var(--accent)/.08);box-shadow:inset 2px 0 0 hsl(var(--accent))}.article .code-block [data-highlighted-chars]{background:hsl(var(--accent)/.14);border-radius:4px;padding:.1em .2em}.article .code-block [style*=--shiki-light]{color:var(--shiki-light);font-style:var(--shiki-light-font-style);font-weight:var(--shiki-light-font-weight)}.dark .article .code-block [style*=--shiki-dark]{color:var(--shiki-dark);font-style:var(--shiki-dark-font-style);font-weight:var(--shiki-dark-font-weight)}.article .code-copy{border:1px solid hsl(var(--border));background:hsl(var(--code-bg));width:2.5rem;height:2.5rem;color:hsl(var(--muted-foreground));opacity:0;border-radius:10px;justify-content:center;align-items:center;transition:opacity .15s,color .15s,border-color .15s;display:inline-flex;position:absolute;top:.4375rem;right:.4375rem}.article .code-block[data-has-title] .code-copy{background:0 0;border-color:#0000;top:1px;right:.25rem}.article .code-block:hover .code-copy,.article .code-block:focus-within .code-copy,.article .code-copy[data-copied]{opacity:1}.article .code-copy:hover{color:hsl(var(--foreground));border-color:hsl(var(--foreground)/.25)}.article .code-copy[data-copied]{color:hsl(var(--accent))}@media (hover:none){.article .code-copy{opacity:1}}.article .article-figure{margin:2.2em 0}.article .article-figure figcaption{color:hsl(var(--muted-foreground));text-align:center;text-wrap:balance;margin-top:.85rem;font-size:.8125rem;line-height:1.5}.article .article-image{display:block}.article p>.article-image{margin:1.5em 0}.article .article-image img,.article .article-image-fallback{border:1px solid hsl(var(--border)/.7);background:hsl(var(--secondary));border-radius:16px;width:100%;height:auto;margin:0 auto;display:block}.article .article-image-fallback{width:auto;max-width:100%}.article video{border:1px solid hsl(var(--border)/.7);width:100%;border-radius:16px!important}.article .mermaid-frame{border:1px solid hsl(var(--border)/.7);background:hsl(var(--card));border-radius:16px;margin:2em 0;padding:1.25rem 1rem;position:relative}@media (min-width:640px){.article .mermaid-frame{padding:1.5rem 1.25rem}}.article .mermaid-svg{justify-content:center;display:flex}.article .mermaid-svg svg{width:100%;max-width:100%;height:auto;display:block}.article .mermaid-frame[data-zoomable]{padding-bottom:3.75rem}.article .mermaid-frame[data-zoomable] .mermaid-svg{cursor:zoom-in}.article .mermaid-expand{border:1px solid hsl(var(--border));background:hsl(var(--card));height:2.5rem;color:hsl(var(--muted-foreground));font-family:var(--font-mono);letter-spacing:.08em;text-transform:uppercase;border-radius:9999px;align-items:center;gap:.45rem;padding:0 .85rem;font-size:.6875rem;transition:color .15s,border-color .15s;display:inline-flex;position:absolute;bottom:.5rem;right:.5rem}.article .mermaid-expand:hover{color:hsl(var(--foreground));border-color:hsl(var(--foreground)/.25)}.mermaid-dialog{border:1px solid hsl(var(--border));background:hsl(var(--card));width:calc(100vw - 1.5rem);max-width:none;height:calc(100dvh - 1.5rem);max-height:none;color:hsl(var(--foreground));border-radius:16px;margin:auto;padding:0;overflow:hidden;box-shadow:0 24px 64px -24px #00000059}.mermaid-dialog[open]{flex-direction:column;display:flex}@media (min-width:640px){.mermaid-dialog{width:calc(100vw - 3rem);height:calc(100dvh - 3rem)}}.mermaid-dialog::backdrop{background:#0000008c}.mermaid-dialog-bar{border-bottom:1px solid hsl(var(--border)/.8);flex-shrink:0;justify-content:space-between;align-items:center;gap:1rem;padding:.375rem .375rem .375rem 1.25rem;display:flex}.mermaid-dialog-bar .eyebrow{margin:0}.mermaid-dialog-close{width:2.75rem;height:2.75rem;color:hsl(var(--muted-foreground));border-radius:9999px;justify-content:center;align-items:center;transition:color .15s,background-color .15s;display:inline-flex}.mermaid-dialog-close:hover{color:hsl(var(--foreground));background:hsl(var(--secondary))}.mermaid-dialog-scroll{overscroll-behavior:contain;flex:1;min-height:0;padding:1.5rem;display:flex;overflow:auto}.mermaid-dialog-svg{flex-shrink:0;margin:auto}.mermaid-dialog-svg svg{width:100%;height:auto;display:block;max-width:none!important}.article .mermaid-skeleton{background:hsl(var(--secondary));border-radius:10px;width:100%;height:16rem}@media (prefers-reduced-motion:no-preference){.article .mermaid-skeleton{animation:1.6s ease-in-out infinite mermaid-pulse}}@keyframes mermaid-pulse{50%{opacity:.55}}.article .mermaid-fallback{border:1px solid hsl(var(--border));background:hsl(var(--code-bg));color:hsl(var(--muted-foreground));border-radius:12px;margin:2em 0;padding:1rem 1.25rem;font-size:.8125rem;overflow-x:auto}
