[data-page=research]{--topic-blue:#2878d0;--topic-violet:#7560d5;--topic-teal:#138d80;--topic-amber:#b57717;--topic-surface:var(--surface,#fff);--topic-line:var(--border,#e1e5ee);padding:24px 28px 40px;max-width:1800px;margin:auto;color:var(--text,#202633)}.topic-page-head{margin-bottom:24px}.topic-page-head h1{font-size:30px;letter-spacing:-1px;margin:6px 0}.topic-subtitle{color:var(--muted,#647085);margin:0}.topic-shell{display:grid;grid-template-columns:236px minmax(0,1fr);gap:24px;align-items:start}.topic-rail{background:var(--topic-surface);border:1px solid var(--topic-line);border-radius:16px;padding:16px;position:sticky;top:76px}.topic-rail-head h2{font-size:14px;margin:0 0 12px}.topic-rail-head button{width:100%;margin-bottom:18px}.topic-list{display:grid;gap:8px;max-height:65vh;overflow:auto}.topic-choice{display:flex!important;flex-direction:column;align-items:flex-start!important;gap:7px;padding:14px!important;text-align:left!important;background:transparent!important;color:inherit!important;border:1px solid transparent!important;border-radius:12px!important;white-space:normal!important;overflow-wrap:anywhere}.topic-choice[aria-pressed=true]{background:#efecfc!important;border-color:#d4cbf5!important}.topic-choice strong{font-size:14px}.topic-choice small{font-size:11px;color:var(--muted,#637083)}.topic-kind{font-size:10px;font-weight:700;letter-spacing:1px;color:var(--topic-violet,#7560d5)}.topic-main{min-width:0}.topic-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px}.topic-toolbar h2{font-size:25px;letter-spacing:-.6px;margin:6px 0}.topic-toolbar p{font-size:13px;margin:0;max-width:620px;color:var(--muted,#647085);overflow-wrap:anywhere}.topic-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.topic-actions button{white-space:nowrap}.topic-primary{background:#6654cc!important;color:#fff!important;border:1px solid #6654cc!important;border-radius:9px!important;min-height:38px;padding:9px 15px!important;font-weight:600!important}.topic-status{font-size:12px;color:var(--muted,#637083);min-height:20px;margin:14px 0}.topic-tabs{display:flex;gap:22px;border-bottom:1px solid var(--topic-line);margin-bottom:22px;overflow-x:auto}.topic-tabs button{position:relative;background:transparent!important;color:var(--muted,#647085)!important;border:0!important;border-radius:0!important;padding:12px 2px!important;white-space:nowrap;font-size:13px}.topic-tabs button[aria-selected=true]{color:var(--topic-violet)!important;font-weight:700}.topic-tabs button[aria-selected=true]:after{content:'';position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--topic-violet);border-radius:3px}.topic-panel[hidden]{display:none!important}.topic-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.topic-kpi{border:1px solid var(--topic-line);border-radius:13px;padding:18px;background:var(--topic-surface);border-top:3px solid currentColor}.topic-kpi span{font-size:12px;display:block;color:var(--muted,#647085);margin-bottom:10px}.topic-kpi strong{font-size:30px;letter-spacing:-1px;font-variant-numeric:tabular-nums}.topic-kpi.blue,.topic-claim.blue{color:var(--topic-blue)}.topic-kpi.violet,.topic-claim.violet{color:var(--topic-violet)}.topic-kpi.teal,.topic-claim.teal{color:var(--topic-teal)}.topic-kpi.amber,.topic-claim.amber{color:var(--topic-amber)}.topic-summary{padding:24px;border:1px solid #d8d0f6;border-radius:14px;background:linear-gradient(115deg,#f1edfc,#f1f8fc);margin-bottom:18px}.topic-summary h3{font-size:19px;line-height:1.55;margin:10px 0 0;font-weight:600}.topic-chart-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:18px;margin-bottom:18px}.topic-card,.topic-finding,.topic-citation{background:var(--topic-surface);border:1px solid var(--topic-line);border-radius:14px;padding:22px;margin-bottom:14px;min-width:0}.topic-card h3{font-size:15px;margin:0 0 18px}.topic-source-chart{height:175px;width:100%}.topic-source-legend{display:grid;gap:8px}.topic-source-legend>div{display:flex;gap:8px;align-items:center;font-size:12px}.topic-source-legend>div:before{content:'';width:9px;height:9px;border-radius:3px;background:var(--swatch)}.topic-source-legend strong{margin-left:auto}.topic-coverage{display:flex;justify-content:space-between;gap:10px;font-size:13px;margin:22px 0 10px}.topic-meter{height:8px;background:#eaeef5;border-radius:10px;overflow:hidden}.topic-meter span{display:block;height:100%;background:linear-gradient(90deg,#218dca,#21b9a1);border-radius:10px}.topic-card .hint{font-size:12px;line-height:1.7;margin-top:22px}.topic-finding h3{font-size:19px;margin:10px 0 20px}.topic-index{font-size:12px;font-weight:700;color:var(--topic-violet)}.topic-claim{border-left:3px solid;padding-left:14px;margin:16px 0}.topic-claim>span{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.5px}.topic-claim p{color:var(--text,#202633);font-size:14px;line-height:1.7;margin:5px 0}.topic-citation blockquote{font-size:15px;line-height:1.8;margin:12px 0;border:0;padding:0}.topic-citation small{display:block;color:var(--muted,#647085);margin-bottom:14px}.topic-citation.counter{border-left:3px solid #db9a3e}.topic-citation h3{font-size:13px;margin:0 0 14px}.topic-history-row{display:flex;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid var(--border,#e1e5ee);align-items:center}.topic-history-row>div,.topic-history-row>span{min-width:0;overflow-wrap:anywhere}.topic-history-row h3{font-size:14px;margin:0 0 8px}.topic-history-row small{color:var(--muted,#647085)}.topic-history-row button{flex-shrink:0}.topic-empty{text-align:center;padding:60px 20px;color:var(--muted,#647085)}.topic-empty h3{color:var(--text,#202633);font-size:21px}.topic-empty-icon{font-size:48px;color:#8472dc}.topic-dialog{border:1px solid var(--border,#e1e5ee);border-radius:20px;background:var(--surface,#fff);color:var(--text,#202633);padding:26px;width:min(720px,calc(100vw - 40px));max-height:85dvh;box-sizing:border-box;box-shadow:0 24px 100px #131b4140}.topic-dialog::backdrop{background:#10152c60;backdrop-filter:blur(4px)}.topic-dialog-head{display:flex;gap:20px;justify-content:space-between;align-items:center;margin-bottom:20px}.topic-dialog-head h2{font-size:20px;margin:0}.topic-form{display:grid;gap:18px}.topic-form label{display:grid;gap:8px;font-size:13px;font-weight:600}.topic-form textarea,.topic-form input,.topic-form select{width:100%;box-sizing:border-box;border-radius:8px;padding:11px;border:1px solid var(--border,#dce1ec);background:var(--surface,#fff);color:inherit;font:inherit}.topic-form textarea{min-height:92px;resize:vertical}.topic-dialog [role=status]{color:#b33d49;font-size:13px}.topic-dialog .topic-actions{margin-bottom:16px}.topic-dialog .topic-actions button[aria-pressed=true]{background:#ece8fa;color:#5e47b5}#main [data-page=research] button:focus-visible,.topic-dialog button:focus-visible{outline:3px solid #4a9bd8;outline-offset:3px}
:root[data-theme=dark] [data-page=research]{--topic-blue:#71b4f1;--topic-violet:#b2a1ff;--topic-teal:#57d2bd;--topic-amber:#edbd67;--topic-surface:#171c29;--topic-line:#303749}:root[data-theme=dark] .topic-choice[aria-pressed=true]{background:#302947!important;border-color:#65538f!important}:root[data-theme=dark] .topic-summary{background:linear-gradient(115deg,#28213c,#182d38);border-color:#4b4165}:root[data-theme=dark] .topic-meter{background:#303749}:root[data-theme=dark] .topic-dialog{background:#171c29;color:#e7ebf5}:root[data-theme=dark] .topic-claim p{color:#e7ebf5}:root[data-theme=dark] .topic-dialog input,:root[data-theme=dark] .topic-dialog textarea,:root[data-theme=dark] .topic-dialog select{background:#202737;border-color:#414b62}:root[data-theme=dark] .topic-dialog .topic-kind{color:#b2a1ff}
@media(max-width:1200px){.topic-shell{grid-template-columns:200px minmax(0,1fr);gap:18px}.topic-toolbar{align-items:flex-start;flex-direction:column}.topic-kpi{padding:14px}.topic-kpi strong{font-size:25px}}@media(max-width:850px){[data-page=research]{padding:20px 16px}.topic-shell{grid-template-columns:1fr}.topic-rail{position:static;padding:14px}.topic-rail-head{display:flex;align-items:center;justify-content:space-between}.topic-rail-head button{width:auto;margin:0}.topic-list{display:flex;overflow-x:auto;max-height:180px;margin-top:10px}.topic-choice{min-width:180px;max-width:240px}.topic-chart-grid{grid-template-columns:1fr 1fr}}@media(max-width:560px){.topic-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.topic-chart-grid{grid-template-columns:1fr}.topic-tabs{gap:18px}.topic-history-row{align-items:flex-start;flex-direction:column}.topic-page-head h1{font-size:26px}.topic-summary,.topic-card,.topic-finding{padding:18px}.topic-dialog{padding:20px}.topic-toolbar h2{font-size:23px}.topic-actions{gap:6px}}
@media(prefers-reduced-motion:no-preference){.topic-panel:not([hidden]){animation:topic-appear .2s ease-out}@keyframes topic-appear{from{opacity:.4;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}}
.topic-compare-heading h3{font-size:20px;margin:0 0 8px}.topic-compare-heading p{font-size:13px;line-height:1.65;margin:0 0 20px}.topic-compare-choices{min-width:0;margin:0 0 16px;padding:12px;border:1px solid var(--topic-line);border-radius:14px;max-height:280px;overflow:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;background:var(--topic-surface)}.topic-compare-choices legend{font-size:12px;color:var(--muted);padding:0 6px}.topic-compare-choice{display:flex;align-items:flex-start;gap:10px;border:1px solid transparent;border-radius:9px;padding:12px;cursor:pointer;min-width:0}.topic-compare-choice:has(input:checked){background:color-mix(in srgb,var(--topic-violet) 10%,transparent);border-color:color-mix(in srgb,var(--topic-violet) 40%,transparent)}.topic-compare-choice:has(input:disabled:not(:checked)){opacity:.6;cursor:default}.topic-compare-choice input{width:17px!important;height:17px;min-height:0;margin:2px 0 0;accent-color:var(--topic-violet);flex-shrink:0}.topic-compare-choice span{min-width:0}.topic-compare-choice strong{display:block;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.topic-compare-choice small{display:block;margin-top:5px;font-size:11px;color:var(--muted)}.topic-compare-notes{padding:14px 18px;margin:6px 0 20px;background:var(--topic-surface);border:1px solid var(--topic-line);border-left:3px solid var(--topic-blue);border-radius:10px;font-size:12px;line-height:1.7}.topic-compare-notes p{margin:4px 0}.topic-compare-warning{color:var(--topic-amber);font-weight:600}.topic-compare-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.topic-compare-stat{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--topic-line);font-size:13px}.topic-compare-stat strong{font-size:21px;font-variant-numeric:tabular-nums}.topic-compare-stat.added strong{color:var(--topic-blue)}.topic-compare-stat.shared strong{color:var(--topic-teal)}.topic-compare-stat.absent strong{color:var(--topic-amber)}.topic-compare-table{overflow-x:auto;border:1px solid var(--topic-line);border-radius:14px;background:var(--topic-surface);margin:6px 0 26px}.topic-compare-table table{width:100%;border-collapse:collapse;font-size:12px}.topic-compare-table caption{text-align:left;padding:16px;font-size:12px;font-weight:600;color:var(--muted);min-width:620px}.topic-compare-table th,.topic-compare-table td{text-align:left;padding:14px;vertical-align:top;border-bottom:1px solid var(--topic-line)}.topic-compare-table th{color:var(--muted);font-weight:600}.topic-compare-table th:nth-child(n+3){min-width:84px}.topic-compare-table td:first-child{min-width:110px;font-variant-numeric:tabular-nums}.topic-compare-table td:nth-child(2){min-width:230px;overflow-wrap:anywhere}.topic-compare-table td:nth-child(n+3){font-weight:700;font-variant-numeric:tabular-nums;color:var(--topic-violet)}.topic-compare-table tr:last-child td{border-bottom:0}.topic-compare-table small{display:block;margin-top:7px;line-height:1.65;color:var(--muted)}.topic-compare-evidence>.topic-actions{justify-content:space-between;gap:12px}.topic-compare-evidence h3{font-size:16px;margin:0}.topic-compare-evidence select{width:auto;max-width:100%;background:var(--topic-surface);color:inherit;border:1px solid var(--topic-line);border-radius:8px;padding:9px;font:inherit;font-size:12px}.topic-compare-evidence .hint{font-size:12px;line-height:1.6}.topic-comparison-output blockquote{overflow-wrap:anywhere}.topic-compare-evidence>button[hidden]{display:none!important}.topic-panel .topic-primary:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:700px){.topic-compare-choices,.topic-compare-grid{grid-template-columns:1fr}.topic-compare-table{max-width:100%}.topic-compare-evidence>.topic-actions{align-items:flex-start;flex-direction:column}.topic-compare-evidence select{width:100%}}
@media(max-width:560px){.topic-tabs{flex-wrap:wrap;gap:0 18px;overflow:visible}}
.topic-rail{min-width:0}.topic-watch-form label{margin:0}.topic-watch .hint{margin:12px 0}.topic-watch-form .topic-watch-sources{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}.topic-watch-source>span{min-width:0;overflow-wrap:anywhere}@media(max-width:850px){.topic-shell{grid-template-columns:minmax(0,1fr)}}
.topic-follow-heading{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}.topic-follow-heading h3{margin:0}.topic-follow-state{border-radius:20px;padding:6px 10px;background:color-mix(in srgb,var(--topic-amber) 12%,transparent);color:var(--topic-amber);font-size:12px}.topic-follow-state.on{color:var(--topic-teal);background:color-mix(in srgb,var(--topic-teal) 12%,transparent)}.topic-follow-query{font-size:20px;font-weight:600;overflow-wrap:anywhere}.topic-follow-event{border-top:1px solid var(--topic-line);padding:16px 0}.topic-follow-event.unread{border-left:3px solid var(--topic-violet);padding-left:12px}.topic-follow-event strong,.topic-follow-event small{display:block;font-size:12px;line-height:1.7}.topic-follow-event small{color:var(--muted)}.topic-follow-event .topic-actions{margin-top:8px}.topic-follow-event button{white-space:normal;text-align:left;overflow-wrap:anywhere;max-width:100%}.topic-follow-email{display:flex;align-items:center;gap:10px}.topic-follow-email input{width:18px;height:18px;flex-shrink:0}.topic-follow-dialog p{line-height:1.7}.topic-follow-dialog .hint{font-size:12px;color:var(--muted)}
.topic-watch-form{padding:20px;border:1px solid var(--topic-line);border-radius:14px;background:var(--topic-surface);margin-bottom:22px}.topic-watch-form fieldset{border:0;padding:0;margin:0;min-width:0}.topic-watch-form legend{font-weight:600;margin-bottom:16px;font-size:14px}.topic-watch-form label{display:grid;gap:8px;font-size:12px;min-width:0}.topic-watch-form input,.topic-watch-form select{width:100%;background:var(--topic-surface);color:inherit;min-width:0}.topic-watch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:20px 0}.topic-watch-form .topic-watch-sources{margin-top:20px;display:flex;gap:10px;flex-wrap:wrap}.topic-watch-form .topic-watch-source{display:flex;align-items:flex-start;gap:9px;border:1px solid var(--topic-line);border-radius:10px;padding:12px;flex:1 1 160px}.topic-watch-source:has(input:checked){border-color:var(--topic-violet);background:color-mix(in srgb,var(--topic-violet) 7%,transparent)}.topic-watch-source input{width:16px!important;height:16px;min-height:0;flex-shrink:0;margin-top:3px;accent-color:var(--topic-violet)}.topic-watch-source strong,.topic-watch-source small{display:block}.topic-watch-source small{font-size:11px;margin-top:7px;color:var(--muted);line-height:1.6}.topic-watch .topic-actions{margin-top:18px;flex-wrap:wrap}.topic-watch .hint{font-size:12px;line-height:1.7}.topic-watch-preview:empty{display:none}@media(max-width:700px){.topic-watch-grid{grid-template-columns:1fr}.topic-watch-form{padding:16px}.topic-watch-form .topic-watch-source{flex-basis:120px}}
.topic-synthesis-dialog{--topic-blue:#2878d0;--topic-violet:#7560d5;--topic-teal:#138d80;--topic-amber:#b57717;--topic-line:var(--border);--topic-surface:var(--surface);width:min(900px,calc(100vw - 32px))}.topic-synthesis-dialog [hidden]{display:none!important}.topic-synthesis-question{font-size:20px;font-weight:600;line-height:1.5}.topic-synthesis-cost{padding:14px 16px;border-left:3px solid var(--topic-violet);border-radius:8px;background:color-mix(in srgb,var(--topic-violet) 8%,transparent);font-size:14px;line-height:1.65}.topic-synthesis-dialog .hint{font-size:12px;line-height:1.65}.topic-synthesis-result>h3{font-size:20px;line-height:1.6}.topic-synthesis-dialog [role=status]{color:var(--muted);line-height:1.65}.topic-synthesis-dialog .topic-actions{margin-top:18px}.topic-synthesis-dialog .processing-studio{margin:18px 0}:root[data-theme=dark] .topic-synthesis-dialog{--topic-blue:#71b4f1;--topic-violet:#b2a1ff;--topic-teal:#57d2bd;--topic-amber:#edbd67;--topic-surface:#171c29;--topic-line:#303749}
.topic-follow-filters{padding:12px 0 18px;border-bottom:1px solid var(--topic-line)}.topic-follow-filters label{display:flex;align-items:center;gap:10px;font-size:12px;flex-wrap:wrap}.topic-follow-filters select{width:auto;max-width:100%;font:inherit;padding:9px 12px;border:1px solid var(--topic-line);border-radius:8px;background:var(--topic-surface);color:inherit}.topic-follow-filters .hint,.topic-follow-pager .hint{margin:0}.topic-follow-pager{justify-content:center;padding-top:16px;border-top:1px solid var(--topic-line)}.topic-follow-pager button:disabled{opacity:.45;cursor:default}.topic-follow-error{padding:12px;border:1px solid var(--topic-amber);border-radius:8px}
