.KbShell-module__CnAvAW__shell{--kb-shell-max:1680px;background:var(--bg-primary,#f6f7f9);min-height:100vh;color:var(--text-primary,#111);flex-direction:column;display:flex}.KbShell-module__CnAvAW__topbar{z-index:20;box-sizing:border-box;border-bottom:1px solid var(--border-color,#00000014);background:var(--bg-card,#fff);width:100%;padding:12px max(16px, calc((100% - var(--kb-shell-max)) / 2));justify-content:space-between;align-items:center;gap:12px;display:flex;position:sticky;top:0}.KbShell-module__CnAvAW__topLeft,.KbShell-module__CnAvAW__topRight{align-items:center;gap:10px;min-width:0;display:flex}.KbShell-module__CnAvAW__notebookSwitch{align-items:center;gap:6px;min-width:0;display:inline-flex}.KbShell-module__CnAvAW__notebookSwitch span{color:var(--text-muted,#64748b);white-space:nowrap;flex:none;font-size:11px;font-weight:700}.KbShell-module__CnAvAW__brand{color:inherit;font-size:15px;font-weight:700;text-decoration:none}.KbShell-module__CnAvAW__back{color:var(--text-muted,#666);align-items:center;gap:4px;font-size:13px;text-decoration:none;display:inline-flex}.KbShell-module__CnAvAW__body{width:100%;min-height:0;max-width:var(--kb-shell-max);box-sizing:border-box;flex:1;grid-template-columns:minmax(250px,300px) minmax(0,1fr);margin:0 auto;display:grid}.KbShell-module__CnAvAW__sidebar{border-right:1px solid var(--border-color,#00000014);background:color-mix(in srgb, var(--bg-card,#fff) 92%, var(--bg-primary,#f6f7f9));flex-direction:column;min-height:calc(100vh - 53px);max-height:calc(100vh - 53px);display:flex}.KbShell-module__CnAvAW__sidebarHead{border-bottom:1px solid color-mix(in srgb, var(--border-color,#00000014) 72%, transparent);background:var(--bg-card,#fff);flex-direction:column;gap:8px;padding:14px 14px 12px;display:flex}.KbShell-module__CnAvAW__sidebarWorkspace{border:1px solid color-mix(in srgb, var(--border-color,#00000014) 72%, transparent);background:radial-gradient(circle at 0 0, color-mix(in srgb, var(--accent-primary,#2563eb) 9%, transparent), transparent 38%), var(--bg-primary,#f6f7f9);border-radius:14px;flex-direction:column;gap:4px;min-width:0;padding:12px;display:flex}.KbShell-module__CnAvAW__sidebarWorkspace span,.KbShell-module__CnAvAW__sidebarLabel{color:var(--text-muted,#64748b);letter-spacing:.02em;font-size:11px;font-weight:700}.KbShell-module__CnAvAW__sidebarWorkspace strong{color:var(--text-primary,#111827);text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:800;overflow:hidden}.KbShell-module__CnAvAW__sidebarWorkspace small{color:var(--text-muted,#64748b);font-size:11px;line-height:1.45}.KbShell-module__CnAvAW__sidebarLabel{margin-top:2px}.KbShell-module__CnAvAW__searchRow{gap:6px;display:flex}.KbShell-module__CnAvAW__searchInput{border:1px solid var(--border-color,#0000001f);background:var(--bg-primary,#f6f7f9);min-width:0;color:inherit;border-radius:8px;flex:1;padding:7px 10px;font-size:13px}.KbShell-module__CnAvAW__actions{flex-wrap:wrap;gap:6px;display:flex}.KbShell-module__CnAvAW__primaryActions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.KbShell-module__CnAvAW__primaryActions .KbShell-module__CnAvAW__btnPrimary,.KbShell-module__CnAvAW__primaryActions .KbShell-module__CnAvAW__btn{justify-content:center;min-height:36px}.KbShell-module__CnAvAW__primaryActions .KbShell-module__CnAvAW__btn:first-child{grid-column:1/-1}.KbShell-module__CnAvAW__toolsDisclosure{border:1px solid color-mix(in srgb, var(--border-color,#0000001f) 78%, transparent);background:color-mix(in srgb, var(--bg-primary,#f6f7f9) 70%, transparent);border-radius:12px}.KbShell-module__CnAvAW__toolsDisclosure[open]{background:var(--bg-card,#fff)}.KbShell-module__CnAvAW__toolsSummary{color:var(--text-muted,#64748b);cursor:pointer;justify-content:space-between;align-items:center;padding:8px 10px;font-size:12px;font-weight:700;list-style:none;display:flex}.KbShell-module__CnAvAW__toolsSummary::-webkit-details-marker{display:none}.KbShell-module__CnAvAW__toolsSummary:after{content:"⌄";color:var(--text-muted,#64748b);font-size:13px;transition:transform .15s}.KbShell-module__CnAvAW__toolsDisclosure[open] .KbShell-module__CnAvAW__toolsSummary:after{transform:rotate(180deg)}.KbShell-module__CnAvAW__toolsGrid{grid-template-columns:1fr;gap:6px;padding:0 8px 8px;display:grid}.KbShell-module__CnAvAW__toolsGrid .KbShell-module__CnAvAW__btn,.KbShell-module__CnAvAW__toolsGrid .KbShell-module__CnAvAW__btnPrimary{justify-content:flex-start;min-width:0}.KbShell-module__CnAvAW__filterTabs{background:var(--bg-primary,#f6f7f9);border-radius:14px;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:4px;display:grid}.KbShell-module__CnAvAW__filterTabs .KbShell-module__CnAvAW__btn,.KbShell-module__CnAvAW__filterTabs .KbShell-module__CnAvAW__btnPrimary{border-radius:10px;justify-content:center;min-width:0;padding:7px 8px}.KbShell-module__CnAvAW__btn,.KbShell-module__CnAvAW__btnPrimary,.KbShell-module__CnAvAW__btnGhost{border:1px solid var(--border-color,#0000001f);background:var(--bg-primary,#f6f7f9);color:inherit;cursor:pointer;border-radius:8px;align-items:center;gap:4px;padding:6px 10px;font-size:12px;display:inline-flex}.KbShell-module__CnAvAW__btnPrimary{background:var(--accent,#111);border-color:var(--accent,#111);color:#fff}.KbShell-module__CnAvAW__btnGhost{background:0 0}.KbShell-module__CnAvAW__tree{flex:1;padding:6px 8px 16px;overflow:auto}.KbShell-module__CnAvAW__treeHead{color:var(--text-muted,#64748b);letter-spacing:.02em;justify-content:space-between;align-items:center;gap:8px;padding:10px 14px 2px;font-size:11px;font-weight:800;display:flex}.KbShell-module__CnAvAW__treeHead small{background:var(--bg-primary,#f6f7f9);min-width:22px;color:var(--text-muted,#64748b);text-align:center;border-radius:999px;padding:1px 7px}.KbShell-module__CnAvAW__treeRow{align-items:center;gap:2px;display:flex}.KbShell-module__CnAvAW__treeItem{text-align:left;width:100%;color:inherit;cursor:pointer;background:0 0;border:none;border-radius:8px;align-items:center;gap:6px;min-width:0;padding:8px 9px;font-size:13px;transition:background .15s,color .15s;display:flex}.KbShell-module__CnAvAW__treeItem:hover{background:color-mix(in srgb, var(--accent-primary,#2563eb) 7%, var(--bg-primary,#f0f1f3))}.KbShell-module__CnAvAW__treeItemActive{background:color-mix(in srgb, var(--accent-primary,var(--accent,#111)) 13%, transparent);color:var(--accent-primary,var(--accent,#111));font-weight:600}.KbShell-module__CnAvAW__treeItemFolderTarget{outline:1px dashed color-mix(in srgb, var(--accent,#111) 40%, transparent);outline-offset:-2px}.KbShell-module__CnAvAW__treeIcon{color:var(--text-muted,#64748b);flex-shrink:0}.KbShell-module__CnAvAW__treeChevron{width:20px;height:20px;color:var(--text-muted,#888);cursor:pointer;background:0 0;border:none;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.KbShell-module__CnAvAW__treeChevron:hover{background:color-mix(in srgb, var(--accent-primary,#2563eb) 8%, var(--bg-primary,#eee));color:inherit}.KbShell-module__CnAvAW__treeChildren{flex-direction:column;display:flex}.KbShell-module__CnAvAW__treeMeta{flex-shrink:0;align-items:center;gap:4px;margin-left:auto;display:inline-flex}.KbShell-module__CnAvAW__contextBar{background:var(--bg-primary,#f4f5f7);border:1px solid var(--border-color,#0000000f);color:var(--text-muted,#666);border-radius:10px;flex-wrap:wrap;align-items:center;gap:8px;margin:0 8px 8px;padding:8px 10px;font-size:12px;display:flex}.KbShell-module__CnAvAW__contextBar strong{color:var(--text-primary,#111);font-weight:600}.KbShell-module__CnAvAW__dirtyDot{background:#f59e0b;border-radius:50%;flex-shrink:0;width:8px;height:8px}.KbShell-module__CnAvAW__fieldLabel{color:var(--text-muted,#888);white-space:nowrap;font-size:11px}.KbShell-module__CnAvAW__editorMeta{flex-wrap:wrap;align-items:center;gap:8px;width:100%;margin-top:2px;display:flex}.KbShell-module__CnAvAW__badge{color:var(--text-muted,#888);background:var(--bg-primary,#eee);border-radius:999px;margin-left:auto;padding:1px 7px;font-size:11px}.KbShell-module__CnAvAW__main{flex-direction:column;min-width:0;min-height:calc(100vh - 53px);display:flex}.KbShell-module__CnAvAW__editorBar{border-bottom:1px solid var(--border-color,#0000000f);background:var(--bg-card,#fff);flex-wrap:wrap;align-items:center;gap:8px;padding:12px 18px;display:flex}.KbShell-module__CnAvAW__titleInput{min-width:160px;color:inherit;background:0 0;border:none;outline:none;flex:1;font-size:18px;font-weight:700}.KbShell-module__CnAvAW__statusSelect{border:1px solid var(--border-color,#0000001f);background:var(--bg-primary,#f6f7f9);color:inherit;border-radius:8px;min-height:32px;padding:6px 10px;font-size:12px;line-height:1.35}.KbShell-module__CnAvAW__selectPopupNoWrap{overflow-x:auto}.KbShell-module__CnAvAW__selectPopupNoWrap .custom-select-option{width:max-content;min-width:100%}.KbShell-module__CnAvAW__selectPopupNoWrap .custom-select-option-label{white-space:nowrap;word-break:normal}.KbShell-module__CnAvAW__graphToggle{justify-content:center;width:100%;min-height:34px}.KbShell-module__CnAvAW__graphPanel{border:1px solid color-mix(in srgb, var(--border-color,#00000014) 72%, transparent);background:var(--bg-card,#fff);border-radius:14px;margin:10px 10px 8px;padding:10px;box-shadow:0 10px 28px #0f172a0d}.KbShell-module__CnAvAW__graphPanel p{color:var(--text-muted,#64748b);margin:0 0 8px;font-size:11px;line-height:1.5}.KbShell-module__CnAvAW__graphLoading{color:var(--text-muted,#64748b);align-items:center;gap:6px;font-size:12px;display:inline-flex}.KbShell-module__CnAvAW__treeEmpty{border:1px dashed color-mix(in srgb, var(--border-color,#00000014) 80%, transparent);background:var(--bg-card,#fff);color:var(--text-muted,#64748b);text-align:center;border-radius:14px;margin:12px 6px;padding:18px 14px;font-size:13px;line-height:1.55}.KbShell-module__CnAvAW__editorBody{box-sizing:border-box;flex:1;width:100%;padding:16px clamp(16px,2.4vw,34px) 40px;overflow:auto}.KbShell-module__CnAvAW__articleEditor{width:100%;max-width:none}.KbShell-module__CnAvAW__articleEditor .md-editor{border-radius:14px;box-shadow:0 14px 34px #0f172a0a}.KbShell-module__CnAvAW__articleEditor .md-editor-body{min-height:clamp(460px,100vh - 250px,820px)}.KbShell-module__CnAvAW__articleEditor .md-editor-body.mode-split{max-height:none}.KbShell-module__CnAvAW__articleEditor .md-editor-textarea{min-height:clamp(460px,100vh - 250px,820px);max-height:none;padding:18px 20px;font-size:14px}.KbShell-module__CnAvAW__articleEditor .md-editor-preview{min-height:clamp(460px,100vh - 250px,820px);max-height:none}:is(.KbShell-module__CnAvAW__editorBody .md-with-toc,.KbShell-module__CnAvAW__editorBody .md-body){max-width:min(920px,100%)}.KbShell-module__CnAvAW__editorBody .md-with-toc{max-width:min(1080px,100%)}.KbShell-module__CnAvAW__empty{text-align:center;max-width:420px;color:var(--text-muted,#666);margin:48px auto;line-height:1.6}.KbShell-module__CnAvAW__publicHero{box-sizing:border-box;background:radial-gradient(circle at 18% 18%, color-mix(in srgb, var(--accent-primary,#2563eb) 16%, transparent), transparent 34%), radial-gradient(circle at 82% 8%, color-mix(in srgb, var(--accent-secondary,#8b5cf6) 12%, transparent), transparent 30%), var(--bg-card,#fff);text-align:center;border:0;border-radius:0;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:14px;width:100%;min-height:calc(100vh - 53px);padding:clamp(40px,7vw,96px) clamp(24px,5vw,72px);display:flex}.KbShell-module__CnAvAW__publicHeroBadge{border:1px solid color-mix(in srgb, var(--accent-primary,#2563eb) 24%, var(--border-color,#00000014));background:color-mix(in srgb, var(--accent-primary,#2563eb) 8%, transparent);max-width:100%;color:var(--accent-primary,#2563eb);text-overflow:ellipsis;white-space:nowrap;border-radius:999px;align-items:center;padding:6px 12px;font-size:12px;font-weight:700;display:inline-flex;overflow:hidden}.KbShell-module__CnAvAW__publicHeroIcon{color:var(--accent-primary,#2563eb);opacity:.86}.KbShell-module__CnAvAW__publicHero h1{color:var(--text-primary,#111827);letter-spacing:-.04em;margin:0;font-size:clamp(28px,4vw,42px)}.KbShell-module__CnAvAW__publicHero p{max-width:560px;color:var(--text-secondary,#475569);margin:0;line-height:1.7}.KbShell-module__CnAvAW__publicHero small{color:var(--text-muted,#64748b)}.KbShell-module__CnAvAW__publicHeroStats{flex-wrap:wrap;justify-content:center;gap:10px;margin:6px 0;display:flex}.KbShell-module__CnAvAW__publicHeroStats span{background:color-mix(in srgb, var(--bg-secondary,#f8fafc) 78%, transparent);color:var(--text-muted,#64748b);border-radius:14px;align-items:baseline;gap:5px;padding:8px 12px;font-size:12px;font-weight:650;display:inline-flex}.KbShell-module__CnAvAW__publicHeroStats strong{color:var(--text-primary,#111827);font-size:18px}.KbShell-module__CnAvAW__publicHeroActions{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.KbShell-module__CnAvAW__gate{background:var(--bg-card,#fff);border:1px solid var(--border-color,#00000014);text-align:center;border-radius:16px;max-width:420px;margin:80px auto;padding:28px}.KbShell-module__CnAvAW__gate h1{margin:0 0 8px;font-size:20px}.KbShell-module__CnAvAW__gate p{color:var(--text-muted,#666);margin:0 0 16px;line-height:1.55}.KbShell-module__CnAvAW__toast{color:#fff;z-index:50;background:#141414eb;border-radius:999px;padding:10px 16px;font-size:13px;position:fixed;bottom:24px;left:50%;transform:translate(-50%)}.KbShell-module__CnAvAW__mobileToggle{display:none}@media (max-width:820px){.KbShell-module__CnAvAW__body{grid-template-columns:1fr}.KbShell-module__CnAvAW__sidebar{min-height:auto;max-height:none;display:none}.KbShell-module__CnAvAW__sidebarOpen{display:flex}.KbShell-module__CnAvAW__mainHidden{display:none}.KbShell-module__CnAvAW__mobileToggle{display:inline-flex}.KbShell-module__CnAvAW__editorBody{padding:12px 12px 28px}:is(.KbShell-module__CnAvAW__articleEditor .md-editor-body,.KbShell-module__CnAvAW__articleEditor .md-editor-textarea,.KbShell-module__CnAvAW__articleEditor .md-editor-preview){min-height:min(62vh,560px)}}.KbShell-module__CnAvAW__publicDirectoryToggle{display:none}@media (max-width:820px){.KbShell-module__CnAvAW__publicDirectoryToggle{border:0;border-bottom:1px solid var(--border-color);background:var(--bg-secondary);width:100%;min-height:44px;color:var(--text-primary);font:inherit;text-align:left;cursor:pointer;align-items:center;gap:8px;padding:10px 16px;font-size:14px;display:flex}.KbShell-module__CnAvAW__publicDirectoryToggle svg:last-child{margin-left:auto}.KbShell-module__CnAvAW__publicDirectoryToggle:focus-visible{outline:2px solid var(--accent-primary);outline-offset:-2px}.KbShell-module__CnAvAW__publicBody{flex:none}.KbShell-module__CnAvAW__publicBody .KbShell-module__CnAvAW__sidebar{border-right:0;border-bottom:1px solid var(--border-color);min-height:0;max-height:55vh;overflow-y:auto}.KbShell-module__CnAvAW__publicBody .KbShell-module__CnAvAW__publicHero{min-height:260px;padding:32px 20px}.KbShell-module__CnAvAW__publicShell .KbShell-module__CnAvAW__topbar{flex-wrap:wrap;gap:12px}.KbShell-module__CnAvAW__publicShell .KbShell-module__CnAvAW__topLeft{width:100%}.KbShell-module__CnAvAW__publicShell .KbShell-module__CnAvAW__topRight{flex-wrap:wrap;justify-content:space-between;width:100%}.KbShell-module__CnAvAW__publicShell .KbShell-module__CnAvAW__brand,.KbShell-module__CnAvAW__publicShell .KbShell-module__CnAvAW__back{white-space:nowrap}.KbShell-module__CnAvAW__publicBody .article-toc-list{max-height:160px;overflow-y:auto}}
