/* Coderal workbench */
.workbench-actions{display:flex;gap:5px;direction:ltr}.workbench-actions button{font:600 11px system-ui;white-space:nowrap}
main{position:relative;--files-w:210px;--chat-w:345px;--split:1.05fr}
@media(min-width:951px){main{grid-template-columns:var(--files-w) minmax(0,1fr) var(--chat-w)}main[data-view=split]{grid-template-rows:minmax(100px,var(--split)) minmax(100px,1fr) auto}}
.resize-handle{position:absolute;z-index:5;touch-action:none;border-radius:3px;opacity:0;transition:opacity .12s;background:#8f86ed}.resize-handle:hover,.resize-handle:focus-visible,.resize-handle.dragging{opacity:.8}.resize-handle.vertical{width:6px;top:10px;bottom:10px;cursor:col-resize}#resizeFiles{left:calc(11px + var(--files-w))}#resizeChat{right:calc(11px + var(--chat-w))}.resize-handle.horizontal{height:6px;cursor:row-resize;left:calc(18px + var(--files-w));right:calc(18px + var(--chat-w))}main:not([data-view=split]) #resizeSplit{display:none}
#fileTabs{display:flex;align-items:stretch;overflow-x:auto;flex-shrink:0;min-height:35px;gap:1px;background:#191b23;border-bottom:1px solid #343744}
.file-tab{display:flex;align-items:center;border-right:1px solid #2f3240;flex-shrink:0;color:#aeb4c5}.file-tab.active{background:#252638;box-shadow:inset 0 2px #a7a1ff;color:#eeeaff}.file-tab button{border:0;background:transparent;border-radius:0;color:inherit;font:12px/1.5 monospace;padding:7px 9px}.file-tab button.close-tab{padding:5px 8px;color:#9ba2b5;font:15px system-ui}.file-tab button:hover{background:#343648}
#previewFull{font:700 17px/1 system-ui;padding:5px 9px}body.preview-focus{overflow:hidden}body.preview-focus .preview{display:flex!important;position:fixed;inset:8px;z-index:30;box-shadow:0 0 0 30px #101217;min-width:0;min-height:0;height:auto}body.preview-focus .preview .frame{padding:16px}
#commandPalette{width:min(580px,94vw);max-height:75vh;padding:12px;border:1px solid #484b60;border-radius:12px;background:#1a1d26;color:#edf0f8;box-shadow:0 25px 100px #0008;margin:14vh auto auto;overflow:hidden}#commandPalette::backdrop{background:#080a12aa;backdrop-filter:blur(3px)}#commandSearch{display:block;width:100%;padding:12px;border:1px solid #555471;background:#11131a;border-radius:7px;font:14px system-ui;color:inherit}#commandResults{display:grid;gap:3px;max-height:48vh;overflow:auto;margin:10px 0;direction:ltr}#commandResults button{display:flex;justify-content:space-between;align-items:center;text-align:left;padding:10px;font:13px system-ui;background:transparent;border-color:transparent}#commandResults button.selected{background:#37334e;border-color:#514a6c;color:#f6f2ff}.command-hint{font:11px system-ui;color:#a0a7b7;padding:5px;direction:ltr}
@media(max-width:950px){.resize-handle{display:none!important}.workbench-actions{margin-inline-start:auto}main[data-view=preview]>.preview{order:-1}}
:root[data-theme=light]{color-scheme:light;--surface:#fff;--panel:#f5f6fa;--line:#d8dce7;--muted:#616a7c;--ink:#20263a;--accent:#6554c0;--accent2:#168264}
:root[data-theme=light] html,:root[data-theme=light] body{background:#e9ecf4;color:#23283b}:root[data-theme=light] body>header,:root[data-theme=light] footer,:root[data-theme=light] .head{background:#f6f7fb;color:#283044;border-color:#d9deea}
:root[data-theme=light] main>section,:root[data-theme=light] main>aside{background:#fff;border-color:#d4d9e5;box-shadow:0 3px 14px #27365b0c}
:root[data-theme=light] button,:root[data-theme=light] select,:root[data-theme=light] .button{background:#f0f2f8;color:#30384d;border-color:#d2d7e5}
:root[data-theme=light] button:hover:not(:disabled),:root[data-theme=light] select:hover{background:#e4e5f4;border-color:#aaa5ce;color:#292348}
:root[data-theme=light] .primary,:root[data-theme=light] #newProject{background:#6654be;color:white;border-color:#6654be}
:root[data-theme=light] .brand{color:#20243b}:root[data-theme=light] .brand b,:root[data-theme=light] .view-switch button[aria-pressed=true]{background:#e9e5fa;color:#5343a6;border-color:#d2c9f0}
:root[data-theme=light] #engine{background:#e5f4ec;border-color:#c6e4d2;color:#236544}:root[data-theme=light] .view-switch{background:#e5e8f0}
:root[data-theme=light] .file,:root[data-theme=light] .folder,:root[data-theme=light] #tree{background:transparent;color:#3b4459}
:root[data-theme=light] .file.active{background:#eae5fa;color:#40338b;border-color:#c9bbed}
:root[data-theme=light] #prompt,:root[data-theme=light] #markNote,:root[data-theme=light] #fallback,:root[data-theme=light] #terminalInput,:root[data-theme=light] #terminalLog,:root[data-theme=light] #problems,:root[data-theme=light] #indexQuery{background:#f7f8fc;color:#283044;border-color:#d5dbea}
:root[data-theme=light] .agent-mark,:root[data-theme=light] .graph-panel,:root[data-theme=light] .v6-mode,:root[data-theme=light] #proposal,:root[data-theme=light] .message,:root[data-theme=light] .mark-item,:root[data-theme=light] .graph-edge{background:#f2f3f9;color:#343a50;border-color:#d8dce8}
:root[data-theme=light] .message.user{background:#ede8fc;border-color:#d6c9f2}
:root[data-theme=light] .agent-title b,:root[data-theme=light] .graph-edge button,:root[data-theme=light] .message b,:root[data-theme=light] #markStatus,:root[data-theme=light] #agentSteps,:root[data-theme=light] #activeFile{color:#5543a5}
:root[data-theme=light] #indexCount,:root[data-theme=light] #editorStatus,:root[data-theme=light] #dependencies,:root[data-theme=light] #reviewState,:root[data-theme=light] .graph-edge span,:root[data-theme=light] footer #status{color:#515b70}
:root[data-theme=light] .frame{background:repeating-conic-gradient(#e2e5ee 0% 25%,#edf0f6 0% 50%) 0 0/18px 18px}
:root[data-theme=light] #fileTabs,:root[data-theme=light] .file-tab{background:#f2f4f9;color:#596174;border-color:#d6dce8}:root[data-theme=light] .file-tab.active{background:white;color:#483796;box-shadow:inset 0 2px #6654be}
:root[data-theme=light] #commandPalette,:root[data-theme=light] #diffDialog{background:#fff;color:#263149;border-color:#ccd3e3}:root[data-theme=light] #commandSearch{background:#f6f7fb;color:#263149;border-color:#c9d0e0}:root[data-theme=light] #commandResults button.selected{background:#eae5fa;color:#4c3b9a;border-color:#d3c7f0}
:root[data-theme=light] #proposalFiles pre{background:#f7f8fc;color:#263149}:root[data-theme=light] #visualMark[aria-pressed=true]{background:#dcd3fa;color:#483796}
