:root,:root[data-theme=warm]{--bg:#f7f6f2;--surface:#fff;--surface-2:#f0efea;--border:#e5e5dd;--text:#252e2a;--muted:#686d66;--dim:#94978f;--accent:#925239;--accent-dark:#75402b;--accent-soft:#f1e5dd;--link:#925239;--ok:#386c54;--ok-soft:#eaf2eb;--warn:#946b2d;--warn-soft:#f7f0de;--err:#a45b53;--err-soft:#fbefed;--blue:#526c82;--blue-soft:#eef3f7;--control-surface:#fcfcf9;--surface-hover:#f2f1eb;--border-soft:#eeeee8;--border-strong:#c6c9bc;--focus:#925239;--research-nav-active:#eaf2eb;--shadow-pop:0 14px 48px #292b2110;--prototype-ui-font:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;color-scheme:light}:root[data-theme=light]{--bg:#f5f7f8;--surface:#fff;--surface-2:#eef2f4;--border:#dfe6e8;--text:#202e33;--muted:#5d6d71;--dim:#757f82;--accent:#80503e;--accent-dark:#643c2e;--accent-soft:#f2e7e1;--link:#80503e;--control-surface:#fff;--surface-hover:#eef2f4;--border-soft:#eaf0f1;--focus:#80503e;--research-nav-active:#eaf2eb}:root[data-theme=dark]{--bg:#1c211e;--surface:#242c26;--surface-2:#171d19;--border:#3b453b;--text:#e6e9e2;--muted:#b6c0b3;--dim:#9aa796;--accent:#bb7a58;--accent-dark:#cb8c6a;--accent-soft:#3e2f26;--link:#bb7a58;--ok:#b0d5b9;--ok-soft:#2b3c2e;--warn:#e1c38d;--warn-soft:#3e3526;--err:#f0b4a5;--err-soft:#402e2a;--blue:#b4ccd9;--blue-soft:#29373e;--control-surface:#202722;--surface-hover:#2c352e;--border-soft:#323b32;--border-strong:#61725f;--focus:#e1b899;--research-nav-active:#2b3c2e;--shadow-pop:0 16px 60px #0005;color-scheme:dark}body{font-family:var(--prototype-ui-font)}:is(.research-app,.research-workspace,.research-dialog,.research-auth,.research-guest,.v24-case-shell) :is(h1,h2,h3):not(.md *){font-family:var(--prototype-ui-font)}:is(.research-app,.research-workspace,.research-auth,.research-guest) .serif:not(.md *){font-family:Georgia,"Noto Serif CJK SC",Songti SC,serif}.research-workspace .workspace-header__title{font-family:var(--prototype-ui-font);font-weight:600}button,input,select,textarea{font-family:inherit}button:disabled{opacity:.45}:is(button,a,summary):focus-visible{outline:2px solid var(--focus);outline-offset:3px;box-shadow:none}:is(input,textarea,select):focus-visible{outline:2px solid var(--focus);outline-offset:1px;box-shadow:none}:is(.research-app,.research-workspace,.research-dialog,.research-auth,.research-guest,.v24-case-shell)
:is(:where(button).primary,.research-button,.workspace-header-action,.run-control,.research-page-heading>:where(button),.research-page-heading>:where(a),.v24-content-heading>:where(button),.v24-actions>:where(button),.v24-actions>:where(a),.research-form-actions>:where(button),.research-inline-actions>:where(button),.v24-config-footer>:where(button),.v24-next-strip>:where(button),.research-empty>:where(button),.v24-config-context>:where(button),.research-form-panel>:where(button),.research-guest>:where(header)>:where(button)){display:inline-flex;align-items:center;justify-content:center;gap:7px;width:auto;min-height:37px;padding:9px 14px;border:1px solid var(--border);border-radius:7px;background:var(--surface);color:var(--text);font-size:12px;font-weight:550;line-height:1.3;text-decoration:none;transition:background .15s,border-color .15s}:is(.research-app,.research-workspace,.research-dialog,.research-auth,.research-guest,.v24-case-shell)
:is(:where(button).primary,.research-button,.workspace-header-action,.run-control,.research-page-heading>:where(button),.research-page-heading>:where(a),.v24-content-heading>:where(button),.v24-actions>:where(button),.v24-actions>:where(a),.research-form-actions>:where(button),.research-inline-actions>:where(button),.v24-config-footer>:where(button),.v24-next-strip>:where(button),.research-empty>:where(button),.v24-config-context>:where(button),.research-form-panel>:where(button),.research-guest>:where(header)>:where(button)):hover:not(:disabled):not([aria-disabled=true]){background:var(--surface-hover);border-color:#c9ccc0;filter:none}:is(.research-app,.research-workspace,.research-dialog,.research-auth,.research-guest,.v24-case-shell)
:is(:where(button).primary,.research-button.primary,.run-control.is-resume){background:var(--accent);color:#fff;border-color:var(--accent)}:is(.research-app,.research-workspace,.research-dialog,.research-auth,.research-guest,.v24-case-shell)
:is(:where(button).primary,.research-button.primary,.run-control.is-resume):hover:not(:disabled){background:var(--accent-dark);border-color:var(--accent);filter:none}:root[data-theme=dark] button.primary{color:#fff}.research-auth-form>button.primary{justify-content:center;gap:7px}:is(.research-app,.research-workspace,.research-dialog,.research-auth,.research-guest,.v24-case-shell)
:is(:where(button).ghost,.workspace-upload-action){background:transparent;border-color:transparent}:is(.research-app,.research-workspace,.research-dialog,.research-auth,.research-guest,.v24-case-shell)
:is(:where(button).ghost,.workspace-upload-action):hover:not(:disabled):not([aria-disabled=true]){background:var(--surface-hover);border-color:transparent}:is(.research-app,.research-workspace,.research-dialog,.research-auth,.research-guest,.v24-case-shell)
:is(:where(button).primary,.research-button,.workspace-header-action,.run-control,.v24-actions>:where(button),.research-form-panel>:where(button))>.ui-icon{width:14px;height:14px}.workspace-header .workspace-header__actions{gap:8px}.research-run-menu{order:5}.workspace-header .workspace-upload-action[aria-disabled=true]{opacity:.45!important}.research-workspace .workspace-header-action.is-active{background:var(--surface);color:var(--text)}.research-workspace .workspace-header-action.is-active:hover{background:var(--surface-hover)}:is(.research-app,.research-workspace,.research-dialog,.research-auth,.research-guest,.v24-case-shell) .ui-icon-button{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;min-width:30px;min-height:30px;padding:0;border:0;border-radius:6px;background:transparent;color:var(--muted);flex-shrink:0}:is(.research-app,.research-workspace,.research-dialog,.research-auth,.research-guest,.v24-case-shell) .ui-icon-button:hover{background:var(--surface-hover);color:var(--text)}.research-brand,.research-workspace .project-workspace-sidebar .research-brand{gap:10px;font-size:21px;line-height:1.1;letter-spacing:-.6px}.research-brand>span{text-align:center}.research-workspace .project-workspace-sidebar>.row:first-child{position:relative}.research-workspace .prototype-sidebar-collapse{position:absolute;right:7px;top:8px}.research-brand>svg{width:27px;height:31px}.research-brand small,.research-workspace .project-workspace-sidebar .research-brand small{font-size:9px;line-height:1.1;letter-spacing:2px;margin-top:6px}.research-workspace .center-tabs{height:41px;min-height:41px;gap:23px;align-items:stretch}.research-workspace .center-tab{height:41px;min-height:41px;padding:0;gap:7px;font-size:12px;font-weight:400;line-height:1.65;color:var(--muted);border:0;border-bottom:2px solid transparent;background:transparent}.research-workspace .center-tab.is-active{font-weight:600;color:var(--text);border-bottom-color:var(--accent)}.research-workspace .center-tab:hover{background:transparent;color:var(--accent)}.research-workspace .center-tabs .ui-icon-button{align-self:center}.research-purpose-groups>button{font-size:12px;font-weight:400;line-height:1.65}.research-purpose-groups>button.is-current{font-weight:600}.research-nav footer>button:hover,.research-nav nav>a:hover,.research-project-nav>button:hover,.v24-side-global>a:hover,.v24-side-tools>a:hover,.v24-side-tools>button:hover{background:var(--surface-hover)}.research-nav nav>a.is-current,.research-project-nav>button.is-current{background:var(--ok-soft);color:var(--ok)}.research-project-nav .research-purpose-link{border:1px solid transparent;border-radius:7px;padding:10px 8px;gap:9px;color:var(--text);font-size:12px;font-weight:600;line-height:1.65}.research-purpose-link>svg{margin-top:2px;color:var(--accent)}.research-purpose-link small{margin-top:3px;line-height:1.6}.research-project-nav .research-purpose-link:hover{background:var(--surface);border-color:var(--border)}.research-project-nav .research-purpose-link.is-current{background:var(--accent-soft);color:var(--text);border-color:color-mix(in srgb,var(--accent) 24%,transparent);box-shadow:inset 2px 0 var(--accent)}.research-nav-label>small{background:var(--accent-soft);border-color:color-mix(in srgb,var(--accent) 25%,var(--border));border-radius:3px}.research-quick-start>button{padding:17px 20px;gap:13px;align-items:center}.research-quick-start strong{font-size:13px}.research-quick-start small{font-size:11px;margin-top:3px}.research-quick-start .research-icon-tile{width:38px;height:42px;border:1px solid color-mix(in srgb,var(--accent) 15%,transparent);border-radius:7px}.research-quick-start>button:nth-child(2) .research-icon-tile{background:var(--ok-soft);color:var(--ok);border-color:color-mix(in srgb,var(--ok) 15%,transparent)}.research-quick-start .research-icon-tile>.ui-icon{width:20px;height:20px}.research-project-card.is-featured>.research-open-project{min-height:37px;padding:9px 14px;border:1px solid var(--accent);border-radius:7px;font-size:12px;font-weight:550;line-height:1.3;gap:7px}.research-project-card.is-featured>.research-open-project:hover{background:var(--accent-dark)}.v24-postdraft-summary>aside>button{min-height:37px;padding:9px 14px;gap:7px;font-size:12px;font-weight:550;line-height:1.3;border:1px solid transparent;border-radius:7px;background:var(--accent-soft);color:var(--accent-dark)}.v24-postdraft-summary>aside>button>.ui-icon{width:14px;height:14px}.v24-postdraft-summary>aside>button:hover{background:var(--surface-hover)}.research-field :is(input,select,textarea){border-radius:6px;padding:10px 12px;font-size:13px;line-height:1.65}.v24-config-grid .research-field input{height:auto;min-height:43px}.research-field select{min-height:41px}:is(.research-form-panel,.v24-config-workspace,.research-dialog,.v24-setup,.research-auth) input:is([type=checkbox],[type=radio]){width:13px;height:13px;min-height:0;flex:0 0 13px;padding:0;accent-color:var(--accent)}.v24-config-workspace .research-task-bridge>button{border:0;border-radius:0;padding:0;min-height:0;background:transparent;color:var(--accent);font-size:11px;font-weight:600;line-height:1.7}.research-starter-grid{gap:10px;margin:22px 0 14px}.research-starter-grid>button{padding:15px;gap:11px;border-radius:9px;font-weight:400;line-height:1.65}.research-starter-grid strong{font-size:12px;font-weight:600}.research-starter-grid small{font-size:11px;line-height:1.7;margin-top:5px}.research-starter-grid>button:hover{border-color:var(--accent);background:color-mix(in srgb,var(--accent-soft) 32%,var(--surface))}.research-starter-grid>button>svg:last-child{color:var(--dim)}.research-purpose-composer{background:var(--surface);border-color:color-mix(in srgb,var(--accent) 23%,var(--border));box-shadow:0 3px 12px #24201805}.research-purpose-composer>textarea{display:block;height:66px;min-height:65px;max-height:160px;padding:12px 14px;border:0;border-radius:0;background:transparent;font-size:12px;line-height:1.75}.research-purpose-composer>textarea:focus-visible{outline-offset:-3px;border-radius:5px}.research-composer-actions>button{gap:7px;min-height:31px;font-size:11px;font-weight:550;line-height:1.3;padding:8px 10px}.research-workspace .research-composer-actions>button.primary{min-height:31px;font-size:11px;padding:9px 14px}.research-composer-actions>button:first-child{border-color:transparent;background:transparent}.research-composer-actions>button:first-child:hover{background:var(--surface-hover)}.research-composer-actions>button>.ui-icon{width:14px;height:14px}.research-context-chips>span>button{display:inline-flex;align-items:center;justify-content:center;width:17px;height:17px;padding:0;border-radius:4px}.research-workspace .workspace-inspector>header{height:47px;min-height:47px;padding:0 16px}.v24-inspector-tabs{gap:15px;padding:0 16px}.v24-inspector-tabs>button{padding:11px 0 9px;font-size:11px;font-weight:400;color:var(--muted)}.v24-inspector-tabs>button[aria-selected=true]{font-weight:600}.v24-inspector-output{padding:14px 14px 25px}.v24-inspector-output>button{padding:14px 3px;gap:10px}.v24-inspector-output>button:hover{background:var(--surface-hover)}.v24-inspector-output>button>.research-icon-tile{width:31px;height:35px;border:1px solid var(--border);border-radius:5px;background:var(--bg);color:var(--muted)}.v24-inspector-output>button>.research-icon-tile>.ui-icon{width:16px;height:16px}.v24-inspector-output strong{font-size:11px;font-weight:550;line-height:1.6}.v24-inspector-output small{font-size:10px;color:var(--dim);margin:4px 0 0;line-height:1.6}.v24-inspector-output i{margin-top:5px;background:var(--ok-soft);color:var(--ok);padding:2px 5px}.research-todo-summary{gap:9px;font-size:12px}.research-todo-count{font:11px/1.65 var(--prototype-ui-font)}.research-todo-details li>span:first-child{display:flex;align-items:center;min-height:20px}.research-todo-progress{position:relative;height:4px}.research-todo-progress.is-running:after{content:"";position:absolute;inset-block:0;left:0;width:22%;transform:translateX(-130%);background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--accent) 42%,transparent),transparent);animation:prototype-progress-sheen 1.65s ease-in-out infinite}.prototype-wait-ring{display:inline-block;width:14px;height:14px;border:1.5px solid var(--border);border-top-color:var(--accent);border-radius:50%;animation:spin .85s linear infinite}.research-todo-details li.is-in_progress{margin-inline:-7px;padding-inline:6px 7px;border-left:2px solid var(--accent);border-radius:4px;background:color-mix(in srgb,var(--accent-soft) 55%,transparent)}.research-workspace .thinking-indicator{gap:8px;min-height:26px;font-size:11px;font-weight:400}.research-workspace .thinking-orb{width:18px;height:18px;flex:0 0 18px}@keyframes prototype-progress-sheen{to{transform:translateX(340%)}}@media (min-width:1101px){.research-workspace .workspace-action-label{display:inline}}@media (max-width:1100px){.research-workspace :is(.workspace-header-action,.run-control){min-height:33px;padding:8px 10px;font-size:11px}}@media (max-width:740px){.research-workspace :is(.workspace-header-action,.run-control){min-height:31px;padding:7px 8px;font-size:10px}.workspace-header .workspace-header__actions{gap:3px}.research-workspace .center-tabs{gap:20px}.research-workspace .center-tab{font-size:11px}.research-project-nav .research-purpose-link{padding-top:8px;padding-bottom:8px}.research-starter-grid{gap:8px;margin-top:16px}.research-starter-grid>button{padding:12px;gap:7px}.research-starter-grid strong{font-size:11px}.research-starter-grid small{font-size:10px}.research-purpose-composer>textarea{min-height:57px}.research-workspace .workspace-header .workspace-upload-action{display:none}}@media (prefers-reduced-motion:reduce){:is(.research-app,.research-workspace,.research-dialog) button{transition:none}.research-todo-progress.is-running:after{animation:none!important}}.research-nav{overflow:hidden}.research-nav>.research-brand-row{flex-shrink:0}.research-nav>nav{flex:1 1;min-height:0;overflow:auto}.research-nav>.research-account-footer{display:block;flex-shrink:0;margin-top:auto;padding:9px 0 0;border-top:1px solid var(--border)}.project-workspace-sidebar>.research-account-footer{flex-shrink:0;margin:auto 12px 0;padding:9px 0 max(12px,env(safe-area-inset-bottom));border-top:1px solid var(--border)}.project-workspace-sidebar>.research-account-footer.is-compact{margin-inline:5px}.research-account{min-width:0}.research-account-trigger{display:flex;align-items:center;gap:10px;width:100%;min-height:56px;padding:8px;border:1px solid transparent;border-radius:11px;background:transparent;color:var(--text);text-align:left;font-family:var(--prototype-ui-font);cursor:pointer;transition:background .15s ease,border-color .15s ease}.research-account-trigger:hover,.research-account-trigger[aria-expanded=true]{background:var(--surface-hover);border-color:var(--border)}.research-account-menu>button:focus-visible,.research-account-trigger:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.research-account-avatar{display:inline-flex;align-items:center;justify-content:center;width:33px;height:33px;flex:0 0 33px;border:1px solid color-mix(in srgb,var(--accent) 20%,transparent);border-radius:50%;color:var(--accent);background:var(--accent-soft);font:600 13px/1 var(--prototype-ui-font)}.research-account-trigger-copy{flex:1 1;min-width:0}.research-account-trigger-copy small,.research-account-trigger-copy strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.research-account-trigger-copy strong{font-size:13px;line-height:1.6;font-weight:550}.research-account-trigger-copy small{color:var(--muted);font-size:10px;line-height:1.7;margin-top:1px}.research-account-trigger>.ui-icon{color:var(--muted);flex-shrink:0}.research-account.is-compact .research-account-trigger{min-height:44px;padding:4px;justify-content:center}.research-account.is-compact .research-account-trigger-copy,.research-account.is-compact .research-account-trigger>.ui-icon{display:none}.research-account.is-compact .research-account-avatar{width:30px;height:30px;flex-basis:30px}.research-account-menu{position:fixed;inset:auto;margin:0;z-index:100;box-sizing:border-box;padding:7px;overflow-y:auto;overscroll-behavior:contain;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:16px;box-shadow:0 12px 36px #171e1724,0 2px 8px #171e170c;font:14px/1.5 var(--prototype-ui-font);transform-origin:bottom left;animation:research-account-appear .14s ease-out}.research-account-menu-header{display:flex;align-items:center;gap:11px;padding:12px 10px 10px}.research-account-menu-header>div{min-width:0}.research-account-menu-header strong{display:block;font-size:13px;font-weight:550;line-height:1.5;overflow-wrap:anywhere}.research-account-menu-header small{display:block;margin-top:3px;color:var(--muted);font-size:11px}.research-account-separator{height:1px;background:var(--border);margin:6px 8px}.research-account-menu>button{display:flex;align-items:center;gap:11px;width:100%;min-height:40px;margin:0;padding:9px 11px;border:0;border-radius:8px;background:transparent;color:var(--text);text-align:left;font:inherit;font-size:13px;font-weight:400;cursor:pointer;transition:background .12s ease}.research-account-menu>button>span{flex:1 1}.research-account-menu>button>.ui-icon{flex-shrink:0;color:var(--muted)}.research-account-menu>button>small{font-size:10px;color:var(--dim)}.research-account-menu>button:focus-visible,.research-account-menu>button:hover{background:var(--surface-hover)}.research-account-menu>button:focus-visible{outline-offset:-2px}.research-account-menu>button:disabled{opacity:.6;cursor:wait}.research-account-menu>.research-account-logout:hover{color:var(--err)}.research-account-menu>.research-account-logout:hover>.ui-icon{color:currentColor}.research-account-error{margin:7px 10px 8px;color:var(--err);font-size:12px;line-height:1.7}.research-account-avatar.is-large,.research-account-feature{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;margin-bottom:18px;color:var(--accent);background:var(--accent-soft);border-radius:50%;font-size:19px}.research-account-profile>h3{font-size:20px;font-weight:550;margin:0 0 8px}.research-account-profile>p{font-size:13px;line-height:1.8;margin:0 0 20px;color:var(--muted)}.research-account-profile>dl{padding:17px 19px;margin:24px 0 18px;border:1px solid var(--border);border-radius:9px;background:var(--bg)}.research-account-profile dt{color:var(--muted);font-size:11px}.research-account-profile dd{margin:5px 0 16px;font-size:13px;line-height:1.7;overflow-wrap:anywhere}.research-account-profile dd:last-child{margin-bottom:0}.research-account-profile>.research-account-note{font-size:12px;margin:0}@keyframes research-account-appear{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media (max-width:680px){.research-account-menu>button{min-height:44px}}@media (prefers-reduced-motion:reduce){.research-account-menu{animation:none}.research-account-menu>button,.research-account-trigger{transition:none}}.research-session-layout .workspace-header.workspace-header--compact{display:flex;align-items:center;flex-wrap:nowrap;flex-shrink:0;height:58px;min-height:58px;padding:0 20px;gap:20px;border-bottom:1px solid var(--border);background:var(--surface)}.research-session-layout .workspace-header--compact[hidden]{display:none}.research-session-layout .workspace-header--compact .center-tabs{display:flex;align-items:stretch;flex:0 1 auto;min-width:200px;height:58px;min-height:0;padding:0;gap:20px;border:0;overflow:auto hidden}.research-session-layout .workspace-header--compact .center-tab{display:inline-flex;align-items:center;flex-shrink:0;gap:6px;padding:0;white-space:nowrap;font-size:13px}.research-session-layout .workspace-header--compact .center-file-tab{display:flex;align-items:center;flex-shrink:0;max-width:210px;min-width:100px;height:41px;min-height:41px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--muted);font-size:13px}.research-session-layout .workspace-header--compact .center-file-tab:hover{border-color:transparent;background:transparent;color:var(--accent)}.research-session-layout .workspace-header--compact .center-file-tab.is-active{border-color:transparent;border-bottom-color:var(--accent);background:transparent;color:var(--text);font-weight:600}.research-session-layout .workspace-header--compact .center-file-tab__label{height:39px;padding:0 2px 0 0;gap:7px;border-radius:0}.research-session-layout .workspace-header--compact .center-file-tab__close{width:24px;height:24px;flex:0 0 24px;margin-left:1px}.research-session-layout .workspace-run-summary{display:flex;align-items:center;flex:0 0 auto;gap:14px;margin-left:auto;white-space:nowrap}.research-session-layout .run-status-bar.is-compact{display:flex;align-items:center;flex-wrap:nowrap;gap:9px;min-height:34px;margin:0;padding:5px 11px;border:1px solid color-mix(in srgb,var(--accent) 28%,var(--border));border-radius:10px;background:color-mix(in srgb,var(--accent-soft) 62%,var(--surface));box-shadow:0 2px 10px color-mix(in srgb,var(--accent) 8%,transparent);font-size:11.5px}.research-session-layout .run-status-bar.is-compact.is-paused,.research-session-layout .run-status-bar.is-compact.is-waiting{border-color:color-mix(in srgb,var(--warn) 30%,var(--border));background:color-mix(in srgb,var(--warn) 7%,var(--surface));box-shadow:none}.research-session-layout .run-status-bar.is-compact.is-done{border-color:color-mix(in srgb,var(--ok) 28%,var(--border));background:color-mix(in srgb,var(--ok-soft) 70%,var(--surface));box-shadow:none}.research-session-layout .run-status-bar.is-compact.is-cancelled,.research-session-layout .run-status-bar.is-compact.is-failed{border-color:color-mix(in srgb,var(--err) 28%,var(--border));background:color-mix(in srgb,var(--err) 6%,var(--surface));box-shadow:none}.research-session-layout .run-status-bar.is-compact .run-status-bar__state{gap:7px}.research-session-layout .run-status-bar.is-compact .run-status-bar__state>strong{font-size:12px}.research-session-layout .run-status-bar.is-compact .run-status-bar__divider{height:16px;background:color-mix(in srgb,var(--accent) 22%,var(--border))}.research-session-layout .run-status-bar.is-compact .run-status-bar__elapsed{gap:7px}.research-session-layout .run-status-bar.is-compact .run-status-bar__elapsed>strong{font-size:15px;font-weight:650;letter-spacing:.025em}.research-session-layout .workspace-history-link{display:inline-flex;align-items:center;gap:5px;font-size:12px;padding:6px 0;white-space:nowrap}.research-session-layout .workspace-stream-connection{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:11px}.research-session-layout .workspace-stream-connection.is-connected{display:none}.research-session-layout .workspace-stream-connection i{width:6px;height:6px;border-radius:50%;background:var(--warn)}.research-session-layout .workspace-header--compact .workspace-header__actions{display:flex;align-items:center;flex:0 0 auto;flex-wrap:nowrap;width:auto;max-width:none;margin:0;gap:8px}.research-session-layout .workspace-header--compact .run-control,.research-session-layout .workspace-header--compact .workspace-header-action{height:32px;min-height:32px;padding:6px 9px;font-size:12px;white-space:nowrap}.research-session-layout .workspace-files-label{padding:13px 17px 10px;font-size:12px;font-weight:600;border-bottom:1px solid var(--border)}.research-session-layout .workspace-inspector__tree{padding-top:9px}.research-session-layout .workspace-new-conversations{display:grid;gap:3px;margin:2px 22px 14px}.research-session-layout .workspace-new-conversations>button{display:flex;align-items:center;gap:10px;width:100%;border:0;text-align:left;padding:11px 12px;background:transparent;font-size:13px;font-weight:500}.research-session-layout .workspace-new-conversations>button:hover{background:var(--surface)}.research-session-layout .workspace-new-conversations .workspace-new-conversation{color:var(--accent)}.research-session-layout .workspace-draft-entry>span{flex:1 1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.research-session-layout .workspace-draft-entry>small{color:var(--muted);font-size:10px;font-weight:400}.research-session-layout .workspace-new-conversations .is-current{background:var(--accent-soft);color:var(--accent)}.research-session-layout .workspace-new-conversations .workspace-history-entry{color:var(--muted);font-size:11px}.research-session-layout .research-independent-conversation{height:100%}.research-session-layout .research-independent-conversation>.research-purpose-main{flex:1 1}.research-session-layout .research-independent-conversation .research-purpose-scroll{padding:44px 32px 24px}.research-session-layout .research-independent-conversation .research-purpose-welcome,.research-session-layout .research-independent-conversation .research-starter-grid{width:100%;max-width:760px;margin-left:auto;margin-right:auto}.research-session-layout .research-independent-conversation .research-purpose-composer{width:100%;max-width:824px;margin:0 auto;padding:14px 32px 22px;border:0;background:transparent}.research-session-layout .research-independent-conversation textarea{padding:14px;border:1px solid var(--border);border-radius:10px}.research-session-layout .research-composer-actions>span{display:inline-flex;align-items:center;gap:6px;font-size:11px}.research-session-layout .research-composer-actions .primary{margin-left:auto}.research-session-layout .v24-completion-summary ul{margin:8px 0 0;padding-left:21px;line-height:1.8;overflow-wrap:anywhere}.research-session-layout .v24-completion-summary li+li{margin-top:10px}.workspace-file-menu{position:fixed;z-index:120;width:214px;max-width:calc(100vw - 16px);padding:6px;border:1px solid var(--border);border-radius:10px;box-shadow:var(--shadow-pop);color:var(--text);background:var(--surface)}.workspace-file-menu__name{padding:8px 9px 10px;margin-bottom:4px;border-bottom:1px solid var(--border);color:var(--muted);font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-file-menu [role=menuitem]{display:flex;align-items:center;gap:10px;width:100%;min-height:35px;padding:8px 9px;border:0;border-radius:6px;background:transparent;color:var(--text);text-align:left;font-size:12px;text-decoration:none;cursor:pointer}.workspace-file-menu [role=menuitem]:focus,.workspace-file-menu [role=menuitem]:hover{background:var(--surface-2);outline:none}.workspace-file-menu [role=menuitem]:focus-visible{box-shadow:inset 0 0 0 1px var(--accent)}.workspace-file-menu>small{display:block;padding:7px 9px;color:var(--warn)}.file-tree-notice{position:sticky;bottom:0;padding:8px 10px;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--muted);font-size:11px}@media (max-width:1440px){.research-session-layout .workspace-header.workspace-header--compact{gap:14px;padding:0 16px}.research-session-layout .workspace-header--compact .center-tabs{gap:16px}.research-session-layout .workspace-header--compact .workspace-action-label{display:none}.research-session-layout .workspace-header--compact .workspace-header-action{width:32px;padding:6px;justify-content:center}}@media (max-width:1360px){.case-workbench-shell .case-workbench-sidebar:not(.is-mobile-open){width:0!important;flex-basis:0!important;border-right:0;visibility:hidden}.case-workbench-shell .case-workbench-sidebar.is-mobile-open{display:flex;position:absolute;inset:0 auto 0 0;z-index:40;width:230px!important;flex-basis:230px!important;visibility:visible;box-shadow:10px 0 30px color-mix(in srgb,#000 18%,transparent)}.case-workbench-shell .workspace-header--compact>.research-mobile-only{display:inline-flex!important;flex-shrink:0}}@media (max-width:1100px){.research-session-layout .workspace-run-summary{gap:10px}.research-session-layout .run-status-bar.is-compact .run-status-bar__elapsed>span{display:none}.research-session-layout .workspace-header--compact .center-tabs{gap:13px}}@media (max-width:900px){.research-session-layout .workspace-header.workspace-header--compact{gap:12px;overflow:auto hidden}.research-session-layout .workspace-header--compact .center-tabs{flex-shrink:0}.research-session-layout .workspace-header--compact .research-popover{position:fixed;top:56px;right:12px}}@media (max-width:680px){.research-session-layout .workspace-header--compact>.research-mobile-only{display:inline-flex!important;flex-shrink:0}.research-session-layout .workspace-header.workspace-header--compact{height:52px;min-height:52px;padding:0 12px}.research-session-layout .workspace-header--compact .center-tabs{height:52px;min-width:0}.research-session-layout .workspace-header--compact .center-tab{font-size:12px}.research-session-layout .research-independent-conversation .research-purpose-scroll{padding:24px 17px}.research-session-layout .research-independent-conversation .research-purpose-composer{padding:12px 17px}}.companion-composer-dock{flex-shrink:0;padding:15px 28px max(16px,env(safe-area-inset-bottom));border-top:1px solid var(--border);background:var(--bg)}.companion-composer-layout{max-width:816px;margin:0 auto;display:grid;gap:8px}.companion-composer{position:relative;display:grid;gap:0;padding:8px 10px 9px;border:1px solid var(--border);border-radius:18px;background:var(--surface);box-shadow:var(--shadow-card);transition:border-color .15s,box-shadow .15s}.companion-composer:focus-within{border-color:color-mix(in srgb,var(--accent) 65%,var(--border));box-shadow:0 0 0 3px var(--accent-soft),var(--shadow-card)}.companion-composer textarea{width:100%;min-height:78px;max-height:180px;padding:10px 11px 13px;border:0;resize:none;overflow-y:auto;background:transparent;color:var(--text);font-size:14px;line-height:1.6}.companion-composer textarea::placeholder{color:var(--muted-readable);opacity:.9}.companion-composer textarea:focus,.companion-composer textarea:focus-visible{outline:0;box-shadow:none}.companion-composer-actions,.companion-composer-tools{display:flex;align-items:center;gap:7px;min-width:0}.companion-composer-actions{justify-content:space-between;align-items:flex-end;padding:9px 2px 0;border-top:1px solid var(--border)}.companion-composer-tools{flex:1 1;flex-wrap:wrap}.companion-composer-tool{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:6px 10px;border:1px solid var(--border);border-radius:999px;background:var(--surface-2);color:var(--muted-readable);cursor:pointer;white-space:nowrap;font-size:12px;font-weight:520}.companion-composer-tool:hover,.companion-composer-tool[aria-expanded=true]{border-color:color-mix(in srgb,var(--accent) 42%,var(--border));color:var(--text);background:var(--accent-soft)}.companion-composer-tool[aria-disabled=true]{opacity:.55;cursor:not-allowed}.companion-composer-tool input[type=file]{display:none}.companion-goal-toggle[aria-pressed=true]{color:var(--accent);background:var(--accent-soft);border-color:color-mix(in srgb,var(--accent) 25%,var(--border))}.companion-goal-status{display:flex;align-items:center;gap:8px;min-width:0;padding:3px 6px;color:var(--muted);font-size:11px}.companion-goal-status>span{display:flex;align-items:center;gap:5px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.companion-goal-status>button{flex:none;border:0;background:transparent;color:var(--accent);cursor:pointer;font-size:11px}.companion-goal-status>button:disabled{opacity:.5;cursor:not-allowed}.companion-send,.companion-stop{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:6px 14px;border-radius:11px;white-space:nowrap;font-size:12px;font-weight:650}.companion-stop{color:var(--err);border-color:color-mix(in srgb,var(--err) 48%,var(--border));background:var(--surface)}.companion-composer-hint{padding:8px 10px 0;color:var(--muted-readable);font-size:11px}.companion-attachments{display:flex;gap:7px;flex-wrap:wrap;padding:2px 0 8px;border-bottom:1px solid var(--border)}.message-attachment{display:flex;align-items:center;min-width:0;width:min(100%,250px);min-height:54px;border:1px solid var(--border);border-radius:10px;background:var(--surface);overflow:hidden}.message-attachment-main{display:flex;align-items:center;gap:8px;flex:1 1;min-width:0;min-height:52px;padding:5px 7px;border:0;border-radius:0;background:transparent;color:var(--text);text-align:left}button.message-attachment-main:hover{border:0;background:var(--surface-2)}.message-attachment-preview{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:7px;background:var(--surface-2);color:var(--muted);overflow:hidden}.message-attachment-preview img{display:block;width:100%;height:100%;object-fit:cover}.message-attachment-detail{display:grid;gap:1px;min-width:0;line-height:1.35}.message-attachment-detail strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:600}.message-attachment-detail small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted-readable);font-size:10px}.message-attachment-remove{display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;margin:0 5px 0 0;padding:0;border:0;background:transparent;color:var(--muted)}.message-attachment-remove:hover{border:0;color:var(--err)}.message-attachment.is-failed{border-color:var(--err)}.message-attachment.is-failed .message-attachment-detail small,.message-attachment.is-failed .message-attachment-preview{color:var(--err)}.message-attachment.is-uploading .message-attachment-preview{color:var(--accent)}.chat-user-bubble{max-width:76%;min-width:0;padding:10px 14px;border-radius:14px 14px 4px 14px;background:var(--surface-2);color:var(--text)}.chat-user-text{white-space:pre-wrap;word-break:break-word}.chat-user-attachments{display:flex;flex-wrap:wrap;gap:7px;min-width:0}.chat-user-text+.chat-user-attachments{margin-top:9px}.chat-user-attachments .message-attachment{background:var(--surface)}.chat-user-attachments .message-attachment-preview{background:var(--surface-2)}.chat-user-attachments .message-attachment-main{cursor:pointer}.chat-user-attachments .message-attachment-main:focus-visible,.message-attachment-remove:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.companion-skill-control{position:relative}.companion-skill-menu{position:absolute;bottom:calc(100% + 8px);left:0;z-index:45;display:grid;gap:2px;width:min(340px,calc(100vw - 36px));max-height:min(390px,60vh);overflow:auto;padding:8px;border:1px solid var(--border);border-radius:13px;background:var(--surface);box-shadow:var(--shadow-pop)}.companion-skill-menu>input{position:sticky;top:0;z-index:1;width:100%;padding:8px 10px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);font-size:12px}.companion-skill-menu>button{display:flex;align-items:flex-start;gap:9px;width:100%;min-height:45px;padding:8px;border:0;border-radius:8px;background:transparent;color:var(--text);text-align:left}.companion-skill-menu>button:hover,.companion-skill-menu>button[aria-checked=true]{background:var(--accent-soft)}.companion-skill-menu>button>span{display:grid;gap:2px;min-width:0}.companion-skill-menu strong{font-size:12px;font-weight:600}.companion-skill-menu small{color:var(--muted);font-size:10px;line-height:1.35}.companion-skill-menu>p{padding:10px;color:var(--muted);font-size:12px}@media(max-width:680px){.companion-composer-dock{padding:11px 13px max(13px,env(safe-area-inset-bottom))}.companion-composer{border-radius:16px}.companion-composer-tools{gap:5px}.companion-composer-tool{padding:5px 8px;font-size:11px}.companion-send,.companion-stop{padding-inline:11px}.companion-skill-control{position:static}.companion-skill-menu{left:10px;right:10px;bottom:45px;width:auto}}@media(prefers-reduced-motion:reduce){.companion-composer,.companion-composer-tool{transition:none}}