.content:has(.research-page){max-width:none;width:100%;box-sizing:border-box}.research-page{width:100%;max-width:none;min-width:0;margin:0;box-sizing:border-box}.research-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:20px;align-items:start}.research-controls,.research-main{border:1px solid #dce4ee;border-radius:16px;background:#fff;padding:22px;min-width:0}.research-controls h2{font-size:16px;margin:0 0 15px}.research-controls form{display:grid;gap:14px;margin:15px 0}.research-controls label{display:grid;gap:6px;font-size:13px;color:#46566c}.research-controls input,.research-controls select,.research-filters select{width:100%;min-width:0;padding:9px;border:1px solid #cbd5e1;border-radius:8px;background:white;color:#24334a}.research-controls .research-checkbox{display:flex;align-items:center;gap:8px}.research-checkbox input{width:16px;height:16px;margin:0}.research-note,.research-citation,.research-verification{font-size:12px;color:#64748b;line-height:1.7}.research-history{display:grid;gap:8px;max-height:440px;overflow:auto}.research-history button{display:grid;text-align:left;gap:6px;white-space:normal}.research-history .selected{border-color:#3b82f6;background:#eff6ff}.research-history small{font-size:11px;font-weight:400}.research-tabs{display:flex;gap:10px;margin-bottom:20px;flex-wrap:wrap}.research-report-heading h2{font-size:22px;margin:0 0 8px}.research-report-heading p{color:#64748b;font-size:13px;line-height:1.7}.research-report-heading .research-error{color:#b45309}.research-stats{display:flex;gap:15px;flex-wrap:wrap;border-radius:12px;background:#f0f6ff;padding:16px;margin:18px 0}.research-stats span{font-size:13px;color:#475569}.research-stats strong{font-size:22px;color:#2563eb;margin-left:7px}.research-filters{display:flex;gap:12px;margin:20px 0 8px;flex-wrap:wrap}.research-filters label{display:grid;gap:6px;font-size:12px;flex:1;min-width:140px}.research-record{border:1px solid #e2e8f0;border-radius:12px;padding:18px;margin-bottom:14px;overflow-wrap:anywhere}.research-record h3{font-size:16px;line-height:1.55;margin:10px 0}.research-record-meta,.research-tags,.research-record-links{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:11px;color:#64748b}.research-pill,.research-tags span{padding:3px 8px;background:#eff6ff;border-radius:6px;color:#2563eb}.research-pill.home{background:#eafaf2;color:#15803d}.research-tags .measure{background:#f3eefe;color:#7c3aed}.research-record details,.research-controls details,.research-source-status details,.research-limits{font-size:12px;line-height:1.8;margin:12px 0}.research-page summary{cursor:pointer;color:#405471}.research-abstract{white-space:pre-wrap;line-height:1.85;color:#334155}.research-source-status{padding:6px 14px;border:1px solid #e2e8f0;border-radius:10px;font-size:12px;overflow-wrap:anywhere}.research-record-links{margin-top:14px}.research-record-links a{color:#2563eb}.research-empty{padding:35px 18px;text-align:center;background:#f8fafc;border-radius:12px;color:#64748b;font-size:14px;line-height:1.8}.research-main>button{margin:10px 8px 0 0}@media(max-width:900px){.research-layout{grid-template-columns:1fr}.research-controls{padding:16px}.research-history{max-height:180px}.research-main{padding:15px}.research-record{padding:14px}.research-filters label{min-width:120px}}

.research-summary{background:#f8fafc;border-left:3px solid #3b82f6;border-radius:8px;padding:14px 18px;margin:18px 0;color:#475569;line-height:1.8;font-size:13px}.research-summary h3{margin:0 0 8px;font-size:15px}.research-summary small{color:#64748b}

.research-page button{font:inherit;cursor:pointer;border-radius:8px;border:1px solid #cbd5e1;padding:9px 13px;line-height:1.5}.research-page button:not(.secondary){background:#2563eb;color:#fff;border-color:#2563eb}.research-page button:disabled{cursor:wait;opacity:.6}.research-page input:focus,.research-page select:focus{outline:2px solid #93c5fd;outline-offset:1px}

.research-market-notice{border:1px solid #e4d5a8;background:#fffbeb;border-radius:8px;padding:10px 14px;margin:10px 0;color:#785d24;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.research-market-notice p{margin:4px 0}

/* Research monitoring workspace: task rail, evidence and baseline share full width. */
.rw-page{--rw-blue:#275ea4;--rw-line:#dfe7f0;color:#26364c}
.rw-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 14px;flex-wrap:wrap}
.rw-heading h1{margin:3px 0;font-size:24px}.rw-heading p{margin:0;color:#748299;font-size:12px}
.rw-eyebrow{font-size:11px;color:#6584aa;letter-spacing:.08em}.rw-heading>div:last-child{display:flex;gap:6px;flex-wrap:wrap}
.rw-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:14px;align-items:start}
.rw-rail,.rw-main{min-width:0;background:white;border:1px solid var(--rw-line);border-radius:10px;padding:14px}
.rw-rail{position:sticky;top:12px;max-height:calc(100dvh - 100px);overflow:auto}.rw-rail h2{margin:0 0 12px;font-size:14px}.rw-rail h2 small{color:#8b9bb0}
.rw-page .rw-task-list{display:grid;gap:7px}.rw-page .rw-task-list button{display:grid;text-align:left;gap:5px;background:#f8fafc;color:#34485f;border-color:#e3eaf3;padding:10px;font-size:12px;white-space:normal;overflow-wrap:anywhere}
.rw-page .rw-task-list button.selected{background:#eef5ff;border-color:#9cbee8;color:#1d559a}.rw-task-list span,.rw-task-list small{font-size:10px;color:#7890aa}
.rw-task-actions{display:grid;gap:6px;margin:14px 0 9px}.rw-page .rw-task-actions button{font-size:12px;padding:7px 9px}
.rw-history{border-top:1px solid var(--rw-line);padding-top:12px;font-size:12px}.rw-history summary{margin-bottom:8px}
.rw-main{padding:16px 18px}.rw-task-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;flex-wrap:wrap}.rw-task-heading h2{font-size:19px;margin:0 0 5px}.rw-task-heading p{font-size:11px;color:#7a8ba2;margin:0}.rw-task-heading>div:last-child{display:flex;gap:5px;flex-wrap:wrap}
.rw-link-button{display:inline-flex;padding:6px 9px;border:1px solid #cbd9e9;border-radius:6px;color:#356ba8;text-decoration:none;font-size:11px}
.rw-brief,.rw-sources,.rw-metrics-wrap,.rw-review{margin:10px 0;padding:8px 10px;background:#f9fbfe;border:1px solid #e6edf6;border-radius:7px;font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.rw-brief p,.rw-sources p,.rw-digest p{margin:5px 0;font-size:11px;color:#74849a}.rw-pre{white-space:pre-wrap}.rw-sources article{border-bottom:1px solid #e4ebf4;padding:8px 0}.rw-sources article:last-of-type{border:0}
.rw-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}.rw-page .rw-tabs button{padding:6px 12px;font-size:12px}.rw-page .rw-tabs button[aria-pressed=true]{color:#1d5ba8;background:#edf4ff;border-color:#9dbde8}
.rw-content-tabs{display:flex;gap:4px;margin:14px 0 10px;border-bottom:1px solid #dce5ef;flex-wrap:wrap}.rw-content-tabs button{background:transparent;color:#65758b;border:0;border-bottom:3px solid transparent;border-radius:0;padding:9px 18px;font-size:14px}.rw-content-tabs button[aria-selected=true]{color:#1d5ba8;border-bottom-color:#397bd0;font-weight:650}.rw-type-categories{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.rw-page .rw-type-categories button{border-radius:16px;padding:4px 10px;font-size:11px}.rw-type-categories button[aria-pressed=true]{background:#edf4ff;color:#1d5ba8;border-color:#9dbde8}.research-editor [data-editor-panel][hidden]{display:none}.research-editor [data-editor-panel]>h3{font-size:15px;margin:12px 0}.research-editor .rw-content-tabs{position:sticky;top:-16px;background:white;z-index:1}.research-editor [role=tabpanel]{min-width:0}
.rw-digest{background:#f5f9ff;border:1px solid #e1eafa;border-radius:8px;padding:12px}.rw-digest-head{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:12px}.rw-digest-head>span{font-size:10px;color:#8394aa}
.rw-stat-row{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin:10px 0;font-size:11px;color:#7a8ba0}.rw-stat-row b{font-size:19px;color:#285f9d;margin-left:5px}.rw-warning{color:#a06d19!important}
.rw-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 0}.rw-filters label{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:#7a8a9e;margin:0}.rw-filters select{width:auto;max-width:190px;min-height:30px;padding:4px 6px;border:1px solid #dce5ef;border-radius:5px;background:white;color:#354b68;font-size:11px}.rw-filters details{font-size:11px;position:relative}.rw-filters details[open]{padding:6px;border:1px solid #dce5ef;border-radius:6px}.rw-page .rw-filters>button{padding:4px 8px;font-size:11px}.rw-result-count{margin:2px 0 8px;font-size:10px;color:#8394ac}
.rw-event-group>h3{font-size:13px;background:#f3f7fc;padding:8px 10px;border-left:3px solid #86aad7;margin:10px 0}.rw-event-group>h3 small{color:#8095ae;font-weight:400;margin-left:5px}
.rw-page .rw-record{padding:12px 14px;border-radius:7px;margin-bottom:8px}.rw-record h3{font-size:14px;margin:7px 0}.rw-record .research-record-links{margin-top:8px}.rw-record .research-verification{margin:5px 0}.rw-record details{margin:7px 0}
.rw-baseline-note{padding:12px;border:1px solid #e1dfcf;border-radius:8px;background:#fffdf5;font-size:12px;line-height:1.7}.rw-baseline-note p{margin:5px 0;color:#827b63}.rw-hash{overflow-wrap:anywhere;font-family:monospace;font-size:10px}
.rw-page .research-editor textarea{min-height:60px}.rw-page .research-editor-grid{align-items:start}
@media(max-width:1050px){.rw-layout{grid-template-columns:215px minmax(0,1fr)}.rw-main{padding:12px}.rw-stat-row{gap:14px}}
@media(max-width:760px){.rw-layout{grid-template-columns:minmax(0,1fr)}.rw-rail{position:static;max-height:none}.rw-page .rw-task-list{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.rw-task-actions{display:flex;flex-wrap:wrap}.rw-heading h1{font-size:21px}.rw-heading>div:last-child{width:100%}.rw-page .rw-heading button{font-size:11px;padding:6px 8px}.rw-filters label{flex:1 1 140px}.rw-filters select{flex:1;min-width:0;max-width:none}.rw-main{padding:10px}.rw-task-heading h2{font-size:17px}.rw-rail .research-history{max-height:200px}}
.research-journal-metrics{background:#f8fafc;border:1px solid #dce4ee;border-radius:8px;padding:10px 12px;margin:10px 0;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.research-metric-values{display:flex;flex-wrap:wrap;gap:6px 12px;color:#405471}.research-journal-metrics details{margin:8px 0 0}.research-journal-metrics p{margin:5px 0}.research-metric-panel{border:1px solid #dce4ee;background:white;border-radius:10px;padding:12px 16px;margin-bottom:16px;font-size:12px;line-height:1.8;overflow-wrap:anywhere}.research-metric-panel form{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin:14px 0}.research-metric-panel label{display:grid;gap:6px;flex:1;min-width:180px}.research-metric-panel input{box-sizing:border-box;width:100%;min-width:0;border:1px solid #cbd5e1;border-radius:6px;padding:8px}.research-metric-panel .research-error{color:#b45309}.research-page button.secondary{background:#fff;color:#334155}
.research-editor-backdrop{position:fixed;inset:0;z-index:1200;background:#17203380;display:flex;align-items:center;justify-content:center;padding:18px;box-sizing:border-box}.research-editor{background:white;border-radius:14px;width:700px;max-width:100%;max-height:90dvh;overflow:auto;padding:24px;box-sizing:border-box;box-shadow:0 18px 60px #0003}.research-editor h2{margin-top:0}.research-editor form{display:grid;gap:14px}.research-editor label{display:grid;gap:6px;font-size:13px;color:#405471;min-width:0}.research-editor input,.research-editor select,.research-editor textarea{box-sizing:border-box;width:100%;min-width:0;padding:9px;border:1px solid #cbd5e1;border-radius:8px;font:inherit;background:#fff;color:#24334a}.research-editor textarea{resize:vertical}.research-editor .research-checkbox{display:flex;gap:8px;align-items:center}.research-editor .research-checkbox input{width:16px;height:16px;margin:0}.research-editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.research-editor fieldset{border:1px solid #dce4ee;border-radius:8px;display:grid;gap:10px;min-width:0}.research-editor-actions{display:flex;justify-content:flex-end;gap:10px}.research-editor .research-error{color:#b45309;margin:0}.research-controls details,.research-report-heading details{overflow-wrap:anywhere}@media(max-width:500px){.research-editor{padding:16px}.research-editor-backdrop{padding:8px}.research-editor-grid{grid-template-columns:1fr}}

.rw-baseline-text{white-space:pre-wrap;max-height:420px;overflow:auto;line-height:1.8}.rw-page .research-editor h2{font-size:18px}.rw-page .research-editor input:focus-visible,.rw-page .research-editor textarea:focus-visible,.rw-page .research-editor select:focus-visible{outline:2px solid #93b8e7;outline-offset:1px}

/* Keep controls compact so results occupy the main viewport. */
.rw-history-entry{min-width:0;border-bottom:1px solid #e7edf4;padding-bottom:7px}.rw-history-entry:last-child{border:0}.rw-page .rw-history-entry>button{width:100%;font-size:11px;padding:7px;overflow-wrap:anywhere}.rw-history-links{display:flex;gap:5px;flex-wrap:wrap;margin-top:5px}.rw-rail>.rw-history{margin-top:8px;padding-top:8px}.rw-rail>.rw-history>summary{font-size:11px}
.rw-heading{gap:8px;margin-bottom:8px}.rw-heading h1{font-size:19px;margin:0;line-height:30px}
.rw-page .rw-heading button{font-size:12px;padding:4px 10px;min-height:30px}
.rw-layout{grid-template-columns:220px minmax(0,1fr);gap:10px}.rw-main{padding:10px 14px}
.rw-task-heading{align-items:center;gap:6px}.rw-task-heading>div:first-child{display:flex;align-items:baseline;gap:6px 12px;flex-wrap:wrap;min-width:0;flex:1}
.rw-task-heading h2{font-size:16px;line-height:24px;margin:0;overflow-wrap:anywhere}.rw-task-heading p{font-size:10px}.rw-link-button{padding:4px 7px;font-size:10px}
.rw-tabs{gap:5px;margin:6px 0}.rw-page .rw-tabs button{font-size:11px;padding:4px 10px;min-height:28px}
.rw-run-details{border-block:1px solid #e8eef5;margin:0;font-size:11px;line-height:1.6;overflow-wrap:anywhere}
.rw-run-details>summary{padding:5px 0;list-style:none;display:flex;align-items:center;flex-wrap:wrap;gap:4px 14px}
.rw-run-details>summary::-webkit-details-marker{display:none}.rw-run-details>summary:before{content:'▸';color:#6b83a2}.rw-run-details[open]>summary:before{content:'▾'}
.rw-detail-label{margin-left:auto;color:#356ba8}.rw-run-details .rw-digest{padding:8px;margin:4px 0}.rw-run-details .rw-stat-row{margin:5px 0;gap:14px}.rw-run-details .rw-stat-row b{font-size:14px}
.rw-run-details .rw-sources,.rw-run-details .rw-brief{padding:5px 8px;margin:5px 0}
.rw-filters{gap:6px;padding:6px 0}.rw-filters select{min-height:28px}.rw-result-count{margin:0 0 4px}.rw-event-group>h3{margin:4px 0 6px;padding:5px 8px;font-size:12px}
.rw-rail{padding:10px}.rw-rail h2{font-size:12px;margin-bottom:7px}.rw-page .rw-task-list button{padding:8px;gap:3px}
.rw-task-management{font-size:11px;margin-top:10px;border-top:1px solid var(--rw-line);padding-top:8px}.rw-task-management>summary{cursor:pointer}.rw-page .rw-task-management>button{font-size:11px;padding:5px 8px;width:100%;margin-top:8px;white-space:normal}
.rw-task-actions{margin:8px 0;gap:5px}.rw-page .rw-task-actions button{font-size:11px;padding:5px 7px}.rw-task-management .research-note{font-size:10px;margin:6px 0}.rw-task-management .rw-history{padding-top:6px}
@media(max-width:760px){.rw-layout{grid-template-columns:minmax(0,1fr)}.rw-heading{flex-wrap:nowrap}.rw-heading>div:last-child{width:auto}.rw-heading h1{font-size:17px}.rw-rail{padding:8px}.rw-rail h2{display:none}.rw-page .rw-task-list{display:flex;overflow-x:auto;gap:6px}.rw-page .rw-task-list button{flex:0 0 190px}.rw-task-management{margin-top:6px;padding-top:5px}.rw-main{padding:8px}.rw-task-heading>div:first-child{gap:2px}.rw-task-heading h2{font-size:15px}.rw-detail-label{margin-left:0}.rw-run-details>summary{gap:3px 8px}.rw-filters label{flex:0 1 auto}.rw-filters select{max-width:145px}.rw-heading button{white-space:nowrap}}
.research-translation{margin:8px 0}.research-translation-actions{display:flex;flex-wrap:wrap;gap:6px}.research-translation-actions button{font-size:11px;padding:4px 8px}.research-translation-result{margin-top:8px;padding:10px;border-left:3px solid #7ba3d5;background:#f4f8fc;overflow-wrap:anywhere}.research-translation-result h4{margin:4px 0;font-size:14px}.research-translation-result p{white-space:pre-wrap}

/* Shared paragraph layout for original abstracts and translations. */
.research-abstract{white-space:normal;width:100%;max-width:none;min-width:0;box-sizing:border-box;font-size:14px;line-height:1.75;color:#334155;text-align:left;overflow-wrap:anywhere}.research-abstract>p{white-space:normal;text-indent:0;margin:6px 0}.research-abstract>.research-abstract-heading{font-size:13px;line-height:1.6;font-weight:650;color:#334155;margin:12px 0 4px}.research-abstract>:first-child{margin-top:6px}
.research-translation-result .research-abstract>p{white-space:normal}
.research-fulltext{margin:8px 0;padding:8px;border:1px solid #d9e4f0;border-radius:6px}.research-fulltext-heading{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.research-fulltext-heading strong{font-size:12px}.research-fulltext button,.research-fulltext-upload{font-size:11px;padding:4px 8px}.research-fulltext-upload{display:inline-flex;align-items:center;gap:5px;border:1px solid #bccce0;border-radius:5px;cursor:pointer}.research-fulltext-upload input{max-width:185px;font-size:11px}.research-fulltext-file{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:6px;overflow-wrap:anywhere}.research-fulltext-file>span{flex:1 1 180px;min-width:0}.research-fulltext-file small{color:#66758a}.research-fulltext-file a{font-size:12px}.research-fulltext-dialog{width:min(1200px,96vw);height:90dvh;max-width:96vw;max-height:94dvh;padding:12px;border:1px solid #bdcde0;border-radius:10px}.research-fulltext-dialog[open]{display:flex;flex-direction:column;gap:7px}.research-fulltext-dialog::backdrop{background:#15243a88}.research-fulltext-dialog header{display:flex;gap:12px;justify-content:space-between;align-items:center;overflow-wrap:anywhere}.research-fulltext-dialog header strong{min-width:0}.research-fulltext-dialog nav{display:flex;gap:16px}.research-fulltext-dialog iframe{width:100%;flex:1;border:1px solid #d9e4f0;min-height:150px}.research-fulltext .research-note{margin:5px 0;font-size:10px}
.research-fulltext-upload{max-width:100%;flex-wrap:wrap}.research-fulltext-heading>*{max-width:100%}.research-fulltext-upload input{min-width:0}

#research-proxy-panel form{display:flex;align-items:end;gap:8px;flex-wrap:wrap}#research-proxy-panel form label{flex:1;min-width:220px}#research-proxy-panel input,#research-proxy-panel select{width:100%;box-sizing:border-box}.research-proxy-actions{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}

/* Compact results with a library-style document reader. */
.rw-reading-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;align-items:start;min-width:0}.rw-reading-layout.has-preview{grid-template-columns:minmax(0,1fr) minmax(300px,var(--rw-reader-width,46%))}.rw-events{min-width:0}
.rw-page .rw-record{padding:8px 11px;margin-bottom:6px;cursor:pointer;outline-offset:2px}.rw-record.is-reading{border-color:#80a9df;background:#f8fbff;box-shadow:inset 3px 0 #3974ba}.rw-record:focus-visible{outline:2px solid #80a9df}.rw-record .research-record-meta{font-size:10px;gap:6px}.rw-record .research-pill{padding:1px 5px}
.rw-record h3{margin:4px 0;line-height:1.5}.rw-page .rw-record-title{font:inherit;font-size:14px;line-height:1.5;font-weight:600;display:inline;text-align:left;white-space:normal;padding:0;border:0;border-radius:0;background:transparent;color:#1761a3;cursor:pointer}.rw-record-title:hover{text-decoration:underline}.rw-record .rw-record-citation{font-size:11px;line-height:1.6;margin:3px 0;color:#63768a}.rw-record-excerpt{font-size:12px;line-height:1.65;margin:4px 0 5px;color:#445a70;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.rw-record-actions{display:flex;gap:3px 12px;align-items:center;flex-wrap:wrap}.rw-record-actions>.rw-record-extra{font-size:11px;line-height:1.7;margin:0;min-width:0}.rw-record-extra>summary{color:#42688c;padding:2px 0}.rw-record-extra[open]{flex:1 0 100%;padding:6px 0;border-top:1px solid #e1e9f2}.rw-record-extra .research-record-links{margin-top:5px}.rw-record-extra .research-journal-metrics{margin:5px 0;padding:7px 10px}.rw-page .rw-record-actions>.rw-open-fulltext{font-size:11px;line-height:1.5;padding:2px 7px;min-height:24px}.rw-record-extra .research-fulltext{margin:5px 0}.rw-record-extra .research-note{font-size:11px;margin:5px 0}
.rw-fulltext-preview{position:sticky;top:10px;min-width:0;height:calc(100dvh - 260px);min-height:420px;box-sizing:border-box;border:1px solid #cad8e9;border-radius:8px;background:#fff;display:flex;flex-direction:column;padding:10px;gap:7px;box-shadow:0 3px 12px #2345670a}.rw-fulltext-preview>header{display:flex;align-items:center;justify-content:space-between;gap:8px}.rw-fulltext-preview h2{font-size:14px;margin:0}.rw-fulltext-preview>h3{font-size:12px;line-height:1.5;margin:0;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.rw-page .rw-fulltext-preview>header button{padding:2px 8px;font-size:17px}.rw-fulltext-preview iframe{width:100%;min-width:0;min-height:200px;flex:1;border:1px solid #e0e7ef;background:#f5f7fa;box-sizing:border-box}
.rw-reader-toolbar{display:flex;align-items:center;gap:6px 10px;flex-wrap:wrap;font-size:11px}.rw-reader-toolbar label{display:flex;align-items:center;gap:5px;margin:0;min-width:0;flex:1 1 100%}.rw-reader-toolbar select{min-width:0;flex:1;width:100%;padding:5px;font-size:11px;border:1px solid #d2ddeb;border-radius:5px}.rw-reader-toolbar a{color:#235e9c}.rw-reader-empty{padding:24px 10px;font-size:12px;line-height:1.8;color:#667c93}.rw-reader-empty p{margin:8px 0}.rw-reader-resizer{position:absolute;left:-10px;top:0;bottom:0;width:14px;cursor:col-resize;touch-action:none}.rw-reader-resizer:hover,.rw-reader-resizer:focus-visible{background:#74a4d83b;border-radius:4px}
@media(max-width:1100px){.rw-reading-layout.has-preview{grid-template-columns:minmax(0,1fr)}.rw-fulltext-preview{position:fixed;top:100px;right:8px;bottom:12px;width:min(680px,calc(100vw - 16px));height:auto;min-height:0;z-index:100;box-shadow:0 5px 40px #1f365750}.rw-reader-resizer{display:none}}

.rw-rail{display:flex;flex-direction:column;min-height:0;box-sizing:border-box}
.rw-page .rw-content-tabs button.secondary,.research-editor .rw-content-tabs button.secondary{background:transparent;color:#65758b;border:0;border-bottom:3px solid transparent;border-radius:0;padding:9px 16px;font-size:13px}.rw-page .rw-content-tabs button.secondary[aria-selected=true],.research-editor .rw-content-tabs button.secondary[aria-selected=true]{background:#f4f8ff;color:#1d5ba8;border-bottom-color:#397bd0;font-weight:650}
.rw-rail>.rw-settings-sidebar{margin:10px 0 0;padding:10px 0 0;border:0;border-top:1px solid var(--rw-line);border-radius:0;background:transparent;flex-shrink:0}
.rw-settings-sidebar>summary{cursor:pointer;font-size:11px;color:#657c98}.rw-settings-sidebar[open]>summary{margin-bottom:8px}
.rw-settings-sidebar .research-metric-panel{padding:8px;margin:6px 0;font-size:11px;min-width:0}.rw-settings-sidebar .research-metric-panel p{font-size:10px;line-height:1.6}
.rw-settings-sidebar form{min-width:0;max-width:100%;box-sizing:border-box}.rw-settings-sidebar label,.rw-settings-sidebar #research-proxy-panel form label{min-width:0;max-width:100%;overflow-wrap:anywhere}.rw-settings-sidebar input,.rw-settings-sidebar select{min-width:0;max-width:100%;box-sizing:border-box}.rw-page .rw-settings-sidebar button{font-size:11px;padding:5px 7px;white-space:normal}
@media(max-width:760px){.rw-rail{min-height:0}.rw-rail>.rw-settings-sidebar{margin-top:10px}}
.rw-page .rw-layout:has(>.rw-column-resizer){grid-template-columns:var(--rw-rail-width,220px) 8px minmax(0,1fr);column-gap:0}
.rw-column-resizer{position:sticky;top:12px;height:calc(100dvh - 120px);min-height:160px;cursor:col-resize;touch-action:none;outline-offset:-1px;border-radius:4px;background:linear-gradient(#cbd8e8,#cbd8e8) center/2px 48px no-repeat}
.rw-column-resizer:hover,.rw-column-resizer:focus-visible{background-color:#dceaff;outline:1px solid #91b6e6}.rw-columns-resizing,.rw-columns-resizing *{cursor:col-resize!important;user-select:none!important}.rw-columns-resizing .rw-column-resizer{background-color:#c4dcfa}.rw-columns-resizing iframe{pointer-events:none}
@media(max-width:760px){.rw-page .rw-layout,.rw-page .rw-layout:has(>.rw-column-resizer){grid-template-columns:minmax(0,1fr);row-gap:10px}.rw-column-resizer{display:none}}
.rw-fulltext-preview{height:calc(100dvh - 24px);min-height:240px;overflow:hidden}.rw-fulltext-preview>header,.rw-fulltext-preview>h3,.rw-reader-toolbar,.rw-preview-format{flex-shrink:0}.rw-fulltext-preview>header h2{margin-right:auto}.rw-preview-format{margin:0;font-size:10px;line-height:1.5;color:#65758b}.rw-reader-surface{display:flex;flex:1;min-width:0;min-height:0;overflow:hidden;border:1px solid #e0e7ef;background:#fff}.rw-page .rw-reader-surface iframe{display:block;flex:1;width:100%;height:100%;min-height:0;min-width:0;border:0;background:#fff}.rw-page .rw-fulltext-preview.rw-preview-expanded{position:fixed;inset:12px;width:auto;height:auto!important;min-height:0;max-height:none;z-index:300;box-shadow:0 8px 60px #20334d55}.rw-preview-expanded .rw-reader-resizer{display:none}
@media(max-width:1100px){.rw-fulltext-preview{height:auto;min-height:0}}

.research-page.rw-page .rw-record h3>.rw-record-title,.research-page.rw-page .rw-record h3>.rw-record-title:hover,.research-page.rw-page .rw-record h3>.rw-record-title:focus{background:transparent;color:#1761a3;box-shadow:none;border:0;padding:0}.research-page .rw-record-actions>.rw-open-fulltext.is-unavailable{background:#f4f5f7;color:#9299a3;border-color:#e2e5e9}.research-page .rw-record-actions>.rw-open-fulltext.is-unavailable:hover{background:#eaecef;color:#737d89}

.research-editor form{gap:10px}.research-editor [data-editor-panel]{display:grid;gap:10px}.research-editor [data-editor-panel]>h3{margin:0;font-size:14px}.research-editor .rw-query-note{margin:0;line-height:1.6}.research-editor [data-editor-panel]>fieldset{grid-template-columns:minmax(0,1fr);gap:10px}.research-editor [data-editor-panel]>.research-note{margin:0}.research-editor textarea{line-height:1.5}.research-editor .rw-content-tabs{margin:0}@media(max-width:500px){.research-editor [data-editor-panel]>fieldset{grid-template-columns:1fr}}

#research-registry-panel form{display:grid;gap:6px;margin:8px 0}#research-registry-panel input{width:100%;min-width:0;box-sizing:border-box}#research-registry-panel img{max-width:100%;height:auto}#research-registry-panel>button{margin:3px 4px 3px 0}

/* Expanded original and translated abstracts occupy their complete reader column. */
.research-page .rw-record-extra[open]{width:100%;max-width:100%;box-sizing:border-box}.research-page .research-abstract,.research-page .research-abstract>p,.research-page .research-translation,.research-page .research-translation>[aria-live],.research-page .research-translation-result{display:block;width:100%;max-width:none;min-width:0;box-sizing:border-box}.research-page .research-abstract>p{margin-left:0;margin-right:0;white-space:normal}

.rw-rail>details{flex-shrink:0}

.research-editor .research-source-other{color:#8993a1}.research-editor fieldset .research-checkbox{align-items:flex-start;line-height:1.65}.research-editor fieldset .research-checkbox input{flex-shrink:0;margin-top:3px}.research-editor .research-source-other small{display:block;font-size:11px;color:#7d8795}

.rw-ai-brief{margin:12px 0;padding:16px;background:#f5f8fc;border:1px solid #dce5ef;border-radius:12px;overflow-wrap:anywhere}.rw-ai-brief h2{margin-top:0}.rw-ai-brief p{white-space:pre-wrap;line-height:1.8}.rw-ai-brief a{color:#1765b5}
.rw-ai-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0;color:#64748b;font-size:12px}

.rw-report-preview{display:block;width:100%;height:78vh;min-height:480px;border:1px solid #dde6ed;border-radius:12px;background:#fff;margin:18px 0}
.rw-record[data-reference-selected="true"]{outline:3px solid #207c73;outline-offset:3px;scroll-margin-top:30px}
.rw-qa{margin:14px 0;border:1px solid #dbe4f0;border-radius:12px;background:#fff;overflow:hidden}.rw-qa [hidden]{display:none!important}.rw-qa-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 14px;background:#f8faff}.rw-qa-tabs,.rw-qa-selection{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.rw-qa-tabs button[aria-selected=true]{background:#e9f1ff;border-color:#91b4ff;color:#1554c4}.rw-qa-count{font-size:12px;color:#5a6b87}.rw-qa-selection{margin-left:auto}.rw-qa .rw-qa-ask{background:#eaf9f2;border-color:#a4d9c2;color:#14704d}.rw-qa-workspace{display:grid;grid-template-columns:minmax(0,1fr) 235px;min-width:0}.rw-qa-dialogue{padding:18px;min-width:0}.rw-qa-heading{display:flex;gap:12px;justify-content:space-between;align-items:flex-start}.rw-qa-workspace h3{margin:0 0 8px;font-size:16px}.rw-qa-heading p,.rw-qa-studio p{margin:0 0 16px;font-size:12px;color:#64748b}.rw-qa-heading>div:last-child{display:flex;gap:6px;flex-wrap:wrap}.rw-qa-selected{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0 14px}.rw-qa-selected>span{display:flex;align-items:center;max-width:100%;gap:6px;padding:4px 8px;border-radius:8px;background:#eff5ff;color:#335888;font-size:12px;overflow-wrap:anywhere}.rw-qa-selected>span button{padding:0 4px;min-width:22px;flex-shrink:0;border:0;background:transparent}.rw-qa-log{min-height:240px;max-height:580px;overflow:auto;overscroll-behavior:contain}.rw-qa-welcome{text-align:center;padding:46px 18px;color:#64748b;font-size:13px;line-height:1.9}.rw-qa-welcome>span{display:inline-block;font-size:26px;color:#7795f6;margin-bottom:14px}.rw-qa-message{margin:0 0 16px;padding:14px;border:1px solid #e4eaf3;border-radius:10px;overflow-wrap:anywhere}.rw-qa-message.is-user{background:#f5f8fd}.rw-qa-message>header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;font-size:12px;color:#62718a}.rw-qa-answer{font-size:13px;line-height:1.85}.rw-qa-answer pre{overflow:auto;max-width:100%}.rw-qa-answer .library-table-scroll{overflow:auto;max-width:100%}.rw-qa-answer table{border-collapse:collapse;font-size:12px;min-width:100%}.rw-qa-answer th,.rw-qa-answer td{border:1px solid #dfe7f2;padding:7px;vertical-align:top}.rw-qa-citations{margin-top:12px;font-size:12px}.rw-qa-citations blockquote{margin:10px 0;padding:10px;border-left:3px solid #a7c8ef;background:#f8fafc}.rw-qa-citations a,.rw-qa-citations small{display:block}.rw-qa-citations p{white-space:pre-wrap;line-height:1.8}.rw-qa-workspace form{margin-top:14px;padding-top:14px;border-top:1px solid #e6ebf3}.rw-qa-workspace form label{display:block;margin-bottom:7px;font-size:13px}.rw-qa-workspace textarea{width:100%;resize:vertical;min-height:88px;box-sizing:border-box;font:inherit}.rw-qa-workspace form>div{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px}.rw-qa-workspace form small{font-size:11px;color:#64748b}.rw-qa-studio{padding:20px 16px;border-left:1px solid #e4eaf3;background:#fcfdff}.rw-qa-tool{display:block;width:100%;text-align:left;margin:0 0 12px;padding:16px 13px;min-height:80px;border:1px solid #e1e4fa;border-radius:12px;background:#f7f5ff;color:#34436a}.rw-qa-tool strong,.rw-qa-tool small{display:block}.rw-qa-tool small{margin-top:7px;font-weight:400;font-size:11px;line-height:1.6;color:#64748b}.rw-qa-compare{background:#f0f7ff;border-color:#d2e6ff}.rw-qa-outline{background:#f0fcf6;border-color:#cceddd}.rw-qa-studio>small{display:block;margin-top:22px;font-size:11px;line-height:1.9;color:#64748b}.rw-qa-error{padding:0 14px}.rw-qa-record{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:space-between;margin:0 0 9px}.rw-qa-record label{display:flex;align-items:center;gap:6px;font-size:12px;color:#62718a;cursor:pointer}.rw-qa-record input{width:15px;height:15px;accent-color:#3476e8}.rw-qa-record button{font-size:11px;padding:4px 8px}.rw-qa-thinking{color:#4265ac;font-size:13px;padding:12px}
@media(max-width:1100px){.rw-qa-workspace{grid-template-columns:minmax(0,1fr)}.rw-qa-studio{border-left:0;border-top:1px solid #e4eaf3}.rw-qa-studio{display:flex;gap:10px;flex-wrap:wrap}.rw-qa-studio>h3,.rw-qa-studio>p,.rw-qa-studio>small{flex-basis:100%}.rw-qa-tool{flex:1 1 150px;width:auto;margin:0}.rw-qa-studio>small{margin-top:8px}}
@media(max-width:600px){.rw-qa-toolbar,.rw-qa-dialogue,.rw-qa-studio{padding:12px}.rw-qa-selection{margin-left:0;flex-basis:100%}.rw-qa-toolbar button{font-size:11px;padding:6px 8px}.rw-qa-heading{flex-direction:column}.rw-qa-log{max-height:460px}.rw-qa-record{align-items:flex-start}.rw-qa-workspace form>div{align-items:flex-end}.rw-qa-tool{flex-basis:100%;min-height:68px}.rw-qa-selected>span{font-size:11px}}
.rw-version-filter{padding:12px 14px;margin:12px 0;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;overflow-wrap:anywhere}
.rw-version-filter label{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:13px}
.rw-version-filter select{max-width:100%;padding:6px 10px;font:inherit}
.rw-page .rw-tabs .rw-version-button{margin-left:auto;white-space:normal;text-align:left}
.rw-version-dialog{width:min(720px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:85dvh;box-sizing:border-box;overflow:auto;padding:18px;border:1px solid #cbd8e8;border-radius:12px;background:#fff;color:#24334a;box-shadow:0 18px 60px #15243a33}
.rw-version-dialog:not([open]){display:none}.rw-version-dialog::backdrop{background:#15243a80}
.rw-version-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.rw-version-dialog>header h2{margin:0;font-size:17px}.rw-version-dialog>header button{flex-shrink:0}
.rw-version-dialog .rw-version-filter{padding:0;margin:0;border:0;background:transparent}.rw-version-dialog select{flex:1;min-width:160px}.rw-version-dialog .rw-version-settings{margin-top:12px}.rw-version-dialog .rw-pre{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:500px){.rw-version-dialog{padding:14px;width:calc(100vw - 20px);max-width:calc(100vw - 20px)}.rw-page .rw-tabs .rw-version-button{margin-left:0}}
.rw-version-settings{font-size:12px;line-height:1.8}.rw-version-settings summary{cursor:pointer}
.rw-history-archive{margin-top:10px;min-width:0}.rw-history-archive summary{cursor:pointer;font-size:12px;padding:8px 0}
.rw-history-archive .rw-history-entry{margin:8px 0}.rw-record-versions{margin:4px 0}

.research-editor [data-schedule-field][hidden]{display:none}

.research-title-metrics{display:inline-flex;flex-wrap:wrap;gap:4px;margin-inline-start:8px;vertical-align:middle;font-size:11px;font-weight:400;line-height:1.6;letter-spacing:normal}.research-title-metrics>span{display:inline-block;white-space:nowrap;padding:1px 6px;border:1px solid #dce5ef;border-radius:4px;background:#f1f6fb;color:#38516e}.research-title-metrics>span[data-missing]{background:#f8fafc;color:#798595}

.rw-trash-tools{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.rw-trash-tools p{flex-basis:100%;margin:0}.rw-trash-record>.research-checkbox{display:flex;gap:6px;align-items:center}

.rw-page .rw-filter-search{display:flex;align-items:flex-end;flex-wrap:wrap;gap:8px;margin:12px 0}
.rw-page .rw-filter-search>label{display:flex;flex:1 1 240px;flex-direction:column;gap:6px;min-width:0;max-width:540px;margin:0;font-size:12px;line-height:1.5}
.rw-page .rw-filter-search input{width:100%;min-width:0;height:36px;margin:0;padding:7px 10px;box-sizing:border-box;font-size:13px;line-height:20px}
.rw-page .rw-filter-search-actions{display:flex;align-items:center;flex:0 0 auto;gap:8px}
.rw-page .rw-filter-search-actions>button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;height:36px;min-height:36px;margin:0;padding:7px 14px;box-sizing:border-box;font-size:12px;line-height:20px;white-space:nowrap}
@media(max-width:640px){.rw-page .rw-filter-search>label{flex-basis:100%;max-width:none}}

.rw-smart-groups{border:1px solid #e2e8f0;border-radius:6px;padding:8px;margin:8px 0;background:#fafbfc}
.rw-smart-heading,.rw-smart-list{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin-bottom:5px}
.rw-smart-heading>strong{font-size:11px;font-weight:600;line-height:1.5}
.rw-page .rw-smart-groups button{font-size:11px;font-weight:400;line-height:1.5;min-height:26px;padding:3px 8px;border-radius:5px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.rw-page .rw-smart-heading button{font-size:10px;padding:3px 6px;min-height:24px}
.rw-smart-groups>.research-note{font-size:10px;line-height:1.5;margin:5px 0 0}
.rw-page .rw-smart-list button[aria-pressed="true"]{background:#edf4ff;color:#1d5ba8;border-color:#9dbde8}
.rw-legacy-filters{flex:1;min-width:0}.rw-legacy-filters>label{display:inline-flex;flex-direction:column;margin:8px 12px 0 0;max-width:100%}
.rw-smart-dialog{width:min(620px,calc(100vw - 32px));max-height:85vh;overflow:auto;border:1px solid #cbd5e1;border-radius:12px;padding:20px;box-sizing:border-box}
.rw-smart-dialog::backdrop{background:#0f172a88}.rw-smart-dialog form{display:grid;gap:12px}.rw-smart-dialog label{display:grid;gap:6px;min-width:0}.rw-smart-dialog input,.rw-smart-dialog select,.rw-smart-dialog textarea{width:100%;box-sizing:border-box}
.rw-smart-dialog header,.rw-smart-dialog footer{display:flex;justify-content:space-between;gap:10px;align-items:center}.rw-smart-dialog h2{font-size:18px;margin:0}

.rw-smart-metrics{border:1px solid #dce5ef;border-radius:6px;padding:10px;min-width:0;margin:0;font-size:12px}.rw-smart-metrics legend{font-size:12px;font-weight:600;padding:0 4px}
.rw-smart-metric-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.rw-smart-min{display:flex;gap:5px;min-width:0}.rw-smart-min select{flex:1 1 55%;min-width:0}.rw-smart-min input{flex:1 1 45%;min-width:0}
.rw-smart-partitions{display:flex;align-items:center;gap:6px 10px;flex-wrap:wrap;margin:10px 0}.rw-smart-partitions>span{flex-basis:100%}.rw-smart-dialog .rw-smart-check{display:flex;align-items:center;gap:5px;margin:6px 0}.rw-smart-dialog .rw-smart-check input{width:14px;height:14px;margin:0;flex-shrink:0}.rw-smart-metrics .research-note{font-size:10px;margin:8px 0 0}
@media(max-width:500px){.rw-smart-metric-grid{grid-template-columns:minmax(0,1fr)}}

.rw-report-fold{margin:10px 0;border:1px solid #dce5ef;border-radius:8px;overflow:hidden;min-width:0}
.rw-report-fold>summary{padding:7px 10px;background:#f8fafc;font-size:12px;line-height:1.6;cursor:pointer}.rw-report-fold>summary:focus-visible{outline:2px solid #93c5fd;outline-offset:-2px}
.rw-brief-date{font-size:10px;color:#7a8a9e;margin-left:8px}.rw-brief-toggle{float:right;color:#397bd0;font-size:11px;margin-left:8px}
.rw-report-fold [data-brief-collapse],.rw-report-fold[open] [data-brief-expand]{display:none}.rw-report-fold[open] [data-brief-collapse]{display:inline}
.rw-report-fold>.rw-report-preview{margin:0;border:0;border-top:1px solid #e2e8f0;border-radius:0}
.research-editor .rw-field-key{margin:0;padding:9px 11px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;font-size:12px;line-height:1.8;color:#475569}.research-editor .rw-field-title{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.research-editor .rw-field-badge{display:inline-block;width:fit-content;border-radius:4px;padding:1px 6px;font-size:10px;font-weight:600;line-height:1.65;vertical-align:middle;white-space:nowrap}.research-editor .rw-field-badge[data-role=search]{background:#dbeafe;color:#1e40af}.research-editor .rw-field-badge[data-role=prompt]{background:#fef3c7;color:#92400e}.research-editor .rw-search-field>input:not([type=checkbox]),.research-editor .rw-search-field>textarea,.research-editor .rw-search-field>select{border-color:#60a5fa;background:#f0f7ff;box-shadow:inset 3px 0 #3b82f6}.research-editor fieldset.rw-search-field{border-color:#93c5fd;background:#f7fbff}.research-editor .rw-prompt-field>textarea{border-color:#d6a440;background:#fffbeb;box-shadow:inset 3px 0 #d6a440}.research-editor .rw-field-hint{font-size:11px;line-height:1.5;color:#64748b}.research-editor .rw-prompt-field .rw-field-hint{color:#92400e}.research-editor .rw-profile-inactive .rw-search-field>input:not([type=checkbox]),.research-editor .rw-profile-inactive .rw-search-field>textarea,.research-editor .rw-profile-inactive .rw-search-field>select,.research-editor .rw-profile-inactive fieldset.rw-search-field{border-color:#cbd5e1;background:#f8fafc;box-shadow:none}.research-editor .rw-profile-inactive .rw-field-badge{background:#e2e8f0;color:#64748b}.research-editor .rw-advanced-plan>summary .rw-field-badge{margin-left:7px}

.rw-coverage{border:1px solid #e5d6b7;border-radius:6px;background:#fffaf0;padding:9px 11px;margin:8px 0}.rw-coverage p{margin:4px 0 0}.rw-coverage[data-state="searched"]{border-color:#dce5ef;background:#f5f9ff}.rw-coverage[data-state="failed"]{border-color:#edc8c0;background:#fff6f3}

.research-page .rw-qa .rw-qa-tool{background:#f7f5ff;color:#34436a;border-color:#e1e4fa}.research-page .rw-qa .rw-qa-compare{background:#f0f7ff;border-color:#d2e6ff}.research-page .rw-qa .rw-qa-outline{background:#f0fcf6;border-color:#cceddd}.research-page .rw-qa .rw-qa-tool:hover{filter:brightness(.98);box-shadow:0 2px 8px #172b4d10}.research-page .rw-qa .rw-qa-tool strong{color:#34436a}.research-page .rw-qa .rw-qa-tool small{color:#64748b}

.rw-live-progress{border:1px solid #dbe5ee;border-radius:8px;padding:10px 12px;margin:10px 0;background:#f8fbff}.rw-live-progress header,.rw-progress-sources article>div,.rw-progress-summary{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.rw-live-progress header{font-size:12px}.rw-live-progress header span{font-size:11px;color:#64748b}.rw-progress-summary{justify-content:flex-start;margin:8px 0;font-size:11px}.rw-progress-summary progress{width:min(220px,100%);height:8px}.rw-progress-counts{font-size:12px}.rw-progress-sources{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:5px;margin-top:7px;max-height:220px;overflow:auto}.rw-progress-sources article{border:1px solid #e2e8f0;border-radius:5px;padding:6px 8px;background:white;font-size:11px;min-width:0;overflow-wrap:anywhere}.rw-progress-sources article p{margin:3px 0 0}.rw-progress-sources article[data-state=running]{border-color:#60a5fa}.rw-progress-sources article[data-state=failed]{border-color:#f3b7b7}.rw-live-progress>.research-note{margin-bottom:0;font-size:10px}

.rw-market-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:12px 0}.rw-market-preview{display:block;width:100%;height:75dvh;min-height:520px;border:1px solid #dbe5ed;border-radius:8px;background:#f3f7fa}.rw-market-panel{min-width:0}.rw-market-tools [aria-pressed="true"]{background:#edf4ff;color:#1d5ba8}

/* Shared research results / Q&A tab workspace. */
.research-page .rw-qa{margin:8px 0;border:0;border-radius:0;overflow:visible;background:transparent}
.research-page .rw-qa-toolbar{gap:10px;padding:0;border-bottom:1px solid #dce4ef;background:transparent;min-height:38px}
.research-page .rw-qa-tabs{align-self:stretch;gap:18px;flex-wrap:nowrap}
.research-page .rw-qa-tabs>button.secondary{position:relative;margin:0;padding:9px 2px 10px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;box-shadow:none;color:#64748b;font-size:13px;line-height:18px;white-space:nowrap}
.research-page .rw-qa-tabs>button[aria-selected=true]{border-bottom-color:#2563eb;color:#1d4ed8;font-weight:600}
.research-page .rw-qa-tabs>button:hover{background:#f1f5fb;color:#1d4ed8}
.research-page .rw-qa-tabs>button:focus-visible{outline:2px solid #93b4f7;outline-offset:2px}
.research-page .rw-qa-count{font-size:11px;white-space:nowrap}
.research-page .rw-qa-selection{gap:8px}
.research-page .rw-qa-selection>button{padding:3px 0;border:0;background:transparent;box-shadow:none;color:#536781;font-size:11px}
.research-page .rw-qa-body{padding-top:8px;min-width:0}
.research-page .rw-qa-workspace{border:1px solid #e2e8f0;border-radius:8px;overflow:hidden;background:#fff;grid-template-columns:minmax(0,1fr) 210px}
.research-page .rw-qa-dialogue,.research-page .rw-qa-studio{padding:12px}
.research-page .rw-qa-workspace h3{margin-bottom:5px;font-size:14px}
.research-page .rw-qa-heading p,.research-page .rw-qa-studio p{margin-bottom:8px}
.research-page .rw-qa-heading button{padding:4px 7px;font-size:11px}
.research-page .rw-qa-selected{margin:5px 0 8px;gap:4px}
.research-page .rw-qa-selected>span{max-width:260px;padding:2px 6px;font-size:11px}
.research-page .rw-qa-log{min-height:180px;max-height:480px}
.research-page .rw-qa-welcome{padding:24px 12px;line-height:1.7}
.research-page .rw-qa-welcome>span{margin-bottom:8px;font-size:22px}
.research-page .rw-qa-message{margin-bottom:10px;padding:10px}
.research-page .rw-qa-workspace form{margin-top:8px;padding-top:8px}
.research-page .rw-qa-workspace textarea{min-height:66px}
.research-page .rw-qa-tool{min-height:64px;margin-bottom:8px;padding:10px;border-radius:8px}
.research-page .rw-qa-tool small{margin-top:4px}
.research-page .rw-qa-studio>small{margin-top:10px;line-height:1.7}
.research-page .rw-qa-record{gap:8px;margin-bottom:4px}
.research-page .rw-qa-record label{font-size:11px;gap:4px}
.research-page .rw-qa-record button{padding:1px 0;border:0;background:transparent;color:#5277ac}
.research-page .rw-qa .rw-content-tabs{margin-top:0;margin-bottom:6px}
.research-page .rw-qa .rw-filter-search{margin:6px 0;gap:6px}
.research-page .rw-qa .rw-filter-search>label{gap:3px}
.research-page .rw-qa .rw-result-count{margin:6px 0;font-size:11px}
@media(max-width:1100px){.research-page .rw-qa-workspace{grid-template-columns:minmax(0,1fr)}.research-page .rw-qa-studio{gap:8px}.research-page .rw-qa-tool{margin-bottom:0}}
@media(max-width:600px){.research-page .rw-qa-toolbar{gap:4px 10px}.research-page .rw-qa-tabs{gap:14px}.research-page .rw-qa-count{margin-left:auto}.research-page .rw-qa-selection{flex-basis:100%;justify-content:flex-end;margin:0;padding-bottom:5px}.research-page .rw-qa-dialogue,.research-page .rw-qa-studio{padding:10px}.research-page .rw-qa-heading{gap:5px}.research-page .rw-qa-tool{flex-basis:140px;min-height:58px}.research-page .rw-qa-log{max-height:380px}.research-page .rw-qa-selected>span{max-width:100%}}

.research-page .rw-title-translate{margin-left:5px;padding:2px 6px;border:1px solid #d8e2ef;border-radius:4px;background:#f8fafc;color:#486b9d;font-size:10px;font-weight:400;line-height:1.5;vertical-align:middle;white-space:nowrap;cursor:pointer}.research-page .rw-title-translate:disabled{cursor:wait;opacity:.65}.research-page .rw-title-translate:focus-visible{outline:2px solid #93b4f7;outline-offset:2px}
.research-page .rw-title-translation-result:empty{display:none}.research-page .rw-title-zh{margin:4px 0 7px;color:#334b68;font-size:12px;font-weight:500;line-height:1.6;overflow-wrap:anywhere}.research-page .rw-title-zh small{color:#8190a3;font-size:10px;font-weight:400}

/* Government project notices use department groups and source-backed rosters. */
.rw-policy-title{font-size:15px;margin:8px 0}.rw-policy-filters{display:flex;gap:12px;flex-wrap:wrap;margin:8px 0}.rw-policy-filters label{display:flex;align-items:center;gap:8px}.rw-policy-filters select{max-width:320px}.rw-policy-department>h3{font-size:15px;padding:8px 0;border-bottom:1px solid #dae3ee;margin:10px 0 4px}.rw-policy-department>h3 small{font-weight:400;color:#63758b}.rw-policy-record{padding:10px 12px!important}.rw-policy-record h3{font-size:15px;margin:5px 0}.rw-policy-record .rw-record-excerpt{max-height:5.5em;overflow:auto}.rw-policy-roster-fold{margin:8px 0}.rw-policy-table-wrap{overflow:auto;max-height:440px}.rw-policy-table{width:100%;border-collapse:collapse;font-size:13px}.rw-policy-table th,.rw-policy-table td{padding:7px 9px;border:1px solid #dde5ef;text-align:left;vertical-align:top;min-width:60px}.rw-policy-table th{position:sticky;top:0;background:#f3f7fc;z-index:1}.rw-policy-table td:nth-child(2){min-width:160px}.rw-policy-table small{display:block;color:#687b91;font-size:11px}.rw-policy-attachments{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}.rw-policy-attachments a{overflow-wrap:anywhere}.rw-policy-page .rw-result-count{margin:6px 0}@media(max-width:600px){.rw-policy-filters{display:grid}.rw-policy-filters select{max-width:100%;min-width:0}.rw-policy-table{font-size:12px}}

.rw-monitor-type-options{display:flex;flex-wrap:wrap;gap:6px 18px}.rw-monitor-types{margin:0 0 12px;padding:10px 12px}.rw-monitor-types .research-checkbox{font-size:13px;margin:4px 0}.rw-monitor-types legend{font-size:14px;font-weight:600}.rw-monitor-types .research-editor-actions{justify-content:flex-start;margin-top:6px}

.rw-retry-tools{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:8px 0}.rw-retry-tools button{font-size:11px;padding:5px 8px}.rw-retry-tools>span{font-size:11px;color:#64748b}.rw-progress-sources .rw-retry-source{display:flex;align-items:flex-start;gap:6px;min-width:0;cursor:pointer}.rw-retry-source input{flex:0 0 auto;width:14px;height:14px;margin:1px 0 0;accent-color:#2463dc}.rw-progress-sources article[data-retry-selected="true"]{border-color:#2563eb;background:#eef5ff}.rw-retry-message{margin:7px 0;font-size:12px}

/* Compact project notice controls and range reports. */
.rw-policy-page .rw-policy-filters{display:flex;align-items:center;gap:10px 18px;flex-wrap:wrap;margin:10px 0;padding:10px 12px;background:#f7f9fc;border:1px solid #e2e8f0;border-radius:8px}
.rw-policy-page .rw-policy-filters label{display:flex;flex:0 1 auto;align-items:center;gap:8px;margin:0;white-space:nowrap;font-size:12px;min-width:0}
.rw-policy-page .rw-policy-filters select{flex:0 1 auto;width:240px;min-width:0;max-width:100%;height:34px;margin:0;padding:5px 28px 5px 10px;font-size:12px;border-radius:6px;box-sizing:border-box}
.rw-policy-page .rw-policy-filters #research-sort{width:225px}
.rw-policy-range{margin:8px 0 12px}.rw-policy-range-fields{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.rw-policy-range-fields label{display:flex;align-items:center;gap:8px;margin:0;white-space:nowrap;font-size:12px}.rw-policy-range-fields input[type=date]{height:32px;width:148px;min-width:0;box-sizing:border-box;padding:4px 8px;margin:0;font-size:12px}.rw-policy-range-fields button{min-height:32px;padding:5px 10px;font-size:12px;margin:0}.rw-policy-range-separator{color:#64748b;font-size:12px}.rw-policy-range .research-note{margin:6px 0}.rw-policy-generated{margin-top:10px}.rw-policy-generated summary{font-weight:600;padding:8px;background:#eef5ff;border-radius:6px}.rw-policy-brief-preview{display:block;width:100%;height:580px;border:1px solid #dce4ef;border-radius:6px;background:white;margin-top:8px}.rw-policy-range .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:600px){.rw-policy-page .rw-policy-filters{display:grid;grid-template-columns:1fr;gap:8px}.rw-policy-page .rw-policy-filters label{display:grid;grid-template-columns:64px minmax(0,1fr)}.rw-policy-page .rw-policy-filters select,.rw-policy-page .rw-policy-filters #research-sort{width:100%}.rw-policy-range-fields{gap:6px}.rw-policy-range-fields input[type=date]{width:138px}.rw-policy-brief-preview{height:480px}}

/* Selected research filters: keep the current scope visible in compact controls. */
.research-page.rw-page .rw-type-categories button[aria-pressed="true"],
.research-page.rw-page .rw-smart-list button[aria-pressed="true"]{background:#175fbd;color:#fff;border-color:#175fbd;font-weight:650;box-shadow:0 1px 3px #175fbd33}
.research-page.rw-page .rw-type-categories button[aria-pressed="true"]::before,
.research-page.rw-page .rw-smart-list button[aria-pressed="true"]::before{content:"✓";margin-right:4px;font-weight:700}
.research-page.rw-page [data-filter-active="true"]{background:#edf5ff;border-color:#2473ce;box-shadow:inset 3px 0 #2473ce;color:#154b8e}
.research-page.rw-page .rw-type-categories button:focus-visible,
.research-page.rw-page .rw-smart-list button:focus-visible{outline:2px solid #175fbd;outline-offset:2px}
.rw-active-filters{display:flex;align-items:center;flex-wrap:wrap;gap:4px 6px;margin:6px 0;font-size:11px;line-height:1.5}
.rw-active-filters strong{color:#50627a;font-size:11px}
.rw-active-filters>span{color:#154b8e;background:#edf5ff;border:1px solid #b5d0f2;border-radius:5px;padding:1px 6px;overflow-wrap:anywhere;max-width:100%;box-sizing:border-box}

/* Q&A updates remain within their workspace, with stable composer placement. */
.research-page .rw-qa{overflow-anchor:none}
.research-page .rw-qa[data-active=true] .rw-qa-log{height:clamp(180px,36dvh,480px);min-height:0;max-height:none;overflow-anchor:none;scroll-behavior:auto}
.research-page .rw-qa.rw-qa-expanded{position:fixed;inset:0;z-index:9500;margin:0;padding:12px;box-sizing:border-box;background:#f5f8fc;overflow:auto;border-radius:0;display:flex;flex-direction:column}
.research-page .rw-qa.rw-qa-expanded .rw-qa-toolbar{flex-shrink:0}
.research-page .rw-qa.rw-qa-expanded .rw-qa-body{flex:1;min-height:0;display:flex}
.research-page .rw-qa.rw-qa-expanded .rw-qa-workspace{flex:1;min-height:0}
.research-page .rw-qa.rw-qa-expanded .rw-qa-dialogue{min-height:0;display:flex;flex-direction:column}
.research-page .rw-qa.rw-qa-expanded .rw-qa-log{height:auto;flex:1;min-height:120px}
.research-page .rw-qa.rw-qa-expanded .rw-qa-studio{overflow:auto}
.research-page .rw-qa.rw-qa-expanded form{flex-shrink:0}
body.research-qa-page{display:block;margin:0;min-height:100dvh;background:#f5f8fc}
.research-qa-page>header{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 20px;background:white;border-bottom:1px solid #dce4ef}
.research-qa-page h1{font-size:17px;margin:0}
.research-qa-page #qa-root{padding:12px 20px}
.research-qa-page .rw-qa-standalone .rw-qa-tabs,.research-qa-page .rw-qa-standalone [data-rqa="clear-selection"]{display:none}
.research-qa-page .rw-qa-standalone .rw-qa-log{height:clamp(220px,45dvh,680px)}
#qa-page-status{margin:12px 20px;color:#466080}
@media(max-width:1100px){.research-page .rw-qa.rw-qa-expanded .rw-qa-workspace{display:block;overflow:auto}.research-page .rw-qa.rw-qa-expanded .rw-qa-log{height:40dvh;flex:auto}.research-page .rw-qa.rw-qa-expanded .rw-qa-body{overflow:auto}}

.qa-coverage{display:flex;gap:5px 12px;flex-wrap:wrap;align-items:center;padding:8px 10px;margin:8px 0;background:#f0f7ff;border:1px solid #c8def7;border-radius:6px;font-size:11px;color:#335575}
.qa-coverage strong,.qa-coverage>span{flex-basis:100%}.qa-coverage button{font-size:11px!important;padding:3px 7px!important}.qa-coverage a{color:#185ca2}
body.qa-report-page{display:block;margin:0;background:#f5f8fc}.qa-report-page>main{max-width:1400px;margin:0 auto;padding:20px;background:#fff}.qa-report-page header,.qa-report-page nav{display:flex;gap:12px;flex-wrap:wrap;justify-content:space-between;align-items:center}.qa-report-page h1{font-size:22px}.qa-report-page h2{font-size:17px}.qa-report-table{overflow:auto}.qa-report-page table{border-collapse:collapse;font-size:12px;min-width:800px;width:100%}.qa-report-page td,.qa-report-page th{border:1px solid #dce5ef;padding:7px;text-align:left;vertical-align:top;overflow-wrap:anywhere}.qa-report-page details{padding:8px;border:1px solid #dce5ef;margin:8px 0}.qa-report-page details>div{line-height:1.7}

/* Persistent question jobs stay compact beside the composer. */
.qa-agent-jobs{margin:8px 0;padding:8px 10px;border:1px solid #dce5f3;border-radius:8px;background:#f8faff;font-size:12px;flex:none;max-width:100%;min-width:0}.qa-agent-jobs>summary{cursor:pointer;color:#315a98}.qa-agent-jobs [data-qa-jobs-body]{max-height:260px;overflow:auto}.qa-agent-job{padding:8px 0;border-bottom:1px solid #e0e7f0;overflow-wrap:anywhere}.qa-agent-job:last-child{border:0}.qa-agent-job strong{font-weight:600}.qa-agent-job p{margin:4px 0;line-height:1.45}.qa-agent-job small{color:#64748b}.qa-agent-job button{margin:5px 6px 0 0;padding:3px 8px;font-size:12px;cursor:pointer}

/* Current-condition review and recoverable history cleanup. */
.rw-condition-badge{display:inline-flex;margin:2px 5px;padding:1px 7px;border-radius:5px;font-size:11px;font-weight:500;line-height:1.6;vertical-align:middle;background:#e9f4ef;color:#276147}
.rw-condition-badge[data-status=rejected]{background:#fce8e5;color:#9b3024}.rw-condition-badge[data-status=pending]{background:#fff1d5;color:#835c0f}
.rw-condition-dialog{width:min(1100px,94vw);max-width:94vw;max-height:90vh;overflow:auto;padding:18px;border:1px solid #d4deea;border-radius:12px;color:#20334d;background:white}
.rw-condition-dialog::backdrop{background:#182c4566}.rw-condition-dialog header{display:flex;justify-content:space-between;gap:12px;align-items:center}.rw-condition-dialog h2{font-size:18px;margin:0}
.rw-condition-tabs,.rw-condition-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:10px 0}.rw-condition-tabs button[aria-pressed=true]{background:#dcecff;border-color:#4283ca;color:#164d8c}.rw-condition-actions label{display:flex;gap:6px;align-items:center}.rw-condition-actions select{max-width:min(300px,65vw);padding:5px}
.rw-condition-list article{border-top:1px solid #e1e6ee;padding:10px 2px}.rw-condition-list p{font-size:12px;margin:5px 0;color:#52657b}.rw-condition-list label{font-size:13px;line-height:1.6}.rw-condition-list input{vertical-align:middle}.rw-condition-dialog .research-note{font-size:12px;line-height:1.6}.rw-condition-dialog button{font-size:12px;padding:5px 9px}.rw-condition-progress{font-size:12px;color:#52657b}

/* Compact conversation switching and recoverable turns. */
.qa-thread-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 16px;border-bottom:1px solid #e7ecf2;background:#fafbfd;flex:none;min-width:0}
.qa-thread-bar label{display:flex;align-items:center;gap:8px;min-width:0;font-size:12px}.qa-thread-bar select{max-width:min(460px,55vw);min-width:140px!important;padding:5px 8px!important;font-size:12px!important}.qa-thread-bar>span{font-size:11px;color:#748297}
.qa-turn-state{padding:8px 10px;margin:8px 0;border:1px solid #e2e8f0;border-radius:7px;background:#f8fafc;color:#64748b;font-size:12px;line-height:1.7}.qa-turn-state[data-status=failed]{border-color:#f0c8c4;background:#fff8f7;color:#a4473b}.qa-turn-state button{margin-left:8px;font-size:11px!important;padding:3px 7px!important}
@media(max-width:650px){.qa-thread-bar{padding:8px;flex-wrap:wrap}.qa-thread-bar>span{display:none}.qa-thread-bar select{max-width:70vw}}
.rw-global-search{width:min(960px,calc(100vw - 24px));max-height:88dvh;overflow:auto;border:1px solid var(--border,#dbe2ea);border-radius:14px;padding:20px;box-sizing:border-box;color:#26364c;background:#fff}
.rw-global-search [hidden]{display:none!important}
.rw-global-search button{font:inherit;font-size:13px;cursor:pointer;border-radius:8px;border:1px solid #cbd5e1;padding:8px 12px;line-height:1.5;background:#fff;color:#26364c}
.rw-global-search button[type=submit]{background:#2563eb;border-color:#2563eb;color:#fff}.rw-global-search button:disabled{opacity:.6;cursor:wait}
.rw-global-search::backdrop{background:#0f172a88}
.rw-global-search>header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.rw-global-search h2{font-size:18px;margin:0}.rw-global-search h3{font-size:16px;margin:0 0 6px;overflow-wrap:anywhere}
.rw-global-search form>label{display:grid;gap:6px}.rw-global-search input{width:100%;box-sizing:border-box}
.rw-global-search-filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:12px 0}.rw-global-search-filters label{display:grid;gap:5px}
.rw-global-search-result{border-top:1px solid #dbe2ea;padding:16px 0;overflow-wrap:anywhere}.rw-global-search-result p{margin:6px 0}
.rw-global-search-excerpt{font-size:13px;line-height:1.65;white-space:pre-wrap}.rw-global-search-tasks{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
@media(max-width:600px){.rw-global-search{padding:14px}.rw-global-search-filters label{flex:1;min-width:120px}.rw-global-search-filters>button{width:100%}}
