#coder-dialog .workspace-picker input{padding:0 10px!important}#coder-dialog .coder-task-column{overflow:hidden;overflow-y:hidden;scrollbar-gutter:auto}#coder-dialog .coder-dialog-message{flex:1 1 auto;min-height:0;max-height:none;overflow-x:hidden;overflow-y:auto;scrollbar-width:thin;scrollbar-gutter:stable}
#coder-dialog .workspace-tree,#coder-dialog .editor-shell,#coder-dialog .editor-highlight,#coder-dialog .coder-dialog-message,#coder-dialog .coder-task-column{scrollbar-width:thin;scrollbar-color:rgba(143,183,155,.65) transparent}#coder-dialog .workspace-tree::-webkit-scrollbar,#coder-dialog .editor-shell::-webkit-scrollbar,#coder-dialog .editor-highlight::-webkit-scrollbar,#coder-dialog .coder-dialog-message::-webkit-scrollbar,#coder-dialog .coder-task-column::-webkit-scrollbar{width:8px;height:8px}#coder-dialog .workspace-tree::-webkit-scrollbar-track,#coder-dialog .editor-shell::-webkit-scrollbar-track,#coder-dialog .editor-highlight::-webkit-scrollbar-track,#coder-dialog .coder-dialog-message::-webkit-scrollbar-track,#coder-dialog .coder-task-column::-webkit-scrollbar-track{background:transparent}#coder-dialog .workspace-tree::-webkit-scrollbar-thumb,#coder-dialog .editor-shell::-webkit-scrollbar-thumb,#coder-dialog .editor-highlight::-webkit-scrollbar-thumb,#coder-dialog .coder-dialog-message::-webkit-scrollbar-thumb,#coder-dialog .coder-task-column::-webkit-scrollbar-thumb{background:rgba(143,183,155,.65);border-radius:8px;border:2px solid transparent;background-clip:padding-box}body:not(.dark) #coder-dialog .workspace-tree,body:not(.dark) #coder-dialog .editor-shell,body:not(.dark) #coder-dialog .editor-highlight,body:not(.dark) #coder-dialog .coder-dialog-message,body:not(.dark) #coder-dialog .coder-task-column{scrollbar-color:rgba(49,100,70,.38) transparent}body:not(.dark) #coder-dialog .workspace-tree::-webkit-scrollbar-thumb,body:not(.dark) #coder-dialog .editor-shell::-webkit-scrollbar-thumb,body:not(.dark) #coder-dialog .editor-highlight::-webkit-scrollbar-thumb,body:not(.dark) #coder-dialog .coder-dialog-message::-webkit-scrollbar-thumb,body:not(.dark) #coder-dialog .coder-task-column::-webkit-scrollbar-thumb{background:rgba(49,100,70,.38);border-color:transparent;background-clip:padding-box}
#coder-dialog .workspace-picker input,#coder-dialog .workspace-picker .secondary{height:32px!important;min-height:32px!important}
.coder-task-bar .coder-context{display:block;min-height:28px;max-width:100%;padding:6px 9px;margin:0;border:1px solid var(--line);border-radius:7px;background:var(--bg);color:var(--strong);font-size:11px;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.coder-task-bar .coder-context:empty{display:none}body.dark .coder-task-bar .coder-context{background:#151a17;border-color:#53665a;color:#bceacb}
.task-footer-left{display:flex;align-items:center;min-width:0;flex:1;gap:8px}
#coder-dialog .task-footer-left .coder-context{display:flex;flex-wrap:wrap;gap:4px;min-width:0;max-width:100%;margin:0;color:var(--strong);font-size:11px}
#coder-dialog .coder-context:empty{display:none}
.agent-attachment{display:flex;align-items:center;gap:4px;max-width:100%;padding:2px 6px;border:1px solid var(--line);border-radius:6px;background:var(--bg)}
.agent-attachment>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#coder-dialog .agent-attachment button{flex:0 0 24px;min-height:24px;width:24px;padding:0;border:0;background:transparent;color:var(--strong)}
#coder-dialog .task-footer{flex-wrap:wrap}
#coder-dialog .task-footer-left{flex:1 1 120px}
#coder-dialog .task-footer-right{margin-left:auto;min-width:0;max-width:100%;justify-content:flex-end;flex-wrap:wrap}
#coder-dialog .task-model{max-width:130px;overflow:hidden;text-overflow:ellipsis}
#coder-dialog .coder-dialog-actions{margin-left:auto}
#coder-dialog .task-drop[hidden],#coder-dialog .attachment-button[hidden]{display:none!important}
#coder-dialog .coder-session-status{margin-left:auto;margin-right:12px;color:var(--muted);font-size:11px;cursor:pointer}#coder-dialog .coder-session-status:hover{color:var(--strong)}body.dark #coder-dialog .coder-session-status{color:#a7b4aa}body.dark #coder-dialog .coder-session-status:hover{color:#bceacb}
body:not(.dark) .attachment-button,body.dark .attachment-button{color:var(--strong);border-color:var(--strong);border-radius:50%!important}
#coder-dialog .attachment-button,.composer .attachment-button{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;flex:0 0 32px!important;padding:0;border-radius:50%!important;aspect-ratio:1}
body .attachment-button,body #send,body .task-send{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;flex:0 0 32px!important;border-radius:50%!important}
#coder-dialog .attachment-button{color:var(--strong);border-color:var(--strong);background:transparent}
#coder-dialog .attachment-button:hover{background:var(--green);color:var(--ink)}
#coder-dialog .task-stop{color:var(--strong);border-color:var(--strong)!important;background:transparent}
#coder-dialog .task-stop:hover{background:var(--green)}
.attachment-button{color:var(--strong);border-color:var(--strong)}.attachment-button:hover{background:var(--green);color:var(--ink)}
.attachment-button{width:32px!important;height:32px!important;min-height:32px!important;flex-basis:32px!important}
body:not(.dark) #coder-dialog .coder-dialog-shell{background:var(--bg);border-color:var(--line);box-shadow:0 8px 24px rgba(37,56,47,.06)}body:not(.dark) #coder-dialog .coder-dialog-header{border-color:var(--line);color:var(--muted)}body:not(.dark) #coder-dialog .coder-message-bubble{color:var(--ink)}body:not(.dark) #coder-dialog .coder-message-user .coder-message-bubble{background:var(--line);border-color:#d5ded4}body:not(.dark) #coder-dialog .coder-files-status,body:not(.dark) #coder-dialog .task-model{color:var(--muted)}body:not(.dark) #coder-dialog .coder-diff-summary{color:var(--muted)}body:not(.dark) #coder-dialog .diff-action{background:var(--line);border-color:#cfdad0;color:var(--ink)}body:not(.dark) #coder-dialog .coder-diff-panel{background:#f1f5f1;border-color:var(--line)}body:not(.dark) #coder-dialog .coder-diff-body{color:var(--ink)}body:not(.dark) #coder-dialog .coder-diff-title{border-color:var(--line);color:var(--strong)}
body:not(.dark) #coder-dialog{background:#f1f5f1}
#login-dialog{width:min(400px,calc(100% - 32px));padding:24px;border:1px solid var(--line);background:var(--bg);color:var(--ink)}#login-dialog form{display:flex;flex-direction:column;gap:0}#login-dialog h2{margin:10px 0 6px;font-size:24px;line-height:1.15}#login-dialog>form>p{margin:0 0 10px;color:var(--muted);line-height:1.5}#login-dialog label{margin:14px 0 6px;color:var(--ink);font-weight:600}#login-dialog input{height:44px;border:1px solid var(--line);background:var(--bg);color:var(--ink);border-radius:10px}#login-dialog input:focus{border-color:var(--strong);box-shadow:0 0 0 3px rgba(49,100,70,.12);outline:0}#login-dialog .modal-actions{margin-top:18px}#login-dialog .modal-actions .primary{min-height:44px;border-radius:10px;background:var(--strong);color:#fff}body.dark #login-dialog{background:#1b241f;border-color:#35433a}body.dark #login-dialog input{background:#151a17;border-color:#53665a}body.dark #login-dialog .modal-actions .primary{background:#78c997;color:#102218}
body:not(.dark) .coder-button{background:#f1f5f1;border-color:#dfe8df;color:var(--muted)}body:not(.dark) .coder-button:hover{background:#e8f0e8;color:var(--ink)}
#settings form,#login-dialog form{max-height:calc(100dvh - 40px);overflow-y:auto;scrollbar-width:thin}#coder-dialog form{overflow-y:auto;overflow-x:hidden;scrollbar-width:thin}
#coder-dialog .coder-dialog-message{min-height:0;max-height:100%;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin}#coder-dialog .coder-activity-log{display:block;min-width:0;margin-top:auto;padding:0 2px 8px}.coder-activity{display:flex;align-items:center;gap:7px;min-width:0;color:rgba(236,245,240,.62);font-size:11px;line-height:1.35}.coder-activity-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.coder-activity-dot{width:6px;height:6px;min-width:6px;border-radius:50%;background:#8fb79b;box-shadow:0 0 0 3px rgba(143,183,155,.12)}body:not(.dark) #coder-dialog .coder-activity{color:var(--muted)}body:not(.dark) #coder-dialog .coder-activity-dot{background:var(--strong);box-shadow:0 0 0 3px rgba(49,100,70,.12)}
#workspace-files{display:none}.coder-files-column .workspace-tree{flex:1 1 auto;min-height:0;height:100%;overflow:auto;border:1px solid var(--line);border-radius:8px;background:var(--bg);padding:6px;scrollbar-width:thin}.tree-root,.tree-children{list-style:none;margin:0;padding:0}.tree-children{display:none;padding-left:14px}.tree-item.expanded>.tree-children{display:block}.tree-entry{display:block;width:100%;min-height:25px;padding:3px 6px;border:0;border-radius:5px;background:transparent;color:var(--ink);font:12px/1.35 monospace;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tree-entry:hover,.tree-entry.selected{background:var(--line);color:var(--strong)}.tree-item.file .tree-entry{color:var(--ink)}body.dark .workspace-tree{background:#151a17;border-color:#53665a}body.dark .tree-entry{color:rgba(236,245,240,.72);font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-weight:400}body.dark .tree-entry:hover,body.dark .tree-entry.selected{background:#2a3b30;color:#bceacb}
#coder-dialog form{gap:8px 12px}#coder-dialog .coder-column{padding:10px;gap:7px}#coder-dialog .coder-task-column{gap:6px;min-height:0;height:100%;max-height:100%;overflow:hidden;scrollbar-gutter:auto}#coder-dialog .coder-task-column #coder-task{min-height:72px;max-height:220px;height:72px;padding:10px 12px;resize:none;overflow-y:hidden}#coder-dialog .coder-task-bar{gap:7px;margin-top:8px}#coder-dialog .task-tools{margin:2px 0 4px}#coder-dialog .task-footer{margin:4px 0 2px;gap:7px}#coder-dialog .coder-dialog-shell{margin-bottom:2px}#coder-dialog .coder-task-column #coder-result{margin:0}
#coder-dialog .coder-task-column> :not(.coder-dialog-shell){flex-shrink:0}
#coder-dialog .coder-dialog-shell{min-height:0}
#coder-dialog .coder-dialog-header{flex-shrink:0}
#coder-dialog .coder-dialog-header{flex-wrap:wrap}
#coder-dialog .coder-dialog-brand{flex-basis:100%}
#coder-conversations{flex:1;min-width:0;width:0;max-width:100%;height:32px;background:var(--surface);color:var(--text);border:1px solid var(--field-border);border-radius:4px}
#coder-new-chat{flex:0 0 32px;width:32px;height:32px;min-height:32px;padding:0;background:var(--surface);color:var(--text);border:1px solid var(--field-border);border-radius:4px;font-size:20px}
#coder-context-usage{flex-basis:100%;font-size:11px;overflow-wrap:anywhere;color:var(--text-secondary)}
#coder-context-usage:empty{display:none}
.coder-context-warning{font-size:12px;color:var(--text-secondary);white-space:normal;overflow-wrap:anywhere}
.coder-context-warning summary{cursor:pointer;color:var(--ink)}
.coder-context-warning ul{margin:8px 0 0;padding-left:18px}
.coder-context-warning li+li{margin-top:6px}
.coder-proposal{margin-top:14px;padding-top:12px;border-top:1px solid var(--field-border);min-width:0;white-space:normal}
.coder-proposal h4{margin:0 0 8px;font-size:13px;overflow-wrap:anywhere}
.coder-proposal-diff{max-height:240px;max-width:100%;margin:0 0 8px;padding:8px;overflow:auto;white-space:pre;font:12px/1.5 monospace;background:var(--surface);color:var(--ink);border:1px solid var(--field-border);border-radius:4px}
.coder-proposal-actions{display:flex;flex-wrap:wrap;gap:8px}
#coder-dialog .coder-proposal-actions button{padding:5px 10px;min-height:32px;border:1px solid var(--field-border);border-radius:4px;background:var(--surface);color:var(--ink);white-space:normal}
.coder-proposal-status{font-size:12px;color:var(--text-secondary);overflow-wrap:anywhere;white-space:normal}
#coder-summarize{padding:4px 10px;min-height:32px;border:1px solid var(--field-border);border-radius:4px;background:var(--surface);color:var(--ink)}
#coder-context-usage{order:1}
#coder-summary-dialog{width:min(680px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:20px;background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:8px;overflow:auto}
#coder-summary-dialog h2{font-size:20px;margin:0;line-height:1.3}
#coder-summary-dialog form{display:flex;flex-direction:column;gap:12px;min-width:0}
#coder-summary-text{width:100%;min-height:180px;max-height:45dvh;resize:vertical;background:var(--surface);color:var(--ink);border:1px solid var(--field-border);border-radius:4px;padding:10px;font:inherit}
#coder-summary-status{margin:0;color:var(--text-secondary);font-size:13px;overflow-wrap:anywhere}
#coder-summary-dialog .modal-actions{display:flex;flex-wrap:wrap;gap:8px}
#coder-summary-dialog button{white-space:normal}
#coder-dialog .coder-dialog-message{justify-content:flex-start}
#coder-dialog .coder-dialog-message>*{flex-shrink:0}
:root{color-scheme:light;--bg:#fafbf9;--ink:#25382f;--muted:#7c857f;--line:#e3e8e2;--green:#bceacb;--strong:#316446}*{box-sizing:border-box}body{margin:0;font:15px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--ink);height:100dvh;display:flex}
body.dark{--bg:#151a17;--ink:#edf5ee;--muted:#a7b4aa;--line:#35433a;--green:#78c997;--strong:#a7e2ba;background:var(--bg);color:var(--ink)}
body.dark .sidebar{background:#1b241f;border-color:var(--line)}
body.dark .new-chat{background:#2a3b30;color:var(--ink);border:1px solid var(--line)}
body.dark .history-item.active{background:#2a3b30}
body.dark .suggestions button{background:#1c251f;border-color:var(--line);color:var(--ink)}
body.dark .composer{background:#1c251f;border-color:var(--line)}
body.dark textarea,body.dark input[type=password],body.dark #login-dialog input{background:#1c251f;color:var(--ink);border-color:#53665a}
body.dark .composer.dragging{background:#223228;border-color:var(--strong)}
body.dark #coder-dialog .coder-center-shell{background:linear-gradient(180deg,var(--bg),var(--line))}
body.dark #coder-dialog .coder-column{background:var(--bg)}
body.dark #coder-dialog textarea,body.dark #coder-dialog input,body.dark #coder-dialog select{background:var(--bg);color:var(--ink);border-color:#53665a}
body.dark #coder-dialog .workspace-picker .secondary{background:#2a3b30;color:var(--ink);border-color:var(--line)}
.coder-modal-actions{display:flex;align-items:center;gap:10px}
#coder-dialog textarea,#coder-dialog input,#coder-dialog select{background:var(--bg);color:var(--ink);border:1px solid var(--line);box-shadow:inset 0 1px 2px rgba(17,32,23,.03)}
#coder-dialog label{font-size:12px;color:var(--muted)}
#coder-dialog .drop-zone{background:var(--bg);border:1px dashed rgba(49,100,70,.35);color:var(--muted)}
#coder-dialog p[role="status"]{color:var(--muted);font-size:12px}
#coder-dialog small{color:var(--muted)}
#coder-task{min-height:110px;border-radius:12px;padding:12px 14px}
#coder-task::placeholder{color:#8a9a8e}
body.dark .settings-button{border-color:#53665a}
body.dark dialog{background:#1b241f;color:var(--ink);border-color:var(--line)}
body.dark .secondary{background:#2a3b30;color:var(--ink)}
body.dark .primary{background:#d2f0dc;color:#17231c}
body.dark .pill{background:#2a3b30;color:#b8d9c1}
button{min-height:40px;line-height:1.2}
.header-actions{display:flex;align-items:center;gap:18px}
.theme-toggle{width:36px;height:36px;min-height:36px;padding:0;border:1px solid var(--line);border-radius:50%;background:transparent;display:grid;place-items:center;font-size:18px}
.login-button{height:34px;min-height:34px;padding:0 12px;border:1px solid var(--line);border-radius:8px;background:transparent;color:var(--muted);font-size:12px}
.login-button:hover{background:var(--line);color:var(--ink)}
.coder-button{width:100%;min-height:42px;margin-top:10px;padding:0 14px;border:1px solid var(--line);border-radius:10px;background:transparent;color:var(--muted);text-align:left;font-size:12px;display:flex;align-items:center;gap:10px}
.coder-button span{font-size:17px;color:var(--strong)}
.coder-button:hover{background:var(--line);color:var(--ink)}
.coder-button + .new-chat{margin-top:10px}
#coder-dialog{width:100vw;height:100vh;max-width:none;max-height:none;margin:0;border:0;border-radius:0;padding:26px 24px 16px;background:linear-gradient(180deg,var(--bg) 0%,var(--line) 180%);color:var(--ink)}
body.coder-page{overflow:hidden}body.coder-page>.sidebar,body.coder-page>main{display:none}body.coder-page #coder-dialog[open]{display:block}
#coder-dialog form{height:100%;display:grid;grid-template-columns:minmax(240px,var(--coder-files-width,26%)) minmax(260px,1fr) minmax(340px,var(--coder-chat-width,34%))!important;grid-template-rows:auto auto minmax(0,1fr);gap:12px 18px;align-items:stretch}
#coder-dialog .modal-top,#coder-dialog h2{grid-column:1/-1}
#coder-dialog .modal-top{display:flex;align-items:center;justify-content:space-between;padding:0 2px}
#coder-dialog h2{margin:0 0 4px;font-size:20px;font-weight:600;color:var(--ink);letter-spacing:-.02em}
.coder-column{min-width:0;min-height:0;display:flex;flex-direction:column;gap:10px;padding:14px;border:1px solid var(--line);border-radius:16px;background:var(--bg);box-shadow:0 1px 0 rgba(20,38,35,.02)}
.coder-files-column{grid-column:1;grid-row:3}.coder-center-column{grid-column:2;grid-row:3;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;min-width:0;min-height:0;height:100%;background:#f7faf8;border:1px solid var(--line);border-radius:16px;overflow:hidden}.coder-center-column[hidden]{display:none}.coder-task-column{grid-column:3;grid-row:3;display:flex;flex-direction:column;min-height:0;justify-content:flex-start;position:relative}.coder-files-column #workspace-files{flex:1;min-height:180px}.coder-task-column #file-editor{display:none}.coder-task-column > label,.coder-task-column > textarea,.coder-task-column > p,.coder-task-column > .modal-actions{width:100%}.coder-task-column .task-tools{margin-top:0}.#coder-dialog .modal-actions{margin-top:0}
.coder-center-shell{display:flex;flex:1 1 auto;min-height:0;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;padding:24px 18px;border:0;border-radius:0;background:var(--surface);overflow:auto;text-align:center}
.coder-center-shell[hidden],#coder-dialog .editor-shell[hidden],#coder-dialog .file-tabs[hidden],#coder-dialog .editor-shell[hidden]+.coder-row-resizer{display:none!important}
.coder-center-body{width:100%;max-width:420px;margin:auto;overflow-wrap:anywhere}
.coder-center-title{margin:0 0 18px;color:var(--ink);font-size:26px;line-height:1.2;font-weight:600;letter-spacing:0;text-transform:none}
.coder-center-body p{margin:0 0 18px;color:var(--text-secondary);font-size:14px;line-height:1.7}
.coder-center-body .coder-center-kicker{margin:0 0 8px;color:var(--strong);font-size:12px;font-weight:600;letter-spacing:0}
.coder-center-body ul{list-style:none;margin:20px 0 0;padding:18px 0 0;border-top:1px solid var(--line);color:var(--text-secondary);display:grid;gap:10px;font-size:13px;line-height:1.6}
.coder-dialog-shell{display:flex;flex:1;min-height:0;flex-direction:column;border:1px solid rgba(148,171,160,.28);border-radius:12px;background:rgba(9,18,15,.62);overflow:hidden}.coder-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px 8px 14px;border-bottom:1px solid rgba(148,171,160,.2);font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:rgba(236,245,240,.75)}.coder-dialog-actions{display:flex;align-items:center;gap:8px;text-transform:none;letter-spacing:0}.coder-task-bar{display:flex;align-items:center;justify-content:space-between;gap:10px}.coder-task-bar .coder-context{flex:1;margin:0}.coder-diff-summary{font-size:11px;letter-spacing:0;color:rgba(236,245,240,.6);white-space:nowrap}.coder-diff-summary .diff-add{color:#7fd39a}.coder-diff-summary .diff-remove{color:#e08a72}.diff-action{min-height:28px;height:28px;padding:0 12px;border-radius:8px;border:1px solid rgba(148,171,160,.35);background:rgba(146,167,156,.12);color:#edf6f2;font-size:12px;font-weight:600;letter-spacing:0;text-transform:none}.diff-action:hover:not(:disabled){background:rgba(146,167,156,.2)}.diff-action:disabled{opacity:.4;cursor:default}.diff-apply{background:#54c98a;color:#08160f;border-color:transparent}.diff-apply:hover:not(:disabled){background:#46b87a}.task-mic.listening{background:rgba(191,116,89,.25)!important;border-color:rgba(224,138,114,.8)!important;color:#ffd9cc!important;animation:heisPulse 1.2s ease-in-out infinite}@keyframes heisPulse{0%,100%{box-shadow:0 0 0 0 rgba(224,138,114,.45)}50%{box-shadow:0 0 0 6px rgba(224,138,114,0)}}.coder-dialog-brand{opacity:.95}.coder-dialog-message{flex:1;display:flex;flex-direction:column;justify-content:flex-end;gap:14px;padding:18px 16px 12px;min-height:220px;overflow:auto}.coder-message-bubble{max-width:100%;padding:0 0 8px;font-size:14px;line-height:1.55;color:#edf6f2;white-space:pre-line}.coder-message{display:flex;width:100%}.coder-message-user{justify-content:flex-end}.coder-message-user .coder-message-bubble{max-width:85%;padding:8px 12px;background:rgba(146,167,156,.16);border:1px solid rgba(148,171,160,.28);border-radius:12px}.coder-message-assistant{justify-content:flex-start}.coder-files-status{margin:6px 0 0;font-size:11px;color:rgba(236,245,240,.6)}.task-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:8px 0}.task-footer-left,.task-footer-right{display:flex;align-items:center;gap:8px}.task-model{font-size:11px;color:rgba(236,245,240,.6);white-space:nowrap}.task-send{display:grid;place-items:center;width:34px!important;height:34px!important;min-height:34px!important;padding:0;border-radius:50%!important;border:none;background:#8fb79b;color:#0f1f18;font:600 18px/1 sans-serif;cursor:pointer}.task-send:hover{background:#a3c9ad}.task-mic svg,.task-stop svg{display:block}.task-stop{color:#e08a72;border-color:rgba(224,138,114,.55)!important;background:rgba(224,138,114,.12)}.task-stop:hover{background:rgba(224,138,114,.2)}.task-stop svg{animation:heisPulse 1.2s ease-in-out infinite}.coder-diff-panel{border:1px solid rgba(148,171,160,.24);border-radius:10px;background:rgba(5,13,11,.72);overflow:hidden}.coder-diff-panel[hidden]{display:none!important}.coder-diff-title{padding:9px 11px;border-bottom:1px solid rgba(148,171,160,.18);font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#9fd7ad}.coder-diff-body{max-height:320px;margin:0;padding:10px 11px;overflow:auto;color:#edf6f2;font:12px/1.45 monospace;white-space:pre;tab-size:2}
.coder-task-column #coder-task{min-height:120px;max-height:180px;resize:vertical}.coder-task-column .task-tools{margin-top:auto}
.coder-center-column>.file-tabs{width:100%;flex:0 0 auto}.coder-center-column>.editor-shell{flex:1 1 auto;min-height:0;width:100%;height:100%}.editor-shell{position:relative;display:block;flex:1 1 auto;min-height:260px;width:100%;height:100%;min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:var(--bg)}.editor-gutter{position:absolute;inset:0 auto 0 0;width:38px;margin:0;padding:10px 8px 10px 0;overflow:hidden;border-right:1px solid var(--line);color:#98a39b;text-align:right;font:12px/1.5 monospace;white-space:pre;z-index:4;pointer-events:none}.editor-highlight{position:absolute;inset:0;margin:0;padding:10px 10px 10px 48px;overflow:auto;pointer-events:none;color:var(--ink);font:13px/1.55 monospace;white-space:pre-wrap;overflow-wrap:anywhere;z-index:3}.editor-code{font:inherit}.editor-shell #file-editor{position:relative!important;display:block!important;width:100%!important;height:100%!important;min-width:0;min-height:100%!important;margin:0;border:0;border-radius:0;background:transparent!important;color:transparent!important;caret-color:var(--ink);padding:10px 10px 10px 48px;font:13px/1.55 monospace;resize:none;white-space:pre-wrap;overflow:auto;z-index:2;box-sizing:border-box;pointer-events:auto}.editor-highlight .token-comment{color:#4d8a5c!important}.editor-highlight .token-string{color:#a95722!important}.editor-highlight .token-keyword{color:#1769aa!important}.editor-highlight .token-number{color:#927510!important}.editor-highlight .token-key{color:#087f8a!important}
.file-tabs{display:flex;gap:3px;overflow:auto;min-height:34px;flex:0 0 34px}.file-tab{display:flex;align-items:center;gap:10px;max-width:190px;min-height:32px;padding:0 10px;border:1px solid transparent;border-radius:7px 7px 0 0;background:transparent;color:var(--muted);font:11px/1 sans-serif;white-space:nowrap}.file-tab.active{background:var(--line);color:var(--ink);border-color:var(--line)}.file-tab span{font-size:15px;color:var(--muted)}.file-tab span:hover{color:var(--ink)}.file-tab .tab-dot{width:8px;height:8px;min-width:8px;border-radius:50%;background:#e0a34f;flex:0 0 8px;font-size:0}.file-tab .tab-dot:hover{background:#e0a34f}
body.dark .editor-shell{border-color:rgba(148,171,160,.35);background:rgba(6,17,14,.72)}body.dark .editor-highlight{color:#edf6f2}body.dark .editor-shell #file-editor{caret-color:#edf6f2}body.dark .file-tab{color:rgba(236,245,240,.72)}body.dark .file-tab.active{background:rgba(178,206,189,.08);color:#edf6f2;border-color:rgba(148,171,160,.32)}body.dark .file-tab span{color:rgba(236,245,240,.7)}body.dark .file-tab span:hover{color:#edf6f2}body.dark .editor-highlight .token-comment{color:#7fbf8f!important}body.dark .editor-highlight .token-string{color:#f2b880!important}body.dark .editor-highlight .token-keyword{color:#79b8ff!important}body.dark .editor-highlight .token-number{color:#e8d27b!important}body.dark .editor-highlight .token-key{color:#70d7d1!important}
.coder-files-column,.coder-task-column,.coder-center-column{position:relative}
#coder-dialog form{position:relative}
.coder-column-resizer,.coder-chat-resizer{position:absolute;grid-row:3/4;z-index:5;top:0;width:10px;height:100%;cursor:col-resize;touch-action:none;background:transparent}
.coder-column-resizer{grid-column:1/2;right:-14px}.coder-chat-resizer{grid-column:3/4;left:-14px}
.coder-column-resizer::before,.coder-chat-resizer::before{content:"";position:absolute;top:0;bottom:0;left:50%;width:0;border-left:1px dotted var(--field-border);transform:translateX(-50%);pointer-events:none}
.coder-column-resizer:hover::before,.coder-chat-resizer:hover::before{border-left-color:var(--strong)}
.task-tools{display:none}.task-drop{display:flex;align-items:center;justify-content:center;min-width:0;flex:0 1 220px;height:32px;padding:0 10px;border:1px dashed rgba(49,100,70,.45);border-radius:8px;color:var(--muted);font-size:11px;line-height:1;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:border-color .15s ease,background .15s ease}.task-drop.dragging,.drop-zone.dragging,#coder-task.dragging,.composer.dragging,.coder-task-column.dragging{background:rgba(196,230,204,.18);color:var(--ink);border-color:rgba(49,100,70,.7)}#coder-dialog input,#coder-dialog textarea,#coder-dialog select,#coder-dialog button,.coder-column,.editor-shell{border-radius:10px}
.drop-zone{display:flex;align-items:center;justify-content:center;gap:12px;min-height:64px;padding:12px 16px;border:1px dashed rgba(49,100,70,.35);border-radius:12px;background:#f8faf8;color:var(--muted);text-align:center;font-size:12px;line-height:1.35;transition:border-color .15s ease, background .15s ease}
.drop-zone-plus{display:grid;place-items:center;width:26px;height:26px;border-radius:8px;border:1px solid var(--line);background:#fff;color:var(--ink);font-size:24px;font-weight:300;line-height:1;flex:0 0 auto}
.drop-zone-text{flex:1;min-width:0}
#coder-dialog .modal-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:4px}
#coder-dialog .secondary,#coder-dialog .primary{flex:1;border-radius:12px;font-weight:600}
#coder-dialog .secondary{background:#f4f8f4;border:1px solid var(--line);color:var(--ink)}
#coder-dialog .primary{background:var(--green);color:#12271c;border:0;box-shadow:inset 0 0 0 1px rgba(18,39,28,.04)}
#login-dialog{width:min(360px,calc(100% - 32px));padding:20px 20px 18px}#login-dialog h2{font-size:20px;margin:6px 0 4px}#login-dialog>form>p{font-size:12px;margin:0 0 4px}#login-dialog label{margin:12px 0 6px}#login-dialog input{height:44px;padding:0 12px}#login-dialog .modal-actions .primary{height:44px;min-height:44px}#login-dialog .modal-actions{margin-top:14px}.social-auth{display:flex;flex-direction:column;gap:8px;margin-top:8px}.social-button{display:flex;align-items:center;justify-content:center;gap:10px;height:44px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#25382f;font-size:13px;font-weight:500}.social-button:hover{background:#f2f5f1}.social-button svg{width:18px;height:18px;flex:0 0 18px}body.dark .social-button{background:#222c26;color:var(--ink);border-color:#3a4740}body.dark .social-button:hover{background:#28332c}.auth-divider{display:flex;align-items:center;gap:10px;margin:16px 0 2px;color:var(--muted);font-size:11px}.auth-divider::before,.auth-divider::after{content:"";flex:1;height:1px;background:var(--line)}.auth-switch{font-size:12px;color:var(--muted);margin:12px 0 0;text-align:center}.link-button{background:none;border:0;color:var(--strong);font-size:12px;padding:0;min-height:auto;text-decoration:underline;cursor:pointer}
@media(max-width:760px){#coder-dialog{height:100vh;width:100vw;padding:18px}#coder-dialog form{display:flex;flex-direction:column;overflow:auto}#coder-dialog .coder-column{flex:none;width:100%;max-height:none}#coder-dialog .coder-files-column{height:280px;min-height:280px}#coder-dialog .coder-center-column{height:360px}#coder-dialog .coder-task-column{height:560px;min-height:560px}.coder-column-resizer,.coder-chat-resizer{display:none}}
.workspace-picker{display:flex;gap:8px}.workspace-picker input{flex:1;min-width:0}.workspace-picker .secondary{height:42px;min-height:42px;flex:0 0 64px;width:64px;padding:0;font-size:12px;color:var(--ink)}#coder-dialog .workspace-picker .secondary{flex:0 0 64px;width:64px}.coder-dialog select,.coder-dialog textarea{width:100%}#workspace-files{width:100%;margin-top:6px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--ink);padding:6px}.drop-zone{border:1px dashed var(--strong);border-radius:8px;color:var(--muted);font-size:11px;margin:10px 0;padding:12px;text-align:center}.drop-zone.dragging{background:var(--line);color:var(--ink)}.coder-context{color:var(--muted);font-size:11px;min-height:16px;margin-bottom:8px}
body.dark .login-button{color:#87998d;border-color:#35433a}
body.dark .login-button:hover{color:#c0d1c4;background:#25332a}
#login-dialog{width:min(400px,calc(100% - 32px));padding:24px;background:var(--bg);color:var(--ink)}#login-dialog h2{margin:10px 0 6px;font-size:24px;line-height:1.15}#login-dialog label{color:var(--ink);font-weight:600}#login-dialog input{height:44px;border-radius:10px;background:var(--bg);color:var(--ink);border-color:var(--line)}#login-dialog input:focus{border-color:var(--strong);box-shadow:0 0 0 3px rgba(49,100,70,.12);outline:0}#login-dialog .modal-actions .primary{min-height:44px;border-radius:10px;background:var(--strong);color:#fff}body.dark #login-dialog{background:#1b241f;border-color:#35433a}body.dark #login-dialog input{background:#151a17;border-color:#53665a}body.dark #login-dialog .modal-actions .primary{background:#78c997;color:#102218}
body{--surface:#ffffff;--surface-soft:#edf3ee;--text-secondary:#526659;--field-border:#a9bbb0}
body.dark{--surface:#1c251f;--surface-soft:#2a3b30;--text-secondary:#b5c5bb;--field-border:#657e6e}
body .composer,body #coder-dialog #coder-task{background:var(--surface);color:var(--ink);border-color:var(--field-border)}
body #prompt,body #coder-dialog #coder-task{color:var(--ink);caret-color:var(--ink)}
body #prompt::placeholder,body #coder-dialog #coder-task::placeholder{color:var(--text-secondary);opacity:1}
body #model-label,body #coder-dialog .task-model,body #coder-dialog .coder-dialog-header,body #coder-dialog .coder-activity{color:var(--text-secondary)}
body #coder-dialog .coder-dialog-shell,body #coder-dialog .coder-column,body #coder-dialog .workspace-tree{background:var(--surface);border-color:var(--line)}
body #coder-dialog .coder-message-bubble{color:var(--ink)}
body .message.user .message-content,body #coder-dialog .coder-message-user .coder-message-bubble{background:var(--surface-soft);color:var(--ink);border-color:var(--line)}
body .composer .attachment-button,body #coder-dialog .attachment-button{background:transparent;color:var(--strong);border-color:var(--field-border)}
body .composer .attachment-button:hover,body #coder-dialog .attachment-button:hover{background:var(--surface-soft);color:var(--ink)}
body #send,body #coder-dialog .task-send{background:var(--green);color:#173b27}
.voice-options{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:6px;color:var(--text-secondary);font-size:12px;flex-shrink:0}
.voice-options label{display:flex;align-items:center;gap:6px;margin:0!important;color:var(--text-secondary)!important;font-size:12px!important}
.voice-options input[type=checkbox]{width:15px;height:15px;min-height:0;padding:0;accent-color:var(--strong)}
.voice-options .icon-button{width:30px;height:30px;min-height:30px;padding:0}
body .composer-bar{flex-wrap:wrap;gap:8px}
body #model-label{min-width:0;overflow-wrap:anywhere}
body .attachment-button[hidden]{display:none!important}
body .composer .task-mic.listening,body #coder-dialog .task-mic.listening{background:var(--strong)!important;color:var(--bg)!important;border-color:var(--strong)!important;animation:none}
.message-actions{display:flex;gap:4px;margin-top:9px;opacity:.7}
.message-action{width:30px;height:30px;min-height:30px;padding:0;border:0;border-radius:7px;background:transparent;color:var(--muted);display:grid;place-items:center;font:400 16px/1 sans-serif}
.message-action:hover{background:var(--line);color:var(--ink);opacity:1}
 .message.user{margin-left:auto;max-width:min(720px,85%);text-align:right}.message.assistant{margin-right:auto;max-width:min(780px,92%);text-align:left}.message.user .message-content{display:inline-block;text-align:left}.message.user .message-actions{justify-content:flex-end}.message.assistant .message-actions{justify-content:flex-start}
body.dark .message.user .message-content{background:#2a3b30}
.job-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:36px;color:var(--muted);font-size:13px;flex-shrink:0}
.job-controls[hidden],.job-controls button[hidden]{display:none!important}
.job-controls .icon-button,#jobs-dialog .icon-button{width:32px;height:32px;min-height:32px;padding:0;flex:0 0 32px}
#coder-job-controls{width:100%;padding:0 4px}
#jobs-dialog{width:min(760px,calc(100% - 24px));max-height:85dvh;overflow:auto;padding:24px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--ink)}
#jobs-dialog h2{font-size:20px;letter-spacing:0;margin:0}
#jobs-dialog .modal-top{display:flex;justify-content:space-between;gap:12px;align-items:center}
.job-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--line)}
.job-description{min-width:0;display:flex;flex-direction:column;gap:4px;overflow-wrap:anywhere}
.job-description strong{font-size:14px;letter-spacing:0}
.job-meta{color:var(--muted);font-size:12px}
.job-actions{display:flex;gap:8px;align-items:center;flex-shrink:0}
#jobs-dialog .secondary{min-height:32px;height:32px;font-size:12px;border-radius:6px}
#job-detail{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;font-size:13px;max-width:100%;max-height:40dvh;overflow:auto;margin:20px 0 0}
#job-detail:empty{display:none}
body main{min-height:0}
body main>header{height:auto;min-height:82px;gap:12px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px}
body .header-actions{min-width:0;flex-wrap:wrap;gap:12px}
body .welcome{min-height:0;flex:1 1 auto;overflow-y:auto;overscroll-behavior:contain}
body .messages{min-height:0;overflow-x:hidden}
body .composer-wrap{flex-shrink:0}
body .composer-bar #model-label{flex:1;min-width:0;max-width:none}
body .composer-foot{gap:8px;flex-wrap:wrap}
body .suggestions{grid-template-columns:repeat(3,minmax(0,1fr))}
body .suggestions button{height:auto;overflow-wrap:anywhere}
body .sidebar{min-height:0;overflow-y:auto}
body .sidebar-content{display:contents}
body #navigation-toggle,body .coder-panel-navigation{display:none}
body #history{min-height:44px}
body dialog{max-height:calc(100dvh - 24px);overflow:auto;overflow-wrap:anywhere}
body dialog form{min-width:0}
body #settings form,body #login-dialog form{max-height:none;overflow:visible}
body dialog .modal-actions{flex-wrap:wrap}
body dialog .modal-actions button{height:auto;white-space:normal}
body #coder-dialog{height:100dvh;max-height:100dvh;padding-top:max(16px,env(safe-area-inset-top));padding-right:max(16px,env(safe-area-inset-right));padding-bottom:max(16px,env(safe-area-inset-bottom));padding-left:max(16px,env(safe-area-inset-left))}
body #coder-dialog form{grid-template-columns:minmax(0,min(var(--coder-files-width,26%),32%)) minmax(0,1fr) minmax(0,min(var(--coder-chat-width,34%),40%))!important}
body #coder-dialog .modal-top{flex-wrap:wrap;gap:8px}
body #coder-dialog .coder-modal-actions{flex-wrap:wrap;gap:8px}
body .job-row{flex-wrap:wrap}
body .job-actions{flex-wrap:wrap;max-width:100%}
body .job-controls>span{min-width:0;overflow-wrap:anywhere}
@media(max-width:1100px){
	body #coder-dialog form{display:flex;flex-direction:column;overflow-y:auto;gap:12px}
	body #coder-dialog form>.modal-top,body #coder-dialog form>h2{flex-shrink:0}
	body #coder-dialog .coder-panel-navigation{display:flex;flex-shrink:0;gap:4px;border-bottom:1px solid var(--line)}
	body #coder-dialog .coder-panel-navigation button{flex:1;min-width:0;min-height:44px;padding:8px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--text-secondary);font-size:13px}
	body #coder-dialog .coder-panel-navigation button[aria-selected=true]{border-bottom-color:var(--strong);color:var(--strong);background:var(--surface-soft)}
	body #coder-dialog .coder-column{flex:1 0 300px;width:100%;height:auto;min-height:0;max-height:none}
	body #coder-dialog .coder-task-column{flex-basis:420px}
	body #coder-dialog form[data-mobile-panel=files] .coder-center-column,body #coder-dialog form[data-mobile-panel=files] .coder-task-column,
	body #coder-dialog form[data-mobile-panel=editor] .coder-files-column,body #coder-dialog form[data-mobile-panel=editor] .coder-task-column,
	body #coder-dialog form[data-mobile-panel=chat] .coder-files-column,body #coder-dialog form[data-mobile-panel=chat] .coder-center-column{display:none!important}
	body #coder-dialog .editor-shell{flex:1 1 auto!important;min-height:0}
	body #coder-dialog .coder-center-column>.coder-task-bar{flex-shrink:0;order:-1;margin-top:0}
	body #coder-dialog .coder-column-resizer,body #coder-dialog .coder-chat-resizer,body #coder-dialog .coder-row-resizer{display:none}
}
@media(max-width:900px){
	body .sidebar{width:200px;padding:20px 14px}
	body main>header{padding:12px 20px}
	body .welcome{padding:28px 20px}
	body .welcome h1{font-size:40px;letter-spacing:0}
	body .suggestions{grid-template-columns:1fr;gap:8px;margin-top:20px}
	body .suggestions button{min-height:72px;padding:12px 30px 12px 12px}
	body .suggestions span{margin-bottom:6px}
	body .composer-wrap{padding:12px 20px}
}
@media(max-width:600px){
	body{flex-direction:column;overflow:hidden;padding-top:env(safe-area-inset-top);padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}
	body .sidebar{position:relative;z-index:10;width:100%;flex:0 0 auto;overflow:visible;padding:8px 12px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px;border-right:0;border-bottom:1px solid var(--line)}
	body #navigation-toggle{display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0}
	body .sidebar-content{position:absolute;top:100%;left:0;right:0;display:none;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;min-width:0;max-height:calc(100dvh - 80px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow:auto;overscroll-behavior:contain;padding:12px;background:inherit;border-bottom:1px solid var(--line);box-shadow:0 8px 16px #14251918}
	body .sidebar.navigation-open .sidebar-content{display:grid}
	body .sidebar .brand{justify-content:flex-start;font-size:26px;gap:8px;letter-spacing:0}
	body .sidebar .brand-dot{display:inline;margin-left:-8px}
	body .sidebar .mark{width:30px;height:30px;font-size:26px;letter-spacing:0}
	body .sidebar .workspace-label,body .sidebar .section-label,body .sidebar .local-note,body .sidebar .side-bottom small{display:none}
	body .sidebar .coder-button,body .sidebar .new-chat{width:100%;min-width:0;margin:0;padding:8px 10px;min-height:44px;height:auto;font-size:12px;white-space:normal;text-align:left}
	body .sidebar .new-chat span{font-size:20px;margin-right:6px}
	body .sidebar #history{display:flex;grid-column:1/-1;gap:6px;overflow-x:auto;min-height:0;max-height:48px}
	body .sidebar #history:empty{display:none}
	body .sidebar .history-item{width:auto;flex:0 0 auto;max-width:200px;min-height:44px;margin:0}
	body .sidebar .empty-history{padding:0;font-size:11px}
	body .sidebar .side-bottom{grid-column:1/-1;margin:0;padding:0}
	body .sidebar .settings-button{margin:0;min-height:44px;height:auto;font-size:12px}
	body .sidebar .settings-button::first-letter{font-size:inherit}
	body main{height:auto;flex:1;min-height:0}
	body>main>header{display:grid;grid-template-columns:minmax(0,1fr) auto 36px auto;min-height:0;padding:8px 12px;column-gap:6px;row-gap:0}
	body main>header>div:first-child{grid-column:1;grid-row:1;display:flex;align-items:center;flex-wrap:wrap;gap:4px 6px;min-width:0}
	body main>header .pill{margin-left:0;letter-spacing:0}
	body main>header .header-actions{display:contents}
	body main>header .header-actions>#jobs-button{grid-column:2}
	body main>header .header-actions>#theme-toggle{grid-column:3;width:36px;padding:0}
	body main>header .header-actions>#login-button{grid-column:4;max-width:80px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
	body main>header .header-actions>#jobs-button,body main>header .header-actions>#theme-toggle,body main>header .header-actions>#login-button{grid-row:1/3;align-self:center;min-width:36px;height:36px;min-height:36px;padding-inline:8px}
	body main>header .header-actions .connection{grid-column:1;grid-row:2;justify-content:flex-start;align-self:start;gap:6px;min-width:0;min-height:44px;max-width:100%;padding:4px 0;font-size:10px;text-align:left;line-height:1.3}
	body main>header .header-actions .connection .dot{flex:0 0 7px}
	body main>header .header-actions .connection span:last-child{min-width:0;overflow-wrap:anywhere}
	body .welcome{width:100%;margin:0;padding:20px 16px}
	body .welcome h1{font-size:32px;line-height:1.15;margin:16px 0;overflow-wrap:anywhere}
	body .welcome .eyebrow{font-size:9px;letter-spacing:0}
	body .welcome p{font-size:13px}
	body .messages{padding:16px}
	body .message.user,body .message.assistant{max-width:100%}
	body .composer-wrap{padding:8px 12px max(8px,env(safe-area-inset-bottom))}
	body .composer{padding:10px 12px}
	body .composer-foot{display:none}
	body #prompt{min-height:44px;max-height:25dvh}
	body input:not([type=checkbox]):not([type=radio]),body textarea,body select,body #coder-dialog #coder-task{font-size:16px}
	body #coder-dialog .editor-shell #file-editor,body #coder-dialog .editor-highlight,body #coder-dialog .editor-gutter{font-size:16px;line-height:1.55}
	body #coder-dialog{padding:12px max(10px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));padding-top:max(12px,env(safe-area-inset-top))}
	body #coder-dialog .coder-dialog-message{padding:12px 10px}
	body #coder-dialog .coder-dialog-header{gap:6px;padding:8px}
	body #coder-dialog .coder-dialog-header :is(#coder-conversations,#coder-new-chat,#coder-summarize){height:44px;min-height:44px;box-sizing:border-box;border:1px solid var(--field-border);border-radius:8px;padding:0 10px;font-size:16px;line-height:1.2}
	body #coder-dialog .coder-dialog-header #coder-new-chat{flex:0 0 44px;width:44px;min-width:44px;padding:0;font-size:22px}
	body #coder-dialog .coder-dialog-header #coder-summarize{flex:0 0 auto}
	body #coder-dialog .coder-dialog-actions{flex-wrap:wrap}
	body #coder-dialog .task-footer-left{flex:1 1 100%;width:100%}
	body #coder-dialog .task-footer-right{gap:6px}
	body #coder-dialog .task-drop{flex:1 1 100%;width:100%;white-space:normal;height:auto;min-height:44px}
	body #coder-dialog .task-model{max-width:110px}
	body #coder-summary-dialog,body #login-dialog,body #settings,body #jobs-dialog{padding:16px;max-height:calc(100dvh - 24px)}
	body #coder-summary-dialog .modal-top{gap:8px}
	body .job-row{align-items:flex-start;gap:8px}
}
@media(pointer:coarse){
	body .theme-toggle,body .login-button,body .icon-button,body .message-action,body #jobs-dialog .icon-button,body .job-controls .icon-button,body #coder-dialog .diff-action,body #coder-dialog #coder-new-chat,body #coder-dialog #coder-summarize{min-width:44px;min-height:44px;height:auto}
	body .composer .attachment-button,body #send,body #coder-dialog .attachment-button,body #coder-dialog .task-send{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;flex:0 0 44px!important}
	body #coder-dialog .workspace-picker input,body #coder-dialog .workspace-picker .secondary{height:44px!important;min-height:44px!important}
	body .tree-entry,body .file-tab,body #coder-dialog .coder-proposal-actions button{min-height:44px}
}
@media(max-width:760px){body main>header{flex-wrap:wrap}body .header-actions{flex-wrap:wrap;gap:8px;max-width:100%}#jobs-dialog{padding:16px}.job-row{gap:10px;align-items:flex-start}.job-actions{gap:4px}#coder-dialog .modal-top{flex-wrap:wrap;gap:8px}.coder-modal-actions{margin-left:auto}}
.composer-bar{gap:12px}
.composer{border:1px solid rgba(148,171,160,.35);border-radius:14px;padding:10px 12px;background:rgba(8,17,15,.82);transition:border-color .15s ease, background .15s ease, box-shadow .15s ease}
.composer.dragging{box-shadow:0 0 0 2px rgba(49,100,70,.12);border-color:rgba(141,201,163,.7)}
#prompt{width:100%;border:0;background:transparent;padding:0;resize:none;min-height:52px;max-height:220px;color:var(--ink);caret-color:var(--ink)}
.attachment-button,#send{display:grid;place-items:center;width:36px!important;height:36px!important;min-height:36px!important;padding:0;border-radius:50%!important;flex:0 0 36px}
.attachment-button{background:transparent;border:1px solid rgba(148,171,160,.35);font:300 24px/1 sans-serif;line-height:1;transform:translateY(-1px);color:#edf6f2}
.attachment-button:hover{background:rgba(148,171,160,.12)}
#send{background:var(--green);border:0;font:400 22px/1 sans-serif;line-height:1;transform:translateY(-1px)}
.new-chat,.settings-button,.primary,.secondary{height:42px;min-height:42px;padding:0 14px;display:flex;align-items:center;justify-content:center;line-height:1.2}
.new-chat{justify-content:flex-start}
.suggestions button{height:110px;min-height:110px}
.history-item{min-height:40px;padding:10px 11px}
	.new-chat,.settings-button,.secondary,.primary{min-height:42px}
	.icon-button,#send{min-height:0}
:root{color-scheme:light;--bg:#fafbf9;--ink:#25382f;--muted:#7c857f;--line:#e3e8e2;--green:#bceacb;--strong:#316446}*{box-sizing:border-box}body{margin:0;font:15px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--ink);height:100dvh;display:flex}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible{outline:2px solid var(--strong);outline-offset:4px}button{color:inherit}.sidebar{width:258px;flex-shrink:0;background:#f0f3ee;border-right:1px solid var(--line);padding:30px 23px;display:flex;flex-direction:column}.brand{text-decoration:none;color:var(--ink);font-size:35px;font-weight:650;letter-spacing:-2px;display:flex;align-items:center;gap:10px}.brand-dot{color:#72b68b;margin-left:-10px}.mark{width:36px;height:36px;display:grid;place-items:center;border-radius:12px;background:var(--green);font-size:30px;font-weight:500;letter-spacing:-3px;padding-right:3px}.workspace-label{font-size:9px;letter-spacing:2px;color:var(--muted);margin:10px 0 37px}.new-chat{background:var(--ink);color:#fff;border:0;border-radius:11px;padding:12px 14px;text-align:left;font-size:13px}.new-chat span{margin-right:10px;font-size:20px}.section-label{font-size:10px;letter-spacing:1.8px;color:var(--muted);margin:30px 0 12px}#history{overflow:auto;flex:1}.history-item{border:0;background:transparent;padding:11px;width:100%;text-align:left;border-radius:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;margin:2px 0}.history-item.active{background:#e1e9df}.empty-history{font-size:12px;color:var(--muted);padding:8px}.side-bottom{padding-top:20px}.local-note{font-size:10px;color:#697a6c;display:flex;align-items:center;gap:8px}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#68a97c}.dot.muted{background:#a4aaa6}.dot.error{background:#bf7459}.settings-button{background:transparent;border:1px solid #d7dfd4;border-radius:8px;width:100%;padding:10px;margin:15px 0;font-size:12px}.side-bottom small{font-size:10px;color:var(--muted)}main{min-width:0;flex:1;display:flex;flex-direction:column;height:100dvh}header{height:82px;flex-shrink:0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:0 38px}.header-title{font-size:13px;font-weight:600}.pill{font-size:8px;letter-spacing:1px;border:1px solid #dce5d9;border-radius:4px;padding:3px 5px;margin-left:12px;color:#63816c}.connection{display:flex;align-items:center;gap:8px;border:0;background:transparent;font-size:11px;color:#67796d}.welcome{width:min(780px,100%);padding:64px 32px 25px;margin:auto}.eyebrow{color:#768c7c;font-size:10px;font-weight:600;letter-spacing:2px}h1{font-size:clamp(35px,4.4vw,62px);line-height:1.12;letter-spacing:-2.5px;font-weight:500;margin:24px 0}h1 span{color:#70977c}.welcome p{color:var(--muted);font-size:14px}.suggestions{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:35px}.suggestions button{position:relative;background:#fff;border:1px solid var(--line);text-align:left;border-radius:12px;padding:19px 17px 28px;font-size:12px;min-height:110px}.suggestions button:hover{border-color:#99bba1;background:#f5faf3}.suggestions span{display:block;font-size:8px;letter-spacing:1px;color:#819484;margin-bottom:14px}.suggestions b{position:absolute;right:13px;bottom:10px;font-size:16px;font-weight:400}.composer-wrap{width:min(844px,100%);padding:18px 32px 22px;margin:0 auto}.composer{background:white;border:1px solid #dce5d9;border-radius:18px;box-shadow:0 7px 24px #2d4b3210;padding:17px 18px 12px}textarea{display:block;width:100%;resize:vertical;max-height:160px;min-height:60px;border:0;background:transparent;outline:none;color:var(--ink);font-size:14px}textarea::placeholder{color:#9ba49d}.composer-bar{display:flex;justify-content:space-between;align-items:center}.composer-bar span{font-size:10px;color:#839186;max-width:80%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#send{border:0;background:var(--green);border-radius:11px;width:38px;height:36px;font-size:23px}.composer-foot{display:flex;justify-content:space-between;font-size:9px;color:#949c95;padding:10px 4px 0}.messages{overflow-y:auto;flex:1;display:none;padding:26px max(32px,calc((100% - 780px)/2));scroll-behavior:smooth}.message{margin:0 0 25px;max-width:100%}.message-label{font-size:10px;font-weight:600;color:#799081;letter-spacing:1px;margin-bottom:9px}.message-content{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.8}.message.user .message-content{background:#edf3ea;padding:14px 18px;border-radius:13px}.message.pending{color:var(--muted)}.notice{background:#f3efe6;color:#796142;padding:10px 14px;border-radius:10px;font-size:12px;margin-bottom:10px}.notice[hidden]{display:none}dialog{border:1px solid var(--line);border-radius:20px;padding:30px;width:min(490px,calc(100% - 30px));color:var(--ink);box-shadow:0 25px 100px #14251930}dialog::backdrop{background:#14251945;backdrop-filter:blur(3px)}.modal-top{display:flex;align-items:center;justify-content:space-between}.icon-button{border:0;background:transparent;font-size:24px}h2{font-size:26px;letter-spacing:-1px;margin:12px 0}dialog p{font-size:13px;color:#6d7c71}dialog label{display:block;font-size:12px;margin:20px 0 7px}input[type=password],#login-dialog input{width:100%;padding:12px;border:1px solid #ccd9c9;border-radius:8px;background:#fafcf9;color:var(--ink)}dialog small{display:block;font-size:10px;color:#849086;margin-top:7px}.check{display:flex;align-items:center;gap:8px}.check input{accent-color:#477d58}.modal-actions{display:flex;gap:10px;margin-top:20px}.primary,.secondary{padding:11px 16px;border-radius:8px;border:0;font-size:12px}.primary{background:var(--ink);color:white;flex:1}.secondary{background:#edf1ea}details{font-size:11px;margin-top:22px;color:#718175}details p{font-size:11px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:760px){.sidebar{width:170px;padding:24px 12px}.brand{font-size:30px}.workspace-label{font-size:8px}.welcome{padding:32px 22px}.suggestions{grid-template-columns:1fr;gap:7px;margin-top:22px}.suggestions button{min-height:0;padding:12px}.suggestions span{margin-bottom:5px}.composer-wrap{padding:12px 20px}.composer-foot span:last-child{display:none}header{padding:0 22px;height:65px}.messages{padding:22px}}@media(max-width:480px){.sidebar{width:65px;padding:20px 8px}.brand{font-size:0;gap:0;justify-content:center}.brand-dot,.workspace-label,.section-label,#history,.local-note,.side-bottom small{display:none}.new-chat{font-size:0;padding:4px;text-align:center;margin-top:28px}.new-chat span{font-size:26px;margin:0}.side-bottom{margin-top:auto}.settings-button{font-size:0}.settings-button::first-letter{font-size:20px}.welcome{padding:22px 18px}.eyebrow{font-size:8px}h1{font-size:37px}.welcome p{font-size:12px}.composer-wrap{padding:10px 12px}.connection{font-size:9px}header{padding:0 16px}.suggestions button{font-size:11px}.composer-foot{font-size:8px}}
