:root{--home-bg:#F6F6F2;--stream-bg-room:#F7F7F4;--stream-bg:#FCFCFC;--stream-bg-panel:#F2F1ED;--stream-bg-panel-header:#F2F1ED;--stream-bg-sunken:#E3E2DD;--stream-text:#292821;--stream-text-secondary:#4A4943;--stream-text-dim:#8B8B86;--stream-text-tool:#4A4943;--stream-border:#EBEAE5;--stream-border-panel:#D9D5CF;--stream-bg-inverse:#26251E;--stream-bg-inverse-hover:#1a1915;--stream-text-inverse:#FCFCFC;--stream-green:#1D9E75;--stream-green-bg:#E3F1DB;--stream-currency:#3DAC88;--stream-red:#DC4A42;--stream-red-dark:#B91C1C;--stream-red-bg:#FEF2F2;--stream-red-border:#FECACA;--stream-blue:#3B7FD9;--stream-amber:#C87E1A;--stream-amber-bg:#FEF3C7;--stream-info-bg:#E6F1FB;--stream-edit-bg:#E6F1FB;--stream-purple:#7C5FC7;--stream-purple-bg:#EEEDFE;--stream-text-faint:#C8C7C0;--accent-color:#6366f1;--accent-color-strong:#4f46e5;--stream-t-blue:#378ADD;--stream-t-teal:#5DCAA5;--stream-t-purple:#7F77DD;--stream-t-amber:#D4AA1E;--stream-t-green:#97C459;--stream-t-purple-bg:#f5f3ff;--stream-t-purple-border:#e8e5f5;--stream-g-cmd:var(--stream-text-dim);--stream-g-tool:var(--stream-t-blue);--stream-g-code:var(--stream-t-teal);--stream-g-err:var(--stream-red);--stream-g-info:var(--stream-t-amber);--stream-font-mono:var(--font-jetbrains-mono),"SF Mono","Fira Code",monospace;--stream-font-sans:var(--font-dm-sans),-apple-system,system-ui,sans-serif;--stream-space-1:4px;--stream-space-2:8px;--stream-space-3:12px;--stream-space-4:16px;--stream-space-6:24px;--stream-space-9:36px;--stream-sidebar-width:260px;--stream-container-pad-x:48px;--stream-radius-sm:3px;--stream-radius-md:5px;--stream-radius-lg:8px;--stream-shadow-sm:0 1px 2px rgba(0,0,0,0.04);--stream-shadow-md:0 4px 16px rgba(0,0,0,0.05);--stream-shadow-lg:0 8px 24px rgba(0,0,0,0.08);--stream-overlay-hover:rgba(0,0,0,0.06);--stream-overlay-active:rgba(0,0,0,0.12);--stream-toggle-knob:#ffffff;--stream-duration-hover:80ms;--stream-duration-state:80ms;--stream-duration-panel-open:140ms;--stream-duration-panel-close:100ms;--stream-ease-panel-open:cubic-bezier(0.2,0.8,0.2,1);--stream-ease-panel-close:cubic-bezier(0.4,0,1,1)}.stream-entry{padding:14px var(--stream-container-pad-x);border-bottom:none}.stream-entry-gutter .stream-agent-text{padding-left:46px}.stream-user-line{display:flex;gap:var(--stream-space-2);align-items:flex-start;margin-bottom:10px}.stream-prompt-char{font-family:var(--stream-font-mono);font-size:15px;font-weight:500;color:var(--stream-text-dim);line-height:1.55;user-select:none;flex-shrink:0}.stream-prompt-text{font-weight:500;line-height:1.55}.stream-agent-text,.stream-prompt-text{font-size:14px;color:var(--stream-text);max-width:720px}.stream-agent-text{font-family:var(--stream-font-sans);line-height:1.65;margin-bottom:4px}.stream-agent-text p{margin-bottom:12px}.stream-agent-text p:last-child{margin-bottom:0}.stream-agent-text strong{font-weight:500}.stream-agent-text a{color:var(--stream-blue);text-decoration:none}.stream-agent-text a:hover{text-decoration:underline}.stream-agent-text code{font-family:var(--stream-font-mono);font-size:12px;background:var(--stream-bg-sunken);padding:2px 5px;border-radius:var(--stream-radius-sm);font-weight:400}.stream-agent-text ol,.stream-agent-text ul{padding-left:20px;margin-bottom:var(--stream-space-2)}.stream-agent-text li{margin-bottom:2px}.stream-agent-text h1{font-size:16px;font-weight:500;margin:20px 0 8px}.stream-agent-text h2{font-size:15px;font-weight:500;margin:18px 0 8px}.stream-agent-text h3{font-size:14px;font-weight:500;margin:14px 0 6px}.stream-agent-text h4{font-size:13px;font-weight:500;margin:12px 0 6px}.stream-agent-text h1:first-child,.stream-agent-text h2:first-child,.stream-agent-text h3:first-child{margin-top:0}.stream-agent-text table{width:100%;border-collapse:collapse;margin:16px 0;font-size:13px}.stream-agent-text th{text-align:left;font-weight:500;background:transparent}.stream-agent-text td,.stream-agent-text th{padding:10px 14px;border-bottom:.5px solid var(--stream-border);color:var(--stream-text)}.stream-agent-text blockquote{border-left:3px solid var(--stream-border);padding-left:12px;color:var(--stream-text-secondary);margin:8px 0}.stream-agent-text hr{border:none;border-top:1px solid var(--stream-border);margin:16px 0}.stream-panel{border:1px solid var(--stream-border-panel);border-radius:var(--stream-radius-md);margin-bottom:10px;overflow:hidden;max-width:none}.stream-panel-full{border:none;border-radius:0}.stream-panel-header{display:flex;align-items:center;gap:6px;padding:8px 14px;background:transparent;font-size:13px;font-family:var(--stream-font-sans);font-weight:500;color:var(--stream-text)}.stream-panel-icon{font-size:11px;opacity:.5}.stream-panel-title{flex:1}.stream-panel-meta{font-weight:400;color:var(--stream-text-dim);margin-left:var(--stream-space-1);text-transform:none;letter-spacing:0}.stream-panel-actions{margin-left:auto;display:flex;gap:2px}.stream-panel-btn{font-size:10px;color:var(--stream-text-dim);padding:2px 6px;border-radius:var(--stream-radius-sm);border:none;background:none;cursor:pointer;font-family:var(--stream-font-mono);font-weight:400;transition:all .1s}.stream-panel-btn:hover{background:var(--stream-border);color:var(--stream-text)}.stream-panel-body{padding:10px;overflow-x:auto}.stream-step{gap:var(--stream-space-2);padding:2.5px 0;font-family:var(--stream-font-mono);font-weight:400;color:var(--stream-text-tool);line-height:1.5;animation:stream-fadeUp .15s ease both}.stream-step,.stream-step .s-icon{display:flex;align-items:center;font-size:12px}.stream-step .s-icon{width:14px;height:14px;justify-content:center;flex-shrink:0}.s-icon.ok{color:var(--stream-green)}.s-icon.err{color:var(--stream-red)}.s-icon.empty{color:var(--stream-amber)}.s-icon.run{color:var(--stream-text-dim)}.stream-step .s-empty-hint{color:var(--stream-amber);font-size:11px;font-style:italic;margin-left:4px}.stream-step .s-arg-chips{display:inline-flex;gap:4px;margin-left:4px}.stream-step .s-arg-chip{display:inline-block;padding:0 5px;font-size:10px;font-weight:500;line-height:14px;color:var(--stream-text-dim);border:1px solid var(--stream-border);white-space:nowrap}.s-answer-block,.stream-step .s-arg-chip{background:var(--stream-bg-panel);border-radius:3px}.s-answer-block{display:flex;align-items:flex-start;gap:6px;margin:4px 0 4px 22px;padding:6px 10px;border-left:2px solid var(--stream-text-dim);font-size:12px;color:var(--stream-text);line-height:1.5}.s-answer-block .s-answer-icon{flex-shrink:0;margin-top:2px;color:var(--stream-text-dim)}.s-result-preview{margin:2px 0 4px 22px}.s-reasoning,.s-result-preview{font-size:11px;color:var(--stream-text-dim);font-style:italic}.s-reasoning{margin:0 0 2px 22px;opacity:.85}.stream-mut-row{display:flex;flex-wrap:wrap;gap:14px;margin:2px 0;animation:stream-fadeUp .15s ease both}.stream-mut-chip{font-size:11px;line-height:16px;color:var(--stream-text);white-space:nowrap}.stream-mut-chip,.stream-mut-chip-inert{display:inline-flex;align-items:center;gap:6px}.stream-mut-chip-inert{cursor:default}.stream-mut-chip-icon{flex-shrink:0;color:var(--stream-text-dim);opacity:.55;transition:opacity .12s ease}.stream-mut-chip-name{font-weight:500;letter-spacing:-.01em}.stream-mut-chip-name--gone{text-decoration:line-through;color:var(--stream-text-dim)}.stream-mut-row .stream-artifact-link{background:transparent;border:none;padding:0;margin:0;font-size:inherit;gap:6px;font-weight:500;letter-spacing:-.01em;align-items:center}.stream-mut-row .stream-artifact-link:hover{background:transparent;border:none}.stream-mut-row .stream-artifact-link-icon{opacity:.55;transform:none;transition:opacity .12s ease}.stream-mut-row .stream-artifact-link:hover .stream-artifact-link-icon{opacity:.85}.stream-mut-row .stream-artifact-link:hover .stream-artifact-link-label{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}.stream-mut-deltas{display:inline-flex;gap:4px}.stream-mut-delta{font-size:10px;font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:0}.stream-mut-delta-add{color:var(--stream-green)}.stream-mut-delta-mod{color:var(--stream-text-dim)}.stream-mut-delta-del{color:var(--stream-red)}.stream-mut-delta-create{color:var(--stream-green)}.s-icon.run .spinner{width:12px;height:12px;border:1.5px solid var(--stream-border);border-top-color:var(--stream-text-dim);border-radius:50%;animation:stream-spin .8s linear infinite}.stream-step .s-label{white-space:nowrap}.stream-step .s-detail{font-style:italic;max-width:320px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stream-step .s-detail,.stream-step .s-time{color:var(--stream-text-dim);font-weight:400}.stream-step .s-time{margin-left:auto;font-size:11px;flex-shrink:0;min-width:36px;text-align:right}.stream-step .s-time.live{color:var(--stream-blue)}.stream-step.verify{padding-left:22px;opacity:.55;font-size:11px}.stream-step-error{padding-left:22px;font-size:11px;font-family:var(--stream-font-mono);font-weight:400;color:var(--stream-red);opacity:.75;margin:1px 0 3px;display:flex;align-items:center;gap:4px}.stream-step-error .error-code{font-weight:500;text-transform:uppercase;font-size:10px;letter-spacing:.02em}.stream-step-error .error-hint{font-weight:400;color:var(--stream-text-dim)}.stream-steps-toggle{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border:1px solid var(--stream-border);border-radius:var(--stream-radius-sm);font-size:11px;font-family:var(--stream-font-mono);font-weight:400;color:var(--stream-green);cursor:pointer;background:none;margin-bottom:var(--stream-space-3);transition:background .1s}.stream-steps-toggle:hover{background:var(--stream-bg-panel)}.stream-steps-toggle .chv{font-size:9px;color:var(--stream-text-dim);transition:transform .15s}.stream-steps-toggle.open .chv{transform:rotate(180deg)}.stream-plan-panel{border:1px solid var(--stream-border);border-radius:var(--stream-radius-md);margin-bottom:14px;overflow:hidden}.stream-plan-header{display:flex;align-items:center;gap:6px;padding:7px 11px;background:var(--stream-bg-panel);font-size:12px;font-family:var(--stream-font-mono);font-weight:400;color:var(--stream-text-secondary);cursor:pointer;user-select:none}.stream-plan-icon{font-size:12px;opacity:.6}.stream-plan-label{flex:1}.stream-plan-status{font-size:11px;font-weight:500;margin-left:auto}.stream-plan-status-done{color:var(--stream-green)}.stream-plan-status-active{color:var(--stream-blue)}.stream-plan-status-failed{color:var(--stream-red)}.stream-plan-chevron{font-size:10px;color:var(--stream-text-dim);margin-left:var(--stream-space-1)}.stream-plan-body{padding:6px 11px}.stream-plan-step{display:flex;align-items:center;gap:7px;padding:3px 0;font-size:12px;font-family:var(--stream-font-mono);font-weight:400;color:var(--stream-text-secondary)}.stream-plan-step.active{color:var(--stream-text);font-weight:400}.stream-plan-step-icon{width:13px;text-align:center;flex-shrink:0;font-size:11px}.stream-plan-step-icon.completed{color:var(--stream-green)}.stream-plan-step-icon.in_progress{color:var(--stream-blue);font-weight:500}.stream-plan-step-icon.pending{color:var(--stream-text-dim)}.stream-plan-step-icon.failed{color:var(--stream-red)}.stream-meta-footer{display:flex;gap:10px;margin-top:10px;font-family:var(--stream-font-mono);font-size:10px;color:var(--stream-text-dim);font-weight:400}.stream-meta-footer .meta-dot{width:4px;height:4px;border-radius:50%;display:inline-block;margin-right:2px;position:relative;top:-1px}.stream-meta-footer .meta-dot.green{background:var(--stream-green)}.stream-meta-footer .meta-sep{color:var(--stream-border);margin-left:2px}.stream-cmd-bar{padding:16px var(--stream-container-pad-x);display:flex;gap:var(--stream-space-2);align-items:flex-start;background:transparent;border:none}.stream-cmd-bar:focus-within{background:transparent;box-shadow:none}.stream-cmd-prompt{font-family:var(--stream-font-mono);font-size:14px;color:var(--stream-text-dim);user-select:none;line-height:1.55;flex-shrink:0}.stream-cmd-input-wrap{flex:1;position:relative;min-width:0;display:flex}.stream-cmd-input{flex:1;border:none;outline:none;transition:height .1s ease;font-size:14px;font-family:var(--stream-font-sans);color:var(--stream-text);background:transparent;padding-left:12px;scrollbar-width:none;-ms-overflow-style:none}.stream-cmd-input::-webkit-scrollbar{display:none}.stream-cmd-input::placeholder{color:var(--stream-text-dim)}.stream-cmd-input:disabled{color:var(--stream-text-dim)}.stream-cmd-stop{width:14px;height:21px;display:flex;align-items:center;justify-content:center;border-radius:50%;border:none;background:none;cursor:pointer;color:var(--stream-text);transition:color .1s}.stream-cmd-stop:hover{color:var(--stream-red)}.stream-welcome-state{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:var(--stream-space-2)}.stream-welcome-title{font-size:14px;font-weight:500;color:var(--stream-text-secondary)}.stream-welcome-sub{font-size:12px;font-family:var(--stream-font-mono);font-weight:400;color:var(--stream-text-dim)}.stream-error{margin:var(--stream-space-2) var(--stream-space-9);padding:var(--stream-space-3) var(--stream-space-4);border-radius:6px;background:var(--stream-red-bg);border:1px solid var(--stream-red-border)}.stream-error .error-title{font-size:13px;font-weight:500;color:var(--stream-red-dark)}.stream-error .error-message{font-size:12px;color:var(--stream-red);margin-top:2px}.stream-error .error-retry{font-size:12px;color:var(--stream-red);background:none;border:none;cursor:pointer;margin-top:6px;text-decoration:none}.stream-error .error-retry:hover{text-decoration:underline}.hd-error-boundary{display:flex;align-items:center;gap:12px;padding:12px 24px;font-family:var(--stream-font-mono);font-size:12px;color:var(--stream-text-dim)}.hd-error-boundary-text{color:var(--stream-red)}.hd-error-boundary-btn{font-family:var(--stream-font-mono);font-size:11px;color:var(--stream-text-secondary);background:none;border:1px solid var(--stream-border);border-radius:var(--stream-radius-sm);padding:2px 8px;cursor:pointer}.hd-error-boundary-btn:hover{color:var(--stream-text);border-color:var(--stream-text-dim)}.stream-hung-indicator{padding:6px 24px;font-family:var(--stream-font-mono);font-size:11px;color:var(--stream-text-dim)}.stream-sidebar-brand{padding:14px var(--stream-space-4) 10px;border-bottom:1px solid var(--stream-border);display:flex;align-items:center;gap:var(--stream-space-2)}.stream-brand-mark{width:28px;height:28px;background:var(--stream-text);border-radius:var(--stream-radius-md);display:flex;align-items:center;justify-content:center;color:var(--stream-bg);font-size:14px;font-weight:500;font-family:var(--stream-font-mono);flex-shrink:0}.stream-brand-name{font-size:13px;font-weight:500;letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stream-brand-level{font-size:12px;font-family:var(--stream-font-mono);font-weight:400;color:var(--stream-text-secondary);background:var(--stream-bg-panel);padding:2px 8px;border-radius:var(--stream-radius-sm);flex-shrink:0}.stream-sidebar-workspace{padding:9px var(--stream-space-4);border-bottom:1px solid var(--stream-border);display:none;gap:11px;flex-wrap:wrap}.stream-ws-stat{font-size:11px;font-family:var(--stream-font-mono);font-weight:400;color:var(--stream-text-dim)}.stream-ws-stat b{font-weight:500;color:var(--stream-text-secondary)}.stream-sidebar-label{font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.08em;padding:10px var(--stream-space-4) 4px}.stream-new-session,.stream-sidebar-label{font-family:var(--stream-font-mono);color:var(--stream-text-dim)}.stream-new-session{display:flex;align-items:center;gap:6px;padding:var(--stream-space-2) var(--stream-space-4);font-size:12px;font-weight:400;cursor:pointer;border:none;background:none;width:100%;text-align:left;transition:all .1s;border-bottom:1px solid var(--stream-border)}.stream-new-session:hover{color:var(--stream-text-secondary);background:var(--stream-bg-panel)}.stream-new-session .stream-plus{font-size:14px;font-weight:400}.stream-sess-delete{display:flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:var(--stream-radius-sm);border:none;background:none;cursor:pointer;color:var(--stream-text-dim);font-size:12px;opacity:0;transition:opacity .1s,color .1s;flex-shrink:0;padding:0}.stream-sess:hover .stream-sess-delete{opacity:1}.stream-sess-delete:hover{color:var(--stream-red)}.stream-sess-confirm{display:flex;align-items:center;gap:6px;font-weight:400;color:var(--stream-text-dim);margin-left:auto}.stream-sess-confirm,.stream-sess-confirm-btn{font-size:11px;font-family:var(--stream-font-mono)}.stream-sess-confirm-btn{border:none;background:none;cursor:pointer;font-weight:500;padding:0 2px;transition:color .1s}.stream-sess-confirm-yes{color:var(--stream-red)}.stream-sess-confirm-yes:hover{color:var(--stream-red-dark)}.stream-sess-confirm-no{color:var(--stream-text-dim)}.stream-sess-confirm-no:hover{color:var(--stream-text-secondary)}.stream-gear-btn{margin-left:auto;display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:var(--stream-radius-sm);border:none;background:none;cursor:pointer;color:var(--stream-text-dim);flex-shrink:0;transition:background var(--stream-duration-hover) ease,color var(--stream-duration-hover) ease}.stream-gear-btn:hover{background:var(--stream-bg-panel);color:var(--stream-text-secondary)}.stream-sess{padding:7px var(--stream-space-4);cursor:pointer;display:flex;align-items:center;gap:7px;transition:background var(--stream-duration-hover) ease}.stream-sess.active,.stream-sess:hover{background:var(--stream-bg-panel)}.stream-sess-dot{width:5px;height:5px;border-radius:50%;background:var(--stream-text-dim);flex-shrink:0;transition:background var(--stream-duration-state) ease}.stream-sess.active .stream-sess-dot{background:var(--stream-green)}.stream-sess-title{font-size:12px;color:var(--stream-text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0;transition:color var(--stream-duration-state) ease}.stream-sess.active .stream-sess-title{color:var(--stream-text);font-weight:500}.stream-sess-badge{font-size:9px;font-family:var(--stream-font-mono);font-weight:500;padding:1px 5px;border-radius:var(--stream-radius-sm);flex-shrink:0}.stream-sess-badge.cron{background:var(--stream-purple-bg);color:var(--stream-purple)}.stream-sess-badge.webhook{background:var(--stream-amber-bg);color:var(--stream-amber)}.stream-sess-time{font-size:10px;color:var(--stream-text-dim);flex-shrink:0;font-family:var(--stream-font-mono);font-weight:400}.stream-area{scrollbar-width:none;-ms-overflow-style:none}.stream-area::-webkit-scrollbar{display:none}.stream-step .s-provider{font-size:10px;font-weight:500;padding:1px 5px;border-radius:var(--stream-radius-sm);background:var(--stream-bg-panel);color:var(--stream-text-secondary);white-space:nowrap}.stream-parallel-group{border-left:2px solid var(--stream-border);padding-left:10px;margin:2px 0}.stream-parallel-label{font-size:10px;font-family:var(--stream-font-mono);font-weight:400;color:var(--stream-text-dim);margin-bottom:2px}.stream-skeleton-line{height:14px;background:var(--stream-border);border-radius:var(--stream-radius-sm);animation:stream-skeletonPulse 1.5s ease-in-out infinite}.stream-skeleton-w-75{width:75%}.stream-skeleton-w-50{width:50%}.stream-skeleton-w-83{width:83%}.stream-skeleton-w-66{width:66%}.stream-skeleton-container{display:flex;flex-direction:column;gap:var(--stream-space-3);transition:opacity .1s ease;padding:var(--stream-space-6) var(--stream-container-pad-x)}.stream-new-content-pill{position:sticky;bottom:var(--stream-space-4);left:50%;transform:translateX(-50%);display:inline-flex;align-items:center;gap:var(--stream-space-1);padding:4px 12px;background:var(--stream-text);color:var(--stream-bg);font-size:11px;font-family:var(--stream-font-mono);font-weight:400;border-radius:20px;cursor:pointer;z-index:10;animation:stream-fadeUp .15s ease-out;border:none}.stream-new-content-pill:hover{opacity:.9}@keyframes stream-fadeUp{0%{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}@keyframes stream-rowFadeIn{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.stream-table-row-enter{animation:stream-rowFadeIn .2s ease-out forwards;opacity:0}@keyframes stream-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes stream-blink{0%,to{opacity:1}50%{opacity:0}}.stream-cursor{display:inline-block;width:2px;height:16px;background:var(--stream-text-dim);margin-left:2px;vertical-align:text-bottom;border-radius:1px;animation:stream-cursorPulse 1.2s ease-in-out infinite;transition:opacity .15s ease}@keyframes stream-cursorPulse{0%,to{opacity:1}50%{opacity:.2}}.stream-entry-streaming .stream-gutter-cell{animation:stream-gutterPulse 1.2s cubic-bezier(.4,0,.6,1) infinite}@keyframes stream-gutterPulse{0%,to{opacity:1}50%{opacity:.25}}.stream-entry-streaming .stream-agent-text{animation:stream-fadeIn .15s ease}@keyframes stream-fadeIn{0%{opacity:0}to{opacity:1}}@keyframes stream-checkPop{0%{transform:scale(1)}50%{transform:scale(1.3)}to{transform:scale(1)}}.stream-check-pop{animation:stream-checkPop .2s ease-out}@keyframes stream-panelSlideIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.stream-panel-enter{animation:stream-panelSlideIn .18s ease-out}.stream-steps-collapsible{overflow:hidden;transition:max-height .2s ease-out,opacity .15s ease-out}.stream-steps-collapsible.collapsed{max-height:0;opacity:0}@keyframes stream-entryFadeIn{0%{opacity:0}to{opacity:1}}.stream-entry-enter{animation:stream-entryFadeIn .15s ease-out}@keyframes stream-skeletonPulse{0%,to{opacity:.4}50%{opacity:.8}}.stream-completion-line{height:.5px;background:var(--stream-border);margin:12px 0 4px;animation:stream-completionSweep .3s ease-out forwards;transform-origin:left;will-change:transform}@keyframes stream-completionSweep{0%{transform:scaleX(0);opacity:0}to{transform:scaleX(1);opacity:1}}.stream-step-group-body{animation:stream-expandIn .2s ease-out;overflow:hidden}@keyframes stream-expandIn{0%{opacity:0;max-height:0}to{opacity:1;max-height:1500px}}.stream-thinking{padding:4px 0;margin-bottom:12px}.stream-char-count{text-align:right;padding:2px var(--stream-space-9) 0;font-size:10px;font-family:var(--stream-font-mono);color:var(--stream-text-dim);transition:color .12s ease}.stream-char-count--warn{color:var(--stream-amber)}.stream-char-count--danger{color:var(--stream-red)}.stream-dedup-notice{padding:8px var(--stream-space-9);font-size:12px;font-family:var(--stream-font-mono);color:var(--stream-text-dim);font-style:italic;animation:stream-fadeUp .15s ease-out}.sb-email{position:relative;max-width:560px;background:var(--stream-bg-panel);border-radius:12px;padding:16px 20px;margin-bottom:12px;animation:stream-panelSlideIn .18s ease-out}.sb-email-copy{position:absolute;top:12px;right:12px;display:flex;align-items:center;gap:4px;padding:4px 8px;background:transparent;border:none;border-radius:4px;color:var(--stream-text-secondary);font-family:var(--stream-font-mono);font-size:12px;cursor:pointer;transition:color .12s ease,background .12s ease}.sb-email-copy:hover{color:var(--stream-text);background:var(--stream-bg-panel-header)}.sb-email-copy:disabled{color:var(--stream-green);cursor:default}.sb-email-field{display:flex;align-items:baseline;gap:12px;padding:3px 0}.sb-email-label{font-family:var(--stream-font-mono);font-size:11px;font-weight:500;color:var(--stream-text-secondary);min-width:60px;flex-shrink:0}.sb-email-value{font-size:13px;font-weight:400;color:var(--stream-text);word-break:break-word}.sb-email-divider{border-top:.5px solid var(--stream-border);margin:8px 0}.sb-email-body{font-size:13px;font-weight:400;color:var(--stream-text);line-height:1.55;white-space:pre-wrap}.sb-metric-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.sb-metric{flex:1;min-width:120px;max-width:180px;border:1px solid var(--stream-border);border-radius:5px;padding:10px 12px;background:var(--stream-bg);animation:stream-panelSlideIn .18s ease-out}.sb-metric-label{font-family:var(--stream-font-mono);font-size:10px;font-weight:500;color:var(--stream-text-secondary);letter-spacing:.04em;display:block;margin-bottom:4px}.sb-metric-value{font-size:18px;font-weight:500;color:var(--stream-text);display:block}.sb-metric-value-green{color:var(--stream-currency)}.sb-metric-value-amber{color:var(--stream-t-amber)}.sb-metric-value--mono{font-family:var(--stream-font-mono);font-variant-numeric:tabular-nums;letter-spacing:-.01em}.sb-record-stack{display:flex;flex-direction:column;gap:12px;margin-bottom:12px}.sb-record{border:none;border-radius:8px;padding:12px 14px;max-width:560px;background:var(--stream-bg-panel);animation:stream-panelSlideIn .18s ease-out}.sb-record-title{font-size:14px;font-weight:500;color:var(--stream-text);margin-bottom:10px}.sb-record-fields{display:flex;flex-direction:column;gap:5px}.sb-record-row{display:flex;align-items:baseline;gap:12px;padding:2px 0}.sb-record-key{font-family:var(--stream-font-mono);font-size:11px;font-weight:500;color:var(--stream-text-secondary);min-width:100px;flex-shrink:0}.sb-record-val{font-size:13px;color:var(--stream-text)}.sb-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px;margin-bottom:8px}.sb-action-btn{font-size:12px;font-family:var(--stream-font-mono);font-weight:400;color:var(--stream-text-secondary);background:none;border:1px solid var(--stream-border);border-radius:5px;padding:5px 12px;cursor:pointer;transition:border-color .1s,color .1s;white-space:nowrap;animation:stream-panelSlideIn .18s ease-out}.sb-action-btn:hover{border-color:var(--stream-text-secondary);color:var(--stream-text)}.sb-checklist{padding:12px 0;margin-bottom:12px;animation:stream-panelSlideIn .18s ease-out}.sb-checklist-title{font-size:13px;font-weight:500;color:var(--stream-text);margin-bottom:8px}.sb-checklist-items{display:flex;flex-direction:column;gap:2px}.sb-checklist-item{display:flex;align-items:center;gap:8px;padding:4px;cursor:pointer;border-radius:3px;transition:opacity .12s ease}.sb-checklist-item:hover{background:var(--stream-bg-panel)}.sb-checklist-item--done{opacity:.5}.sb-checklist-box{width:16px;height:16px;border:1px solid var(--stream-border);border-radius:3px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--stream-green)}.sb-checklist-item--done .sb-checklist-box{background:var(--stream-green);border-color:var(--stream-green);color:var(--stream-bg)}.sb-checklist-label{font-size:13px;font-weight:400;color:var(--stream-text)}.sb-alert{display:flex;gap:10px;padding:2px 0;margin-bottom:8px;animation:stream-panelSlideIn .18s ease-out}.sb-alert-icon{flex-shrink:0;padding-top:2px;display:flex;align-items:flex-start}.sb-alert-content{flex:1;border-left:3px solid var(--stream-border);padding-left:12px;min-width:0}.sb-alert-title{font-weight:500;margin-bottom:2px;line-height:1.4}.sb-alert-body{color:var(--stream-text);line-height:1.5}.sb-alert--info .sb-alert-content{border-left-color:var(--stream-blue)}.sb-alert--info .sb-alert-icon,.sb-alert--info .sb-alert-title{color:var(--stream-blue)}.sb-alert--warning .sb-alert-content{border-left-color:var(--stream-amber)}.sb-alert--warning .sb-alert-icon,.sb-alert--warning .sb-alert-title{color:var(--stream-amber)}.sb-alert--danger .sb-alert-content{border-left-color:var(--stream-red)}.sb-alert--danger .sb-alert-icon,.sb-alert--danger .sb-alert-title{color:var(--stream-red)}.sb-alert--success .sb-alert-content{border-left-color:var(--stream-green)}.sb-alert--success .sb-alert-icon,.sb-alert--success .sb-alert-title{color:var(--stream-green)}.sb-status{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:4px 0;margin-bottom:8px;animation:stream-panelSlideIn .18s ease-out}.sb-status-record{font-weight:500;color:var(--stream-text)}.sb-status-field{font-size:13px;color:var(--stream-text-dim)}.sb-status-pill{padding:2px 8px;border-radius:10px;font-size:12px;line-height:1.4;white-space:nowrap}.sb-status-pill--from{background:var(--stream-bg-panel);color:var(--stream-text-secondary)}.sb-status-pill--to{background:var(--stream-info-bg);color:var(--stream-blue)}.sb-status-arrow{color:var(--stream-text-dim);flex-shrink:0}.sb-timeline{position:relative;padding-left:20px;margin-bottom:12px;animation:stream-panelSlideIn .18s ease-out}.sb-timeline-line{position:absolute;left:4px;top:6px;bottom:6px;width:1px;background:var(--stream-border)}.sb-timeline-entry{position:relative;padding-bottom:14px}.sb-timeline-entry--last{padding-bottom:0}.sb-timeline-dot{position:absolute;left:-19px;top:5px;width:9px;height:9px;border-radius:50%;background:var(--stream-bg);border:1.5px solid var(--stream-text-dim);box-sizing:border-box}.sb-timeline-entry--last .sb-timeline-dot{background:var(--stream-green);border-color:var(--stream-green)}.sb-timeline-date{font-family:var(--stream-font-mono);font-variant-numeric:tabular-nums;font-size:12px;color:var(--stream-text-dim);margin-bottom:2px;letter-spacing:-.01em}.sb-timeline-text{color:var(--stream-text);line-height:1.5}.stream-data-table{width:max-content;min-width:400px;max-width:100%;border-collapse:collapse;font-family:var(--stream-font-sans);font-size:12px;font-weight:400}.stream-data-table th{text-align:left;padding:6px 10px;border-bottom:.5px solid var(--stream-border);font-weight:500;font-size:12px;color:var(--stream-text);cursor:pointer;user-select:none;white-space:nowrap}.stream-data-table th:hover{color:var(--stream-text-secondary)}.stream-data-table td{padding:6px 10px;border-bottom:.5px solid var(--stream-border);color:var(--stream-text);font-weight:400;transition:background .08s}.stream-data-table tr:last-child td{border-bottom:none}.stream-data-table tr:hover td{background:var(--stream-bg-panel)}.stream-data-table .numeric{text-align:left;font-family:var(--stream-font-mono);font-weight:500;color:var(--stream-currency)}.stream-fallback-panel{opacity:.6}.stream-fallback-json{font-family:var(--stream-font-mono);font-size:11px;color:var(--stream-text-dim);white-space:pre-wrap;overflow-x:auto;max-height:200px;overflow-y:auto;margin:0}.stream-brand-level-btn{cursor:pointer;display:inline-flex;align-items:center;gap:4px;transition:background .1s;border:none}.stream-brand-level-btn:hover{background:var(--stream-border)}.stream-level-option{display:flex;align-items:center;gap:8px;width:100%;padding:9px 14px;border:none;background:none;cursor:pointer;font-size:13px;font-family:var(--stream-font-mono);font-weight:400;color:var(--stream-text-secondary);border-radius:var(--stream-radius-sm);transition:background .08s;text-align:left;white-space:nowrap}.stream-level-option:hover{background:var(--stream-bg-panel)}.stream-level-check,.stream-level-option.active{color:var(--stream-text);font-weight:500}.stream-level-check{font-size:14px;margin-left:auto;flex-shrink:0}.stream-level-menu-label{flex:1}.stream-send-btn{display:flex;align-items:center;justify-content:center;border:none;background:transparent;color:var(--stream-text-dim);cursor:default;flex-shrink:0;padding:0;transition:color .15s}.stream-send-btn.ready{color:var(--stream-text);cursor:pointer}.stream-send-btn.ready:hover{opacity:.7}.stream-footer-bar{display:flex;align-items:center;padding:6px 16px 8px;background:transparent;font-family:var(--stream-font-mono);font-size:11px;color:var(--stream-text-dim);gap:8px;user-select:none;flex-shrink:0}.stream-footer-label{font-weight:500;color:var(--stream-text-secondary)}.stream-footer-sep{opacity:.4}.stream-footer-dim,.stream-footer-plan{color:var(--stream-text-dim);font-family:var(--stream-font-mono);font-size:11px}.stream-footer-usage{color:var(--stream-text-secondary)}.stream-footer-usage--warn{color:var(--stream-amber)}.stream-footer-usage--danger{color:var(--stream-red);font-weight:500}.stream-footer-status{margin-left:auto;display:inline-flex;align-items:center;gap:4px;color:var(--stream-text-dim);font-size:11px;font-weight:400;animation:stream-statusIn .2s ease}@keyframes stream-statusIn{0%{opacity:0;transform:translateX(8px)}to{opacity:1;transform:translateX(0)}}.rc-empty{color:var(--stream-text-dim);opacity:.4}.rc-currency,.rc-number,.rc-percent{font-family:var(--stream-font-mono);font-weight:500;text-align:left}.rc-currency{color:var(--stream-currency)}.rc-percent{color:var(--stream-t-blue)}.rc-email,.rc-url{color:var(--stream-blue);text-decoration:none;cursor:pointer}.rc-email:hover,.rc-url:hover{text-decoration:underline}.rc-date,.rc-phone{font-family:var(--stream-font-mono);font-weight:400}.rc-date{color:var(--stream-text-secondary)}.rc-boolean,.rc-pill{font-weight:500}.rc-pill{display:inline-block;padding:1px 8px;border-radius:10px;font-size:11px;white-space:nowrap;line-height:1.6}.rc-pill-sm{padding:0 6px;font-size:10px;margin-right:3px}.rc-multi{display:flex;flex-wrap:wrap;gap:2px}.rc-relation{color:var(--stream-t-purple);font-weight:500}.rc-image{width:24px;height:24px;border-radius:3px;object-fit:cover}.rc-json{font-family:var(--stream-font-mono);font-size:11px;color:var(--stream-text-dim);cursor:help}.rc-stars{color:var(--stream-t-amber);letter-spacing:1px;font-size:1.1em}.stream-t-email{color:var(--stream-blue);text-decoration:none;cursor:pointer}.stream-t-email:hover{text-decoration:underline}.stream-t-url{color:var(--stream-blue);text-decoration:none;cursor:pointer}.stream-t-url:hover{text-decoration:underline}.stream-t-pill{display:inline-block;padding:0 7px;border-radius:10px;font-size:.9em;font-weight:500;white-space:nowrap}.stream-t-stars{letter-spacing:1px;color:var(--stream-t-amber);font-size:1.1em}.stream-t-date{font-family:var(--stream-font-mono);font-weight:500;color:var(--stream-text)}.ghost-inert{opacity:.35;pointer-events:none;user-select:none}.gate-modal{background:var(--stream-bg);border:1px solid var(--stream-border)}.gate-modal-title{font-size:14px;font-weight:500;color:var(--stream-text);letter-spacing:-.005em;margin-bottom:18px}.gate-input-row{display:flex;align-items:stretch;background:var(--stream-bg-sunken);border:1px solid var(--stream-border);border-radius:6px;overflow:hidden;transition:border-color 80ms ease,background 80ms ease}.gate-input-row:focus-within{border-color:var(--stream-text-secondary);background:var(--stream-bg)}.gate-prefix{display:flex;align-items:center;font-size:12px;color:var(--stream-text-dim);padding:0 10px 0 12px;user-select:none;border-right:1px solid var(--stream-border)}.gate-input,.gate-prefix{font-family:var(--stream-font-mono);font-weight:500}.gate-input{flex:1;font-size:13px;color:var(--stream-text);background:transparent;border:none;outline:none;padding:10px 12px;letter-spacing:.08em}.gate-input::placeholder{color:var(--stream-text-dim);font-weight:400;opacity:.55;letter-spacing:.08em}.gate-input:disabled{opacity:.5}.gate-error{font-family:var(--stream-font-mono);font-size:11px;color:var(--stream-red);margin-top:10px;letter-spacing:-.005em}.gate-action{display:flex;justify-content:flex-end;margin-top:18px}.gate-btn{font-family:var(--stream-font-mono);font-size:12px;font-weight:500;color:var(--stream-text-inverse);background:var(--stream-bg-inverse);border:none;border-radius:6px;padding:8px 18px;cursor:pointer;letter-spacing:.01em;transition:background .1s ease,opacity .1s ease}.gate-btn:hover:not(:disabled){background:var(--stream-bg-inverse-hover)}.gate-btn:disabled{opacity:.4;cursor:not-allowed}.stream-empty-desk{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:6px}.stream-empty-title{font-size:16px;font-weight:500;color:var(--stream-text-secondary);margin-bottom:20px}.stream-empty-cards{display:flex;gap:12px}.stream-empty-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px;width:160px;padding:14px 16px;border:1px solid var(--stream-border);border-radius:6px;background:var(--stream-border);color:var(--stream-text-secondary);font-size:13px;font-family:var(--stream-font-sans);cursor:pointer;transition:border-color .12s,background .12s}.stream-empty-card:hover{border-color:var(--stream-text-dim);background:var(--stream-border-panel)}.stream-empty-card:disabled{opacity:.5;cursor:not-allowed}.plans-panel{padding:8px 24px 16px;background:var(--stream-bg)}.plans-header{padding:8px 0 16px}.plans-title{font-size:20px;font-weight:500;color:var(--stream-text);margin:0 0 4px}.plans-subheader{font-size:14px;font-weight:400;color:var(--stream-text-secondary);margin:0}.plans-tier{padding:16px 0}.plans-tier-border{border-top:1px solid var(--stream-border)}.plans-tier-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}.plans-tier-left{display:flex;flex-direction:column;gap:2px}.plans-tier-right{flex-shrink:0}.plans-tier-name{font-size:16px;font-weight:500;color:var(--stream-text)}.plans-tier-current{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-family:var(--stream-font-mono);color:var(--stream-green)}.plans-dot{width:6px;height:6px;border-radius:50%;background:var(--stream-green)}.plans-tier-price{font-size:14px;font-family:var(--stream-font-mono);font-weight:500;color:var(--stream-text-secondary)}.plans-tier-tagline{font-size:12px;color:var(--stream-text-secondary);margin-bottom:10px}.plans-tier-bullets{margin-bottom:4px}.plans-bullet{font-size:12px;color:var(--stream-text-secondary);line-height:1.7}.plans-upgrade-btn{font-size:12px;font-family:var(--stream-font-mono);font-weight:500;color:var(--stream-text);background:none;border:1px solid var(--stream-border);border-radius:var(--stream-radius-sm);padding:5px 14px;cursor:pointer;transition:color .1s,border-color .1s}.plans-upgrade-btn:hover{border-color:var(--stream-text-secondary)}.plans-upgrade-btn:disabled{color:var(--stream-text-secondary);cursor:not-allowed}.plans-current-label{font-size:12px;font-weight:500}.plans-current-label,.plans-footer{font-family:var(--stream-font-mono);color:var(--stream-text-secondary)}.plans-footer{padding-top:12px;border-top:1px solid var(--stream-border);font-size:11px}.stream-copy-cmd{position:absolute;right:8px;top:2px;font-family:var(--stream-font-mono);font-size:10px;color:var(--stream-text-dim);padding:2px 6px;border:.5px solid var(--stream-border);border-radius:3px;background:var(--stream-bg);cursor:pointer;opacity:0;transition:opacity .1s}.stream-entry:hover .stream-copy-cmd{opacity:.7}.stream-copy-cmd:hover{opacity:1!important;color:var(--stream-text-secondary);border-color:var(--stream-text-dim)}.stree-top-action{padding:8px 8px 4px;border-bottom:.5px solid var(--stream-border)}.stree-top-action .stree-row{margin:0;width:100%}.stree-tree{flex:1;overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none}.stree-tree::-webkit-scrollbar{display:none}.stree-section{margin-bottom:0}.stree-section-header{display:flex;align-items:center;gap:6px;padding:5px 8px;margin:2px 8px;border-radius:6px;width:calc(100% - 16px);border:none;background:transparent;font-size:13px;font-weight:500;color:var(--stream-text);cursor:pointer;user-select:none;text-align:left;font-family:inherit}.stree-section-header:hover{background:var(--stream-bg-panel-header)}.stree-section-chv{width:16px;height:16px;color:var(--stream-text-tool);transition:transform .15s ease;flex-shrink:0}.stree-section-chv-open{transform:rotate(90deg)}.stree-section-icon{color:var(--stream-text);flex-shrink:0;width:16px;height:16px}.stree-section-title{flex:1}.stree-section-label{font-size:12px;font-weight:500;color:var(--stream-text-secondary);font-family:var(--stream-font-mono)}.stree-row{display:flex;align-items:center;gap:6px;padding:5px 8px 5px 28px;margin:0 8px;border-radius:6px;width:calc(100% - 16px);border:none;background:transparent;font-size:13px;color:var(--stream-text);cursor:pointer;min-height:24px;text-align:left;font-family:inherit}.stree-row:hover{background:var(--stream-bg-panel-header)}.stree-row-static{cursor:default}.stree-row-active{background:var(--stream-bg-panel-header);color:var(--stream-text);font-weight:500}.stree-row-icon{width:16px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:inherit}.stree-row-label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stree-row-meta{font-family:var(--stream-font-mono);font-size:11px;flex-shrink:0}.stree-dim,.stree-row-meta{color:var(--stream-text-secondary)}.stree-action{color:var(--stream-text-tool)}.stree-action:hover{color:var(--stream-text)}.stree-dot{width:7px;height:7px;border-radius:50%;flex-shrink:0}.stree-dot-active{background:var(--stream-green)}.stree-dot-inactive{background:var(--stream-border-panel)}.stree-dot-connected{background:var(--stream-green)}.stree-dot-available{background:var(--stream-border-panel)}.stree-sess-delete{border:none;background:transparent;color:var(--stream-text-tool);cursor:pointer;padding:2px;visibility:hidden;flex-shrink:0;display:flex;align-items:center;border-radius:3px}.stree-row:hover .stree-sess-delete{visibility:visible}.stree-sess-delete:hover{color:var(--stream-red);background:var(--stream-bg-panel)}@media (hover:none){.stree-sess-delete{visibility:visible}}.stree-sess-confirm{display:flex;align-items:center;gap:6px;flex-shrink:0}.stree-confirm-yes{color:var(--stream-red);font-weight:500}.stree-confirm-no,.stree-confirm-yes{border:none;background:transparent;cursor:pointer;font-size:11px;padding:0;font-family:inherit}.stree-confirm-no{color:var(--stream-text-dim)}.stree-settings-row{display:flex;align-items:center;gap:6px;padding:5px 8px 5px 28px;margin:0 8px;border-radius:6px;width:calc(100% - 16px);border:none;background:transparent;font-size:13px;color:var(--stream-text);cursor:pointer;min-height:24px;text-align:left;font-family:inherit}.stree-settings-row:hover{background:var(--stream-bg-panel-header)}.stree-s-label{flex:1}.stree-s-value{font-family:var(--stream-font-mono);font-size:12px;color:var(--stream-text-secondary)}.stree-s-input{flex:1;border:none;outline:none;background:transparent;font-size:13px;font-weight:500;color:var(--stream-text);font-family:inherit;padding:0;text-align:left;min-width:0}.stree-s-arrow{font-size:16px;color:var(--stream-text-tool);flex-shrink:0}.stree-usage-wrap{display:flex;align-items:center;gap:8px;flex:1;max-width:120px}.stree-usage-bar{flex:1;height:4px;background:var(--stream-bg-panel);border-radius:2px;overflow:hidden}.stree-usage-fill{height:100%;border-radius:2px;background:var(--stream-text);transition:width .3s ease}.stree-usage-pct{font-family:var(--stream-font-mono);font-size:10px;color:var(--stream-text-dim);min-width:28px;text-align:right}.stree-toggle{width:28px;height:16px;border-radius:8px;background:var(--stream-border-panel);position:relative;cursor:pointer;transition:background .15s;flex-shrink:0}.stree-toggle.on{background:var(--stream-green)}.stree-toggle:after{content:"";width:12px;height:12px;border-radius:50%;background:var(--stream-toggle-knob);position:absolute;top:2px;left:2px;transition:transform .15s}.stree-toggle.on:after{transform:translateX(12px)}.stree-delete{color:var(--stream-red)}.stree-delete:hover{background:var(--stream-red-bg)}.stree-delete-text{color:var(--stream-red)}.stree-plan-row{display:flex;align-items:center;gap:6px;padding:5px 8px 5px 28px;margin:0 8px;border-radius:6px;width:calc(100% - 16px);border:none;background:transparent;font-size:13px;color:var(--stream-text);cursor:pointer;min-height:24px;text-align:left;font-family:inherit}.stree-plan-row:hover{background:var(--stream-bg-panel-header)}.stree-plan-current{color:var(--stream-text)}.stree-plan-name{flex:1;font-weight:500}.stree-plan-current .stree-plan-name{font-weight:500}.stree-plan-badge{font-size:9px;padding:1px 5px;border-radius:3px;background:var(--stream-text);color:var(--stream-bg)}.stree-plan-badge,.stree-plan-price{font-family:var(--stream-font-mono);font-weight:500}.stree-plan-price{font-size:12px;color:var(--stream-text-secondary)}.stree-footer{border-top:1px solid var(--stream-border)}.stree-footer-trigger{display:flex;align-items:center;gap:8px;padding:12px 14px;width:100%;border:none;background:transparent;cursor:pointer;text-align:left;font-family:inherit}.stree-footer-trigger:hover{background:var(--stream-bg-panel)}.stree-user-avatar{width:26px;height:26px;border-radius:50%;background:var(--stream-bg-panel-header);display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:500;color:var(--stream-text-secondary);flex-shrink:0}.stree-user-email{font-size:13px;color:var(--stream-text-secondary);font-family:var(--stream-font-mono);flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stree-user-gear{color:var(--stream-text-secondary);flex-shrink:0}.stree-popover-email{padding:8px 10px;font-size:11px;font-family:var(--stream-font-mono);color:var(--stream-text-dim);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-bottom:1px solid var(--stream-border);margin-bottom:4px}.stree-popover-item{display:flex;align-items:center;gap:8px;width:100%;padding:8px 10px;border:none;background:none;cursor:pointer;font-size:13px;color:var(--stream-text-secondary);border-radius:4px;text-align:left;font-family:inherit;transition:background .08s}.stree-popover-item:hover{background:var(--stream-bg-panel);color:var(--stream-text)}.stree-popover-divider{height:1px;background:var(--stream-border);margin:4px 0}.stree-popover-danger{color:var(--stream-red)}.stree-popover-danger:hover{background:var(--stream-red-bg);color:var(--stream-red)}.stream-gutter-row{display:flex;min-height:22px;align-items:flex-start}.stream-gutter-cell{width:30px;flex-shrink:0;display:flex;justify-content:center;padding-top:6px;border-right:1px solid var(--stream-border);align-self:stretch;opacity:1}.stream-content-cell{flex:1;padding-left:16px;min-width:0}.stream-entry-gutter{padding-left:0!important;padding-right:16px}.stream-gutter-cmd{margin-top:12px}.stream-entry:first-child .stream-gutter-cmd{margin-top:0}.stream-g-cmd{color:var(--stream-g-cmd)}.stream-g-tool{color:var(--stream-g-tool)}.stream-g-code{color:var(--stream-g-code)}.stream-g-err{color:var(--stream-g-err)}.stream-g-info{color:var(--stream-g-info)}.stream-g-web{color:var(--stream-t-blue)}.stream-g-db{color:var(--stream-t-teal)}.stream-g-kv{color:var(--stream-t-amber)}.stream-g-exec{color:var(--stream-green)}.stream-g-rag{color:var(--stream-t-purple)}.stream-g-mcp{color:var(--stream-purple)}.stream-g-delegate{color:var(--stream-t-blue)}.stream-step-row{animation:stream-fadeUp .15s ease-out}.stream-step.running{animation:stream-stepPulse 1.5s ease-in-out infinite}@keyframes stream-stepPulse{0%,to{opacity:1}50%{opacity:.6}}.stream-step-group-header{display:flex;align-items:center;gap:6px;padding:3px 0;border:none;background:none;cursor:pointer;font-size:12px;font-family:var(--stream-font-mono);font-weight:400;color:var(--stream-text-secondary);transition:color .1s;width:100%;text-align:left}.stream-step-group-header:hover{color:var(--stream-text)}.stream-step-group-header.running{color:var(--stream-text-tool)}.stream-step-group-chv{color:var(--stream-text-dim);flex-shrink:0}.stream-step-group-label{white-space:nowrap}.stream-step-group-item{padding-left:18px}.spinner-sm{width:10px;height:10px;border:1.5px solid var(--stream-border);border-top-color:var(--stream-text-dim);border-radius:50%;animation:stream-spin .8s linear infinite}.stream-steps-showmore{font-size:11px;font-family:var(--stream-font-mono);color:var(--stream-text-dim);background:none;border:none;cursor:pointer;padding:4px 0}.stream-steps-showmore:hover{color:var(--stream-text-secondary)}.stream-classified-error .stream-content-cell{color:var(--stream-red)}.stream-t-money,.stream-t-pct{color:var(--stream-currency);font-weight:500}.stream-t-neg{color:var(--stream-red);font-weight:500}.stream-t-action{color:var(--stream-green);font-weight:500}.stream-t-op{color:var(--stream-t-purple);font-weight:500}.stream-content-cell strong{color:var(--stream-t-blue);font-weight:500}.stream-content-cell code{color:var(--stream-t-purple);font-family:var(--stream-font-mono);font-size:.9em;background:var(--stream-t-purple-bg);padding:1px 6px;border-radius:3px;border:.5px solid var(--stream-t-purple-border)}.stream-gutter-collapsed .stream-content-cell{opacity:.6}.stream-sidepane{width:420px;flex-shrink:0;border-left:.5px solid var(--stream-border);display:flex;flex-direction:column;height:100%;background:var(--stream-bg-room)}.stream-sidepane-header{flex-shrink:0;padding:10px 16px 4px}.stream-sidepane-title{font-size:13px;font-weight:500;color:var(--stream-text);margin:0}.stream-sidepane-body{flex:1;min-height:0;overflow-y:auto}.stream-sidepane-toggle{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:6px;border:none;background:transparent;color:var(--stream-text-dim);cursor:pointer;transition:background .1s ease,color .1s ease}.stream-sidepane-toggle:hover{background:var(--stream-bg-panel);color:var(--stream-text)}.stream-sidepane-wrapper{width:420px;transition:width var(--stream-duration-panel-open) var(--stream-ease-panel-open);overflow:hidden}.stream-sidepane-wrapper[data-open=false]{width:0;transition:width var(--stream-duration-panel-close) var(--stream-ease-panel-close)}.stream-sidebar-wrapper{width:var(--stream-sidebar-width,260px);transition:width var(--stream-duration-panel-open) var(--stream-ease-panel-open);overflow:hidden}.stream-sidebar-wrapper[data-open=false]{width:0;transition:width var(--stream-duration-panel-close) var(--stream-ease-panel-close)}.stream-asset-list{display:flex;flex-direction:column}.stream-asset-row{display:flex;align-items:center;gap:10px;padding:8px 14px;cursor:pointer;height:32px;transition:background .1s ease;outline:none}.stream-asset-row:focus-visible,.stream-asset-row:hover{background:var(--stream-bg-panel)}.stream-asset-icon{color:var(--stream-text-dim);flex-shrink:0}.stream-asset-title{flex:1;font-size:13px;color:var(--stream-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stream-asset-time{font-family:var(--stream-font-mono);font-size:11px;color:var(--stream-text-dim);font-variant-numeric:tabular-nums;flex-shrink:0}.stream-asset-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:10px;padding:24px;text-align:center}.stream-asset-empty-icon,.stream-asset-empty-text{color:var(--stream-text-dim)}.stream-asset-empty-text{font-size:13px}.stream-asset-retry{font-size:11px;color:var(--stream-text-dim);border:.5px solid var(--stream-border);border-radius:4px;padding:4px 10px;background:transparent;cursor:pointer;transition:background .1s ease}.stream-asset-retry:hover{background:var(--stream-bg-panel)}.block-flash{animation:block-flash-anim .3s ease-out;border-radius:6px}@keyframes block-flash-anim{0%,80%{background-color:var(--stream-bg-panel-header)}to{background-color:transparent}}@media (max-width:600px){.stream-sidepane{display:none}}.stream-btn-primary{background:var(--stream-text);color:var(--stream-bg);border:none;padding:6px 14px;border-radius:5px;font-family:var(--stream-font-mono);font-size:12px;font-weight:500;cursor:pointer;transition:background .12s ease}.stream-btn-primary:hover{background:var(--stream-text-secondary)}.stream-btn-secondary{background:var(--stream-bg);color:var(--stream-text);border:.5px solid var(--stream-border-panel);padding:6px 14px;border-radius:5px;font-family:var(--stream-font-mono);font-size:12px;cursor:pointer;transition:background .12s ease,border-color .12s ease}.stream-btn-secondary:hover{background:var(--stream-bg-panel);border-color:var(--stream-text-dim)}.stream-kbd{background:var(--stream-bg-sunken);border:.5px solid var(--stream-border-panel);color:var(--stream-text-secondary);padding:1px 5px;border-radius:3px;font-family:var(--stream-font-mono);font-size:10px;box-shadow:0 1px 0 var(--stream-border-panel)}.stream-picker-trigger{width:22px;height:22px;border-radius:4px;border:.5px solid transparent;display:flex;align-items:center;justify-content:center;color:var(--stream-text-secondary);cursor:pointer;background:transparent;flex-shrink:0;transition:background 80ms ease,border-color 80ms ease,color 80ms ease}.stream-picker-trigger:hover:not(:disabled){background:var(--stream-bg-panel);border-color:var(--stream-border);color:var(--stream-text)}.stream-picker-trigger:disabled{opacity:.4;cursor:not-allowed}.stream-picker-dropdown{position:absolute;left:0;bottom:calc(100% + 6px);background:var(--stream-bg);border:.5px solid var(--stream-border);border-radius:8px;padding:4px;min-width:240px;max-width:calc(100vw - 40px);max-height:min(320px,calc(100vh - 120px));overflow-y:auto;box-shadow:var(--stream-shadow-md);z-index:50;display:flex;flex-direction:column;gap:1px}.stream-picker-item{display:flex;align-items:center;gap:10px;padding:7px 10px;border-radius:5px;cursor:pointer;font-size:13px;transition:background 80ms ease;background:transparent;border:none;width:100%;text-align:left}.stream-picker-item:hover{background:var(--stream-bg-panel)}.stream-picker-item.active{background:var(--stream-bg-panel-header)}.stream-picker-icon{display:flex;align-items:center;justify-content:center;color:var(--stream-text-dim);flex-shrink:0}.stream-picker-key{font-family:var(--stream-font-mono);color:var(--stream-text);font-size:12px;min-width:70px;flex-shrink:0}.stream-picker-desc{color:var(--stream-text-dim);font-size:12px;flex:1}.stream-mention-dropdown{position:absolute;left:0;bottom:calc(100% + 6px);background:var(--stream-bg);border:.5px solid var(--stream-border);border-radius:8px;padding:6px;min-width:280px;max-width:min(360px,calc(100vw - 40px));max-height:min(360px,calc(100vh - 120px));overflow-y:auto;box-shadow:var(--stream-shadow-md);z-index:50;display:flex;flex-direction:column;animation:stream-fadeIn .1s ease}.stream-mention-section+.stream-mention-section{margin-top:12px}.stream-mention-section-label{font-size:11px;color:var(--stream-text-dim);padding:4px 10px}.stream-mention-section-items{display:flex;flex-direction:column}.stream-mention-item{display:flex;align-items:center;gap:10px;padding:7px 10px;border-radius:5px;cursor:pointer;font-size:13px;transition:background 80ms ease}.stream-mention-item.active{background:var(--stream-bg-panel-header)}.stream-mention-item-icon{display:flex;align-items:center;color:var(--stream-text-dim);flex-shrink:0}.stream-mention-item-label{flex:1;color:var(--stream-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stream-mention-item-meta{color:var(--stream-text-dim);font-size:11px;flex-shrink:0}.stream-mention-empty{color:var(--stream-text-dim);font-size:13px;padding:12px 10px;text-align:center}.stream-tables-view{display:flex;flex-direction:column;flex:1;min-height:0}.stream-tables-loading{padding:16px;display:flex;flex-direction:column;gap:8px}.stream-tables-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;gap:8px;padding:32px}.stream-tables-empty-icon{color:var(--stream-text-dim);opacity:.45;margin-bottom:4px}.stream-tables-empty-title{font-size:14px;font-weight:500;color:var(--stream-text-secondary)}.stream-tables-empty-sub{font-size:12px;font-family:var(--stream-font-mono);color:var(--stream-text-dim)}.stream-tables-empty-cta{margin-top:12px;padding:6px 12px;font-size:12px;font-weight:500;color:var(--stream-text-secondary);background:transparent;border:.5px solid var(--stream-border);border-radius:6px;cursor:pointer;transition:background 80ms ease,color 80ms ease}.stream-tables-empty-cta:hover{background:var(--stream-bg-panel);color:var(--stream-text)}.stream-table-picker{display:flex;align-items:center;padding:0 16px;border-bottom:.5px solid var(--stream-border);background:var(--stream-bg);height:38px;flex-shrink:0;gap:2px;overflow-x:auto;scrollbar-width:none}.stream-table-picker::-webkit-scrollbar{display:none}.stream-table-tab{padding:5px 12px;font-size:12px;font-weight:500;color:var(--stream-text-dim);cursor:pointer;border:none;background:transparent;border-radius:6px;font-family:var(--stream-font-sans);white-space:nowrap;transition:background 80ms ease,color 80ms ease}.stream-table-tab:hover{color:var(--stream-text-secondary);background:var(--stream-bg-panel)}.stream-table-tab.active{color:var(--stream-text);background:var(--stream-bg-panel)}.stream-table-add{padding:5px 12px;font-size:12px;color:var(--stream-text-dim);cursor:pointer;border:none;background:transparent;margin-left:4px;border-radius:6px;white-space:nowrap;transition:background 80ms ease,color 80ms ease;font-family:var(--stream-font-sans)}.stream-table-add:hover{color:var(--stream-text-secondary);background:var(--stream-bg-panel)}.stream-grid-wrap{flex:1;min-height:0;overflow:auto;scrollbar-width:none}.stream-grid-wrap::-webkit-scrollbar{display:none}.stream-grid-loading{padding:16px;display:flex;flex-direction:column;gap:1px}.stream-grid{width:100%;border-collapse:collapse;font-size:13px;font-family:var(--stream-font-sans)}.stream-grid thead{position:sticky;top:0;z-index:5;background:var(--stream-bg)}.stream-grid th{background:var(--stream-bg);border-bottom:.5px solid var(--stream-border);padding:8px 14px;text-align:left;font-weight:500;font-size:12px;color:var(--stream-text-secondary);white-space:nowrap;cursor:pointer;user-select:none;transition:color 80ms ease}.stream-grid th.sorted,.stream-grid th:hover{color:var(--stream-text)}.stream-grid-col-icon{margin-right:6px}.stream-grid-col-icon,.stream-grid-sort{display:inline-flex;align-items:center;justify-content:center;color:var(--stream-text-dim);vertical-align:middle}.stream-grid-sort{margin-left:6px;opacity:.5}.stream-grid th.sorted .stream-grid-sort{opacity:1;color:var(--stream-text)}.stream-grid td{padding:8px 14px;border-bottom:.5px solid var(--stream-border);vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--stream-text)}.stream-grid td[data-type=number],.stream-grid th[data-type=number]{max-width:100px;text-align:right;font-family:var(--stream-font-mono);font-size:12px}.stream-grid td[data-type=email],.stream-grid td[data-type=url],.stream-grid th[data-type=email],.stream-grid th[data-type=url]{max-width:240px}.stream-grid td[data-type=status],.stream-grid th[data-type=status]{max-width:140px}.stream-grid td[data-type=date],.stream-grid th[data-type=date]{max-width:120px}.stream-grid td[data-type=text],.stream-grid th[data-type=text]{max-width:280px}.stream-grid td[data-type=longtext],.stream-grid th[data-type=longtext]{max-width:320px}.stream-grid-rownum{width:40px;color:var(--stream-text-dim);font-family:var(--stream-font-mono);font-size:11px;text-align:center;background:var(--stream-bg);border-right:.5px solid var(--stream-border);position:relative}.stream-grid-rownum-index{transition:opacity var(--motion-duration-tap,.12s) ease}.stream-grid-row-expand{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;border:none;background:transparent;color:var(--stream-text-dim);cursor:pointer;opacity:0;transition:opacity var(--motion-duration-tap,.12s) ease,color var(--motion-duration-tap,.12s) ease}.stream-grid tr:hover .stream-grid-rownum-index{opacity:0}.stream-grid tr:hover .stream-grid-row-expand{opacity:1}.stream-grid-row-expand:hover{color:var(--stream-text)}@media (hover:none){.stream-grid-rownum-index{opacity:0}.stream-grid-row-expand{opacity:.55}}.stream-grid-toolbar{display:flex;align-items:center;gap:10px;padding:6px 8px;border-bottom:.5px solid var(--stream-border);background:var(--stream-bg);font-family:var(--stream-font-sans)}.stream-grid-toolbar-btn{display:inline-flex;align-items:center;gap:5px;height:26px;padding:0 9px;border:.5px solid var(--stream-border);border-radius:6px;background:transparent;color:var(--stream-text-secondary);font-size:12px;font-weight:500;cursor:pointer;transition:background-color var(--motion-duration-tap,.12s) ease,color var(--motion-duration-tap,.12s) ease}.stream-grid-toolbar-btn.is-active,.stream-grid-toolbar-btn:hover{background:var(--stream-bg-panel);color:var(--stream-text)}.stream-grid-toolbar-btn.is-active{border-color:var(--stream-text-dim)}.stream-grid-toolbar-count{display:inline-flex;align-items:center;justify-content:center;min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:var(--stream-text-dim);color:var(--stream-bg);font-size:10px;font-weight:600;font-family:var(--stream-font-mono)}.stream-grid-toolbar-badge{font-size:11px;color:var(--stream-text-dim);font-family:var(--stream-font-mono)}.stream-grid-toolbar-clear{display:inline-flex;align-items:center;gap:3px;margin-left:auto;padding:2px 6px;border:none;border-radius:5px;background:transparent;color:var(--stream-text-dim);font-size:11px;font-family:var(--stream-font-sans);cursor:pointer}.stream-grid-toolbar-clear:hover{color:var(--stream-text);background:var(--stream-bg-panel)}.stream-grid-filter-row th{padding:4px 6px;background:var(--stream-bg);border-bottom:.5px solid var(--stream-border)}.stream-grid-filter-input{width:100%;height:24px;padding:0 7px;border:.5px solid var(--stream-border);border-radius:5px;background:var(--stream-bg-room);color:var(--stream-text);font-size:12px;font-family:var(--stream-font-sans);outline:none}.stream-grid-filter-input:focus{border-color:var(--stream-text-dim);background:var(--stream-bg)}.stream-grid-filter-input::placeholder{color:var(--stream-text-dim)}.stream-grid-cell-checkbox{width:15px;height:15px;margin:0;cursor:pointer;accent-color:var(--stream-text)}.stream-grid-cell-select{cursor:pointer;padding-right:4px;background:var(--stream-bg);color:var(--stream-text);font-family:var(--stream-font-sans)}.stream-grid-compute{display:inline-flex;align-items:center;gap:5px}.stream-grid-compute-running{color:var(--stream-text-dim)}.stream-grid-compute-spin{flex-shrink:0;animation:stream-grid-compute-spin .8s linear infinite}@keyframes stream-grid-compute-spin{to{transform:rotate(1turn)}}.stream-grid-compute-stale{opacity:.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stream-grid-compute-failed{color:var(--stream-red,#dc2626);cursor:help}.stream-grid-compute-error-label{font-size:12px}.stream-grid-computed-marker{display:inline-flex;align-items:center;margin-left:3px;color:var(--stream-text-dim);cursor:help;vertical-align:middle}@media (prefers-reduced-motion:reduce){.stream-grid-compute-spin{animation:none}}.stream-grid-link{color:var(--stream-blue);text-decoration:none}.stream-grid-link:hover{text-decoration:underline}.stream-grid-null{color:var(--stream-text-dim)}.stream-grid-json{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle;font-family:var(--stream-font-mono);font-size:12px;color:var(--stream-text-secondary)}.stream-grid tr:hover .stream-grid-rownum,.stream-grid tr:hover td{background:var(--stream-bg-panel)}.stream-grid-empty{padding:48px 16px;gap:6px}.stream-grid-empty,.stream-grid-empty-bare{display:flex;flex-direction:column;align-items:center;justify-content:center}.stream-grid-empty-bare{flex:1;min-height:60vh;padding:32px 16px;gap:8px}.stream-grid-empty-title{font-size:13px;font-weight:500;color:var(--stream-text-secondary)}.stream-grid-empty-sub{font-size:12px;font-family:var(--stream-font-mono);color:var(--stream-text-dim)}.stream-grid tbody tr{transition:background 80ms ease}.stream-grid tbody tr:hover:not(.stream-grid-row-active){background:var(--stream-bg-room)}.stream-grid-row-active{background:var(--stream-bg-sunken)}.stream-grid-cell-active{box-shadow:inset 0 0 0 1px var(--stream-blue);transition:box-shadow 80ms ease}.stream-grid-cell-content{position:relative;display:block}.stream-grid-cell-input{width:100%;font-family:inherit;font-size:inherit;color:var(--stream-text);background:var(--stream-bg-panel);border:none;outline:1px solid var(--stream-blue);padding:0;margin:0;box-sizing:border-box}.stream-grid-cell-hint{position:absolute;top:100%;left:50%;transform:translate(-50%,4px);z-index:5;pointer-events:none;white-space:nowrap;background:var(--stream-text);color:var(--stream-bg-sunken);font-family:var(--stream-font-mono);font-size:10px;padding:3px 6px;border-radius:3px;letter-spacing:.02em;opacity:.92}.stream-grid-footer{display:flex;align-items:center;justify-content:space-between;padding:8px 16px;font-family:var(--stream-font-mono);font-size:11px;color:var(--stream-text-dim);border-top:.5px solid var(--stream-border);background:var(--stream-bg);flex-shrink:0}.stream-grid-pagination{display:inline-flex;align-items:center;gap:8px}.stream-grid-page-btn{width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;border:none;background:transparent;color:var(--stream-text-dim);cursor:pointer;border-radius:4px;transition:background 80ms ease,color 80ms ease}.stream-grid-page-btn:hover:not(:disabled){background:var(--stream-bg-panel);color:var(--stream-text)}.stream-grid-page-btn:disabled{opacity:.4;cursor:not-allowed}.stream-grid-pill{display:inline-block;padding:2px 10px;border-radius:10px;font-size:11px;font-weight:500;white-space:nowrap;line-height:1.5}.stream-grid-pill-high,.stream-grid-pill-lost{background:var(--stream-red-bg);color:var(--stream-red)}.stream-grid-pill-medium,.stream-grid-pill-on-hold{background:var(--stream-amber-bg);color:var(--stream-amber)}.stream-grid-pill-complete,.stream-grid-pill-low,.stream-grid-pill-won{background:var(--stream-green-bg);color:var(--stream-green)}.stream-grid-pill-in-progress,.stream-grid-pill-new{background:var(--stream-info-bg);color:var(--stream-blue)}.stream-grid-pill-contacted{background:var(--stream-purple-bg);color:var(--stream-purple)}.stream-grid-pill-no-action,.stream-grid-pill-not-started{background:var(--stream-border);color:var(--stream-text-dim)}.stream-panel-action{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;font-size:11px;font-weight:500;color:var(--stream-text-dim);background:transparent;border:.5px solid var(--stream-border);border-radius:4px;cursor:pointer;margin-left:8px;transition:background 80ms ease,color 80ms ease,border-color 80ms ease;font-family:var(--stream-font-sans)}.stream-panel-action:hover{background:var(--stream-bg-panel);color:var(--stream-text);border-color:var(--stream-border-panel)}.agent-shell-center{position:relative;flex:1;min-width:0;flex-direction:column;overflow:hidden;--command-bar-height:64px}.agent-shell-center,.agent-subtab-row{display:flex;background:var(--stream-bg-room)}.agent-subtab-row{align-items:stretch;height:36px;border-bottom:.5px solid var(--stream-border);flex-shrink:0}.agent-subtab-bar{display:flex;align-items:center;flex:1;min-width:0;padding:0 12px;gap:1px;overflow-x:auto;scrollbar-width:none}.agent-subtab-bar::-webkit-scrollbar{display:none}.agent-subtab-item{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px;min-width:80px;max-width:200px;border:.5px solid transparent;border-radius:6px;background:transparent;color:var(--stream-text-secondary);font-size:12px;font-weight:400;font-family:var(--stream-font-sans);cursor:pointer;transition:background 80ms ease,color 80ms ease,border-color 80ms ease;white-space:nowrap;user-select:none;flex-shrink:0}.agent-subtab-item:hover:not(.active){background:var(--stream-bg-panel);color:var(--stream-text)}.agent-subtab-item:active:not(.active){background:var(--stream-border)}.agent-subtab-item.active{background:var(--stream-bg);color:var(--stream-text);font-weight:500;border-color:var(--stream-border);cursor:default}.agent-subtab-icon{display:inline-flex;align-items:center;justify-content:center;color:var(--stream-text-dim);flex-shrink:0;opacity:.85}.agent-subtab-item.active .agent-subtab-icon{color:var(--stream-text);opacity:1}.agent-subtab-label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-subtab-input,.stree-row-input{background:transparent;border:none;outline:none;padding:0;font:inherit;color:inherit}.agent-subtab-close{width:16px;height:16px;display:inline-flex;align-items:center;justify-content:center;border:none;background:transparent;color:var(--stream-text-dim);border-radius:3px;cursor:pointer;flex-shrink:0;opacity:.4;transition:opacity 80ms ease,background 80ms ease,color 80ms ease;padding:0;margin-left:2px;margin-right:-4px}.agent-subtab-item.active .agent-subtab-close,.agent-subtab-item:hover .agent-subtab-close{opacity:1}.agent-subtab-close:hover{background:var(--stream-border-panel);color:var(--stream-text)}.agent-subtab-close:active{background:var(--stream-bg-sunken)}.agent-tab-viewport{flex:1;min-height:0;overflow-y:auto;position:relative;background:var(--stream-bg-room);padding-bottom:var(--command-bar-height);scrollbar-width:none;display:flex}.agent-tab-viewport::-webkit-scrollbar{display:none}.agent-tab-content-centered{width:100%;max-width:720px;margin:0 auto;padding:32px 24px}.agent-command-bar{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:flex-start;gap:12px;padding:8px 16px;background:var(--stream-bg);border-top:.5px solid var(--stream-border);z-index:5}.agent-command-bar:before{content:"";position:absolute;top:-1px;left:0;right:0;height:1px;background:var(--accent-color);opacity:0;pointer-events:none;transition:opacity .12s ease-out}.agent-command-bar[data-working=true]:before{animation:agent-command-bar-pulse 1.4s ease-in-out infinite}@keyframes agent-command-bar-pulse{0%,to{opacity:.25}50%{opacity:.75}}@media (prefers-reduced-motion:reduce){.agent-command-bar[data-working=true]:before{animation:none;opacity:.5}}.agent-command-bar-input{flex:1;min-width:0}.agent-command-bar-footer{flex-shrink:0;display:flex;align-items:center;overflow:hidden;max-width:50%}.agent-command-bar-input .stream-cmd-bar{padding:0}.stream-footer-bar--compact{padding:0;border-top:none;white-space:nowrap}.stream-footer-agent-name{color:var(--stream-text);max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stream-footer-bar--compact .stream-footer-agent-name{max-width:100px}.agent-sidepane-toggle{flex-shrink:0;align-self:center;margin:0 8px 0 4px;width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border:none;background:transparent;color:var(--stream-text-dim);border-radius:6px;cursor:pointer;transition:background 80ms ease,color 80ms ease}.agent-sidepane-toggle:hover{background:var(--stream-bg-panel);color:var(--stream-text)}.agent-split-toggle{flex-shrink:0;align-self:center;margin:0 0 0 4px;width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border:none;background:transparent;color:var(--stream-text-dim);border-radius:6px;cursor:pointer;transition:background 80ms ease,color 80ms ease}.agent-split-toggle:hover{background:var(--stream-bg-panel);color:var(--stream-text)}.agent-split-toggle:disabled{cursor:not-allowed}.agent-split-toggle:disabled,.agent-split-toggle:disabled:hover{color:var(--stream-text-faint);background:transparent}.agent-empty-tab{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;min-height:60vh;gap:8px;padding:32px}.agent-empty-name{font-family:var(--stream-font-sans);font-size:16px;font-weight:500;color:var(--stream-text-secondary)}.agent-empty-tagline{font-family:var(--stream-font-mono);font-size:13px;color:var(--stream-text-dim)}.agent-tab-error{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;min-height:60vh;gap:16px;padding:32px}.agent-tab-error-message{font-family:var(--stream-font-sans);font-size:13px;color:var(--stream-text)}.agent-task-tab{width:100%;max-width:720px;margin:0 auto;padding:32px 24px;display:flex;flex-direction:column;gap:20px;animation:stream-fadeUp .1s ease both}.agent-task-title{width:100%;border:none;outline:none;background:transparent;font-family:var(--stream-font-sans);font-size:20px;font-weight:500;color:var(--stream-text);padding:4px 0;line-height:1.3}.agent-task-title::placeholder{color:var(--stream-text-dim);opacity:.6}.agent-task-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.agent-task-meta-id{font-size:11px;margin-left:auto}.agent-task-desc-label,.agent-task-meta-id{font-family:var(--stream-font-mono);color:var(--stream-text-dim)}.agent-task-desc-label{font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.08em;margin-bottom:8px}.agent-task-desc{width:100%;border:none;outline:none;background:transparent;font-family:var(--stream-font-sans);font-size:14px;color:var(--stream-text);line-height:1.65;resize:none;min-height:200px;padding:0;scrollbar-width:none;-ms-overflow-style:none}.agent-task-desc::-webkit-scrollbar{display:none}.agent-task-desc::placeholder{color:var(--stream-text-dim);opacity:.6}.agent-table-tab{width:100%;height:100%;display:flex;flex-direction:column;animation:stream-fadeUp .1s ease both}.stream-artifact-link{display:inline-flex;align-items:baseline;gap:4px;padding:1px 7px;margin:0 1px;background:var(--stream-bg-panel);border:.5px solid var(--stream-border);border-radius:4px;font-size:.92em;color:var(--stream-text);cursor:pointer;transition:background 80ms ease,border-color 80ms ease,color 80ms ease;vertical-align:baseline;user-select:none;outline:none}.stream-artifact-link:hover{background:var(--stream-bg-panel-header);border-color:var(--stream-border-panel)}.stream-artifact-link:focus-visible{border-color:var(--stream-text-secondary)}.stream-artifact-link-icon{color:var(--stream-text-secondary);flex-shrink:0;transform:translateY(2px)}.stream-artifact-link-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:200px}.stream-artifact-link-missing{opacity:.55;text-decoration:line-through;text-decoration-thickness:.5px}.stream-artifact-link-missing:hover{opacity:.8;background:var(--stream-bg-panel)}.stream-artifact-link-plain{font-family:var(--stream-font-mono);font-size:.88em;color:var(--stream-text-dim)}.stream-artifact-link-tooltip{display:inline-flex;align-items:center;gap:6px;font-family:var(--stream-font-mono);font-size:11px}.stream-artifact-link-tooltip-url{user-select:all}.stream-artifact-link-copy{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;padding:0;border:none;background:transparent;color:inherit;border-radius:3px;cursor:pointer;opacity:.7;transition:opacity 80ms ease,background 80ms ease}.stream-artifact-link-copy:hover{opacity:1;background:var(--stream-overlay-hover)}.stream-artifact-link.variant-input{padding:0 5px;font-size:.9em;margin:0}.agent-subtab-plus{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;margin:0 6px 0 4px;border:none;background:transparent;color:var(--stream-text-secondary);border-radius:4px;cursor:pointer;flex-shrink:0;align-self:center;transition:background 80ms ease,color 80ms ease}.agent-subtab-plus:hover:not(:disabled){background:var(--stream-bg-panel);color:var(--stream-text)}.agent-subtab-plus:focus-visible{outline:.5px solid var(--stream-text-secondary);outline-offset:1px}.agent-subtab-plus:disabled{opacity:.5;cursor:not-allowed}.agent-subtab-plus-menu{background:var(--stream-bg-sunken)!important;border:.5px solid var(--stream-border-panel)!important;border-radius:6px;box-shadow:var(--stream-shadow-md)}.agent-subtab-plus-item{display:flex!important;align-items:center;gap:8px;padding:6px 10px!important;font-size:12px!important;color:var(--stream-text);border-radius:4px;cursor:pointer;font-family:var(--stream-font-sans)}.agent-subtab-plus-item:focus,.agent-subtab-plus-item:hover{background:var(--stream-bg-panel)!important;outline:none}.artifact-markdown-page{color:var(--stream-text)}.artifact-markdown-page h1{font-size:24px;font-weight:600;line-height:1.3;margin-top:1.6em;margin-bottom:.5em}.artifact-markdown-page h2{font-size:19px;font-weight:600;line-height:1.35;margin-top:1.4em;margin-bottom:.4em}.artifact-markdown-page h3{font-size:16px;font-weight:600;line-height:1.4;margin-top:1.2em;margin-bottom:.3em}.artifact-markdown-page p{line-height:1.7;margin-bottom:1.1em;color:var(--stream-text)}.artifact-markdown-page ol,.artifact-markdown-page ul{line-height:1.5;margin-bottom:1em;padding-left:1.5em}.artifact-markdown-page li{margin-bottom:.3em}.artifact-markdown-page pre{padding:14px 16px;margin:1em 0}.page-tab{height:max-content;padding:24px 32px;max-width:720px;margin:0 auto;width:100%;animation:stream-fadeUp .1s ease both}.page-tab-title{font-size:16px;font-weight:500;color:var(--stream-text);background:transparent;border:none;outline:none;padding:4px 0;width:100%;font-family:inherit;margin-bottom:4px;transition:padding 80ms ease,background 80ms ease,margin 80ms ease}.page-tab-title::placeholder{font-style:italic;color:var(--stream-text-dim);font-weight:400}.page-tab-title:focus{background:var(--stream-bg-sunken);border-radius:var(--stream-radius-sm);padding:4px 8px;margin:0 -8px 4px}.page-tab-attribution{font-size:12px;color:var(--stream-text-dim);font-family:var(--stream-font-mono);padding-bottom:16px;margin-bottom:16px;border-bottom:.5px solid var(--stream-border)}.page-tab-body{min-height:200px;position:relative}.page-tab-body-readonly{cursor:text}.page-tab-body-empty{font-style:italic;color:var(--stream-text-dim);font-size:14px;margin:0}.page-tab-textarea{width:100%;min-height:200px;field-sizing:content;font-family:var(--stream-font-mono);font-size:13px;line-height:1.6;color:var(--stream-text);background:transparent;padding:8px 12px;border:none;border-left:2px solid var(--stream-border-panel);outline:none;resize:vertical;scrollbar-width:none;-ms-overflow-style:none}.page-tab-textarea::-webkit-scrollbar{display:none}.page-tab-textarea:focus{border-left-color:var(--stream-text-dim)}.page-tab-skeleton{padding:24px 32px;max-width:720px;margin:0 auto}.page-tab-skeleton-title{height:24px;width:60%;background:var(--stream-bg-sunken);border-radius:var(--stream-radius-sm);margin-bottom:12px;animation:stream-skeletonPulse 1.4s ease-in-out infinite}.page-tab-skeleton-attribution{width:35%;margin-bottom:24px}.page-tab-skeleton-attribution,.page-tab-skeleton-block{height:14px;background:var(--stream-bg-sunken);border-radius:var(--stream-radius-sm);opacity:.7;animation:stream-skeletonPulse 1.4s ease-in-out infinite}.page-tab-skeleton-block{margin-bottom:12px}.page-tab-skeleton-block:nth-child(odd){width:90%}.page-tab-skeleton-block:nth-child(2n){width:75%}.page-tab-error{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;padding:48px 32px;gap:12px;color:var(--stream-text-dim)}.page-tab-error-title{font-size:14px;font-weight:500;color:var(--stream-text)}.page-tab-error-cta{font-size:12px;color:var(--stream-text-secondary);background:none;border:1px solid var(--stream-border);border-radius:var(--stream-radius-sm);padding:4px 12px;cursor:pointer;font-family:var(--stream-font-mono)}.page-tab-error-cta:hover{color:var(--stream-text);border-color:var(--stream-text-dim)}.stream-activity-list{display:flex;flex-direction:column;gap:2px}.stream-activity-row{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:4px;font-size:12px;color:var(--stream-text)}.stream-activity-row:hover{background:var(--stream-bg-sunken)}.stream-activity-row-undone{opacity:.5;text-decoration:line-through}.stream-activity-icon{flex:0 0 auto;color:var(--stream-text-dim)}.stream-activity-summary{flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stream-activity-time{flex:0 0 auto;font-size:10px;color:var(--stream-text-dim);font-family:var(--stream-font-mono)}.stream-activity-empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:24px 16px}.stream-activity-empty,.stream-activity-empty-icon{color:var(--stream-text-dim)}.stream-activity-empty-text{font-size:12px}.stream-activity-load-more,.stream-activity-retry{background:none;border:1px solid var(--stream-border);border-radius:4px;padding:4px 10px;font-size:11px;color:var(--stream-text);cursor:pointer;font-family:inherit}.stream-activity-load-more:hover,.stream-activity-retry:hover{background:var(--stream-bg-sunken)}.stream-activity-load-more:disabled,.stream-activity-retry:disabled{opacity:.5;cursor:default}.stream-activity-load-more{margin:8px auto;display:block}.stream-code,.stream-code code,.stream-code pre{color:var(--stream-text);background:transparent}.stream-code .token.cdata,.stream-code .token.comment,.stream-code .token.doctype,.stream-code .token.prolog{color:var(--stream-text-dim);font-style:italic}.stream-code .token.punctuation{color:var(--stream-text-secondary)}.stream-code .token.atrule,.stream-code .token.important,.stream-code .token.keyword,.stream-code .token.operator,.stream-code .token.rule{color:var(--stream-t-purple)}.stream-code .token.attr-value,.stream-code .token.char,.stream-code .token.regex,.stream-code .token.string{color:var(--stream-t-green)}.stream-code .token.class-name,.stream-code .token.function,.stream-code .token.function-name,.stream-code .token.property,.stream-code .token.selector,.stream-code .token.tag{color:var(--stream-t-blue)}.stream-code .token.boolean,.stream-code .token.constant,.stream-code .token.number,.stream-code .token.symbol{color:var(--stream-t-amber)}.stream-code .token.attr-name,.stream-code .token.builtin,.stream-code .token.namespace{color:var(--stream-t-teal)}.stream-code .token.entity,.stream-code .token.url,.stream-code .token.variable{color:var(--stream-text)}.stream-code .token.deleted{color:var(--stream-red)}.stream-code .token.inserted{color:var(--stream-green)}.stream-code .token.bold{font-weight:600}.stream-code .token.italic{font-style:italic}.stream-step .s-timing{align-items:center;display:inline-flex;gap:5px;margin-left:auto;padding-left:8px}.stream-step .s-timing-track{background:var(--stream-track-bg,rgba(127,127,127,.18));border-radius:2px;display:inline-block;height:3px;overflow:hidden;width:44px}.stream-step .s-timing-bar{background:var(--stream-text-dim);border-radius:2px;display:block;height:100%;transition:width .18s ease-out}.stream-step .s-timing-text,.stream-step-group-time{color:var(--stream-text-dim);font-size:10px;font-variant-numeric:tabular-nums;white-space:nowrap}.stream-step-group-time{margin-left:6px}