:root{color:#dcddde;background:#1e1e1e;font-family:Inter,Segoe UI,Microsoft YaHei,system-ui,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}html,body,#root{height:100%;min-height:0}body{background:#1e1e1e;margin:0;min-width:0;height:100vh;height:100dvh;overflow:hidden}button,textarea{font:inherit}button{color:inherit}.obsidian-shell{--agent-width: 380px;--left-width: 248px;background:#1e1e1e;color:#dcddde;display:grid;grid-template-areas:"chrome chrome chrome chrome" "ribbon left workspace agent";grid-template-columns:42px var(--left-width) minmax(0,1fr) var(--agent-width);grid-template-rows:40px minmax(0,1fr);height:100vh;height:100dvh;min-height:0;min-width:0;overflow:hidden;width:100vw}.obsidian-shell.left-collapsed{grid-template-areas:"chrome chrome chrome" "ribbon workspace agent";grid-template-columns:42px minmax(0,1fr) var(--agent-width)}.obsidian-shell.left-collapsed .left-rail{display:none}.obsidian-shell,.obsidian-shell *{scrollbar-color:#3b3b3b transparent;scrollbar-width:thin}.obsidian-shell ::-webkit-scrollbar{height:8px;width:8px}.obsidian-shell ::-webkit-scrollbar-track{background:transparent}.obsidian-shell ::-webkit-scrollbar-thumb{background:#383838;background-clip:padding-box;border:2px solid transparent;border-radius:999px}.obsidian-shell ::-webkit-scrollbar-thumb:hover{background:#4a4a4a;background-clip:padding-box}.column-resizer{align-self:stretch;cursor:col-resize;position:relative;touch-action:none;z-index:30}.column-resizer:after{background:#303030;bottom:0;content:"";left:50%;position:absolute;top:0;transform:translate(-50%);transition:background .12s ease,box-shadow .12s ease;width:1px}.column-resizer:hover:after,body.resizing-columns .column-resizer:after{background:#7d58d8;box-shadow:0 0 0 1px #7d58d82e}.column-resizer-left{grid-area:left;justify-self:end;margin-right:-4px;width:8px}.column-resizer-agent{grid-area:workspace;justify-self:end;margin-right:-4px;width:8px}body.resizing-columns{cursor:col-resize;-webkit-user-select:none;user-select:none}.app-chrome{align-items:center;background:#313131;border-bottom:1px solid #242424;display:grid;gap:10px;grid-area:chrome;grid-template-columns:minmax(150px,230px) minmax(0,1fr) minmax(160px,360px);height:40px;min-width:0;padding:0 8px}.chrome-left,.chrome-right,.tab-strip,.rail-toolbar,.nav-controls{align-items:center;display:flex}.chrome-left{gap:8px}.chrome-right{color:#b4b4b4;font-size:12px;gap:10px;justify-content:flex-end;min-width:0}.chrome-right span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.changes-pill{background:#242424;border:1px solid #424242;border-radius:999px;color:#d9d9d9;cursor:pointer;font-size:12px;min-height:26px;padding:0 10px;transition:background .16s ease,border-color .16s ease,color .16s ease}.changes-pill:hover{background:#313131;border-color:#69508f;color:#fff}.tab-strip{gap:4px;justify-content:flex-start;min-width:0}.tabs-scroll{align-items:center;display:flex;gap:3px;max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;width:100%}.tabs-scroll::-webkit-scrollbar{display:none}.tab{align-items:center;background:#202020;border-radius:6px 6px 0 0;border:1px solid transparent;border-bottom:0;color:#bbb;cursor:pointer;display:flex;flex:0 1 210px;font-size:12px;gap:6px;height:31px;isolation:isolate;max-width:240px;min-width:118px;padding:0 7px 0 10px;position:relative;transform:translateY(2px) scale(.985);transition:background .22s cubic-bezier(.2,.8,.2,1),border-color .22s cubic-bezier(.2,.8,.2,1),box-shadow .26s cubic-bezier(.16,1,.3,1),color .16s ease,flex-basis .32s cubic-bezier(.18,1.15,.28,1),transform .32s cubic-bezier(.18,1.15,.28,1);will-change:flex-basis,transform}.tab:before{background:linear-gradient(90deg,#9b6cff00,#9b6cff38,#cb735014);border-radius:inherit;content:"";inset:0;opacity:0;pointer-events:none;position:absolute;transform:translate(-10%);transition:opacity .26s ease,transform .36s cubic-bezier(.18,1.15,.28,1);z-index:-1}.tab:after{background:#9b6cff;border-radius:999px;bottom:0;content:"";height:2px;left:14px;opacity:0;position:absolute;right:14px;transform:scaleX(.24);transform-origin:center;transition:opacity .22s ease,transform .32s cubic-bezier(.18,1.15,.28,1)}.tab:hover{background:#2a2a2a;color:#eee;transform:translateY(1px) scale(1)}.tab:hover:before{opacity:.55;transform:translate(0)}.tab.active{background:#252525;border-color:#373737;box-shadow:0 -1px 10px #9b6cff1f,inset 0 1px #ffffff0a;color:#fff;flex-basis:230px;transform:translateY(0) scale(1)}.tab.active:before{opacity:.7;transform:translate(0)}.tab.active:after{opacity:.95;transform:scaleX(1)}.tab span{flex:1;line-height:1.2;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tab svg{height:12px;width:12px}.tab-dirty{background:#cb7350;border-radius:50%;flex:0 0 auto;height:6px;box-shadow:0 0 #cb73505c;transition:box-shadow .22s ease,transform .22s cubic-bezier(.18,1.15,.28,1);width:6px}.tab.active .tab-dirty{box-shadow:0 0 0 3px #cb73501f;transform:scale(1.08)}.tab-close{align-items:center;background:transparent;border:0;border-radius:4px;color:#8f8f8f;cursor:pointer;display:inline-flex;flex:0 0 auto;height:18px;justify-content:center;opacity:0;padding:0;transform:scale(.84);transition:background .16s ease,color .16s ease,opacity .18s ease,transform .22s cubic-bezier(.18,1.15,.28,1);width:18px}.tab:hover .tab-close,.tab.active .tab-close{opacity:1;transform:scale(1)}.tab-close:hover{background:#3a3a3a;color:#fff;transform:scale(1.08)}.tab-plus{background:transparent;border:0;border-radius:6px;color:#b4b4b4;cursor:pointer;font-size:17px;height:28px;margin-left:4px;transition:background .18s ease,color .18s ease,transform .22s cubic-bezier(.18,1.15,.28,1);width:28px}.tab-plus:hover{background:#383838;color:#fff;transform:translateY(-1px) scale(1.06)}.tab-plus:active{transform:translateY(0) scale(.96)}.icon-button,.rail-toolbar button{align-items:center;background:transparent;border:0;border-radius:5px;color:#a8a8a8;cursor:pointer;display:inline-flex;gap:6px;justify-content:center;min-height:28px;min-width:28px;padding:0 8px}.icon-button svg,.rail-toolbar svg{height:16px;width:16px}.icon-button:hover,.rail-toolbar button:hover{background:#383838;color:#f0f0f0}.icon-button.active{background:#404040;color:#fff}.vault-ribbon{align-items:center;background:#282828;border-right:1px solid #1f1f1f;display:flex;flex-direction:column;gap:8px;grid-area:ribbon;min-height:0;min-width:0;padding:8px 4px}.vault-ribbon .icon-button{height:30px;padding:0;width:30px}.ribbon-spacer{flex:1}.left-rail{background:#252525;border-right:1px solid #383838;display:flex;flex-direction:column;grid-area:left;min-height:0;min-width:0;overflow:hidden}.storage-panel{background:#252525;border:1px solid #3a3a3a;border-radius:7px;box-shadow:0 18px 60px #0000006b;color:#dedede;display:flex;flex-direction:column;gap:12px;left:52px;max-height:min(520px,calc(100vh - 60px));padding:12px;position:fixed;top:48px;width:min(360px,calc(100vw - 74px));z-index:90}.storage-panel header{align-items:flex-start;border-bottom:1px solid #363636;display:flex;gap:12px;justify-content:space-between;padding-bottom:10px}.storage-panel h2{color:#f0f0f0;font-size:14px;margin:0 0 5px}.storage-panel p,.storage-panel footer{color:#9f9f9f;font-size:12px;line-height:1.45;margin:0}.storage-panel header button{align-items:center;background:transparent;border:0;border-radius:5px;color:#aaa;cursor:pointer;display:inline-flex;flex:0 0 auto;height:28px;justify-content:center;width:28px}.storage-panel header button:hover{background:#363636;color:#fff}.storage-actions{display:flex;flex-direction:column;gap:9px}.storage-actions button{align-items:center;background:#202020;border:1px solid #3a3a3a;border-radius:6px;color:#e6e6e6;cursor:pointer;display:flex;gap:8px;min-height:34px;padding:0 10px}.storage-actions button:hover:not(:disabled){background:#2d2d2d;border-color:#7358a6}.storage-actions button:disabled{cursor:not-allowed;opacity:.48}.storage-roots{border-bottom:1px solid #343434;margin-bottom:4px;padding-bottom:10px}.storage-roots>span{color:#8f8f94;display:block;font-size:11px;margin-bottom:7px}.storage-roots>div{display:grid;gap:6px;grid-template-columns:repeat(2,minmax(0,1fr))}.storage-roots button{display:grid;gap:2px 7px;grid-template-columns:18px minmax(0,1fr);min-height:48px}.storage-roots button svg{grid-row:1 / 3}.storage-roots button strong,.storage-roots button small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.storage-roots button strong{color:#dedee2;font-size:12px;font-weight:550}.storage-roots button small{color:#818188;font-size:10px}.storage-create{background:#202020;border:1px solid #343434;border-radius:6px;display:flex;flex-direction:column;gap:8px;padding:10px}.storage-create.disabled{opacity:.58}.storage-create label{color:#aaa;font-size:12px}.storage-create div{display:flex;gap:8px}.storage-create input{background:#181818;border:1px solid #3a3a3a;border-radius:5px;color:#ededed;flex:1;min-height:34px;min-width:0;padding:0 10px}.storage-create input:focus{border-color:#7d58d8;outline:none}.storage-create button{flex:0 0 auto}.draft-panel{background:#252525;border:1px solid #3a3a3a;border-radius:7px;box-shadow:0 18px 60px #0000006b;color:#dedede;display:flex;flex-direction:column;max-height:min(680px,calc(100vh - 72px));min-height:0;position:fixed;right:calc(var(--agent-width) + 18px);top:52px;width:min(420px,calc(100vw - 72px));z-index:80}.draft-panel header,.draft-panel footer{align-items:center;display:flex;justify-content:space-between;padding:12px 14px}.draft-panel header{border-bottom:1px solid #363636}.draft-panel h2{color:#f0f0f0;font-size:14px;margin:0 0 4px}.draft-panel p{color:#9a9a9a;font-size:12px;margin:0}.draft-panel header button{align-items:center;background:transparent;border:0;border-radius:5px;color:#aaa;cursor:pointer;display:inline-flex;height:28px;justify-content:center;width:28px}.draft-panel header button:hover{background:#363636;color:#fff}.draft-list{display:flex;flex:1;flex-direction:column;gap:8px;min-height:0;overflow:auto;padding:12px}.draft-empty{padding:12px 2px}.draft-card{background:#202020;border:1px solid #343434;border-radius:6px;overflow:hidden}.draft-card.created{border-color:#4da67361}.draft-card.modified{border-color:#9b6cff61}.draft-card.deleted{border-color:#cb735075}.draft-card-heading{align-items:center;border-bottom:1px solid #303030;display:flex;gap:8px;min-width:0;padding:8px 10px}.draft-card-heading span{background:#333;border-radius:999px;color:#d7d7d7;flex:0 0 auto;font-size:11px;padding:2px 7px}.draft-card-heading strong{color:#eee;font-size:12px;font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.draft-card pre{color:#cfcfcf;font-size:12px;line-height:1.45;margin:0;max-height:150px;overflow:auto;padding:9px 10px;white-space:pre-wrap}.draft-warning{align-items:center;background:#cb73501f;border-top:1px solid rgba(203,115,80,.28);color:#e7b196;display:flex;font-size:12px;gap:8px;padding:10px 14px}.trash-section{border-top:1px solid #333333;display:grid;gap:10px;padding:12px}.trash-section header{border:0;padding:0}.trash-section h3{color:#eee;font-size:13px;margin:0 0 4px}.trash-section p,.trash-empty{color:#949494;font-size:12px;margin:0}.trash-list{display:grid;gap:8px}.trash-card{align-items:center;background:#202020;border:1px solid rgba(203,115,80,.32);border-radius:6px;display:grid;gap:10px;grid-template-columns:minmax(0,1fr) auto;padding:9px 10px}.trash-card.authorized{border-color:#6bb88b6b}.trash-card.blocked{border-color:#cb73508f}.trash-card div{display:grid;gap:4px;min-width:0}.trash-card strong{color:#eee;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.trash-card span,.trash-card small{color:#9a9a9a;font-size:11px;line-height:1.35}.trash-card small{color:#d6a287}.trash-card button{background:#303030;border:1px solid #4a4a4a;border-radius:6px;color:#ddd;cursor:pointer;min-height:30px;padding:0 10px}.trash-card button:hover:not(:disabled){background:#3a3a3a;border-color:#5a5a5a}.trash-card button:disabled{cursor:not-allowed;opacity:.55}.draft-panel footer{border-top:1px solid #363636}.draft-panel footer button{background:#cb7350;border:0;border-radius:5px;color:#191919;cursor:pointer;font-weight:650;min-height:32px;padding:0 14px}.draft-panel footer button:disabled{cursor:not-allowed;opacity:.5}.rail-toolbar{border-bottom:1px solid #353535;gap:3px;height:40px;justify-content:flex-end;padding:0 8px}.rail-toolbar button:disabled{cursor:not-allowed;opacity:.45}.vault-panel{border-bottom:1px solid #303030;min-height:0;padding:10px 10px 12px}.file-card{flex:1;overflow:hidden}.compact-panel{max-height:140px;overflow:auto}.section-heading{align-items:center;color:#c8c8c8;display:flex;justify-content:space-between;margin-bottom:8px}.section-heading h2,.agent-console h2{font-size:12px;font-weight:650;letter-spacing:0;margin:0}.section-heading span{color:#8f8f8f;font-size:11px}.file-tree{display:flex;flex-direction:column;gap:2px;height:calc(100% - 58px);overflow:auto;padding-right:3px}.search-box{align-items:center;background:#1f1f1f;border:1px solid #333333;border-radius:6px;color:#8f8f8f;display:flex;gap:6px;margin-bottom:8px;min-height:28px;padding:0 8px}.search-box input,.graph-settings-panel input[type=text],.graph-settings-panel input:not([type]){background:transparent;border:0;color:#dedede;min-width:0;outline:0;width:100%}.tree-folder{animation:tree-item-in .26s cubic-bezier(.16,1,.3,1) both;margin:0}.tree-folder-row{align-items:center;background:transparent;border:0;border-radius:5px;color:#b8b8b8;cursor:pointer;display:grid;gap:4px;grid-template-columns:12px minmax(0,1fr) auto;min-height:24px;padding:2px 6px 2px calc(4px + var(--tree-depth) * 14px);position:relative;text-align:left;transition:background .18s ease,color .16s ease,padding-left .24s cubic-bezier(.16,1,.3,1),transform .24s cubic-bezier(.16,1,.3,1);width:100%}.tree-folder-row:before,.tree-note:before{background:linear-gradient(90deg,#9b6cff2e,#9b6cff08);border-radius:inherit;content:"";inset:0;opacity:0;pointer-events:none;position:absolute;transform:scaleX(.7);transform-origin:left center;transition:opacity .22s ease,transform .28s cubic-bezier(.16,1,.3,1)}.tree-folder-row.tree-node-weight-large{color:#d7d7d7;font-size:13.5px;font-weight:650;min-height:27px}.tree-folder-row.tree-node-weight-medium{font-size:12.5px;font-weight:580}.tree-folder-row.tree-node-weight-small{color:#a9a9a9;font-size:11.5px}.tree-folder-row:hover{background:#303030;color:#e0e0e0;transform:translate(2px)}.tree-folder-row:hover:before,.tree-note:hover:before,.tree-note.active:before{opacity:1;transform:scaleX(1)}.tree-folder-row small{color:#707070;font-size:10px;transition:color .16s ease,transform .22s cubic-bezier(.16,1,.3,1)}.tree-folder-row:hover small{color:#9b8fc0;transform:translate(-1px)}.tree-folder-caret{display:inline-flex;height:12px;justify-content:center;position:relative;width:12px}.tree-folder-caret:before{border-bottom:4px solid transparent;border-left:5px solid #7d7d7d;border-top:4px solid transparent;content:"";height:0;margin-top:2px;transition:transform .26s cubic-bezier(.18,1.18,.28,1),border-left-color .16s ease;width:0}.tree-folder-row[aria-expanded=true] .tree-folder-caret:before{transform:rotate(90deg)}.tree-folder-row:hover .tree-folder-caret:before{border-left-color:#b5b5b5}.tree-folder-name,.tree-note{min-width:0}.tree-folder-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tree-folder-children-wrap{display:grid;grid-template-rows:1fr;opacity:1;overflow:hidden;transition:grid-template-rows .28s cubic-bezier(.16,1,.3,1),opacity .21s ease,transform .28s cubic-bezier(.16,1,.3,1)}.tree-folder-children-wrap.collapsed{grid-template-rows:0fr;opacity:0;pointer-events:none;transform:translateY(-4px)}.tree-folder-children{border-left:1px solid #353535;margin-left:calc(10px + var(--tree-depth) * 14px);min-height:0;overflow:hidden;padding-left:4px;transition:border-left-color .18s ease}.tree-folder:hover>.tree-folder-children-wrap>.tree-folder-children{border-left-color:#9b6cff52}.tree-note{align-items:flex-start;background:transparent;border:0;border-radius:5px;color:#c9c9c9;cursor:pointer;display:flex;flex-direction:column;gap:1px;margin:1px 0;min-height:28px;padding:4px 8px 4px calc(18px + var(--tree-depth) * 14px);position:relative;text-align:left;transition:background .18s ease,color .16s ease,padding-left .26s cubic-bezier(.16,1,.3,1),transform .26s cubic-bezier(.16,1,.3,1);width:100%}.tree-note.tree-note-weight-root{font-size:12.5px;font-weight:580;min-height:29px}.tree-note.tree-note-weight-regular{font-size:12px}.tree-note.tree-note-weight-small{color:#ababab;font-size:11.2px;min-height:24px}.tree-note:hover{background:#303030;color:#efefef;transform:translate(3px)}.tree-note span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.tree-note small{color:#838383;font-size:10px;transition:color .16s ease}.tree-note.active{background:#3a3a3a;color:#fff;transform:translate(2px)}.tree-note.active small{color:#b7a6e8}@keyframes tree-item-in{0%{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.tree-folder,.tree-folder-row,.tree-folder-row:before,.tree-folder-caret:before,.tree-folder-children-wrap,.tree-note,.tree-note:before{animation:none;transition:none}.tree-folder-row:hover,.tree-note:hover,.tree-note.active{transform:none}}.tree-context-menu{background:#252525;border:1px solid #3b3b3b;border-radius:7px;box-shadow:0 18px 54px #0000006b;color:#dedede;display:flex;flex-direction:column;gap:3px;min-width:190px;padding:7px;position:fixed;z-index:120}.tree-context-menu header{align-items:center;border-bottom:1px solid #363636;display:flex;gap:10px;justify-content:space-between;margin-bottom:3px;padding:5px 5px 8px}.tree-context-menu strong{font-size:12px;font-weight:650;max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tree-context-menu button{align-items:center;background:transparent;border:0;border-radius:5px;color:#d0d0d0;cursor:pointer;display:flex;font-size:12px;gap:8px;min-height:28px;padding:0 8px;text-align:left}.tree-context-menu header button{flex:0 0 auto;justify-content:center;min-height:22px;padding:0;width:22px}.tree-context-menu button:hover:not(:disabled){background:#343434;color:#fff}.tree-context-menu button:disabled{cursor:not-allowed;opacity:.45}.tree-context-menu button.danger{color:#e1a084}.tree-context-menu button.danger:hover{background:#cb735024}.tag-list{display:flex;flex-wrap:wrap;gap:6px}.tag-list span{background:#372a59;border:1px solid #4f3f78;border-radius:999px;color:#d3c6ff;font-size:11px;padding:3px 7px}.muted,.safety-card p,.safety-card small,.status-line,.note-header p,.agent-console header p{color:#999}.safety-card{display:flex;flex-direction:column;gap:6px}.safety-card p,.safety-card small{align-items:center;display:flex;font-size:11px;gap:6px;margin:0;overflow-wrap:anywhere}.safety-card small{display:block;line-height:1.35}.workspace{background:#1e1e1e;display:flex;flex-direction:column;grid-area:workspace;min-height:0;min-width:0;overflow:hidden}.workspace-toolbar{align-items:center;background:#1e1e1e;border-bottom:1px solid #262626;display:grid;grid-template-columns:88px minmax(0,1fr) 88px;height:44px;padding:0 12px}.breadcrumb{color:#bdbdbd;font-size:12px;min-width:0;text-align:center}.breadcrumb span{color:#888;margin-right:6px}.breadcrumb strong{color:#d7d7d7;font-weight:600}.status-line{background:#1e1e1e;border-bottom:1px solid #262626;font-size:12px;min-height:30px;overflow:hidden;padding:7px 18px;text-overflow:ellipsis;white-space:nowrap}.graph-panel{align-items:center;background:#1e1e1e;display:flex;flex:1;height:100%;justify-content:center;min-height:0;min-width:0;overflow:hidden;padding:0;position:relative;-webkit-user-select:none;user-select:none;width:100%}.graph-workspace{display:flex;flex:1;min-height:0;min-width:0;overflow:hidden;position:relative}.graph-perspective-switch{align-items:center;background:#1e1e1ed1;border:1px solid #36363a;border-radius:6px;display:flex;left:50%;padding:3px;position:absolute;top:12px;transform:translate(-50%);z-index:8}.graph-perspective-switch button{background:transparent;border:0;border-radius:4px;color:#8d8d92;cursor:pointer;font-size:11px;height:26px;padding:0 10px}.graph-perspective-switch button:hover{color:#d1d1d5}.graph-perspective-switch button.active{background:#343139;color:#eeeaf8}.knowledge-terrain,.knowledge-root-map{background:#1e1e1e;flex:1;min-height:0;min-width:0;overflow:hidden;position:relative}.knowledge-terrain-scene,.knowledge-terrain-scene canvas,.knowledge-label-layer{display:block;height:100%;inset:0;position:absolute;width:100%}.knowledge-terrain-scene canvas{touch-action:none}.knowledge-label-layer{overflow:hidden;pointer-events:none}.knowledge-domain-label{color:#d8d8dc;font-size:11px;max-width:140px;overflow:hidden;padding-top:32px;position:absolute;text-align:center;text-overflow:ellipsis;text-shadow:0 1px 4px #101012,0 1px 10px #101012;transition:opacity .15s ease;white-space:nowrap;will-change:transform}.knowledge-domain-label.dimmed{opacity:.15!important}.knowledge-map-heading{display:flex;flex-direction:column;left:22px;pointer-events:none;position:absolute;top:20px;z-index:3}.knowledge-map-heading span{align-items:center;color:#a98df0;display:flex;font-size:11px;gap:6px}.knowledge-map-heading strong{color:#ececef;font-size:18px;font-weight:680;margin-top:5px}.knowledge-map-heading small{color:#77777e;font-size:11px;margin-top:4px}.knowledge-legend,.knowledge-relation-key{align-items:center;bottom:20px;color:#8f8f95;display:flex;font-size:10px;gap:14px;left:22px;position:absolute;z-index:4}.knowledge-legend span,.knowledge-relation-key span{align-items:center;display:flex;gap:5px}.knowledge-legend i{border-radius:50%;display:block;height:7px;width:7px}.knowledge-legend i.project{background:#c97857}.knowledge-legend i.topic{background:#8e78d8}.knowledge-legend i.method{background:#62a294}.knowledge-legend i.archive{background:#74767d}.knowledge-insight{background:#222224eb;border:1px solid #3d3b43;border-radius:7px;bottom:18px;box-shadow:0 16px 40px #00000052;color:#d9d9dc;display:flex;flex-direction:column;max-width:min(310px,calc(100% - 36px));padding:12px 14px;position:absolute;right:18px;z-index:5}.knowledge-insight>span{color:#a98df0;font-size:10px}.knowledge-insight strong{font-size:13px;margin-top:4px}.knowledge-insight p,.knowledge-insight small{color:#96969c;font-size:10px;line-height:1.55;margin:5px 0 0}.knowledge-root-map{animation:knowledge-map-enter .28s cubic-bezier(.2,.84,.24,1)}@keyframes knowledge-map-enter{0%{opacity:0;transform:scale(.985)}to{opacity:1;transform:scale(1)}}.knowledge-root-heading{align-items:center;display:flex;gap:11px;left:20px;position:absolute;right:20px;top:18px;z-index:4}.knowledge-root-heading>button{align-items:center;background:#28282b;border:1px solid #3c3c41;border-radius:5px;color:#aaaab0;cursor:pointer;display:inline-flex;height:30px;justify-content:center;width:30px}.knowledge-root-heading>button:hover{border-color:#5d536e;color:#f0edf7}.knowledge-root-heading>div:not(.knowledge-root-score){display:flex;flex-direction:column;min-width:0}.knowledge-root-heading span{color:#898990;font-size:10px}.knowledge-root-heading strong{color:#ededf0;font-size:16px;margin-top:2px}.knowledge-root-score{align-items:baseline;display:flex;gap:7px;margin-left:auto}.knowledge-root-score small{color:#85858a;font-size:10px}.knowledge-root-score b{color:#c7b7ef;font-size:18px}.knowledge-root-canvas{height:100%;min-height:0;width:100%}.knowledge-root-trunk path,.knowledge-role-branches path{fill:none;stroke:#4f4d55;stroke-width:1.15}.knowledge-root-trunk path{stroke:#66606f;stroke-width:1.5}.knowledge-domain-root circle:first-child{fill:#29262f;stroke:#9b79ec;stroke-width:2}.knowledge-domain-root .root-ring{fill:none;opacity:.25;stroke:#9b79ec;stroke-dasharray:2 6;stroke-width:1}.knowledge-domain-root text{fill:#f0edf7;font-size:12px;font-weight:650;text-anchor:middle}.knowledge-domain-root .root-count{fill:#8f8999;font-size:9px;font-weight:500}.knowledge-role-node circle{fill:#29292d;stroke:#65616c;stroke-width:1}.knowledge-role-node text{fill:#bcbcc2;font-size:9px;text-anchor:middle}.knowledge-role-node.role-question circle{stroke:#8e78d8}.knowledge-role-node.role-evidence circle{stroke:#62a294}.knowledge-role-node.role-decision circle{stroke:#c97857}.knowledge-role-node.role-output circle{stroke:#8fa45d}.knowledge-note-relations path{fill:none;stroke:#71628e;stroke-width:.9;transition:opacity .15s ease,stroke .15s ease,stroke-width .15s ease}.knowledge-note-relations path.candidate{opacity:.12;stroke:#706f77;stroke-dasharray:4 6}.knowledge-note-relations path.explicit{opacity:.24}.knowledge-note-relations path.active{opacity:1;stroke:#aa86ff;stroke-width:1.8}.knowledge-note-relations path.dimmed{opacity:.06}.knowledge-contribution{cursor:pointer;outline:none;transition:opacity .15s ease}.knowledge-contribution-hit{fill:transparent;pointer-events:all}.knowledge-contribution-dot{fill:#8e78d8;stroke:#bba8e9;stroke-width:1;transition:filter .15s ease,transform .18s cubic-bezier(.18,1.1,.28,1)}.knowledge-contribution.role-evidence .knowledge-contribution-dot{fill:#62a294;stroke:#91c2b7}.knowledge-contribution.role-decision .knowledge-contribution-dot{fill:#c97857;stroke:#e3a58c}.knowledge-contribution.role-output .knowledge-contribution-dot{fill:#8fa45d;stroke:#b8ca8b}.knowledge-contribution.role-reference .knowledge-contribution-dot{fill:#777981;stroke:#a3a4aa}.knowledge-contribution text{fill:#bdbdc2;font-size:11px;pointer-events:none;text-anchor:middle}.knowledge-contribution.active .knowledge-contribution-dot{filter:drop-shadow(0 0 7px rgb(167 134 255 / 62%));transform:scale(1.18)}.knowledge-contribution.active text{fill:#f3f0fa}.knowledge-contribution.dimmed{opacity:.16}.knowledge-relation-key i{display:block;height:0;width:18px}.knowledge-relation-key i.solid{border-top:1px solid #8c71ce}.knowledge-relation-key i.dashed{border-top:1px dashed #77777d}.contribution-insight{min-width:265px}.contribution-metrics{display:grid;gap:5px;grid-template-columns:1fr 1fr;margin-top:9px}.contribution-metrics span{background:#1b1b1d;border-radius:3px;color:#8f8f96;font-size:9px;height:18px;overflow:hidden;padding:3px 5px;position:relative}.contribution-metrics i{background:#9170e242;bottom:0;left:0;position:absolute;top:0}.knowledge-empty{align-items:center;color:#85858b;display:flex;flex:1;flex-direction:column;gap:8px;justify-content:center}.knowledge-empty strong{color:#c6c6ca;font-size:14px}.knowledge-empty span{font-size:11px}.graph-panel svg{background:#1e1e1e;border:0;border-radius:0;cursor:grab;display:block;height:100%;min-height:0;min-width:0;touch-action:none;width:100%}.graph-panel svg.panning{cursor:grabbing}.graph-trash{align-items:center;background:#1f1f1fa8;border:1px solid rgba(74,74,74,.72);border-radius:6px;bottom:18px;color:#77777b;display:inline-flex;height:30px;justify-content:center;pointer-events:none;position:absolute;right:18px;transition:background .17s ease,border-color .17s ease,color .17s ease,transform .22s cubic-bezier(.18,1.15,.28,1);width:30px;z-index:4}.graph-trash.active{background:#cb735021;border-color:#cb735080;color:#d9997d;transform:scale(1.04)}.graph-trash-icon{color:currentColor;flex:0 0 auto}.graph-delete-overlay{align-items:center;background:radial-gradient(circle at 50% 42%,rgb(97 72 146 / 14%),transparent 34%),#0000006b;display:flex;inset:0;justify-content:center;padding:24px;position:fixed;z-index:30}.graph-delete-dialog{background:linear-gradient(180deg,#282828,#202020);border:1px solid #3b3b3b;border-radius:8px;box-shadow:0 28px 80px #00000085;color:#dedede;max-width:min(440px,100%);overflow:hidden;padding:22px;position:relative;width:440px}.graph-delete-close{align-items:center;background:transparent;border:0;color:#8d8d8d;cursor:pointer;display:inline-flex;height:26px;justify-content:center;position:absolute;right:12px;top:12px;width:26px}.graph-delete-close:hover{color:#e0e0e0}.graph-delete-icon{align-items:center;background:#cb73501f;border:1px solid rgb(203 115 80 / 32%);border-radius:8px;color:#e1a185;display:inline-flex;height:42px;justify-content:center;margin-bottom:16px;width:42px}.graph-delete-copy p,.graph-delete-note{color:#a9a9a9;font-size:12px;line-height:1.65;margin:0}.graph-delete-copy h2{color:#f1f1f1;font-size:19px;font-weight:700;line-height:1.35;margin:4px 0 6px}.graph-delete-copy span{color:#8c8c8c;display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.graph-delete-dialog pre{background:#191919;border:1px solid #323232;border-radius:7px;color:#b9b9b9;font-family:JetBrains Mono,Consolas,monospace;font-size:12px;line-height:1.55;margin:16px 0 12px;max-height:132px;overflow:auto;padding:12px;white-space:pre-wrap}.graph-delete-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:18px}.graph-delete-actions button{background:#2f2f2f;border:1px solid #454545;border-radius:7px;color:#d8d8d8;cursor:pointer;min-height:34px;padding:0 14px}.graph-delete-actions button:hover{background:#383838;border-color:#5a5a5a}.graph-delete-actions button.danger{background:#cb735029;border-color:#cb735070;color:#f0b095}.graph-delete-actions button.danger:hover{background:#cb73503d;border-color:#cb7350ad}.agent-key-overlay{align-items:center;background:radial-gradient(circle at 50% 42%,rgb(120 93 171 / 16%),transparent 34%),#00000070;display:flex;inset:0;justify-content:center;padding:24px;position:fixed;z-index:34}.agent-key-dialog{align-items:center;background:linear-gradient(180deg,#282828,#202020);border:1px solid #3d3d3d;border-radius:8px;box-shadow:0 28px 80px #0000008a;color:#dedede;display:grid;gap:18px;max-width:min(520px,calc(100vw - 32px));padding:24px;position:relative;text-align:center;width:520px}.agent-key-close{align-items:center;background:transparent;border:0;color:#8d8d8d;cursor:pointer;display:inline-flex;height:26px;justify-content:center;position:absolute;right:12px;top:12px;width:26px}.agent-key-close:hover{color:#e0e0e0}.agent-key-icon{align-items:center;background:#a786ff1f;border:1px solid rgb(167 134 255 / 32%);border-radius:8px;color:#bda7ff;display:inline-flex;height:42px;justify-content:center;justify-self:center;width:42px}.agent-key-copy p{color:#a786ff;font-size:12px;margin:0 0 4px}.agent-key-copy h2{color:#f1f1f1;font-size:19px;line-height:1.35;margin:0 0 6px;padding:0 28px}.agent-key-copy span,.agent-key-dialog label span{color:#9f9f9f;font-size:12px;line-height:1.6}.agent-key-dialog label{display:grid;gap:8px;max-width:420px;text-align:left;width:100%}.agent-key-dialog input{min-height:38px;width:100%}.agent-key-dialog input:focus,.agent-settings-panel select:focus{border-color:#6f5fc1;box-shadow:0 0 0 3px #6f5fc12e}.agent-key-actions{display:flex;gap:10px;justify-content:flex-end;max-width:420px;width:100%}.agent-key-actions button{background:#2f2f2f;border:1px solid #464646;border-radius:6px;color:#dedede;cursor:pointer;min-height:34px;padding:0 14px}.agent-key-actions button:hover:not(:disabled){background:#3a3a3a}.agent-key-actions button.primary{background:#c97857;border-color:#d48a6d;color:#161616;font-weight:700}.agent-key-actions button:disabled{cursor:not-allowed;opacity:.55}.graph-viewport{transform-origin:0 0}.graph-edge{opacity:.44;stroke:#4c4c52;stroke-width:.75;transition:opacity .14s ease,stroke .14s ease,stroke-width .14s ease}.graph-edge.unresolved{stroke-dasharray:5 5}.graph-edge.active{opacity:.86;stroke:#7657d6;stroke-width:1.35}.graph-edge.dimmed{opacity:.12}.graph-selection-box{fill:#8d68ec1f;pointer-events:none;stroke:#a786ff;stroke-dasharray:5 4;stroke-width:1.2}.graph-node{cursor:pointer;transition:opacity .14s ease}.graph-node:focus{outline:none}.graph-node-hitbox{fill:transparent;pointer-events:all;stroke:transparent}.graph-node-dot{fill:#bbbcc1;stroke:#bbbcc1;stroke-width:1.4;transition:fill .14s ease,r .14s ease,stroke .14s ease,stroke-width .14s ease}.graph-node.depth-0 .graph-node-dot{fill:#d7d7d7;stroke:#d7d7d7}.graph-node.depth-2 .graph-node-dot{fill:#a4a5aa;stroke:#a4a5aa}.graph-node text{fill:#d7d7d7;font-size:12px;pointer-events:none;text-anchor:middle;transition:opacity .14s ease,fill .14s ease;-webkit-user-select:none;user-select:none}.graph-node.active .graph-node-dot{fill:#f2efff;r:calc(var(--node-radius) * 1.45);stroke:#9b6cff;stroke-width:2}.graph-node.selected .graph-node-dot{fill:#f3efff;filter:drop-shadow(0 0 5px rgba(167,134,255,.72));stroke:#b99bff;stroke-width:2.5}.graph-node.active text{fill:#fff}.graph-node.selected text{fill:#f6f1ff;opacity:1}.graph-node.dimmed{opacity:.22}.graph-node.dragging{cursor:grabbing}.graph-node.dragging .graph-node-dot{fill:#fff;r:calc(var(--node-radius) * 1.55);stroke:#cb7350}.graph-settings-panel{background:#262626;border:1px solid #393939;border-radius:6px;box-shadow:0 18px 48px #0000005c;color:#d7d7d7;position:absolute;right:16px;top:14px;width:260px;z-index:5}.graph-settings-panel header{align-items:center;border-bottom:1px solid #363636;display:flex;font-size:12px;font-weight:650;justify-content:space-between;min-height:36px;padding:0 10px}.graph-settings-panel header button{background:transparent;border:0;color:#aaa;cursor:pointer;font-size:18px}.graph-settings-panel section{border-bottom:1px solid #333333;display:flex;flex-direction:column;gap:8px;padding:10px}.graph-settings-panel section:last-child{border-bottom:0}.graph-settings-panel h3{color:#aaa;font-size:12px;font-weight:600;margin:0}.graph-settings-panel label{align-items:center;color:#d0d0d0;display:flex;font-size:12px;gap:8px;justify-content:space-between}.graph-settings-panel input[aria-label=筛选图谱节点]{background:#1e1e1e;border:1px solid #3b3b3b;border-radius:5px;color:#dedede;min-height:28px;outline:0;padding:0 8px}.graph-settings-panel input[type=checkbox]{accent-color:#8b5cf6}.graph-settings-panel input[type=range]{accent-color:#cb7350;width:130px}.readonly-sidebar-list{display:flex;flex-direction:column;gap:1px;margin-top:4px}.readonly-sidebar-list button{align-items:center;background:transparent;border:0;border-radius:4px;color:#bdbdc2;cursor:pointer;display:flex;gap:7px;min-height:27px;padding:0 8px;text-align:left;width:100%}.readonly-sidebar-list button:hover{background:#2b2b2d;color:#fff}.readonly-sidebar-list button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.readonly-sidebar-list button svg{color:#89868e;flex:0 0 auto}.readonly-explorer{background:#1e1e1e;display:grid;flex:1;grid-template-columns:minmax(0,1fr);min-height:0;overflow:hidden}.readonly-explorer.with-preview{grid-template-columns:minmax(420px,1fr) minmax(280px,36%)}.readonly-browser-main{display:flex;flex-direction:column;min-width:0;min-height:0}.readonly-browser-toolbar{align-items:center;border-bottom:1px solid #303033;display:grid;gap:10px;grid-template-columns:auto minmax(180px,1fr) minmax(160px,240px);min-height:48px;padding:6px 14px}.readonly-browser-actions{display:flex;gap:4px}.readonly-browser-actions button,.readonly-preview header button{align-items:center;background:transparent;border:1px solid transparent;border-radius:5px;color:#aaaab0;cursor:pointer;display:inline-flex;height:30px;justify-content:center;padding:0;width:30px}.readonly-browser-actions button:hover:not(:disabled),.readonly-preview header button:hover{background:#2c2c2f;border-color:#3b3b3f;color:#fff}.readonly-browser-actions button:disabled{opacity:.3}.spinning{animation:readonly-spin .8s linear infinite}@keyframes readonly-spin{to{transform:rotate(360deg)}}.readonly-breadcrumb{align-items:center;background:#242426;border:1px solid #353538;border-radius:6px;display:flex;min-width:0;overflow-x:auto;padding:2px 5px;scrollbar-width:thin}.readonly-breadcrumb span{align-items:center;display:inline-flex;flex:0 0 auto}.readonly-breadcrumb button{align-items:center;background:transparent;border:0;color:#c5c5ca;cursor:pointer;display:inline-flex;gap:5px;height:28px;padding:0 6px;white-space:nowrap}.readonly-breadcrumb button:hover{background:#303034;color:#fff}.readonly-breadcrumb svg{color:#77777d;flex:0 0 auto}.readonly-search{align-items:center;background:#242426;border:1px solid #353538;border-radius:6px;color:#85858b;display:flex;gap:7px;height:34px;padding:0 9px}.readonly-search input{background:transparent;border:0;color:#e3e3e6;min-width:0;outline:0;width:100%}.readonly-location-summary{align-items:baseline;display:flex;justify-content:space-between;padding:15px 18px 10px}.readonly-location-summary strong{color:#eeeeef;font-size:17px}.readonly-location-summary span{color:#85858b;font-size:11px}.readonly-file-table{border-bottom:1px solid #2d2d30;border-top:1px solid #2d2d30;flex:1;min-height:0;overflow:auto}.readonly-file-row{align-items:center;background:#1f1f21;border:0;border-bottom:1px solid #29292c;color:#c7c7cc;cursor:pointer;display:grid;font-size:12px;gap:12px;grid-template-columns:minmax(190px,1.5fr) minmax(100px,.7fr) minmax(80px,.5fr) minmax(140px,.8fr);min-height:36px;padding:0 18px;text-align:left;width:100%}.readonly-file-row.header{background:#27272a;color:#85858b;cursor:default;font-size:11px;position:sticky;top:0;z-index:1}.readonly-file-row:not(.header):hover{background:#2a2a2d;color:#fff}.readonly-file-row>span{align-items:center;display:flex;gap:8px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.readonly-file-row strong{font-weight:480;overflow:hidden;text-overflow:ellipsis}.readonly-file-row.directory svg{color:#a993c5}.readonly-file-row.file svg{color:#818187}.readonly-file-empty,.readonly-limit{color:#88888e;font-size:12px;padding:18px}.readonly-limit{margin:0}.readonly-preview{background:#202022;border-left:1px solid #343438;display:flex;flex-direction:column;min-height:0;min-width:0}.readonly-preview header{align-items:center;border-bottom:1px solid #323236;display:flex;justify-content:space-between;min-height:58px;padding:8px 12px 8px 16px}.readonly-preview header div{display:flex;flex-direction:column;min-width:0}.readonly-preview header span{color:#8d78a8;font-size:10px}.readonly-preview header strong{color:#e6e6e9;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.readonly-preview dl{border-bottom:1px solid #303034;margin:0;padding:10px 16px}.readonly-preview dl div{display:grid;gap:8px;grid-template-columns:42px minmax(0,1fr);margin:4px 0}.readonly-preview dt{color:#77777d;font-size:10px}.readonly-preview dd{color:#a8a8ad;font-size:10px;margin:0;overflow-wrap:anywhere}.readonly-preview pre{color:#d4d4d7;flex:1;font:12px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace;margin:0;overflow:auto;padding:16px;tab-size:2;white-space:pre-wrap;word-break:break-word}.readonly-preview-message{align-items:center;color:#88888e;display:flex;flex:1;flex-direction:column;justify-content:center;padding:28px;text-align:center}.readonly-preview-message p{font-size:12px;line-height:1.7}.readonly-preview footer{align-items:center;border-top:1px solid #303034;color:#75757b;display:flex;font-size:10px;gap:6px;padding:9px 16px}@media(max-width:1080px){.readonly-explorer.with-preview{grid-template-columns:minmax(360px,1fr) minmax(250px,34%)}.readonly-browser-toolbar{grid-template-columns:auto minmax(140px,1fr)}.readonly-search{grid-column:1 / -1}.readonly-file-row{grid-template-columns:minmax(180px,1.4fr) minmax(90px,.7fr) minmax(70px,.5fr)}.readonly-file-row>span:last-child{display:none}}.vault-explorer{background:#1e1e1e;display:flex;flex:1;flex-direction:column;gap:14px;min-height:0;overflow:auto;padding:20px 24px}.explorer-header{align-items:center;display:grid;gap:16px;grid-template-columns:minmax(0,1fr) minmax(220px,340px)}.explorer-header h1{color:#f0f0f0;font-size:20px;margin:0 0 4px}.explorer-header p{color:#8e8e8e;font-size:12px;margin:0}.explorer-search{align-items:center;background:#242424;border:1px solid #363636;border-radius:7px;color:#8f8f8f;display:flex;gap:8px;min-height:34px;padding:0 10px}.explorer-search input{background:transparent;border:0;color:#e6e6e6;min-width:0;outline:0;width:100%}.drive-grid{display:grid;gap:8px;grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}.drive-card{align-items:center;background:#242424;border:1px solid #333333;border-radius:7px;color:#cfcfcf;cursor:pointer;display:grid;gap:4px 8px;grid-template-columns:22px minmax(0,1fr) auto;min-height:54px;padding:9px 10px;text-align:left;transition:background .16s ease,border-color .16s ease,color .16s ease,transform .18s ease}.drive-card:hover,.drive-card.active{background:#2c2c2c;border-color:#57505f;color:#fff;transform:translateY(-1px)}.drive-card span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.drive-card strong{color:#9b6cff;font-size:12px}.explorer-table{border:1px solid #333333;border-radius:7px;min-height:0;overflow:hidden auto}.explorer-row{align-items:center;background:#202020;border:0;border-bottom:1px solid #2b2b2b;color:#d7d7d7;cursor:pointer;display:grid;gap:12px;grid-template-columns:minmax(160px,1.1fr) minmax(180px,1.4fr) minmax(90px,.6fr);min-height:34px;padding:0 12px;text-align:left;width:100%}.explorer-row.header{background:#282828;color:#8f8f8f;cursor:default;font-size:11px;font-weight:650;min-height:30px}.explorer-row:not(.header):hover{background:#2b2b2b;color:#fff}.explorer-row span{align-items:center;display:inline-flex;gap:7px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.explorer-empty{color:#8d8d8d;padding:18px}.note-editor{background:#1e1e1e;color:#e1e1e1;display:flex;flex:1;flex-direction:column;min-height:0}.note-editor.empty{align-items:center;color:#999;justify-content:center}.note-header{align-items:flex-start;background:#1e1e1e;border-bottom:0;display:flex;justify-content:space-between;padding:40px min(8vw,92px) 10px}.note-header h1{color:#f0f0f0;font-size:30px;line-height:1.2;margin:0 0 12px}.note-header p{font-size:13px;margin:0}.note-header .segmented{background:#242424;border:1px solid #383838;border-radius:6px;display:inline-flex;overflow:hidden}.note-header .segmented button{background:transparent;border:0;color:#bdbdbd;cursor:pointer;min-height:30px;min-width:54px}.note-header .segmented button.active{background:#3b3b3b;color:#fff}.markdown-input,.markdown-preview{flex:1;min-height:0;overflow:auto;padding:10px min(8vw,92px) 28px}.markdown-input{background:#1e1e1e;border:0;color:#e1e1e1;line-height:1.75;outline:0;resize:none}.markdown-preview{background:#1e1e1e;line-height:1.78}.markdown-preview h1,.markdown-preview h2,.markdown-preview p{max-width:780px}.markdown-preview h1{color:#f0f0f0;font-size:30px}.markdown-preview h2{color:#f0f0f0;font-size:25px}.markdown-preview p{color:#f0f0f0;margin:12px 0}.markdown-preview>p:first-of-type{border-left:3px solid #8b5cf6;padding-left:14px}.mini-graph-panel{background:#1e1e1e;border-top:1px solid #282828;flex:0 0 150px;min-height:150px;overflow:hidden;padding:6px min(8vw,92px) 8px}.mini-graph-panel svg{display:block;height:100%;width:100%}.mini-graph-edge{opacity:.34;stroke:#48484e;stroke-width:1.1;transition:opacity .14s ease,stroke .14s ease,stroke-width .14s ease}.mini-graph-edge.current,.mini-graph-edge.active{opacity:.84;stroke:#7657d6;stroke-width:2}.mini-graph-edge.dimmed{opacity:.08}.mini-graph-edge.unresolved{stroke-dasharray:4 4}.mini-graph-node{cursor:pointer;transition:opacity .14s ease}.mini-graph-hitbox{fill:transparent;pointer-events:all}.mini-graph-dot{fill:#b8b9bd;stroke:#b8b9bd;stroke-width:1.2;transition:fill .14s ease,r .14s ease,stroke .14s ease,stroke-width .14s ease}.mini-graph-unresolved-ring{fill:transparent;stroke:#9a8fc2;stroke-dasharray:2 3;stroke-width:1.1;opacity:.62;pointer-events:none;transition:opacity .14s ease,stroke .14s ease,stroke-width .14s ease}.mini-graph-node.current .mini-graph-dot{fill:#f5f2ff;stroke:#9b6cff;stroke-width:2.2}.mini-graph-node.active .mini-graph-dot{fill:#fff;stroke:#9b6cff;stroke-width:2}.mini-graph-node.unresolved .mini-graph-dot{fill:#29292d;stroke:#9a8fc2;stroke-width:1.5}.mini-graph-node.unresolved.active .mini-graph-dot{fill:#f2efff;stroke:#b69cff}.mini-graph-node.unresolved.active .mini-graph-unresolved-ring{opacity:1;stroke:#b69cff;stroke-width:1.4}.mini-graph-node.unrelated .mini-graph-dot{fill:#64656a;stroke:#64656a}.mini-graph-node.unresolved.unrelated .mini-graph-dot{fill:#252528;stroke:#777082}.mini-graph-node.dimmed{opacity:.2}.mini-graph-node text{fill:#cfcfd2;font-size:10px;pointer-events:none;text-anchor:middle;-webkit-user-select:none;user-select:none}.mini-graph-node.current text,.mini-graph-node.active text{fill:#fff}.agent-console{background:#252525;border-left:1px solid #373737;color:#d6d6d6;display:flex;flex-direction:column;grid-area:agent;min-height:0;min-width:0}.agent-console-header{align-items:start;border-bottom:1px solid #333333;display:grid;gap:10px;grid-template-columns:minmax(0,1fr) auto;padding:14px 14px 12px 16px}.agent-title-block{min-width:0}.agent-console-header h2{align-items:center;color:#eee;display:flex;font-size:14px;gap:8px}.agent-console-header h2:before{color:#ff8a4c;content:"✹";font-size:18px}.agent-console-header p{font-size:12px;margin:6px 0 0}.agent-model{align-items:center;background:transparent;border:0;display:grid;gap:8px;grid-template-columns:minmax(0,1fr) auto;justify-items:end;max-width:190px;min-width:0;padding:0}.agent-model-state{align-items:center;display:flex;flex-direction:column;gap:2px;justify-content:center;min-width:0;text-align:right}.agent-model span{color:#8e8e8e;font-size:11px;text-transform:uppercase}.agent-model strong{color:#b9b9b9;font-size:11px;font-weight:650;max-width:126px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-model.ready span{color:#7fb18d}.agent-model.ready strong{color:#d9eadf}.agent-model .agent-model-warning{grid-column:1 / -1;max-width:190px;text-align:right}.agent-settings-toggle,.agent-key-button{background:#303030;border:1px solid #444444;border-radius:6px;color:#ddd;cursor:pointer;font-size:12px;min-height:30px;padding:0 10px}.agent-settings-toggle{justify-self:stretch}.agent-settings-icon{align-items:center;background:#252525;border:1px solid #414141;border-radius:6px;display:inline-flex;gap:0;height:28px;justify-content:center;justify-self:end;min-height:28px;padding:0;position:relative;width:30px}.agent-settings-icon .agent-settings-icon-control{color:#b4a0f4;opacity:.92}.agent-settings-icon:after{background:#ff8b5e;border-radius:999px;box-shadow:0 0 0 2px #252525;content:"";height:4px;position:absolute;right:5px;top:5px;width:4px}.agent-settings-toggle:hover,.agent-key-button:hover{background:#3a3a3a;border-color:#575757}.agent-settings-icon:hover{background:#303030;border-color:#5a4b75;color:#e6ddff}.agent-settings-overlay{align-items:center;background:radial-gradient(circle at 50% 42%,rgb(120 93 171 / 14%),transparent 34%),#00000070;display:flex;inset:0;justify-content:center;padding:24px;position:fixed;z-index:33}.agent-settings-dialog{align-items:center;background:linear-gradient(180deg,#282828,#202020);border:1px solid #3d3d3d;border-radius:8px;box-shadow:0 28px 80px #0000008a;color:#dedede;display:grid;gap:16px;max-width:min(520px,calc(100vw - 32px));padding:24px;position:relative;text-align:center;width:520px}.agent-settings-dialog>header{border:0;padding:0}.agent-settings-dialog>header span{color:#a786ff;display:block;font-size:12px;margin-bottom:4px}.agent-settings-dialog>header h2{color:#f1f1f1;font-size:19px;line-height:1.35;margin:0 0 6px;padding:0 28px}.agent-settings-dialog>header p{color:#9f9f9f;font-size:12px;line-height:1.6;margin:0}.agent-settings-close{align-items:center;background:transparent;border:0;color:#8d8d8d;cursor:pointer;display:inline-flex;font-size:20px;height:26px;justify-content:center;line-height:1;position:absolute;right:12px;top:12px;width:26px}.agent-settings-close:hover{color:#e0e0e0}.agent-settings-panel{background:#1d1d1d;border:1px solid #333333;border-radius:7px;display:grid;gap:10px;justify-items:center;justify-self:center;max-width:420px;padding:10px;text-align:center;width:100%}.agent-settings-panel label{display:grid;gap:6px;max-width:398px;text-align:left;width:100%}.agent-settings-panel label span{color:#9a9a9a;font-size:11px}.agent-settings-panel select,.agent-key-dialog input{background:#191919;border:1px solid #3a3a3a;border-radius:6px;color:#e7e7e7;min-height:30px;min-width:0;outline:0;padding:0 9px}.agent-settings-panel p,.agent-model-warning{color:#9a9a9a;font-size:11px;line-height:1.55;margin:0;max-width:398px;text-align:center}.agent-connection-card{align-items:center;background:#202020;border:1px solid #343434;border-radius:7px;display:grid;gap:10px;grid-template-columns:minmax(0,1fr) auto;max-width:398px;min-width:0;padding:9px;width:100%}.agent-connection-card.ready{border-color:#6bb88b57}.agent-connection-card div{display:grid;gap:4px;min-width:0}.agent-connection-card span{color:#9a9a9a;font-size:11px}.agent-connection-card strong{color:#dedede;font-size:12px;font-weight:650;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-connection-card.ready strong{color:#cfe8d7}.agent-model-warning{color:#d9a27f}.agent-settings-toggle:disabled,.agent-key-button:disabled,.agent-settings-panel select:disabled{cursor:not-allowed;opacity:.55}.agent-messages,.agent-diffs{display:flex;flex-direction:column;gap:12px;overflow:auto;padding:12px 14px}.agent-messages{flex:1}.agent-diffs{max-height:34%}.agent-message,.diff-card{border-radius:6px;font-size:13px;line-height:1.55;overflow-wrap:anywhere;padding:10px 12px}.agent-message.user{align-self:flex-end;background:#171717;color:#f3f3f3;max-width:92%}.agent-message.assistant{background:transparent;color:#d6d6d6;padding-left:0}.agent-message.tool{background:#8b6fd814;border-left:1px solid rgba(159,126,236,.55);color:#a9a0bc;font-size:12px;padding:7px 10px}.agent-message.tool:before{color:#a783ff;content:"Action";display:inline-block;font-size:11px;margin-right:8px}.agent-message.thinking{color:#a9a0bc;position:relative}.agent-message.thinking:after{animation:agent-thinking-pulse 1.35s ease-in-out infinite;background:linear-gradient(90deg,transparent,rgba(167,134,255,.48),transparent);border-radius:999px;content:"";display:block;height:1px;margin-top:9px;width:62%}.agent-message.assistant:before,.diff-card:before{color:#ff7f42;content:"Thought";display:block;font-size:12px;margin-bottom:8px}@keyframes agent-thinking-pulse{0%,to{opacity:.28;transform:translate(0)}50%{opacity:1;transform:translate(18px)}}.diff-card{background:#202020;border:1px solid #333333}.diff-card h3,.diff-card p{margin:0 0 8px}.diff-card h3{color:#d9d9d9;font-size:13px}.diff-card p{color:#a786ff;font-size:12px}.diff-card pre{background:#191919;border-radius:5px;color:#d7d7d7;max-height:130px;overflow:auto;padding:8px;white-space:pre-wrap}.diff-card button,.agent-send-button{background:#cb7350;border:0;border-radius:5px;color:#191919;cursor:pointer;font-weight:650;min-height:32px}.diff-card button:disabled,.agent-send-button:disabled{cursor:not-allowed;opacity:.55}.agent-console footer{border-top:1px solid #333333;display:flex;flex-direction:column;gap:7px;padding:12px 14px;position:relative}.agent-session-bar{align-items:center;display:flex;justify-content:space-between;margin-bottom:-2px;min-height:24px}.agent-session-tabs{align-items:center;display:flex;gap:4px;min-width:0}.agent-session-tabs button{align-items:center;background:transparent;border:1px solid #363636;border-radius:4px;color:#b5b5b5;cursor:pointer;display:inline-flex;font-size:11px;height:22px;justify-content:center;line-height:1;padding:0;position:relative;transition:border-color .14s ease,color .14s ease,background .14s ease;width:22px}.agent-session-running-dot{animation:agent-session-running 1.2s ease-in-out infinite;background:#ff8152;border:1px solid #171717;border-radius:50%;height:6px;position:absolute;right:-2px;top:-2px;width:6px}@keyframes agent-session-running{0%,to{opacity:.45;transform:scale(.82)}50%{opacity:1;transform:scale(1)}}.agent-session-tabs button:hover{background:#282828;border-color:#555;color:#e5e5e5}.agent-session-tabs button.active{background:#211a30;border-color:#9a71ff;color:#f1e9ff;box-shadow:0 0 0 1px #9a71ff2e}.agent-footer-tools{display:flex;gap:6px;padding-right:2px}.agent-footer-tools button,.agent-context-upload{align-items:center;background:transparent;border:1px solid transparent;border-radius:5px;color:#8d8d8d;cursor:pointer;display:inline-flex;height:24px;justify-content:center;padding:0;width:24px}.agent-footer-tools button:hover,.agent-context-upload:hover{background:#2f2f2f;border-color:#414141;color:#d7d7d7}.agent-footer-tools button:disabled{cursor:not-allowed;opacity:.35}.agent-console textarea{background:#1f1f1f;border:1px solid #3b3b3b;border-radius:7px;color:#e7e7e7;min-height:120px;outline:0;padding:10px;resize:vertical}.agent-status-strip{align-items:center;color:#9c9c9c;display:grid;font-size:11px;gap:8px;grid-template-columns:auto auto auto 1fr auto;min-height:22px}.agent-status-strip span{align-items:center;display:inline-flex;gap:4px;min-width:0;white-space:nowrap}.agent-status-strip strong{color:#ff8b5e;font-size:11px;font-weight:650}.agent-status-model{color:#ff8b5e;font-weight:650}.agent-context-meter i{--context-percent: 0%;background:radial-gradient(circle,#252525 52%,transparent 54%),conic-gradient(#a786ff var(--context-percent),#4a4a4a 0);border-radius:50%;display:inline-block;height:14px;width:14px}.agent-context-upload{grid-column:5;justify-self:end}@media(max-width:1240px){.obsidian-shell{grid-template-columns:42px minmax(190px,var(--left-width)) minmax(0,1fr) minmax(290px,var(--agent-width))}.obsidian-shell.left-collapsed{grid-template-columns:42px minmax(0,1fr) minmax(290px,var(--agent-width))}.app-chrome{grid-template-columns:minmax(130px,190px) minmax(0,1fr) minmax(140px,300px)}.tab{min-width:0}}@media(max-width:980px){.obsidian-shell{grid-template-columns:38px minmax(150px,190px) minmax(0,1fr) minmax(220px,260px)}.obsidian-shell.left-collapsed{grid-template-columns:38px minmax(0,1fr) minmax(220px,260px)}.app-chrome{gap:6px;grid-template-columns:120px minmax(0,1fr) minmax(96px,170px)}.chrome-right span:nth-of-type(2){display:none}.workspace-toolbar{grid-template-columns:64px minmax(0,1fr) 64px;padding:0 8px}.agent-console footer{padding:8px}.agent-console textarea{min-height:80px}}
