:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#1f2328;background:#f7f7f4;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-text-size-adjust:100%;-webkit-font-smoothing:antialiased;--surface: #f7f7f4;--panel: #ffffff;--panel-2: #f0f1ee;--text: #1f2328;--muted: #6f747a;--line: #dedfdc;--accent: #2563eb;--accent-soft: #e7efff;--green: #15a46b;--danger: #c2413a;--shadow: 0 18px 48px rgba(20, 24, 31, .16);--glass: rgba(255, 255, 255, .78);--glass-strong: rgba(255, 255, 255, .94);--hairline: rgba(23, 24, 27, .1);--soft-shadow: 0 10px 32px rgba(17, 24, 39, .09);--bubble-user: #18181b;--bubble-user-text: #ffffff}[data-theme=dark]{color:#f4f4f5;background:#171717;--surface: #171717;--panel: #1f1f1f;--panel-2: #262626;--text: #f4f4f5;--muted: #a1a1aa;--line: #303030;--accent: #9fb7ff;--accent-soft: rgba(159, 183, 255, .16);--green: #37c58a;--danger: #ff6b62;--shadow: 0 18px 48px rgba(0, 0, 0, .36);--glass: rgba(31, 31, 31, .76);--glass-strong: rgba(31, 31, 31, .94);--hairline: rgba(255, 255, 255, .11);--soft-shadow: 0 12px 34px rgba(0, 0, 0, .34);--bubble-user: #f4f4f5;--bubble-user-text: #111113}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;margin:0;overflow:hidden;overscroll-behavior:none}body{position:fixed;inset:0;width:100%;overflow:hidden;touch-action:pan-y}button,input,textarea{font:inherit}button{-webkit-tap-highlight-color:transparent}.app-shell{position:fixed;inset:0;display:grid;grid-template-rows:auto 1fr auto;width:100vw;max-width:100vw;height:var(--app-height, 100dvh);min-height:0;background:linear-gradient(180deg,#ffffffd1,#f7f7f400 38%),linear-gradient(135deg,#e6e8e275,#fff0 42%),var(--surface);color:var(--text);overflow:hidden;overscroll-behavior:none;touch-action:pan-y}[data-theme=dark] .app-shell{background:var(--surface)}.top-bar{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:12px;min-width:0;padding:calc(env(safe-area-inset-top,0px) + 10px) 14px 8px;background:var(--glass);-webkit-backdrop-filter:blur(22px) saturate(1.22);backdrop-filter:blur(22px) saturate(1.22);border-bottom:1px solid var(--hairline);z-index:20}[data-theme=dark] .top-bar{background:var(--glass);border-bottom-color:var(--hairline)}.icon-button,.ghost-icon{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border:0;border-radius:999px;color:#353a40;background:transparent}[data-theme=dark] .icon-button,[data-theme=dark] .ghost-icon{color:#f4f4f5}[data-theme=dark] .icon-button:active,[data-theme=dark] .ghost-icon:active{background:#262626}[data-theme=dark] .icon-button:disabled{color:#71717a}.icon-button:active,.ghost-icon:active{background:#ecedea}.icon-button:disabled{color:#aeb4bc;cursor:default;opacity:.58}.top-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:2px;min-width:0}.top-menu-wrap{position:relative}.top-menu-popover{position:absolute;top:calc(100% + 8px);right:0;z-index:35;width:208px;padding:8px;border:1px solid rgba(222,223,220,.95);border-radius:12px;color:var(--text);background:#fffffffa;box-shadow:0 16px 36px #14181f29}.toast-stack{position:fixed;top:calc(env(safe-area-inset-top,0px) + 62px);left:12px;right:12px;z-index:90;display:grid;gap:7px;pointer-events:none}.toast-item{display:grid;grid-template-columns:9px minmax(0,1fr) 28px;align-items:center;gap:9px;min-height:48px;padding:8px 8px 8px 11px;border:1px solid rgba(222,223,220,.92);border-radius:12px;color:var(--text);background:var(--glass-strong);box-shadow:var(--soft-shadow);-webkit-backdrop-filter:blur(20px) saturate(1.14);backdrop-filter:blur(20px) saturate(1.14);pointer-events:auto}.toast-dot{width:8px;height:8px;border-radius:50%;background:var(--accent)}.toast-item.is-success .toast-dot{background:var(--green)}.toast-item.is-warning .toast-dot{background:#b7791f}.toast-item.is-error .toast-dot{background:var(--danger)}.toast-item span:nth-child(2){display:grid;gap:1px;min-width:0}.toast-item strong,.toast-item small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.toast-item strong{font-size:13px;line-height:18px}.toast-item small{color:var(--muted);font-size:11px;line-height:15px}.toast-item button{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:0;border-radius:999px;color:var(--muted);background:transparent}.connection-recovery-card{position:fixed;top:calc(env(safe-area-inset-top,0px) + 62px);left:12px;right:12px;z-index:42;display:grid;grid-template-columns:9px minmax(0,1fr) auto auto;align-items:center;gap:8px;min-height:48px;padding:8px 9px 8px 11px;border:1px solid rgba(222,223,220,.94);border-radius:12px;color:var(--text);background:var(--glass-strong);box-shadow:var(--soft-shadow);-webkit-backdrop-filter:blur(20px) saturate(1.14);backdrop-filter:blur(20px) saturate(1.14)}.connection-recovery-dot{width:8px;height:8px;border-radius:50%;background:var(--accent)}.connection-recovery-card.is-disconnected .connection-recovery-dot,.connection-recovery-card.is-pairing .connection-recovery-dot,.connection-recovery-card.is-desktop-unavailable .connection-recovery-dot,.connection-recovery-card.is-backend-unavailable .connection-recovery-dot{background:var(--danger)}.connection-recovery-card.is-syncing .connection-recovery-dot,.connection-recovery-card.is-reconnecting .connection-recovery-dot{background:#b7791f}.connection-recovery-main{display:grid;gap:1px;min-width:0}.connection-recovery-main strong,.connection-recovery-main small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.connection-recovery-main strong{font-size:13px;line-height:18px}.connection-recovery-main small{color:var(--muted);font-size:11px;line-height:15px}.connection-recovery-card button{min-height:30px;padding:0 9px;border:0;border-radius:999px;color:#174eb8;background:var(--accent-soft);font-size:12px;white-space:nowrap}.top-menu-title,.top-menu-popover button{display:flex;align-items:center;gap:10px;width:100%;min-height:36px;padding:0 8px;border:0;border-radius:8px;color:inherit;background:transparent;font-size:14px;line-height:18px;text-align:left}.top-menu-title{color:#3f454d;font-weight:500}.top-menu-popover button:active{background:#f0f1ee}.top-menu-popover button:disabled{color:#aeb4bc;cursor:default}.top-menu-popover button:disabled:active{background:transparent}.top-menu-popover svg{flex:0 0 auto;color:#3f454d}.top-menu-popover button:disabled svg{color:#aeb4bc}.top-menu-divider{height:1px;margin:6px 2px;background:#dedfdce0}.top-docs-logo{display:block;border-radius:7px;box-shadow:0 0 0 1px #181c2114}[data-theme=dark] .top-docs-logo{box-shadow:0 0 0 1px #ffffff29}[data-theme=dark] .top-menu-popover{color:var(--text);background:#1f1f1ffa;border-color:#383838;box-shadow:0 16px 36px #00000057}[data-theme=dark] .top-menu-title,[data-theme=dark] .top-menu-popover svg{color:#d4d4d8}[data-theme=dark] .top-menu-popover button:active{background:#262626}[data-theme=dark] .top-menu-popover button:disabled,[data-theme=dark] .top-menu-popover button:disabled svg{color:#71717a}[data-theme=dark] .top-menu-divider{background:#383838}[data-theme=dark] .toast-item,[data-theme=dark] .connection-recovery-card{border-color:#383838;background:#1f1f1ff5;box-shadow:0 16px 36px #00000057}[data-theme=dark] .connection-recovery-card button{color:#dbeafe;background:#60a5fa26}.top-title{display:flex;flex-direction:column;min-width:0}.top-title strong{font-size:16px;line-height:20px;letter-spacing:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.connection-status{display:inline-flex;align-items:center;gap:5px;font-size:11px;line-height:15px}.connection-status.is-connected{color:var(--green)}.connection-status.is-headless{color:#2563eb}.connection-status.is-connecting{color:#64748b}.connection-status.is-disconnected{color:var(--danger)}.docs-panel{position:fixed;inset:0;z-index:70;display:grid;grid-template-rows:auto 1fr;width:100vw;height:var(--app-height, 100dvh);min-height:0;color:var(--text);background:var(--surface)}.docs-panel-header{display:grid;grid-template-columns:38px minmax(0,1fr) 38px;align-items:center;gap:12px;min-width:0;padding:calc(env(safe-area-inset-top,0px) + 12px) 16px 10px;background:#f7f7f4f0;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-bottom:1px solid rgba(222,223,220,.8)}.docs-panel-title{display:flex;flex-direction:column;min-width:0;text-align:center}.docs-panel-title strong{overflow:hidden;font-size:17px;line-height:21px;text-overflow:ellipsis;white-space:nowrap}.docs-panel-title span{overflow:hidden;color:var(--muted);font-size:12px;line-height:16px;text-overflow:ellipsis;white-space:nowrap}.docs-panel-body{display:flex;flex-direction:column;min-height:0;background:var(--panel)}.docs-status-state{display:grid;place-items:center;align-content:center;gap:10px;flex:1;min-height:0;padding:28px;text-align:center}.docs-status-icon{display:grid;place-items:center;width:82px;height:82px;border-radius:24px;color:var(--accent);background:var(--accent-soft)}.docs-status-state h2{margin:10px 0 0;font-size:24px;line-height:30px}.docs-status-state p{max-width:280px;margin:0;color:var(--muted);font-size:15px;line-height:22px}.docs-panel-error{max-width:300px;padding:9px 11px;border-radius:12px;color:var(--danger);background:#c2413a14;font-size:13px;line-height:18px}.docs-auth-box{display:inline-flex;align-items:center;gap:8px;max-width:min(100%,330px);padding:8px 10px;border-radius:8px;background:#1965de14;color:var(--text);font-size:13px;line-height:18px}.docs-auth-box button{min-height:30px;padding:0 10px;border:0;border-radius:6px;color:#174eb8;background:#1965de1f}.docs-check-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:min(100%,330px);margin-top:4px}.docs-check-list div{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:34px;padding:0 9px;border-radius:8px;color:var(--danger);background:#c2413a14;font-size:13px;line-height:18px}.docs-check-list div.is-ok{color:var(--green);background:#0f765017}.docs-check-list span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.docs-scope-hint{max-width:min(100%,350px);padding:8px 10px;border-radius:8px;color:#9a3412;background:#ea580c1a;font-size:12px;line-height:17px;word-break:break-word}.docs-panel-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:4px}.docs-panel-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:116px;min-height:38px;padding:0 14px;border:0;border-radius:999px;color:#174eb8;background:var(--accent-soft)}.docs-panel-actions button:disabled{opacity:.56}.git-panel-body{gap:14px;padding:16px;overflow-y:auto}.git-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:4px;border:1px solid rgba(222,223,220,.86);border-radius:8px;background:var(--surface)}.git-tabs button{min-width:0;min-height:34px;border:0;border-radius:6px;color:var(--muted);background:transparent;font-size:12px}.git-tabs button.is-active{color:#174eb8;background:var(--accent-soft)}.git-status-card{display:grid;gap:12px;padding:14px;border:1px solid rgba(222,223,220,.86);border-radius:8px;background:var(--surface)}.git-status-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.git-status-head>div{display:grid;gap:3px;min-width:0}.git-status-head strong{font-size:16px;line-height:21px}.git-status-head span{overflow:hidden;color:var(--muted);font-size:12px;line-height:16px;text-overflow:ellipsis;white-space:nowrap}.git-status-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.git-status-metrics span{min-width:0;min-height:30px;padding:6px 8px;border-radius:6px;color:var(--muted);background:var(--panel);font-size:12px;line-height:16px;text-align:center}.git-file-list{display:grid;gap:7px;min-width:0}.git-file-list div{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:8px;min-width:0;font-size:13px;line-height:18px}.git-file-list code{justify-self:start;min-width:30px;padding:2px 5px;border-radius:5px;color:var(--accent);background:var(--accent-soft);font-size:12px;text-align:center}.git-file-list span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.git-file-list small{color:var(--muted);font-size:12px;line-height:16px}.git-safety-list{display:grid;gap:5px}.git-safety-list span{padding:7px 9px;border-radius:7px;color:#8a5b24;background:#b7791f1a;font-size:12px;line-height:16px}.git-diff-card,.git-action-card{display:grid;gap:10px;min-width:0;padding:14px;border:1px solid rgba(222,223,220,.86);border-radius:8px;background:var(--surface)}.git-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}.git-section-head strong{font-size:14px;line-height:19px}.git-section-head span{min-width:0;overflow:hidden;color:var(--muted);font-size:12px;line-height:16px;text-overflow:ellipsis;white-space:nowrap}.git-section-head button,.git-action-grid button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:0 11px;border:0;border-radius:999px;color:#174eb8;background:var(--accent-soft);font-size:13px}.git-action-grid{display:flex;flex-wrap:wrap;gap:8px}.git-action-grid button:disabled,.git-section-head button:disabled{opacity:.52}.git-diff-summary,.git-diff-pre,.git-output{min-width:0;margin:0;overflow:auto;border-radius:8px;color:#2f343b;background:#f1f2f4;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:11px;line-height:1.5;white-space:pre-wrap;word-break:break-word}.git-diff-summary{max-height:110px;padding:9px 10px}.git-diff-pre{max-height:44svh;padding:10px}.git-output{max-height:160px;padding:10px}.git-diff-note{color:var(--muted);font-size:12px;line-height:16px}.git-field{display:grid;gap:7px;font-size:13px;line-height:18px}.git-field span{color:var(--muted)}.git-field input{width:100%;min-height:42px;padding:0 12px;border:1px solid rgba(202,205,209,.9);border-radius:8px;color:var(--text);background:var(--surface);font:inherit}.git-result{display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:8px;color:var(--green);background:#0f765017;font-size:13px;line-height:18px}.git-panel-actions{justify-content:flex-start}[data-theme=dark] .docs-panel-header{background:#171717f0;border-bottom-color:#303030e6}[data-theme=dark] .git-tabs,[data-theme=dark] .git-status-card,[data-theme=dark] .git-diff-card,[data-theme=dark] .git-action-card{border-color:#303030;background:#1f1f1f}[data-theme=dark] .git-tabs button.is-active,[data-theme=dark] .git-section-head button,[data-theme=dark] .git-action-grid button{color:#dbeafe;background:#60a5fa26}[data-theme=dark] .git-diff-summary,[data-theme=dark] .git-diff-pre,[data-theme=dark] .git-output{color:#e4e4e7;background:#262626}[data-theme=dark] .git-safety-list span{color:#fbbf24;background:#f59e0b1f}.drawer-backdrop{position:fixed;inset:0;background:#13171e00;pointer-events:none;transition:background .18s ease;z-index:40}.drawer-backdrop.is-open{background:#13171e47;pointer-events:auto}.drawer{position:fixed;top:0;bottom:0;left:0;display:flex;flex-direction:column;width:min(84vw,368px);padding:calc(env(safe-area-inset-top,0px) + 14px) 18px calc(env(safe-area-inset-bottom,0px) + 14px);background:#fafbfaf7;box-shadow:16px 0 38px #11182729;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);overflow:hidden;transform:translate(-105%);transition:transform .22s cubic-bezier(.22,1,.36,1);z-index:50}[data-theme=dark] .drawer{background:#1a1a1bf7}.drawer.is-open{transform:translate(0)}.drawer-grip{display:flex;justify-content:flex-end}.drawer-header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:42px;padding:0 0 14px}.drawer-header>div{min-width:0;display:grid;gap:2px}.drawer-header strong{color:#161b22;font-size:19px;line-height:23px;letter-spacing:0}.drawer-header small{color:#7b8490;font-size:12px;line-height:16px}[data-theme=dark] .drawer-header strong{color:var(--text)}.drawer-command{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;margin-bottom:20px;padding:3px;border:0;border-radius:8px;background:#f0f2f0;box-shadow:none}[data-theme=dark] .drawer-command{background:#222224}.drawer-search{min-width:0;display:flex;align-items:center;gap:8px;height:36px;padding:0 9px;color:#8a929c}.drawer-search input{min-width:0;width:100%;border:0;outline:0;color:var(--text);background:transparent;font-size:14px}.drawer-search input::placeholder{color:#a0a7b0}.drawer-new-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:86px;height:36px;padding:0 11px;border:0;border-radius:8px;color:#fff;background:#1e3f73;font-size:13px;font-weight:750;box-shadow:none}.drawer-new-button:active{background:#102c56}.drawer-new-button:disabled{color:#707783;background:#e4e7ec;cursor:not-allowed}[data-theme=dark] .drawer-new-button:disabled{color:#9ca3af;background:#333}.drawer-subheader{display:grid;grid-template-columns:38px minmax(0,1fr) 38px;align-items:center;gap:6px;padding-bottom:12px}.drawer-subheader strong{justify-self:center;color:var(--text);font-size:17px;line-height:22px}.settings-view{flex:1 1 auto;min-height:0;overflow:auto;padding-top:8px}.settings-group{display:grid;gap:8px}.theme-setting{display:grid;gap:10px;padding:12px;border-radius:8px;background:#f5f7f4}[data-theme=dark] .theme-setting{background:#262626}.theme-setting-title{display:grid;gap:2px}.theme-setting-title span{color:var(--text);font-size:14px;font-weight:650}.theme-setting-title small{color:var(--muted);font-size:12px;line-height:16px}.theme-segment{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border-radius:8px;background:#e8ece7}[data-theme=dark] .theme-segment{background:#171717}.theme-segment button{height:34px;border:0;border-radius:7px;color:var(--muted);background:transparent;font-size:13px;font-weight:700}.theme-segment button.is-selected{color:var(--text);background:var(--panel);box-shadow:0 1px 4px #14181f1f}.drawer-action,.project-row,.setting-row,.control-row{width:100%;display:flex;align-items:center;gap:12px;border:0;text-align:left;color:var(--text)}.drawer-action{min-height:62px;margin:8px 0 18px;padding:10px 12px;border-radius:8px;background:var(--panel-2)}[data-theme=dark] .drawer-action{background:#262626}.drawer-action span,.project-row span{min-width:0;display:flex;flex-direction:column;gap:2px}.drawer-action strong,.project-row strong{font-size:15px;line-height:20px}.drawer-action small,.project-row small{color:var(--muted);font-size:12px;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.drawer-section{min-height:0;margin-bottom:12px}.project-section{flex:1 1 auto;display:flex;min-height:0;flex-direction:column;margin-bottom:10px}.drawer-heading{padding:0 2px 9px;color:#7c8288;font-size:12px;font-weight:650}.project-list{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;gap:0;max-height:none;overflow:auto;padding-right:0;padding-bottom:12px}.project-group{display:flex;flex-direction:column;border-bottom:1px solid rgba(226,229,225,.82)}[data-theme=dark] .project-group{border-color:#363636e6;background:transparent}.project-row{min-height:56px;padding:9px 2px;border-radius:0;background:transparent}.project-row.is-selected{background:transparent;color:#173a70}.project-row.is-selected svg:first-child{color:#2563d9}[data-theme=dark] .project-row.is-selected{color:var(--text);background:#2b2b2b}.project-row span{flex:1}.project-count{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;color:#6e7781;background:#eef0ee;font-size:11px}[data-theme=dark] .project-count{color:#d4d4d8;background:#303030}.project-row.is-selected .project-count{color:#fff;background:#2563d9}[data-theme=dark] .project-row.is-selected .project-count{color:var(--text);background:#3a3a3a}.project-chevron{flex:0 0 auto;color:#8a9097;transition:transform .16s ease}.project-row.is-expanded .project-chevron{transform:rotate(180deg)}.thread-list{margin:0 0 8px 28px;padding:0 0 0 12px;border:0;border-left:1px solid rgba(211,216,223,.9);border-radius:0;background:transparent;overflow:hidden}.thread-list.is-subagents{margin:0 8px 8px 18px;padding-left:9px;border-left-style:dashed}.thread-stack{display:grid;gap:2px}[data-theme=dark] .thread-list{border-color:#343434;background:transparent}.thread-row{display:grid;grid-template-columns:minmax(0,1fr) 24px;align-items:center;gap:3px;width:100%;min-height:48px;padding:4px 0;border-bottom:0;border-radius:6px;color:#4f5661;background:transparent}.thread-row:last-child{border-bottom:0}.thread-row.has-actions{grid-template-columns:minmax(0,1fr) 30px 30px}.thread-row.is-selected{color:#173a70;background:#e8efffad}[data-theme=dark] .thread-row.is-selected{color:var(--text);background:#2b2b2b}.thread-row.is-draft{color:#5c6470;background:#f6f7f5;border:1px dashed #cfd5d0}[data-theme=dark] .thread-row.is-draft{color:#d4d4d8;background:#222;border-color:#3a3a3a}.thread-row.is-draft.is-selected{color:#174eb8;background:#e7efffb8;border-color:#2563eb61}.thread-row.is-running:not(.is-selected){background:transparent}.thread-row.has-complete-notice:not(.is-running):not(.is-selected){background:transparent}.thread-row.is-subagent{min-height:40px;color:#64707d}.thread-row.is-subagent:not(.is-selected){background:#f7f8f6b8}[data-theme=dark] .thread-row.is-draft.is-selected{color:var(--text);background:#2b2b2b;border-color:#4a4a4a}[data-theme=dark] .thread-row.is-running:not(.is-selected),[data-theme=dark] .thread-row.has-complete-notice:not(.is-running):not(.is-selected){background:#2563eb1f}[data-theme=dark] .thread-row.is-subagent:not(.is-selected){color:#a1a1aa;background:#ffffff09}[data-theme=dark] .thread-status-spin{color:#93c5fd}[data-theme=dark] .thread-complete-dot{background:#60a5fa;box-shadow:0 0 0 4px #60a5fa24}.thread-main{min-width:0;min-height:38px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:4px 6px;border:0;color:inherit;background:transparent;text-align:left}.thread-title-line{display:inline-flex;align-items:center;gap:6px;width:100%;min-width:0}.thread-title-line>span:first-child{min-width:0;flex:1 1 auto}.thread-status-spin{flex:0 0 auto;color:#174eb8}.thread-complete-dot{flex:0 0 auto;width:8px;height:8px;border-radius:50%;background:#2563eb;box-shadow:0 0 0 4px #2563eb1f}.thread-subagent-toggle{display:inline-flex;align-items:center;gap:2px;flex:0 0 auto;max-width:92px;padding:1px 5px;border-radius:999px;color:#2563eb;background:#2563eb17;font-size:10px;line-height:14px;font-weight:650;cursor:pointer}.thread-subagent-toggle svg{flex:0 0 auto;transition:transform .14s ease}.thread-subagent-toggle[aria-expanded=true] svg{transform:rotate(180deg)}[data-theme=dark] .thread-subagent-toggle{color:#93c5fd;background:#60a5fa21}.thread-rename,.thread-delete{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:0;border-radius:8px;color:#7a838e;background:transparent}.thread-rename{color:#697381}.thread-rename:active{background:#e7eae7f5}.thread-delete:active{background:#ffe1e1f5}.thread-row-more{color:#a4abb4;transform:rotate(-90deg)}[data-theme=dark] .thread-rename{color:#d4d4d8;background:#262626;border-color:#343434}[data-theme=dark] .thread-delete{color:var(--danger);background:#ff6b621f;border-color:#ff6b623d}[data-theme=dark] .thread-rename:active{background:#303030}[data-theme=dark] .thread-delete:active{background:#ff6b622e}.thread-row span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:18px}.thread-row .thread-title-line{overflow:visible}.thread-row .thread-title-line>span:first-child{overflow:hidden;text-overflow:ellipsis}.thread-row .thread-status-spin,.thread-row .thread-complete-dot{max-width:none;overflow:visible}.thread-row small,.thread-empty{color:var(--muted);font-size:11px;line-height:16px}.thread-empty{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:5px 9px}.settings-section{margin-top:auto}.drawer-controls{flex:0 0 auto;display:grid;gap:0;margin-top:0;margin-bottom:0;padding-top:10px;border-top:1px solid rgba(222,223,220,.82)}[data-theme=dark] .drawer-controls{border-top-color:#303030e6}.control-row,.settings-entry{min-height:46px;padding:4px 2px;border-radius:0;background:transparent;border-bottom:1px solid rgba(226,229,225,.82)}[data-theme=dark] .control-row,[data-theme=dark] .settings-entry{background:transparent;border-bottom-color:#363636e6}.control-row{justify-content:space-between}.sync-row{display:grid;grid-template-columns:minmax(0,1fr) 70px 32px;align-items:center;gap:0;padding:4px 2px}.sync-row>span:first-child{padding:0 8px}.control-row span,.settings-entry span{display:inline-flex;align-items:center;gap:10px;min-width:0;font-size:14px;font-weight:650}.sync-row .sync-spacer{display:block;width:30px;min-width:30px;height:30px}.settings-entry{width:100%;display:flex;align-items:center;justify-content:space-between;border:0;color:var(--text);text-align:left}.setting-row{justify-content:space-between;padding:10px}.setting-row span{display:inline-flex;align-items:center;gap:10px}.setting-row input{width:44px;height:26px;appearance:none;border-radius:999px;background:#c9cdc8;position:relative;transition:background .16s ease}.setting-row input:before{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #0000002e;transition:transform .16s ease}.setting-row input:checked{background:var(--green)}.setting-row input:checked:before{transform:translate(18px)}.sync-button{width:70px;flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;justify-content:center;min-width:56px;height:30px;margin-top:0;padding:0 10px;border:0;border-radius:8px;color:var(--text);background:#eef0ed;font-size:12px;font-weight:650}.sync-button:disabled{opacity:.64}[data-theme=dark] .sync-button{background:#303030}.quota-widget{margin-top:0}.quota-row{display:grid;grid-template-columns:minmax(0,1fr) 70px 32px;align-items:center;min-height:46px;padding:4px 2px;border-radius:0;background:transparent;border-bottom:1px solid rgba(226,229,225,.82)}[data-theme=dark] .quota-row{background:transparent;border-bottom-color:#363636e6}.quota-main,.quota-refresh,.quota-toggle,.quota-error,.quota-account-message{border:0;font:inherit}.quota-main{min-width:0;display:flex;align-items:center;gap:8px;height:34px;padding:0 8px;color:var(--text);background:transparent;text-align:left}.quota-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:650}.quota-kind{flex:0 0 auto;color:#69717b;font-size:12px;font-weight:650}[data-theme=dark] .quota-kind{color:var(--muted)}.quota-refresh{width:70px;height:30px;min-width:70px;padding:0 9px;border-radius:8px;color:#20252b;background:#eef0ed;font-size:12px;font-weight:650;white-space:nowrap}[data-theme=dark] .quota-refresh{color:var(--text);background:#303030}.quota-refresh:disabled{opacity:.62}.quota-toggle{display:inline-grid;place-items:center;width:30px;height:30px;color:#818993;background:transparent}.quota-toggle svg{transition:transform .16s ease}.quota-widget.is-expanded .quota-toggle svg{transform:rotate(180deg)}.quota-panel{display:grid;gap:7px;max-height:min(34svh,310px);margin-top:7px;overflow:auto;padding-right:3px}.quota-account{display:grid;gap:7px;padding:9px;border:1px solid #e3e7e2;border-radius:8px;background:#ffffffb8}[data-theme=dark] .quota-account{border-color:#303030;background:#222}.quota-account-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.quota-account-head span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#2f363f;font-size:13px;font-weight:650}[data-theme=dark] .quota-account-head span{color:var(--text)}.quota-account-head small{flex:0 0 auto;display:inline-grid;place-items:center;min-width:42px;height:22px;padding:0 8px;border-radius:999px;color:#2f363f;background:#edf0ed;font-size:11px;font-weight:700}[data-theme=dark] .quota-account-head small{color:var(--text);background:#303030}.quota-window-list{display:grid;gap:7px}.quota-window{display:grid;gap:4px}.quota-window-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#68717b;font-size:11px;line-height:15px}.quota-window-meta strong{color:#2f363f;font-size:11px}[data-theme=dark] .quota-window-meta strong{color:var(--text)}.quota-bar{height:4px;overflow:hidden;border-radius:999px;background:#e5e9e4}[data-theme=dark] .quota-bar{background:#303030}.quota-bar span{display:block;width:var(--quota-percent, 0%);height:100%;border-radius:inherit;background:#2f363f}.quota-window.is-high .quota-bar span{background:var(--danger)}.quota-window.is-healthy .quota-bar span{background:#15a46b}.quota-window.is-medium .quota-bar span{background:#d6a719}.quota-window.is-warning .quota-bar span{background:#e87922}.quota-window.is-low .quota-bar span{background:var(--danger)}.quota-error,.quota-account-message,.quota-empty{width:100%;min-height:34px;padding:8px 9px;border-radius:8px;color:#8f332d;background:#fff1f1;font-size:12px;line-height:16px;text-align:left}.quota-empty{color:var(--muted);background:#f5f7f4}.quota-account.is-disabled .quota-account-message{color:#68717b;background:#f5f7f4}[data-theme=dark] .quota-error,[data-theme=dark] .quota-account-message{color:#ffb4ae;background:#ff6b621f}[data-theme=dark] .quota-empty,[data-theme=dark] .quota-account.is-disabled .quota-account-message{color:var(--muted);background:#262626}.session-strip{display:flex;gap:8px;padding:10px 14px;overflow-x:auto;border-bottom:1px solid rgba(222,223,220,.74);background:#f7f7f4c7}.session-strip button{flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-start;gap:2px;max-width:148px;min-height:44px;padding:7px 10px;border:1px solid var(--line);border-radius:8px;color:#39404a;background:#ffffffd6}.session-strip button.is-selected{border-color:#2563eb61;background:var(--accent-soft)}.session-strip span{max-width:124px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12px}.session-strip small{color:var(--muted);font-size:10px}.chat-pane{position:relative;min-height:0;min-width:0;width:100%;max-width:100vw;overflow-y:auto;overflow-x:hidden;padding:18px 14px 14px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:rgba(120,126,136,.28) transparent}.chat-content{min-width:0;width:100%;max-width:820px;margin:0 auto}.empty-chat{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;color:var(--muted)}.empty-orbit{display:grid;place-items:center;width:56px;height:56px;border-radius:18px;color:var(--accent);background:var(--accent-soft)}.empty-chat h2{margin:8px 0 0;color:var(--text);font-size:20px}.empty-chat p{margin:0;font-size:14px}.message-row{display:flex;justify-content:flex-start;min-width:0;width:100%;max-width:100%;margin-bottom:10px;overflow:visible}.message-row.is-user{justify-content:flex-end}.message-row.is-assistant{margin-bottom:20px}.message-stack{display:flex;flex-direction:column;align-items:flex-start;min-width:0;max-width:min(82%,680px)}.message-row.is-user .message-stack{align-items:flex-end}.message-row.is-assistant .message-stack{width:100%;max-width:100%}.message-bubble{min-width:0;max-width:100%;padding:11px 14px;border-radius:18px 18px 18px 7px;background:var(--glass-strong);border:1px solid var(--hairline);box-shadow:0 1px 2px #10182809;-webkit-backdrop-filter:blur(16px) saturate(1.08);backdrop-filter:blur(16px) saturate(1.08)}.message-row.is-user .message-bubble{color:var(--bubble-user-text);background:var(--bubble-user);border-color:transparent;border-radius:22px 22px 7px;box-shadow:0 8px 24px #11182721}.message-row.is-assistant .message-bubble{width:100%;padding:1px 2px;border:0;border-radius:0;background:transparent;box-shadow:none}.message-image-strip{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:6px;max-width:min(100%,260px);margin:0 0 6px}.message-row.is-activity .message-bubble{display:block;max-width:100%;color:#667085;background:transparent}.message-row.is-activity .activity-bubble{display:block;min-width:172px;width:100%;max-width:min(100%,760px);padding:0;border:0;border-radius:16px;color:#69717c;background:transparent;box-shadow:none}.activity-bubble.is-failed{color:var(--danger);background:#c2413a14;border-color:#c2413a29}.message-actions{display:inline-flex;align-items:center;flex-wrap:wrap;gap:14px;max-width:100%;margin-top:4px;padding:0 3px;color:#7b838f;font-size:12px;line-height:16px}.message-action{display:inline-flex;align-items:center;gap:4px;min-height:28px;padding:0;border:0;color:inherit;background:transparent}.message-action:hover,.message-action:focus-visible,.message-action:active{color:#4b5563}.message-action.is-delete:hover,.message-action.is-delete:focus-visible,.message-action.is-delete:active{color:var(--danger)}@media(hover:hover){.message-actions{opacity:.66;transition:opacity .14s ease,color .14s ease}.message-row:hover .message-actions,.message-actions:focus-within{opacity:1}}.activity-summary{display:flex;align-items:center;gap:8px;width:auto;max-width:min(100%,736px);min-height:30px;padding:4px 10px;border:1px solid transparent;border-radius:999px;color:inherit;background:transparent;cursor:pointer;text-align:left}.activity-summary:after{display:none}.activity-summary span{min-width:0;flex:0 0 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:16px}.activity-chevron{flex:0 0 auto;color:#9ca3af;transition:transform .14s ease}.activity-chevron.is-open{transform:rotate(180deg)}.activity-timeline{display:grid;gap:10px;max-width:min(100%,736px);margin-top:8px;padding:12px 13px 13px;border:1px solid var(--hairline);border-radius:16px;background:#ffffff94;box-shadow:0 1px 2px #11182709;-webkit-backdrop-filter:blur(14px) saturate(1.08);backdrop-filter:blur(14px) saturate(1.08)}.activity-text{margin:0;color:var(--text);font-size:14px;line-height:1.62;overflow-wrap:anywhere;word-break:break-word}.activity-live{display:inline-flex;align-items:center;gap:7px;min-width:0;color:#7a828d;font-size:13px;line-height:18px}.activity-live-dot{width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.52}.activity-live.is-running .activity-live-dot,.activity-meta.is-running .activity-meta-summary svg{animation:activityPulse 1.2s ease-in-out infinite}.activity-markdown{max-width:100%}.activity-markdown p,.activity-markdown ul,.activity-markdown ol,.activity-markdown blockquote,.activity-markdown pre,.activity-markdown table{margin-bottom:6px}.activity-markdown code{color:#4b5563;background:#1118270f}.activity-markdown pre{padding:7px 8px;font-size:12px}.activity-markdown .markdown-code-block{margin:4px 0 6px}.activity-markdown .markdown-code-head{min-height:28px}.activity-divider{display:flex;align-items:center;gap:12px;color:#c4c7cc;font-size:12px;line-height:18px;white-space:nowrap}.activity-divider:before,.activity-divider:after{content:"";flex:1 1 auto;min-width:24px;border-top:1px solid rgba(17,24,39,.1)}.activity-meta{color:#8a8f98;font-size:13px;line-height:18px}.activity-meta-summary{display:inline-flex;align-items:center;gap:6px;max-width:100%;min-height:20px;list-style:none}.activity-meta>summary.activity-meta-summary{cursor:pointer;-webkit-user-select:none;user-select:none}.activity-meta>summary.activity-meta-summary::-webkit-details-marker{display:none}.activity-meta-summary svg{flex:0 0 auto;opacity:.74}.activity-meta>summary.activity-meta-summary:after{content:"";width:6px;height:6px;margin-left:1px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-1px);transition:transform .14s ease}.activity-meta[open]>summary.activity-meta-summary:after{transform:rotate(225deg) translate(-1px,-1px)}.activity-meta-summary span{min-width:0;overflow-wrap:anywhere;word-break:break-word}.activity-meta.is-running .activity-meta-summary{color:#6f7680}.activity-meta-body{display:grid;gap:8px;min-width:0;margin-top:6px;padding-left:18px}.scroll-latest-button{position:sticky;bottom:12px;left:50%;z-index:12;display:grid;place-items:center;width:38px;height:38px;margin:-42px auto 4px;border:1px solid var(--hairline);border-radius:999px;color:var(--text);background:var(--glass-strong);box-shadow:var(--soft-shadow);-webkit-backdrop-filter:blur(18px) saturate(1.16);backdrop-filter:blur(18px) saturate(1.16);animation:scrollLatestIn .16s ease-out}.activity-subagent-list{display:grid;gap:4px;margin-top:7px;padding-left:20px}.activity-subagent-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;color:#69717c;font-size:12px;line-height:17px}.activity-subagent-row span{display:inline-flex;align-items:baseline;gap:4px;min-width:0}.activity-subagent-row strong{color:#d12a2a;font-weight:500}.activity-subagent-row small{color:#8a8f98;font-size:12px}.activity-subagent-row em{margin-left:auto;color:#8a8f98;font-style:normal}.activity-meta-line{display:grid;gap:3px;min-width:0;color:#7a8089;font-size:12px;line-height:17px;overflow-wrap:anywhere;word-break:break-word}.activity-meta-label,.activity-meta-detail{font-size:12px;line-height:16px}.activity-meta-label{color:#7a8089}.activity-meta-detail{color:#4b5563}.activity-meta-detail p,.activity-meta-detail ul,.activity-meta-detail ol,.activity-meta-detail blockquote,.activity-meta-detail pre{margin-bottom:0}.activity-meta-detail code{display:inline-block;max-width:100%;padding:2px 5px;border-radius:5px;color:#4b5563;background:#1118270d;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.activity-meta-detail pre code{display:block;padding:0;background:transparent}.activity-command-detail{min-width:0;color:#8a8f98;font-size:13px;line-height:18px}.activity-command-detail summary{display:flex;align-items:center;gap:6px;min-width:0;list-style:none;cursor:pointer;-webkit-user-select:none;user-select:none}.activity-command-detail summary::-webkit-details-marker{display:none}.activity-command-detail summary:after{content:"";flex:0 0 auto;width:6px;height:6px;margin-left:2px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-1px);transition:transform .14s ease}.activity-command-detail[open] summary:after{transform:rotate(225deg) translate(-1px,-1px)}.activity-command-detail summary span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.activity-shell{position:relative;min-width:0;margin-top:8px;border-radius:8px;background:#f1f2f4;color:#2f343b;overflow:hidden}.activity-shell-head{padding:8px 10px 2px;color:#777d86;font-size:12px;line-height:16px}.activity-shell pre{max-height:260px;margin:0;padding:8px 10px 24px;overflow:auto;color:inherit;background:transparent;font-size:12px;line-height:1.5;white-space:pre-wrap;word-break:break-word}.activity-shell code{padding:0;color:inherit;background:transparent;font-family:ui-monospace,SFMono-Regular,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace}.activity-shell-status{position:absolute;right:10px;bottom:7px;color:#7d848e;font-size:12px;line-height:16px}.activity-command-detail.is-failed .activity-shell-status{color:#8a5b24}.activity-file-summary{max-width:min(100%,574px);overflow:hidden;border:1px solid rgba(222,223,220,.92);border-radius:8px;color:#24292f;background:#fff}.activity-file-summary-head{display:flex;align-items:center;gap:5px;min-height:38px;padding:0 10px;border-bottom:1px solid rgba(222,223,220,.92);color:#24292f;font-size:14px;line-height:18px}.activity-file-summary strong{font-weight:500}.activity-file-summary .is-added{color:#159447}.activity-file-summary .is-deleted{color:#d1242f}.activity-file-list{display:grid}.activity-file-item{color:#24292f;font-size:13px;line-height:18px}.activity-file-item+.activity-file-item{border-top:1px solid rgba(222,223,220,.92)}.activity-file-item summary{display:flex;align-items:center;gap:5px;min-height:38px;padding:0 10px;cursor:pointer;list-style:none}.activity-file-item summary::-webkit-details-marker{display:none}.activity-file-item summary:after{content:"";width:6px;height:6px;margin-left:6px;border-right:1.5px solid #8a8f98;border-bottom:1.5px solid #8a8f98;transform:rotate(45deg) translateY(-1px);transition:transform .14s ease}.activity-file-item[open] summary:after{transform:rotate(225deg) translate(-1px,-1px)}.activity-file-item summary span{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.activity-file-item summary strong:first-of-type{margin-left:auto}.activity-diff-shell{margin:0;border-top:1px solid rgba(17,24,39,.08);background:#fbfbfc}.activity-diff-view{max-height:320px;margin:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.55}.activity-diff-row{display:grid;grid-template-columns:34px 34px minmax(0,1fr);min-width:0}.activity-diff-num{padding:0 8px;color:#9aa0a9;text-align:right;-webkit-user-select:none;user-select:none;border-right:1px solid rgba(17,24,39,.07)}.activity-diff-row code{display:block;min-width:0;padding:0 8px;color:#2f343b;background:transparent;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.activity-diff-row.is-add{background:#e9f8ed}.activity-diff-row.is-add code{color:#116329}.activity-diff-row.is-del{background:#ffebe9}.activity-diff-row.is-del code{color:#82071e}.activity-diff-row.is-hunk{background:#eef4ff}.activity-diff-row.is-hunk code{color:#57606a}.activity-diff-row.is-meta,.activity-diff-row.is-gap{background:#f6f8fa}.activity-diff-row.is-meta code{color:#6b7280}.activity-item{margin-top:8px}.activity-item strong{display:block;font-size:12px;line-height:16px}.activity-item ul{margin:5px 0 0;padding-left:18px;font-size:11px}.activity-item em{display:block;margin-top:5px;color:var(--danger);font-style:normal;font-size:11px}.message-content{max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:break-word;font-size:14px;line-height:1.55}.message-content>:first-child{margin-top:0}.message-content>:last-child{margin-bottom:0}.message-content p{margin:0 0 10px}.message-content h1,.message-content h2,.message-content h3,.message-content h4,.message-content h5,.message-content h6{margin:12px 0 6px;color:inherit;font-weight:700;line-height:1.35}.message-content h1,.message-content h2,.message-content h3{font-size:16px}.message-content h4,.message-content h5,.message-content h6{font-size:14px}.message-content ul,.message-content ol{margin:0 0 10px;padding-left:20px}.message-content li{margin:2px 0;padding-left:1px}.message-content li>p{margin:0}.message-content .contains-task-list{padding-left:18px;list-style:none}.message-content .task-list-item{position:relative}.message-content .task-list-item input[type=checkbox]{width:14px;height:14px;margin:0 6px 0 -18px;vertical-align:-2px;accent-color:var(--accent)}.message-content blockquote{margin:0 0 10px;padding:2px 0 2px 10px;border-left:3px solid rgba(99,111,125,.28);color:#5e6671}.message-content hr{height:1px;margin:14px 0;border:0;background:#636f7d38}.message-content del{color:#6b7280}.message-content a{color:#1758d6;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.12em}.message-row.is-user .message-content a{color:#cfe3ff}[data-theme=dark] .message-content a{color:#7ab7ff}[data-theme=dark] .message-row.is-user .message-content a{color:#d8e8ff}.message-content pre,.message-content code{max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.message-content pre{margin:8px 0 10px;padding:9px 10px;overflow-x:auto;border-radius:8px;color:#334155;background:#f5f6f8;font-size:12px;line-height:1.5;font-style:normal;font-variant-ligatures:none}.markdown-code-block{max-width:100%;margin:8px 0 10px;overflow:hidden;border:1px solid rgba(210,213,208,.72);border-radius:8px;background:#f5f6f8}.markdown-code-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:30px;padding:0 8px 0 10px;border-bottom:1px solid rgba(210,213,208,.62);color:#737b86;font-size:11px;line-height:14px}.markdown-code-head span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.markdown-code-head button{display:inline-grid;width:26px;height:26px;flex:0 0 auto;place-items:center;border:0;border-radius:6px;color:#7a828d;background:transparent}.markdown-code-head button:hover,.markdown-code-head button:focus-visible,.markdown-code-head button:active{color:#334155;background:#1118270f}.markdown-code-block pre{margin:0;border-radius:0;background:transparent}.markdown-code-block code,.markdown-code-block code *,.message-content pre code,.message-content pre code *{color:inherit!important;font-style:normal!important;font-weight:500}.message-content code{padding:1px 4px;border-radius:5px;color:#1f2937;background:#11182714;font-size:.92em}.message-content pre code{padding:0;color:inherit;background:transparent;font-size:inherit}.message-row.is-user .message-content code{color:#f8fafc;background:#ffffff29}.message-row.is-user .message-content pre{color:#f8fafc;background:#ffffff1a}.message-row.is-user .markdown-code-block{border-color:#ffffff29;background:#ffffff1a}.message-row.is-user .markdown-code-head{border-bottom-color:#ffffff24;color:#f8fafcb8}.markdown-table-wrap{max-width:100%;margin:8px 0 10px;overflow-x:auto;border:1px solid rgba(210,213,208,.9);border-radius:8px}.message-content table{width:100%;min-width:280px;border-collapse:collapse;font-size:12px}.message-content th,.message-content td{padding:7px 8px;border-bottom:1px solid rgba(210,213,208,.86);text-align:left;vertical-align:top}.message-content th{font-weight:700;background:#1118270a}.message-content tr:last-child td{border-bottom:0}.message-image-link{display:block;width:min(100%,calc(100vw - 56px),360px);max-width:100%;margin:8px 0;padding:0;border:0;border-radius:8px;color:inherit;background:#eef0ed;text-align:left;overflow:hidden;cursor:zoom-in;-webkit-touch-callout:none}.message-image-link.is-thumbnail{flex:0 0 auto;width:70px;height:70px;margin:0;border:1px solid rgba(222,223,220,.95);border-radius:10px;background:#fff;box-shadow:0 1px 2px #1018280d}.message-image{display:block;width:100%;height:auto;max-height:min(54vh,520px);object-fit:contain}.message-image-link.is-thumbnail .message-image{width:100%;height:100%;max-height:none;object-fit:cover}.message-image-link.is-failed{display:grid;min-height:132px;place-items:center;border:1px dashed rgba(194,65,58,.28);color:var(--danger);background:#fff4f2}.message-image-link.is-thumbnail.is-failed{min-height:70px}.message-image-link.is-failed img{display:none}.image-error{display:inline-flex;align-items:center;gap:8px;font-size:13px}.image-error span{color:#174eb8}.image-lightbox{position:fixed;inset:0;z-index:90;display:grid;grid-template-rows:auto 1fr auto;padding:calc(env(safe-area-inset-top,0px) + 10px) 12px calc(env(safe-area-inset-bottom,0px) + 12px);background:#080a0df0;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.lightbox-top{display:flex;justify-content:flex-end}.lightbox-close{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border:0;border-radius:50%;color:#fff;background:#ffffff24}.lightbox-stage{min-height:0;display:grid;place-items:center;padding:8px 0;overflow:hidden;cursor:zoom-in;touch-action:none;user-select:none;-webkit-user-select:none}.lightbox-stage.is-zoomed{cursor:grab}.lightbox-stage.is-zoomed:active{cursor:grabbing}.lightbox-stage img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:8px;background:#ffffff0f;transform-origin:center center;will-change:transform;transition:transform .16s ease;-webkit-user-drag:none;user-select:none;-webkit-user-select:none}.lightbox-zoom-controls{display:inline-flex;align-items:center;justify-self:center;gap:6px;padding:6px;border-radius:999px;background:#ffffff24;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.lightbox-zoom-controls button{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:38px;padding:0 12px;border:0;border-radius:999px;color:#fff;background:#ffffff29;font-size:13px;font-weight:650}.lightbox-zoom-controls button:disabled{opacity:.42}.lightbox-actions{display:flex;justify-content:center;padding-top:8px}.lightbox-actions button{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 14px;border:0;border-radius:999px;color:var(--danger);background:#ffffffeb}.message-bubble time{display:block;margin-top:6px;color:#6f747ac7;font-size:10px}.message-row.is-user .message-bubble time{color:#ffffffa3}[data-theme=dark] .empty-orbit{color:var(--accent);background:#262626}[data-theme=dark] .message-bubble{color:var(--text);background:#1f1f1f;border-color:#303030;box-shadow:none}[data-theme=dark] .message-row.is-user .message-bubble{color:var(--text);background:#303030;border-color:#3a3a3a}[data-theme=dark] .message-row.is-assistant .message-bubble{color:var(--text);background:transparent;border-color:transparent}[data-theme=dark] .message-row.is-activity .message-bubble,[data-theme=dark] .message-row.is-activity .activity-bubble{color:#a1a1aa;background:transparent;border-color:transparent}[data-theme=dark] .activity-bubble.is-failed{color:#ffb4ae;background:#ff6b621f;border-color:#ff6b6242}[data-theme=dark] .activity-text{color:var(--text)}[data-theme=dark] .activity-live,[data-theme=dark] .activity-meta.is-running .activity-meta-summary,[data-theme=dark] .activity-meta{color:#a1a1aa}[data-theme=dark] .activity-divider{color:#71717a}[data-theme=dark] .activity-summary:after{border-top-color:#ffffff1c}[data-theme=dark] .activity-divider:before,[data-theme=dark] .activity-divider:after{border-top-color:#ffffff1c}[data-theme=dark] .activity-timeline{background:#1f1f1fa3;border-color:var(--hairline)}[data-theme=dark] .activity-meta-line{color:#a1a1aa}[data-theme=dark] .activity-markdown code,[data-theme=dark] .activity-meta-detail code{color:#c8c8d0;background:#ffffff14}[data-theme=dark] .activity-meta-label{color:#a1a1aa}[data-theme=dark] .activity-meta-detail{color:#c8c8d0}[data-theme=dark] .activity-command-detail{color:#a1a1aa}[data-theme=dark] .activity-shell{color:#dedee3;background:#242428}[data-theme=dark] .activity-shell-head,[data-theme=dark] .activity-shell-status{color:#9ca3af}[data-theme=dark] .activity-subagent-row{color:#a1a1aa}[data-theme=dark] .activity-subagent-row strong{color:#f87171}[data-theme=dark] .activity-subagent-row small,[data-theme=dark] .activity-subagent-row em{color:#a1a1aa}[data-theme=dark] .activity-file-summary{color:#ededf0;background:#171717;border-color:#383838}[data-theme=dark] .activity-file-summary-head{color:#ededf0;border-bottom-color:#383838}[data-theme=dark] .activity-file-item{color:#ededf0}[data-theme=dark] .activity-file-item+.activity-file-item{border-top-color:#383838}[data-theme=dark] .activity-diff-shell,[data-theme=dark] .activity-diff-view{background:#171717}[data-theme=dark] .activity-diff-shell{border-top-color:#383838}[data-theme=dark] .activity-diff-num{color:#7b7f87;border-right-color:#303030}[data-theme=dark] .activity-diff-row code{color:#d8d8de}[data-theme=dark] .activity-diff-row.is-add{background:#23863633}[data-theme=dark] .activity-diff-row.is-add code{color:#9be9a8}[data-theme=dark] .activity-diff-row.is-del{background:#f851492e}[data-theme=dark] .activity-diff-row.is-del code{color:#ffb4ae}[data-theme=dark] .activity-diff-row.is-hunk,[data-theme=dark] .activity-diff-row.is-meta,[data-theme=dark] .activity-diff-row.is-gap{background:#20242b}[data-theme=dark] .activity-diff-row.is-hunk code,[data-theme=dark] .activity-diff-row.is-meta code{color:#9ca3af}[data-theme=dark] .activity-chevron{color:#71717a}[data-theme=dark] .message-actions{color:#a1a1aa}[data-theme=dark] .message-action:hover,[data-theme=dark] .message-action:focus-visible,[data-theme=dark] .message-action:active{color:var(--text)}[data-theme=dark] .message-content blockquote{color:#b7b7c0;border-left-color:#4a4a52}[data-theme=dark] .message-content pre{color:#ededf0;background:#141414}[data-theme=dark] .markdown-code-block{border-color:#383838;background:#141414}[data-theme=dark] .markdown-code-head{color:#a1a1aa;border-bottom-color:#2c2c31}[data-theme=dark] .markdown-code-head button{color:#a1a1aa}[data-theme=dark] .markdown-code-head button:hover,[data-theme=dark] .markdown-code-head button:focus-visible,[data-theme=dark] .markdown-code-head button:active{color:#ededf0;background:#ffffff14}[data-theme=dark] .message-content code{color:#ededf0;background:#ffffff1f}[data-theme=dark] .message-content pre code{background:transparent}[data-theme=dark] .markdown-table-wrap{border-color:#383838}[data-theme=dark] .message-content th,[data-theme=dark] .message-content td{border-bottom-color:#383838}[data-theme=dark] .message-content th{background:#ffffff0f}[data-theme=dark] .message-image-link{background:#242424}[data-theme=dark] .message-image-link.is-failed{color:#ffb4ae;background:#ff6b621a;border-color:#ff6b6247}[data-theme=dark] .image-error span{color:var(--accent)}[data-theme=dark] .lightbox-actions button{color:#ffb4ae;background:#242424}[data-theme=dark] .lightbox-zoom-controls{background:#242424b8}[data-theme=dark] .message-bubble time{color:#8b8b94}[data-theme=dark] .message-row.is-user .message-bubble time{color:#1111139e}[data-theme=dark] .scroll-latest-button{background:var(--glass-strong);border-color:var(--hairline)}[data-theme=dark] .composer-wrap{background:linear-gradient(180deg,#17171700,#171717eb 28%)}.composer-wrap{position:relative;z-index:30;min-width:0;width:100%;max-width:100vw;padding:7px 12px calc(env(safe-area-inset-bottom,0px) + 8px);background:linear-gradient(180deg,#f7f7f400,#f7f7f4e6 28%);-webkit-backdrop-filter:blur(20px) saturate(1.12);backdrop-filter:blur(20px) saturate(1.12);border-top:0;overflow:visible}[data-keyboard=open] .composer-wrap{padding-bottom:2px}[data-keyboard=open] .chat-pane{padding-bottom:4px}.file-input{display:none}.composer-menu{position:absolute;bottom:calc(100% + 8px);z-index:60;display:flex;flex-direction:column;gap:2px;min-width:150px;max-width:min(84vw,300px);max-height:42svh;padding:7px;overflow:auto;border:1px solid rgba(222,223,220,.9);border-radius:16px;background:var(--glass-strong);box-shadow:var(--soft-shadow);-webkit-backdrop-filter:blur(22px) saturate(1.18);backdrop-filter:blur(22px) saturate(1.18)}.attach-menu{left:14px}.permission-menu{left:56px}.skill-menu{left:96px;min-width:238px}.model-menu{right:12px;min-width:176px}.send-mode-menu{right:12px;min-width:242px}.shortcut-menu{left:12px;right:12px;max-width:none;max-height:min(280px,38svh)}.send-mode-menu button>span:last-child{display:block}.send-mode-menu strong,.send-mode-menu small,.shortcut-menu strong,.shortcut-menu small{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.send-mode-menu strong,.shortcut-menu strong{font-size:14px;font-weight:650}.send-mode-menu small,.shortcut-menu small{margin-top:2px;color:#7b838d;font-size:11px;line-height:14px}.skill-search-wrap{display:flex;align-items:center;gap:7px;min-height:36px;padding:0 9px;border-radius:8px;color:#8a9097;background:#f4f5f2}.skill-search-wrap input{width:100%;min-width:0;border:0;outline:0;color:var(--text);background:transparent;font:inherit;font-size:14px}.skill-search-wrap input::placeholder{color:#9ba1a8}.menu-section-label{padding:4px 9px 2px;color:#8a9097;font-size:12px;line-height:16px}.menu-divider{height:1px;margin:5px 2px;background:#eceeeb}.composer-menu button{display:flex;align-items:center;gap:9px;width:100%;min-height:38px;padding:8px 9px;border:0;border-radius:8px;color:#363c45;background:transparent;text-align:left}.composer-menu button.is-selected{color:#174eb8;background:var(--accent-soft)}.composer-menu button.is-danger{color:var(--danger)}.composer-menu button:disabled{cursor:not-allowed;opacity:.46}.skill-menu-item>span:last-child{display:block}.skill-menu-item strong,.skill-menu-item small{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.skill-menu-item strong{font-size:14px;font-weight:650}.skill-menu-item small{margin-top:2px;color:#7b838d;font-size:11px;line-height:14px}.skill-clear-button{margin-top:3px}.menu-empty{padding:10px 9px;color:#8a9097;font-size:13px}.composer-menu button span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.menu-spacer{width:16px;height:16px;flex:0 0 auto}.composer{width:100%;max-width:100%;min-width:0;border:1px solid var(--hairline);border-radius:26px;background:var(--glass-strong);box-shadow:var(--soft-shadow);-webkit-backdrop-filter:blur(22px) saturate(1.18);backdrop-filter:blur(22px) saturate(1.18);overflow:hidden}.attachment-tray{display:flex;gap:6px;padding:8px 10px 0;overflow-x:auto}.attachment-chip{flex:0 0 auto;display:inline-flex;align-items:center;gap:5px;max-width:260px;height:30px;padding:0 5px 0 8px;border-radius:999px;color:#4f5661;background:#eeefebe0}.attachment-chip>span{min-width:0;max-width:138px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.attachment-chip small{color:var(--muted);font-size:10px}.attachment-chip button{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border:0;border-radius:50%;color:#737a83;background:transparent}.file-mention-chip{background:#ebf2ffeb}.queued-drafts-panel{display:grid;gap:6px;margin:0 0 7px;padding:0}.queued-draft-row{display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:42px;padding:7px 8px;border:1px solid rgba(222,223,220,.9);border-radius:12px;color:#4b5563;background:#ffffffd1;box-shadow:0 7px 20px #14181f0f}.queued-draft-text{display:grid;gap:1px;min-width:0;padding:0;border:0;color:inherit;background:transparent;text-align:left}.queued-draft-text strong,.queued-draft-text small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.queued-draft-text strong{color:var(--text);font-size:13px;font-weight:590}.queued-draft-text small{color:var(--muted);font-size:11px}.queued-draft-actions{display:inline-flex;align-items:center;gap:3px}.queued-draft-actions button{display:inline-flex;align-items:center;justify-content:center;width:29px;height:29px;border:0;border-radius:50%;color:#69717d;background:transparent}.composer textarea{display:block;width:100%;min-height:44px;max-height:132px;padding:14px 16px 6px;resize:none;border:0;outline:0;color:var(--text);background:transparent;line-height:1.45;font-size:16px}.composer textarea::placeholder{color:#b1b5ba}.composer-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:4px 8px 8px}.control-left,.control-right{display:flex;align-items:center;gap:6px;min-width:0}.control-left{flex:1 1 auto}.control-right{flex:0 1 auto;justify-content:flex-end}.permission-pill,.model-select,.skill-select{display:inline-flex;align-items:center;gap:3px;height:32px;padding:0 3px;border:0;color:#60666e;background:transparent;white-space:nowrap;flex:0 1 auto}.permission-pill{max-width:118px;overflow:hidden}.skill-select{max-width:108px;overflow:hidden}.skill-select span{min-width:0;overflow:hidden;text-overflow:ellipsis}.skill-select:disabled{opacity:.42}.model-select{max-width:128px;overflow:hidden;text-overflow:ellipsis}.context-status-wrap{flex:0 0 auto}.context-status-button{display:inline-flex;align-items:center;justify-content:center;gap:3px;min-width:30px;height:32px;padding:0 6px;border:0;border-radius:999px;color:#69717c;background:transparent;font-size:12px;font-weight:650;outline:0;white-space:nowrap}.context-status-button[aria-expanded=true],.context-status-button:focus-visible{background:#174eb814;box-shadow:inset 0 0 0 1px #174eb824}.context-status-dot{width:6px;height:6px;border-radius:50%;background:#9aa2ad}.context-status-button.has-window{color:#4d5967}.context-status-button.has-window .context-status-dot{background:#15a46b}.context-status-button.is-compacted{color:#0f7a50}.context-popover{position:absolute;right:84px;bottom:calc(100% + 8px);z-index:38;width:max-content;max-width:min(260px,calc(100vw - 32px));padding:10px 12px;border:1px solid rgba(222,223,220,.9);border-radius:8px;color:#2f363f;background:#fffffffa;box-shadow:0 10px 32px #14181f24;font-size:12px;line-height:20px;text-align:left}.context-popover-title{color:#717985}.composer-run-status{display:flex;align-items:center;gap:9px;width:100%;min-width:0;margin:0 0 7px;padding:8px 10px;border:1px solid rgba(23,78,184,.13);border-radius:14px;color:#1f2937;background:#ffffffd1;box-shadow:0 7px 22px #14181f12}.composer-run-status.is-warning{border-color:#bb7c1338;background:#fff8e6eb}.composer-run-status.is-warning .composer-run-dot{background:#b7791f;box-shadow:0 0 0 5px #b7791f21}.composer-run-dot{position:relative;flex:0 0 auto;width:8px;height:8px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 5px #174eb81a}.composer-run-dot:after{content:"";position:absolute;inset:-5px;border-radius:inherit;border:1px solid rgba(23,78,184,.26);animation:runPulse 1.25s ease-out infinite}.composer-run-main{display:grid;gap:1px;min-width:0;flex:1 1 auto}.composer-run-main strong,.composer-run-main small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.composer-run-main strong{color:#24292f;font-size:13px;line-height:17px;font-weight:650}.composer-run-main small{color:#737a83;font-size:12px;line-height:16px}.composer-run-time{flex:0 0 auto;padding:2px 7px;border-radius:999px;color:#4b5563;background:#1118270f;font-size:12px;line-height:17px;font-variant-numeric:tabular-nums}.send-button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:0;border-radius:50%}.send-button{color:var(--bubble-user-text);background:var(--bubble-user)}.send-button:disabled{opacity:.38}.send-button.is-running{background:var(--danger)}.send-button.is-queueing{background:#174eb8}.voice-popover{position:absolute;right:58px;bottom:calc(100% + 8px);z-index:36;display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:7px 10px;border:1px solid rgba(21,164,107,.16);border-radius:10px;color:#0f7a50;background:#fffffff7;box-shadow:0 8px 28px #14181f1f;font-size:12px}.voice-popover.is-error{border-color:#c2413a2e;color:var(--danger)}.voice-dialog-backdrop{position:fixed;inset:0;z-index:80;display:flex;align-items:flex-end;justify-content:center;padding:16px 12px calc(env(safe-area-inset-bottom,0px) + 18px);background:#11182747}.voice-dialog-panel{width:min(100%,390px);padding:12px;border:1px solid rgba(222,223,220,.92);border-radius:18px;background:#fffffffa;box-shadow:0 18px 52px #14181f33}.voice-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:32px}.voice-dialog-header span{display:inline-flex;align-items:center;gap:7px;min-width:0;color:var(--text);font-weight:650;font-size:14px}.voice-dialog-header button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:0;border-radius:50%;color:#69717c;background:#f0f1ee}.voice-dialog-orb{display:grid;place-items:center;width:76px;height:76px;margin:18px auto 10px;border-radius:50%;color:#174eb8;background:var(--accent-soft)}.voice-dialog-orb.is-listening{color:#fff;background:var(--green);box-shadow:0 0 0 9px #15a46b24}.voice-dialog-orb.is-speaking{color:#fff;background:var(--accent)}.voice-dialog-orb.is-error{color:#fff;background:var(--danger)}.voice-dialog-status{min-height:22px;color:#4b5563;text-align:center;font-size:14px;line-height:20px}.voice-dialog-status.is-error{color:var(--danger)}.voice-dialog-meta{margin-top:4px;color:#747b84;text-align:center;font-size:12px;line-height:16px;overflow-wrap:anywhere}.voice-dialog-line{max-height:84px;margin:10px 0 0;padding:9px 10px;overflow:auto;border-radius:10px;background:#f5f7f4;color:#3f4650;font-size:13px;line-height:18px}.voice-dialog-line.is-user{background:#eef5ff}.voice-dialog-handoff{margin-top:12px}.voice-dialog-handoff textarea{width:100%;min-height:148px;resize:vertical;border:1px solid rgba(209,213,219,.92);border-radius:10px;padding:10px;color:var(--text);background:#fbfcfa;font:inherit;font-size:13px;line-height:19px}.voice-dialog-handoff textarea:focus{outline:none;border-color:#174eb87a;box-shadow:0 0 0 3px #174eb81f}.voice-dialog-handoff-actions{flex-wrap:wrap}.voice-dialog-handoff-actions button{min-width:104px}.voice-dialog-actions{display:flex;gap:8px;margin-top:14px}.voice-dialog-actions button{flex:1 1 0;min-height:38px;border:0;border-radius:10px;font-weight:650;font-size:14px}.voice-dialog-primary{color:#fff;background:#1f2328}.voice-dialog-primary.is-listening{background:var(--green)}.voice-dialog-primary:disabled{opacity:.52}.voice-dialog-secondary{color:#4b5563;background:#eef0ec}[data-theme=dark] .composer-wrap{background:#171717f0;border-top-color:#303030e6}[data-theme=dark] .composer-menu{border-color:#303030;background:#1f1f1ffa;box-shadow:0 16px 44px #00000057}[data-theme=dark] .menu-section-label{color:var(--muted)}[data-theme=dark] .menu-divider{background:#303030}[data-theme=dark] .composer-menu button{color:#e4e4e7}[data-theme=dark] .composer-menu button.is-selected{color:var(--text);background:#303030}[data-theme=dark] .skill-search-wrap{color:#a1a1aa;background:#262626}[data-theme=dark] .skill-menu-item small,[data-theme=dark] .send-mode-menu small,[data-theme=dark] .shortcut-menu small,[data-theme=dark] .menu-empty{color:#a1a1aa}[data-theme=dark] .composer{border-color:#303030;background:#202020;box-shadow:none}[data-theme=dark] .attachment-chip{color:#e4e4e7;background:#303030}[data-theme=dark] .file-mention-chip{background:#263044}[data-theme=dark] .attachment-chip button{color:#d4d4d8}[data-theme=dark] .queued-draft-row{color:#d4d4d8;border-color:#303030;background:#1f1f1fe6;box-shadow:none}[data-theme=dark] .queued-draft-actions button{color:#d4d4d8}[data-theme=dark] .composer textarea::placeholder{color:#85858e}[data-theme=dark] .permission-pill,[data-theme=dark] .model-select,[data-theme=dark] .skill-select,[data-theme=dark] .context-status-button{color:#d4d4d8}[data-theme=dark] .context-status-button[aria-expanded=true],[data-theme=dark] .context-status-button:focus-visible{background:#ffffff14;box-shadow:inset 0 0 0 1px #ffffff1f}[data-theme=dark] .context-status-dot{background:#71717a}[data-theme=dark] .context-status-button.has-window .context-status-dot{background:#86efac}[data-theme=dark] .context-status-button.is-compacted{color:#86efac}[data-theme=dark] .context-popover{border-color:#303030;color:var(--text);background:#1f1f1ffa;box-shadow:0 16px 44px #00000057}[data-theme=dark] .context-popover-title{color:var(--muted)}[data-theme=dark] .composer-run-status{color:#ededf0;background:#1f1f1fe6;border-color:#ffffff1a;box-shadow:none}[data-theme=dark] .composer-run-status.is-warning{background:#372914eb;border-color:#f59e0b47}[data-theme=dark] .composer-run-main strong{color:#f4f4f5}[data-theme=dark] .composer-run-main small{color:#a1a1aa}[data-theme=dark] .composer-run-time{color:#d4d4d8;background:#ffffff14}[data-theme=dark] .send-button{color:#171717;background:#f4f4f5}[data-theme=dark] .send-button.is-running{color:#fff;background:var(--danger)}[data-theme=dark] .send-button.is-queueing{color:#fff;background:#3b82f6}[data-theme=dark] .voice-popover{color:#b6f2d4;background:#242424;border-color:#37c58a3d;box-shadow:0 12px 34px #00000057}[data-theme=dark] .voice-popover.is-error{color:#ffb4ae;border-color:#ff6b6247}[data-theme=dark] .voice-dialog-backdrop{background:#0000006b}[data-theme=dark] .voice-dialog-panel{border-color:#303030;background:#202020;box-shadow:0 18px 52px #0000006b}[data-theme=dark] .voice-dialog-header span{color:var(--text)}[data-theme=dark] .voice-dialog-header button,[data-theme=dark] .voice-dialog-orb{color:#e4e4e7;background:#303030}[data-theme=dark] .voice-dialog-orb.is-listening{color:#171717;background:var(--green)}[data-theme=dark] .voice-dialog-orb.is-speaking{color:#171717;background:#f4f4f5}[data-theme=dark] .voice-dialog-status{color:#d4d4d8}[data-theme=dark] .voice-dialog-status.is-error{color:#ffb4ae}[data-theme=dark] .voice-dialog-meta{color:#a1a1aa}[data-theme=dark] .voice-dialog-line{color:#e4e4e7;background:#2a2a2a}[data-theme=dark] .voice-dialog-line.is-user{background:#253044}[data-theme=dark] .voice-dialog-handoff textarea{border-color:#3f3f46;color:#e4e4e7;background:#252525}[data-theme=dark] .voice-dialog-secondary{color:#e4e4e7;background:#303030}.pairing-screen{min-height:100svh;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:28px;background:var(--surface);color:var(--text)}.pairing-mark{display:grid;place-items:center;width:68px;height:68px;border-radius:22px;color:#fff;background:#1f2937;margin-bottom:20px}.pairing-screen h1{margin:0;font-size:30px;line-height:1.08}.pairing-screen p{margin:0;color:var(--muted)}.pairing-lead{max-width:410px;margin-top:10px!important;font-size:16px;line-height:1.62}.pairing-points{display:flex;flex-wrap:wrap;gap:8px;max-width:420px;margin:18px 0 20px}.pairing-points span{display:inline-flex;align-items:center;min-height:30px;padding:0 10px;border:1px solid var(--line);border-radius:999px;color:var(--text);background:var(--panel);font-size:13px;white-space:nowrap}[data-theme=dark] .pairing-points span{background:#202020;border-color:#303030}.pairing-note{margin-bottom:12px!important;font-size:14px}.pairing-form{display:flex;gap:10px;width:min(100%,420px)}.pairing-form input{min-width:0;flex:1;height:48px;padding:0 14px;border:1px solid var(--line);border-radius:10px;outline:0;background:#fff;letter-spacing:0}[data-theme=dark] .pairing-form input{color:var(--text);background:#202020;border-color:#303030}.pairing-form button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:92px;height:48px;border:0;border-radius:10px;color:#fff;background:#1f2937}[data-theme=dark] .pairing-form button{color:#171717;background:#f4f4f5}.pairing-form button:disabled{opacity:.45}.pairing-error{margin-top:12px;color:var(--danger);font-size:14px}.spin{animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes activityPulse{0%,to{opacity:.42}50%{opacity:1}}@keyframes runPulse{0%{opacity:.7;transform:scale(.72)}to{opacity:0;transform:scale(1.8)}}@keyframes scrollLatestIn{0%{opacity:0;transform:translateY(8px) scale(.94)}to{opacity:1;transform:translateY(0) scale(1)}}@media(min-width:820px){body{display:grid;place-items:center;background:#e8e9e5}#root{width:min(430px,100vw);height:min(932px,var(--app-height, 100dvh));border-left:1px solid #d7d9d5;border-right:1px solid #d7d9d5;box-shadow:0 24px 80px #14181f29}.app-shell{position:relative;width:100%;max-width:100%;height:100%}[data-theme=dark] body{background:#111}[data-theme=dark] #root{border-left-color:#303030;border-right-color:#303030;box-shadow:0 24px 80px #0000006b}}@media(max-width:480px){.permission-pill,.model-select{max-width:104px}.skill-select{max-width:86px}}@media(max-width:380px){.permission-pill{max-width:92px;overflow:hidden}.model-select{max-width:86px}.skill-select{max-width:34px;padding:0}.skill-select span,.skill-select .lucide-chevron-down{display:none}.context-status-button{min-width:28px;padding:0 5px}.context-status-button>span:not(.context-status-dot){display:none}}
