:root{color-scheme:dark;--bg: #10130f;--panel: #171b14;--panel-strong: #1f261a;--line: #34402b;--line-soft: #25301f;--text: #e8f0df;--muted: #aebba3;--dim: #748068;--accent: #9bd86f;--accent-strong: #d7f7aa;--warn: #e6c86e;--error: #f28b82;--shadow: rgba(0, 0, 0, .35);--chrome-row-height: 2.1rem;--mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;--sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--serif: ui-serif, Georgia, Cambria, "Times New Roman", serif}*{box-sizing:border-box}html{height:100%;background:var(--bg);color:var(--text);font-family:var(--sans);text-size-adjust:100%}body{min-width:320px;height:100%;margin:0;overflow:hidden;background:linear-gradient(90deg,rgba(155,216,111,.03) 1px,transparent 1px) 0 0 / 44px 44px,radial-gradient(circle at 50% -20%,rgba(215,247,170,.1),transparent 36rem),var(--bg)}a{color:inherit;text-decoration:none}img,svg{display:block;max-width:100%}::selection{background:#9bd86f47}.editor-frame{display:grid;height:100vh;overflow:hidden;grid-template-rows:auto 1fr auto}.editor-body{position:relative;display:grid;min-height:0;overflow:hidden;grid-template-columns:auto minmax(0,1fr);transition:grid-template-columns .2s ease}.editor-main{display:grid;min-width:0;min-height:0;overflow-y:auto;overflow-x:hidden;grid-template-rows:auto 1fr;grid-column:2;grid-row:1;scrollbar-width:thin;scrollbar-color:var(--line-soft) transparent}.editor-main::-webkit-scrollbar{width:5px}.editor-main::-webkit-scrollbar-thumb{border-radius:3px;background:var(--line-soft)}.editor-main::-webkit-scrollbar-track{background:transparent}.command-bar,.status-line{position:relative;z-index:10;display:flex;align-items:center;gap:.75rem;border-color:var(--line);background:#10130feb;font-family:var(--mono);font-size:.85rem;backdrop-filter:blur(16px)}.command-bar{min-height:3.25rem;padding:.65rem clamp(1rem,3vw,2rem);border-bottom:1px solid var(--line)}.leader{position:relative;z-index:1;display:grid;width:2rem;height:2rem;place-items:center;border:1px solid var(--line);border-radius:6px;background:var(--panel);color:var(--accent)}.command-input{position:relative;z-index:1;display:flex;min-width:0;flex:1;align-items:center;gap:.35rem;color:var(--muted)}.command-input input{width:100%;border:0;background:transparent;color:var(--accent);font:inherit;outline:none}.prompt,.command{color:var(--accent)}.cursor{width:.6rem;height:1rem;background:var(--accent);opacity:.7}body[data-mode=command] .cursor,body[data-mode=search] .cursor,.cursor{animation:blink .9s steps(2,start) infinite}body[data-mode=command] .command-input,body[data-mode=search] .command-input{position:relative;z-index:2;flex:1;border:1px solid var(--accent);border-radius:8px;padding:.5rem .75rem;background:var(--panel)}body[data-mode=command] .command-bar,body[data-mode=search] .command-bar{position:relative;z-index:30;padding:.35rem clamp(1rem,3vw,2rem);border-bottom:1px solid var(--accent);background:var(--bg)}.palette-backdrop{display:none}body[data-mode=command] .palette-backdrop,body[data-mode=search] .palette-backdrop{position:fixed;top:3.25rem;right:0;bottom:2.15rem;left:0;display:block;z-index:0;border:0;background:#10130f59;cursor:default;pointer-events:auto}body[data-mode=command] .commands,body[data-mode=search] .commands,body[data-mode=command] .leader,body[data-mode=search] .leader,body[data-mode=command] .project-link,body[data-mode=search] .project-link{display:none}body[data-mode=command] .command-input input,body[data-mode=search] .command-input input{color:var(--text);font-size:1rem}.command-suggestions{position:absolute;right:0;top:calc(100% + .5rem);bottom:auto;left:0;display:none;z-index:3;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:#171b14fa;box-shadow:0 18px 42px var(--shadow);animation:palette-in .14s ease both}body[data-mode=command] .command-suggestions:not(:empty),body[data-mode=search] .command-suggestions:not(:empty){display:grid}.command-suggestions button{display:grid;grid-template-columns:minmax(8rem,13rem) minmax(0,1fr) minmax(4rem,8rem);gap:.8rem;border:0;border-bottom:1px solid var(--line-soft);padding:.6rem .75rem;background:transparent;color:var(--muted);cursor:pointer;font:inherit;text-align:left}.command-suggestions button:last-child{border-bottom:0}.command-suggestions button:hover,.command-suggestions button:focus-visible,.command-suggestions button.is-active{background:var(--panel-strong);color:var(--accent-strong);outline:none}.command-suggestions span{color:var(--accent)}.command-suggestions small{overflow:hidden;color:var(--dim);text-overflow:ellipsis;white-space:nowrap}.command-suggestions em{overflow:hidden;color:var(--warn);font-style:normal;text-align:right;text-overflow:ellipsis;white-space:nowrap}.commands{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.35rem}.project-link{display:grid;width:2rem;height:2rem;place-items:center;border:1px solid var(--line);border-radius:6px;color:var(--muted);transition:border-color .16s ease,color .16s ease,transform .16s ease}.project-link:hover,.project-link:focus-visible{border-color:var(--accent);color:var(--accent-strong);outline:none;transform:translateY(-1px)}.commands a{display:flex;align-items:center;gap:.35rem;padding:.3rem .45rem;border:1px solid transparent;border-radius:6px;color:var(--muted)}.commands a:hover,.commands a:focus-visible{border-color:var(--line);color:var(--accent-strong);outline:none}.app-loading .file-explorer,.app-loading .editor-body{transition:none!important}.file-explorer{position:relative;overflow:visible;grid-column:1;grid-row:1;border-right:0;background:#10130f94;font-family:var(--mono);font-size:.82rem}.file-explorer:after{position:absolute;top:0;right:0;bottom:0;width:1px;background:var(--line);content:"";pointer-events:none}@media(min-width:761px){.editor-body{grid-template-columns:17rem minmax(0,1fr)}.file-explorer{width:17rem;min-width:0;max-width:17rem;overflow:hidden;transition:width .2s ease,max-width .2s ease}:root.explorer-hidden .file-explorer,body.explorer-hidden .file-explorer{width:2rem;max-width:2rem}:root.explorer-hidden .editor-body,body.explorer-hidden .editor-body{grid-template-columns:2rem minmax(0,1fr)}}.explorer-collapse{display:grid;width:1.35rem;height:1.35rem;margin-left:calc((2rem - 1.35rem) / 2);place-items:center;border:1px solid var(--line);border-radius:4px;background:var(--panel);color:var(--accent);cursor:pointer}.explorer-collapse:hover,.explorer-collapse:focus-visible{border-color:var(--accent-strong);color:var(--accent-strong);outline:none}@media(min-width:761px){:root.explorer-hidden .explorer-title,body.explorer-hidden .explorer-title{justify-content:flex-start;padding:0}.explorer-title-group{position:relative;flex:0 0 2rem;width:2rem;justify-content:center;gap:0}.explorer-title-group>span{position:absolute;top:50%;left:2.5rem;transform:translateY(-50%);white-space:nowrap}.explorer-collapse{margin-left:0}:root.explorer-hidden .explorer-title-group,body.explorer-hidden .explorer-title-group{justify-content:center;width:2rem;gap:0}:root.explorer-hidden .explorer-title-group>span,:root.explorer-hidden .tree,body.explorer-hidden .explorer-title-group>span,body.explorer-hidden .tree{display:none}}.explorer-title{display:flex;align-items:center;justify-content:space-between;height:var(--chrome-row-height);min-height:var(--chrome-row-height);border-bottom:1px solid var(--line-soft);padding:0 .55rem 0 0;background:#10130feb;color:var(--dim);font-family:var(--mono);font-size:.8rem}.explorer-title-group{display:flex;align-items:center;gap:.5rem}.explorer-close,.explorer-backdrop{display:none}.explorer-close{width:2rem;height:2rem;place-items:center;border:1px solid var(--line);border-radius:6px;background:transparent;color:var(--muted);cursor:pointer;font:inherit}.explorer-close:hover,.explorer-close:focus-visible{border-color:var(--accent);color:var(--accent-strong);outline:none}.tree{display:grid;gap:.8rem;padding:.8rem}.tree details{display:grid;gap:.25rem}.tree summary{cursor:pointer;color:var(--accent-strong);list-style:none}.tree summary::-webkit-details-marker{display:none}.tree summary:before{content:"▾";margin-right:.35rem;color:var(--dim)}.tree details:not([open]) summary:before{content:"▸"}.tree ol,.tree-root{display:grid;gap:.15rem;margin:.25rem 0 0;padding:0;list-style:none}.tree details ol{padding-left:.75rem}.tree a{display:grid;grid-template-columns:1.75rem minmax(0,1fr) auto;gap:.45rem;align-items:center;min-height:1.8rem;border-radius:5px;padding:.2rem .35rem;color:var(--muted);transition:background .16s ease,color .16s ease,transform .16s ease}.tree a:hover,.tree a:focus-visible{background:var(--panel);color:var(--accent-strong);outline:none;transform:translate(2px)}.tree a.is-current{background:var(--panel-strong);color:var(--accent-strong);box-shadow:inset 3px 0 0 var(--accent)}.tree a span:not(.tree-icon){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tree-icon,.tree small{color:var(--dim)}.tree-icon{display:inline-grid;width:1.75rem;height:1.35rem;place-items:center;border:1px solid var(--line-soft);border-radius:4px;font-size:.62rem;line-height:1}.tree-icon-md{color:var(--accent-strong);font-weight:800;letter-spacing:0}.tree-icon svg,.leader svg,.tab-close svg{width:1em;height:1em;stroke-width:2}.bufferline{display:flex;min-width:0;height:var(--chrome-row-height);min-height:var(--chrome-row-height);overflow-x:auto;overflow-y:hidden;border-bottom:1px solid var(--line);background:#10130fbd;font-family:var(--mono);font-size:.8rem;visibility:visible;scrollbar-width:thin}.buffer-tab{display:flex;flex:0 1 15rem;min-width:8rem;max-width:15rem;align-items:center;gap:.4rem;border-right:1px solid var(--line-soft);color:var(--muted);transition:background .16s ease,color .16s ease,box-shadow .16s ease}.buffer-tab a{display:flex;flex:1 1 auto;height:100%;min-width:0;align-items:center;gap:.4rem;padding:0 .45rem 0 .75rem}.buffer-tab a span:last-child{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.buffer-tab:hover,.buffer-tab:focus-within,.buffer-tab.is-current{background:var(--panel);color:var(--accent-strong);outline:none}.buffer-tab.is-current{box-shadow:inset 0 -2px 0 var(--accent)}.tab-modified{color:var(--warn);font-size:.7rem}.tab-close{display:grid;flex:0 0 auto;width:1.35rem;height:1.35rem;margin-right:.35rem;place-items:center;border:1px solid transparent;border-radius:4px;background:transparent;color:var(--dim);cursor:pointer;font:inherit}.tab-close:hover,.tab-close:focus-visible{border-color:var(--line);color:var(--error);outline:none}.workspace{width:min(100%,1060px);margin:0 auto;min-height:0;padding:clamp(2rem,5vw,4rem) clamp(1rem,3vw,2rem) 5rem}@keyframes palette-in{0%{opacity:0;transform:translateY(-4px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes row-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.status-line{min-height:2.15rem;padding:.35rem clamp(1rem,3vw,2rem);border-top:1px solid var(--line);color:var(--muted)}.status-line .mode{margin-left:-.35rem;padding:.25rem .5rem;border-radius:4px;background:var(--accent);color:#11160e;font-weight:800}.status-line .file{min-width:0;max-width:min(52vw,42rem);overflow:hidden;color:var(--accent-strong);text-overflow:ellipsis;white-space:nowrap}.status-line .spacer{flex:1}.section-header{max-width:760px;margin-bottom:2rem}.eyebrow{margin:0 0 .55rem;color:var(--accent);font-family:var(--mono);font-size:.86rem}h1,h2,h3{margin:0;line-height:1.08}h1{max-width:12ch;font-size:clamp(2.6rem,8vw,5.8rem);letter-spacing:0}.section-header p:not(.eyebrow){max-width:62ch;margin:1rem 0 0;color:var(--muted);font-size:1.08rem;line-height:1.7}.buffers,.find-list{display:grid;gap:.55rem;margin:0;padding:0;list-style:none}.list-filter{max-width:36rem;margin:-.5rem 0 1rem}.list-filter input{width:100%}.buffers li[hidden],.tag-card[hidden]{display:none}.buffer-row,.find-row{display:grid;align-items:center;gap:.8rem;border:1px solid var(--line-soft);border-radius:8px;background:#171b14d1;box-shadow:0 16px 36px var(--shadow);transition:border-color .16s ease,background .16s ease,transform .16s ease;animation:row-in .18s ease both}.buffer-row{grid-template-columns:2rem 2.5rem minmax(0,1fr) minmax(10rem,auto);min-height:5.25rem;padding:1rem}.find-row{grid-template-columns:2rem minmax(8rem,11rem) minmax(0,1fr);min-height:4.5rem;padding:.9rem 1rem}.buffer-row:focus-visible,.buffer-row.is-active,.find-row:focus-visible,.find-row.is-active,.tag-card.is-active{border-color:var(--accent);background:var(--panel-strong);outline:none;transform:translateY(-1px)}.buffer-row:hover,.find-row:hover{background:var(--panel);outline:none}.buffer-row.is-active,.find-row.is-active,.tag-card.is-active{box-shadow:inset 3px 0 0 var(--accent),0 16px 36px var(--shadow)}.buffer-number,.buffer-flags,.qf-index,.qf-location{font-family:var(--mono);font-size:.85rem}.buffer-number,.qf-index{color:var(--dim)}.buffer-flags{color:var(--warn)}.buffer-title,.qf-text{display:grid;gap:.35rem;min-width:0}.buffer-title strong,.qf-text strong{overflow-wrap:anywhere;color:var(--text);font-size:1.05rem}.buffer-title span,.qf-text span{color:var(--muted);line-height:1.5}.buffer-meta{color:var(--dim);text-align:right}.post-meta{display:flex;flex-wrap:wrap;gap:.45rem .9rem;margin:0;color:var(--dim);font-family:var(--mono);font-size:.82rem}.stack{display:grid;gap:2rem}.find-section .section-header{margin-bottom:1rem}.find-section .section-header h1{font-size:clamp(1.4rem,4vw,2.25rem)}.qf-location{overflow:hidden;color:var(--accent);text-overflow:ellipsis;white-space:nowrap}.tag-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(11rem,1fr));gap:.75rem}.tag-card{display:flex;min-height:5rem;align-items:center;justify-content:space-between;gap:1rem;border:1px solid var(--line-soft);border-radius:8px;padding:1rem;background:var(--panel)}.tag-card:hover,.tag-card:focus-visible,.tag-card.is-active{border-color:var(--accent);outline:none}.tag-card span{color:var(--accent-strong);font-family:var(--mono)}.tag-card strong{color:var(--muted)}.search-panel{display:grid;gap:1.25rem}.picker-prompt,.search-box{display:flex;align-items:center;gap:.55rem;border:1px solid var(--line);border-radius:8px;padding:.8rem 1rem;background:var(--panel);color:var(--accent);font-family:var(--mono)}.picker-prompt:focus-within,.search-box:focus-within{border-color:var(--accent);box-shadow:inset 3px 0 0 var(--accent)}.picker-prompt input,.search-box input{width:100%;border:0;background:transparent;color:var(--text);font:inherit;outline:none}.post{width:min(100%,760px);margin:0 auto}.post-header{margin-bottom:2.25rem}.post-header h1{max-width:min(100%,22ch);margin-bottom:1rem;overflow-wrap:anywhere;font-size:clamp(2.15rem,6vw,4.25rem);line-height:1.04}.post-tags{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:1rem}.post-tags a{border:1px solid var(--line);border-radius:6px;padding:.3rem .45rem;color:var(--accent-strong);font-family:var(--mono);font-size:.82rem}.prose{color:var(--text);font-family:var(--serif);font-size:clamp(1.08rem,2vw,1.2rem);line-height:1.82}.prose>*+*{margin-top:1.25em}.prose h2,.prose h3{margin-top:2em;font-family:var(--sans);letter-spacing:0}.prose h2{font-size:1.7rem}.prose h3{font-size:1.25rem}.prose p,.prose li{color:#dfe8d5}.prose a{color:var(--accent-strong);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.22em}.prose code{border:1px solid var(--line-soft);border-radius:5px;padding:.1rem .3rem;background:var(--panel);color:var(--accent-strong);font-family:var(--mono);font-size:.9em}.prose pre{overflow-x:auto;border:1px solid var(--line);border-radius:8px;padding:1rem;background:#0c0f0b;font-family:var(--mono);font-size:.92rem;line-height:1.7}.prose pre code{border:0;padding:0;background:transparent}.post-aside{border-left:3px solid var(--accent);padding:.95rem 1rem;background:#9bd86f14;color:var(--muted);font-family:var(--sans)}.post-aside strong{display:block;margin-bottom:.35rem;color:var(--accent-strong);font-family:var(--mono)}.help-panel{position:fixed;right:clamp(1rem,3vw,2rem);bottom:3.25rem;z-index:20;display:none;width:min(22rem,calc(100vw - 2rem));border:1px solid var(--line);border-radius:8px;background:#171b14f5;box-shadow:0 20px 48px var(--shadow)}.show-help .help-panel{display:block}.help-panel-inner{padding:1rem}.help-panel dl{display:grid;gap:.55rem;margin:0 0 1rem}.help-panel h2{margin:.85rem 0 .6rem;color:var(--text);font-size:.95rem}.help-buffer h2{margin:0 0 .7rem;color:var(--accent-strong);font-size:1rem}.help-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(18rem,1fr));gap:1.25rem}.help-grid section{border:1px solid var(--line-soft);border-radius:8px;padding:1rem;background:var(--panel)}.help-grid dl{display:grid;gap:.55rem;margin:0}.help-grid dl div{display:grid;grid-template-columns:6rem 1fr;gap:.8rem}.help-grid dt{color:var(--accent);font-family:var(--mono)}.help-grid dd{margin:0;color:var(--muted)}.help-panel dl div{display:grid;grid-template-columns:5rem 1fr;gap:.75rem;align-items:baseline}.help-panel dt{color:var(--accent-strong);font-family:var(--mono)}.help-panel dd{margin:0;color:var(--muted)}@keyframes blink{50%{opacity:0}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:1ms!important;animation-iteration-count:1!important;transition-duration:1ms!important}}@media(max-width:760px){html,body,.editor-frame{height:100dvh;min-height:100dvh}.editor-frame,.editor-body,.editor-main,.command-bar,.bufferline,.workspace,.status-line{min-width:0;width:100%;max-width:100%}.command-bar{min-height:3rem;align-items:center;gap:.5rem;padding:.45rem .75rem;padding-top:max(.45rem,env(safe-area-inset-top))}.editor-body{grid-template-columns:1fr}:root.explorer-hidden .editor-body,body.explorer-hidden .editor-body{grid-template-columns:2rem minmax(0,1fr)}.file-explorer{position:absolute;top:0;bottom:0;left:0;z-index:35;width:min(22rem,calc(100vw - 3rem));max-width:calc(100vw - 3rem);border-bottom:0;background:#10130ffa;box-shadow:24px 0 60px var(--shadow);transform:translate(calc(-100% + 2rem));transition:transform .2s ease,visibility .2s ease;visibility:visible}:root.explorer-open .file-explorer,body.explorer-open .file-explorer{transform:translate(0);visibility:visible}.explorer-title{height:var(--chrome-row-height);min-height:var(--chrome-row-height);padding:0 .55rem 0 0}.explorer-title-group{position:relative;flex:0 0 2rem;width:2rem;gap:0;transition:transform .2s ease}:root.explorer-hidden .explorer-title,body.explorer-hidden .explorer-title{justify-content:flex-start;padding:0}:root.explorer-hidden .explorer-title-group,body.explorer-hidden .explorer-title-group{width:2rem;justify-content:center;gap:0;margin-left:0;transform:translate(calc(min(22rem,calc(100vw - 3rem)) - 2rem))}:root.explorer-hidden .explorer-collapse,body.explorer-hidden .explorer-collapse{margin-left:0}:root.explorer-hidden .explorer-title-group>span,:root.explorer-hidden .tree,body.explorer-hidden .explorer-title-group>span,body.explorer-hidden .tree{display:none}.explorer-close{display:grid}:root.explorer-hidden .explorer-close,body.explorer-hidden .explorer-close{display:none}:root.explorer-open .explorer-title-group>span,body.explorer-open .explorer-title-group>span{display:block;position:absolute;top:50%;left:2.5rem;transform:translateY(-50%);white-space:nowrap}:root.explorer-open .explorer-title-group,body.explorer-open .explorer-title-group{width:2rem;margin-left:0;gap:0;transform:translate(0)}.explorer-backdrop{position:absolute;top:0;right:0;bottom:0;left:min(22rem,calc(100vw - 3rem));z-index:34;border:0;background:#10130f9e;cursor:pointer}:root.explorer-open .explorer-backdrop,body.explorer-open .explorer-backdrop{display:block}.tree{display:grid;gap:.9rem;height:calc(100% - var(--chrome-row-height));max-height:none;overflow-x:hidden;overflow-y:auto;padding:.85rem;scrollbar-width:thin}.tree details,.tree-root{display:grid;gap:.25rem;margin:0}.tree summary{display:revert}.tree details ol{display:grid;gap:.15rem;margin:.25rem 0 0;padding-left:.75rem}.tree a{min-height:2.25rem;grid-template-columns:1.75rem minmax(0,1fr) auto;border:0;padding:.3rem .4rem}.tree a small{display:block}.tree a span:not(.tree-icon){max-width:none}.command-input{display:flex}body[data-mode=command] .command-input,body[data-mode=search] .command-input{display:flex;width:calc(100% - 1rem);max-width:820px}.command-input input,.picker-prompt input,.search-box input,.list-filter input{font-size:16px}.command-suggestions button{grid-template-columns:1fr;gap:.2rem}.command-suggestions{max-height:min(22rem,calc(50dvh - 3rem));overflow-y:auto;scrollbar-width:thin}.commands{display:flex;gap:.15rem;margin-left:auto}.commands a{font-size:0;padding:.3rem}:root.explorer-hidden .editor-body,body.explorer-hidden .editor-body{grid-template-columns:2rem 1fr}.project-link{width:2.25rem;height:2.25rem;flex:0 0 auto}.bufferline{overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}.buffer-tab{flex:0 0 13.5rem;min-width:13.5rem;max-width:13.5rem}.tab-close{width:2.25rem;height:2rem;margin-right:.25rem}.buffer-row,.find-row{grid-template-columns:2rem minmax(0,1fr);align-items:start}.buffer-flags,.buffer-meta,.qf-location{display:none}.status-line span:nth-last-child(-n+2){display:none}.status-line .file{max-width:58vw}}
