html:has(#diagram-viewer[open]){overflow:hidden}#diagram-viewer:where(.astro-xj2uyz6m){box-sizing:border-box;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:60px 16px 16px;border:0;background:var(--kg-bg-surface)}#diagram-viewer:where(.astro-xj2uyz6m)[open]{display:flex;align-items:center;justify-content:center}#diagram-viewer:where(.astro-xj2uyz6m)::backdrop{background:#000c}.viewer-image:where(.astro-xj2uyz6m){width:100%;height:100%;object-fit:contain;cursor:zoom-out}.viewer-close:where(.astro-xj2uyz6m){position:absolute;top:12px;right:16px;width:40px;height:40px;border:1px solid var(--kg-border);border-radius:50%;background:var(--kg-bg-surface);color:var(--kg-fg);font-size:20px;cursor:pointer}.blog-post:where(.astro-xj2uyz6m){max-width:1160px;margin:0 auto;padding:var(--kg-space-8) 24px var(--kg-space-9)}.post-header:where(.astro-xj2uyz6m){max-width:780px;margin:0 auto var(--kg-space-8);text-align:center}.post-kicker:where(.astro-xj2uyz6m){display:flex;justify-content:space-between;align-items:center;gap:16px;font:var(--kg-small)}.back:where(.astro-xj2uyz6m){color:var(--kg-fg-muted);text-decoration:none}.languages:where(.astro-xj2uyz6m){display:flex;padding:3px;gap:2px;border:1px solid var(--kg-border);border-radius:var(--kg-radius-pill)}.languages:where(.astro-xj2uyz6m) a:where(.astro-xj2uyz6m){padding:3px 7px;border-radius:var(--kg-radius-pill);color:var(--kg-fg-muted);font:var(--kg-code-sm);text-decoration:none}.languages:where(.astro-xj2uyz6m) a:where(.astro-xj2uyz6m)[aria-current=page]{background:var(--kg-bg-overlay);color:var(--kg-fg)}h1:where(.astro-xj2uyz6m){font:700 clamp(36px,5.5vw,58px)/1.04 var(--kg-font-display);letter-spacing:-.035em;color:var(--kg-fg);margin:28px 0 0;text-wrap:balance}.lede:where(.astro-xj2uyz6m){font:var(--kg-body-lg);color:var(--kg-fg-secondary);margin:20px auto 0;max-width:660px;text-wrap:balance}.meta:where(.astro-xj2uyz6m){display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:22px;font:var(--kg-code-sm);color:var(--kg-fg-muted)}.article-layout:where(.astro-xj2uyz6m){display:grid;grid-template-columns:minmax(0,720px);justify-content:center;gap:64px;align-items:start}.article-layout:where(.astro-xj2uyz6m):has(.toc){grid-template-columns:190px minmax(0,720px)}.toc:where(.astro-xj2uyz6m){position:sticky;top:100px;border-left:1px solid var(--kg-border);padding-left:16px}.toc:where(.astro-xj2uyz6m) p:where(.astro-xj2uyz6m){font:var(--kg-overline);text-transform:uppercase;letter-spacing:.12em;color:var(--kg-fg-muted);margin:0 0 12px}.toc:where(.astro-xj2uyz6m) nav:where(.astro-xj2uyz6m){display:grid;gap:8px}.toc:where(.astro-xj2uyz6m) a:where(.astro-xj2uyz6m){color:var(--kg-fg-muted);font:var(--kg-small);line-height:1.35;text-decoration:none}.toc:where(.astro-xj2uyz6m) a:where(.astro-xj2uyz6m):hover,.toc:where(.astro-xj2uyz6m) a:where(.astro-xj2uyz6m)[data-active]{color:var(--kg-blue-bright)}.toc:where(.astro-xj2uyz6m) a:where(.astro-xj2uyz6m).nested{padding-left:12px;font-size:12px}.prose:where(.astro-xj2uyz6m){min-width:0}.prose:where(.astro-xj2uyz6m) p,.prose:where(.astro-xj2uyz6m) li{font:var(--kg-body-lg);color:var(--kg-fg)}.prose:where(.astro-xj2uyz6m) p{margin:0 0 1.3em}.prose:where(.astro-xj2uyz6m) h1,.prose:where(.astro-xj2uyz6m) h2,.prose:where(.astro-xj2uyz6m) h3{scroll-margin-top:100px;color:var(--kg-fg)}.prose:where(.astro-xj2uyz6m) h1{font:var(--kg-h2);margin:2.2em 0 .7em}.prose:where(.astro-xj2uyz6m) h2{font:var(--kg-h2);letter-spacing:-.015em;margin:2.4em 0 .7em}.prose:where(.astro-xj2uyz6m) h3{font:var(--kg-h3);letter-spacing:-.01em;margin:1.9em 0 .6em}.prose:where(.astro-xj2uyz6m) a{color:var(--kg-blue-bright);text-decoration:underline;text-underline-offset:3px}.prose:where(.astro-xj2uyz6m) ul,.prose:where(.astro-xj2uyz6m) ol{padding-left:1.4em;margin:0 0 1.3em}.prose:where(.astro-xj2uyz6m) li{margin:.35em 0}.prose:where(.astro-xj2uyz6m) li>p{margin:0}.prose:where(.astro-xj2uyz6m) strong{font-weight:600}.prose:where(.astro-xj2uyz6m) :not(pre)>code{font:var(--kg-code);font-size:.9em;background:var(--kg-bg-overlay);border:1px solid var(--kg-border-subtle);border-radius:var(--kg-radius-xs);padding:.1em .35em}.prose:where(.astro-xj2uyz6m) .diagram-zoom{display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in;border-radius:var(--kg-radius-md)}.prose:where(.astro-xj2uyz6m) .diagram-zoom:focus-visible{outline:3px solid var(--kg-blue-bright);outline-offset:4px}.prose:where(.astro-xj2uyz6m) .expressive-code{margin:0 0 1.5em}.prose:where(.astro-xj2uyz6m) blockquote{margin:0 0 1.3em;padding:2px 0 2px 18px;border-left:3px solid var(--kg-border-strong)}.prose:where(.astro-xj2uyz6m) blockquote p{color:var(--kg-fg-secondary)}.prose:where(.astro-xj2uyz6m) .ai-note{position:relative;margin:0 0 1.3em;padding:22px 18px 18px;border:1px solid var(--kg-border);border-radius:var(--kg-radius-md);background:var(--kg-bg-surface);color:var(--kg-fg-secondary)}.prose:where(.astro-xj2uyz6m) .ai-note-icon{position:absolute;top:-.8em;left:-.5em;font-size:1.4em}.prose:where(.astro-xj2uyz6m) table{width:100%;border-collapse:collapse;font:var(--kg-body);margin:0 0 1.5em}.prose:where(.astro-xj2uyz6m) th,.prose:where(.astro-xj2uyz6m) td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--kg-border-subtle);vertical-align:top}.prose:where(.astro-xj2uyz6m) img{max-width:100%;height:auto;border-radius:var(--kg-radius-md)}.outro:where(.astro-xj2uyz6m){margin:var(--kg-space-8) 0 0;padding:28px;border:1px solid var(--kg-border);border-radius:var(--kg-radius-lg);background:var(--kg-bg-surface);display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.outro:where(.astro-xj2uyz6m) p:where(.astro-xj2uyz6m){font:var(--kg-body);color:var(--kg-fg-secondary);margin:0;max-width:440px}@media(max-width:820px){.blog-post:where(.astro-xj2uyz6m){padding-top:var(--kg-space-7)}.article-layout:where(.astro-xj2uyz6m){display:block}.toc:where(.astro-xj2uyz6m){position:static;margin:0 0 36px;padding:16px;border:1px solid var(--kg-border);border-radius:var(--kg-radius-md);background:var(--kg-bg-surface)}.toc:where(.astro-xj2uyz6m) nav:where(.astro-xj2uyz6m){grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.post-header:where(.astro-xj2uyz6m){text-align:left}.meta:where(.astro-xj2uyz6m){justify-content:flex-start}}
