:root{--bg-main:#fff;--bg-sidebar:#f3f3f3;--bg-activitybar:#2c2c2c;--bg-editor:#fff;--bg-panel:#f3f3f3;--bg-titlebar:#ddd;--bg-statusbar:#007acc;--bg-tab:#ececec;--bg-tab-active:#fff;--bg-tab-hover:#e8e8e8;--border-color:#e0e0e0;--text-primary:#333;--text-secondary:#6e6e6e;--text-muted:#999;--accent:#007acc;--icon-color:#858585;--icon-active:#fff;--fg-error:#b5250e;--fg-success:#1a7f37;--fg-info:#0a5aa8;--fg-warning:#8a5300;--fg-symbol:#0b6fa4;--fg-dirty:#9a5b00;--fg-annotation:#24713a;--fg-danger:#b3261e;--fg-exception:#c42b1c;--glyph-current:#b58900;--bg-current-line:#b5890042;--bg-hover:#0000000f;--bg-hover-strong:#00000017;--bg-selected:#007acc29;--bg-danger-soft:#dc354524;--border-subtle:#00000024;--border-faint:#00000014;--focus-ring:#0a5aa8;--bg-input:#fff;--bg-checker:#f0f0f0;--bg-checker-alt:#dcdcdc;--shadow-strong:#0000002e;--font-mono:"SF Mono", "Cascadia Code", "Fira Code", Consolas, "Courier New", monospace;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}.dark-theme{--bg-main:#1e1e1e;--bg-sidebar:#252526;--bg-activitybar:#333;--bg-editor:#1e1e1e;--bg-panel:#1e1e1e;--bg-titlebar:#3c3c3c;--bg-statusbar:#007acc;--bg-tab:#2d2d2d;--bg-tab-active:#1e1e1e;--bg-tab-hover:#383838;--border-color:#3c3c3c;--text-primary:#ccc;--text-secondary:#969696;--text-muted:#6e6e6e;--accent:#007acc;--icon-color:#858585;--icon-active:#fff;--fg-error:#f48771;--fg-success:#89d185;--fg-info:#75beff;--fg-warning:#ce9178;--fg-symbol:#9cdcfe;--fg-dirty:#e8ab6a;--fg-annotation:#6a9955;--fg-danger:#ff6b6b;--fg-exception:#f14c4c;--glyph-current:#fc0;--bg-current-line:#ffc10738;--bg-hover:#ffffff0f;--bg-hover-strong:#ffffff1a;--bg-selected:#ffffff1f;--bg-danger-soft:#dc354533;--border-subtle:#ffffff1f;--border-faint:#ffffff12;--focus-ring:#75beff;--bg-input:#3c3c3c;--bg-checker:#2a2a2a;--bg-checker-alt:#333;--shadow-strong:#00000073;--font-mono:"SF Mono", "Cascadia Code", "Fira Code", Consolas, "Courier New", monospace;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.hc-theme{--bg-main:#000;--bg-sidebar:#000;--bg-activitybar:#000;--bg-editor:#000;--bg-panel:#000;--bg-titlebar:#000;--bg-statusbar:#000;--bg-tab:#000;--bg-tab-active:#000;--bg-tab-hover:#1a1a1a;--border-color:#fff;--text-primary:#fff;--text-secondary:#fff;--text-muted:#d4d4d4;--accent:#1aebff;--icon-color:#fff;--icon-active:#1aebff;--fg-error:#ff8a80;--fg-success:#7ee787;--fg-info:#79c0ff;--fg-warning:#ffd479;--fg-symbol:#9cdcfe;--fg-dirty:#ffd479;--fg-annotation:#7ee787;--fg-danger:#ff8a80;--fg-exception:#ff8a80;--glyph-current:#ff0;--bg-current-line:#ffff0057;--bg-hover:#ffffff38;--bg-hover-strong:#ffffff52;--bg-selected:#1aebff4d;--bg-danger-soft:#ff8a804d;--border-subtle:#fff;--border-faint:#fff;--focus-ring:#ff0;--bg-input:#000;--bg-checker:#000;--bg-checker-alt:#3f3f3f;--shadow-strong:#000000e6;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.hc-theme :focus-visible{outline-offset:1px;outline:3px solid var(--focus-ring)!important}*{box-sizing:border-box}html,body{background:var(--bg-main);height:100%;color:var(--text-primary);margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;font-size:13px}#app{grid-template:"activitybar titlebar titlebar""activitybar sidebar main"1fr"statusbar statusbar statusbar"/48px 220px 1fr;height:100%;transition:grid-template-columns .15s;display:grid}#app:has(#sidebar.collapsed){grid-template-columns:48px 0 1fr}#titlebar{background:var(--bg-titlebar);border-bottom:1px solid var(--border-color);grid-area:titlebar;align-items:center;gap:12px;height:35px;padding:0 12px;display:flex}#titlebar .logo{align-items:center;gap:6px;font-size:13px;font-weight:600;display:flex}#titlebar .controls{align-items:center;gap:14px;margin-left:auto;display:flex}#titlebar .do-group{background:var(--bg-sidebar);border:1px solid var(--border-color);border-radius:7px;align-items:center;gap:5px;padding:3px;display:flex}#titlebar .set-group{align-items:center;gap:5px;display:flex}#titlebar .btn-primary{background:var(--accent);color:#fff;font-weight:600}#titlebar .more{position:relative}#titlebar #more-toggle{min-width:30px;padding:0 8px;font-size:15px;line-height:1}.more-menu{top:39px;z-index:60;background:var(--bg-panel,#252526);border:1px solid var(--border-color,#3c3c3c);border-radius:8px;flex-direction:column;gap:2px;min-width:232px;padding:6px;display:flex;position:fixed;inset-inline-end:8px;box-shadow:0 10px 30px -10px #0009}.more-menu[hidden]{display:none}.more-menu-head{color:var(--text-secondary,#999);border-bottom:1px solid var(--border-color,#3c3c3c);justify-content:space-between;align-items:center;margin-bottom:3px;padding:2px 4px 5px 9px;font-size:12px;display:flex}.more-menu-close{color:inherit;cursor:pointer;background:0 0;border:0;border-radius:4px;width:26px;font-size:17px;line-height:22px}.more-menu-close:hover{background:var(--bg-hover-strong,#3a3a3a);color:var(--text-primary)}.more-item{width:100%;color:var(--text-primary,#ddd);font:inherit;text-align:start;cursor:pointer;background:0 0;border:none;border-radius:5px;align-items:center;gap:9px;padding:7px 9px;font-size:12.5px;display:flex}.more-item:hover{background:var(--bg-hover-strong,#3a3a3a)}.more-item:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.more-item-danger{color:#f0999a}.more-item-danger:hover{color:#fff;background:#c62828}.more-sep{background:var(--border-color,#3c3c3c);height:1px;margin:5px 4px}.more-field{color:var(--text-secondary,#999);justify-content:space-between;align-items:center;gap:10px;padding:5px 9px;font-size:12.5px;display:flex}.more-field select{min-width:108px}@media (width<=1080px){#titlebar .do-group .btn span[data-i18n]{display:none}#titlebar .do-group .btn{padding:0 8px}}#titlebar select{background:var(--bg-sidebar);height:24px;color:var(--text-primary);border:1px solid var(--border-color);border-radius:3px;padding:0 6px;font-size:12px}#titlebar .btn{background:var(--accent);color:#fff;cursor:pointer;border:none;border-radius:3px;height:26px;padding:0 10px;font-size:12px;font-weight:500}#titlebar .btn:hover{opacity:.9}#titlebar .btn:disabled{opacity:.6;cursor:not-allowed;pointer-events:none}#titlebar .btn .btn-spinner{vertical-align:-1px;border:2px solid #ffffff59;border-top-color:#fff;border-radius:50%;width:11px;height:11px;margin-right:5px;animation:.7s linear infinite btnSpin;display:inline-block}@keyframes btnSpin{to{transform:rotate(360deg)}}#titlebar .btn-secondary{color:var(--text-primary);border:1px solid var(--border-color);background:0 0}#titlebar .btn-secondary:hover{background:var(--bg-tab-hover)}#titlebar .btn-stop{color:#fff;background:#c62828;border:1px solid #c62828}#titlebar .btn-stop:hover:not(:disabled){background:#e53935;border-color:#e53935}#titlebar .btn-stop:disabled{opacity:.6;cursor:default}#titlebar .btn-stop[hidden]{display:none}#titlebar .btn-danger{color:var(--text-primary);border:1px solid var(--border-color);background:0 0}#titlebar .btn-danger:hover{color:#fff;background:#dc3545;border-color:#dc3545}#titlebar .btn-hack{color:#fff;background:linear-gradient(135deg,#10b981,#059669);border:none;font-weight:600;animation:2s ease-in-out infinite hackPulse}#titlebar .btn-hack:hover{background:linear-gradient(135deg,#059669,#047857);transform:scale(1.05)}@keyframes hackPulse{0%,to{box-shadow:0 0 #10b98166}50%{box-shadow:0 0 0 4px #10b98100}}.titlebar-separator{background:var(--border-color);width:1px;height:20px;margin:0 8px}#activitybar{background:var(--bg-activitybar);flex-direction:column;grid-area:activitybar;align-items:center;gap:4px;padding:8px 0;display:flex}.activity-icon{cursor:pointer;width:48px;height:42px;color:var(--icon-color);border-left:2px solid #0000;justify-content:center;align-items:center;transition:color .15s;display:flex}.activity-icon:hover{color:var(--icon-active)}.activity-icon.active{color:var(--icon-active);border-left-color:var(--icon-active)}.activity-icon svg{width:24px;height:24px}.activity-spacer{flex:1}#sidebar{background:var(--bg-sidebar);border-right:1px solid var(--border-color);flex-direction:column;grid-area:sidebar;min-width:150px;max-width:500px;display:flex;position:relative;overflow:hidden}#sidebar.collapsed{display:none}#sidebar-resize{cursor:ew-resize;z-index:10;width:6px;position:absolute;top:0;bottom:0;right:-3px}#sidebar-resize:hover{background:var(--accent)}.sidebar-header{text-transform:uppercase;letter-spacing:.5px;height:35px;color:var(--text-secondary);border-bottom:1px solid var(--border-color);align-items:center;padding:0 8px 0 12px;font-size:11px;font-weight:600;display:flex}.sidebar-header span{flex:1}.sidebar-actions{align-items:center;gap:2px;display:flex}.sidebar-separator{background:var(--border-color);width:1px;height:16px;margin:0 4px}.sidebar-btn{width:22px;height:22px;color:var(--text-secondary);cursor:pointer;background:0 0;border:none;border-radius:3px;justify-content:center;align-items:center;font-size:14px;display:flex}.sidebar-btn:hover{background:var(--bg-tab-hover);color:var(--text-primary)}.sidebar-btn.danger:hover{background:var(--bg-danger-soft);color:var(--fg-danger)}.sidebar-content{flex:1;padding:4px 0;overflow:auto}.sidebar-panel{flex-direction:column;height:100%;display:none}.sidebar-panel.active{display:flex}.file-tree{-webkit-user-select:none;user-select:none;min-height:100%;padding-bottom:24px;font-size:13px}.file-tree.root-drop-target{box-shadow:inset 0 0 0 2px var(--accent);background:#007acc1f;border-radius:4px}.tree-item{cursor:pointer;color:var(--text-primary);border-radius:3px;align-items:center;gap:4px;margin:0 4px;padding:3px 8px;display:flex}.tree-item:hover{background:var(--bg-tab-hover)}.tree-item.active{background:var(--accent);color:#fff}.tree-item.selected{background:#007acc40}.tree-item.drop-above,.tree-item.drop-below{position:relative}.tree-item.drop-above:after,.tree-item.drop-below:after{content:"";background:var(--accent);pointer-events:none;height:2px;position:absolute;left:4px;right:4px}.tree-item.drop-above:after{top:-1px}.tree-item.drop-below:after{bottom:-1px}.tree-item:focus-visible,#panel-content:focus-visible{outline:2px solid var(--focus-ring);outline-offset:-2px}.tree-item.dragging{opacity:.5}.tree-item.drop-target{outline:1px solid var(--accent);outline-offset:-1px;background:#007acc4d}.tree-item-chevron{width:16px;height:16px;color:var(--text-muted);justify-content:center;align-items:center;font-size:10px;transition:transform .1s;display:flex}.tree-item-chevron.expanded{transform:rotate(90deg)}.tree-item-icon{flex-shrink:0;font-size:14px}.tree-item-name{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.tree-item-badge{background:var(--accent);color:#fff;border-radius:8px;padding:1px 5px;font-size:10px}.tree-item-input{background:var(--bg-editor);color:var(--text-primary);border:1px solid var(--accent);border-radius:2px;outline:none;flex:1;padding:1px 4px;font-size:12px}.tree-children{margin-left:12px}.tree-empty{color:var(--text-muted);padding:8px 16px;font-size:12px;font-style:italic}.search-panel{flex-direction:column;height:100%;display:none}.search-panel.active{display:flex}.search-inputs{border-bottom:1px solid var(--border-color);padding:8px}.search-row{flex-wrap:wrap;align-items:center;gap:4px;margin-bottom:6px;display:flex}.search-row:last-child{margin-bottom:0}.search-input{background:var(--bg-editor);min-width:0;height:26px;color:var(--text-primary);border:1px solid var(--border-color);border-radius:3px;outline:none;flex:100%;padding:0 8px;font-size:12px}.search-btn{flex:none}.search-input:focus{border-color:var(--accent)}.search-input::placeholder{color:var(--text-muted)}.search-btn{border:1px solid var(--border-color);width:26px;height:26px;color:var(--text-secondary);cursor:pointer;background:0 0;border-radius:3px;justify-content:center;align-items:center;font-size:11px;display:flex}.search-btn:hover{background:var(--bg-tab-hover);color:var(--text-primary)}.search-btn.active,.search-btn.primary{background:var(--accent);color:#fff;border-color:var(--accent)}.search-btn.primary:hover{opacity:.9}.search-options{color:var(--text-secondary);gap:8px;padding:4px 0;font-size:11px;display:flex}.search-option{cursor:pointer;align-items:center;gap:4px;display:flex}.search-option input{margin:0}.search-summary{color:var(--text-secondary);border-bottom:1px solid var(--border-color);justify-content:space-between;align-items:center;padding:6px 8px;font-size:11px;display:flex}.search-results{flex:1;padding:4px 0;overflow-y:auto}.search-file{color:var(--text-secondary);cursor:pointer;align-items:center;gap:6px;padding:4px 8px;font-size:12px;display:flex}.search-file:hover{background:var(--bg-tab-hover)}.search-file-icon{font-size:14px}.search-file-name{color:var(--text-primary);flex:1;font-weight:500}.search-file-count{background:var(--bg-tab);border-radius:8px;padding:1px 5px;font-size:10px}.search-match{cursor:pointer;align-items:center;gap:4px;padding:2px 8px 2px 28px;font-family:SF Mono,Cascadia Code,Consolas,monospace;font-size:12px;display:flex}.search-match:hover{background:var(--bg-tab-hover)}.search-match-line{color:var(--text-muted);text-align:right;min-width:30px;margin-right:8px;font-size:11px}.search-match-text{white-space:nowrap;text-overflow:ellipsis;flex:1;overflow:hidden}.search-match-highlight{background:#ffc80066;border-radius:2px;padding:0 2px}.search-match-actions{opacity:0;gap:2px;display:flex}.search-match:hover .search-match-actions{opacity:1}.search-match-btn{width:18px;height:18px;color:var(--text-muted);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;font-size:11px;display:flex}.search-match-btn:hover{color:var(--text-primary)}.search-no-results{text-align:center;color:var(--text-muted);padding:16px;font-size:12px}.search-highlight-match{border:1px solid #ffc800cc;border-radius:2px;background-color:#ffc80066!important}.run-section{margin-bottom:8px}.run-section-header{color:var(--text-secondary);text-transform:uppercase;letter-spacing:.5px;padding:6px 12px;font-size:11px;font-weight:600}.run-item{cursor:pointer;color:var(--text-primary);border-radius:3px;align-items:center;gap:8px;margin:0 4px;padding:6px 12px;font-size:12px;display:flex}.run-item:hover{background:var(--bg-tab-hover)}.run-item-icon{text-align:center;width:16px;color:var(--accent)}.run-item-name{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.run-item-shortcut{color:var(--text-muted);background:var(--bg-tab);border-radius:3px;padding:2px 6px;font-size:10px}.run-item-type{color:var(--text-muted);font-size:10px;font-style:italic}.run-item.running{background:#007acc33}.run-item .run-btn{background:var(--accent);color:#fff;cursor:pointer;opacity:0;border:none;border-radius:3px;justify-content:center;align-items:center;width:20px;height:20px;font-size:10px;transition:opacity .1s;display:flex}.run-item:hover .run-btn{opacity:1}.run-item .run-btn:hover{background:#005a9e}.run-item-type{color:var(--fg-annotation);margin-left:auto;margin-right:8px;font-size:10px;font-style:italic}.run-item-container{margin:0 4px}.run-item-args{align-items:center;gap:6px;padding:4px 12px 8px 36px;font-size:11px;display:flex}.run-item-args-label{color:var(--text-muted);white-space:nowrap}.run-item-args-input{background:var(--bg-input);border:1px solid var(--border-color);color:var(--text-primary);font-size:11px;font-family:var(--font-mono);border-radius:3px;flex:1;padding:4px 8px}.run-item-args-input:focus{border-color:var(--accent);outline:none}.run-item-args-input::placeholder{color:var(--text-muted);opacity:.6}.run-item-params{color:var(--text-muted);font-size:10px;font-family:var(--font-mono);margin-top:-2px;margin-bottom:4px;padding:0 12px 0 36px}.context-menu{z-index:1000;background:var(--bg-sidebar);border:1px solid var(--border-color);border-radius:4px;min-width:160px;padding:4px 0;position:fixed;box-shadow:0 4px 12px #0000004d}.context-menu-item{cursor:pointer;color:var(--text-primary);align-items:center;gap:8px;padding:6px 12px;font-size:12px;display:flex}.context-menu-item:hover{background:var(--accent);color:#fff}.context-menu-item.danger:hover{background:#c42b1c}.context-menu-separator{background:var(--border-color);height:1px;margin:4px 0}.keyword-help-popup{z-index:1000;background:var(--bg-sidebar);color:var(--text-primary);border:1px solid var(--border-color);border-radius:6px;min-width:260px;max-width:420px;padding:10px 12px;position:fixed;box-shadow:0 4px 16px #00000059}.kw-help-header{justify-content:space-between;align-items:center;margin-bottom:6px;display:flex}.kw-help-title-group{align-items:center;gap:8px;min-width:0;display:flex}.kw-help-title{color:var(--accent);font-family:SF Mono,Cascadia Code,Fira Code,Consolas,monospace;font-size:13px;font-weight:600}.kw-help-tag{text-transform:uppercase;letter-spacing:.4px;color:var(--accent);background:color-mix(in srgb, var(--accent) 15%, transparent);border:1px solid color-mix(in srgb, var(--accent) 35%, transparent);white-space:nowrap;border-radius:10px;padding:2px 8px;font-size:10px;font-weight:600}.kw-help-close{color:var(--text-secondary);cursor:pointer;background:0 0;border:none;border-radius:3px;padding:2px 4px;font-size:12px;line-height:1}.kw-help-close:hover{background:var(--bg-tab-hover);color:var(--text-primary)}.kw-help-desc{color:var(--text-primary);margin-bottom:8px;font-size:12px;line-height:1.5}.kw-help-desc-rtl{text-align:right;unicode-bidi:plaintext;font-family:Segoe UI,Tahoma,Arial,sans-serif}.kw-help-tag-rtl{text-transform:none;letter-spacing:0}.kw-help-example-label-rtl{text-align:right}.kw-help-example-label{text-transform:uppercase;letter-spacing:.5px;color:var(--text-secondary);margin-bottom:4px;font-size:10px;font-weight:600}.kw-help-code{background:var(--bg-panel);border:1px solid var(--border-color);white-space:pre-wrap;color:var(--text-primary);border-radius:4px;max-height:200px;margin:0;padding:8px;font-family:SF Mono,Cascadia Code,Fira Code,Consolas,monospace;font-size:12px;line-height:1.5;overflow:auto}.monaco-hover .markdown-hover h2{margin:4px 0 10px;font-size:18px;line-height:1.35}.monaco-hover .markdown-hover h3{margin:12px 0 5px;font-size:14px;line-height:1.35}html[lang=he] .monaco-hover .markdown-hover{text-align:right;direction:rtl;unicode-bidi:plaintext;font-family:Segoe UI,Tahoma,Arial,sans-serif}.monaco-hover .markdown-hover pre,.monaco-hover .markdown-hover div[data-code],.monaco-hover .markdown-hover div[data-code]>span{text-align:left;direction:ltr;unicode-bidi:isolate}#main{background:var(--bg-editor);flex-direction:column;grid-area:main;display:flex;overflow:hidden}#tabs{background:var(--bg-tab);border-bottom:1px solid var(--border-color);scrollbar-width:thin;align-items:flex-end;height:35px;display:flex;overflow-x:auto}#tabs::-webkit-scrollbar{height:3px}#tabs::-webkit-scrollbar-thumb{background:var(--text-muted);border-radius:2px}.tab{background:var(--bg-tab);border-right:1px solid var(--border-color);cursor:pointer;color:var(--text-secondary);white-space:nowrap;align-items:center;gap:6px;min-width:100px;max-width:180px;padding:8px 10px;font-size:12px;display:flex}.tab:hover{background:var(--bg-tab-hover)}.tab-active{background:var(--bg-tab-active);color:var(--text-primary);border-bottom:1px solid var(--bg-tab-active);margin-bottom:-1px}.tab-icon{flex-shrink:0;font-size:14px}.tab-name{text-overflow:ellipsis;flex:1;overflow:hidden}.tab-dirty{color:var(--fg-dirty);margin-left:-2px;font-size:16px;line-height:1}.tab-close{cursor:pointer;width:18px;height:18px;color:var(--text-muted);opacity:0;background:0 0;border:none;border-radius:3px;flex-shrink:0;justify-content:center;align-items:center;font-size:14px;display:flex}.tab:hover .tab-close{opacity:1}.tab-close:hover{background:var(--bg-danger-soft);color:var(--fg-danger)}.tab-add{cursor:pointer;width:32px;height:35px;color:var(--text-muted);background:0 0;border:none;justify-content:center;align-items:center;font-size:16px;display:flex}.tab-add:hover{background:var(--bg-tab-hover);color:var(--text-primary)}.tab-rename-input{border:1px solid var(--accent);background:var(--bg-editor);width:100px;color:var(--text-primary);border-radius:2px;outline:none;padding:2px 4px;font-size:12px}#editor-container{flex-direction:column;flex:1;display:flex;position:relative;overflow:hidden}#editor{flex:auto;min-height:0;position:relative}#editor-empty-state{background:var(--bg-editor);z-index:10;justify-content:center;align-items:center;display:none;position:absolute;inset:0}#editor-empty-state.visible{display:flex}.empty-state-content{text-align:center;padding:40px}.empty-state-icon{opacity:.6;margin-bottom:16px;font-size:48px}.empty-state-title{color:var(--text-primary);margin-bottom:8px;font-size:18px;font-weight:500}.empty-state-subtitle{color:var(--text-secondary);margin-bottom:24px;font-size:13px}.empty-state-btn{background:var(--accent);color:#fff;cursor:pointer;border:none;border-radius:6px;align-items:center;gap:8px;padding:10px 20px;font-size:14px;font-weight:500;transition:all .15s;display:inline-flex}.empty-state-btn:hover{opacity:.9;transform:translateY(-1px)}.empty-state-btn .plus-icon{font-size:18px;font-weight:300}#panel{background:var(--bg-panel);border-top:1px solid var(--border-color);flex-direction:column;height:200px;min-height:100px;max-height:60vh;display:flex;position:relative}#panel.collapsed{height:35px;min-height:35px}#panel.collapsed #panel-content,#panel.collapsed #panel-resize{display:none}#panel-header{border-bottom:1px solid var(--border-color);background:var(--bg-tab);flex-shrink:0;align-items:center;height:35px;display:flex}.panel-tabs{height:100%;display:flex}.panel-tab{height:100%;color:var(--text-secondary);cursor:pointer;text-transform:uppercase;letter-spacing:.3px;border-bottom:2px solid #0000;align-items:center;gap:6px;padding:0 16px;font-size:12px;display:flex}.panel-tab:hover{color:var(--text-primary)}.panel-tab.active{color:var(--text-primary);border-bottom-color:var(--accent)}.panel-actions{align-items:center;gap:4px;margin-left:auto;padding-right:8px;display:flex}.panel-btn{width:24px;height:24px;color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:3px;justify-content:center;align-items:center;font-size:14px;display:flex}.panel-btn:hover{background:var(--bg-tab-hover);color:var(--text-primary)}#panel-content{white-space:pre-wrap;color:var(--text-primary);text-align:left;direction:ltr;flex:1;padding:8px 12px;font-family:SF Mono,Cascadia Code,Fira Code,Consolas,monospace;font-size:12px;line-height:1.5;overflow:auto}#command-palette,#quick-open{z-index:4000;background:#00000059;justify-content:center;align-items:flex-start;padding-top:12vh;display:flex;position:fixed;inset:0}.palette-box{background:var(--bg-panel,#252526);border:1px solid var(--border-subtle);border-radius:6px;width:min(620px,92vw);overflow:hidden;box-shadow:0 12px 32px #00000080}.palette-input{box-sizing:border-box;width:100%;color:var(--text-primary,#ddd);background:var(--bg-input);border:0;border-bottom:1px solid var(--border-subtle);outline:none;padding:10px 12px;font-size:14px}.palette-list{max-height:46vh;overflow-y:auto}.palette-row{cursor:pointer;justify-content:space-between;gap:12px;padding:7px 12px;font-size:13px;display:flex}.palette-row.selected{background:var(--bg-selected)}.palette-row.disabled{opacity:.45;cursor:default}.palette-note{color:var(--text-secondary);font-size:11px}.palette-empty{color:var(--text-secondary);padding:12px;font-size:13px}.palette-detail{color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;direction:ltr;margin-left:auto;font-size:11px;overflow:hidden}#debug-toolbar{background:var(--bg-panel,#252526);border-bottom:1px solid var(--border-color,#3c3c3c);flex:none;align-items:center;gap:12px;padding:6px 10px;display:flex}#debug-toolbar[hidden]{display:none}.debug-status{color:var(--text-primary,#ddd);white-space:nowrap;text-overflow:ellipsis;align-items:center;gap:7px;min-width:0;font-size:12px;font-weight:500;display:inline-flex;overflow:hidden}.debug-status:before{content:"";background:var(--text-secondary,#888);border-radius:50%;flex:none;width:8px;height:8px}.debug-status[data-state=paused]:before{background:#e3b341}.debug-status[data-state=running]:before{background:#4ec98a;animation:1.4s ease-in-out infinite debug-pulse}.debug-status[data-state=postMortem]:before{background:#e5534b}.debug-status[data-state=postMortem]{color:#f0999a}@keyframes debug-pulse{50%{opacity:.3}}@media (prefers-reduced-motion:reduce){.debug-status[data-state=running]:before{animation:none}}.debug-actions{align-items:center;gap:4px;margin-inline-start:auto;display:flex}.debug-btn{background:var(--bg-tab,#2d2d2d);border:1px solid var(--border-color,#3c3c3c);height:28px;color:var(--text-primary,#ddd);cursor:pointer;border-radius:5px;align-items:center;gap:6px;padding:0 11px;font-family:inherit;font-size:12px;transition:background .12s,border-color .12s;display:inline-flex}.debug-btn svg{fill:currentColor;flex:none}.debug-btn:hover:not(:disabled){background:var(--bg-hover-strong,#3a3a3a);border-color:var(--border-hover,#555)}.debug-btn:disabled{opacity:.4;cursor:default}.debug-btn:focus-visible{outline:2px solid var(--accent,#0a84ff);outline-offset:1px}@media (width<=900px){.debug-btn-label{display:none}.debug-btn{padding:0 8px}}#debug-panels{background:var(--bg-panel,#252526);border-top:1px solid var(--border-color,#3c3c3c);flex-direction:column;flex:none;max-height:34vh;font-size:12px;display:flex;overflow:hidden}#debug-panels[hidden]{display:none}.debug-panel-header{border-bottom:1px solid var(--border-color);background:var(--bg-tab);align-items:center;gap:10px;min-height:30px;padding:4px 8px 4px 10px;display:flex}.debug-panel-title{color:var(--text-primary);font-weight:600}.debug-panel-hint{color:var(--text-secondary);font-size:10px}.debug-panel-actions{gap:3px;margin-inline-start:auto;display:flex}.debug-panel-control{min-width:26px;height:24px;color:var(--text-secondary);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:4px;padding:0 6px;font-size:14px;line-height:1}.debug-panel-control:hover{background:var(--bg-hover-strong);color:var(--text-primary)}.debug-panel-control:focus-visible{outline:2px solid var(--accent);outline-offset:1px}#debug-panel-content{min-height:0;padding:4px 0;overflow:auto}#debug-panels.collapsed{max-height:none}#debug-panels.collapsed #debug-panel-content{display:none}.debug-section{text-transform:uppercase;letter-spacing:.5px;color:var(--text-secondary,#888);padding:3px 10px;font-size:10px}.debug-empty{color:var(--text-secondary,#888);padding:10px}.debug-var-row{direction:ltr;gap:8px;padding:2px 10px;display:flex}.debug-var-row:hover{background:var(--bg-hover)}.debug-var-row.debug-var-changed{background:#2ea06924;border-radius:3px}.debug-var-row.debug-var-changed .debug-var-value{color:#4ec98a}.debug-var-row.debug-var-new{background:#468cdc21;border-radius:3px}.debug-var-was{color:var(--text-secondary,#7a8797);text-overflow:ellipsis;white-space:nowrap;flex:0 30%;text-decoration:line-through;overflow:hidden}.debug-step-note{color:#4ec98a;padding:3px 10px 6px}.output-trace-line{width:max-content;max-width:100%;color:inherit;font:inherit;text-align:left;white-space:pre-wrap;cursor:pointer;background:0 0;border:0;border-radius:3px;margin:0;padding:0 3px;display:block}.output-trace-line:hover,.output-trace-line:focus-visible{background:#007acc33;outline:none}.output-trace-badge{color:#6cb6ff}.output-trace-code-line{background:#3a96dd2e}.error-first-aid{color:#fff;font:inherit;cursor:pointer;background:#0e639c;border:1px solid #3b8ed0;border-radius:4px;padding:5px 10px}.error-first-aid:hover:not(:disabled){background:#17b}.error-first-aid:disabled{opacity:.7;cursor:default}.debug-history{border-top:1px solid var(--border-color);min-width:0;padding:4px 8px 8px}.debug-history-guide{color:var(--text-secondary);margin:0 2px 6px;font-size:10px}.debug-history-row{grid-template-columns:86px minmax(0,1fr);align-items:center;gap:8px;min-width:0;margin:4px 0;display:grid}.debug-history-row>.debug-var-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.debug-history-cells{gap:3px;min-width:0;padding:2px;display:flex;overflow-x:auto}.debug-history-cell{border:1px solid var(--border-color);background:var(--bg-input);color:var(--text-primary);min-width:27px;max-width:140px;height:24px;font:11px var(--font-mono);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;border-radius:3px;flex:none;padding:0 7px;overflow:hidden}.debug-history-cell.active{border-color:var(--accent);background:#007acc47}.debug-history-cell.future{opacity:.42}.debug-history-cell.unchanged{color:var(--text-secondary);min-width:27px;padding:0 5px}.debug-var-name{color:var(--fg-symbol);text-overflow:ellipsis;white-space:nowrap;flex:0 auto;max-width:160px;overflow:hidden}.debug-var-value{color:var(--text-primary,#ddd);text-overflow:ellipsis;white-space:nowrap;flex:auto;overflow:hidden}.debug-var-type{color:var(--text-secondary,#777);flex:none;font-size:10px}.debug-exception{border-left:3px solid var(--fg-exception);color:var(--fg-error);direction:ltr;background:#f14c4c1a;margin:4px 10px;padding:6px 8px}.debug-breakpoint-glyph:before{content:"";background:#e51400;border-radius:50%;width:11px;height:11px;margin:3px 0 0 4px;display:block}.debug-breakpoint-conditional:before{background:0 0;border:2px solid #e51400;width:7px;height:7px}.debug-logpoint-glyph:before{content:"";width:10px;height:10px;box-shadow:0 0 0 1px var(--text-primary);background:#4da3ff;border-radius:2px;position:absolute;top:5px;left:5px;transform:rotate(45deg)}.debug-current-glyph:before{content:"▶";color:var(--glyph-current);margin-left:3px;font-size:11px}.debug-exception-glyph:before{content:"⚠";color:var(--fg-exception);margin-left:3px;font-size:11px}.debug-current-line{background:var(--bg-current-line);box-shadow:inset 3px 0 0 var(--glyph-current)}#asset-viewer{background:var(--bg-editor,#1e1e1e);z-index:5;justify-content:center;align-items:center;padding:24px;display:flex;position:absolute;inset:0;overflow:auto}#asset-viewer[hidden]{display:none}.asset-panel{flex-direction:column;align-items:center;gap:14px;max-width:100%;display:flex}.asset-image{object-fit:contain;background-color:var(--bg-checker);background-image:linear-gradient(45deg, var(--bg-checker-alt) 25%, transparent 25%, transparent 75%, var(--bg-checker-alt) 75%), linear-gradient(45deg, var(--bg-checker-alt) 25%, transparent 25%, transparent 75%, var(--bg-checker-alt) 75%);max-width:min(100%,900px);max-height:55vh;box-shadow:0 6px 24px var(--shadow-strong);background-position:0 0,8px 8px;background-size:16px 16px;border-radius:6px}.asset-unavailable{text-align:center;max-width:460px;color:var(--text-secondary,#999);font-size:13px;line-height:1.6}.asset-meta{grid-template-columns:auto auto;gap:3px 14px;font-size:12px;display:grid}.asset-meta-key{color:var(--text-secondary,#888)}.asset-meta-value{color:var(--text-primary,#ddd);word-break:break-all;direction:ltr}.asset-hint{color:var(--text-secondary,#777);text-align:center;direction:ltr;font-size:11px}#breadcrumbs{white-space:nowrap;background:var(--bg-panel,#252526);border-bottom:1px solid var(--border-faint);scrollbar-width:none;direction:ltr;flex:none;align-items:center;gap:2px;padding:3px 10px;font-size:11px;display:flex;overflow-x:auto}#breadcrumbs::-webkit-scrollbar{height:0}#breadcrumbs[hidden]{display:none}.breadcrumb-segment{font:inherit;color:var(--text-secondary,#999);background:0 0;border:0;border-radius:3px;padding:1px 4px}button.breadcrumb-segment{cursor:pointer}button.breadcrumb-segment:hover{background:var(--bg-hover);color:var(--text-primary)}button.breadcrumb-segment:focus-visible{outline:1px solid var(--focus-ring);outline-offset:-1px}.breadcrumb-file{color:var(--text-primary,#ddd)}.breadcrumb-symbol{color:var(--fg-symbol)}.breadcrumb-separator{color:var(--text-muted)}#problems-content{flex:1;padding:6px 0;font-size:12px;overflow-y:auto}#problems-content.visible{display:block}.problems-empty{color:var(--text-secondary);padding:10px 14px}.problem-file{color:var(--text-secondary);background:var(--bg-panel,#1e1e1e);padding:4px 14px;font-weight:600;position:sticky;top:0}.problem-row{cursor:pointer;align-items:baseline;gap:8px;padding:3px 14px 3px 28px;display:flex}.problem-row:hover{background:var(--bg-hover)}.problem-row:focus-visible{outline:1px solid var(--focus-ring);outline-offset:-1px}.problem-icon{flex:none}.problem-row.severity-error .problem-icon{color:var(--fg-error)}.problem-row.severity-warning .problem-icon{color:var(--fg-warning)}.problem-row.severity-info .problem-icon{color:var(--fg-info)}.problem-message{flex:auto}.problem-location{color:var(--text-secondary);font-variant-numeric:tabular-nums;flex:none}.problem-source{color:var(--text-secondary);opacity:.75;flex:none}#panel-content .error{color:var(--fg-error)}#panel-content .success{color:var(--fg-success)}#panel-content .info{color:var(--fg-info)}#panel-content .warning{color:var(--fg-warning)}#panel-content .term-input-line{align-items:baseline;gap:6px;margin-top:2px;display:flex}#panel-content .term-caret{color:var(--fg-success);-webkit-user-select:none;user-select:none;flex:none}#panel-content .term-input{min-width:0;color:var(--text-primary);font-family:inherit;font-size:inherit;line-height:inherit;caret-color:var(--fg-success);background:0 0;border:none;outline:none;flex:auto;padding:0}.term-eof{color:var(--text-secondary);border:1px solid var(--border-subtle);cursor:pointer;background:0 0;border-radius:3px;flex:none;margin-inline-start:8px;padding:1px 8px;font-family:inherit;font-size:11px}.term-eof:hover{color:var(--text-primary);border-color:var(--focus-ring)}#turtle-window,.popup-window{z-index:9999;background:var(--bg-panel,#1e1e1e);border:1px solid var(--border-color,#333);border-radius:8px;flex-direction:column;min-width:160px;max-width:92vw;min-height:120px;max-height:88vh;display:flex;position:fixed;top:90px;right:24px;overflow:hidden;box-shadow:0 12px 48px #0000008c}.popup-window.hidden{display:none}.popup-window-header{background:var(--bg-tab,#252526);border-bottom:1px solid var(--border-color,#333);cursor:move;-webkit-user-select:none;user-select:none;flex-shrink:0;align-items:center;gap:8px;height:34px;padding:0 6px 0 12px;display:flex}.popup-window-title{color:var(--text-primary,#ddd);white-space:nowrap;text-overflow:ellipsis;flex:1;font-family:SF Mono,Cascadia Code,Fira Code,Consolas,monospace;font-size:12px;font-weight:600;overflow:hidden}.popup-window-close{width:26px;height:26px;color:var(--text-muted,#999);cursor:pointer;background:0 0;border:none;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;font-size:15px;line-height:1;display:flex}.popup-window-close:hover{color:#fff;background:#c0392b}.popup-window-body{background:var(--bg-editor,#1e1e1e);flex:1;justify-content:center;align-items:center;padding:10px;display:flex;overflow:auto}.popup-window-body.turtle-popup-body{flex-direction:column;gap:9px}#turtle-canvas{background:#fff;border-radius:2px;display:block}.turtle-replay-controls{width:min(100%,680px);color:var(--text-primary,#ddd);grid-template-columns:auto auto auto minmax(120px,1fr) auto auto;align-items:center;gap:6px;font-size:12px;display:grid}.turtle-replay-controls button,.turtle-replay-controls select{border:1px solid var(--border,#555);background:var(--bg-panel,#252526);min-height:28px;color:inherit;cursor:pointer;border-radius:4px}.turtle-replay-controls input[type=range]{width:100%}.turtle-replay-label{text-align:end;min-width:92px}.turtle-replay-code-line{background:#ffc4002e;border-inline-start:3px solid #ffc400}#image-window-picture{background:#fff;border-radius:2px;max-width:min(600px,60vw);max-height:70vh;display:block}#panel-resize{cursor:ns-resize;z-index:10;background:0 0;height:6px;position:absolute;top:-3px;left:0;right:0}#panel-resize:hover{background:var(--accent)}#statusbar{background:var(--bg-statusbar);color:#fff;grid-area:statusbar;align-items:center;height:22px;padding:0 8px;font-size:12px;display:flex}.status-item{cursor:pointer;align-items:center;gap:4px;height:100%;padding:0 8px;display:flex}.status-item:hover{background:#ffffff1f}.status-spacer{flex:1}.status-right{display:flex}.hidden{display:none!important}#lang-selector{align-items:center;gap:4px;font-size:12px;display:flex}#ui-lang{background:var(--bg-sidebar);height:24px;color:var(--text-primary);border:1px solid var(--border-color);cursor:pointer;border-radius:3px;padding:0 6px;font-size:12px}body.embedded #activitybar,body.embedded #sidebar,body.embedded #statusbar{display:none!important}body.embedded #app{grid-template-columns:1fr!important;grid-template-areas:"titlebar""main"!important}body.embedded #titlebar .logo,body.embedded #titlebar #btn-hack-lab,body.embedded #titlebar #btn-download-project,body.embedded #titlebar #btn-clear-cache,body.embedded #titlebar #download,body.embedded #titlebar #theme,body.embedded #titlebar #lang-selector,body.embedded #titlebar .titlebar-separator{display:none!important}body.embedded #titlebar{min-height:36px;padding:4px 8px}body.embedded #sidebar-resize,body.embedded #panel-resize{pointer-events:none!important;display:none!important}body.embedded #sidebar{resize:none!important;min-width:0!important;max-width:none!important}body.embedded,body.embedded #editor-container,body.embedded #main{direction:ltr!important}body.mode-snippet #sidebar,body.mode-snippet #activitybar,body.mode-snippet #tabs{display:none!important}body.mode-snippet #app{grid-template-columns:1fr!important;grid-template-areas:"titlebar""main""statusbar"!important}body.mode-snippet.embedded #app{grid-template-rows:auto 1fr!important;grid-template-areas:"titlebar""main"!important}body.mode-snippet #editor-container{border-radius:4px}body.mode-project #sidebar{width:200px;display:flex!important}body.mode-project #tabs{display:flex!important}body.mode-project #activitybar{display:none!important}body.mode-project #app{grid-template-columns:200px 1fr!important;grid-template-areas:"sidebar titlebar""sidebar main""sidebar statusbar"!important}body.mode-project.embedded #app{grid-template:"sidebar titlebar""sidebar main"1fr/200px 1fr!important}body.embedded.mode-project #sidebar{width:200px;display:flex!important}body.mode-full #sidebar,body.mode-full #activitybar,body.mode-full #tabs,body.mode-full #statusbar{display:flex!important}body.mode-full #app,body.mode-full.embedded #app{grid-template-columns:48px var(--sidebar-width,220px) 1fr!important;grid-template-rows:auto 1fr auto!important;grid-template-areas:"activitybar titlebar titlebar""activitybar sidebar main""statusbar statusbar statusbar"!important}body.embedded.mode-full #sidebar,body.embedded.mode-full #activitybar,body.embedded.mode-full #statusbar{display:flex!important}body.readonly #editor-container{background:#64646408}body.readonly .monaco-editor .cursors-layer{display:none!important}body.readonly .monaco-editor .current-line{background:0 0!important;border:none!important}body.run-disabled #titlebar #run,body.structure-locked #btn-new-file,body.structure-locked #btn-new-folder,body.structure-locked #empty-state-new-file,body.structure-locked .context-menu-item[data-action=import-files],body.structure-locked .context-menu-item[data-action=import-folder],body.structure-locked .context-menu-item[data-action=new-file],body.structure-locked .context-menu-item[data-action=new-folder],body.structure-locked .context-menu-item[data-action=rename],body.structure-locked .context-menu-item[data-action=delete],body.structure-locked #tabs .tab-add,body.structure-locked #tabs .tab-close,body.search-replace-disabled #search-panel .search-inputs .search-row:nth-child(2),body.search-replace-disabled #replace-input,body.search-replace-disabled #btn-replace-all,body.search-replace-disabled #search-summary .search-btn.primary,body.search-replace-disabled #btn-replace-all-files,body.search-replace-disabled .search-match-btn[data-action=replace],body.search-replace-disabled .search-file-btn[data-action=replace-file],body.embedded #lang,body.embedded #version,body.embedded label[for=lang],body.embedded label[for=version],body.hide-explorer-panel .activity-icon[data-panel=explorer],body.hide-explorer-panel #explorer-panel,body.hide-search-panel .activity-icon[data-panel=search],body.hide-search-panel #search-panel,body.hide-run-panel .activity-icon[data-panel=run],body.hide-run-panel #run-panel,body.nooutput #panel{display:none!important}body.nooutput #main{grid-template-rows:auto 1fr!important}body.embedded.nooutput #titlebar{display:none!important}body.embedded.nooutput #app{grid-template:"main"1fr/1fr!important}body.embedded.nooutput.mode-project #app{grid-template:"sidebar main"1fr/200px 1fr!important}body.embedded.nooutput.mode-full #app{grid-template-columns:48px var(--sidebar-width,220px) 1fr!important;grid-template-rows:1fr!important;grid-template-areas:"activitybar sidebar main"!important}body.embedded.nooutput.mode-full #sidebar,body.embedded.nooutput.mode-full #activitybar{display:flex!important}body.embedded.nooutput.mode-full #statusbar{display:none!important}body.embedded.mode-full #titlebar .logo{display:flex!important}body.embedded.mode-full #titlebar #download,body.embedded.mode-full #titlebar #btn-download-project,body.embedded.mode-full #titlebar #theme,body.embedded.mode-full #titlebar #lang,body.embedded.mode-full #titlebar #version{display:inline-block!important}body.embedded.mode-full #titlebar #lang-selector{display:flex!important}body.embedded.mode-full #titlebar .titlebar-separator{display:block!important}body.embedded.mode-full #sidebar-resize,body.embedded.mode-full #panel-resize{pointer-events:auto!important;display:block!important}body.embedded.hacklab-enabled #titlebar #btn-hack-lab{display:inline-block!important}body.embedded.hacklab-enabled #titlebar .titlebar-separator{display:block!important}#titlebar{min-width:0;overflow:hidden}#titlebar .controls{min-width:0}#titlebar #status{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}#titlebar select{max-width:150px}#tabs{overflow-x:auto}@media (width<=1024px){#titlebar{gap:6px;padding:0 8px}#titlebar .controls{gap:6px}#titlebar .btn span[data-i18n],#titlebar .logo span[data-i18n],#titlebar #status{display:none}#titlebar select{max-width:118px;font-size:11px}}@media (width<=720px){#titlebar #theme,body.embedded.mode-full #titlebar #theme,#titlebar #download,body.embedded.mode-full #titlebar #download,#titlebar #btn-download-project,body.embedded.mode-full #titlebar #btn-download-project,#titlebar #btn-clear-cache,#titlebar #lang-selector,body.embedded.mode-full #titlebar #lang-selector,#titlebar .titlebar-separator,body.embedded.mode-full #titlebar .titlebar-separator{display:none!important}#titlebar select{max-width:104px}#activitybar{width:40px}#sidebar{width:auto!important;min-width:0!important}body.mode-full #app,body.mode-full.embedded #app,body.embedded.nooutput.mode-full #app{grid-template-columns:40px var(--sidebar-width,170px) 1fr!important}}@media (width<=480px){#titlebar #version,body.embedded.mode-full #titlebar #version{display:none!important}#titlebar select{max-width:92px;font-size:11px}body.mode-full #app,body.mode-full.embedded #app,body.embedded.nooutput.mode-full #app{grid-template-columns:36px var(--sidebar-width,140px) 1fr!important}.tree-item{padding-top:6px;padding-bottom:6px}}
