.research-card{--research-surface:#181818;--research-border:#ffffff24;--research-muted:#aaa;background:var(--research-surface);border:1px solid var(--research-border);border-radius:20px;padding:24px;margin:12px 0 24px;max-width:760px;color:inherit;font-size:14px;line-height:1.65;overflow:hidden}html[data-theme=light] .research-card{--research-surface:#fff;--research-border:#e5e5e5;--research-muted:#737373}.research-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap;line-height:1.4}.research-heading strong{font-size:17px;font-weight:600}.research-icon{display:flex;flex:none}.research-icon svg{fill:currentColor}.research-muted{color:var(--research-muted);font-size:13px}.research-card p{margin:14px 0}.research-plan{list-style:decimal;padding-left:25px;margin:18px 0}.research-plan li{padding-left:5px;margin:10px 0;overflow-wrap:anywhere}.research-controls{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:20px}.research-controls .research-muted{margin-right:auto}.research-card button{border:0;border-radius:999px;padding:9px 18px;white-space:nowrap;font:inherit;font-weight:500;cursor:pointer}.research-primary{background:#eee;color:#151515}.research-secondary{background:#ffffff0d;color:inherit}html[data-theme=light] .research-primary{background:#171717;color:#fff}html[data-theme=light] .research-secondary{background:#f3f3f3}.research-card button:hover{filter:brightness(.9)}.research-card .research-plan-editor{display:block;box-sizing:border-box;width:100%;resize:vertical;background:transparent;color:inherit;border:1px solid var(--research-border);border-radius:14px;padding:14px;font:inherit;line-height:1.7;outline:0;margin:16px 0}.research-phase{margin-left:auto;font-size:12px;color:var(--research-muted);display:flex;align-items:center;gap:7px}.research-phase.is-running:before{content:"";width:7px;height:7px;flex:none;border-radius:50%;background:currentColor;animation:research-pulse 1.8s ease-in-out infinite}.research-details{border-top:1px solid var(--research-border);padding-top:14px}.research-details summary{cursor:pointer;font-weight:500;list-style:revert}.research-activity{list-style:none;padding:0;margin:16px 0;color:var(--research-muted);max-height:210px;overflow:auto}.research-activity li{border-left:1px solid var(--research-border);padding:4px 14px;margin-left:3px}.research-source-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:260px;overflow:auto}.research-source{display:flex;flex-direction:column;border:1px solid var(--research-border);border-radius:12px;padding:10px 12px;text-decoration:none!important;color:inherit!important;min-width:0}.research-source strong{font-size:13px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.research-source small{color:var(--research-muted);font-size:11px;overflow:hidden;text-overflow:ellipsis}.research-source:hover{background:#8881}.research-activity{color:inherit;max-height:320px;margin:18px 0;display:flex;flex-direction:column;gap:18px}.research-activity li.research-activity-item{border:0;margin:0;padding:0;display:flex;align-items:flex-start;gap:14px}.research-activity-copy{min-width:0;overflow-wrap:anywhere;line-height:1.65}.research-activity-status{box-sizing:border-box;display:block;position:relative;flex:0 0 20px;width:20px;height:20px;margin-top:2px;border:2px solid var(--research-muted);border-radius:50%}.research-activity-status.is-completed{background:currentColor;border-color:currentColor}.research-activity-status.is-completed:after{content:"";position:absolute;left:5px;top:3px;width:5px;height:9px;border:solid var(--research-surface);border-width:0 2px 2px 0;transform:rotate(45deg)}.research-activity-status.is-running{border-color:var(--research-border);border-top-color:currentColor;border-right-color:currentColor;animation:research-spin 1s linear infinite}.research-activity-status.is-pending{border-style:dashed;border-color:var(--research-muted);opacity:.45}@keyframes research-spin{to{transform:rotate(360deg)}}@keyframes research-pulse{50%{opacity:.3}}@media(prefers-reduced-motion:reduce){.research-phase.is-running:before,.research-activity-status.is-running{animation:none}}@media(max-width:600px){.research-card{padding:18px 16px;border-radius:18px;margin:10px 0 20px}.research-source-list{grid-template-columns:1fr}.research-controls{flex-wrap:wrap}.research-controls .research-muted{flex-basis:100%}.research-phase{font-size:11px}.research-heading{gap:8px}}.research-report-message>.message-text{display:none!important}.research-card.research-card-completed{background:none;border:0;padding:0;max-width:100%;overflow:visible}.research-completion-summary{color:var(--research-muted);font-size:14px}.research-report-preview{position:relative;border:1px solid var(--research-border);border-radius:20px;overflow:hidden;background:var(--research-surface)}.research-preview-header{display:flex;align-items:center;gap:10px;padding:16px 18px}.research-preview-header strong{font-size:16px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.research-preview-icon{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:9px;background:#0985ff;color:#fff}.research-preview-icon svg{width:21px;height:21px}.research-preview-actions{margin-left:auto;display:flex;flex:none;gap:4px}.research-card .research-preview-actions .research-panel-button{display:grid!important;place-items:center;width:36px;height:36px;margin:0;padding:8px!important;background:transparent;border-radius:50%!important;color:var(--research-muted)!important}.research-preview-actions .research-report-open-button>svg{margin:0;width:20px;height:20px}.research-preview-content{max-height:380px;overflow:hidden;position:relative;padding:24px 32px 54px;font-size:16px;line-height:1.8;overflow-wrap:anywhere;mask-image:linear-gradient(#000 0%,#000 70%,transparent 100%)}.research-preview-content h1{font-size:28px}.research-preview-content h2{font-size:24px}.research-preview-content :is(pre,table){max-width:100%;overflow:hidden}.research-card .research-preview-export{position:absolute;top:58px;right:14px;z-index:8;margin:0;max-width:calc(100% - 28px)}.research-completion-caption{font-size:15px}.research-preview-content .message-code-header{position:static}.research-preview-content .message-code-header button{display:none}@media(max-width:600px){.research-preview-header{padding:12px;gap:8px}.research-preview-header strong{font-size:14px}.research-preview-content{padding:18px 18px 48px;max-height:340px;font-size:15px}.research-preview-content h1{font-size:24px}.research-preview-content h2{font-size:21px}.research-completion-summary{font-size:12px}.research-preview-icon{width:28px;height:28px}.research-preview-actions{gap:0}.research-card .research-preview-actions .research-panel-button{width:32px;height:32px}}.research-report-open-button{display:flex!important;align-items:center;gap:10px;margin-top:18px;width:100%;text-align:left;background:#8881;color:inherit!important;border-radius:14px!important;padding:15px 18px!important}.research-report-open-button>svg{width:22px;height:22px;flex:none;margin-left:auto;pointer-events:none}.research-report-panel{position:fixed;z-index:65;inset:0 0 0 auto;display:flex;flex-direction:column;width:var(--research-report-width,65vw);background:#101010;color:#e5e5e5;border-left:1px solid #ffffff24;min-width:0}.research-report-panel[hidden]{display:none!important}body.research-report-open #main{margin-right:var(--research-report-width,65vw)}.research-report-toolbar{flex:none;display:flex;align-items:center;gap:12px;min-height:58px;padding:8px 12px;border-bottom:1px solid #ffffff24}.research-report-brand{display:flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid #ffffff1a;border-radius:999px;font-size:14px;white-space:nowrap}.research-report-brand svg{fill:currentColor;color:var(--accent-color,#3b82f6);width:20px;height:20px}.research-report-actions{display:flex;align-items:center;gap:4px;margin-left:auto}.research-panel-button{display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:50%;background:transparent;color:inherit;flex:none}.research-panel-button:hover,.research-panel-button[aria-pressed=true]{background:#8882}.research-panel-button svg{width:20px;height:20px}.research-report-body{flex:1;min-height:0;display:flex;position:relative}.research-report-scroll{flex:1;min-width:0;overflow:auto;overscroll-behavior:contain;padding:60px 56px 80px;outline:0;scroll-behavior:smooth}.research-report-article{max-width:760px;margin:0 auto;font-size:16px;line-height:1.8;overflow-wrap:anywhere}.research-report-article h1{font-size:28px}.research-report-article h2{font-size:24px}.research-report-article h3{font-size:20px}.research-report-article :is(h1,h2,h3){scroll-margin-top:24px}.research-report-article table{width:100%}.research-report-article pre{max-width:100%;overflow:auto}.research-report-outline{flex:none;width:210px;padding:24px 14px;overflow:auto;border-right:1px solid #ffffff1a}.research-report-outline button{display:block;width:100%;padding:9px 8px;border:0;border-radius:8px;background:transparent;color:inherit;text-align:left;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.research-report-outline button[data-level=H3]{padding-left:20px;color:#999}.research-report-outline button:hover{background:#8882}.research-report-resizer{position:absolute;z-index:2;inset:0 auto 0 -5px;width:10px;cursor:col-resize;touch-action:none}.research-report-resizer:after{content:"";position:absolute;top:50%;left:4px;width:3px;height:36px;border-radius:3px;background:gray}.research-report-resizer:hover:after{background:var(--accent-color,#3b82f6)}body.research-report-resizing{cursor:col-resize;user-select:none}.research-report-panel.is-expanded{width:100vw}.research-report-panel.is-expanded .research-report-resizer{display:none}html[data-theme=light] .research-report-panel{background:#fff;color:#171717;border-color:#e5e5e5}html[data-theme=light] :is(.research-report-toolbar,.research-report-brand,.research-report-outline){border-color:#e5e5e5}@media(max-width:1000px){body.research-report-open #main{margin-right:0}.research-report-panel{width:100%;height:100dvh;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);border:0}.research-report-resizer{display:none}.research-report-scroll{padding:28px 22px 60px}.research-report-toolbar{gap:4px;padding-inline:8px}.research-report-brand{font-size:13px;padding:8px}.research-report-actions{gap:0}.research-panel-button{width:32px;height:32px}.research-report-outline{position:absolute;z-index:3;inset:0 auto 0 0;width:min(260px,80vw);background:#171717;box-shadow:10px 0 25px #0002}html[data-theme=light] .research-report-outline{background:#fff}.research-report-article{font-size:15px}.research-report-article h1{font-size:25px}.research-report-article h2{font-size:21px}}.research-report-navigation{position:absolute;z-index:4;top:60px;bottom:32px;left:10px;width:32px;pointer-events:none}.research-report-rail{pointer-events:auto;display:flex;flex-direction:column;gap:4px;max-height:100%;overflow:auto;scrollbar-width:none}.research-section-shortcut{display:flex;align-items:center;justify-content:flex-start;width:32px;min-height:16px;flex:none;padding:5px 0;border:0;background:none;color:inherit}.research-section-shortcut span{display:block;width:20px;height:3px;border-radius:3px;background:currentColor;opacity:.14}.research-section-shortcut[data-level=H3] span{width:14px}.research-section-shortcut.is-active span{width:28px;opacity:1}.research-section-shortcut:hover span,.research-section-shortcut:focus-visible span{opacity:.7}.research-report-navigation .research-report-outline{pointer-events:auto;position:absolute;z-index:5;inset:-12px auto auto -3px;width:260px;max-width:calc(100vw - 40px);max-height:calc(100% + 12px);overflow:auto;padding:20px 16px;background:#181818;border:1px solid #ffffff24;border-radius:18px;box-shadow:0 6px 20px #0003}.research-outline-title{margin:0 8px 10px;font-size:12px;color:#999}.research-report-outline button{color:#999;padding:8px;font-size:14px;font-weight:400}.research-report-outline button.is-active{color:inherit;font-weight:600}.research-report-outline button[data-level=H3]{padding-left:22px}.research-report-outline button.is-active[data-level=H3]{color:inherit}html[data-theme=light] .research-report-navigation .research-report-outline{background:#fff;border-color:#e5e5e5;box-shadow:0 4px 14px #0001}@media(max-width:1000px){.research-report-navigation{top:28px;left:8px;width:24px}.research-section-shortcut{width:24px}.research-section-shortcut span{width:14px}.research-section-shortcut[data-level=H3] span{width:10px}.research-section-shortcut.is-active span{width:22px}.research-report-scroll{padding-left:42px}.research-report-navigation .research-report-outline{inset:-10px auto auto 0;width:250px;max-height:calc(100% + 10px)}}.research-outline-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.research-outline-header .research-outline-title{margin:0 8px}.research-outline-header .research-panel-button{display:none}.research-sheet-backdrop{position:absolute;z-index:6;inset:0;background:#0006;border:0;padding:0}.research-sources-sheet{position:absolute;z-index:7;top:70px;right:14px;bottom:24px;display:flex;flex-direction:column;width:min(380px,calc(100% - 28px));background:#181818;border:1px solid #ffffff24;border-radius:20px;box-shadow:0 8px 30px #0003;overflow:hidden}.research-sheet-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;flex:none}.research-sheet-tabs{display:flex;align-items:center;gap:6px}.research-sheet-tabs button{padding:10px 16px;border:0;border-radius:999px;background:none;color:#999;font-size:14px}.research-sheet-tabs button[aria-selected=true]{background:#8882;color:inherit;font-weight:600}.research-sheet-content{padding:8px 20px 24px;overflow:auto;min-height:0}.research-sheet-source{display:flex;flex-direction:column;gap:6px;text-decoration:none;color:inherit;border-bottom:1px solid #8883;padding:14px 0}.research-sheet-source strong{font-size:14px;font-weight:500}.research-sheet-source small{font-size:12px;color:#999}.research-sheet-activity{list-style:none;margin:12px 0;padding:0}.research-sheet-activity li{position:relative;border-left:1px solid #8883;padding:0 0 24px 18px;margin-left:4px;font-size:14px;line-height:1.7}.research-sheet-activity li:before{content:"";position:absolute;top:7px;left:-4px;width:7px;height:7px;border-radius:50%;background:currentColor}.research-sheet-activity li:last-child{border-left-color:transparent}@media(max-width:1000px){.research-report-toolbar>.research-panel-close{position:fixed;z-index:5;top:calc(12px + env(safe-area-inset-top));right:12px;width:36px;height:36px;background:#181818;border:1px solid #ffffff24}.research-report-toolbar>.research-panel-close{bottom:auto}html[data-theme=light] .research-report-toolbar>.research-panel-close{background:#fff;border-color:#ddd}}html[data-theme=light] .research-sources-sheet{background:#fff;border-color:#ddd;box-shadow:0 6px 24px #0001}@media(max-width:1000px){.research-report-toolbar{border:0;min-height:48px}.research-report-brand,.research-desktop-action,.research-report-rail{display:none!important}.research-report-actions{position:fixed;z-index:5;left:50%;bottom:calc(16px + env(safe-area-inset-bottom));transform:translate(-50%);display:flex;gap:4px;padding:6px;border:1px solid #ffffff24;border-radius:999px;background:#181818;box-shadow:0 6px 24px #0003}.research-report-actions>.research-panel-button{width:40px;height:40px}.research-report-actions svg{width:22px;height:22px}.research-report-actions .research-panel-close{position:fixed;right:calc(18px - 50vw);bottom:calc(100dvh - 62px - env(safe-area-inset-top) - env(safe-area-inset-bottom));background:#181818;border:1px solid #ffffff24;border-radius:50%;width:36px;height:36px}.research-report-scroll{padding:14px 16px 120px}.research-report-navigation{inset:0;pointer-events:none;width:auto;height:auto;z-index:7}.research-report-navigation .research-report-outline{position:absolute;inset:auto 0 0;width:100%;max-width:none;max-height:70dvh;box-sizing:border-box;box-shadow:0 -8px 30px #0003;border-radius:24px 24px 0 0;padding:22px 18px calc(22px + env(safe-area-inset-bottom));z-index:7}.research-report-outline button{font-size:16px;padding:12px 8px}.research-outline-header{margin:0 0 18px}.research-outline-header .research-outline-title{font-size:17px;font-weight:600;color:inherit}.research-outline-header .research-panel-button{display:grid;flex:none;width:36px;height:36px;padding:0;border:1px solid #8884}.research-sources-sheet{inset:auto 0 0;width:100%;max-height:70dvh;border-radius:24px 24px 0 0;box-sizing:border-box;padding-bottom:env(safe-area-inset-bottom)}.research-sheet-header{padding:18px}.research-sheet-content{padding-bottom:30px}.research-sheet-tabs button{font-size:16px}.research-sheet-activity li{font-size:15px}html[data-theme=light] .research-report-actions,html[data-theme=light] .research-report-actions .research-panel-close{background:#fff;border-color:#ddd}}.research-start-countdown{position:relative;display:inline-grid;place-items:center;width:30px;height:30px;flex:none;font-size:14px;line-height:1;font-variant-numeric:tabular-nums}.research-start-countdown svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg);fill:none;stroke:currentColor;stroke-width:2}.countdown-track{opacity:.15}.countdown-progress{stroke-dasharray:94.248;stroke-dashoffset:calc(94.248 * (1 - var(--countdown-progress,1)));stroke-linecap:round}.research-primary:has(.research-start-countdown){display:inline-flex;align-items:center;justify-content:center;gap:12px}.research-export-menu{position:absolute;z-index:9;top:58px;right:104px;min-width:200px;padding:6px;background:#181818;border:1px solid #8884;border-radius:14px;box-shadow:0 6px 24px #0003}.research-export-menu button{display:block;width:100%;padding:12px 14px;border:0;background:none;border-radius:8px;color:inherit;font-size:14px;text-align:left}.research-export-menu button:hover,.research-export-menu button:focus-visible{background:#8882}html[data-theme=light] .research-export-menu{background:#fff}@media(max-width:1000px){.research-export-menu{position:fixed;top:auto;right:auto;left:50%;bottom:calc(80px + env(safe-area-inset-bottom));transform:translate(-50%)}}#attach-menu .attach-tool-icon use{fill:unset}.research-card .research-preview-export{left:auto;bottom:auto;transform:none}
