.sb-body{background:var(--bg,#050505);color:var(--text,#f6f6f6);font-family:var(--font-body,Inter, system-ui, sans-serif);font-size:var(--text-md,13px);-webkit-font-smoothing:antialiased;margin:0;line-height:1.5}.sb-wrap{box-sizing:border-box;flex-direction:column;gap:12px;max-width:480px;margin:0 auto;padding:12px;display:flex}.sb-sr{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.sb-head{justify-content:space-between;align-items:center;gap:8px;padding:2px 2px 4px;display:flex}.sb-brand{color:var(--text,#f6f6f6);font-family:var(--font-display,"Space Grotesk", Inter, sans-serif);letter-spacing:-.02em;font-weight:600;font-size:var(--text-ui,14px);border-radius:6px;align-items:center;gap:8px;text-decoration:none;display:inline-flex}.sb-card{border:1px solid var(--hairline-strong,#ffffff17);background:var(--surface-1,#ffffff08);border-radius:12px;flex-direction:column;gap:10px;padding:12px;display:flex}.sb-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.sb-title{font-family:var(--font-display,"Space Grotesk", Inter, sans-serif);font-size:var(--text-ui,14px);letter-spacing:-.01em;text-overflow:ellipsis;white-space:nowrap;margin:0;font-weight:600;overflow:hidden}.sb-link{color:var(--text-2,#a8a8a8);font-size:var(--text-sm,12px);border-radius:4px;text-decoration:none;transition:color .15s}.sb-link:hover{color:var(--text,#f6f6f6);text-decoration:underline}.sb-agent{align-items:center;gap:10px;min-width:0;display:flex}.sb-agent-meta{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.sb-avatar{object-fit:cover;background:var(--surface-2,#ffffff0d);border-radius:10px;flex-shrink:0;width:44px;height:44px}.sb-avatar-empty{color:var(--text-2,#a8a8a8);place-items:center;font-weight:600;display:grid}.sb-log{overscroll-behavior:contain;flex-direction:column;gap:6px;max-height:42vh;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.sb-msg{white-space:pre-wrap;overflow-wrap:anywhere;border-radius:10px;padding:8px 10px;animation:.18s both sb-in}.sb-msg-user{background:var(--accent-soft,#ffffff1a);align-self:flex-end;max-width:85%}.sb-msg-assistant{background:var(--surface-2,#ffffff0d);align-self:flex-start;max-width:92%}.sb-msg.is-pending{color:var(--text-3,#6a6a6a)}.sb-msg.is-pending:after{content:"...";vertical-align:bottom;width:1ch;animation:1.2s steps(4,end) infinite sb-dots;display:inline-block;overflow:hidden}.sb-msg.is-error{color:var(--danger,#f87171)}.sb-chat,.sb-forge{flex-direction:column;gap:8px;display:flex}.sb-chat textarea,.sb-forge textarea{box-sizing:border-box;resize:vertical;border:1px solid var(--hairline-strong,#ffffff17);background:var(--bg,#050505);width:100%;min-height:56px;color:var(--text,#f6f6f6);font:inherit;border-radius:8px;padding:8px 10px;transition:border-color .15s}.sb-chat textarea:hover,.sb-forge textarea:hover{border-color:var(--text-3,#6a6a6a)}.sb-chat textarea:focus-visible,.sb-forge textarea:focus-visible{outline:var(--focus-ring-width,2px) solid var(--focus-ring-color,#fff);outline-offset:1px;border-color:#0000}.sb-btn{border:1px solid var(--hairline-strong,#ffffff17);background:var(--surface-2,#ffffff0d);min-height:32px;color:var(--text,#f6f6f6);font:inherit;cursor:pointer;border-radius:8px;justify-content:center;align-self:flex-start;align-items:center;gap:6px;padding:6px 14px;font-weight:500;text-decoration:none;transition:background .15s,transform 80ms,opacity .15s;display:inline-flex}.sb-btn:hover{background:var(--accent-soft,#ffffff1a)}.sb-btn:active{transform:scale(.97)}.sb-btn:disabled{opacity:.55;cursor:progress;transform:none}.sb-btn-primary{background:var(--accent,#fff);color:var(--bg,#050505);border-color:#0000;align-self:flex-end}.sb-btn-primary:hover{background:var(--accent,#fff);opacity:.88}.sb-brand:focus-visible,.sb-link:focus-visible,.sb-btn:focus-visible,.sb-recent-item:focus-visible{outline:var(--focus-ring-width,2px) solid var(--focus-ring-color,#fff);outline-offset:var(--focus-ring-offset,2px)}.sb-job{flex-direction:column;gap:6px;display:flex}.sb-job-text{color:var(--text-2,#a8a8a8);margin:0}.sb-progress{background:var(--surface-2,#ffffff0d);visibility:hidden;border-radius:2px;height:3px;overflow:hidden}.sb-job.is-busy .sb-progress{visibility:visible}.sb-progress span{background:var(--accent,#fff);width:35%;height:100%;animation:1.4s ease-in-out infinite sb-indeterminate;display:block}.sb-recent{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.sb-recent-item{color:inherit;border-radius:8px;align-items:center;gap:10px;padding:6px;text-decoration:none;transition:background .15s;display:flex}.sb-recent-item:hover{background:var(--surface-2,#ffffff0d)}.sb-recent-item:active{background:var(--accent-soft,#ffffff1a)}.sb-thumb{object-fit:cover;background:var(--surface-2,#ffffff0d);border-radius:8px;flex-shrink:0;width:40px;height:40px}.sb-recent-text{flex-direction:column;min-width:0;display:flex}.sb-recent-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sb-recent-sub{color:var(--text-3,#6a6a6a);font-size:var(--text-sm,12px)}.sb-state{flex-direction:column;gap:6px;display:flex}.sb-state-title{margin:0;font-weight:600}.sb-state-body{color:var(--text-2,#a8a8a8);margin:0}.sb-skel{background:linear-gradient(90deg, var(--surface-1,#ffffff08), var(--surface-2,#ffffff12), var(--surface-1,#ffffff08));background-size:200% 100%;border-radius:8px;animation:1.3s ease-in-out infinite sb-shimmer}.sb-skel-avatar{border-radius:10px;flex-shrink:0;width:44px;height:44px}.sb-skel.is-line{width:60%;height:12px}.sb-skel.is-row{height:52px}@keyframes sb-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}@keyframes sb-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@keyframes sb-indeterminate{0%{transform:translate(-100%)}to{transform:translate(300%)}}@keyframes sb-dots{0%{width:0}to{width:3ch}}@media (prefers-reduced-motion:reduce){.sb-msg,.sb-skel,.sb-progress span,.sb-msg.is-pending:after{animation:none}.sb-btn{transition:none}}@media (display-mode:window-controls-overlay){.sb-head{-webkit-app-region:drag;app-region:drag;min-height:env(titlebar-area-height,0px);padding-left:max(2px, env(titlebar-area-x,0px));padding-right:max(2px, calc(100vw - env(titlebar-area-x,0px) - env(titlebar-area-width,100vw)))}.sb-head a{-webkit-app-region:no-drag;app-region:no-drag}}
