: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;--composer-height: calc(env(safe-area-inset-bottom, 0px) + 118px) ;--keyboard-inset: 0px}[data-theme=dark]{color:#f4f4f5;background:#000;--surface: #000000;--panel: #0a0a0b;--panel-2: #121214;--text: #f4f4f5;--muted: #a1a1aa;--line: #202024;--accent: #9fb7ff;--accent-soft: rgba(159, 183, 255, .16);--green: #37c58a;--danger: #ff6b62;--shadow: 0 18px 48px rgba(0, 0, 0, .56);--glass: rgba(8, 8, 9, .78);--glass-strong: rgba(12, 12, 13, .92);--hairline: rgba(255, 255, 255, .09);--soft-shadow: 0 12px 34px rgba(0, 0, 0, .46);--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}.app-shell:before{content:"";position:fixed;top:0;left:0;right:0;height:calc(env(safe-area-inset-top,0px) + 72px);z-index:33;pointer-events:none;background:linear-gradient(180deg,#f7f7f4e6,#f7f7f49e 62%,#f7f7f400);-webkit-backdrop-filter:blur(12px) saturate(1.04);backdrop-filter:blur(12px) saturate(1.04);-webkit-mask-image:linear-gradient(180deg,#000 0%,rgba(0,0,0,.92) 58%,transparent 100%);mask-image:linear-gradient(180deg,#000 0%,rgba(0,0,0,.92) 58%,transparent 100%)}[data-theme=dark] .app-shell{background:var(--surface)}[data-theme=dark] .app-shell:before{background:linear-gradient(180deg,#000000db,#0000008f 62%,#0000)}.top-bar{position:fixed;top:0;left:0;right:0;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:transparent;border-bottom:0;overflow:visible;z-index:34}.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:#151518}[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}.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:#080809fa;border-color:#242428;box-shadow:0 16px 36px #00000085}[data-theme=dark] .top-menu-title,[data-theme=dark] .top-menu-popover svg{color:#d4d4d8}[data-theme=dark] .top-menu-popover button:active{background:#151518}[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:#242428}.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-route-pending{color:#7c3aed}.connection-status.is-connecting{color:#64748b}.connection-status.is-disconnected{color:var(--danger)}.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}[data-theme=dark] .toast-item,[data-theme=dark] .connection-recovery-card{border-color:#242428;background:#080809f5;box-shadow:0 16px 36px #00000085}[data-theme=dark] .connection-recovery-card button{color:#dbeafe;background:#60a5fa26}.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}[data-theme=dark] .docs-panel-header{background:#000000f0;border-bottom-color:#ffffff14}.git-panel-body{gap:14px;padding:16px;overflow-y:auto}.git-action-sheet .docs-panel-title span{max-width:62vw}.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-card.is-compact{padding:12px}.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-action-launcher{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.git-action-launcher button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:34px;padding:0 7px;border:1px solid rgba(222,223,220,.86);border-radius:7px;color:var(--text);background:var(--surface);font-size:12px;line-height:15px}.git-action-launcher button.is-active{color:var(--accent);border-color:#2563eb47;background:var(--accent-soft)}.git-action-launcher button:disabled{opacity:.58}.git-action-launcher span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.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-branch-list{display:grid;gap:7px;max-height:30svh;overflow:auto}.git-branch-list button{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:9px;width:100%;min-height:48px;padding:8px 10px;border:1px solid rgba(222,223,220,.86);border-radius:8px;color:var(--text);background:var(--panel);text-align:left}.git-branch-list button:disabled{opacity:.58}.git-branch-list span{display:grid;gap:2px;min-width:0}.git-branch-list strong,.git-branch-list small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.git-branch-list strong{font-size:13px;line-height:17px}.git-branch-list small{color:var(--muted);font-size:11px;line-height:15px}.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-inline-progress{display:inline-flex;align-items:center;gap:8px;color:var(--muted);font-size:13px;line-height:18px}.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-pr-draft{display:grid;gap:8px;min-width:0}.git-pr-draft strong{font-size:14px;line-height:19px}.git-pr-draft small{color:#8a5b24;font-size:12px;line-height:16px}.git-pr-draft pre{min-width:0;max-height:32svh;margin:0;overflow:auto;padding:10px;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-panel-actions{justify-content:flex-start}[data-theme=dark] .git-tabs,[data-theme=dark] .git-status-card,[data-theme=dark] .git-diff-card,[data-theme=dark] .git-action-card,[data-theme=dark] .git-action-launcher button{border-color:#202024;background:#0a0a0b}[data-theme=dark] .git-tabs button.is-active,[data-theme=dark] .git-action-launcher 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-branch-list button{border-color:#202024;background:#000}[data-theme=dark] .git-diff-summary,[data-theme=dark] .git-diff-pre,[data-theme=dark] .git-output,[data-theme=dark] .git-pr-draft pre{color:#e4e4e7;background:#101012}[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:#060607fa}.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-brand{grid-template-columns:34px minmax(0,1fr);align-items:center;gap:10px!important}.drawer-app-icon{width:34px;height:34px;border-radius:10px;box-shadow:0 1px 2px #1118272e}.drawer-brand span{min-width:0;display:grid;gap:1px}.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:16px;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:#101012}.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:#000}.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:#101012}.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}.drawer-thread-browser{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;gap:14px;overflow:auto;padding:0 0 12px}.conversation-section{flex:0 0 auto;margin-bottom:0}.project-section{flex:1 1 auto;display:flex;min-height:0;flex-direction:column;margin-bottom:10px}.drawer-heading{padding:0 2px 7px;color:#7c8288;font-size:12px;font-weight:650}.project-list{flex:0 0 auto;min-height:0;display:flex;flex-direction:column;gap:0;max-height:none;overflow:visible;padding-right:0;padding-bottom:0}.project-group{display:flex;flex-direction:column;border-bottom:1px solid rgba(226,229,225,.82)}.project-group:first-child{border-top:1px solid rgba(226,229,225,.82)}[data-theme=dark] .project-group{border-color:#363636e6;background:transparent}[data-theme=dark] .project-group:first-child{border-top-color:#363636e6}.project-row{min-height:56px;padding:9px 4px;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:#121214}.project-row span{flex:1}.project-count{flex:0 0 auto;min-width:30px;padding:0 4px 0 8px;color:#8b929c;background:transparent;box-shadow:none;font-size:15px;font-weight:500;line-height:20px;text-align:right;font-variant-numeric:tabular-nums}[data-theme=dark] .project-count{color:#8e8e93;background:transparent;box-shadow:none}.project-row.is-selected .project-count{color:#667085;background:transparent;box-shadow:none}[data-theme=dark] .project-row.is-selected .project-count{color:#a1a1aa;background:transparent;box-shadow:none}.project-chevron{flex:0 0 auto;color:#8a9097;transition:transform .16s ease}.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) 30px;align-items:center;gap:2px;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.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:#101012;border-color:#242428}.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;touch-action:manipulation}.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-more-button{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:0;border-radius:999px;color:#9aa1aa;background:transparent;opacity:0;pointer-events:none}.thread-row.is-selected .thread-more-button{opacity:1;pointer-events:auto}.thread-more-button:active,.thread-more-button[aria-expanded=true]{background:#e7eae7f5}[data-theme=dark] .thread-more-button{color:#a1a1aa}[data-theme=dark] .thread-more-button:active,[data-theme=dark] .thread-more-button[aria-expanded=true]{background:#1b1b1f}.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}.drawer-empty-state{display:grid;place-items:center;min-height:64px;color:var(--muted);font-size:13px}.thread-action-backdrop{position:fixed;inset:0;z-index:3;background:transparent}.thread-action-menu{position:fixed;left:var(--thread-menu-x);top:var(--thread-menu-y);z-index:4;display:grid;width:156px;overflow:hidden;border:1px solid rgba(222,223,220,.92);border-radius:12px;background:#fffffffa;box-shadow:0 14px 34px #11182738;transform:translate(-50%,-8px);-webkit-backdrop-filter:blur(18px) saturate(1.12);backdrop-filter:blur(18px) saturate(1.12)}.thread-action-menu button{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:0 13px;border:0;border-bottom:1px solid rgba(226,229,225,.82);color:var(--text);background:transparent;font-size:14px;font-weight:600;text-align:left}.thread-action-menu button:last-child{border-bottom:0}.thread-action-menu button:active{background:#f0f2f0}.thread-action-menu .is-danger{color:var(--danger)}[data-theme=dark] .thread-action-menu{border-color:#ffffff17;background:#080809fa;box-shadow:0 18px 38px #0000008f}[data-theme=dark] .thread-action-menu button{border-bottom-color:#ffffff14}[data-theme=dark] .thread-action-menu button:active{background:#2b2b2b}.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:#171719}.drawer{width:min(86vw,380px);padding:calc(env(safe-area-inset-top,0px) + 12px) 14px calc(env(safe-area-inset-bottom,0px) + 10px);background:#fff;box-shadow:0 0 0 1px #1118270a,12px 0 32px #11182714;-webkit-backdrop-filter:none;backdrop-filter:none}[data-theme=dark] .drawer{background:#050506;box-shadow:0 0 0 1px #ffffff0a,12px 0 32px #0006}.drawer-header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:36px;margin-bottom:10px;padding:0 2px}.drawer-brand{display:flex;align-items:center;gap:10px;min-width:0}.drawer-brand .drawer-app-icon{width:26px;height:26px;border-radius:7px;box-shadow:none}.drawer-brand-name{color:#111827;font-size:16px;font-weight:650;letter-spacing:0}[data-theme=dark] .drawer-brand-name{color:#f4f4f5}.drawer-header-action{display:inline-grid;place-items:center;width:32px;height:32px;border:0;border-radius:999px;color:#6b7280;background:#f4f4f5;cursor:pointer}.drawer-header-action:active{background:#e5e7eb}[data-theme=dark] .drawer-header-action{color:#a1a1aa;background:#121214}[data-theme=dark] .drawer-header-action:active{background:#1b1b1f}.drawer-search{display:flex;align-items:center;gap:8px;height:38px;margin:0 0 4px;padding:0 12px;border:0;border-radius:10px;color:#9ca3af;background:#f4f4f5;box-shadow:none}[data-theme=dark] .drawer-search{color:#71717a;background:#101012}.drawer-search input{flex:1;min-width:0;border:0;outline:0;color:#111827;background:transparent;font-size:14px}[data-theme=dark] .drawer-search input{color:#e4e4e7}.drawer-search input::placeholder{color:#9ca3af}[data-theme=dark] .drawer-search input::placeholder{color:#71717a}.drawer-thread-browser{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;gap:0;padding:6px 0 8px;overflow:auto}.drawer-new-row,.project-row{display:flex;align-items:center;gap:12px;width:100%;min-height:44px;padding:0 6px;border:0;border-radius:8px;color:#111827;background:transparent;font-size:14px;text-align:left;cursor:pointer}.drawer-new-row{flex:0 0 auto}.drawer-new-row>svg:last-child{flex:0 0 auto;color:#9ca3af;transition:transform .16s ease}.drawer-new-row.is-open>svg:last-child{transform:rotate(180deg)}[data-theme=dark] .drawer-new-row,[data-theme=dark] .project-row{color:#e4e4e7}[data-theme=dark] .drawer-new-row>svg:last-child{color:#71717a}.drawer-new-row:active,.project-row:active,.project-row.is-selected{background:#f3f4f6}[data-theme=dark] .drawer-new-row:active,[data-theme=dark] .project-row:active,[data-theme=dark] .project-row.is-selected{background:#121214}.drawer-new-row:disabled{color:#9ca3af;cursor:not-allowed;background:transparent}.drawer-new-row>svg,.project-row>svg:first-child{flex:0 0 auto;color:#6b7280}[data-theme=dark] .drawer-new-row>svg,[data-theme=dark] .project-row>svg:first-child{color:#a1a1aa}.drawer-new-row>span{flex:1;min-width:0;font-weight:500}.new-conversation-panel{display:grid;gap:3px;margin:2px 0 8px 28px;padding:4px 0 4px 10px;border-left:1px solid #e5e7eb}[data-theme=dark] .new-conversation-panel{border-left-color:#27272a}.new-conversation-option{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:6px 8px;border:0;border-radius:7px;color:#374151;background:transparent;text-align:left}.new-conversation-option:active{background:#f3f4f6}[data-theme=dark] .new-conversation-option{color:#d4d4d8}[data-theme=dark] .new-conversation-option:active{background:#151518}.new-conversation-option>svg{flex:0 0 auto;color:#6b7280}[data-theme=dark] .new-conversation-option>svg{color:#a1a1aa}.new-conversation-option span{min-width:0;display:grid;gap:1px}.new-conversation-option strong,.new-conversation-option small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.new-conversation-option strong{font-size:14px;line-height:18px;font-weight:600}.new-conversation-option small{color:#9ca3af;font-size:11px;line-height:14px}[data-theme=dark] .new-conversation-option small{color:#71717a}.new-conversation-empty{padding:10px 8px;color:#9ca3af;font-size:12px}.project-row-shell{display:grid;grid-template-columns:minmax(0,1fr) 34px;align-items:center;gap:2px;width:100%}.project-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:550}.project-row .project-count{flex:0 0 auto;min-width:auto;padding:0;color:#9ca3af;background:transparent;box-shadow:none;font-size:12px;font-weight:500;font-variant-numeric:tabular-nums}[data-theme=dark] .project-row .project-count{color:#71717a}.project-row .project-chevron{flex:0 0 auto;color:#9ca3af;transition:transform .16s ease}[data-theme=dark] .project-row .project-chevron{color:#71717a}.project-row.is-expanded .project-chevron{transform:rotate(180deg)}.project-add-button{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:7px;color:#8b929c;background:transparent}.project-add-button:active{color:#2563eb;background:#eef2ff}[data-theme=dark] .project-add-button{color:#71717a}[data-theme=dark] .project-add-button:active{color:#93c5fd;background:#172033}.project-group{display:flex;flex-direction:column;border:0;background:transparent}.project-group:first-child,[data-theme=dark] .project-group,[data-theme=dark] .project-group:first-child{border:0}.thread-list{margin:2px 0 6px 28px;padding:0;border:0;background:transparent}.thread-list.is-subagents{margin:0 0 4px 16px;padding:0;border:0}.thread-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;width:100%;min-height:38px;padding:0 8px 0 6px;border:0;border-radius:8px;color:#374151;background:transparent}.thread-row.is-selected{color:#111827;background:#f3f4f6}[data-theme=dark] .thread-row{color:#d4d4d8}[data-theme=dark] .thread-row.is-selected{color:#f4f4f5;background:#171719}.thread-row.is-draft{color:#6b7280;background:transparent;border:0}[data-theme=dark] .thread-row.is-draft{color:#a1a1aa;background:transparent}.thread-row.is-running:not(.is-selected),.thread-row.has-complete-notice:not(.is-running):not(.is-selected){background:transparent}[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:transparent}.thread-row.is-subagent{min-height:34px;color:#6b7280;background:transparent}[data-theme=dark] .thread-row.is-subagent{color:#a1a1aa;background:transparent}.thread-main{min-width:0;display:flex;align-items:center;width:100%;padding:0;border:0;background:transparent;color:inherit;cursor:pointer}.thread-title-line{display:inline-flex;align-items:center;gap:6px;width:100%;min-width:0}.thread-title{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:18px}.thread-row.is-subagent .thread-title{font-size:13px}.thread-meta{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;color:#9ca3af}.thread-meta small{color:inherit;font-size:11px;line-height:14px;font-variant-numeric:tabular-nums}[data-theme=dark] .thread-meta{color:#71717a}.thread-run-ring{width:12px;height:12px;border:2px solid rgba(59,130,246,.22);border-top-color:#3b82f6;border-radius:999px;animation:spin .76s linear infinite;box-shadow:0 0 0 1px #3b82f60d}.thread-status-spin{color:#3b82f6;filter:drop-shadow(0 0 4px rgba(59,130,246,.18))}.thread-complete-dot{width:6px;height:6px;border-radius:50%;background:#3b82f6;box-shadow:none}[data-theme=dark] .thread-status-spin,[data-theme=dark] .thread-complete-dot{background:#60a5fa;color:#60a5fa}[data-theme=dark] .thread-run-ring{border-color:#60a5fa3d;border-top-color:#60a5fa;box-shadow:0 0 10px #60a5fa1f}.thread-subagent-toggle{display:inline-flex;align-items:center;gap:2px;flex:0 0 auto;padding:1px 6px;border-radius:999px;color:#6b7280;background:#f3f4f6;font-size:10px;line-height:14px;font-weight:600;cursor:pointer}[data-theme=dark] .thread-subagent-toggle{color:#a1a1aa;background:#151518}.thread-more-button{width:28px;height:28px;color:#9ca3af;background:transparent}[data-theme=dark] .thread-more-button{color:#71717a}.thread-more-button:active{background:#e5e7eb}[data-theme=dark] .thread-more-button:active{background:#1b1b1f}.drawer-footer{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:4px;padding:10px 2px 0;border:0;border-top:1px solid #f3f4f6}[data-theme=dark] .drawer-footer{border-top-color:#171719}.drawer-footer-actions{display:inline-flex;align-items:center;gap:6px}.footer-icon-button{display:inline-grid;place-items:center;width:34px;height:34px;border:0;border-radius:999px;color:#6b7280;background:#f4f4f5;cursor:pointer}.footer-icon-button:active,.footer-icon-button.is-active{background:#e5e7eb;color:#111827}.footer-icon-button.is-busy{color:#3b82f6}.footer-icon-button:disabled{opacity:.6;cursor:not-allowed}[data-theme=dark] .footer-icon-button{color:#a1a1aa;background:#121214}[data-theme=dark] .footer-icon-button:active,[data-theme=dark] .footer-icon-button.is-active{background:#1b1b1f;color:#f4f4f5}[data-theme=dark] .footer-icon-button.is-busy{color:#60a5fa}.drawer-footer-status{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#9ca3af;font-size:11px;text-align:right}[data-theme=dark] .drawer-footer-status{color:#71717a}.drawer-empty-state{padding:24px 8px;color:#9ca3af;text-align:center;font-size:13px}[data-theme=dark] .drawer-empty-state{color:#71717a}.thread-empty{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:4px 8px;color:#9ca3af;font-size:12px}[data-theme=dark] .thread-empty{color:#71717a}.drawer-subheader{margin-bottom:6px}.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:#171719}.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:#202024;background:#0a0a0b}.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:#171719}.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:#171719}.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:#101012}.quota-panel{flex:0 0 auto;display:grid;gap:8px;max-height:min(38svh,320px);margin:0 0 8px;padding:12px;border-radius:12px;background:#f9fafb;overflow:auto}[data-theme=dark] .quota-panel{background:#080809}.quota-panel-head{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#374151;font-size:13px;font-weight:650}[data-theme=dark] .quota-panel-head{color:#e4e4e7}.quota-panel-head .quota-refresh{display:inline-flex;align-items:center;gap:4px;width:auto;min-width:0;height:26px;padding:0 10px;border-radius:999px;color:#6b7280;background:#fff;font-size:11px;font-weight:600}[data-theme=dark] .quota-panel-head .quota-refresh{color:#a1a1aa;background:#121214}.quota-panel .quota-account{background:#fff;border-color:#f3f4f6}[data-theme=dark] .quota-panel .quota-account{background:#050506;border-color:#202024}.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:calc(env(safe-area-inset-top,0px) + 82px) 14px calc(var(--composer-height) + 14px);overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:rgba(120,126,136,.28) transparent}.chat-pane:after{content:"";position:fixed;left:0;right:0;bottom:0;z-index:24;height:calc(var(--composer-height) + 10px);pointer-events:none;background:linear-gradient(180deg,#f7f7f400,#f7f7f480 48%,#f7f7f4db);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);-webkit-mask-image:linear-gradient(180deg,transparent 0%,rgba(0,0,0,.62) 34%,#000 100%);mask-image:linear-gradient(180deg,transparent 0%,rgba(0,0,0,.62) 34%,#000 100%)}.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}.chat-loading,.chat-load-error{display:flex;flex-direction:column;justify-content:center;gap:18px}.chat-loading-card{display:flex;align-items:center;gap:12px;width:min(100%,420px);margin:0 auto;padding:14px 16px;border:1px solid var(--hairline);border-radius:18px;color:var(--text);background:var(--glass-strong);box-shadow:var(--soft-shadow);-webkit-backdrop-filter:blur(18px) saturate(1.12);backdrop-filter:blur(18px) saturate(1.12)}.chat-loading-card svg{flex:0 0 auto;color:var(--accent)}.chat-loading-card div{display:grid;gap:2px;min-width:0}.chat-loading-card strong,.chat-loading-card span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-loading-card strong{font-size:15px;font-weight:650}.chat-loading-card span{color:var(--muted);font-size:13px}.chat-loading-lines{display:grid;gap:10px;width:min(100%,420px);margin:0 auto}.chat-loading-lines span{height:14px;border-radius:999px;background:linear-gradient(90deg,#94a3b81f,#94a3b847,#94a3b81f);background-size:220% 100%;animation:loadingSweep 1.15s ease-in-out infinite}.chat-loading-lines span:nth-child(2){width:84%}.chat-loading-lines span:nth-child(3){width:62%}.chat-load-error{align-items:center;text-align:center;color:var(--muted)}.chat-load-error h2{margin:0;color:var(--text);font-size:18px}.chat-load-error p{max-width:320px;margin:0;font-size:13px;line-height:1.5}@keyframes loadingSweep{0%{background-position:120% 0}to{background-position:-120% 0}}.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-guide-label{display:inline-flex;align-items:center;gap:5px;max-width:100%;margin:0 4px 5px 0;color:#737b86;font-size:12px;line-height:16px}.message-guide-label svg{flex:0 0 auto}.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}.message-row.is-plan,.message-row.is-plan-request{justify-content:center;margin-bottom:12px}.plan-card,.plan-request-panel{width:100%;max-width:min(100%,736px);min-width:0;border:1px solid rgba(17,24,39,.08);border-radius:8px;background:#ffffffbd;box-shadow:0 1px 2px #1118270b;-webkit-backdrop-filter:blur(16px) saturate(1.08);backdrop-filter:blur(16px) saturate(1.08)}.plan-card{padding:15px 16px 16px;color:var(--text)}.plan-card.is-collapsed{padding-bottom:12px}.plan-card-header{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;min-height:28px;margin-bottom:4px;color:#4b5563;font-size:12px;line-height:16px;font-weight:700}.plan-card.is-collapsed .plan-card-header{margin-bottom:0}.plan-card-toggle{display:inline-grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:7px;min-width:0;max-width:100%;min-height:30px;padding:0 6px 0 0;border:0;border-radius:8px;color:inherit;background:transparent;text-align:left}.plan-card-toggle:hover,.plan-card-toggle:focus-visible{color:#1f2937}.plan-card-chevron{flex:0 0 auto;color:#8b949e;transform:rotate(-90deg);transition:transform .16s ease}.plan-card-chevron.is-open{transform:rotate(0)}.plan-card-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plan-card-actions{display:inline-flex;align-items:center;flex:0 0 auto}.plan-icon-button{display:inline-grid;place-items:center;flex:0 0 auto;width:30px;height:30px;border:1px solid transparent;border-radius:8px;color:#6b7280;background:transparent}.plan-icon-button:hover,.plan-icon-button:focus-visible{color:#374151;background:#1118270d}.plan-card-content{font-size:15px;line-height:1.62}.plan-card-content h1{margin:6px 0 12px;font-size:22px;line-height:1.25}.plan-card-content h2{margin-top:16px;font-size:18px}.plan-card time{display:block;margin-top:10px;color:#6f747ac7;font-size:10px}.plan-request-panel{display:grid;gap:7px;padding:10px;color:#2f353e;background:#ffffffd1}.plan-request-title{display:inline-flex;align-items:center;gap:7px;min-width:0;padding:2px 2px 5px;color:#3f4651;font-size:13px;line-height:18px;font-weight:700}.plan-request-title svg{flex:0 0 auto}.plan-request-option{display:grid;grid-template-columns:22px auto minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;min-height:38px;padding:0 10px;border:1px solid rgba(17,24,39,.06);border-radius:8px;color:inherit;background:#1118270b;text-align:left}.plan-request-option.is-primary{grid-template-columns:22px auto minmax(0,1fr)}.plan-request-option.is-adjust{grid-template-columns:22px minmax(0,1fr) auto}.plan-request-option.is-primary:not(:disabled):hover,.plan-request-option.is-primary:not(:disabled):focus-visible{background:#d12a2a14;border-color:#d12a2a2e}.plan-request-option:disabled{color:#7b838f}.plan-option-index,.plan-option-index-button{color:#858d98;font-size:13px;line-height:18px;font-variant-numeric:tabular-nums}.plan-option-index-button{width:22px;height:28px;padding:0;border:0;background:transparent;text-align:left}.plan-request-option svg{flex:0 0 auto}.plan-request-option strong{min-width:0;overflow-wrap:anywhere;word-break:break-word;font-size:14px;line-height:18px}.plan-request-option input{min-width:0;width:100%;height:34px;border:0;outline:none;color:inherit;background:transparent;font:inherit;font-size:13px}.plan-request-option input::placeholder{color:#858d98}.plan-adjust-submit{display:inline-grid;place-items:center;width:30px;height:30px;border:0;border-radius:8px;color:#fff;background:#2563eb}.plan-adjust-submit:disabled{color:#8d95a1;background:#11182714}.plan-request-panel.is-completed .plan-request-option.is-adjust{opacity:.78}.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}}.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}.memory-citation-card{max-width:100%;margin-top:10px;overflow:hidden;border:1px solid rgba(99,111,125,.16);border-radius:8px;background:#f8fafcc7;color:#596273}.memory-citation-card summary{display:flex;align-items:center;gap:8px;min-height:36px;padding:0 34px 0 10px;position:relative;list-style:none;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.memory-citation-card summary::-webkit-details-marker{display:none}.memory-citation-card summary:after{content:"";position:absolute;right:12px;top:50%;width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-65%) rotate(45deg);opacity:.64;transition:transform .16s ease}.memory-citation-card[open] summary:after{transform:translateY(-35%) rotate(225deg)}.memory-citation-icon{display:inline-grid;width:22px;height:22px;flex:0 0 auto;place-items:center;border-radius:7px;color:#356353;background:#4caf731f}.memory-citation-title{min-width:0;overflow:hidden;color:#4b5563;font-size:13px;font-weight:650;line-height:18px;text-overflow:ellipsis;white-space:nowrap}.memory-citation-body{padding:0 10px 10px}.memory-citation-list{display:grid;gap:6px;margin:0;padding:0;list-style:none}.memory-citation-list li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 8px;padding:8px;border-radius:7px;background:#ffffffb3}.memory-citation-file,.memory-citation-lines,.memory-citation-note,.memory-citation-rollouts{min-width:0;font-size:12px;line-height:16px}.memory-citation-file{overflow:hidden;color:#374151;font-weight:620;text-overflow:ellipsis;white-space:nowrap}.memory-citation-lines{color:#7b8490;white-space:nowrap}.memory-citation-note{grid-column:1 / -1;display:-webkit-box;overflow:hidden;color:#7b8490;-webkit-box-orient:vertical;-webkit-line-clamp:2}.memory-citation-rollouts{margin-top:8px;color:#87909d}.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:#101012}[data-theme=dark] .message-bubble{color:var(--text);background:#0a0a0bc7;border-color:#ffffff1a;box-shadow:0 8px 22px #0000006b}[data-theme=dark] .message-row.is-user .message-bubble{color:#f4f4f5;background:#18181ae0;border-color:#ffffff1f}[data-theme=dark] .message-guide-label{color:#a1a1aa}[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] .plan-card,[data-theme=dark] .plan-request-panel{color:#f4f4f5;background:#1f1f21e6;border-color:#ffffff17;box-shadow:none}[data-theme=dark] .plan-card-header,[data-theme=dark] .plan-request-title{color:#f4f4f5}[data-theme=dark] .plan-card-toggle:hover,[data-theme=dark] .plan-card-toggle:focus-visible{color:#fff}[data-theme=dark] .plan-card-chevron,[data-theme=dark] .plan-icon-button{color:#a1a1aa}[data-theme=dark] .plan-icon-button:hover,[data-theme=dark] .plan-icon-button:focus-visible{color:#f4f4f5;background:#ffffff14}[data-theme=dark] .plan-card time{color:#d4d4d89e}[data-theme=dark] .plan-request-option{color:#f4f4f5;background:#ffffff12;border-color:#ffffff0f}[data-theme=dark] .plan-request-option.is-primary:not(:disabled):hover,[data-theme=dark] .plan-request-option.is-primary:not(:disabled):focus-visible{background:#ffffff1f;border-color:#ffffff29}[data-theme=dark] .plan-option-index,[data-theme=dark] .plan-option-index-button,[data-theme=dark] .plan-request-option input::placeholder{color:#a1a1aa}[data-theme=dark] .plan-adjust-submit{color:#101012;background:#f4f4f5}[data-theme=dark] .plan-adjust-submit:disabled{color:#71717a;background:#ffffff17}[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:#080809b8;border-color:#ffffff1c;box-shadow:0 1px 2px #0000003d}[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,[data-theme=dark] .activity-overflow{color:#a1a1aa}[data-theme=dark] .activity-shell{color:#dedee3;background:#101012}[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:#050506;border-color:#242428}[data-theme=dark] .activity-file-summary-head{color:#ededf0;border-bottom-color:#242428}[data-theme=dark] .activity-file-item{color:#ededf0}[data-theme=dark] .activity-file-item+.activity-file-item{border-top-color:#242428}[data-theme=dark] .activity-diff-shell,[data-theme=dark] .activity-diff-view{background:#050506}[data-theme=dark] .activity-diff-shell{border-top-color:#242428}[data-theme=dark] .activity-diff-num{color:#7b7f87;border-right-color:#202024}[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:#0e1118}[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] .memory-citation-card{border-color:#94a3b829;background:#0f172a94;color:#9ca3af}[data-theme=dark] .memory-citation-icon{color:#77d29a;background:#22c55e1f}[data-theme=dark] .memory-citation-title,[data-theme=dark] .memory-citation-file{color:#d1d5db}[data-theme=dark] .memory-citation-lines,[data-theme=dark] .memory-citation-note,[data-theme=dark] .memory-citation-rollouts{color:#8f98a6}[data-theme=dark] .memory-citation-list li{background:#02061757}[data-theme=dark] .message-content pre{color:#ededf0;background:#050506}[data-theme=dark] .markdown-code-block{border-color:#242428;background:#050506}[data-theme=dark] .markdown-code-head{color:#a1a1aa;border-bottom-color:#202024}[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:#242428}[data-theme=dark] .message-content th,[data-theme=dark] .message-content td{border-bottom-color:#242428}[data-theme=dark] .message-content th{background:#ffffff0f}[data-theme=dark] .message-image-link{background:#101012}[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:#101012}[data-theme=dark] .lightbox-zoom-controls{background:#0a0a0bc2}[data-theme=dark] .message-bubble time{color:#d4d4d89e}[data-theme=dark] .message-row.is-user .message-bubble time{color:#d4d4d8a8}[data-theme=dark] .scroll-latest-button{background:var(--glass-strong);border-color:var(--hairline)}[data-theme=dark] .composer-wrap{background:linear-gradient(180deg,#0000,#000000eb 28%)}.file-preview-page{height:100dvh;background:#fff;color:#111;display:flex;flex-direction:column;overflow:hidden;touch-action:pan-y}.file-preview-header{z-index:2;display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:8px;padding:max(12px,env(safe-area-inset-top)) 14px 10px;border-bottom:1px solid #e8e8e8;background:#fff}.file-preview-header-actions,.file-preview-tool-buttons,.file-preview-segmented{display:inline-flex;align-items:center;gap:6px}.file-preview-icon-button,.file-preview-tool-buttons button,.file-preview-tool-buttons a,.file-preview-segmented button{width:36px;height:36px;border:1px solid #dedede;border-radius:8px;background:#fff;color:inherit;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;-webkit-tap-highlight-color:transparent}.file-preview-icon-button:disabled,.file-preview-tool-buttons button:disabled{opacity:.42}.file-preview-title{min-width:0;display:flex;flex-direction:column;gap:2px}.file-preview-title strong,.file-preview-title span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-preview-title strong{font-size:15px;font-weight:700}.file-preview-title span{font-size:12px;color:#777}.file-preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 14px;border-bottom:1px solid #eeeeee;background:#fff}.file-preview-segmented{padding:2px;border:1px solid #dedede;border-radius:8px}.file-preview-segmented button{width:auto;min-width:72px;height:32px;gap:5px;border:0;background:transparent;color:#555}.file-preview-segmented button.is-active{color:#111;background:#f0f0f0}.file-preview-tool-buttons button,.file-preview-tool-buttons a{width:32px;height:32px}.file-preview-kind{font-size:12px;letter-spacing:.08em;color:#777}.file-preview-body{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;padding:0;background:#fff}.file-preview-markdown{max-width:780px;margin:0 auto;padding:20px 18px 52px;background:#fff;color:#111;font-size:calc(16px * var(--preview-font-scale, 1));line-height:1.78}.file-preview-markdown h1,.file-preview-markdown h2,.file-preview-markdown h3{color:#111}.file-preview-markdown p,.file-preview-markdown li{line-height:1.78}.file-preview-text{margin:0;min-height:100%;padding:18px 16px 52px;background:#fff;color:#111;white-space:pre-wrap;word-break:break-word;font-size:calc(13px * var(--preview-font-scale, 1));line-height:1.6}.file-preview-editor{width:100%;min-height:100%;resize:none;border:0;outline:0;padding:18px 16px 52px;background:#fff;color:#111;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:calc(14px * var(--preview-font-scale, 1));line-height:1.6;white-space:pre-wrap}.file-preview-frame{width:100%;height:100%;border:0;background:#fff}.file-preview-notice{position:absolute;left:50%;top:calc(env(safe-area-inset-top,0px) + 104px);z-index:5;transform:translate(-50%);max-width:calc(100vw - 32px);padding:8px 12px;border-radius:8px;background:#111;color:#fff;font-size:13px;box-shadow:0 10px 28px #0000002e}.file-preview-notice.is-error{background:#b42318}.file-preview-notice.is-success{background:#111}.pdf-preview{height:100%;min-height:0;display:grid;grid-template-rows:auto 1fr;background:#f6f6f6}.pdf-preview-controls{display:flex;align-items:center;gap:6px;overflow-x:auto;padding:8px;border-bottom:1px solid #e5e5e5;background:#fff;-webkit-overflow-scrolling:touch;scrollbar-width:none}.pdf-preview-controls::-webkit-scrollbar{display:none}.pdf-preview-control-group{flex:0 0 auto;display:inline-flex;align-items:center;gap:1px;padding:2px;border:1px solid #dedede;border-radius:10px;background:#fff}.pdf-preview-controls button,.pdf-preview-open-original{min-width:32px;height:32px;border:0;border-radius:8px;background:transparent;color:#111;display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:0 8px;white-space:nowrap;text-decoration:none;-webkit-tap-highlight-color:transparent}.pdf-preview-fit-group button{min-width:48px}.pdf-preview-fit-group button:last-child{min-width:62px}.pdf-preview-open-original{flex:0 0 auto;border:1px solid #dedede;background:#fff}.pdf-preview-controls button:disabled{opacity:.36}.pdf-preview-controls button.is-active{background:#111;color:#fff;border-color:#111}.pdf-preview-page-count{min-width:52px;padding:0 4px;text-align:center;font-size:13px;color:#555;white-space:nowrap}.pdf-preview-stage{min-height:0;overflow:auto;padding:14px;display:flex;justify-content:center;align-items:flex-start;-webkit-overflow-scrolling:touch}.pdf-preview-stage canvas{background:#fff;box-shadow:0 8px 24px #0000002e}.file-preview-status,.file-preview-error{min-height:160px;margin:16px;border:1px dashed #d7d7d7;border-radius:8px;background:#fff;display:flex;align-items:center;justify-content:center;text-align:center;padding:18px;color:#666}.file-preview-error{flex-direction:column;gap:8px;align-items:stretch}.file-preview-error strong{color:#b42318}.file-preview-error span{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px;word-break:break-all}.file-preview-open{min-height:100%;display:flex;gap:8px;align-items:center;justify-content:center;background:#fff;color:#111;text-decoration:none}[data-theme=dark] .file-preview-page{background:#000;color:#f4f4f5}[data-theme=dark] .file-preview-header{background:#000;border-bottom-color:#1f1f1f}[data-theme=dark] .file-preview-icon-button,[data-theme=dark] .file-preview-toolbar,[data-theme=dark] .file-preview-segmented,[data-theme=dark] .file-preview-tool-buttons button,[data-theme=dark] .file-preview-tool-buttons a,[data-theme=dark] .file-preview-segmented button,[data-theme=dark] .file-preview-markdown,[data-theme=dark] .file-preview-text,[data-theme=dark] .file-preview-frame,[data-theme=dark] .file-preview-status,[data-theme=dark] .file-preview-error,[data-theme=dark] .file-preview-open{background:#000;border-color:#2a2a2a;color:#f4f4f5}[data-theme=dark] .file-preview-body,[data-theme=dark] .file-preview-markdown,[data-theme=dark] .file-preview-text,[data-theme=dark] .file-preview-editor{background:#000;color:#f4f4f5}[data-theme=dark] .file-preview-toolbar{border-bottom-color:#1f1f1f}[data-theme=dark] .file-preview-title span,[data-theme=dark] .file-preview-kind,[data-theme=dark] .file-preview-segmented button{color:#a1a1aa}[data-theme=dark] .file-preview-segmented button.is-active{color:#fff;background:#1f1f1f}[data-theme=dark] .file-preview-markdown h1,[data-theme=dark] .file-preview-markdown h2,[data-theme=dark] .file-preview-markdown h3{color:#fff}[data-theme=dark] .pdf-preview{background:#000}[data-theme=dark] .pdf-preview-controls{background:#000;border-bottom-color:#1f1f1f}[data-theme=dark] .pdf-preview-control-group{background:#000;border-color:#2a2a2a}[data-theme=dark] .pdf-preview-controls button,[data-theme=dark] .pdf-preview-open-original{background:#000;color:#f4f4f5}[data-theme=dark] .pdf-preview-open-original{border-color:#2a2a2a}[data-theme=dark] .pdf-preview-controls button.is-active{background:#f4f4f5;color:#000;border-color:#f4f4f5}[data-theme=dark] .pdf-preview-page-count{color:#a1a1aa}[data-theme=dark] .pdf-preview-stage canvas{box-shadow:none}.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;text-align:left;cursor:pointer}.activity-summary:disabled{cursor:default}.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:9px;max-width:min(100%,736px);margin-top:8px;padding:12px 13px 13px;border:1px solid rgba(17,24,39,.1);border-radius:12px;background:#ffffffad;box-shadow:0 1px 2px #1118270a;-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-plan-confirmation{display:grid;gap:9px;color:#4b5563}.activity-plan-confirmation-body{display:flex;align-items:center;min-width:0;padding-left:19px}.activity-plan-confirmation-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:0 12px;border:1px solid rgba(209,42,42,.18);border-radius:8px;color:#b42318;background:#d12a2a12;font-size:13px;line-height:18px;font-weight:500}.activity-plan-confirmation-button:disabled{color:#7a8089;background:#1118270d;border-color:#11182714}.activity-plan-confirmation-button svg{flex:0 0 auto}.activity-meta-body{display:grid;gap:8px;min-width:0;margin-top:7px;padding-left:18px}.activity-overflow{min-width:0;color:#8a8f98;font-size:13px;line-height:18px}.activity-overflow>summary{display:inline-flex;align-items:center;min-height:22px;list-style:none;cursor:pointer;-webkit-user-select:none;user-select:none}.activity-overflow>summary::-webkit-details-marker{display:none}.activity-overflow>summary:after{content:"";width:6px;height:6px;margin-left:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-1px);transition:transform .14s ease}.activity-overflow[open]>summary:after{transform:rotate(225deg) translate(-1px,-1px)}.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 svg{flex:0 0 auto;opacity:.74}.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}.composer-wrap{position:fixed;left:0;right:0;bottom:var(--keyboard-inset, 0px);z-index:30;min-width:0;width:100%;max-width:100vw;padding:7px 12px calc(env(safe-area-inset-bottom,0px) + 8px);background:transparent;border-top:0;overflow:visible}[data-keyboard=open] .composer-wrap{padding-bottom:6px}[data-keyboard=open] .chat-pane{padding-bottom:calc(var(--composer-height) + 8px)}.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,.model-menu button>.menu-item-main{display:block}.send-mode-menu strong,.send-mode-menu small,.model-menu strong,.model-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,.model-menu strong,.shortcut-menu strong{font-size:14px;font-weight:650}.send-mode-menu small,.model-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;align-items:flex-start;gap:8px;padding:8px 10px 0;overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scrollbar-width:none}.attachment-tray::-webkit-scrollbar{display:none}.attachment-preview-card{position:relative;flex:0 0 112px;display:block;width:112px;height:78px;overflow:hidden;border:1px solid rgba(17,24,39,.1);border-radius:8px;background:#e8ebe7;box-shadow:0 5px 16px #14181f14}.attachment-preview-card img,.attachment-preview-empty{display:block;width:100%;height:100%}.attachment-preview-card img{object-fit:cover}.attachment-preview-empty{display:grid;place-items:center;color:#7a828d;background:linear-gradient(135deg,#f2f4f1,#dde2df)}.attachment-preview-meta{position:absolute;left:0;right:0;bottom:0;display:grid;gap:1px;min-width:0;padding:16px 28px 6px 7px;color:#fff;background:linear-gradient(180deg,transparent,rgba(0,0,0,.68));pointer-events:none}.attachment-preview-meta span,.attachment-preview-meta small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment-preview-meta span{font-size:11px;font-weight:650;line-height:13px}.attachment-preview-meta small{color:#ffffffc7;font-size:9px;line-height:11px}.attachment-preview-card button{position:absolute;top:5px;right:5px;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border:0;border-radius:999px;color:#fff;background:#0d1117a3;box-shadow:0 3px 10px #0000002e;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}[data-theme=dark] .attachment-preview-card{border-color:#ffffff1a;background:#22252a;box-shadow:0 7px 20px #0000003d}.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:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;padding:6px 8px 9px}.composer-attach{display:inline-grid;place-items:center;width:36px;height:36px;flex:0 0 auto;border:0;border-radius:999px;color:#5c646e;background:#1118270d;cursor:pointer}.composer-attach:disabled{opacity:.45;cursor:not-allowed}[data-theme=dark] .composer-attach{color:#a1a1aa;background:#ffffff0f}.composer-tool-strip{display:flex;align-items:center;gap:5px;min-width:0;padding:2px 0;overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 10px,#000 calc(100% - 10px),transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 10px,#000 calc(100% - 10px),transparent 100%)}.composer-tool-strip::-webkit-scrollbar{display:none}.composer-tool-icon{position:relative;flex:0 0 auto;display:inline-grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:999px;color:#5c646e;background:transparent;cursor:pointer}.composer-tool-icon:active{background:#1118270f}[data-theme=dark] .composer-tool-icon{color:#a1a1aa}[data-theme=dark] .composer-tool-icon:active{background:#ffffff12}.composer-tool-icon.is-permission-bypass{color:#c2410c;background:#c2410c14}[data-theme=dark] .composer-tool-icon.is-permission-bypass{color:#fb923c;background:#fb923c1f}.composer-tool-skills[data-count]:after{content:attr(data-count);position:absolute;top:1px;right:1px;min-width:15px;height:15px;padding:0 4px;border-radius:999px;color:#fff;background:#2563eb;font-size:9px;font-weight:750;line-height:15px;text-align:center}.context-status-compact{flex:0 0 auto;display:inline-grid;place-items:center;width:28px;height:28px;margin:0;padding:0;border:0;border-radius:999px;color:inherit;background:transparent;outline:0;cursor:pointer}.context-capacity-ring{display:block}.context-capacity-ring-track{stroke:#1118271f}.context-capacity-ring-fill{stroke:#9ca3af}.context-status-compact.has-window .context-capacity-ring-fill{stroke:#22c55e}.context-status-compact.is-compacted .context-capacity-ring-fill{stroke:#0d9488}.context-status-compact.is-high-usage .context-capacity-ring-fill{stroke:#ea580c}.context-status-compact[aria-expanded=true],.context-status-compact:focus-visible{box-shadow:inset 0 0 0 1px #174eb847}.context-status-compact:active{background:#1118270d}[data-theme=dark] .context-capacity-ring-track{stroke:#ffffff24}[data-theme=dark] .context-capacity-ring-fill{stroke:#d4d4d8}[data-theme=dark] .context-status-compact.has-window .context-capacity-ring-fill{stroke:#4ade80}[data-theme=dark] .context-status-compact.is-compacted .context-capacity-ring-fill{stroke:#2dd4bf}[data-theme=dark] .context-status-compact.is-high-usage .context-capacity-ring-fill{stroke:#fb923c}[data-theme=dark] .context-status-compact:active{background:#ffffff0f}.model-chip{flex:0 1 auto;display:inline-flex;align-items:center;gap:4px;min-width:0;max-width:140px;height:32px;padding:0 8px 0 10px;border:0;border-radius:999px;color:#4b5563;background:#1118270d;font-size:12px;font-weight:600;cursor:pointer}.model-chip:active{background:#11182714}[data-theme=dark] .model-chip{color:#d1d5db;background:#ffffff12}.model-chip-text{display:inline-flex;align-items:center;gap:5px;min-width:0;overflow:hidden}.model-chip-name{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:650}.model-chip-dot{flex:0 0 auto;width:3px;height:3px;border-radius:999px;background:currentcolor;opacity:.35}.model-chip-reason{flex:0 0 auto;opacity:.85;font-weight:550}.model-chip-speed{flex:0 0 auto;color:#b45309;font-weight:650}[data-theme=dark] .model-chip-speed{color:#fbbf24}.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;left:50%;right:auto;bottom:calc(100% + 10px);z-index:38;width:max-content;max-width:min(280px,calc(100vw - 24px));padding:10px 12px;border:1px solid rgba(222,223,220,.9);border-radius:12px;color:#2f363f;background:#fffffffa;box-shadow:0 10px 32px #14181f24;font-size:12px;line-height:20px;text-align:left;transform:translate(-50%)}[data-theme=dark] .context-popover{border-color:#383838;color:var(--text);background:#1f1f1ffa}.context-popover-title{color:#717985}.composer-run-status{position:relative;display:flex;align-items:center;gap:10px;width:100%;min-width:0;margin:0 0 6px;padding:4px 10px 7px;border:0;border-radius:0;color:#1f2937;background:transparent;box-shadow:none;overflow:hidden;isolation:isolate}.composer-run-status.is-running:before{content:"";position:absolute;inset:-10px -48px -10px -88px;z-index:0;pointer-events:none;background:linear-gradient(100deg,transparent 0%,transparent 34%,rgba(37,99,235,.07) 44%,rgba(255,255,255,.34) 50%,rgba(37,99,235,.08) 56%,transparent 68%,transparent 100%);transform:translate(-58%);animation:runShine 2.25s ease-in-out infinite}.composer-run-status>*{position:relative;z-index:1}.composer-run-status.is-warning{margin-bottom:7px;padding:8px 10px;border-radius:13px;background:#fff8e6d1}.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:680}.composer-run-main small{color:#737a83;font-size:12px;line-height:16px}.composer-run-time{flex:0 0 auto;color:#68707b;font-size:12px;line-height:17px;font-variant-numeric:tabular-nums}@keyframes runShine{0%{transform:translate(-58%);opacity:0}12%{opacity:1}52%{opacity:1}72%,to{transform:translate(58%);opacity:0}}@media(prefers-reduced-motion:reduce){.composer-run-status.is-running:before,.composer-run-dot:after{animation:none}}.send-button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;flex-shrink:0;border:0;border-radius:50%;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}[data-theme=dark] .composer-wrap{background:transparent;border-top-color:#ffffff14}[data-theme=dark] .chat-pane:after{background:linear-gradient(180deg,#0000,#0000008f 48%,#000000e6)}[data-theme=dark] .composer-menu{border-color:#ffffff14;background:#080809fa;box-shadow:0 16px 44px #00000080}[data-theme=dark] .menu-section-label{color:var(--muted)}[data-theme=dark] .menu-divider{background:#202024}[data-theme=dark] .composer-menu button{color:#e4e4e7}[data-theme=dark] .composer-menu button.is-selected{color:var(--text);background:#171719}[data-theme=dark] .skill-search-wrap{color:#a1a1aa;background:#101012}[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:#ffffff1a;background:#080809c7;box-shadow:0 10px 28px #0000006b}[data-theme=dark] .attachment-chip{color:#e4e4e7;background:#171719}[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:#ffffff14;background:#080809e6;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:#ffffff14;color:var(--text);background:#080809fa;box-shadow:0 16px 44px #00000080}[data-theme=dark] .context-popover-title{color:var(--muted)}[data-theme=dark] .composer-run-status{color:#ededf0;background:transparent;box-shadow:none}[data-theme=dark] .composer-run-status.is-running:before{background:linear-gradient(100deg,transparent 0%,transparent 34%,rgba(159,183,255,.08) 44%,rgba(255,255,255,.2) 50%,rgba(159,183,255,.08) 56%,transparent 68%,transparent 100%)}[data-theme=dark] .composer-run-status.is-warning{background:#372914c7}[data-theme=dark] .composer-run-main strong{color:#f4f4f5}[data-theme=dark] .composer-run-main small,[data-theme=dark] .composer-run-time{color:#a1a1aa}[data-theme=dark] .send-button{color:#000;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}.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:#0f0f11;border-color:#202024}.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:#0f0f11;border-color:#202024}.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:#000;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:#000}[data-theme=dark] #root{border-left-color:#202024;border-right-color:#202024;box-shadow:0 24px 80px #0000009e}}@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}}
