.anchored-popover{z-index:160;box-sizing:border-box;width:272px;max-width:calc(100vw - 24px);padding:6px;overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--text);box-shadow:0 16px 48px rgb(10 24 45/14%),0 3px 10px rgb(10 24 45/5%);outline:none;transform-origin:bottom center;animation:anchoredPopoverIn .15s cubic-bezier(.2,.8,.2,1);scrollbar-width:thin}.anchored-popover[data-side=below]{transform-origin:top center}.anchored-popover button{font:inherit;cursor:pointer}.anchored-popover button:disabled{cursor:not-allowed;opacity:.42}.anchored-popover button:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}.popover-heading{padding:7px 10px 9px;color:var(--text-tertiary);font-size:11px;font-weight:500;letter-spacing:.02em}.anchored-popover .popover-option{display:flex;align-items:center;gap:10px;width:100%;border:0;border-radius:9px;padding:10px;color:var(--text);background:transparent;text-align:left;font-size:12px;transition:background-color .12s ease,color .12s ease}.anchored-popover .popover-option:focus-visible,.anchored-popover .popover-option:hover:not(:disabled){background:var(--surface-muted)}.anchored-popover .popover-option[aria-checked=true],.anchored-popover .popover-option[aria-selected=true]{background:color-mix(in srgb,var(--primary) 8%,transparent)}.popover-option>svg{flex-shrink:0;color:var(--text-secondary)}.popover-option>svg:last-child:not(:first-child){color:var(--primary)}.popover-option-copy{flex:1 1;min-width:0}.popover-option-title{display:flex;align-items:center;justify-content:space-between;gap:8px;line-height:1.5;font-weight:500}.popover-option-title em{font-size:10px;font-style:normal;font-weight:400;color:var(--text-tertiary)}.popover-option-copy small{display:block;font-size:11px;line-height:1.6;color:var(--text-tertiary);margin-top:2px;overflow-wrap:anywhere}@keyframes anchoredPopoverIn{0%{opacity:0;transform:translateY(4px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@media (prefers-reduced-motion:reduce){.anchored-popover{animation:none}.anchored-popover .popover-option{transition:none}}.auth-content-placeholder{display:flex;flex:1 1;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:280px;margin:24px;padding:32px 20px;text-align:center;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}.auth-content-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:var(--surface-muted);color:var(--muted)}.auth-content-placeholder h1{margin:0;font-size:17px;font-weight:600;color:var(--text)}.auth-content-placeholder p{margin:0;font-size:13px;line-height:1.7;color:var(--muted)}.auth-content-placeholder button{margin-top:8px;padding:9px 20px;border:1px solid var(--line);border-radius:8px;background:var(--surface-muted);color:var(--text);font:inherit;font-size:13px;cursor:pointer}.auth-content-placeholder button:hover{background:var(--primary-tint)}.auth-content-placeholder button:focus-visible{outline:2px solid var(--focus,var(--primary));outline-offset:3px}.status-popover-head .status-agent-switch{display:inline-flex;align-items:center;gap:5px;min-height:30px;border:1px solid #c3d5ff;border-radius:8px;background:#edf3ff;color:#2456cc;font:inherit;font-size:12px;font-weight:600;padding:5px 10px;cursor:pointer}.status-agent-switch:disabled{opacity:.45;cursor:not-allowed}.composer-dialog.agent-switch-dialog{width:min(620px,calc(100vw - 32px));max-height:calc(100dvh - 40px);margin:auto;padding:0;border:1px solid var(--line);border-radius:20px;background:var(--surface);color:var(--text);box-shadow:0 24px 90px #17243d30;overflow:hidden}.agent-switch-dialog[open]{display:flex;flex-direction:column}.agent-switch-dialog .agent-switch-list,.agent-switch-dialog .project-flow-content,.agent-switch-dialog:modal{overscroll-behavior:contain}.agent-switch-dialog::-webkit-backdrop{background:#12203855;overflow:hidden;overscroll-behavior:contain}.agent-switch-dialog::backdrop{background:#12203855;overflow:hidden;overscroll-behavior:contain}.agent-switch-dialog .project-flow-header{display:flex;align-items:center;justify-content:space-between;flex:none;gap:16px;padding:22px 24px 16px;border-bottom:1px solid var(--line)}.agent-switch-dialog .project-flow-header h3{margin:0;font-size:19px;font-weight:600}.agent-switch-dialog .composer-dialog-close{display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:8px;background:var(--surface-muted);color:var(--muted);cursor:pointer}.agent-switch-dialog .project-flow-content{display:flex;flex-direction:column;gap:12px;min-height:0;max-height:none;padding:20px 24px;overflow:auto}.agent-switch-dialog .project-flow-content>:not(.agent-switch-list){flex-shrink:0}.agent-switch-dialog .agent-switch-intro{display:flex;align-items:center;justify-content:space-between;gap:10px}.agent-switch-dialog .agent-switch-intro p{margin:0;font-size:14px;font-weight:500}.agent-switch-dialog .agent-switch-intro>span{display:inline-flex;align-items:center;gap:5px;color:var(--muted);font-size:11px;white-space:nowrap}.agent-switch-dialog .agent-switch-caption{margin:-5px 0 2px;font-size:12px;line-height:1.65;color:var(--muted)}.agent-switch-dialog .agent-switch-list{display:flex;flex-direction:column;gap:8px;overflow:auto;max-height:min(420px,48dvh);min-height:80px;flex:1 1 auto;padding:2px}.agent-switch-dialog .agent-switch-row{position:relative;display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;grid-gap:12px;gap:12px;min-height:70px;flex:none;margin:0;padding:12px;box-sizing:border-box;text-align:left;border:1px solid var(--line);border-radius:12px;cursor:pointer;background:var(--surface)}.agent-switch-dialog .agent-switch-row.selected{border-color:color-mix(in srgb,var(--primary) 35%,var(--line));background:color-mix(in srgb,var(--primary) 4%,var(--surface))}.agent-switch-dialog .agent-switch-row:focus-within{outline:2px solid var(--primary);outline-offset:-2px}.agent-switch-dialog .agent-switch-row.unavailable{opacity:.55;cursor:not-allowed}.agent-switch-dialog .agent-switch-row input{position:absolute;width:1px;height:1px;min-height:0;margin:0;padding:0;border:0;opacity:0}.agent-switch-dialog .agent-switch-icon{flex:none;width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:var(--surface-muted);color:var(--muted)}.agent-switch-dialog .agent-switch-copy{display:flex;flex:1 1;min-width:0;flex-direction:column;gap:4px}.agent-switch-dialog .agent-switch-copy strong{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;font-size:13px;font-weight:600}.agent-switch-dialog .agent-switch-copy small{font-size:10px;font-weight:400;color:var(--muted)}.agent-switch-dialog .agent-switch-copy>span{font-size:11px;line-height:1.5;color:var(--muted)}.agent-switch-dialog .agent-switch-tag{display:inline-flex;flex:none;align-items:center;border-radius:20px;padding:3px 7px;color:var(--text-secondary);background:var(--surface-muted);font-size:10px;white-space:nowrap}.agent-switch-dialog .agent-switch-tag.connected{color:#218568;background:#eaf8f1}.agent-switch-dialog .agent-switch-empty{display:flex;align-items:center;justify-content:center;gap:10px;min-height:110px;margin:0;font-size:12px;color:var(--muted)}.agent-switch-dialog .agent-switch-notice{padding:12px 14px;border-radius:12px;background:var(--surface-muted);color:var(--text-secondary);flex:none;overflow-wrap:anywhere}.agent-switch-dialog .agent-switch-notice strong{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600}.agent-switch-dialog .agent-switch-notice p{margin:6px 0 0;font-size:12px;line-height:1.7}.agent-switch-dialog .agent-switch-notice small{display:block;margin-top:6px;font-size:11px;line-height:1.6;color:var(--muted)}.agent-switch-dialog .agent-switch-notice.success{background:color-mix(in srgb,#45ad84 9%,var(--surface))}.agent-switch-dialog .agent-switch-notice.failure{background:color-mix(in srgb,#cba45b 10%,var(--surface))}.agent-switch-dialog .agent-switch-notice progress{width:100%;height:4px;margin-top:10px;accent-color:var(--primary)}.agent-switch-dialog .agent-switch-footer{display:flex;justify-content:space-between;gap:12px;align-items:center;flex:none;padding-top:14px;border-top:1px solid var(--line)}.agent-switch-dialog .agent-switch-footer button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;margin:0;padding:8px 13px;border:1px solid var(--line);border-radius:9px;font:inherit;font-size:12px;cursor:pointer}.agent-switch-dialog .agent-switch-refresh{background:var(--surface);color:var(--text-secondary)}.agent-switch-dialog .agent-switch-manage,.agent-switch-dialog .agent-switch-notice a{color:var(--primary);font-size:12px;text-decoration:none;line-height:1.6}.agent-switch-dialog .agent-switch-manage:hover,.agent-switch-dialog .agent-switch-notice a:hover{text-decoration:underline}.agent-switch-dialog .agent-switch-footer .agent-switch-primary{background:var(--primary);color:white}.agent-switch-dialog button:disabled{opacity:.45;cursor:not-allowed}.agent-switch-dialog button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}@media (max-width:600px){.agent-switch-dialog .project-flow-content,.agent-switch-dialog .project-flow-header{padding:16px}.agent-switch-dialog .agent-switch-list{max-height:38dvh}.agent-switch-dialog .agent-switch-row{grid-template-columns:28px minmax(0,1fr) auto;gap:8px;padding:10px}.agent-switch-dialog .agent-switch-icon{width:28px;height:28px}.agent-switch-dialog .agent-switch-footer button{min-height:44px}}.status-popover-head .status-agent-switch:hover:not(:disabled){background:#dfeaff;border-color:#96b6ff}.status-popover-head .status-agent-switch:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.anchored-popover.model-switcher-popover{display:flex;flex-direction:column;width:310px;padding:8px}.model-switcher-depth,.model-switcher-head,.model-switcher-search{flex-shrink:0}.model-switcher-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 6px 10px;font-size:12px;font-weight:500}.model-switcher-head small{display:block;margin-top:4px;font-size:11px;font-weight:400;color:var(--text-tertiary)}.model-switcher-refresh{display:grid;place-items:center;width:28px;height:28px;border:0;border-radius:7px;background:transparent;color:var(--text-secondary)}.model-switcher-refresh:hover:not(:disabled){background:var(--surface-muted);color:var(--text)}.model-switcher-search{display:flex;align-items:center;gap:8px;margin-bottom:8px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;color:var(--text-tertiary)}.model-switcher-search:focus-within{border-color:color-mix(in srgb,var(--primary) 45%,var(--line))}.model-switcher-search input{width:100%;min-width:0;border:0;padding:0;outline:0;background:transparent;color:var(--text);font:inherit;font-size:12px}html[data-theme=dark] .model-switcher-search input{background:transparent}.model-switcher-list{display:flex;flex:0 1 auto;flex-direction:column;gap:3px;min-height:38px;max-height:240px;overflow-y:auto;scrollbar-width:thin}.model-switcher-list>*{flex-shrink:0}.model-switcher-option .popover-option-title{display:block;overflow-wrap:anywhere}.model-switcher-empty{display:flex;flex-direction:column;align-items:center;gap:10px;padding:24px 10px;font-size:12px;color:var(--text-tertiary)}.model-switcher-popover .model-switcher-retry{border:1px solid var(--line);border-radius:8px;padding:7px 14px;background:var(--surface);color:var(--text-secondary);font-size:12px;transition:background-color .12s}.model-switcher-popover .model-switcher-retry:hover{background:var(--surface-muted)}.model-switcher-btn svg{transition:transform .15s ease}.model-switcher-depth{margin-top:12px;padding:12px 6px 4px;border-top:1px solid var(--line)}.model-switcher-depth-title{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;font-size:12px;color:var(--text)}.model-switcher-depth-title>span:last-of-type{color:var(--text-secondary)}.model-switcher-depth-title input{width:100%;margin:0;accent-color:var(--primary);cursor:pointer}.model-switcher-depth-title input:disabled{cursor:default}.model-switcher-depth-labels{display:flex;justify-content:space-between;margin-top:8px;font-size:11px;color:var(--text-tertiary)}.model-switcher-depth p{margin:0 0 12px;font-size:11px;color:var(--text-tertiary)}@media (prefers-reduced-motion:reduce){.model-switcher-btn svg,.model-switcher-popover button{transition:none}}.research-tracking-unread-dot{position:absolute;top:-3px;right:-8px;width:6px;height:6px;border-radius:50%;background:#f04462;pointer-events:none}.investor-attention-label{position:relative;display:inline-block}.investor-attention-dot{position:absolute;top:-3px;right:-8px;width:6px;height:6px;border-radius:50%;background:#f04462;pointer-events:none}.investor-basics-notice{display:flex;align-items:center;flex-shrink:0;gap:12px;width:calc(100% - 32px);max-width:960px;box-sizing:border-box;margin:16px auto 0;padding:12px 16px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text-secondary)}.investor-basics-notice>svg{flex-shrink:0;color:var(--muted)}.investor-basics-notice strong{font-size:13px;font-weight:500}.investor-basics-notice p{margin:4px 0 0;font-size:12px;color:var(--muted);line-height:1.5}.investor-basics-notice a{display:inline-flex;align-items:center;gap:6px;flex-shrink:0;margin-left:auto;font-size:13px;color:var(--primary);text-decoration:none}@media (max-width:480px){.investor-basics-notice{gap:8px;padding:12px}.investor-basics-notice>svg{display:none}}.kb-recommend-label,.workbench-nav-label{position:relative;display:inline-block}.knowledge-unread-dot,.workflow-unread-dot{position:absolute;top:-3px;right:-8px;width:6px;height:6px;border-radius:50%;background:#f04462;pointer-events:none}.workbench-nav-inline .dashboard-nav{padding-right:8px}.workbench-menu{position:relative;flex:none;display:flex;align-items:center}.workbench-menu-trigger{display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--text-secondary);cursor:pointer}.workbench-menu-trigger:hover,.workbench-menu-trigger[aria-expanded=true]{background:var(--surface-muted);color:var(--text)}.workbench-menu-trigger:focus-visible{outline:2px solid var(--focus,var(--primary));outline-offset:2px}.workbench-menu-divider{width:1px;height:18px;flex:0 0 1px;background:var(--line);margin:0 3px}.workbench-menu-divider+.chat-interaction-toolbar{margin-left:0}.topbar:has(.workbench-menu-popup){z-index:30}.workbench-menu-popup{position:absolute;top:calc(100% + 9px);left:0;z-index:40;width:184px;max-width:calc(100vw - 32px);padding:6px;border:1px solid var(--line);border-radius:12px;background:var(--surface);box-shadow:0 8px 28px rgb(20 35 60/10%)}.workbench-menu-popup .workbench-nav-inline{display:block;margin:0;overflow:visible}.workbench-menu-popup .dashboard-nav{display:flex;flex-direction:column;align-items:stretch;gap:2px;height:auto;width:100%;padding:0;overflow:visible}.workbench-menu-popup .dashboard-nav-link{min-height:42px;padding:10px 14px;border:0;border-radius:7px;font-size:13px;font-weight:500;color:var(--text-secondary);white-space:nowrap}.workbench-menu-popup .dashboard-nav-link.active,.workbench-menu-popup .dashboard-nav-link:hover{background:var(--surface-muted);color:var(--text)}.workbench-menu-popup .dashboard-nav-link:focus-visible{outline:2px solid var(--focus,var(--primary));outline-offset:-2px}.study-label{white-space:normal}.study-board span.study-label.study-label>button[type=button],span.study-label>button[type=button]{display:inline-flex;vertical-align:super;align-items:center;justify-content:center;width:17px;height:17px;min-height:0;min-width:0;line-height:1;padding:0;border:0;margin:-4px 0 -4px 1px;background:transparent;color:var(--text-tertiary,#75859f);opacity:.8;cursor:help}span.study-label>button svg{width:12px;height:12px;flex-shrink:0}span.study-label>button:is(:hover,:focus-visible){opacity:1;color:var(--primary,#2463db)}.anchored-popover.study-tip{position:fixed;z-index:10010;width:min(266px,calc(100vw - 20px));box-sizing:border-box;background:var(--surface,#fff);color:var(--text,#192a46);border:1px solid var(--line,#d4ddeb);box-shadow:0 8px 28px #19274826;border-radius:10px;padding:0;pointer-events:auto;font-size:13px;font-weight:400;text-align:left;line-height:1.6;white-space:normal}.study-tip>div{padding:11px 14px}.study-tip div div{margin-top:4px}.study-tip div div:last-child{color:var(--text-secondary,#4b607d)}.workbench-home-switch{position:absolute;top:calc(100% + 6px);left:16px;z-index:1;display:inline-flex;align-items:center;justify-content:center;gap:6px;width:max-content;height:28px;padding:0 8px;box-sizing:border-box;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--text-secondary);box-shadow:0 3px 10px rgb(20 35 60/5%);font:inherit;font-size:11px;font-weight:400;line-height:1;white-space:nowrap;cursor:pointer}.workbench-home-switch[aria-checked=true]{color:var(--primary);border-color:color-mix(in srgb,var(--primary) 22%,var(--line));background:color-mix(in srgb,var(--primary) 4%,var(--surface))}.workbench-home-switch-track{display:flex;align-items:center;flex:none;width:24px;height:14px;padding:2px;box-sizing:border-box;border-radius:999px;background:var(--text-tertiary);transition:background .15s}.workbench-home-switch-track>span{width:10px;height:10px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgb(0 0 0/12%);transition:transform .15s}.workbench-home-switch[aria-checked=true] .workbench-home-switch-track{background:var(--primary)}.workbench-home-switch[aria-checked=true] .workbench-home-switch-track>span{transform:translateX(10px)}.workbench-home-switch:focus-visible{outline:2px solid var(--primary);outline-offset:-3px}@media(hover:hover){.workbench-home-switch:hover{border-color:color-mix(in srgb,var(--primary) 35%,var(--line));color:var(--primary)}}@media(max-width:860px){.workbench-home-switch{left:8px}}@media(pointer:coarse){.workbench-home-switch:after{content:"";position:absolute;inset:-8px 0}}@media(prefers-reduced-motion:reduce){.workbench-home-switch-track,.workbench-home-switch-track>span{transition:none}}.report-chart{position:relative;min-width:0;max-width:100%;margin:24px 0}.report-chart-host{width:100%;height:360px;min-width:0}.report-chart-status{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:16px;color:var(--text-secondary,#6d7380)}.report-chart button{min-height:36px;border:1px solid var(--line,#d6deeb);border-radius:8px;padding:6px 12px;color:inherit;background:transparent;cursor:pointer}.report-chart button:focus-visible{outline:2px solid var(--primary,#155dfc);outline-offset:3px}.report-chart details{padding:0 16px 16px}.report-chart pre{max-height:240px;overflow:auto}@media (max-width:600px){.report-chart-host{height:320px}}.sidebar-reward-actions .sidebar-action-btn:disabled{opacity:.6;cursor:default;box-shadow:none}.daily-check-in-dialog{margin:auto;width:min(360px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:24px;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--text);box-shadow:0 20px 60px rgba(0,0,0,.16)}.daily-check-in-dialog::-webkit-backdrop{background:rgba(0,0,0,.45)}.daily-check-in-dialog::backdrop{background:rgba(0,0,0,.45)}.daily-check-in-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.daily-check-in-header h2{margin:0;font-size:18px}.daily-check-in-close{display:inline-flex;padding:6px;border:0;border-radius:6px;background:transparent;color:var(--text-secondary);cursor:pointer}.daily-check-in-close:hover{background:var(--sidebar-hover)}.daily-check-in-dialog p{margin:16px 0;color:var(--text-secondary);font-size:14px}.daily-check-in-status{display:flex;align-items:center;gap:8px;margin:24px 0;color:var(--primary)}.daily-check-in-error{color:var(--danger)}.daily-check-in-done{width:100%}.json-code-block{--json-code-bg:color-mix(in srgb,var(--surface-muted,#f4f7fb) 65%,var(--surface,#fff));margin:18px 0;min-width:0;max-width:100%;overflow:hidden;border:1px solid var(--line,#e2e8f0);border-radius:10px;background:var(--json-code-bg);color:var(--text,#243044)}.json-code-block .json-code-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:10px 16px;border-bottom:1px solid var(--line,#e2e8f0)}.json-code-block .json-code-toolbar>div{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.json-code-block .json-code-toolbar strong{color:var(--text,#243044);font:600 12px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.04em}.json-code-block .json-code-toolbar span{color:var(--text-secondary,#64748b);font-size:11px;line-height:1.5}.json-code-block .json-code-toolbar button{padding:4px 9px;min-height:28px;border:1px solid var(--line,#e2e8f0);border-radius:5px;background:var(--surface,#fff);color:var(--text-secondary,#64748b);font:inherit;font-size:12px;cursor:pointer}.json-code-block .json-code-toolbar button:hover{color:var(--primary,#2563eb);border-color:var(--primary,#2563eb)}.json-code-block.json-code-block.json-code-block>pre{margin:0;padding:18px 20px;border:0;border-radius:0;width:100%;max-width:100%;min-width:0;max-height:none;box-sizing:border-box;overflow:auto;background:transparent;color:var(--text,#243044);white-space:pre;overflow-wrap:normal;word-break:normal;font:13px/1.85 ui-monospace,SFMono-Regular,Consolas,Liberation Mono,monospace;-moz-tab-size:2;tab-size:2}.json-code-block.json-code-block.json-code-block>pre>code{padding:0;border:0;background:transparent;color:inherit;font:inherit;white-space:inherit;overflow-wrap:normal;word-break:normal}.json-code-block .json-token-key{color:light-dark(#245ca9,#8ab4f8)}.json-code-block .json-token-string{color:light-dark(#27714c,#8acb9e)}.json-code-block .json-token-number{color:light-dark(#955b19,#edbd7b)}.json-code-block .json-token-literal{color:light-dark(#8248a1,#caa2e8)}.json-code-block .json-code-status,.json-code-block .json-token-punctuation{color:var(--text-secondary,#64748b)}.json-code-block .json-code-status{margin:0;padding:8px 16px;font-size:12px;line-height:1.6}.json-code-block :is(pre,button):focus-visible{outline:2px solid var(--primary,#2563eb);outline-offset:-2px}@media(max-width:640px){.json-code-block.json-code-block.json-code-block>pre{padding:14px;font-size:12px}.json-code-block .json-code-toolbar{padding:8px 12px}}