:root{font-family:Inter,Segoe UI,Microsoft YaHei,system-ui,sans-serif;color:var(--theme-text, #36483f);background:var(--theme-page, #f6f7f3);font-synthesis:none;-webkit-font-smoothing:antialiased;font-weight:400;font-size:13px;--green: var(--theme-accent, #2d5648);--ink: var(--theme-text, #33483d);--muted: var(--theme-text-muted, #90988f);--line: var(--theme-border, #e5e8df);--paper: var(--theme-surface, #fffefa)}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer;color:inherit}button,input,textarea{outline:none}button{border:0;background:transparent}button:disabled{opacity:.4;cursor:not-allowed}button:not(:disabled),a{transition:background .18s,color .18s,box-shadow .18s,transform .18s}button:focus-visible,input:focus-visible,textarea:focus-visible,[role=button]:focus-visible{outline:2px solid var(--theme-focus, #83a794);outline-offset:3px}button:not(:disabled):active{transform:translateY(1px)}input,textarea{color:var(--ink)}input::placeholder,textarea::placeholder{color:var(--theme-placeholder, #a1a69e)}svg{flex-shrink:0}kbd{font:10px Segoe UI,sans-serif;border:1px solid var(--theme-border, #e2e6dd);border-radius:4px;padding:2px 4px;white-space:nowrap}::selection{background:var(--theme-selection, #d6e7d8);color:var(--theme-text, #274a3c)}::-webkit-scrollbar{width:5px;height:5px}::-webkit-scrollbar-thumb{background:var(--theme-scrollbar, #d9dfd4);border-radius:8px}::-webkit-scrollbar-track{background:transparent}.app{height:100dvh;min-height:650px;display:flex;overflow:hidden}.sidebar{width:236px;flex-shrink:0;background:var(--theme-sidebar, #f0f2eb);border-right:1px solid var(--theme-border, #e3e7dc);padding:29px 18px 0;display:flex;flex-direction:column;z-index:30}.sidebar-brand{display:flex;align-items:center;justify-content:space-between;margin:0 6px 31px}.brand{display:flex;align-items:center;gap:11px}.brand-symbol{width:41px;height:43px;background:var(--theme-accent, #2d5547);display:grid;place-items:center;color:var(--theme-on-accent, #e6edce);border-radius:12px 12px 12px 3px}.brand-symbol svg{transform:rotate(-12deg)}.brand strong{display:block;font-size:23px;letter-spacing:5px;line-height:1.35;color:var(--theme-text, #304b3c)}.brand small{display:block;font-size:7px;letter-spacing:2.2px;margin-top:4px;color:var(--theme-text-secondary, #768170)}.alpha-badge{font-size:8px;font-weight:600;letter-spacing:1px;padding:3px 5px;border:1px solid var(--theme-border, #d5dcca);color:var(--theme-text-muted, #8b967e);border-radius:3px;align-self:flex-start;margin-top:5px}.workspace-switcher{display:flex;align-items:center;gap:9px;padding:10px 9px;background:var(--theme-surface, #f8f9f4);border:1px solid var(--theme-border, #e2e7da);border-radius:9px;min-height:61px}.workspace-avatar{display:grid;place-items:center;background:var(--theme-icon-fill, #e8ecdf);width:32px;height:32px;border-radius:7px;color:var(--theme-icon, #688365)}.workspace-switcher>div{flex:1;min-width:0}.workspace-switcher strong{font-size:12px;font-weight:550;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workspace-switcher small{font-size:10px;color:var(--theme-text-muted, #929a8a);display:block;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-switcher>svg{color:var(--theme-text-muted, #8b9485)}.new-document{display:flex;align-items:center;gap:9px;background:var(--theme-accent, #315847);color:var(--theme-on-accent, #f4f7ef);border-radius:7px;padding:11px 13px;margin:18px 0;box-shadow:0 3px 7px var(--theme-shadow, #2d4a3010)}.new-document:hover{background:var(--theme-accent-hover, #224434);box-shadow:0 4px 12px var(--theme-shadow, #2d4a3020)}.new-document span{flex:1;text-align:left;font-size:12px;letter-spacing:.5px}.new-document kbd{color:var(--theme-on-accent-muted, #b0c1af);border-color:var(--theme-on-accent-border, #64816c);font-size:9px;padding:1px 4px}.storage-nav{display:grid;gap:4px}.storage-nav button{display:flex;align-items:center;gap:11px;text-align:left;padding:11px 12px;border-radius:6px;color:var(--theme-text-secondary, #7b8778);font-size:12px}.storage-nav button span:first-of-type{flex:1}.storage-nav button:hover{background:var(--theme-hover, #e9eddf)}.storage-nav button.active{background:var(--theme-active, #e3eadb);color:var(--theme-accent, #3e6249);font-weight:550}.nav-dot{width:5px;height:5px;border-radius:50%;background:var(--theme-accent, #749064);margin-right:2px}.sidebar-divider{height:1px;background:var(--theme-divider, #e0e5d8);margin:22px 8px 16px}.section-label{display:flex;align-items:center;justify-content:space-between;padding:0 10px;color:var(--theme-text-muted, #88927e);font-size:10px;letter-spacing:1px}.section-label b{font-size:9px;background:var(--theme-icon-fill, #e5e9df);border-radius:4px;padding:2px 4px;margin-left:5px;font-weight:500;letter-spacing:0}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:5px;color:var(--theme-icon, #84907f);flex-shrink:0}.icon-button:not(:disabled):hover{background:var(--theme-hover, #e8ece3);color:var(--theme-accent, #365740)}.document-search{display:flex;align-items:center;gap:7px;color:var(--theme-text-muted, #a0a898);padding:8px 10px;margin:2px 0 9px}.document-search input{min-width:0;width:100%;font-size:11px;border:0;background:transparent;padding:3px 0}.document-search>span{font-size:16px;color:var(--theme-text-muted, #aab09f)}.document-list{display:flex;flex-direction:column;gap:5px;min-height:100px;overflow:auto;flex:1}.document-item{display:flex;gap:10px;align-items:center;text-align:left;border-radius:8px;padding:12px 10px;border:1px solid transparent;flex-shrink:0}.document-item:hover{background:var(--theme-hover, #e9eddf)}.document-item.selected{background:var(--theme-active, #fbfcf7);border-color:var(--theme-border, #e1e7d7);box-shadow:0 2px 6px var(--theme-shadow, #28412004)}.document-item>span:last-child{min-width:0}.document-item strong{display:block;font-size:11px;line-height:1.5;font-weight:500;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.document-item small{display:block;font-size:9px;color:var(--theme-text-muted, #9aa28f);margin-top:6px}.document-item small>span{margin:0 3px}.document-icon{display:grid;place-items:center;background:var(--theme-icon-fill, #e7eddf);width:30px;height:33px;border-radius:6px;flex-shrink:0;color:var(--theme-icon, #729065)}.document-icon.color-1{color:var(--theme-icon, #a18f62);background:var(--theme-icon-fill, #efebdd)}.document-icon.color-2{color:var(--theme-icon, #8787a4);background:var(--theme-icon-fill, #e8e8ed)}.sidebar-bottom{margin-top:20px}.future-card{position:relative;overflow:hidden;width:100%;border:1px solid var(--theme-border, #dee5d1);border-radius:9px;background:linear-gradient(120deg,var(--theme-surface-subtle, #e9eddc),var(--theme-surface-subtle, #eff1e5));text-align:left;padding:14px 12px 13px}.future-icon{display:inline-flex;color:var(--theme-text-secondary, #7b8f62);margin-bottom:10px}.future-card strong{display:block;font-size:11px;font-weight:550;letter-spacing:.5px}.future-card p{font-size:9px;margin:7px 0 11px;color:var(--theme-text-muted, #969f86);position:relative;z-index:1}.future-link{font-size:10px;color:var(--theme-accent, #6e8460);display:flex;align-items:center;gap:6px}.decor-leaf{position:absolute;right:-9px;bottom:-14px;transform:rotate(-25deg);color:var(--theme-decoration, #dce4cc);pointer-events:none}.sidebar-footer{height:67px;display:flex;align-items:center;gap:9px;border-top:1px solid var(--theme-border, #e0e5d8);margin-top:18px;font-size:11px;color:var(--theme-text-secondary, #778270)}.sidebar-footer>span:nth-child(2){flex:1}.profile-avatar{width:27px;height:27px;border-radius:50%;background:var(--theme-icon-fill, #e2e7d8);display:grid;place-items:center;font-size:12px;color:var(--theme-text-muted, #839375)}.no-documents{font-size:11px;color:var(--theme-text-muted, #949f89);padding:12px;text-align:center;line-height:2}.main-area{min-width:0;flex:1;display:flex;flex-direction:column;padding:0 30px;background:var(--theme-page, #f8f9f5)}.topbar{height:66px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--theme-border, #e9ece3)}.breadcrumbs{display:flex;gap:10px;align-items:center;color:var(--theme-text-muted, #97a08f);font-size:11px;min-width:0}.breadcrumbs>strong{font-weight:400;color:var(--theme-text-secondary, #64705e);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:380px}.breadcrumbs>svg:first-of-type{color:var(--theme-text-muted, #8e9a81)}.topbar-actions{display:flex;align-items:center;gap:23px}.edition{font-size:9px;letter-spacing:1px;color:var(--theme-text-muted, #adb4a5)}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;color:var(--theme-text-secondary, #738366);font-size:11px;padding:7px 0}.text-button:hover{color:var(--theme-accent, #365f46)}.document-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:30px 0 24px;flex-shrink:0}.heading-copy{min-width:0}.eyebrow{font-size:8px;letter-spacing:2.3px;color:var(--theme-text-muted, #9ba78d);font-weight:500}.document-heading h1{font-family:Segoe UI,Microsoft YaHei,sans-serif;font-weight:500;font-size:26px;line-height:1.45;letter-spacing:1px;margin:9px 0 12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:min(660px,50vw)}.document-meta{display:flex;align-items:center;gap:11px;color:var(--theme-text-muted, #9aa38e);font-size:10px}.document-meta i,.workbench-status i{height:3px;width:3px;background:var(--theme-divider, #c3cabc);border-radius:50%;display:inline-block}.save-state{display:flex;align-items:center;gap:5px;color:var(--theme-text-muted, #83927a)}.save-state.warning{color:var(--theme-warning-text, #b08545)}.document-actions{display:flex;gap:9px;align-self:center;margin-top:20px}.secondary-button,.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:6px;padding:10px 14px;font-size:11px;font-weight:500;white-space:nowrap}.secondary-button{border:1px solid var(--theme-border, #dce2d4);background:var(--theme-surface, #fbfcf8);color:var(--theme-text-secondary, #738368)}.secondary-button:hover{background:var(--theme-hover, #ecf0e5)}.primary-button{border:1px solid var(--theme-accent, #365b45);background:var(--theme-accent, #355945);color:var(--theme-on-accent, #f3f6ed);box-shadow:0 2px 3px var(--theme-shadow, #243b2207)}.primary-button:hover{background:var(--theme-accent-hover, #284a36);box-shadow:0 3px 9px var(--theme-shadow, #243b2215)}.primary-button kbd{margin-left:5px;color:var(--theme-on-accent-muted, #b8c7ac);border-color:var(--theme-on-accent-border, #5e7b55);font-size:8px}.experience-note{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;color:var(--theme-text-muted, #96a184);padding:11px 14px;margin-bottom:16px;border:1px solid var(--theme-border, #e5eadb);background:var(--theme-surface-subtle, #f0f4e8);border-radius:7px;flex-shrink:0}.experience-note>span{display:flex;gap:8px;align-items:center}.experience-note button{display:flex;gap:5px;align-items:center;font-size:10px;color:var(--theme-text-secondary, #73865f);white-space:nowrap}.experience-note button:hover{color:var(--theme-accent, #345837)}.workbench{display:flex;flex-direction:column;min-height:300px;flex:1;border:1px solid var(--theme-border, #dfe5d8);border-radius:11px;overflow:hidden;background:var(--theme-surface, #fffefa);box-shadow:0 4px 20px var(--theme-shadow, #2f482805)}.workbench-toolbar{height:48px;border-bottom:1px solid var(--theme-border, #e5e9df);display:flex;align-items:center;justify-content:space-between;background:var(--theme-surface-subtle, #fcfdf9);padding:0 16px;flex-shrink:0}.view-tabs{display:flex;gap:14px;align-items:center}.view-tabs>button{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--theme-text-secondary, #617456);height:48px;padding:0 4px}.view-tabs>button:first-child{position:relative}.view-tabs>button:first-child:after{content:"";position:absolute;height:2px;background:var(--theme-accent, #819470);bottom:-1px;left:2px;right:2px;border-radius:3px}.tag{font-size:8px;color:var(--theme-text-muted, #a1ac92);background:var(--theme-surface-subtle, #edf1e5);border:1px solid var(--theme-border, #e5eadb);border-radius:3px;padding:2px 5px;margin-left:3px}.view-divider{height:12px;width:1px;background:var(--theme-divider, #e1e6d9)}.edit-actions{display:flex;align-items:center;gap:5px}.format-outline{color:var(--theme-text-secondary, #738366);font-size:10px;padding:5px 7px;border:1px solid var(--theme-border, #e2e7da);border-radius:5px;margin-right:7px;white-space:nowrap}.format-outline:not(:disabled):hover{background:var(--theme-hover, #edf2e5)}.realtime{display:flex;align-items:center;gap:5px;color:var(--theme-text-muted, #9aa48d);font-size:9px;margin-right:6px}.live-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--theme-status, #8da779);box-shadow:0 0 0 3px var(--theme-shadow, #97b1820c)}.vertical-rule{width:1px;height:13px;background:var(--theme-divider, #e2e7da);margin:0 4px}.workbench-body{display:flex;flex:1;min-height:0}.editor-pane{width:310px;flex-shrink:0;background:var(--theme-surface, #fffefa);border-right:1px solid var(--theme-border, #e5e8df);display:flex;flex-direction:column;overflow:hidden}.editor-label{display:flex;align-items:center;justify-content:space-between;padding:22px 22px 17px;color:var(--theme-text-muted, #a4ab98);font-size:10px;letter-spacing:.5px}.editor-label>span:last-child{font:9px monospace;color:var(--theme-text-muted, #adb5a4);letter-spacing:1px}.editor-inner{display:flex;flex:1;min-height:0;overflow:hidden;padding-bottom:12px}.line-numbers{width:49px;flex-shrink:0;overflow:hidden;display:flex;flex-direction:column;padding-left:21px;pointer-events:none}.line-numbers span{height:29px;flex-shrink:0;font:10px/29px Consolas,monospace;color:var(--theme-line-number, #c1c7b8)}.editor-inner textarea{resize:none;flex:1;min-width:0;border:0;background:transparent;padding:0 18px 50px 0;font-family:SFMono-Regular,Consolas,Microsoft YaHei,monospace;font-size:11.5px;line-height:29px;letter-spacing:0;color:var(--theme-canvas-text, #66755c);tab-size:2;outline:none}.editor-inner textarea:focus-visible{outline:none}.editor-footer{height:38px;display:flex;align-items:center;justify-content:space-between;flex-shrink:0;padding:0 16px;font-size:9px;color:var(--theme-text-muted, #a3ad94);border-top:1px solid var(--theme-border, #eef0e9);background:var(--theme-surface-subtle, #fdfef9)}.editor-footer>span{display:flex;gap:5px;align-items:center}.editor-footer kbd{font-size:8px;color:var(--theme-text-muted, #97a386);border-color:var(--theme-border, #e5e9dd);padding:1px 3px}.editor-footer button{display:flex;align-items:center;font-size:9px;color:var(--theme-text-muted, #8c9d7a)}.workbench-status{height:33px;background:var(--theme-surface-subtle, #fcfdf8);border-top:1px solid var(--theme-border, #e6eadf);display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 17px;flex-shrink:0;color:var(--theme-text-muted, #a4ad95);font-size:9px}.workbench-status>span{display:flex;align-items:center;gap:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workbench-status>span:first-child{max-width:65%;display:block;overflow:hidden}.workbench-status>span:last-child{flex-shrink:0}.tiny-leaf{margin-right:7px;color:var(--theme-text-muted, #869e70);font-size:13px}.status-dot{width:4px;height:4px;background:var(--theme-status, #9bb685);border-radius:50%;margin-left:3px}.page-footer{height:43px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;color:var(--theme-text-muted, #b5bdab);font-size:8px;letter-spacing:1px}.page-footer>span:nth-child(2){letter-spacing:.5px;font-size:9px}.page-footer>span:last-child{font-size:7px;letter-spacing:1.1px}.mindmap{position:relative;flex:1;min-width:0;background-color:var(--theme-canvas, #fbfcf8);background-image:radial-gradient(var(--theme-grid, #dce4d4) .7px,transparent .7px);background-size:18px 18px;overflow:hidden;touch-action:none}.map-svg{display:block;cursor:grab;touch-action:none}.mindmap.dragging .map-svg{cursor:grabbing}.canvas-caption{position:absolute;top:23px;left:24px;display:flex;align-items:center;gap:8px;color:var(--theme-text-muted, #849479);font-size:10px;pointer-events:none;z-index:1}.canvas-caption>span:last-child{color:var(--theme-text-muted, #a6b098);font-size:9px}.caption-separator{margin:0 3px;color:var(--theme-text-muted, #c9d1c0)}.canvas-full{position:absolute;top:17px;right:19px;background:var(--theme-surface, #fcfdf8cc);z-index:1}.canvas-hint{position:absolute;left:22px;bottom:67px;display:flex;align-items:center;gap:6px;color:var(--theme-text-muted, #b1baa5);font-size:8px;pointer-events:none}.map-controls{position:absolute;bottom:19px;left:21px;display:flex;align-items:center;background:var(--theme-surface, #fffffbea);border:1px solid var(--theme-border, #dfe7d6);border-radius:7px;padding:4px;box-shadow:0 3px 10px var(--theme-shadow, #2c472609);backdrop-filter:blur(8px)}.map-controls button{display:grid;place-items:center;width:29px;height:28px;border-radius:4px;color:var(--theme-text-muted, #8b9c79)}.map-controls button:hover{background:var(--theme-hover, #edf2e5);color:var(--theme-accent, #466235)}.map-controls i{height:13px;width:1px;background:var(--theme-divider, #e6ebdf);margin:0 3px}.zoom-value{font-size:10px;color:var(--theme-text-secondary, #7c8b6c);min-width:33px;text-align:center}.map-node,.collapse-node{cursor:pointer}.map-node rect{transition:filter .15s}.map-node:hover rect{filter:brightness(.975)}.map-node:focus-visible,.collapse-node:focus-visible{outline:none}.map-node:focus-visible rect{stroke:var(--theme-focus, #617e53);stroke-width:3}.collapse-node:focus-visible circle:first-child{stroke-width:3}.minimap{position:absolute;width:113px;height:78px;right:20px;bottom:19px;border:1px solid var(--theme-border, #e2e8da);border-radius:7px;background:var(--theme-surface, #fdfef9d9);padding:8px 10px 16px;overflow:hidden}.minimap>svg{width:100%;height:100%;overflow:hidden}.minimap>span{position:absolute;bottom:5px;right:7px;font-size:7px;color:var(--theme-text-muted, #aab59b);letter-spacing:.3px}.empty-workspace{flex:1;min-height:320px;border:1px solid var(--line);border-radius:11px;background:var(--theme-surface-subtle, #fcfdf9);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px;gap:9px;text-align:center}.empty-illustration{width:120px;height:120px;display:grid;place-items:center;color:var(--theme-text-muted, #90a278);background:radial-gradient(circle,var(--theme-surface-subtle, #edf3e1),transparent 70%);margin-bottom:10px}.empty-workspace h2{font-size:23px;font-weight:400;letter-spacing:1px;margin:7px 0}.empty-workspace p{font-size:12px;color:var(--theme-text-muted, #97a189);margin:5px 0 22px;line-height:1.9}.empty-workspace .primary-button{padding:12px 22px}.error-banner,.recovery-banner{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:10px 13px;border-radius:7px;background:var(--theme-warning-bg, #f8efe0);color:var(--theme-warning-text, #9a7844);font-size:11px;margin-bottom:12px;line-height:1.7;flex-shrink:0}.error-banner>div{display:flex;align-items:center;gap:10px;flex-shrink:0}.error-banner button{font-size:10px;text-decoration:underline;display:flex;align-items:center;white-space:nowrap}.recovery-banner{justify-content:flex-start;background:var(--theme-success-bg, #ecf3e5);color:var(--theme-success-text, #7b926a)}.parse-error{font-size:10px;line-height:1.7;color:var(--theme-warning-text, #ae774f);padding:9px 15px;background:var(--theme-warning-bg, #fff5e8)}.parse-warning{font-size:9px;color:var(--theme-warning-text, #9a9168);padding:7px 14px;background:var(--theme-warning-bg, #f6f4e9)}.warning-dot{width:6px;height:6px;background:var(--theme-warning-bg, #c5a064);border-radius:50%}.toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%);background:var(--theme-toast, #334f40);color:var(--theme-on-accent, #f3f7ec);box-shadow:0 7px 30px var(--theme-shadow, #243b2220);border-radius:9px;padding:13px 17px;display:flex;align-items:center;gap:10px;z-index:60;max-width:90vw;font-size:12px}.toast>button{color:var(--theme-on-accent-muted, #adbea1);display:flex;align-items:center}.busy-indicator{position:fixed;top:14px;left:50%;transform:translate(-50%);display:flex;gap:8px;align-items:center;padding:9px 15px;border:1px solid var(--theme-border, #dfe7d4);border-radius:25px;background:var(--theme-surface-subtle, #fbfef8);box-shadow:0 3px 10px var(--theme-shadow, #00000008);font-size:11px;z-index:60}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.modal{border:1px solid var(--theme-border, #dfe5d4);border-radius:17px;padding:30px;width:min(470px,calc(100vw - 32px));max-height:calc(100dvh - 50px);overflow:auto;background:var(--theme-surface, #fffefa);color:var(--ink);box-shadow:0 25px 100px var(--theme-shadow-strong, #23311c25)}.modal.wide{width:min(610px,calc(100vw - 32px))}.modal::backdrop{background:var(--theme-backdrop, #29351e3d);backdrop-filter:blur(4px)}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.modal-heading h2{font-size:21px;font-weight:500;letter-spacing:.5px;margin:0;line-height:1.5}.modal-description{font-size:12px;line-height:1.95;color:var(--theme-text-muted, #8b9780);margin:0 0 22px}.modal-feature-icon{display:grid;place-items:center;width:64px;height:64px;background:var(--theme-surface-subtle, #eef2e5);border-radius:16px;color:var(--theme-text-muted, #819769);margin:22px 0}.local-benefits{display:flex;flex-direction:column;gap:13px;font-size:11px;color:var(--theme-text-secondary, #7b8b6d);margin-bottom:26px}.local-benefits span{display:flex;align-items:center;gap:10px}.full-width{width:100%;padding:13px 20px;margin-top:7px}.modal-footnote{font-size:10px;line-height:1.9;color:var(--theme-text-muted, #a0aa91);margin:17px 0 0}.folder-reopen{display:flex;gap:13px;align-items:center;border:1px solid var(--theme-border, #e1e7d5);background:var(--theme-surface-subtle, #f7f9f1);padding:13px 15px;margin:0 0 12px;border-radius:8px;width:100%;text-align:left;color:var(--theme-text-muted, #869970)}.folder-reopen>span{flex:1;min-width:0}.folder-reopen strong{font-size:12px;display:block;font-weight:500;overflow:hidden;text-overflow:ellipsis}.folder-reopen small{display:block;margin-top:6px;font-size:10px;color:var(--theme-text-muted, #a0ab90)}.folder-reopen:hover{background:var(--theme-hover, #eff4e5)}.browser-note{padding:12px;border-radius:7px;background:var(--theme-warning-bg, #f6f0e3);color:var(--theme-warning-text, #a18b61);font-size:11px;line-height:1.8}.auth-tabs{display:flex;gap:8px;background:var(--theme-surface-subtle, #eff2e9);border-radius:7px;padding:4px;margin:20px 0}.auth-tabs button{flex:1;font-size:12px;color:var(--theme-text-muted, #92a17f);padding:8px;border-radius:5px}.auth-tabs button.active{background:var(--theme-active, #fffefa);color:var(--theme-accent, #4a6941);box-shadow:0 1px 5px var(--theme-shadow, #273b2008)}.form-field{display:flex;flex-direction:column;gap:9px;font-size:11px;color:var(--theme-text-secondary, #75886a);margin:17px 0}.form-field input{padding:12px 13px;border:1px solid var(--theme-border, #dce4d1);border-radius:6px;background:var(--theme-surface, #fffefb);font-size:12px;color:var(--theme-text-secondary, #47613b);min-width:0;width:100%}.form-error{padding:10px 12px;background:var(--theme-warning-bg, #fbede5);color:var(--theme-warning-text, #b67d58);font-size:11px;border-radius:6px;line-height:1.8}.or-divider{height:1px;background:var(--theme-divider, #e6ebdf);position:relative;margin:28px 0;text-align:center}.or-divider span{position:relative;top:-8px;background:var(--theme-divider, #fffefa);padding:0 12px;color:var(--theme-text-muted, #a7b098);font-size:10px}.template-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.template-grid>button{text-align:left;border:1px solid var(--theme-border, #e1e7d6);border-radius:8px;padding:15px 11px;background:var(--theme-surface-subtle, #f8faf3);display:flex;flex-direction:column;gap:10px;color:var(--theme-text-muted, #7d946a)}.template-grid>button:hover{background:var(--theme-hover, #ecf2e1);border-color:var(--theme-border-strong, #c7d5b6)}.template-grid strong{font-size:11px;font-weight:500;color:var(--theme-text-secondary, #5e794c)}.template-grid span{font-size:9px;line-height:1.7;color:var(--theme-text-muted, #a1ad8f)}.import-button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;font-size:11px;color:var(--theme-accent, #81966d);padding:18px 0 0}.export-options{display:flex;flex-direction:column;gap:12px;margin:15px 0 0}.export-options button{display:flex;align-items:center;gap:16px;border:1px solid var(--theme-border, #e3e9d9);border-radius:10px;padding:20px;background:var(--theme-surface-subtle, #fafcf4);text-align:left;color:var(--theme-text-muted, #8b9f75)}.export-options button:hover{background:var(--theme-hover, #eef3e5)}.export-options button>span{flex:1}.export-options strong{display:block;font-size:12px;font-weight:500;color:var(--theme-text-secondary, #617d4c)}.export-options small{display:block;font-size:10px;margin-top:8px;color:var(--theme-text-muted, #9eac8b);line-height:1.6}.modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:25px}.syntax-example{background:var(--theme-surface-subtle, #f2f5e9);border:1px solid var(--theme-border, #e4ead7);padding:21px 24px;border-radius:8px;color:var(--theme-text-secondary, #7a9064);font:12px/2 Consolas,Microsoft YaHei,monospace}.help-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:25px 0}.help-grid h3{font-size:12px;font-weight:500;color:var(--theme-text-secondary, #687e52);margin:0 0 15px}.help-grid p{font-size:10px;color:var(--theme-text-muted, #9aa98a);line-height:1.9}.help-grid kbd{font-size:8px}.help-note{display:flex;gap:11px;padding:14px;background:var(--theme-surface-subtle, #f4f7ec);border:1px solid var(--theme-border, #e4ebd5);border-radius:8px;color:var(--theme-text-muted, #8b9e73)}.help-note p{margin:0;font-size:10px;line-height:1.9}.roadmap{display:flex;flex-direction:column;margin:23px 0 10px}.roadmap-item{display:flex;gap:18px;padding:21px 0;border-bottom:1px solid var(--theme-border, #e8edde)}.roadmap-item:last-child{border-bottom:0}.roadmap-item>span{display:grid;place-items:center;width:33px;height:33px;border-radius:50%;background:var(--theme-surface-subtle, #f0f4e7);flex-shrink:0;font:11px Georgia,serif;color:var(--theme-text-muted, #9daf89)}.roadmap-item>div{flex:1}.roadmap-item small{font-size:9px;color:var(--theme-text-muted, #a0b08d);letter-spacing:.5px}.roadmap-item h3{font-size:14px;font-weight:500;color:var(--theme-text-secondary, #6d8258);margin:8px 0}.roadmap-item p{font-size:11px;line-height:1.9;color:var(--theme-text-muted, #9faa90);margin:0}.roadmap-item.done>span{background:var(--theme-surface-subtle, #dfe9d2);color:var(--theme-text-secondary, #6b8952)}.roadmap-item.done>svg{color:var(--theme-text-muted, #8fa773);margin-top:9px}.mobile-menu,.sidebar-scrim{display:none}@media(min-width:1600px){.sidebar{width:252px;padding-left:22px;padding-right:22px}.main-area{padding:0 42px}.editor-pane{width:350px}.document-heading{padding:36px 0 28px}.document-heading h1{font-size:29px}.editor-inner textarea{font-size:12px}.line-numbers{width:54px}.sidebar-brand{margin-bottom:38px}}@media(max-width:1200px){.sidebar{width:210px;padding:24px 12px 0}.main-area{padding:0 20px}.editor-pane{width:270px}.document-heading h1{font-size:23px;max-width:44vw}.document-actions{gap:6px}.primary-button kbd{display:none}.experience-note,.experience-note button{font-size:9px}.editor-inner textarea{font-size:10.5px}.line-numbers{width:40px;padding-left:15px}.workbench-toolbar{padding:0 10px}.view-tabs{gap:9px}.tag,.realtime{display:none}.future-card p{font-size:8px}.canvas-hint{font-size:7px}.minimap{width:90px;height:65px}.edition{display:none}}@media(max-width:950px){.sidebar{width:185px;padding-left:10px;padding-right:10px}.brand strong{font-size:21px}.brand-symbol{width:35px;height:39px}.brand{gap:8px}.alpha-badge{display:none}.editor-pane{width:245px}.document-heading{padding:23px 0 20px}.document-heading h1{font-size:20px;max-width:37vw}.document-meta{font-size:9px;gap:7px}.eyebrow{font-size:7px;letter-spacing:1.5px}.main-area{padding:0 15px}.canvas-hint,.minimap{display:none}.experience-note>span{max-width:70%;line-height:1.7}.experience-note>span svg{display:none}.topbar-actions{gap:10px}.document-item{gap:8px;padding:10px 6px}.document-icon{width:26px}.document-item strong{font-size:10px}.document-item small{font-size:8px}.view-tabs>button{font-size:10px}.edit-actions{gap:1px}.canvas-caption{left:15px;top:19px}.canvas-caption>span:last-child,.caption-separator{display:none}.editor-label{padding:20px 15px 15px;font-size:9px}.page-footer>span:last-child{display:none}}@media(max-width:760px){.app{min-height:530px}.sidebar{position:fixed;left:0;top:0;bottom:0;width:236px;transform:translate(-100%);transition:transform .25s;padding:26px 18px 0;box-shadow:10px 0 40px var(--theme-shadow-strong, #22331715)}.sidebar.open{transform:translate(0)}.sidebar-scrim{display:block;position:fixed;inset:0;background:var(--theme-backdrop, #29381d55);z-index:29;backdrop-filter:blur(2px)}.mobile-menu{display:flex}.main-area{padding:0 14px}.topbar{height:52px}.breadcrumbs{font-size:10px;gap:6px}.breadcrumbs>strong{max-width:38vw}.topbar-actions .text-button>span{display:none}.document-heading{padding:22px 2px 18px;gap:10px}.document-heading h1{font-size:21px;max-width:62vw;letter-spacing:.5px;margin:8px 0 10px}.document-meta{gap:7px;font-size:9px;flex-wrap:wrap}.document-meta>span:last-child,.document-meta>i:last-of-type{display:none}.eyebrow{font-size:6px;letter-spacing:1.5px}.document-actions{gap:5px;margin-top:15px}.document-actions .primary-button{display:none}.document-actions .secondary-button{font-size:10px;padding:8px 10px}.experience-note{padding:9px 11px;font-size:9px;margin-bottom:12px;gap:8px}.experience-note>span{max-width:66%;line-height:1.9}.experience-note button{font-size:9px}.workbench-toolbar{height:44px;padding:0 10px}.view-tabs{gap:9px}.view-tabs>button{font-size:11px;height:44px;color:var(--theme-text-muted, #a1ae91);gap:6px}.view-tabs>button:first-child:after{display:none}.view-tabs>button.mobile-active{color:var(--theme-accent, #577342);position:relative}.view-tabs>button.mobile-active:after{display:block;content:"";position:absolute;height:2px;background:var(--theme-accent, #819470);bottom:-1px;left:2px;right:2px;border-radius:3px}.workbench-body{position:relative}.editor-pane{width:100%;border-right:0}.mobile-map .editor-pane,.mobile-text .mindmap{display:none}.editor-inner textarea{font-size:12px}.line-numbers{width:46px;padding-left:18px}.editor-label{font-size:10px;padding:20px 20px 15px}.workbench-status{font-size:8px;height:30px;padding:0 11px}.workbench-status>span:first-child{max-width:57%}.workbench-status>span:last-child{gap:6px}.page-footer{height:33px;font-size:7px}.page-footer>span:nth-child(2){font-size:8px}.canvas-caption{left:16px;top:21px}.canvas-caption>span:last-child,.caption-separator{display:inline}.canvas-hint{display:flex;bottom:58px;left:16px;font-size:7px}.map-controls{left:15px;bottom:15px}.canvas-full{right:12px;top:15px}.error-banner{flex-direction:column;align-items:flex-start;gap:7px;font-size:10px}.error-banner>div{flex-wrap:wrap}.empty-workspace{padding:25px 16px}.empty-workspace h2{font-size:20px}.empty-workspace p{font-size:11px}.modal{padding:24px}.modal-heading h2{font-size:18px}.help-grid{grid-template-columns:1fr;gap:10px}.template-grid{gap:6px}.template-grid>button{padding:13px 9px}.template-grid span{font-size:8px}.toast{font-size:11px;padding:11px 14px;bottom:15px;width:max-content;max-width:92vw}.brand strong{font-size:23px}.brand-symbol{width:41px;height:43px}.brand{gap:11px}.alpha-badge{display:block}.document-item strong{font-size:11px}.document-item small{font-size:9px}.document-item{padding:12px 10px;gap:10px}.future-card p{font-size:9px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.sr-only,.theme-option>input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.theme-options{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:0;border:0;margin:25px 0 22px}.theme-option{position:relative;cursor:pointer;min-width:0}.theme-option-card{display:flex;flex-direction:column;gap:12px;height:100%;padding:14px;border:1px solid var(--theme-border, #dce2d4);border-radius:10px;background:var(--theme-surface, #fffefa)}.theme-option:hover .theme-option-card{border-color:var(--theme-border-strong, #a6b098)}.theme-option>input:checked+.theme-option-card{border-color:var(--theme-accent, #2d5648);box-shadow:0 0 0 1px var(--theme-accent, #2d5648)}.theme-option>input:focus-visible+.theme-option-card{outline:2px solid var(--theme-focus, #83a794);outline-offset:4px}.theme-option-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.theme-option-title strong{font-size:14px;font-weight:600}.theme-choice-indicator{width:19px;height:19px;border:1px solid var(--theme-border-strong, #c3cabc);border-radius:50%;display:grid;place-items:center;color:var(--theme-on-accent, #fffefa)}.theme-option>input:checked+.theme-option-card .theme-choice-indicator{background:var(--theme-accent, #2d5648);border-color:var(--theme-accent, #2d5648)}.theme-description{color:var(--theme-text-secondary, #75886a);font-size:11px;line-height:1.85}.theme-swatches{display:flex;gap:6px;margin-top:auto}.theme-swatches i{width:14px;height:14px;border-radius:50%;border:1px solid #94a3b840}.theme-preference-note{display:flex;gap:9px;color:var(--theme-text-muted, #929a8a);font-size:11px;line-height:1.8}.theme-preference-note svg{margin-top:2px}.theme-preview{height:116px;border:1px solid #94a3b833;border-radius:6px;display:flex;overflow:hidden;background:var(--preview-paper)}.theme-preview-sidebar{width:24%;padding:15px 8px;display:flex;flex-direction:column;gap:10px;background:var(--preview-sidebar);border-right:1px solid #94a3b826}.theme-preview-sidebar i{display:block;height:3px;border-radius:2px;background:var(--preview-ink);opacity:.16}.theme-preview-sidebar i:first-child{width:11px;height:11px;border-radius:3px;opacity:1;background:var(--preview-accent);margin-bottom:5px}.theme-preview-main{flex:1;padding:15px 13px}.preview-title{display:block;width:45%;height:4px;border-radius:2px;background:var(--preview-ink);margin-bottom:17px}.preview-tree{display:flex;align-items:center;justify-content:center;gap:24px}.preview-tree>b{display:block;width:30px;height:15px;background:var(--preview-ink);border-radius:3px;position:relative}.preview-tree>b:after{content:"";position:absolute;width:12px;height:1px;background:var(--preview-accent);top:7px;right:-12px}.preview-tree>span{display:flex;flex-direction:column;gap:8px;position:relative}.preview-tree>span:before{content:"";position:absolute;width:1px;background:var(--preview-accent);top:5px;bottom:5px;left:-12px}.preview-tree>span>i{position:relative;display:block;width:38px;height:10px;border-radius:2px;border:1px solid var(--preview-accent);opacity:.75}.preview-tree>span>i:before{content:"";position:absolute;left:-13px;top:4px;width:12px;height:1px;background:var(--preview-accent)}:root[data-theme=clarity] .mindmap{background-image:none}:root[data-theme=clarity] .future-card{background:var(--theme-surface)}:root[data-theme=clarity] .decor-leaf{display:none}:root[data-theme=clarity] .brand-symbol{border-radius:9px;background:#1e293b}:root[data-theme=clarity] .brand-symbol svg{transform:none}:root[data-theme=clarity] .document-heading h1{font-weight:600;letter-spacing:.1px}:root[data-theme=clarity] .storage-nav button{font-size:13px}:root[data-theme=clarity] .document-item strong{font-size:12px}:root[data-theme=clarity] .document-item small{font-size:10px}:root[data-theme=clarity] .editor-inner textarea{font-size:13px}:root[data-theme=clarity] .workbench{box-shadow:0 1px 3px #0f172a04}:root[data-theme=clarity] .document-meta{font-size:11px}:root[data-theme=clarity] .experience-note{font-size:11px;background:var(--theme-surface-subtle)}:root[data-theme=clarity] .editor-label{color:var(--theme-text-muted)}:root[data-theme=clarity] .map-node:focus-visible rect{stroke:var(--theme-focus)}@media(max-width:760px){.theme-options{gap:10px}.theme-option-card{padding:10px;gap:10px}.theme-preview{height:98px}.theme-preview-main{padding:13px 7px}.preview-tree{gap:15px}.preview-tree>b{width:19px}.preview-tree>b:after{width:8px;right:-8px}.preview-tree>span:before{left:-8px}.preview-tree>span>i{width:22px}.preview-tree>span>i:before{width:8px;left:-9px}.theme-option-title strong{font-size:12px}.theme-description{font-size:10px}:root[data-theme=clarity] .document-meta,:root[data-theme=clarity] .experience-note{font-size:10px}}.app{min-height:0}.sidebar{width:210px;padding:16px 12px 0}.sidebar-brand{margin:0 6px 18px}.brand-symbol{width:32px;height:34px}.brand strong{font-size:19px}.brand small,.alpha-badge,.workspace-switcher small{display:none}.workspace-switcher{min-height:44px;padding:6px 9px}.sidebar-bottom{margin-top:10px}.future-card{display:flex;align-items:center;gap:8px;border:0;border-radius:5px;padding:9px;font-size:11px;background:transparent;color:var(--theme-text-secondary, #738366)}.future-card>svg:last-child{margin-left:auto}.sidebar-footer{margin-top:8px;height:48px}.main-area{padding:0 12px 10px}.topbar{height:48px;gap:16px}.breadcrumbs h1{font-size:14px;font-weight:600;color:var(--ink);margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-actions{flex-shrink:0;gap:16px}.document-heading{min-height:44px;padding:5px 0;gap:10px}.document-actions{margin:0;flex-shrink:0;gap:6px}.document-actions>button{padding:6px 10px}.document-meta{gap:8px}.workbench{min-height:0;border-radius:6px}.workbench-toolbar,.view-tabs>button{height:38px}.workbench-toolbar{padding:0 12px}.editor-pane{width:clamp(280px,34%,440px);min-height:0}.editor-inner{--editor-bottom-padding: 20px;padding-top:14px;padding-bottom:0}.line-numbers{width:42px;padding-left:14px}.line-number-content{display:flex;flex-direction:column;flex-shrink:0}.editor-inner textarea{padding-bottom:var(--editor-bottom-padding)}.editor-text{position:relative;display:flex;flex:1;min-width:0;min-height:0}.editor-text textarea{position:relative;z-index:1}.editor-highlight-viewport{position:absolute;inset:0;overflow:hidden;pointer-events:none}.editor-line-highlight{position:absolute;top:0;left:0;right:0;background:var(--theme-selection, #d6e7d8);border-left:3px solid var(--theme-accent, #2d5648);opacity:0;transition:opacity .18s ease-out}.editor-line-highlight.is-active{opacity:.8}.line-numbers span{transition:background-color .18s ease-out,color .18s ease-out}.line-numbers span.is-located{color:var(--theme-accent, #2d5648);background:var(--theme-selection, #d6e7d8);font-weight:600}.workbench-status{height:24px;padding:0 12px}.map-style-picker{position:absolute;top:12px;left:14px;z-index:1;display:flex;align-items:center;gap:6px;padding:0 8px;border:1px solid var(--line);border-radius:6px;background:var(--paper);color:var(--theme-text-secondary, #738366)}.map-style-picker select{min-height:30px;max-width:130px;font:inherit;font-size:11px;color:inherit;background:var(--paper);border:0;cursor:pointer}.map-style-picker:focus-within{outline:2px solid var(--theme-focus, #83a794);outline-offset:2px}.map-style-picker select:focus{outline:none}.map-style-error{position:absolute;top:50px;left:14px;font-size:11px;color:var(--theme-warning-text, #b08545)}.canvas-full{top:12px;right:14px;width:32px;height:32px;border:1px solid var(--line);border-radius:6px}.map-controls{bottom:12px;left:14px;padding:3px}.map-controls button[aria-pressed=true]{background:var(--theme-hover, #edf2e5);color:var(--green)}.minimap{display:block;right:14px;bottom:12px}.editor-fullscreen{position:fixed;inset:0;z-index:40;background:var(--paper)}.editor-fullscreen .sidebar,.editor-fullscreen .sidebar-scrim,.editor-fullscreen .topbar,.editor-fullscreen .document-heading,.editor-fullscreen .workbench-toolbar,.editor-fullscreen .workbench-status{display:none}.editor-fullscreen .main-area{padding:0}.editor-fullscreen .workbench{border:0;border-radius:0;box-shadow:none}.editor-fullscreen .editor-pane{width:clamp(300px,36%,540px)}.editor-fullscreen .editor-inner{padding-top:22px}@media(max-width:1050px){.sidebar{width:185px}.document-meta>span:last-child,.document-meta>i:last-of-type{display:none}.tag{display:none}}@media(max-width:760px){.sidebar{width:220px}.main-area{padding:0 8px 8px}.topbar{gap:8px}.breadcrumbs>span,.breadcrumbs>svg{display:none}.breadcrumbs h1{font-size:13px}.topbar-actions{gap:14px}.document-meta>span:not(.save-state),.document-meta>i{display:none}.document-meta{white-space:nowrap}.document-actions>button{padding:6px 8px;font-size:10px}.workbench-toolbar{padding:0 8px}.editor-pane{width:100%}.minimap{bottom:58px}.editor-fullscreen .workbench-body{flex-direction:column}.editor-fullscreen .editor-pane{display:flex;width:100%;flex:1;border-bottom:1px solid var(--line)}.editor-fullscreen .mindmap{display:block;flex:1;min-height:0}.editor-fullscreen .editor-inner{padding-top:14px}}
