@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid}}}.collapse{visibility:collapse}.visible{visibility:visible}.relative{position:relative}.container{width:100%}.block{display:block}.flex{display:flex}.hidden{display:none}.inline{display:inline}.flex-shrink{flex-shrink:1}.grow{flex-grow:1}.border-collapse{border-collapse:collapse}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.resize{resize:both}.flex-wrap{flex-wrap:wrap}.border{border-style:var(--tw-border-style);border-width:1px}.ring{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}*{box-sizing:border-box}html,body,#app{width:100%;height:100%;margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif}html{overscroll-behavior:none;overflow:hidden}body{color:#18181b;overscroll-behavior:none;background:#fff;overflow:hidden}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:#f3f4f6}::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#9ca3af}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}.modal-overlay.svelte-1u0vn7g{position:fixed;inset:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:1000;padding:calc(1rem + env(safe-area-inset-top)) calc(1rem + env(safe-area-inset-right)) calc(1rem + env(safe-area-inset-bottom)) calc(1rem + env(safe-area-inset-left))}.modal.svelte-1u0vn7g{background:#fff;border:1px solid #d1d5db;border-radius:.75rem;padding:1.25rem;width:100%;max-width:min(420px,calc(100vw - 2rem));max-height:calc(100vh - 2rem);overflow:auto}.modal.svelte-1u0vn7g h3:where(.svelte-1u0vn7g){margin:0 0 1rem;font-size:1rem;font-weight:600}.form-group.svelte-1u0vn7g{margin-bottom:1rem}.form-group.svelte-1u0vn7g label:where(.svelte-1u0vn7g){display:block;margin-bottom:.5rem;font-size:.875rem;color:#6b7280}.form-group.svelte-1u0vn7g input:where(.svelte-1u0vn7g){width:100%;padding:.75rem;background:#fff;border:1px solid #d1d5db;border-radius:.5rem;color:#18181b;font-size:1rem}.form-group.svelte-1u0vn7g input:where(.svelte-1u0vn7g):focus{outline:none;border-color:#9ca3af}.error-message.svelte-1u0vn7g{padding:.5rem .75rem;background:#dc2626;color:#fef2f2;border-radius:.5rem;font-size:.875rem;margin-bottom:1rem}.form-actions.svelte-1u0vn7g{display:flex;gap:.5rem;justify-content:flex-end;flex-wrap:wrap}.form-actions.svelte-1u0vn7g button:where(.svelte-1u0vn7g){padding:.75rem 1rem;border-radius:.5rem;font-size:.95rem;cursor:pointer;transition:all .2s}.form-actions.svelte-1u0vn7g .secondary:where(.svelte-1u0vn7g){background:#fff;border:1px solid #d1d5db;color:#18181b}.form-actions.svelte-1u0vn7g .secondary:where(.svelte-1u0vn7g):hover{background:#f3f4f6}.form-actions.svelte-1u0vn7g .primary:where(.svelte-1u0vn7g){background:#e5e7eb;border:1px solid #9ca3af;color:#18181b}.form-actions.svelte-1u0vn7g .primary:where(.svelte-1u0vn7g):hover{background:#d1d5db}.agent-selector.svelte-wt7we0{position:relative}.selector-button.svelte-wt7we0{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:#fff;border:1px solid #d1d5db;border-radius:.5rem;color:#18181b;cursor:pointer;font-size:.875rem;transition:all .2s}.selector-button.svelte-wt7we0:hover{background:#f3f4f6}.selected-agent.svelte-wt7we0{flex:1}.dropdown.svelte-wt7we0{position:absolute;top:calc(100% + .5rem);right:0;background:#fff;border:1px solid #d1d5db;border-radius:.5rem;min-width:250px;box-shadow:0 4px 6px -1px #0000001a;z-index:10;max-height:400px;overflow-y:auto}.dropdown-item.svelte-wt7we0{display:flex;align-items:center;justify-content:space-between;width:100%;padding:.75rem 1rem;background:none;border:none;color:#18181b;text-align:left;cursor:pointer;font-size:.875rem;transition:background .2s}.dropdown-item.svelte-wt7we0:hover{background:#f3f4f6}.dropdown-item.active.svelte-wt7we0{background:#e5e7eb}.agent-info.svelte-wt7we0{display:flex;flex-direction:column;gap:.25rem;min-width:0}.agent-name.svelte-wt7we0{font-weight:500}.model-selector.svelte-10w5eu0{position:relative}.selector-button.svelte-10w5eu0{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:#fff;border:1px solid #d1d5db;border-radius:.5rem;color:#18181b;cursor:pointer;font-size:.875rem;transition:all .2s}.selector-button.svelte-10w5eu0:hover{background:#f3f4f6}.selector-button.svelte-10w5eu0:disabled{opacity:.5;cursor:not-allowed}.selected-model.svelte-10w5eu0{flex:1}.dropdown.svelte-10w5eu0{position:absolute;top:calc(100% + .5rem);right:0;background:#fff;border:1px solid #d1d5db;border-radius:.5rem;min-width:250px;box-shadow:0 4px 6px -1px #0000001a;z-index:10;max-height:400px;overflow-y:auto}.dropdown-item.svelte-10w5eu0{display:flex;align-items:center;justify-content:space-between;width:100%;padding:.75rem 1rem;background:none;border:none;color:#18181b;text-align:left;cursor:pointer;font-size:.875rem;transition:background .2s}.dropdown-item.svelte-10w5eu0:hover{background:#f3f4f6}.dropdown-item.active.svelte-10w5eu0{background:#e5e7eb}.model-info.svelte-10w5eu0{display:flex;flex-direction:column;gap:.25rem}.model-name.svelte-10w5eu0{font-weight:500}.model-description.svelte-10w5eu0{font-size:.75rem;color:#6b7280}.project-selector.svelte-t4k058{display:flex;flex-direction:column;flex:1;min-height:0;border-bottom:1px solid #27272a}.header.svelte-t4k058{display:flex;align-items:center;justify-content:space-between;padding:1rem;border-bottom:1px solid #e5e7eb}.header.svelte-t4k058 h2:where(.svelte-t4k058){font-size:.875rem;font-weight:600;margin:0}.icon-button.svelte-t4k058{display:flex;align-items:center;justify-content:center;width:32px;height:32px;background:none;border:none;color:#6b7280;cursor:pointer;border-radius:.375rem;transition:all .2s}.icon-button.svelte-t4k058:hover{background:#f3f4f6;color:#18181b}.project-list.svelte-t4k058{flex:1;overflow-y:auto;padding:.5rem}.project-item.svelte-t4k058{display:flex;align-items:center;gap:.75rem;width:100%;padding:.75rem;background:none;border:none;border-radius:.375rem;color:#6b7280;cursor:pointer;text-align:left;transition:all .2s}.project-item.svelte-t4k058:hover{background:#f3f4f6;color:#18181b}.project-item.active.svelte-t4k058{background:#e5e7eb;color:#18181b}.project-info.svelte-t4k058{flex:1;min-width:0}.project-name.svelte-t4k058{display:block;font-size:.875rem;font-weight:500;color:#18181b}.project-path.svelte-t4k058{display:block;font-size:.75rem;color:#6b7280;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.empty-state.svelte-t4k058{padding:2rem 1rem;text-align:center;color:#6b7280;font-size:.875rem}.session-list.svelte-1h8243g{display:flex;flex-direction:column;flex:1;overflow:hidden}.header.svelte-1h8243g{display:grid;grid-template-columns:auto 1fr auto;align-items:center;-moz-column-gap:.75rem;column-gap:.75rem;padding:1rem;border-bottom:1px solid #e5e7eb}.header.svelte-1h8243g h2:where(.svelte-1h8243g){font-size:.875rem;font-weight:600;margin:0}.agent-picker.svelte-1h8243g{display:flex;justify-content:center;min-width:0}.icon-button.svelte-1h8243g{display:flex;align-items:center;justify-content:center;width:32px;height:32px;background:#f3f4f6;border:1px solid #d1d5db;color:#18181b;cursor:pointer;border-radius:.375rem;transition:all .2s}.icon-button.svelte-1h8243g:hover:not(:disabled){background:#e5e7eb;border-color:#9ca3af}.icon-button.svelte-1h8243g:disabled{opacity:.4;cursor:not-allowed}.sessions.svelte-1h8243g{flex:1;overflow-y:auto;padding:.5rem}.session-item.svelte-1h8243g{display:flex;align-items:flex-start;gap:.75rem;width:100%;padding:.75rem;background:none;border:none;border-radius:.375rem;color:#6b7280;cursor:pointer;text-align:left;transition:all .2s}.session-icon.svelte-1h8243g{flex-shrink:0;margin-top:.125rem}.session-content.svelte-1h8243g{display:flex;flex:1;min-width:0;flex-direction:column;gap:.125rem}.session-item.svelte-1h8243g:hover{background:#f3f4f6;color:#18181b}.session-item.active.svelte-1h8243g{background:#e5e7eb;color:#18181b}.session-name.svelte-1h8243g{font-size:.875rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.session-preview.svelte-1h8243g{display:-webkit-box;overflow:hidden;color:inherit;font-size:.75rem;line-height:1.25;white-space:pre-line;line-clamp:2;-webkit-line-clamp:2;-webkit-box-orient:vertical}.empty-state.svelte-1h8243g{padding:2rem 1rem;text-align:center;color:#6b7280;font-size:.875rem}.mode-selector.svelte-zu2qcq{position:relative}.selector-button.svelte-zu2qcq{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:#fff;border:1px solid #d1d5db;border-radius:.5rem;color:#18181b;cursor:pointer;font-size:.875rem;transition:all .2s}.selector-button.svelte-zu2qcq:hover{background:#f3f4f6}.selector-button.svelte-zu2qcq:disabled{opacity:.5;cursor:not-allowed}.selected-mode.svelte-zu2qcq{flex:1}.dropdown.svelte-zu2qcq{position:absolute;top:calc(100% + .5rem);right:0;background:#fff;border:1px solid #d1d5db;border-radius:.5rem;min-width:250px;box-shadow:0 4px 6px -1px #0000001a;z-index:10;max-height:400px;overflow-y:auto}.dropdown-item.svelte-zu2qcq{display:flex;align-items:center;justify-content:space-between;width:100%;padding:.75rem 1rem;background:none;border:none;color:#18181b;text-align:left;cursor:pointer;font-size:.875rem;transition:background .2s}.dropdown-item.svelte-zu2qcq:hover{background:#f3f4f6}.dropdown-item.active.svelte-zu2qcq{background:#e5e7eb}.mode-info.svelte-zu2qcq{display:flex;flex-direction:column;gap:.25rem}.mode-name.svelte-zu2qcq{font-weight:500}.mode-description.svelte-zu2qcq{font-size:.75rem;color:#6b7280}.check-icon{color:#059669;flex-shrink:0}.rotated{transform:rotate(180deg)}.tool-group.svelte-1cqr08y{align-self:flex-start;width:min(100%,42rem);background:#f8fafc;border:1px solid #e2e8f0;border-radius:.75rem}.tool-group.live.svelte-1cqr08y{border-color:#cbd5e1}.tool-group-header.svelte-1cqr08y{width:100%;border:none;background:transparent;cursor:pointer;padding:.625rem .75rem;font-size:.85rem;color:#334155;display:flex;align-items:center;justify-content:space-between}.chevron.svelte-1cqr08y{color:#64748b;margin-left:.5rem}.tool-actions.svelte-1cqr08y{border-top:1px solid #e2e8f0;padding:.5rem .75rem .625rem;display:flex;flex-direction:column;gap:.5rem}.tool-action.svelte-1cqr08y{background:#fff;border:1px solid #e2e8f0;border-radius:.5rem;padding:.5rem .625rem}.tool-title.svelte-1cqr08y{display:flex;justify-content:space-between;gap:.75rem;font-size:.8rem;color:#0f172a}.tool-status.svelte-1cqr08y{color:#64748b;text-transform:uppercase;font-size:.7rem}.tool-status.running.svelte-1cqr08y{color:#0284c7}.tool-status.completed.svelte-1cqr08y{color:#16a34a}.tool-input.svelte-1cqr08y{margin-top:.25rem;font-size:.78rem;color:#334155;word-break:break-word;white-space:pre-wrap}.single-tool-item.svelte-1cqr08y{align-self:flex-start;width:min(100%,42rem)}.plan-card.svelte-17n6td9{width:min(100%,52rem);border:1px solid #d1d5db;border-radius:.75rem;background:#fff;padding:.875rem;display:flex;flex-direction:column;gap:.75rem;cursor:pointer}.plan-header.svelte-17n6td9{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.title-block.svelte-17n6td9{display:flex;flex-direction:column;gap:.2rem}.plan-header.svelte-17n6td9 h4:where(.svelte-17n6td9){margin:0;font-size:.95rem;font-weight:600;color:#111827}.tap-hint.svelte-17n6td9{font-size:.75rem;color:#6b7280}.start-btn.svelte-17n6td9{border-radius:.5rem;padding:.55rem .8rem;border:1px solid #9ca3af;background:#e5e7eb;color:#18181b;font-size:.82rem;cursor:pointer;white-space:nowrap;flex-shrink:0}.start-btn.svelte-17n6td9:disabled{opacity:.55;cursor:not-allowed}.chat-interface.svelte-o2sewt{display:flex;flex-direction:column;height:100%;background:#fff}.empty-state.svelte-o2sewt{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:#6b7280;text-align:center;padding:2rem}.empty-state.svelte-o2sewt h2:where(.svelte-o2sewt){font-size:1.25rem;font-weight:600;margin:0 0 .5rem;color:#6b7280}.empty-state.svelte-o2sewt p:where(.svelte-o2sewt){font-size:.875rem;margin:0}.chat-header.svelte-o2sewt{padding:1rem 1.5rem;border-bottom:1px solid #e5e7eb;background:#f9fafb;display:flex;align-items:center;justify-content:space-between}.chat-header.svelte-o2sewt h3:where(.svelte-o2sewt){font-size:.875rem;font-weight:600;margin:0;color:#18181b}.header-main.svelte-o2sewt{display:flex;align-items:center;gap:.5rem}.header-controls.svelte-o2sewt{display:flex;align-items:center;gap:.75rem}.branch-tag.svelte-o2sewt{display:flex;align-items:center;gap:.25rem;padding:.125rem .375rem;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:.25rem;color:#6b7280;font-size:.75rem;font-weight:500}.messages.svelte-o2sewt{flex:1;overflow-y:auto;padding:1.5rem;display:flex;flex-direction:column;gap:1rem}.empty-version-badge.svelte-o2sewt{align-self:center;margin-top:18vh;margin-bottom:auto;padding:.375rem .625rem;border:1px solid #e5e7eb;border-radius:9999px;background:#f9fafb;color:#6b7280;font-size:.75rem;font-weight:500;letter-spacing:.01em}.timeline-item.svelte-o2sewt{display:flex;flex-direction:column;width:100%}.message.svelte-o2sewt{display:flex;max-width:80%}.message.user.svelte-o2sewt{align-self:flex-end}.message.assistant.svelte-o2sewt{align-self:flex-start}.message-content.svelte-o2sewt{padding:.75rem 1rem;border-radius:.75rem;font-size:.875rem;line-height:1.5;white-space:pre-wrap;word-wrap:break-word}.stream-reveal.svelte-o2sewt{display:flex;flex-direction:column;gap:.1rem}.stream-reveal-viewport.svelte-o2sewt{overflow:hidden;height:0px;will-change:height;transition-property:height;transition-duration:var(--stream-reveal-duration-ms, .22s);transition-timing-function:cubic-bezier(.22,1,.36,1)}.stream-reveal-viewport.no-transition.svelte-o2sewt{transition:none}@media(prefers-reduced-motion:reduce){.stream-reveal-viewport.svelte-o2sewt{transition:none}}.message.user.svelte-o2sewt .message-content:where(.svelte-o2sewt){background:#e5e7eb;color:#18181b}.message.assistant.svelte-o2sewt .message-content:where(.svelte-o2sewt){background:#f3f4f6;color:#18181b}.message.streaming.svelte-o2sewt .message-content:where(.svelte-o2sewt){opacity:.9}.thinking-trace.svelte-o2sewt{align-self:flex-start;width:min(100%,42rem);background:#f8fafc;border:1px solid #e2e8f0;border-radius:.75rem;overflow:hidden}.thinking-trace.live.svelte-o2sewt{border-color:#cbd5e1}.thinking-header.svelte-o2sewt{width:100%;border:none;background:transparent;cursor:pointer;padding:.625rem .75rem;font-size:.85rem;color:#334155;display:flex;align-items:center;justify-content:space-between}.thinking-body.svelte-o2sewt{border-top:1px solid #e2e8f0;padding:.5rem .75rem .625rem;font-size:.8rem;line-height:1.5;white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere}.thinking-body.preview.svelte-o2sewt{max-height:calc(7.5em + .5rem);overflow-y:auto}.thinking-body.expanded.svelte-o2sewt{max-height:min(70vh,520px);overflow-y:auto;overscroll-behavior:contain}.chevron.svelte-o2sewt{color:#64748b;margin-left:.5rem}.input-area.svelte-o2sewt{padding:1rem 1.5rem;border-top:1px solid #e5e7eb;background:#f9fafb}.error-message.svelte-o2sewt{padding:.5rem .75rem;background:#7f1d1d;color:#fef2f2;border-radius:.375rem;font-size:.875rem;margin-bottom:.75rem}.input-wrapper.svelte-o2sewt{display:flex;gap:.5rem;align-items:flex-end}.input-wrapper.svelte-o2sewt textarea:where(.svelte-o2sewt){flex:1;padding:.75rem 1rem;background:#fff;border:1px solid #d1d5db;border-radius:.5rem;color:#18181b;font-size:.875rem;resize:none;min-height:44px;max-height:200px;font-family:inherit;overflow-y:auto;overscroll-behavior:contain;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y}.input-wrapper.svelte-o2sewt textarea:where(.svelte-o2sewt):focus{outline:none;border-color:#9ca3af}.input-wrapper.svelte-o2sewt textarea:where(.svelte-o2sewt):disabled{opacity:.5;cursor:not-allowed}.send-button.svelte-o2sewt{display:flex;align-items:center;justify-content:center;width:44px;height:44px;background:#e5e7eb;border:1px solid #9ca3af;border-radius:.5rem;color:#18181b;cursor:pointer;transition:all .2s;flex-shrink:0}.send-button.svelte-o2sewt:hover:not(:disabled){background:#d1d5db}.send-button.svelte-o2sewt:disabled{opacity:.5;cursor:not-allowed}.bottom-sentinel.svelte-o2sewt{width:1px;height:1px}.chat-interface.svelte-viluvb{display:flex;flex-direction:column;height:100%;background:#fff;overflow:hidden;min-height:0;width:100%;padding-bottom:var(--composer-push-up, 0px);transition-property:padding-bottom;transition-duration:var(--composer-push-up-transition-ms, 0ms);transition-timing-function:ease-out}.empty-state.svelte-viluvb{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:#6b7280;text-align:center;padding:2rem}.empty-state.svelte-viluvb h2:where(.svelte-viluvb){font-size:1.25rem;font-weight:600;margin:0 0 .5rem;color:#6b7280}.empty-state.svelte-viluvb p:where(.svelte-viluvb){font-size:.875rem;margin:0}.chat-header.svelte-viluvb{position:sticky;top:0;z-index:20;padding:calc(.75rem + env(safe-area-inset-top)) calc(1rem + env(safe-area-inset-right)) .75rem calc(1rem + env(safe-area-inset-left));border-bottom:1px solid #e5e7eb;background:#f9fafb;touch-action:none}.chat-header.svelte-viluvb h3:where(.svelte-viluvb){font-size:.875rem;font-weight:600;margin:0;color:#18181b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.header-main.svelte-viluvb{display:flex;align-items:center;gap:.5rem;min-width:0}.branch-tag.svelte-viluvb{display:flex;align-items:center;gap:.25rem;padding:.125rem .375rem;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:.25rem;color:#6b7280;font-size:.75rem;font-weight:500;white-space:nowrap}.messages.svelte-viluvb{flex:1;overflow-y:auto;overflow-x:hidden;padding:1rem calc(1rem + env(safe-area-inset-right)) 1rem calc(1rem + env(safe-area-inset-left));display:flex;flex-direction:column;gap:1rem;-webkit-overflow-scrolling:touch;min-height:0;overscroll-behavior-y:contain;overscroll-behavior-x:none;touch-action:pan-y}.empty-version-badge.svelte-viluvb{align-self:center;margin-top:16vh;margin-bottom:auto;padding:.375rem .625rem;border:1px solid #e5e7eb;border-radius:9999px;background:#f9fafbf5;color:#6b7280;font-size:.75rem;font-weight:500;letter-spacing:.01em}.timeline-item.svelte-viluvb{display:flex;flex-direction:column;width:100%}.message.svelte-viluvb{display:flex;max-width:100%}.message.user.svelte-viluvb{align-self:flex-end}.message.assistant.svelte-viluvb{align-self:flex-start}.message-content.svelte-viluvb{padding:.75rem 1rem;border-radius:.75rem;font-size:.95rem;line-height:1.4;white-space:pre-wrap;word-wrap:break-word;overflow-wrap:anywhere;word-break:break-word}.message.user.svelte-viluvb .message-content:where(.svelte-viluvb){background:#e5e7eb;color:#18181b}.message.assistant.svelte-viluvb .message-content:where(.svelte-viluvb){background:#f3f4f6;color:#18181b}.message.streaming.svelte-viluvb .message-content:where(.svelte-viluvb){opacity:.9}.thinking-trace.svelte-viluvb{align-self:flex-start;width:min(100%,42rem);background:#f8fafc;border:1px solid #e2e8f0;border-radius:.75rem;overflow:hidden}.thinking-trace.live.svelte-viluvb{border-color:#cbd5e1}.thinking-header.svelte-viluvb{width:100%;border:none;background:transparent;cursor:pointer;padding:.625rem .75rem;font-size:.85rem;color:#334155;display:flex;align-items:center;justify-content:space-between}.thinking-chevron.svelte-viluvb{color:#64748b;margin-left:.5rem}.thinking-body.svelte-viluvb{border-top:1px solid #e2e8f0;padding:.5rem .75rem .625rem;font-size:.82rem;line-height:1.45;white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere}.thinking-body.preview.svelte-viluvb{max-height:calc(7.25em + .5rem);overflow-y:auto}.thinking-body.expanded.svelte-viluvb{max-height:min(70vh,520px);overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;touch-action:pan-y}.stream-reveal.svelte-viluvb{display:flex;flex-direction:column;gap:.1rem}.stream-reveal-viewport.svelte-viluvb{overflow:hidden;height:0px;will-change:height;transition-property:height;transition-duration:var(--stream-reveal-duration-ms, .22s);transition-timing-function:cubic-bezier(.22,1,.36,1)}.stream-reveal-viewport.no-transition.svelte-viluvb{transition:none}@media(prefers-reduced-motion:reduce){.stream-reveal-viewport.svelte-viluvb{transition:none}}.composer.svelte-viluvb{border-top:1px solid #e5e7eb;background:#f9fafb;padding:.75rem calc(.75rem + env(safe-area-inset-right)) calc(.75rem + env(safe-area-inset-bottom)) calc(.75rem + env(safe-area-inset-left));display:flex;flex-direction:column;gap:.5rem;flex-shrink:0;touch-action:none}.chat-interface.svelte-viluvb:focus-within .composer:where(.svelte-viluvb){padding-bottom:.75rem}.input-row.svelte-viluvb{display:flex;align-items:flex-end;gap:.5rem}.composer-input-wrapper.svelte-viluvb{flex:1;position:relative}.icon-button.svelte-viluvb{display:flex;align-items:center;justify-content:center;width:44px;height:44px;background:#fff;border:1px solid #d1d5db;border-radius:.5rem;color:#18181b;cursor:pointer;flex-shrink:0;touch-action:none}.icon-button.svelte-viluvb:disabled{opacity:.5;cursor:not-allowed}.composer-input.svelte-viluvb{width:100%;padding:.75rem 1rem;background:#fff;border:1px solid #d1d5db;border-radius:.5rem;color:#18181b;font-size:16px;resize:none;min-height:44px;max-height:200px;font-family:inherit;overflow-y:auto;overscroll-behavior:contain;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;touch-action:none}.composer-selection-label.svelte-viluvb{position:absolute;left:50%;top:calc(100% + .25rem);transform:translate(-50%);max-width:100%;padding:0 .5rem;color:#6b7280;font-size:.7rem;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}.composer-input.scrollable.svelte-viluvb{touch-action:pan-y}.composer-input.svelte-viluvb:focus{outline:none;border-color:#9ca3af}.composer-input.svelte-viluvb:disabled{opacity:.5;cursor:not-allowed}.options-panel.svelte-viluvb{background:#fff;border:1px solid #e5e7eb;border-radius:.75rem;padding:.75rem}.options-grid.svelte-viluvb{display:flex;gap:.75rem;align-items:center;justify-content:space-between;flex-wrap:wrap}.mode-row.svelte-viluvb{margin-top:.75rem}.options-panel.svelte-viluvb .agent-selector,.options-panel.svelte-viluvb .model-selector,.options-panel.svelte-viluvb .mode-selector{position:relative;flex:1;min-width:0}.mode-row.svelte-viluvb .mode-selector{width:100%}.options-panel.svelte-viluvb .agent-selector .selector-button,.options-panel.svelte-viluvb .model-selector .selector-button,.options-panel.svelte-viluvb .mode-selector .selector-button{width:100%;justify-content:space-between}.options-panel.svelte-viluvb .agent-selector .dropdown,.options-panel.svelte-viluvb .model-selector .dropdown,.options-panel.svelte-viluvb .mode-selector .dropdown{top:auto!important;bottom:calc(100% + .5rem);left:0!important;right:0!important;min-width:100%!important;max-height:min(60vh,360px);overflow-y:auto;z-index:50;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;touch-action:pan-y}.error-message.svelte-viluvb{padding:.5rem .75rem;background:#7f1d1d;color:#fef2f2;border-radius:.375rem;font-size:.875rem}.bottom-sentinel.svelte-viluvb{width:1px;height:1px}.diffs-root.svelte-yxtyfa{height:100%;display:flex;flex-direction:column;background:#fff;color:#18181b;overflow:hidden;min-height:0}.diffs-header.svelte-yxtyfa{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.6rem calc(.75rem + env(safe-area-inset-right)) .6rem calc(.75rem + env(safe-area-inset-left));border-bottom:1px solid #e5e7eb;background:#f9fafb;flex:0 0 auto}.title.svelte-yxtyfa{min-width:0}.name.svelte-yxtyfa{font-size:.9rem;font-weight:650;line-height:1.1}.subtitle.svelte-yxtyfa{font-size:.75rem;color:#6b7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.header-btn.svelte-yxtyfa{width:36px;height:36px;border-radius:.5rem;border:1px solid #d1d5db;background:#fff;display:flex;align-items:center;justify-content:center;color:#111827;flex:0 0 auto}.diffs-body.svelte-yxtyfa{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch}.empty.svelte-yxtyfa{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1rem;color:#6b7280}.empty-title.svelte-yxtyfa{font-weight:600;margin-bottom:.25rem}.empty-subtitle.svelte-yxtyfa{font-size:.85rem}.files.svelte-yxtyfa{display:flex;flex-direction:column}.file.svelte-yxtyfa{background:#fff;border-bottom:8px solid #ffffff}.file.svelte-yxtyfa:last-child{border-bottom:none}.file-row.svelte-yxtyfa{width:100%;display:flex;align-items:center;gap:.5rem;padding:.75rem calc(.75rem + env(safe-area-inset-right)) .75rem calc(.75rem + env(safe-area-inset-left));background:#f9fafb;text-align:left;border-top:1px solid #d1d5db;border-bottom:1px solid #d1d5db;position:sticky;top:0;z-index:10}.path.svelte-yxtyfa{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;font-weight:600;color:#111827}.status.svelte-yxtyfa{font-size:.72rem;padding:.12rem .4rem;border-radius:999px;border:1px solid #e5e7eb;color:#374151;background:#f3f4f6;flex:0 0 auto;text-transform:capitalize}.status.added.svelte-yxtyfa{background:#ecfdf5;border-color:#a7f3d0;color:#065f46}.status.deleted.svelte-yxtyfa{background:#fef2f2;border-color:#fecaca;color:#7f1d1d}.status.modified.svelte-yxtyfa{background:#eff6ff;border-color:#bfdbfe;color:#1e3a8a}.status.renamed.svelte-yxtyfa{background:#f5f3ff;border-color:#ddd6fe;color:#4c1d95}.status.untracked.svelte-yxtyfa{background:#fffbeb;border-color:#fde68a;color:#92400e}.panel.svelte-yxtyfa{padding:.25rem calc(.25rem + env(safe-area-inset-right)) .5rem calc(.25rem + env(safe-area-inset-left));overflow-x:auto;overscroll-behavior:contain;overscroll-behavior-x:none;overscroll-behavior-y:contain}.loading.svelte-yxtyfa{padding:.5rem .25rem;color:#6b7280;font-size:.85rem}.diff-render.svelte-yxtyfa .diff{font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12.5px;line-height:1.25;letter-spacing:-.01em;width:-moz-max-content;width:max-content;min-width:100%;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}.diff-render.svelte-yxtyfa .line{padding:1px 0;white-space:pre;min-height:1.1em;contain:content}.diff-render.svelte-yxtyfa .line.ctx{background:transparent}.diff-render.svelte-yxtyfa .line.hunk{background:#f3f4f6;color:#6b7280;font-size:11px;padding:4px 8px;margin:4px 0;border-radius:4px;font-style:italic;border:1px solid #e5e7eb}.diff-render.svelte-yxtyfa .line.add{background:#10b9811a;border-left:2px solid rgba(16,185,129,.55);padding-left:6px}.diff-render.svelte-yxtyfa .line.del{background:#ef44441a;border-left:2px solid rgba(239,68,68,.55);padding-left:6px}.diff-render.svelte-yxtyfa .wadd{background:#10b9814d;border-radius:3px}.diff-render.svelte-yxtyfa .wdel{background:#ef44444d;border-radius:3px}.mobile-shell.svelte-m29571{height:100vh;height:100svh;height:100dvh;height:var(--app-height-override, 100dvh);width:100vw;overflow:hidden;background:#fff;color:#18181b;transition-property:height;transition-duration:var(--app-height-transition-ms, 0ms);transition-timing-function:ease-out}.track.svelte-m29571{height:100%;width:300vw;display:flex;will-change:transform;transition:transform .22s ease;touch-action:pan-y}.track.dragging.svelte-m29571,.track.no-transition.svelte-m29571{transition:none}.page.svelte-m29571{width:100vw;height:100%;overflow:hidden;min-height:0}.controls-inner.svelte-m29571{height:100%;display:flex;flex-direction:column;overflow:hidden;border-right:1px solid #e5e7eb;min-height:0}.controls-inner.svelte-m29571 .project-selector,.controls-inner.svelte-m29571 .session-list{min-height:0}.question-overlay.svelte-npi7id{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.question-modal.svelte-npi7id{background:#fff;border-radius:.75rem;max-width:600px;width:100%;max-height:80vh;display:flex;flex-direction:column;box-shadow:0 20px 25px -5px #0000001a}.modal-header.svelte-npi7id{display:flex;align-items:center;justify-content:flex-start;padding:1.25rem;border-bottom:1px solid #e5e7eb}.modal-header.svelte-npi7id h2:where(.svelte-npi7id){margin:0;font-size:1.25rem;font-weight:600;color:#18181b}.modal-body.svelte-npi7id{padding:1.25rem;overflow-y:auto;flex:1}.question-item.svelte-npi7id{margin-bottom:1.5rem}.question-item.svelte-npi7id:last-child{margin-bottom:0}.question-header.svelte-npi7id{margin:0 0 .5rem;font-size:1rem;font-weight:600;color:#18181b}.question-text.svelte-npi7id{margin:0 0 1rem;font-size:.875rem;color:#374151;line-height:1.5}.options.svelte-npi7id{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.option-button.svelte-npi7id{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1rem;background:#fff;border:1px solid #d1d5db;border-radius:.5rem;color:#18181b;text-align:left;cursor:pointer;transition:all .2s}.option-button.svelte-npi7id:hover{background:#f9fafb;border-color:#9ca3af}.option-button.selected.svelte-npi7id{background:#eff6ff;border-color:#3b82f6}.option-button.other.svelte-npi7id .option-label:where(.svelte-npi7id){font-style:italic}.option-content.svelte-npi7id{display:flex;flex-direction:column;gap:.25rem}.option-label.svelte-npi7id{font-weight:500;font-size:.875rem}.option-description.svelte-npi7id{font-size:.75rem;color:#6b7280}.checkmark.svelte-npi7id{color:#3b82f6;font-weight:700}.free-text-input.svelte-npi7id{width:100%;min-height:100px;padding:.75rem;border:1px solid #d1d5db;border-radius:.5rem;font-size:.875rem;font-family:inherit;resize:vertical}.free-text-input.svelte-npi7id:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.modal-footer.svelte-npi7id{display:flex;justify-content:flex-end;gap:.75rem;padding:1.25rem;border-top:1px solid #e5e7eb}.cancel-button.svelte-npi7id{padding:.5rem 1rem;background:#fff;border:1px solid #d1d5db;border-radius:.375rem;color:#374151;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s}.cancel-button.svelte-npi7id:hover{background:#f9fafb}.submit-button.svelte-npi7id{padding:.5rem 1rem;background:#3b82f6;border:none;border-radius:.375rem;color:#fff;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s}.submit-button.svelte-npi7id:hover{background:#2563eb}.permission-overlay.svelte-1lxg8az{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.permission-modal.svelte-1lxg8az{background:#fff;border-radius:.75rem;max-width:700px;width:100%;max-height:80vh;display:flex;flex-direction:column;box-shadow:0 20px 25px -5px #0000001a}.modal-header.svelte-1lxg8az{display:flex;align-items:center;justify-content:flex-start;padding:1.25rem;border-bottom:1px solid #e5e7eb}.header-title.svelte-1lxg8az{display:flex;align-items:center;gap:.75rem}.warning-icon{color:#f59e0b}.modal-header.svelte-1lxg8az h2:where(.svelte-1lxg8az){margin:0;font-size:1.25rem;font-weight:600;color:#18181b}.modal-body.svelte-1lxg8az{padding:1.25rem;overflow-y:auto;flex:1}.permission-info.svelte-1lxg8az{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1.5rem}.info-row.svelte-1lxg8az{display:flex;gap:.5rem;align-items:flex-start}.info-label.svelte-1lxg8az{font-weight:600;color:#374151;min-width:100px;font-size:.875rem}.info-value.svelte-1lxg8az{color:#18181b;font-size:.875rem;word-break:break-word}.info-value.reason.svelte-1lxg8az{color:#dc2626}.info-value.blocked-path.svelte-1lxg8az{font-family:monospace;background:#fef3c7;padding:.25rem .5rem;border-radius:.25rem}.tool-input-section.svelte-1lxg8az{margin-bottom:1.5rem}.tool-input.svelte-1lxg8az{margin-top:.25rem;padding:1rem;background:#1f2937;color:#f9fafb;border-radius:.5rem;font-size:.875rem;font-family:monospace;overflow-x:auto;overflow-y:auto;line-height:1.25rem;max-height:9.5rem;white-space:pre-wrap;word-break:break-word}.suggestions-section.svelte-1lxg8az{background:#eff6ff;border:1px solid #bfdbfe;border-radius:.5rem;padding:1rem}.suggestions-section.svelte-1lxg8az h3:where(.svelte-1lxg8az){margin:0 0 .75rem;font-size:.875rem;font-weight:600;color:#1e40af}.suggestions.svelte-1lxg8az{display:flex;flex-direction:column;gap:.5rem}.suggestion-item.svelte-1lxg8az{display:flex;gap:.5rem;font-size:.875rem}.suggestion-type.svelte-1lxg8az{font-weight:600;color:#1e40af;min-width:100px}.suggestion-content.svelte-1lxg8az{color:#1e3a8a}.modal-footer.svelte-1lxg8az{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;align-items:center;padding:1.25rem;border-top:1px solid #e5e7eb}.deny-button.svelte-1lxg8az{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:#fff;border:1px solid #d1d5db;border-radius:.375rem;color:#dc2626;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s}.deny-button.svelte-1lxg8az{grid-column:2}.deny-button.svelte-1lxg8az:hover{background:#fef2f2;border-color:#fca5a5}.allow-button.svelte-1lxg8az{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:#fff;border:1px solid #d1d5db;border-radius:.375rem;color:#059669;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s}.allow-button.svelte-1lxg8az{grid-column:4}.allow-button.svelte-1lxg8az:hover{background:#ecfdf5;border-color:#6ee7b7}.deny-button.svelte-1lxg8az:disabled,.allow-button.svelte-1lxg8az:disabled{opacity:.6;cursor:not-allowed}.overlay.svelte-s8fgda{position:fixed;inset:0;z-index:1100;background:#000000a6;padding:calc(.75rem + env(safe-area-inset-top)) calc(.75rem + env(safe-area-inset-right)) calc(.75rem + env(safe-area-inset-bottom)) calc(.75rem + env(safe-area-inset-left))}.viewer.svelte-s8fgda{background:#fff;border:1px solid #d1d5db;border-radius:.75rem;width:100%;height:100%;display:flex;flex-direction:column;overflow:hidden}.viewer-header.svelte-s8fgda{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;border-bottom:1px solid #e5e7eb;padding:.875rem 1rem}.meta.svelte-s8fgda{display:flex;flex-direction:column;gap:.25rem;min-width:0}.meta.svelte-s8fgda h3:where(.svelte-s8fgda){margin:0;font-size:1rem;font-weight:600;color:#111827}.close-btn.svelte-s8fgda{border:1px solid #d1d5db;background:#fff;border-radius:.5rem;padding:.5rem .75rem;color:#111827;cursor:pointer;white-space:nowrap}.header-actions.svelte-s8fgda{display:flex;align-items:center;gap:.5rem}.start-btn.svelte-s8fgda{border:1px solid #9ca3af;background:#e5e7eb;border-radius:.5rem;padding:.5rem .75rem;color:#111827;cursor:pointer;white-space:nowrap}.start-btn.svelte-s8fgda:disabled{opacity:.6;cursor:not-allowed}.viewer-body.svelte-s8fgda{flex:1;overflow:auto;padding:1rem}.loading.svelte-s8fgda{font-size:.85rem;color:#6b7280;margin-bottom:.75rem}.markdown-body.svelte-s8fgda{color:#111827;line-height:1.6;overflow-wrap:anywhere}.markdown-body.svelte-s8fgda h1,.markdown-body.svelte-s8fgda h2,.markdown-body.svelte-s8fgda h3,.markdown-body.svelte-s8fgda h4{margin:1rem 0 .5rem;line-height:1.3}.markdown-body.svelte-s8fgda p,.markdown-body.svelte-s8fgda ul,.markdown-body.svelte-s8fgda ol{margin:.5rem 0}.markdown-body.svelte-s8fgda pre{background:#0f172a;color:#e2e8f0;border-radius:.5rem;padding:.75rem;overflow:auto}.markdown-body.svelte-s8fgda code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.85em}.markdown-body.svelte-s8fgda pre.shiki{border:1px solid #d1d5db;background:#f8fafc!important}.markdown-body.svelte-s8fgda blockquote{margin:.75rem 0;padding:.25rem .75rem;border-left:3px solid #d1d5db;color:#4b5563}.markdown-body.svelte-s8fgda table{border-collapse:collapse;width:100%;overflow:auto;display:block}.markdown-body.svelte-s8fgda th,.markdown-body.svelte-s8fgda td{border:1px solid #d1d5db;padding:.35rem .5rem;text-align:left}.app-shell.svelte-1n46o8q{display:flex;flex-direction:column;height:100vh;height:100svh;height:100dvh;height:var(--app-height-override, 100dvh);background:#fff;color:#18181b;overflow:hidden;transition-property:height;transition-duration:var(--app-height-transition-ms, 0ms);transition-timing-function:ease-out}.app.svelte-1n46o8q{display:flex;flex-direction:column;flex:1;overflow:hidden}.loading.svelte-1n46o8q{display:flex;align-items:center;justify-content:center;height:100vh;height:100svh;height:100dvh;font-size:1.2rem}.header.svelte-1n46o8q{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.5rem;border-bottom:1px solid #e5e7eb;background:#f9fafb}.header.svelte-1n46o8q h1:where(.svelte-1n46o8q){font-size:1.25rem;font-weight:600;margin:0}.header-controls.svelte-1n46o8q{display:flex;gap:.75rem;align-items:center}.main.svelte-1n46o8q{display:flex;flex:1;overflow:hidden}.sidebar.svelte-1n46o8q{width:320px;border-right:1px solid #e5e7eb;display:flex;flex-direction:column;overflow:hidden}.sidebar-section.svelte-1n46o8q{min-height:0;display:flex;flex-direction:column;overflow:hidden}.sidebar-section.projects.svelte-1n46o8q,.sidebar-section.sessions.svelte-1n46o8q{flex:1}.chat-area.svelte-1n46o8q{flex:1;overflow:hidden}.mobile-shell.svelte-1n46o8q{display:flex;flex:1;flex-direction:column;min-height:0}.error-banner.svelte-1n46o8q{position:fixed;bottom:1rem;right:1rem;background:#dc2626;color:#fef2f2;padding:.75rem 1rem;border-radius:.5rem;display:flex;align-items:center;gap:.5rem;box-shadow:0 4px 6px -1px #0000001a;max-width:400px}.error-banner.svelte-1n46o8q button:where(.svelte-1n46o8q){background:none;border:none;color:#fef2f2;font-size:1.25rem;cursor:pointer;padding:0;width:1.5rem;height:1.5rem;display:flex;align-items:center;justify-content:center}
