:root{color-scheme:dark;--bg:#090b10;--panel:#10141d;--panel2:#141a25;--border:#263143;--text:#e6edf7;--muted:#91a0b4;--accent:#7c9cff;--green:#4adea1}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif}button,.upload{border:1px solid var(--border);border-radius:9px;background:#1b2332;color:var(--text);padding:9px 13px;font:inherit;font-size:13px;cursor:pointer}button:hover,.upload:hover{background:#28364a}button:focus-visible,input:focus-visible,textarea:focus-visible,.upload:focus-visible{outline:2px solid var(--accent);outline-offset:2px}button:disabled{cursor:wait;opacity:.55}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);padding:0 24px}.brand{display:flex;align-items:center;gap:12px}.brand strong{font-size:18px;letter-spacing:1px}.brand strong span{color:var(--accent)}.brand small{display:block;color:var(--muted);font-size:11px;margin-top:2px}.mark{display:grid;place-items:center;background:#24355e;color:#a9bfff;border:1px solid #405788;border-radius:12px;font-family:monospace;font-weight:800;font-size:21px;width:44px;height:44px}.top-actions,.editor-actions,.output-actions{display:flex;align-items:center;gap:9px}.status{font-size:12px;color:#e3bf77;margin-right:12px}.status.ready{color:var(--green)}.workspace{min-height:calc(100vh - 113px);display:grid;grid-template-columns:236px minmax(320px,1.35fr) minmax(300px,1fr)}.sidebar{border-right:1px solid var(--border);padding:20px 13px;display:flex;flex-direction:column;gap:8px}.section-head{font-size:12px;text-transform:uppercase;letter-spacing:1.1px;font-weight:700;color:var(--muted);padding:0 9px;display:flex;justify-content:space-between}.count{background:#273344;border-radius:12px;padding:1px 7px}.project-list,.example-list{display:flex;flex-direction:column;gap:3px;margin:5px 0 16px}.project-entry{display:flex;align-items:center;border-radius:8px;min-width:0}.project-entry.active{background:#1e2c48}.list-button{display:block;flex:1;min-width:0;background:transparent;border:0;text-align:left;padding:10px 9px;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.list-button:hover{background:#223049}.delete-btn{padding:6px 9px;margin-right:4px;border:0;background:transparent;color:#96a7bd}.delete-btn:hover{color:#ff9b9b;background:#432331}.examples-title{margin-top:6px}.sidebar-note{margin-top:auto;border-top:1px solid var(--border);color:#8391a7;font-size:11px;line-height:1.6;padding:16px 8px}.center{display:flex;flex-direction:column;min-width:0;border-right:1px solid var(--border)}.editor-header,.output-header{height:63px;min-height:63px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 16px;gap:10px}.filetab{display:flex;align-items:center;gap:10px;min-width:0}.dot{width:9px;height:9px;border-radius:50%;background:#75b7ff;flex-shrink:0}#projectName{background:transparent;border:0;outline:0;color:#dbe6ff;font-family:monospace;font-size:14px;width:170px;min-width:80px}#projectName:focus{border-bottom:1px solid var(--accent)}.editor-wrap{display:flex;flex:1;min-height:450px;position:relative;overflow:hidden}.line-numbers{width:52px;flex-shrink:0;background:#0d121a;color:#59697f;line-height:25px;text-align:right;padding:20px 12px 20px 0;font:14px/25px ui-monospace,SFMono-Regular,Consolas,monospace;overflow:hidden;white-space:pre;user-select:none}#editor{background:transparent;border:0;outline:0;color:#d3e2ff;width:100%;resize:none;tab-size:4;line-height:25px;padding:20px 16px;font:14px/25px ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre;overflow:auto}.editor-footer{height:39px;display:flex;align-items:center;justify-content:space-between;padding:0 15px;border-top:1px solid var(--border);font-size:11px;color:#8190a6}.right{display:flex;flex-direction:column;min-width:0}.output-header{font-size:14px;font-weight:700}.console-tag{background:#213047;color:#93b0da;font-size:9px;font-weight:600;padding:3px 5px;border-radius:4px;margin-left:5px;letter-spacing:.5px}.primary{background:#497af5;border-color:#6489f4;color:#fff;font-weight:700}.primary:hover{background:#3f6ddb}.output{flex:1;background:#090e15;color:#9be9bc;min-height:310px;white-space:pre-wrap;overflow:auto;overflow-wrap:anywhere;padding:24px 18px;font:13px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;margin:0}.output.error{color:#ff9f9f}.hint{border-top:1px solid var(--border);background:#111927;padding:19px 20px;font-size:13px}.hint strong{color:#a5bcff}.hint p{color:#acbbcc;line-height:1.6;margin-bottom:0}footer{border-top:1px solid var(--border);text-align:center;color:#68798d;font-size:11px;padding:12px}.upload{display:inline-flex;align-items:center}.secondary{white-space:nowrap}@media(max-width:1100px){.workspace{grid-template-columns:190px minmax(300px,1fr)}.right{grid-column:2;border-top:1px solid var(--border)}.sidebar{grid-row:1/3}}@media(max-width:700px){.topbar{padding:0 12px}.brand small,.status{display:none}.workspace{display:flex;flex-direction:column}.sidebar{border-right:0;border-bottom:1px solid var(--border);padding:12px}.project-list,.example-list{flex-direction:row;overflow:auto;margin-bottom:7px}.project-entry{flex-shrink:0}.sidebar-note{display:none}.center{border-right:0}.editor-header,.output-header{padding:0 10px}.editor-actions{gap:4px}.editor-actions button,.upload{padding:7px}.editor-wrap{min-height:390px}.right{min-height:360px}.output{min-height:250px}}
