.BackendConnection-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100vh;background-color:#1e1e1e;color:#fff}.BackendConnection-spinner{width:40px;height:40px;border:4px solid #3e3e42;border-top:4px solid #007acc;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:1rem}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.BackendConnection-debug{font-size:.8rem;color:#888;margin-top:.5rem}.BackendConnection-error{display:flex;align-items:center;justify-content:center;height:100vh;background-color:#1e1e1e;color:#fff;padding:2rem}.BackendConnection-error-content{max-width:600px;text-align:center;background-color:#2d2d30;padding:2rem;border-radius:8px;border:1px solid #3e3e42}.BackendConnection-error-content h2{color:#ff6b6b;margin-bottom:1rem}.BackendConnection-error-content p{color:#ccc;margin-bottom:1.5rem}.BackendConnection-error-details{background-color:#3e3e42;padding:1rem;border-radius:4px;margin:1rem 0;text-align:left;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.9rem}.BackendConnection-steps{text-align:left;margin:1.5rem 0}.BackendConnection-steps h3{color:#fff;margin-bottom:1rem}.BackendConnection-steps ol{color:#ccc;line-height:1.6}.BackendConnection-steps li{margin-bottom:.5rem}.BackendConnection-steps code{background-color:#3e3e42;padding:.25rem .5rem;border-radius:4px;font-family:Monaco,Menlo,Ubuntu Mono,monospace;color:#fff}.BackendConnection-actions{display:flex;gap:1rem;justify-content:center;margin-top:1.5rem}.BackendConnection-retry-btn{background-color:#007acc;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:4px;font-size:1rem;font-weight:500;cursor:pointer;transition:background-color .2s}.BackendConnection-retry-btn:hover{background-color:#005a9e}.BackendConnection-success{height:100vh;display:flex;flex-direction:column}.EditorToolbar{display:flex;flex-direction:column;gap:1rem;padding:1rem;background-color:#2d2d30;border-bottom:1px solid #3e3e42}.EditorToolbar-controls{display:flex;gap:1rem;align-items:center}.EditorToolbar-select{padding:.5rem;border:1px solid #3e3e42;border-radius:4px;background-color:#1e1e1e;color:#fff;font-size:.9rem}.EditorToolbar-select:focus{outline:none;border-color:#007acc}.EditorToolbar-toggle-btn{padding:.5rem;border:1px solid #3e3e42;border-radius:4px;background-color:#1e1e1e;color:#fff;cursor:pointer;font-size:1rem;transition:all .2s}.EditorToolbar-toggle-btn:hover{background-color:#3e3e42}.EditorToolbar-toggle-btn.active{background-color:#007acc;border-color:#007acc}.EditorToolbar-ai{display:flex;gap:1rem;align-items:center}.EditorToolbar-prompt{flex:1;padding:.75rem;border:1px solid #3e3e42;border-radius:4px;background-color:#1e1e1e;color:#fff;font-size:.9rem}.EditorToolbar-prompt:focus{outline:none;border-color:#007acc}.EditorToolbar-prompt::placeholder{color:#888}.EditorToolbar-generate-btn{padding:.75rem 1.5rem;border:none;border-radius:4px;background-color:#007acc;color:#fff;font-size:.9rem;font-weight:500;cursor:pointer;transition:background-color .2s}.EditorToolbar-generate-btn:hover:not(:disabled){background-color:#005a9e}.EditorToolbar-generate-btn:disabled{background-color:#3e3e42;cursor:not-allowed}.EditorContainer{flex:1;height:calc(100vh - 120px);border:1px solid #3e3e42;border-radius:4px;overflow:hidden}.EditorFeature{display:flex;flex-direction:column;height:100%;background-color:#1e1e1e}.App{height:100vh;display:flex;flex-direction:column;background:#18191f;color:#f1f4ff;font-family:Segoe UI,SF Pro Text,sans-serif}.MenuBar{height:34px;display:flex;align-items:center;gap:18px;padding:0 14px;border-bottom:1px solid #2b2f3c;background:#111318;color:#c4c9d9;-webkit-user-select:none;user-select:none}.MenuBar span{font-size:13px;cursor:default}.Shell{flex:1;display:flex;min-height:0;min-width:0}.LeftPane{width:260px;flex:0 0 260px;border-right:1px solid #2b2f3c;background:#14161d;display:flex;flex-direction:column;min-width:220px}.PaneHeader{height:44px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #2b2f3c;padding:0 12px;background:#171a23}.PaneHeader strong{font-size:12px;color:#c0c7dd;letter-spacing:.04em}.RightHeaderActions{display:flex;gap:8px;position:relative}.ThreadMenuWrap{position:relative}.ThreadMenu{position:absolute;right:0;top:40px;width:188px;background:#171c2a;border:1px solid #33405f;border-radius:8px;box-shadow:0 10px 24px #00000059;z-index:30;padding:6px;display:flex;flex-direction:column;gap:4px}.ThreadMenu button{text-align:left;background:transparent;border:none;color:#dce5ff;font-size:12px;border-radius:6px;padding:7px 8px;cursor:pointer}.ThreadMenu button:hover{background:#2b3550}.PaneContent{flex:1;overflow:auto;padding:8px 6px 16px}.PaneEmpty{color:#8d99be;font-size:12px;padding:8px}.PaneError{margin-top:8px;color:#f4a5a5;font-size:11px;line-height:1.4;white-space:pre-wrap;word-break:break-word}.PaneNote{margin-top:8px;color:#8d99be;font-size:11px;line-height:1.4;white-space:pre-wrap;word-break:break-word}.Tree-list{list-style:none;margin:0;padding-left:10px}.Tree-node{width:100%;background:transparent;color:#ccd3ea;border:none;text-align:left;display:flex;align-items:center;gap:8px;padding:6px;border-radius:6px;cursor:pointer}.Tree-node:hover{background:#242a3a}.Tree-node.active{background:#2b3550}.Tree-node-icon{color:#7d8aae;width:12px}.Tree-node-name{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.CenterPane{flex:1 1 auto;display:flex;flex-direction:column;min-width:0;min-height:0}.EditorContextBar{height:44px;border-bottom:1px solid #2b2f3c;background:#171a23;display:flex;align-items:center;justify-content:space-between;padding:0 10px}.FileBadge{font-size:12px;color:#d2daf5;background:#252c3f;border:1px solid #3b4663;border-radius:6px;padding:4px 8px;max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.CenterActions{display:flex;gap:8px}.CenterActions button,.RightHeader button{border:1px solid #3c4869;background:#242b3f;color:#d9e3ff;border-radius:6px;padding:5px 10px;font-size:12px;cursor:pointer}.CenterActions button:hover,.RightHeader button:hover{background:#2f3850}.EditorHost{flex:1;min-height:0}.ChatEditorHost{height:100%;display:flex;flex-direction:column;min-height:0}.ChatEditorHeader{height:40px;border-bottom:1px solid #2b2f3c;background:#171a23;display:flex;align-items:center;justify-content:space-between;padding:0 10px}.ChatEditorHeader strong{font-size:12px;color:#cbd5f2}.ChatEditorHeader button{border:1px solid #3c4869;background:#242b3f;color:#d9e3ff;border-radius:6px;padding:4px 10px;font-size:12px;cursor:pointer}.TerminalPane{height:180px;border-top:1px solid #2b2f3c;background:#0f1117;display:flex;flex-direction:column}.TerminalTabs{height:34px;display:flex;align-items:center;gap:16px;padding:0 12px;border-bottom:1px solid #262b38}.TerminalTabs span{color:#8e98b7;font-size:12px}.TerminalTabs span.active{color:#d2ddff}.TerminalBody{padding:10px 12px;color:#a7ffb5;font-family:Consolas,Courier New,monospace;font-size:12px}.RightResizer{width:6px;cursor:col-resize;background:#11141d;border-left:1px solid #2b2f3c;border-right:1px solid #2b2f3c}.RightPane{flex:0 0 auto;min-width:280px;max-width:620px;border-left:1px solid #2b2f3c;background:#131620;display:flex;flex-direction:column}.ThreadList{max-height:150px;overflow:auto;border-bottom:1px solid #2b2f3c;padding:8px;display:flex;flex-direction:column;gap:6px}.ThreadItem{border:1px solid #2f3850;background:#1d2334;color:#d6def7;border-radius:6px;padding:7px 10px;text-align:left;font-size:12px;cursor:pointer}.ThreadItem.active{background:#2a3555;border-color:#40527f}.ChatMessages{flex:1;overflow:auto;padding:12px;display:flex;flex-direction:column;gap:10px}.ChatBubble{border:1px solid #30374c;border-radius:8px;padding:8px;max-width:100%}.ChatBubble.user{background:#233b6b;border-color:#32518d}.ChatBubble.assistant{background:#1f2536}.ChatBubble pre{margin:0;white-space:pre-wrap;word-break:break-word;color:#eef3ff;font-family:Consolas,Courier New,monospace;font-size:12px;max-height:260px;overflow:auto;padding-right:4px}.TypingDots{color:#8fa0cb;font-size:12px}.ChatInputZone{border-top:1px solid #2b2f3c;background:#171a24;padding:10px;margin-top:auto}.CenterComposerDock{border-top:1px solid #2b2f3c}.AgentStatusLine{display:flex;gap:8px;margin-bottom:8px}.AgentStatusLine span{font-size:11px;color:#9fb1dd;background:#232b41;border:1px solid #344365;border-radius:999px;padding:2px 8px;max-width:42%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ChatControlsRow{display:grid;grid-template-columns:minmax(110px,1fr) minmax(140px,1.2fr) minmax(120px,1fr);gap:8px;align-items:center;margin-bottom:8px}.ChatComposerRow{display:grid;grid-template-columns:1fr 72px;gap:8px;align-items:end}.ChatControlsRow select,.ChatComposerRow textarea,.ChatComposerRow button{border-radius:6px;border:1px solid #394462;background:#232a3d;color:#edf2ff;font-size:12px}.ChatControlsRow select,.ChatComposerRow button{height:36px;padding:0 10px}.ChatComposerRow textarea{min-height:72px;max-height:180px;resize:none;padding:10px;line-height:1.45}.ChatComposerRow button{cursor:pointer}.ProviderPanel{margin-bottom:8px;border:1px solid #344363;border-radius:8px;background:#141b2c;padding:8px;display:flex;flex-direction:column;gap:8px}.ProviderPanelHeader{display:flex;justify-content:space-between;align-items:center}.ProviderPanelHeader strong{font-size:12px;color:#dce6ff}.ProviderPanelHeader button,.ProviderActions button,.ProviderPanelToggle{border:1px solid #3c4869;background:#242b3f;color:#d9e3ff;border-radius:6px;padding:5px 10px;font-size:12px;cursor:pointer}.ProviderPanelHeader button:hover,.ProviderActions button:hover,.ProviderPanelToggle:hover{background:#2f3850}.ProviderPanelRows{display:flex;flex-direction:column;gap:8px}.ProviderRow{border:1px solid #313b56;border-radius:6px;padding:8px;background:#1a2237}.ProviderMain{display:flex;gap:8px;align-items:center}.ProviderName{font-size:12px;color:#e7eeff}.ProviderBadge{font-size:11px;padding:2px 7px;border-radius:999px;border:1px solid #40527f;color:#dce6ff}.ProviderBadge.connected{background:#203f34;border-color:#2f6d58}.ProviderBadge.configured{background:#273450}.ProviderBadge.unreachable,.ProviderBadge.missing-key,.ProviderBadge.unavailable{background:#4b2c32;border-color:#7d3f4a}.ProviderDetail{margin-top:6px;color:#9fb0d8;font-size:12px}.ProviderActions{margin-top:8px;display:flex;align-items:center;gap:8px}.ProviderActions span{color:#b6c5ea;font-size:11px}.ProviderHint{font-size:11px;color:#9fb0d8}.ProviderHint code{color:#e6efff}.ProviderPanelToggleRow{margin-top:8px;display:flex;justify-content:flex-end}.StatusLine{margin-top:8px;border-top:1px solid #2e3548;padding-top:6px;display:flex;justify-content:space-between;gap:8px;color:#93a0c6;font-size:11px}.WelcomeRoot{align-items:center;justify-content:center;padding:30px}.WelcomeCenter{width:min(700px,96%);border:1px solid #2e354a;border-radius:14px;background:#111520;padding:26px;text-align:center}.WelcomeCenter h1{margin:0 0 8px}.WelcomeCenter p{margin:0;color:#9ba8cd}.WelcomeActions{margin-top:20px;display:flex;gap:12px;justify-content:center}.PrimaryBtn,.SecondaryBtn{border-radius:8px;padding:10px 16px;border:1px solid #40507a;background:#29385f;color:#e6edff;cursor:pointer}.SecondaryBtn{border-color:#35405c;background:#1d2438}.SecondaryBtn:disabled{opacity:.7;cursor:not-allowed}.RecentProjects{margin-top:22px;text-align:left}.RecentProjects h3{margin:0 0 10px;font-size:14px;color:#c7d2f4}.MutedText{color:#8793b7;font-size:12px}.RecentProjects ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.RecentProjects li button{width:100%;text-align:left;border:1px solid #2f3952;background:#1b2234;border-radius:8px;color:#e4ebff;padding:10px;display:flex;flex-direction:column;gap:4px;cursor:pointer}.RecentProjects li button span{color:#8c9bc3;font-size:11px}@media (max-width: 980px){.Shell{display:block}.LeftPane,.RightResizer,.RightPane{display:none}.ChatInputRow,.ChatControlsRow,.ChatComposerRow{grid-template-columns:1fr}}
