:root{--color-background:#fff;--color-surface:#f1f5f9;--color-text:#020817;--color-text-secondary:#64748b;--color-divider:#e2e8f0;--color-link:#0f172a;--color-primary:#0f172a;--color-primary-text:#f8fafc;--color-selection:#e2e8f0;--radius:8px;--content-width:1024px;--font-mono:ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--color-text);background:var(--color-background);font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--color-background:#020817;--color-surface:#1e293b;--color-text:#e8e5de;--color-text-secondary:#8b877f;--color-divider:#1e293b;--color-link:#e8e5de;--color-primary:#e8e5de;--color-primary-text:#0f172a;--color-selection:#1e293b;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}:root[data-theme=dark]{--color-background:#020817;--color-surface:#1e293b;--color-text:#e8e5de;--color-text-secondary:#8b877f;--color-divider:#1e293b;--color-link:#e8e5de;--color-primary:#e8e5de;--color-primary-text:#0f172a;--color-selection:#1e293b;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}body{color:var(--color-text);background:var(--color-background);-webkit-font-smoothing:antialiased;margin:0;font-size:16px;line-height:1.7}a{color:var(--color-link);text-underline-offset:.18em;text-decoration-line:underline;text-decoration-thickness:1px}a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid var(--color-primary);outline-offset:3px}::selection{background:var(--color-selection)}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.site-bar-inner,.site-header,.page-shell,.site-footer{width:min(calc(100% - 32px), var(--content-width));margin:0 auto}.page-shell{padding:0 0 72px}.site-title,.site-intro,.post-title,.post-excerpt,.article-title{word-break:keep-all;overflow-wrap:anywhere}.error-state p{margin:0 0 16px}.error-state button{border:1px solid var(--color-divider);border-radius:calc(var(--radius) - 2px);color:var(--color-text);font:inherit;cursor:pointer;background:0 0;padding:8px 14px}.error-state button:focus-visible{outline:2px solid var(--color-primary);outline-offset:3px}
.site-bar{z-index:40;border-bottom:1px solid var(--color-divider);background:color-mix(in srgb, var(--color-background) 85%, transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);position:sticky;top:0}.site-bar-inner{align-items:center;gap:12px;height:56px;display:flex}.site-logo{color:var(--color-text);flex-shrink:0;font-size:1.1rem;font-weight:700;text-decoration:none}.site-search{flex:1;max-width:384px;margin-left:auto;position:relative}.site-search input{border:1px solid var(--color-divider);border-radius:calc(var(--radius) - 2px);width:100%;height:44px;color:var(--color-text);font:inherit;background:0 0;padding:0 52px 0 12px;font-size:.875rem}.site-search button{width:44px;height:44px;color:var(--color-text-secondary);cursor:pointer;background:0 0;border:0;font-size:1.5rem;position:absolute;top:0;right:0}.site-search button:hover{background:var(--color-surface);color:var(--color-text);border-radius:calc(var(--radius) - 2px)}.site-search button:active{background:var(--color-surface);box-shadow:inset 0 0 0 1px var(--color-text-secondary)}.site-bar-link{color:var(--color-text-secondary);font-size:.875rem;text-decoration:none}.site-bar-link:hover{color:var(--color-text)}.site-header{padding:36px 0 4px}.site-title{letter-spacing:-.01em;margin:0;font-size:1.4rem;font-weight:700;line-height:1.3}.site-intro{color:var(--color-text-secondary);margin:6px 0 0;font-size:.875rem}.theme-toggle{border:1px solid var(--color-divider);border-radius:calc(var(--radius) - 2px);width:44px;height:44px;color:var(--color-text);font:inherit;cursor:pointer;background:0 0;flex-shrink:0;place-items:center;padding:0;font-size:.8rem;display:inline-grid}.theme-toggle:hover{background:var(--color-surface)}.theme-toggle:active{background:var(--color-surface);box-shadow:inset 0 0 0 1px var(--color-text-secondary)}.site-footer{border-top:1px solid var(--color-divider);color:var(--color-text-secondary);flex-wrap:wrap;gap:8px 20px;padding:20px 0 40px;font-size:.8rem;display:flex}.site-footer a{color:inherit;text-decoration:none}.site-footer a:hover{color:var(--color-text)}@media (max-width:480px){.site-bar-link{display:none}.site-search{min-width:0}}
.category-nav ul{gap:4px;margin:0;padding:12px 0;list-style:none;display:flex;overflow-x:auto}.category-nav a{min-height:36px;color:var(--color-text);background:var(--color-surface);white-space:nowrap;border-radius:999px;align-items:center;padding:0 16px;font-size:.875rem;font-weight:500;text-decoration:none;display:inline-flex}.category-nav a:hover{opacity:.8}.category-nav a[aria-current=page]{color:var(--color-primary-text);background:var(--color-primary);opacity:1}.post-index{margin-top:8px}.post-index>h2{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.list-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;column-gap:16px;display:flex}.list-toolbar .category-nav{min-width:0}.list-summary{color:var(--color-text-secondary);margin:0;font-size:.875rem}.list-summary a{color:var(--color-link);text-decoration-line:underline}.list-summary a:hover{color:var(--color-text);text-decoration-line:underline}.type-title{color:var(--color-text-secondary);margin:16px 0 12px;font-size:.8rem;font-weight:600}.book-group{margin-top:20px}.book-title{color:var(--color-text);margin:0 0 8px;font-size:.95rem;font-weight:600}.other-posts{margin-top:32px}.post-list{gap:12px;margin:0;padding:0;list-style:none;display:grid}.post-list>li{min-width:0}.post-row{border:1px solid var(--color-divider);border-radius:var(--radius);background:var(--color-background);padding:14px 16px;transition:box-shadow .15s;position:relative}.post-row:hover{box-shadow:0 4px 12px #00000014}.post-title{margin:0;font-size:.95rem;font-weight:600;line-height:1.45}.post-title a{color:var(--color-text);text-decoration:none}.post-title a:after{content:"";position:absolute;inset:0}.post-row:hover .post-title a{text-decoration:underline}.post-excerpt{color:var(--color-text-secondary);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:6px 0 0;font-size:.82rem;line-height:1.6;display:-webkit-box;overflow:hidden}.post-row-meta{justify-content:space-between;align-items:center;gap:12px;margin-top:10px;display:flex}.post-meta{color:var(--color-text-secondary);flex-wrap:wrap;align-items:center;gap:4px 8px;margin:0;font-size:.75rem;line-height:1.5;display:flex}.post-meta>:first-child{color:var(--color-text);background:var(--color-surface);border-radius:999px;padding:2px 10px;font-weight:600}.post-meta>:nth-child(n+3):before{content:"·";margin-right:8px}.empty-state{border:1px solid var(--color-divider);border-radius:var(--radius);color:var(--color-text-secondary);text-align:center;margin:24px 0 0;padding:72px 16px;font-size:.95rem}@media (max-width:480px){.list-toolbar{row-gap:8px;margin-bottom:12px}.list-toolbar .category-nav{flex-basis:100%;width:100%}.category-nav a{min-height:44px}}
.editorial-home{--eh-latest-bg:#eff6ff;--eh-latest-line:#bfdbfe;--eh-latest-ink:#1e40af;--eh-latest-muted:#52647a;--eh-older-bg:#f8fafc;--eh-older-line:#e2e8f0;--eh-older-ink:#475569;--eh-older-muted:#64748b;--eh-series-bg:#f0fdf4;--eh-series-line:#bbdfc7;--eh-series-ink:#166534;--eh-series-muted:#64748b;--eh-series-hover:#dcfce7;--eh-series-pressed:#bbf7d0;--eh-series-open:#e6f7ec}:root[data-theme=dark] .editorial-home{--eh-latest-bg:#111f35;--eh-latest-line:#294b75;--eh-latest-ink:#93c5fd;--eh-latest-muted:#aaa79f;--eh-older-bg:#101827;--eh-older-line:#334155;--eh-older-ink:#cbd5e1;--eh-older-muted:#8b877f;--eh-series-bg:#142920;--eh-series-line:#345c45;--eh-series-ink:#a7d9b6;--eh-series-muted:#aaa79f;--eh-series-hover:#203e2c;--eh-series-pressed:#2a5039;--eh-series-open:#1c3627}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .editorial-home{--eh-latest-bg:#111f35;--eh-latest-line:#294b75;--eh-latest-ink:#93c5fd;--eh-latest-muted:#aaa79f;--eh-older-bg:#101827;--eh-older-line:#334155;--eh-older-ink:#cbd5e1;--eh-older-muted:#8b877f;--eh-series-bg:#142920;--eh-series-line:#345c45;--eh-series-ink:#a7d9b6;--eh-series-muted:#aaa79f;--eh-series-hover:#203e2c;--eh-series-pressed:#2a5039;--eh-series-open:#1c3627}}.editorial-home :is(h2,h3,p,strong,a){overflow-wrap:anywhere;word-break:keep-all}.editorial-home a{text-underline-offset:4px}.editorial-home a:focus-visible{outline:2px solid var(--color-primary);outline-offset:4px}.editorial-home .editorial-section-nav{flex-wrap:wrap;gap:8px;margin:0 0 24px;display:flex}.editorial-home .editorial-section-nav a{background:var(--color-surface);border-radius:6px;align-items:center;min-height:44px;padding:6px 14px;font-size:14px;text-decoration:none;display:inline-flex}.editorial-home .editorial-layout{grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);gap:48px;display:grid}.editorial-home .editorial-layout-solo{grid-template-columns:minmax(0,1fr)}.editorial-home .editorial-layout>*{min-width:0}.editorial-home .editorial-section-title{border-left:4px solid;margin:0 0 14px;padding-left:10px;scroll-margin-top:80px;font-size:16px;font-weight:650}.editorial-home .editorial-latest-title{color:var(--eh-latest-ink)}.editorial-home .editorial-series-title{color:var(--eh-series-ink)}.editorial-home .editorial-feature{border:1px solid var(--eh-latest-line);background:var(--eh-latest-bg);border-radius:8px;padding:20px}.editorial-home .editorial-feature h3{letter-spacing:-.025em;margin:0 0 14px;font-size:clamp(22px,3vw,28px);line-height:1.5}.editorial-home :is(.editorial-feature,.editorial-recent) h3 a{color:var(--color-text);text-decoration:none}.editorial-home .editorial-excerpt{color:var(--eh-latest-muted);margin:0 0 18px;font-size:16px;line-height:1.85}.editorial-home .editorial-meta{color:var(--eh-latest-muted);flex-wrap:wrap;align-items:center;gap:6px 12px;display:flex}.editorial-home .post-meta{color:inherit;gap:6px 12px}.editorial-home .post-meta>:first-child{color:inherit;font-weight:inherit;background:0 0;border-radius:0;padding:0}.editorial-home .post-meta>:nth-child(n+3):before{content:none}.editorial-home .view-count{color:inherit}.editorial-home .editorial-recent-head{border-left:4px solid var(--eh-older-ink);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin:24px 0 16px;padding-left:10px;display:flex}.editorial-home .editorial-recent-head h2{color:var(--eh-older-ink);margin:0;font-size:16px}.editorial-home :is(.editorial-recent-head,.editorial-archive-note) a{align-items:center;min-height:44px;font-size:14px;display:inline-flex}.editorial-home .editorial-recent-grid{gap:12px;display:grid}.editorial-home .editorial-recent{border:1px solid var(--eh-older-line);background:var(--eh-older-bg);border-radius:8px;padding:18px 20px}.editorial-home .editorial-recent h3{margin:0 0 8px;font-size:18px;line-height:1.55}.editorial-home .editorial-recent .editorial-excerpt{color:var(--eh-older-muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-bottom:12px;font-size:14px;display:-webkit-box;overflow:hidden}.editorial-home .editorial-recent .editorial-meta{color:var(--eh-older-muted)}.editorial-home .editorial-sidebar{border:1px solid var(--eh-series-line);background:var(--eh-series-bg);border-radius:8px;align-self:start;padding:20px}.editorial-home .editorial-sidebar-intro{color:var(--eh-series-muted);margin:-8px 0 20px;font-size:14px}.editorial-home .editorial-series{border-top:1px solid var(--eh-series-line)}.editorial-home .editorial-series:last-of-type{border-bottom:1px solid var(--eh-series-line)}.editorial-home .editorial-series summary{min-height:72px;color:var(--eh-series-ink);cursor:pointer;-webkit-tap-highlight-color:transparent;border-radius:6px;justify-content:space-between;align-items:center;gap:14px;padding:14px 10px;list-style:none;display:flex}.editorial-home .editorial-series summary::-webkit-details-marker{display:none}.editorial-home .editorial-series summary>span:first-child{min-width:0}.editorial-home .editorial-series strong{font-size:15px;line-height:1.65;display:block}.editorial-home .editorial-kind{color:var(--eh-series-ink);font-size:12px}.editorial-home .editorial-series-count{color:var(--eh-series-ink);white-space:nowrap;font-size:12px}.editorial-home .editorial-series-icon{text-align:center;min-width:16px;display:inline-block}.editorial-home .editorial-open-icon,.editorial-home .editorial-series[open] .editorial-closed-icon{display:none}.editorial-home .editorial-series[open] .editorial-open-icon{display:inline}.editorial-home .editorial-series[open] summary{background:var(--eh-series-open)}.editorial-home .editorial-series ul{margin:0 0 20px;padding-left:20px;font-size:14px}.editorial-home .editorial-series li+li{margin-top:8px}.editorial-home .editorial-series a{min-height:44px;color:var(--eh-series-ink);-webkit-tap-highlight-color:transparent;border-radius:4px;align-items:center;padding:4px 8px;display:flex}.editorial-home .editorial-series :is(summary,a):focus-visible{outline:2px solid var(--eh-series-ink);outline-offset:2px}@media (hover:hover){.editorial-home .editorial-section-nav a:hover,.editorial-home :is(.editorial-feature,.editorial-recent) h3 a:hover{text-decoration:underline}.editorial-home .editorial-series summary:hover,.editorial-home .editorial-series[open] summary:hover,.editorial-home .editorial-series a:hover{background:var(--eh-series-hover)}.editorial-home .editorial-series summary:hover strong{text-decoration:underline}}.editorial-home .editorial-series summary:active,.editorial-home .editorial-series[open] summary:active,.editorial-home .editorial-series a:active{background:var(--eh-series-pressed)}.editorial-home .editorial-archive-note{padding-top:24px;font-size:14px}.editorial-home .editorial-archive-note p{color:var(--eh-series-muted);margin:0 0 8px}.editorial-home .editorial-empty{color:var(--color-text-secondary);margin:24px 0}@media (max-width:800px){.editorial-home .editorial-layout{grid-template-columns:minmax(0,1fr);gap:28px}.editorial-home .editorial-feature,.editorial-home .editorial-sidebar{padding:18px}.editorial-home .editorial-feature h3{font-size:24px}.editorial-home .editorial-recent-head{margin-top:20px}.editorial-home .editorial-recent-grid{border:1px solid var(--eh-older-line);background:var(--eh-older-bg);border-radius:8px;gap:0;padding:0 14px}.editorial-home .editorial-recent{border:0;border-bottom:1px solid var(--eh-older-line);background:0 0;border-radius:0;padding:14px 0}.editorial-home .editorial-recent:last-child{border-bottom:0}.editorial-home .editorial-recent .editorial-excerpt,.editorial-home .editorial-recent .post-meta>span,.editorial-home .editorial-recent .view-count{display:none}.editorial-home .editorial-recent h3{margin-bottom:4px;font-size:16px;line-height:1.6}.editorial-home .editorial-recent h3 a{align-items:center;min-height:44px;display:flex}}
.page-shell.article-page{width:min(100% - 32px,720px);padding-top:8px}.reading-progress{z-index:50;pointer-events:none;width:100%;height:3px;position:fixed;top:0;left:0}.reading-progress>span{background:var(--color-primary);transform-origin:0;width:100%;height:100%;display:block}.article-toolbar{margin:12px 0 24px}.back-link{min-height:44px;color:var(--color-link);align-items:center;font-size:.875rem;text-decoration:underline;display:inline-flex}.back-link:hover{color:var(--color-text)}.article-header{border-bottom:1px solid var(--color-divider);padding-bottom:24px}.article-page .article-header .post-meta>:first-child{font-size:.8125rem;line-height:1.5}.article-meta{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 20px;display:flex}.article-title{letter-spacing:-.02em;margin:0 0 12px;font-size:clamp(1.45rem,5vw,1.75rem);line-height:1.3}.book-series{margin:32px 0 0}.book-series ol{margin:0;padding-left:1.4em}.book-series [aria-current=page]{font-weight:700}.article-navigation{border-top:1px solid var(--color-divider);grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;margin-top:56px;padding-top:24px;display:grid}.article-navigation a{color:var(--color-text);text-decoration:none}.article-navigation a:focus-visible{outline:2px solid var(--color-primary);outline-offset:3px}.article-navigation span{color:var(--color-text-secondary);font-size:.75rem}.article-navigation strong{white-space:normal;overflow-wrap:anywhere;font-size:.9rem;font-weight:600;line-height:1.5;overflow:visible}.article-navigation-previous,.article-navigation-next{border:1px solid var(--color-divider);border-radius:var(--radius);background:var(--color-background);flex-direction:column;justify-content:center;gap:4px;min-width:0;min-height:72px;padding:12px 16px;transition:box-shadow .15s;display:flex}:is(.article-navigation-previous,.article-navigation-next):hover{background:var(--color-surface);box-shadow:0 4px 12px #00000014}:is(.article-navigation-previous,.article-navigation-next):active{box-shadow:inset 0 0 0 1px var(--color-text-secondary)}.article-navigation-next{text-align:right;grid-column:3}.article-navigation-list{background:var(--color-surface);border-radius:999px;grid-column:2;justify-content:center;align-items:center;min-height:44px;padding:0 16px;font-size:.875rem;font-weight:500;display:inline-flex;color:var(--color-text)!important}.article-navigation-list:hover{opacity:.8}@media (max-width:640px){.article-navigation{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.article-navigation-next{grid-column:2}.article-navigation-list{grid-area:2/1/auto/-1;justify-self:center}}
.article-content{margin-top:32px;font-size:1rem;line-height:1.85}.article-content p,.article-content ul,.article-content ol,.article-content blockquote,.article-content figure,.article-content pre{margin:0 0 1.2em}.article-content p{word-break:keep-all;overflow-wrap:anywhere}.article-content h2,.article-content h3,.article-content h4{letter-spacing:-.01em;margin:2em 0 .6em;scroll-margin-top:72px;line-height:1.4}.article-content h2{font-size:1.3rem}.article-content h3{font-size:1.15rem}.article-content h4{font-size:1.05rem}.article-content blockquote{border-left:3px solid var(--color-divider);color:var(--color-text-secondary);padding-left:16px}.article-content hr{border:0;border-top:1px solid var(--color-divider);margin:36px 0}.article-content figure img{border-radius:var(--radius);width:100%;height:auto;display:block}.article-content figcaption{color:var(--color-text-secondary);text-align:center;margin-top:8px;font-size:.875rem}.article-content pre{border:1px solid var(--color-divider);border-radius:var(--radius);background:var(--color-surface);padding:14px 16px;font-size:.875rem;line-height:1.65;overflow-x:auto}.article-content pre>code{font-size:1em}.article-content code{font-family:var(--font-mono);font-size:.9em}:root[data-theme=dark] .article-content pre span{color:var(--shiki-dark)!important}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .article-content pre span{color:var(--shiki-dark)!important}}.table-of-contents{border:1px solid var(--color-divider);border-radius:var(--radius);margin-bottom:36px;padding:16px 20px}.table-of-contents strong{margin-bottom:8px;display:block}.table-of-contents ul{margin:0;padding:0;list-style:none}.table-of-contents li+li{margin-top:4px}.table-of-contents a{color:var(--color-text);text-underline-offset:3px}.table-of-contents-level-2{padding-left:1em}.table-of-contents-level-3{padding-left:2em}.article-page .article-content>.table-of-contents{font-size:.9375rem;line-height:1.7}.article-page .article-content>.table-of-contents li+li{margin-top:6px}.article-page .article-content>.table-of-contents .table-of-contents-level-2{padding-left:1rem}.article-page .article-content>.table-of-contents .table-of-contents-level-3{padding-left:2rem}
.view-count{color:var(--color-text-secondary);white-space:nowrap;flex:none;align-items:center;gap:4px;font-size:.75rem;display:inline-flex}
