:root{color:#d7d7dc;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#111214;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#root{width:100%;min-width:0;min-height:100%;margin:0}body{background:#111214;min-height:100vh;overflow:hidden}button,input,textarea{font:inherit}button{-webkit-tap-highlight-color:transparent}.xterm{cursor:text;-webkit-user-select:none;user-select:none;position:relative}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{z-index:5;position:absolute;top:0}.xterm .xterm-helper-textarea{opacity:0;z-index:-5;white-space:nowrap;resize:none;border:0;width:0;height:0;margin:0;padding:0;position:absolute;top:0;left:-9999em;overflow:hidden}.xterm .composition-view{color:#fff;white-space:nowrap;z-index:1;background:#000;display:none;position:absolute}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{cursor:default;background-color:#000;position:absolute;inset:0;overflow-y:scroll}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;top:0;left:0}.xterm-char-measure-element{visibility:hidden;line-height:normal;display:inline-block;position:absolute;top:0;left:-9999em}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer,.xterm .xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility:not(.debug),.xterm .xterm-message{z-index:10;color:#0000;pointer-events:none;position:absolute;inset:0}.xterm .xterm-accessibility-tree:not(.debug) ::selection{color:#0000}.xterm .xterm-accessibility-tree{-webkit-user-select:text;user-select:text;white-space:pre;font-family:monospace}.xterm .xterm-accessibility-tree>div{transform-origin:0;width:fit-content}.xterm .live-region{width:1px;height:1px;position:absolute;left:-9999px;overflow:hidden}.xterm-dim{opacity:1!important}.xterm-underline-1{text-decoration:underline}.xterm-underline-2{-webkit-text-decoration:underline double;text-decoration:underline double}.xterm-underline-3{-webkit-text-decoration:underline wavy;text-decoration:underline wavy}.xterm-underline-4{-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.xterm-underline-5{-webkit-text-decoration:underline dashed;text-decoration:underline dashed}.xterm-overline{text-decoration:overline}.xterm-overline.xterm-underline-1{text-decoration:underline overline}.xterm-overline.xterm-underline-2{-webkit-text-decoration:overline double underline;text-decoration:overline double underline}.xterm-overline.xterm-underline-3{-webkit-text-decoration:overline wavy underline;text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{-webkit-text-decoration:overline dotted underline;text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{-webkit-text-decoration:overline dashed underline;text-decoration:overline dashed underline}.xterm-strikethrough{text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{z-index:6;position:absolute}.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer{z-index:7}.xterm-decoration-overview-ruler{z-index:8;pointer-events:none;position:absolute;top:0;right:0}.xterm-decoration-top{z-index:2;position:relative}.xterm .xterm-scrollable-element>.scrollbar{cursor:default}.xterm .xterm-scrollable-element>.scrollbar>.scra{cursor:pointer;font-size:11px!important}.xterm .xterm-scrollable-element>.visible{opacity:1;z-index:11;background:0 0;transition:opacity .1s linear}.xterm .xterm-scrollable-element>.invisible{opacity:0;pointer-events:none}.xterm .xterm-scrollable-element>.invisible.fade{transition:opacity .8s linear}.xterm .xterm-scrollable-element>.shadow{display:none;position:absolute}.xterm .xterm-scrollable-element>.shadow.top{width:100%;height:3px;box-shadow:var(--vscode-scrollbar-shadow,#000) 0 6px 6px -6px inset;display:block;top:0;left:3px}.xterm .xterm-scrollable-element>.shadow.left{width:3px;height:100%;box-shadow:var(--vscode-scrollbar-shadow,#000) 6px 0 6px -6px inset;display:block;top:3px;left:0}.xterm .xterm-scrollable-element>.shadow.top-left-corner{width:3px;height:3px;display:block;top:0;left:0}.xterm .xterm-scrollable-element>.shadow.top.left{box-shadow:var(--vscode-scrollbar-shadow,#000) 6px 0 6px -6px inset}.settings-overlay{z-index:1000;background:#0000008c;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.settings-panel{color:#f4f4f5;background:#111318;border:1px solid #ffffff1f;border-radius:12px;width:min(680px,100%);max-height:min(820px,100vh - 48px);overflow-y:auto;box-shadow:0 24px 80px #00000073}.settings-header{border-bottom:1px solid #ffffff17;justify-content:space-between;align-items:flex-start;gap:24px;padding:24px;display:flex}.settings-header h2{margin:0;font-size:22px}.settings-header p{color:#9ca3af;margin:6px 0 0;font-size:13px}.settings-close-button{color:#a1a1aa;cursor:pointer;background:0 0;border:0;border-radius:6px;width:32px;height:32px;font-size:24px;line-height:1}.settings-close-button:hover{color:#fff;background:#ffffff14}.settings-content{padding:24px}.settings-section+.settings-section{margin-top:28px}.settings-section-title{color:#d4d4d8;letter-spacing:.08em;text-transform:uppercase;margin-bottom:16px;font-size:12px;font-weight:700}.settings-field{margin-bottom:14px;display:block}.settings-field span{color:#a1a1aa;margin-bottom:7px;font-size:13px;display:block}.settings-field input{box-sizing:border-box;color:#f4f4f5;width:100%;font:inherit;background:#0b0d10;border:1px solid #30343d;border-radius:7px;outline:none;padding:10px 12px}.settings-field input:focus{border-color:#6366f1}.settings-field input[readonly]{color:#a1a1aa;cursor:default}.settings-field input:not([readonly]){color:#f4f4f5}.settings-save-row{align-items:center;gap:12px;margin-top:18px;display:flex}.settings-primary-button,.settings-secondary-button,.settings-danger-button{cursor:pointer;font:inherit;border-radius:7px;padding:9px 14px}.settings-primary-button{color:#111318;background:#f4f4f5;border:1px solid #3f4652}.settings-secondary-button{color:#f4f4f5;background:#1b1e24;border:1px solid #3f4652}.settings-danger-button{color:#fca5a5;background:#7f1d1d38;border:1px solid #f8717166}.settings-primary-button:hover:not(:disabled){background:#fff}.settings-secondary-button:hover:not(:disabled){background:#252932}.settings-danger-button:hover:not(:disabled){background:#7f1d1d61}.settings-primary-button:disabled,.settings-secondary-button:disabled,.settings-danger-button:disabled{opacity:.55;cursor:not-allowed}.settings-saved{color:#86efac;font-size:13px}.settings-error{color:#fca5a5;background:#7f1d1d38;border:1px solid #f871714d;border-radius:7px;margin-bottom:18px;padding:10px 12px;font-size:13px}.settings-message{color:#a1a1aa;padding:32px 24px}.github-connected-card{flex-direction:column;gap:12px;display:flex}.github-status-card{background:#0c0e12;border:1px solid #292d35;border-radius:9px;justify-content:space-between;align-items:center;gap:20px;padding:16px;display:flex}.github-disconnected-card{align-items:center}.github-status-title{align-items:center;gap:8px;font-size:14px;font-weight:600;display:flex}.status-dot{background:#4ade80;border-radius:50%;width:8px;height:8px}.github-username{color:#d4d4d8;margin-top:5px;font-size:13px}.github-note{color:#71717a;max-width:430px;margin-top:6px;font-size:12px;line-height:1.5}.github-add-section{background:#ffffff05;border:1px solid #292d35;border-radius:9px;justify-content:space-between;align-items:center;gap:20px;padding:14px 16px;display:flex}.github-add-title{color:#d4d4d8;font-size:13px;font-weight:600}@media (width<=600px){.settings-overlay{padding:12px}.settings-panel{max-height:calc(100vh - 24px)}.github-status-card,.github-add-section,.github-disconnected-card{flex-direction:column;align-items:flex-start}}:root{--app-bg:#111214;--surface:#18191c;--surface-raised:#202126;--surface-hover:#292b31;--border:#303238;--border-subtle:#25272c;--text:#e5e5e8;--muted:#92959d;--accent:#8b5cf6;--accent-hover:#9b72f8;--danger:#c95151;--danger-hover:#dc6262;--success:#54b989}.app{background:var(--app-bg);width:100%;height:100vh;min-height:0;color:var(--text);flex-direction:column;gap:12px;padding:14px;display:flex;overflow:hidden}.header{flex-shrink:0;justify-content:space-between;align-items:center;gap:16px;min-height:50px;padding:0 4px;display:flex}.header>div:first-child{min-width:0}.header h1{color:#f3f3f5;letter-spacing:-.03em;margin:0;font-size:22px;font-weight:650;line-height:1.2}.header p{color:var(--muted);margin:4px 0 0;font-size:12px}.header-actions{align-items:center;gap:8px;display:flex}button{border:1px solid var(--border);background:var(--surface-raised);color:var(--text);cursor:pointer;border-radius:7px;transition:background .14s,border-color .14s,transform 80ms,opacity .14s}button:hover:not(:disabled){background:var(--surface-hover);border-color:#454850}button:active:not(:disabled){transform:translateY(1px)}button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}button:disabled{cursor:not-allowed;opacity:.46}.header>button,.empty-state-actions button,.github-connect-banner button{padding:8px 13px;font-size:13px;font-weight:600}.header>button:first-of-type{background:var(--accent);border-color:var(--accent);color:#fff}.header>button:first-of-type:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover)}.workspace{border:1px solid var(--border);background:var(--surface);border-radius:10px;flex:1;grid-template-columns:minmax(260px,310px) minmax(0,1fr);min-height:0;display:grid;overflow:hidden;box-shadow:0 18px 50px #0000002e}.file-explorer{border-right:1px solid var(--border);background:#17181b;flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden}.explorer-section{border-bottom:1px solid var(--border);flex-direction:column;min-height:0;display:flex}.github-section{flex:0 32%;min-height:145px}.workspace-section{flex:auto;min-height:180px}.git-section{border-bottom:none;flex:0 25%;min-height:125px}.explorer-section:last-child{border-bottom:none}.file-panel-header{border-bottom:1px solid var(--border-subtle);color:#a8abb3;letter-spacing:.09em;background:#1b1c20;justify-content:space-between;align-items:center;height:38px;min-height:38px;padding:0 8px 0 12px;font-size:11px;font-weight:750;display:flex}.explorer-header-actions{align-items:center;gap:4px;display:flex}.small-action-button,.new-file-button,.file-action-button{color:#b9bbc1;background:0 0;border-color:#0000;justify-content:center;align-items:center;width:26px;height:26px;padding:0;font-size:16px;display:inline-flex}.small-action-button:hover:not(:disabled),.new-file-button:hover:not(:disabled),.file-action-button:hover:not(:disabled){color:#fff;background:#303239}.file-action-button.delete:hover:not(:disabled){color:#ffc0c4;background:#522a2d;border-color:#70363b}.github-section>:not(.file-panel-header),.workspace-section>:not(.file-panel-header),.git-section>:not(.file-panel-header){scrollbar-width:thin;scrollbar-color:#4a4d55 transparent;min-height:0;overflow-y:auto}.github-section>:not(.file-panel-header)::-webkit-scrollbar{width:8px;height:8px}.workspace-section>:not(.file-panel-header)::-webkit-scrollbar{width:8px;height:8px}.git-section>:not(.file-panel-header)::-webkit-scrollbar{width:8px;height:8px}.github-section>:not(.file-panel-header)::-webkit-scrollbar-thumb{background:#42454c padding-box padding-box;border:2px solid #0000;border-radius:8px}.workspace-section>:not(.file-panel-header)::-webkit-scrollbar-thumb{background:#42454c padding-box padding-box;border:2px solid #0000;border-radius:8px}.git-section>:not(.file-panel-header)::-webkit-scrollbar-thumb{background:#42454c padding-box padding-box;border:2px solid #0000;border-radius:8px}.github-connect-banner{border:1px solid var(--border);color:var(--muted);background:#1d1e22;border-radius:8px;flex-direction:column;gap:8px;margin:10px;padding:12px;font-size:12px;line-height:1.45;display:flex}.github-connect-banner strong{color:var(--text);font-size:13px}.github-connect-banner button{background:var(--accent);border-color:var(--accent);color:#fff;align-self:flex-start}.github-panel-content{padding:5px 0 8px}.github-account-row{color:#b9a4ff;border-bottom:1px solid var(--border-subtle);padding:7px 12px 9px;font-size:12px}.github-repository{border-bottom:1px solid var(--border-subtle)}.github-repository-header,.github-file-row{align-items:center;min-width:0;display:flex}.github-repository-header{padding:2px 6px 2px 7px}.github-repository-toggle,.github-file-item{color:#d7d8dc;text-align:left;background:0 0;border:none;border-radius:5px;min-width:0;font-size:13px}.github-repository-toggle{text-overflow:ellipsis;white-space:nowrap;flex:1;padding:6px 5px;overflow:hidden}.github-file-item{text-overflow:ellipsis;white-space:nowrap;width:100%;padding:6px 8px 6px 28px;overflow:hidden}.github-repository-toggle:hover:not(:disabled),.github-file-item:hover:not(:disabled){color:#fff;background:#282a30}.repo-open-button{color:#c9cbd0;background:#25272c;border-radius:5px;margin-right:2px;padding:4px 8px;font-size:11px}.github-repository-description{color:#777b84;white-space:nowrap;text-overflow:ellipsis;padding:0 10px 7px 28px;font-size:11px;overflow:hidden}.github-directory-children{padding-left:14px}.explorer-message,.explorer-error,.empty-files{color:#81848b;margin:0;padding:10px 12px;font-size:12px;line-height:1.4}.explorer-error{color:#e18b8b}.file-list{padding:5px}.workspace-file-row,.file-row{border-radius:5px;align-items:center;min-width:0;display:flex}.workspace-file-row:hover,.file-row:hover{background:#292b31}.workspace-file-row.selected,.file-row.selected{background:#32343c}.workspace-file-item,.file-item{color:#d9dade;text-align:left;background:0 0;border:none;border-radius:5px;flex:1;align-items:center;min-width:0;padding:6px 7px;font-size:13px;display:flex}.workspace-file-name,.file-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}.workspace-item-actions,.file-actions{opacity:0;align-items:center;gap:2px;padding-right:3px;transition:opacity .12s;display:flex}.workspace-file-row:hover .workspace-item-actions,.workspace-file-row.selected .workspace-item-actions,.file-row:hover .file-actions,.file-row.selected .file-actions{opacity:1}.workspace-directory-children{padding-left:15px}.git-status-summary,.git-change-list,.git-actions,.git-diff-output{padding-left:12px;padding-right:12px}.git-status-summary{color:#b8bac0;padding-top:9px;font-size:12px;line-height:1.65}.git-change-list{color:#aeb0b7;padding-top:7px;padding-bottom:7px;font-size:12px}.git-change-list code{color:#d9c8ff;background:#292b31;border-radius:3px;padding:1px 4px}.git-actions{padding-top:8px;padding-bottom:10px}.git-actions button{width:100%;padding:7px 10px;font-size:12px;font-weight:650}.git-actions button:not(:disabled){background:var(--accent);border-color:var(--accent);color:#fff}.git-actions button:not(:disabled):hover{background:var(--accent-hover);border-color:var(--accent-hover)}.git-diff-output{color:#bfc1c7;white-space:pre-wrap;margin:0;padding-top:8px;padding-bottom:12px;font:11px/1.45 ui-monospace,Consolas,monospace}.editor-terminal{grid-template-rows:minmax(0,62%) minmax(0,38%);min-width:0;min-height:0;display:grid}.editor-section,.terminal-section{flex-direction:column;min-width:0;min-height:0;display:flex}.editor-section{background:#1e1f23}.editor-header{border-bottom:1px solid var(--border);color:#d5d6da;background:#202126;justify-content:space-between;align-items:center;gap:12px;height:42px;min-height:42px;padding:0 10px 0 14px;font-size:13px;display:flex}.editor-header>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.editor-actions{flex-shrink:0;align-items:center;gap:6px;display:flex}.editor-actions button{padding:6px 10px;font-size:12px;font-weight:600}.editor-actions button:not(.stop-button):last-child{background:var(--accent);border-color:var(--accent);color:#fff}.editor-actions .stop-button{color:#fff;background:#742f33;border-color:#8d393e}.editor-actions .stop-button:hover:not(:disabled){background:#8a383d}.editor{flex:1;min-height:0;overflow:hidden}.editor-message{color:#777b84;text-align:center;justify-content:center;align-items:center;height:100%;padding:20px;font-size:13px;display:flex}.terminal-section{border-top:1px solid var(--border);background:#151619}.panel-title{color:#92959d;letter-spacing:.1em;border-bottom:1px solid var(--border-subtle);background:#1b1c20;align-items:center;height:32px;min-height:32px;padding:0 12px;font-size:10px;font-weight:750;display:flex}.terminal{text-align:left;flex:1;width:100%;min-height:0;padding:8px;overflow:hidden}.terminal .xterm{text-align:left;width:100%;height:100%}.terminal .xterm-viewport,.terminal .xterm-screen{text-align:left}.empty-state{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;min-height:0;display:flex}.empty-state h2{color:#ececef;margin:0 0 8px;font-size:22px}.empty-state p{color:var(--muted);margin:0 0 16px;font-size:14px}.empty-state-actions{gap:8px;display:flex}@media (width<=900px){.app{padding:8px}.workspace{grid-template-columns:minmax(220px,270px) minmax(0,1fr)}}@media (width<=700px){body{overflow:auto}.app{height:auto;min-height:100vh;overflow:visible}.header{flex-wrap:wrap;align-items:flex-start}.workspace{border-radius:7px;grid-template-columns:210px minmax(0,1fr);height:calc(100vh - 90px);min-height:620px}.workspace-item-actions,.file-actions{opacity:1}}.login-screen,.auth-loading,.account-status-screen{box-sizing:border-box;justify-content:center;align-items:center;width:100%;min-height:100dvh;padding:24px;display:flex}.login-screen,.account-status-screen{background:radial-gradient(circle at top,#5b7aff29,#0000 42%),#0b0f19}.login-card,.account-status-card{box-sizing:border-box;background:#141a27f5;border:1px solid #ffffff1a;border-radius:18px;width:min(100%,430px);padding:42px;box-shadow:0 24px 70px #00000059}.login-brand,.account-status-card{text-align:center}.login-brand-mark{color:#fff;background:#6d7cff;border-radius:14px;place-items:center;width:52px;height:52px;margin:0 auto 18px;font-size:24px;font-weight:800;display:grid}.login-brand h1{color:#fff;margin:0;font-size:28px}.login-brand p{color:#ffffffa3;margin:10px 0 0;line-height:1.5}.login-divider{background:#ffffff1a;height:1px;margin:32px 0}.login-form-title{color:#fff;margin:0 0 22px;font-size:20px}.login-form{gap:16px;display:grid}.login-field{color:#ffffffc7;gap:7px;font-size:14px;display:grid}.login-field input{color:#fff;width:100%;min-height:46px;font:inherit;box-sizing:border-box;background:#ffffff0d;border:1px solid #ffffff24;border-radius:9px;outline:none;padding:10px 12px}.login-field input:focus{border-color:#6d7cff;box-shadow:0 0 0 3px #6d7cff24}.login-submit-button{color:#fff;width:100%;min-height:48px;font:inherit;cursor:pointer;background:#6d7cff;border:0;border-radius:10px;font-weight:700}.login-submit-button:disabled{opacity:.65;cursor:wait}.login-actions{text-align:center;color:#ffffffa3;margin-top:22px;font-size:14px}.login-actions p{margin:12px 0 0}.login-actions button{color:#9da8ff;font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.login-error,.login-message{margin:0;font-size:14px;line-height:1.45}.login-error{color:#ff9a9a}.login-message{color:#a8e6bb}.account-status-card h1{color:#fff;margin:0 0 14px;font-size:24px}.account-status-card p{color:#ffffffad;line-height:1.55}.account-status-card button{color:#fff;font:inherit;cursor:pointer;background:0 0;border:1px solid #ffffff29;border-radius:9px;margin-top:16px;padding:10px 16px}.auth-loading{color:#ffffffc7;background:#0b0f19}.auth-loading-card{background:#141a27f5;border:1px solid #ffffff1a;border-radius:12px;padding:18px 22px}
