:root{--font-text:-apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Segoe UI", Roboto, sans-serif;--font-mono:"JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;--bg-primary:#1e1e1e;--bg-primary-alt:#242424;--bg-secondary:#262626;--form-field:#2a2a2a;--border:#363636;--border-focus:#555;--hover:#ffffff13;--active:#ffffff13;--text:#dadada;--muted:#b3b3b3;--faint:#666;--icon:#999;--accent:#8a5cf5;--accent-text:#9973f7;--selection:#8a5cf554;--highlight:#ffd00066;--code-bg:var(--bg-primary-alt);--code-text:var(--text);--scrollbar:#ffffff1a}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--bg-primary);color:var(--text);font:16px/1.5 var(--font-text);-webkit-font-smoothing:antialiased}.app{grid-template-columns:260px 1fr;height:100vh;display:grid;overflow:hidden}.app.sidebar-closed{grid-template-columns:0 1fr}.app.sidebar-closed .sidebar{visibility:hidden}svg{fill:none;stroke:currentColor;stroke-width:1.75px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:18px;height:18px}.btn{width:28px;height:26px;color:var(--icon);cursor:pointer;background:0 0;border:0;border-radius:4px;justify-content:center;align-items:center;padding:0;display:inline-flex}.btn:hover{background:var(--hover);color:var(--text)}.btn.on{color:var(--text);background:var(--active)}.btn:disabled{opacity:.35;cursor:default;color:var(--icon);background:0 0}.sidebar{background:var(--bg-secondary);border-right:1px solid var(--border);flex-direction:column;min-width:0;display:flex;overflow:hidden}.side-tabs{border-bottom:1px solid var(--border);flex:none;align-items:center;gap:2px;height:40px;padding:0 8px;display:flex}.panel{flex-direction:column;flex:1;min-height:0;display:flex}.panel[hidden]{display:none}.tree{flex:1;padding:10px 8px 12px;font-size:13px;overflow-y:auto}.tree details>summary{list-style:none}.tree details>summary::-webkit-details-marker{display:none}.item{color:var(--muted);cursor:pointer;white-space:nowrap;text-overflow:ellipsis;border-radius:4px;align-items:center;gap:4px;margin-bottom:1px;padding:3px 8px 3px 6px;line-height:1.45;text-decoration:none;display:flex;overflow:hidden}.item:hover{background:var(--hover);color:var(--text);text-decoration:none}.item[aria-current]{background:var(--active);color:var(--text)}.item svg{width:14px;height:14px;color:var(--faint);transition:transform .1s}.tree details[open]>summary svg{transform:rotate(90deg)}.children{border-left:1px solid var(--border);margin-left:13px;padding-left:8px}.file{padding-left:24px}.children .file{padding-left:8px}.vault{color:var(--text);border-radius:4px;justify-content:space-between;align-items:center;margin:0 8px 8px;padding:6px 8px;font-size:13px;font-weight:600;text-decoration:none;display:flex}.vault:hover{background:var(--hover);text-decoration:none}.vault svg{width:14px;height:14px;color:var(--icon)}.search-box{background:var(--form-field);border:1px solid var(--border);border-radius:5px;align-items:center;gap:6px;height:30px;margin:10px 8px 6px;padding:0 8px;display:flex}.search-box:focus-within{border-color:var(--border-focus)}.search-box svg{width:14px;height:14px;color:var(--faint)}.search-box input{min-width:0;color:var(--text);font:13px var(--font-text);background:0 0;border:0;outline:0;flex:1}.search-box input::placeholder{color:var(--faint)}.search-box input::-webkit-search-cancel-button{display:none}.search-box kbd{font:11px var(--font-mono);color:var(--faint)}.search-info{color:var(--faint);padding:2px 16px 6px;font-size:12px}.results{flex:1;padding:0 8px 12px;font-size:13px;overflow-y:auto}.result{color:var(--text);border-radius:4px;margin-bottom:2px;padding:6px 8px;text-decoration:none;display:block}.result:hover,.result.selected{background:var(--hover);text-decoration:none}.result-title{font-weight:600}.snippet{border-left:1px solid var(--border);color:var(--muted);margin-top:4px;padding-left:8px;font-size:12px;line-height:1.5}mark{background:var(--highlight);color:var(--text);border-radius:2px}.workspace{flex-direction:column;min-width:0;min-height:0;display:flex;position:relative}.tab-bar{background:var(--bg-secondary);border-bottom:1px solid var(--border);flex:none;align-items:flex-end;gap:4px;height:40px;padding:0 8px;display:flex}.tab{min-width:60px;height:32px;color:var(--muted);cursor:default;-webkit-user-select:none;user-select:none;border:1px solid #0000;border-radius:8px 8px 0 0;flex:0 200px;justify-content:space-between;align-items:center;gap:8px;margin-bottom:-1px;padding:0 6px 0 12px;font-size:13px;display:flex}.tab:not(.active):hover{background:var(--hover);color:var(--text);border-radius:6px;height:28px;margin-bottom:4px}.tab.active{background:var(--bg-primary);color:var(--text);border-color:var(--border);border-bottom-color:var(--bg-primary)}.tab-title{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.tab .btn{width:20px;height:20px}.tab .btn svg{width:14px;height:14px}.new-tab{margin-bottom:4px}.view-header{flex:none;align-items:center;gap:2px;height:40px;padding:0 8px;display:flex}.crumbs{text-align:center;color:var(--muted);white-space:nowrap;text-overflow:ellipsis;flex:1;font-size:13px;overflow:hidden}.crumbs b{color:var(--text);font-weight:400}.view{flex:1;overflow-y:auto}article{max-width:700px;margin:0 auto;padding:28px 32px 120px}.date{color:var(--faint);margin-bottom:6px;font-size:13px;display:block}h1{letter-spacing:-.015em;margin:0 0 28px;font-size:2em;font-weight:700;line-height:1.2}p{margin:0 0 1em}a{color:var(--accent-text);text-decoration:none}article a{text-decoration:underline}article a:hover{color:var(--accent)}pre{background:var(--code-bg);color:var(--code-text);font:13.5px/1.6 var(--font-mono);white-space:pre-wrap;border-radius:4px;margin:0 0 1em;padding:12px 16px}h2{margin:1.6em 0 .6em;font-size:1.5em;font-weight:700;line-height:1.3}h3{margin:1.4em 0 .5em;font-size:1.2em;font-weight:700;line-height:1.3}ul,ol{margin:0 0 1em;padding-left:1.5em}li{margin-bottom:.25em}blockquote{border-left:2px solid var(--accent);color:var(--muted);margin:0 0 1em;padding:0 0 0 1em}code{background:var(--code-bg);color:var(--code-text);font:.9em var(--font-mono);border-radius:3px;padding:.1em .35em}pre code{font:inherit;background:0 0;padding:0}hr{border:0;border-top:1px solid var(--border);margin:2em 0}img{border-radius:4px;max-width:100%;height:auto}.empty{flex-direction:column;justify-content:center;align-items:center;gap:10px;height:100%;padding-bottom:80px;display:flex}.empty-title{color:var(--faint);margin-bottom:8px;font-size:1.4em;font-weight:600}.link{cursor:pointer;color:var(--accent-text);font:14px var(--font-text);background:0 0;border:0;padding:0}.link:hover{text-decoration:underline}::selection{background:var(--selection)}.status-bar{background:var(--bg-secondary);border:1px solid var(--border);color:var(--muted);border-bottom:0;border-right:0;border-radius:8px 0 0;gap:14px;padding:4px 12px;font-size:12px;display:flex;position:absolute;bottom:0;right:0}.status-bar:empty{display:none}.view::-webkit-scrollbar{width:10px}.tree::-webkit-scrollbar{width:10px}.results::-webkit-scrollbar{width:10px}.view::-webkit-scrollbar-thumb{background:var(--scrollbar);border:3px solid var(--bg-primary);border-radius:10px}.tree::-webkit-scrollbar-thumb{background:var(--scrollbar);border:3px solid var(--bg-primary);border-radius:10px}.results::-webkit-scrollbar-thumb{background:var(--scrollbar);border:3px solid var(--bg-primary);border-radius:10px}.mobile-only{display:none}@media (width<=760px){.app,.app.sidebar-closed{grid-template-columns:1fr}.app.sidebar-closed .sidebar{visibility:visible}.status-bar,.search-box kbd{display:none}.mobile-only{display:inline-flex}.sidebar{z-index:10;width:280px;position:fixed;top:0;bottom:0;left:0;box-shadow:0 0 40px #00000080}.app:not(.sidebar-open) .sidebar{visibility:hidden}article{padding:16px 18px 90px}h1{font-size:1.8em}}
